jupyterlab_vscode_icons_extension 1.0.84 → 1.0.90
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 +3 -2
- package/package.json +1 -1
- package/src/index.ts +3 -2
package/lib/index.js
CHANGED
|
@@ -235,7 +235,7 @@ const fileTypeConfigs = [
|
|
|
235
235
|
group: 'enableDocIcons'
|
|
236
236
|
},
|
|
237
237
|
{
|
|
238
|
-
extensions: ['.xls', '.xlsx'],
|
|
238
|
+
extensions: ['.xls', '.xlsx', '.xlsm'],
|
|
239
239
|
iconName: 'file-type-excel',
|
|
240
240
|
group: 'enableDocIcons'
|
|
241
241
|
},
|
|
@@ -247,6 +247,7 @@ const fileTypeConfigs = [
|
|
|
247
247
|
// Config Files
|
|
248
248
|
{
|
|
249
249
|
extensions: ['.env'],
|
|
250
|
+
pattern: '^(\\.env\\.[^.]+|[^.]+\\.env)$',
|
|
250
251
|
iconName: 'file-type-dotenv',
|
|
251
252
|
group: 'enableConfigIcons'
|
|
252
253
|
},
|
|
@@ -662,7 +663,7 @@ const plugin = {
|
|
|
662
663
|
else if (nameLower.endsWith('.doc') || nameLower.endsWith('.docx')) {
|
|
663
664
|
item.setAttribute('data-vscode-word', 'true');
|
|
664
665
|
}
|
|
665
|
-
else if (nameLower.endsWith('.xls') || nameLower.endsWith('.xlsx')) {
|
|
666
|
+
else if (nameLower.endsWith('.xls') || nameLower.endsWith('.xlsx') || nameLower.endsWith('.xlsm')) {
|
|
666
667
|
item.setAttribute('data-vscode-excel', 'true');
|
|
667
668
|
}
|
|
668
669
|
else if (nameLower.endsWith('.ppt') || nameLower.endsWith('.pptx')) {
|
package/package.json
CHANGED
package/src/index.ts
CHANGED
|
@@ -266,7 +266,7 @@ const fileTypeConfigs: IFileTypeConfig[] = [
|
|
|
266
266
|
group: 'enableDocIcons'
|
|
267
267
|
},
|
|
268
268
|
{
|
|
269
|
-
extensions: ['.xls', '.xlsx'],
|
|
269
|
+
extensions: ['.xls', '.xlsx', '.xlsm'],
|
|
270
270
|
iconName: 'file-type-excel',
|
|
271
271
|
group: 'enableDocIcons'
|
|
272
272
|
},
|
|
@@ -279,6 +279,7 @@ const fileTypeConfigs: IFileTypeConfig[] = [
|
|
|
279
279
|
// Config Files
|
|
280
280
|
{
|
|
281
281
|
extensions: ['.env'],
|
|
282
|
+
pattern: '^(\\.env\\.[^.]+|[^.]+\\.env)$',
|
|
282
283
|
iconName: 'file-type-dotenv',
|
|
283
284
|
group: 'enableConfigIcons'
|
|
284
285
|
},
|
|
@@ -713,7 +714,7 @@ const plugin: JupyterFrontEndPlugin<void> = {
|
|
|
713
714
|
item.setAttribute('data-vscode-pdf', 'true');
|
|
714
715
|
} else if (nameLower.endsWith('.doc') || nameLower.endsWith('.docx')) {
|
|
715
716
|
item.setAttribute('data-vscode-word', 'true');
|
|
716
|
-
} else if (nameLower.endsWith('.xls') || nameLower.endsWith('.xlsx')) {
|
|
717
|
+
} else if (nameLower.endsWith('.xls') || nameLower.endsWith('.xlsx') || nameLower.endsWith('.xlsm')) {
|
|
717
718
|
item.setAttribute('data-vscode-excel', 'true');
|
|
718
719
|
} else if (nameLower.endsWith('.ppt') || nameLower.endsWith('.pptx')) {
|
|
719
720
|
item.setAttribute('data-vscode-powerpoint', 'true');
|