jupyterlab_vscode_icons_extension 1.1.39 → 1.1.45
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/index.js +68 -5
- package/package.json +1 -1
- package/src/index.ts +71 -5
package/lib/index.js
CHANGED
|
@@ -293,11 +293,17 @@ const fileTypeConfigs = [
|
|
|
293
293
|
group: 'enableConfigIcons'
|
|
294
294
|
},
|
|
295
295
|
{
|
|
296
|
-
pattern: '^tsconfig
|
|
296
|
+
pattern: '^tsconfig\\..+$',
|
|
297
297
|
extensions: [],
|
|
298
298
|
iconName: 'file-type-tsconfig-official',
|
|
299
299
|
group: 'enableConfigIcons'
|
|
300
300
|
},
|
|
301
|
+
{
|
|
302
|
+
pattern: '^(\\.prettierrc(\\..*)?|prettier\\.config\\..+|\\.prettierignore)$',
|
|
303
|
+
extensions: [],
|
|
304
|
+
iconName: 'custom-prettier',
|
|
305
|
+
group: 'enableConfigIcons'
|
|
306
|
+
},
|
|
301
307
|
{
|
|
302
308
|
pattern: '^yarn\\.lock$',
|
|
303
309
|
extensions: [],
|
|
@@ -1003,10 +1009,27 @@ const plugin = {
|
|
|
1003
1009
|
contentType: 'file',
|
|
1004
1010
|
icon: makefileIcon
|
|
1005
1011
|
});
|
|
1006
|
-
// Register LICENSE with
|
|
1007
|
-
const licenseSvg = `<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0
|
|
1008
|
-
<
|
|
1009
|
-
<path fill="#
|
|
1012
|
+
// Register LICENSE with document + seal icon
|
|
1013
|
+
const licenseSvg = `<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 490 490">
|
|
1014
|
+
<path fill="#C33831" d="M320,335.898c38.398-19.199,69.199,11.504,50,50c19.199,38.398-11.602,69.199-50,50c-38.398,19.199-69.199-11.602-50-50C250.801,347.402,281.602,316.699,320,335.898z"/>
|
|
1015
|
+
<path fill="#e0bdbd" d="M430,110v370H60V10h270v100H430z M370,385.898c19.199-38.496-11.602-69.199-50-50c-38.398-19.199-69.199,11.504-50,50c-19.199,38.398,11.602,69.199,50,50C358.398,455.098,389.199,424.297,370,385.898z"/>
|
|
1016
|
+
<polygon fill="#c47878" points="430,110 330,110 330,10"/>
|
|
1017
|
+
<path fill="#231F20" d="M439.976,110c-0.001-2.602-0.992-5.159-2.904-7.071l-100-100c-1.912-1.912-4.47-2.903-7.071-2.904V0H60c-5.523,0-10,4.477-10,10v470c0,5.523,4.477,10,10,10h370c5.522,0,10-4.477,10-10V110H439.976z M340,34.142L405.857,100H340V34.142z M70,470V20h250v90c0,5.523,4.478,10,10,10h90v350H70z"/>
|
|
1018
|
+
<path fill="#5e1c18" d="M379.447,339.49c-7.657-12.376-20.975-19.475-36.535-19.475c-7.511,0-15.198,1.64-22.912,4.882c-7.714-3.242-15.401-4.882-22.912-4.882c-15.56,0-28.875,7.099-36.533,19.476c-8.036,12.989-8.541,29.684-1.551,46.403c-6.992,16.688-6.49,33.368,1.542,46.364c7.666,12.403,20.998,19.516,36.577,19.515c7.501,0,15.178-1.637,22.877-4.872c7.7,3.235,15.375,4.872,22.874,4.872c0.001,0,0.003,0,0.004,0c15.579-0.001,28.911-7.116,36.576-19.52c8.031-12.996,8.533-29.673,1.542-46.358C387.988,369.172,387.483,352.478,379.447,339.49z M361.056,390.371c5.903,11.806,6.408,23.239,1.385,31.368c-3.998,6.469-10.946,10.033-19.564,10.034c-5.817,0-12.01-1.621-18.404-4.818c-1.407-0.704-2.94-1.056-4.472-1.056s-3.065,0.352-4.472,1.056c-6.393,3.196-12.586,4.817-18.406,4.818c-8.618,0-15.566-3.562-19.564-10.03c-5.023-8.128-4.519-19.563,1.386-31.372c1.406-2.812,1.407-6.122,0.005-8.935c-5.908-11.846-6.413-23.298-1.387-31.422c3.989-6.448,10.924-9.999,19.525-9.999c5.829,0,12.033,1.625,18.44,4.828c2.815,1.407,6.129,1.407,8.943,0c6.407-3.204,12.611-4.828,18.44-4.828c8.603,0,15.538,3.551,19.527,9.998c5.026,8.123,4.52,19.576-1.389,31.423C359.648,384.249,359.649,387.559,361.056,390.371z"/>
|
|
1019
|
+
<rect x="312.54" y="363.26" fill="#5e1c18" width="14.1" height="12.83"/>
|
|
1020
|
+
<rect x="306.44" y="394.44" fill="#5e1c18" width="26.48" height="7.21"/>
|
|
1021
|
+
<rect x="95" y="395" fill="#231F20" width="120" height="20"/>
|
|
1022
|
+
<rect x="195" y="430" fill="#231F20" width="20" height="20"/>
|
|
1023
|
+
<rect x="165" y="430" fill="#231F20" width="20" height="20"/>
|
|
1024
|
+
<rect x="95" y="430" fill="#231F20" width="20" height="20"/>
|
|
1025
|
+
<rect x="95" y="40" fill="#231F20" width="60" height="20"/>
|
|
1026
|
+
<rect x="95" y="70" fill="#231F20" width="120" height="20"/>
|
|
1027
|
+
<rect x="165" y="150" fill="#231F20" width="160" height="20"/>
|
|
1028
|
+
<rect x="95" y="190" fill="#231F20" width="300" height="20"/>
|
|
1029
|
+
<rect x="95" y="230" fill="#231F20" width="300" height="20"/>
|
|
1030
|
+
<rect x="95" y="270" fill="#231F20" width="240" height="20"/>
|
|
1031
|
+
<rect x="375" y="270" fill="#231F20" width="20" height="20"/>
|
|
1032
|
+
<rect x="345" y="270" fill="#231F20" width="20" height="20"/>
|
|
1010
1033
|
</svg>`;
|
|
1011
1034
|
const licenseIcon = new LabIcon({
|
|
1012
1035
|
name: 'license-icon',
|
|
@@ -1091,6 +1114,46 @@ const plugin = {
|
|
|
1091
1114
|
icon: mcpIcon
|
|
1092
1115
|
});
|
|
1093
1116
|
}
|
|
1117
|
+
// Register Prettier config files with custom colorful bars icon
|
|
1118
|
+
if (settings.enableConfigIcons) {
|
|
1119
|
+
const prettierSvg = `<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 32 32">
|
|
1120
|
+
<path d="M21.714,8.571h1.143a.571.571,0,0,1,.571.571.571.571,0,0,1-.571.571H21.714a.571.571,0,0,1-.571-.571A.571.571,0,0,1,21.714,8.571Z" fill="#56b3b4"/>
|
|
1121
|
+
<path d="M4.571,26.857h5.714a.571.571,0,0,1,.571.571.571.571,0,0,1-.571.571H4.571A.571.571,0,0,1,4,27.429.571.571,0,0,1,4.571,26.857Z" fill="#ea5e5e"/>
|
|
1122
|
+
<path d="M18.286,17.714h3.429a.571.571,0,0,1,.571.571.571.571,0,0,1-.571.571H18.286a.571.571,0,0,1-.571-.571A.571.571,0,0,1,18.286,17.714Z" fill="#bf85bf"/>
|
|
1123
|
+
<path d="M11.429,17.714H16a.571.571,0,0,1,.571.571.571.571,0,0,1-.571.571H11.429a.571.571,0,0,1-.571-.571A.571.571,0,0,1,11.429,17.714Z" fill="#ea5e5e"/>
|
|
1124
|
+
<path d="M4.571,17.714H9.143a.571.571,0,0,1,.571.571.571.571,0,0,1-.571.571H4.571A.571.571,0,0,1,4,18.286.571.571,0,0,1,4.571,17.714Z" fill="#56b3b4"/>
|
|
1125
|
+
<path d="M4.571,22.286h5.714a.571.571,0,0,1,.571.571.571.571,0,0,1-.571.571H4.571A.571.571,0,0,1,4,22.857.571.571,0,0,1,4.571,22.286Z" fill="#bf85bf"/>
|
|
1126
|
+
<path d="M4.571,13.143h5.714a.571.571,0,0,1,.571.571.571.571,0,0,1-.571.571H4.571A.571.571,0,0,1,4,13.714.571.571,0,0,1,4.571,13.143Z" fill="#bf85bf"/>
|
|
1127
|
+
<path d="M10.286,6.286H21.714a.571.571,0,0,1,.571.571.571.571,0,0,1-.571.571H10.286a.571.571,0,0,1-.571-.571A.571.571,0,0,1,10.286,6.286Z" fill="#f7ba3e"/>
|
|
1128
|
+
<path d="M4.571,6.286H8a.571.571,0,0,1,.571.571A.571.571,0,0,1,8,7.429H4.571A.571.571,0,0,1,4,6.857.571.571,0,0,1,4.571,6.286Z" fill="#ea5e5e"/>
|
|
1129
|
+
<path d="M9.143,24.571h1.143a.571.571,0,0,1,.571.571.571.571,0,0,1-.571.571H9.143a.571.571,0,0,1-.571-.571A.571.571,0,0,1,9.143,24.571Z" fill="#f7ba3e"/>
|
|
1130
|
+
<path d="M9.143,10.857h1.143a.571.571,0,0,1,.571.571.571.571,0,0,1-.571.571H9.143a.571.571,0,0,1-.571-.571A.571.571,0,0,1,9.143,10.857Z" fill="#56b3b4"/>
|
|
1131
|
+
<path d="M4.571,24.571H6.857a.571.571,0,0,1,.571.571.571.571,0,0,1-.571.571H4.571A.571.571,0,0,1,4,25.143.571.571,0,0,1,4.571,24.571Z" fill="#56b3b4"/>
|
|
1132
|
+
<path d="M4.571,10.857H6.857a.571.571,0,0,1,.571.571A.571.571,0,0,1,6.857,12H4.571A.571.571,0,0,1,4,11.429.571.571,0,0,1,4.571,10.857Z" fill="#f7ba3e"/>
|
|
1133
|
+
<path d="M13.714,15.429h9.143a.571.571,0,0,1,.571.571.571.571,0,0,1-.571.571H13.714a.571.571,0,0,1-.571-.571A.571.571,0,0,1,13.714,15.429Z" fill="#56b3b4"/>
|
|
1134
|
+
<path d="M8,15.429h3.429A.571.571,0,0,1,12,16a.571.571,0,0,1-.571.571H8A.571.571,0,0,1,7.429,16A.571.571,0,0,1,8,15.429Z" fill="#f7ba3e"/>
|
|
1135
|
+
<path d="M4.571,15.429H5.714A.571.571,0,0,1,6.286,16a.571.571,0,0,1-.571.571H4.571A.571.571,0,0,1,4,16A.571.571,0,0,1,4.571,15.429Z" fill="#ea5e5e"/>
|
|
1136
|
+
<path d="M14.857,8.571h4.571A.571.571,0,0,1,20,9.143a.571.571,0,0,1-.571.571H14.857a.571.571,0,0,1-.571-.571A.571.571,0,0,1,14.857,8.571Z" fill="#bf85bf"/>
|
|
1137
|
+
<path d="M4.571,8.571h8a.571.571,0,0,1,.571.571.571.571,0,0,1-.571.571h-8A.571.571,0,0,1,4,9.143.571.571,0,0,1,4.571,8.571Z" fill="#56b3b4"/>
|
|
1138
|
+
<path d="M8,20H18.286a.571.571,0,0,1,.571.571.571.571,0,0,1-.571.571H8a.571.571,0,0,1-.571-.571A.571.571,0,0,1,8,20Z" fill="#f7ba3e"/>
|
|
1139
|
+
<path d="M4.571,20H5.714a.571.571,0,0,1,.571.571.571.571,0,0,1-.571.571H4.571A.571.571,0,0,1,4,20.571.571.571,0,0,1,4.571,20Z" fill="#bf85bf"/>
|
|
1140
|
+
<path d="M18.286,10.857H24a.571.571,0,0,1,.571.571A.571.571,0,0,1,24,12H18.286a.571.571,0,0,1-.571-.571A.571.571,0,0,1,18.286,10.857Z" fill="#ea5e5e"/>
|
|
1141
|
+
<path d="M18.286,13.143H24a.571.571,0,0,1,.571.571.571.571,0,0,1-.571.571H18.286a.571.571,0,0,1-.571-.571A.571.571,0,0,1,18.286,13.143Z" fill="#f7ba3e"/>
|
|
1142
|
+
<path d="M4.571,4H18.286a.571.571,0,0,1,.571.571.571.571,0,0,1-.571.571H4.571A.571.571,0,0,1,4,4.571.571.571,0,0,1,4.571,4Z" fill="#56b3b4"/>
|
|
1143
|
+
</svg>`;
|
|
1144
|
+
const prettierIcon = new LabIcon({
|
|
1145
|
+
name: 'prettier-icon',
|
|
1146
|
+
svgstr: prettierSvg
|
|
1147
|
+
});
|
|
1148
|
+
docRegistry.addFileType({
|
|
1149
|
+
name: 'vscode-prettier',
|
|
1150
|
+
displayName: 'Prettier Configuration',
|
|
1151
|
+
pattern: '^(\\.prettierrc(\\..*)?|prettier\\.config\\..+|\\.prettierignore)$',
|
|
1152
|
+
fileFormat: 'text',
|
|
1153
|
+
contentType: 'file',
|
|
1154
|
+
icon: prettierIcon
|
|
1155
|
+
});
|
|
1156
|
+
}
|
|
1094
1157
|
// Register shell scripts with custom black background and desaturated orange icon
|
|
1095
1158
|
if (settings.enableLanguageIcons) {
|
|
1096
1159
|
const shellSvg = `<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 32 32">
|
package/package.json
CHANGED
package/src/index.ts
CHANGED
|
@@ -327,11 +327,17 @@ const fileTypeConfigs: IFileTypeConfig[] = [
|
|
|
327
327
|
group: 'enableConfigIcons'
|
|
328
328
|
},
|
|
329
329
|
{
|
|
330
|
-
pattern: '^tsconfig
|
|
330
|
+
pattern: '^tsconfig\\..+$',
|
|
331
331
|
extensions: [],
|
|
332
332
|
iconName: 'file-type-tsconfig-official',
|
|
333
333
|
group: 'enableConfigIcons'
|
|
334
334
|
},
|
|
335
|
+
{
|
|
336
|
+
pattern: '^(\\.prettierrc(\\..*)?|prettier\\.config\\..+|\\.prettierignore)$',
|
|
337
|
+
extensions: [],
|
|
338
|
+
iconName: 'custom-prettier',
|
|
339
|
+
group: 'enableConfigIcons'
|
|
340
|
+
},
|
|
335
341
|
{
|
|
336
342
|
pattern: '^yarn\\.lock$',
|
|
337
343
|
extensions: [],
|
|
@@ -1116,10 +1122,27 @@ const plugin: JupyterFrontEndPlugin<void> = {
|
|
|
1116
1122
|
icon: makefileIcon
|
|
1117
1123
|
});
|
|
1118
1124
|
|
|
1119
|
-
// Register LICENSE with
|
|
1120
|
-
const licenseSvg = `<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0
|
|
1121
|
-
<
|
|
1122
|
-
<path fill="#
|
|
1125
|
+
// Register LICENSE with document + seal icon
|
|
1126
|
+
const licenseSvg = `<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 490 490">
|
|
1127
|
+
<path fill="#C33831" d="M320,335.898c38.398-19.199,69.199,11.504,50,50c19.199,38.398-11.602,69.199-50,50c-38.398,19.199-69.199-11.602-50-50C250.801,347.402,281.602,316.699,320,335.898z"/>
|
|
1128
|
+
<path fill="#e0bdbd" d="M430,110v370H60V10h270v100H430z M370,385.898c19.199-38.496-11.602-69.199-50-50c-38.398-19.199-69.199,11.504-50,50c-19.199,38.398,11.602,69.199,50,50C358.398,455.098,389.199,424.297,370,385.898z"/>
|
|
1129
|
+
<polygon fill="#c47878" points="430,110 330,110 330,10"/>
|
|
1130
|
+
<path fill="#231F20" d="M439.976,110c-0.001-2.602-0.992-5.159-2.904-7.071l-100-100c-1.912-1.912-4.47-2.903-7.071-2.904V0H60c-5.523,0-10,4.477-10,10v470c0,5.523,4.477,10,10,10h370c5.522,0,10-4.477,10-10V110H439.976z M340,34.142L405.857,100H340V34.142z M70,470V20h250v90c0,5.523,4.478,10,10,10h90v350H70z"/>
|
|
1131
|
+
<path fill="#5e1c18" d="M379.447,339.49c-7.657-12.376-20.975-19.475-36.535-19.475c-7.511,0-15.198,1.64-22.912,4.882c-7.714-3.242-15.401-4.882-22.912-4.882c-15.56,0-28.875,7.099-36.533,19.476c-8.036,12.989-8.541,29.684-1.551,46.403c-6.992,16.688-6.49,33.368,1.542,46.364c7.666,12.403,20.998,19.516,36.577,19.515c7.501,0,15.178-1.637,22.877-4.872c7.7,3.235,15.375,4.872,22.874,4.872c0.001,0,0.003,0,0.004,0c15.579-0.001,28.911-7.116,36.576-19.52c8.031-12.996,8.533-29.673,1.542-46.358C387.988,369.172,387.483,352.478,379.447,339.49z M361.056,390.371c5.903,11.806,6.408,23.239,1.385,31.368c-3.998,6.469-10.946,10.033-19.564,10.034c-5.817,0-12.01-1.621-18.404-4.818c-1.407-0.704-2.94-1.056-4.472-1.056s-3.065,0.352-4.472,1.056c-6.393,3.196-12.586,4.817-18.406,4.818c-8.618,0-15.566-3.562-19.564-10.03c-5.023-8.128-4.519-19.563,1.386-31.372c1.406-2.812,1.407-6.122,0.005-8.935c-5.908-11.846-6.413-23.298-1.387-31.422c3.989-6.448,10.924-9.999,19.525-9.999c5.829,0,12.033,1.625,18.44,4.828c2.815,1.407,6.129,1.407,8.943,0c6.407-3.204,12.611-4.828,18.44-4.828c8.603,0,15.538,3.551,19.527,9.998c5.026,8.123,4.52,19.576-1.389,31.423C359.648,384.249,359.649,387.559,361.056,390.371z"/>
|
|
1132
|
+
<rect x="312.54" y="363.26" fill="#5e1c18" width="14.1" height="12.83"/>
|
|
1133
|
+
<rect x="306.44" y="394.44" fill="#5e1c18" width="26.48" height="7.21"/>
|
|
1134
|
+
<rect x="95" y="395" fill="#231F20" width="120" height="20"/>
|
|
1135
|
+
<rect x="195" y="430" fill="#231F20" width="20" height="20"/>
|
|
1136
|
+
<rect x="165" y="430" fill="#231F20" width="20" height="20"/>
|
|
1137
|
+
<rect x="95" y="430" fill="#231F20" width="20" height="20"/>
|
|
1138
|
+
<rect x="95" y="40" fill="#231F20" width="60" height="20"/>
|
|
1139
|
+
<rect x="95" y="70" fill="#231F20" width="120" height="20"/>
|
|
1140
|
+
<rect x="165" y="150" fill="#231F20" width="160" height="20"/>
|
|
1141
|
+
<rect x="95" y="190" fill="#231F20" width="300" height="20"/>
|
|
1142
|
+
<rect x="95" y="230" fill="#231F20" width="300" height="20"/>
|
|
1143
|
+
<rect x="95" y="270" fill="#231F20" width="240" height="20"/>
|
|
1144
|
+
<rect x="375" y="270" fill="#231F20" width="20" height="20"/>
|
|
1145
|
+
<rect x="345" y="270" fill="#231F20" width="20" height="20"/>
|
|
1123
1146
|
</svg>`;
|
|
1124
1147
|
|
|
1125
1148
|
const licenseIcon = new LabIcon({
|
|
@@ -1216,6 +1239,49 @@ const plugin: JupyterFrontEndPlugin<void> = {
|
|
|
1216
1239
|
});
|
|
1217
1240
|
}
|
|
1218
1241
|
|
|
1242
|
+
// Register Prettier config files with custom colorful bars icon
|
|
1243
|
+
if (settings.enableConfigIcons) {
|
|
1244
|
+
const prettierSvg = `<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 32 32">
|
|
1245
|
+
<path d="M21.714,8.571h1.143a.571.571,0,0,1,.571.571.571.571,0,0,1-.571.571H21.714a.571.571,0,0,1-.571-.571A.571.571,0,0,1,21.714,8.571Z" fill="#56b3b4"/>
|
|
1246
|
+
<path d="M4.571,26.857h5.714a.571.571,0,0,1,.571.571.571.571,0,0,1-.571.571H4.571A.571.571,0,0,1,4,27.429.571.571,0,0,1,4.571,26.857Z" fill="#ea5e5e"/>
|
|
1247
|
+
<path d="M18.286,17.714h3.429a.571.571,0,0,1,.571.571.571.571,0,0,1-.571.571H18.286a.571.571,0,0,1-.571-.571A.571.571,0,0,1,18.286,17.714Z" fill="#bf85bf"/>
|
|
1248
|
+
<path d="M11.429,17.714H16a.571.571,0,0,1,.571.571.571.571,0,0,1-.571.571H11.429a.571.571,0,0,1-.571-.571A.571.571,0,0,1,11.429,17.714Z" fill="#ea5e5e"/>
|
|
1249
|
+
<path d="M4.571,17.714H9.143a.571.571,0,0,1,.571.571.571.571,0,0,1-.571.571H4.571A.571.571,0,0,1,4,18.286.571.571,0,0,1,4.571,17.714Z" fill="#56b3b4"/>
|
|
1250
|
+
<path d="M4.571,22.286h5.714a.571.571,0,0,1,.571.571.571.571,0,0,1-.571.571H4.571A.571.571,0,0,1,4,22.857.571.571,0,0,1,4.571,22.286Z" fill="#bf85bf"/>
|
|
1251
|
+
<path d="M4.571,13.143h5.714a.571.571,0,0,1,.571.571.571.571,0,0,1-.571.571H4.571A.571.571,0,0,1,4,13.714.571.571,0,0,1,4.571,13.143Z" fill="#bf85bf"/>
|
|
1252
|
+
<path d="M10.286,6.286H21.714a.571.571,0,0,1,.571.571.571.571,0,0,1-.571.571H10.286a.571.571,0,0,1-.571-.571A.571.571,0,0,1,10.286,6.286Z" fill="#f7ba3e"/>
|
|
1253
|
+
<path d="M4.571,6.286H8a.571.571,0,0,1,.571.571A.571.571,0,0,1,8,7.429H4.571A.571.571,0,0,1,4,6.857.571.571,0,0,1,4.571,6.286Z" fill="#ea5e5e"/>
|
|
1254
|
+
<path d="M9.143,24.571h1.143a.571.571,0,0,1,.571.571.571.571,0,0,1-.571.571H9.143a.571.571,0,0,1-.571-.571A.571.571,0,0,1,9.143,24.571Z" fill="#f7ba3e"/>
|
|
1255
|
+
<path d="M9.143,10.857h1.143a.571.571,0,0,1,.571.571.571.571,0,0,1-.571.571H9.143a.571.571,0,0,1-.571-.571A.571.571,0,0,1,9.143,10.857Z" fill="#56b3b4"/>
|
|
1256
|
+
<path d="M4.571,24.571H6.857a.571.571,0,0,1,.571.571.571.571,0,0,1-.571.571H4.571A.571.571,0,0,1,4,25.143.571.571,0,0,1,4.571,24.571Z" fill="#56b3b4"/>
|
|
1257
|
+
<path d="M4.571,10.857H6.857a.571.571,0,0,1,.571.571A.571.571,0,0,1,6.857,12H4.571A.571.571,0,0,1,4,11.429.571.571,0,0,1,4.571,10.857Z" fill="#f7ba3e"/>
|
|
1258
|
+
<path d="M13.714,15.429h9.143a.571.571,0,0,1,.571.571.571.571,0,0,1-.571.571H13.714a.571.571,0,0,1-.571-.571A.571.571,0,0,1,13.714,15.429Z" fill="#56b3b4"/>
|
|
1259
|
+
<path d="M8,15.429h3.429A.571.571,0,0,1,12,16a.571.571,0,0,1-.571.571H8A.571.571,0,0,1,7.429,16A.571.571,0,0,1,8,15.429Z" fill="#f7ba3e"/>
|
|
1260
|
+
<path d="M4.571,15.429H5.714A.571.571,0,0,1,6.286,16a.571.571,0,0,1-.571.571H4.571A.571.571,0,0,1,4,16A.571.571,0,0,1,4.571,15.429Z" fill="#ea5e5e"/>
|
|
1261
|
+
<path d="M14.857,8.571h4.571A.571.571,0,0,1,20,9.143a.571.571,0,0,1-.571.571H14.857a.571.571,0,0,1-.571-.571A.571.571,0,0,1,14.857,8.571Z" fill="#bf85bf"/>
|
|
1262
|
+
<path d="M4.571,8.571h8a.571.571,0,0,1,.571.571.571.571,0,0,1-.571.571h-8A.571.571,0,0,1,4,9.143.571.571,0,0,1,4.571,8.571Z" fill="#56b3b4"/>
|
|
1263
|
+
<path d="M8,20H18.286a.571.571,0,0,1,.571.571.571.571,0,0,1-.571.571H8a.571.571,0,0,1-.571-.571A.571.571,0,0,1,8,20Z" fill="#f7ba3e"/>
|
|
1264
|
+
<path d="M4.571,20H5.714a.571.571,0,0,1,.571.571.571.571,0,0,1-.571.571H4.571A.571.571,0,0,1,4,20.571.571.571,0,0,1,4.571,20Z" fill="#bf85bf"/>
|
|
1265
|
+
<path d="M18.286,10.857H24a.571.571,0,0,1,.571.571A.571.571,0,0,1,24,12H18.286a.571.571,0,0,1-.571-.571A.571.571,0,0,1,18.286,10.857Z" fill="#ea5e5e"/>
|
|
1266
|
+
<path d="M18.286,13.143H24a.571.571,0,0,1,.571.571.571.571,0,0,1-.571.571H18.286a.571.571,0,0,1-.571-.571A.571.571,0,0,1,18.286,13.143Z" fill="#f7ba3e"/>
|
|
1267
|
+
<path d="M4.571,4H18.286a.571.571,0,0,1,.571.571.571.571,0,0,1-.571.571H4.571A.571.571,0,0,1,4,4.571.571.571,0,0,1,4.571,4Z" fill="#56b3b4"/>
|
|
1268
|
+
</svg>`;
|
|
1269
|
+
|
|
1270
|
+
const prettierIcon = new LabIcon({
|
|
1271
|
+
name: 'prettier-icon',
|
|
1272
|
+
svgstr: prettierSvg
|
|
1273
|
+
});
|
|
1274
|
+
|
|
1275
|
+
docRegistry.addFileType({
|
|
1276
|
+
name: 'vscode-prettier',
|
|
1277
|
+
displayName: 'Prettier Configuration',
|
|
1278
|
+
pattern: '^(\\.prettierrc(\\..*)?|prettier\\.config\\..+|\\.prettierignore)$',
|
|
1279
|
+
fileFormat: 'text',
|
|
1280
|
+
contentType: 'file',
|
|
1281
|
+
icon: prettierIcon
|
|
1282
|
+
});
|
|
1283
|
+
}
|
|
1284
|
+
|
|
1219
1285
|
// Register shell scripts with custom black background and desaturated orange icon
|
|
1220
1286
|
if (settings.enableLanguageIcons) {
|
|
1221
1287
|
const shellSvg = `<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 32 32">
|