@codingame/monaco-vscode-explorer-service-override 8.0.2 → 8.0.3

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@codingame/monaco-vscode-explorer-service-override",
3
- "version": "8.0.2",
3
+ "version": "8.0.3",
4
4
  "keywords": [],
5
5
  "author": {
6
6
  "name": "CodinGame",
@@ -26,6 +26,6 @@
26
26
  }
27
27
  },
28
28
  "dependencies": {
29
- "vscode": "npm:@codingame/monaco-vscode-api@8.0.2"
29
+ "vscode": "npm:@codingame/monaco-vscode-api@8.0.3"
30
30
  }
31
31
  }
@@ -143,15 +143,15 @@ KeybindingsRegistry.registerCommandAndKeybindingRule({
143
143
  });
144
144
  const copyPathCommand = {
145
145
  id: COPY_PATH_COMMAND_ID,
146
- title: ( localize(2140, "Copy Path"))
146
+ title: ( localize(2152, "Copy Path"))
147
147
  };
148
148
  const copyRelativePathCommand = {
149
149
  id: COPY_RELATIVE_PATH_COMMAND_ID,
150
- title: ( localize(2141, "Copy Relative Path"))
150
+ title: ( localize(2153, "Copy Relative Path"))
151
151
  };
152
152
  appendEditorTitleContextMenuItem(COPY_PATH_COMMAND_ID, copyPathCommand.title, ResourceContextKey.IsFileSystemResource, '1_cutcopypaste', true);
153
153
  appendEditorTitleContextMenuItem(COPY_RELATIVE_PATH_COMMAND_ID, copyRelativePathCommand.title, ResourceContextKey.IsFileSystemResource, '1_cutcopypaste', true);
154
- appendEditorTitleContextMenuItem(REVEAL_IN_EXPLORER_COMMAND_ID, ( localize(2142, "Reveal in Explorer View")), ResourceContextKey.IsFileSystemResource, '2_files', false, 1);
154
+ appendEditorTitleContextMenuItem(REVEAL_IN_EXPLORER_COMMAND_ID, ( localize(2154, "Reveal in Explorer View")), ResourceContextKey.IsFileSystemResource, '2_files', false, 1);
155
155
  function appendEditorTitleContextMenuItem(id, title, when, group, supportsMultiSelect, order) {
156
156
  const precondition = supportsMultiSelect !== true ? ( (MultipleEditorsSelectedInGroupContext.negate())) : undefined;
157
157
  MenuRegistry.appendMenuItem(MenuId.EditorTitleContext, {
@@ -161,8 +161,8 @@ function appendEditorTitleContextMenuItem(id, title, when, group, supportsMultiS
161
161
  order,
162
162
  });
163
163
  }
164
- appendSaveConflictEditorTitleAction('workbench.files.action.acceptLocalChanges', ( localize(2143, "Use your changes and overwrite file contents")), Codicon.check, -10, acceptLocalChangesCommand);
165
- appendSaveConflictEditorTitleAction('workbench.files.action.revertLocalChanges', ( localize(2144, "Discard your changes and revert to file contents")), Codicon.discard, -9, revertLocalChangesCommand);
164
+ appendSaveConflictEditorTitleAction('workbench.files.action.acceptLocalChanges', ( localize(2155, "Use your changes and overwrite file contents")), Codicon.check, -10, acceptLocalChangesCommand);
165
+ appendSaveConflictEditorTitleAction('workbench.files.action.revertLocalChanges', ( localize(2156, "Discard your changes and revert to file contents")), Codicon.discard, -9, revertLocalChangesCommand);
166
166
  function appendSaveConflictEditorTitleAction(id, title, icon, order, command) {
167
167
  CommandsRegistry.registerCommand(id, command);
168
168
  MenuRegistry.appendMenuItem(MenuId.EditorTitle, {
@@ -185,12 +185,12 @@ function appendToCommandPalette({ id, title, category, metadata }, when) {
185
185
  }
186
186
  appendToCommandPalette({
187
187
  id: COPY_PATH_COMMAND_ID,
188
- title: ( localize2(2145, "Copy Path of Active File")),
188
+ title: ( localize2(2157, "Copy Path of Active File")),
189
189
  category: Categories.File
190
190
  });
191
191
  appendToCommandPalette({
192
192
  id: COPY_RELATIVE_PATH_COMMAND_ID,
193
- title: ( localize2(2146, "Copy Relative Path of Active File")),
193
+ title: ( localize2(2158, "Copy Relative Path of Active File")),
194
194
  category: Categories.File
195
195
  });
196
196
  appendToCommandPalette({
@@ -205,26 +205,26 @@ appendToCommandPalette({
205
205
  });
206
206
  appendToCommandPalette({
207
207
  id: SAVE_ALL_IN_GROUP_COMMAND_ID,
208
- title: ( localize2(2147, "Save All in Group")),
208
+ title: ( localize2(2159, "Save All in Group")),
209
209
  category: Categories.File
210
210
  });
211
211
  appendToCommandPalette({
212
212
  id: SAVE_FILES_COMMAND_ID,
213
- title: ( localize2(2148, "Save All Files")),
213
+ title: ( localize2(2160, "Save All Files")),
214
214
  category: Categories.File
215
215
  });
216
216
  appendToCommandPalette({
217
217
  id: REVERT_FILE_COMMAND_ID,
218
- title: ( localize2(2149, "Revert File")),
218
+ title: ( localize2(2161, "Revert File")),
219
219
  category: Categories.File
220
220
  });
221
221
  appendToCommandPalette({
222
222
  id: COMPARE_WITH_SAVED_COMMAND_ID,
223
- title: ( localize2(2150, "Compare Active File with Saved")),
223
+ title: ( localize2(2162, "Compare Active File with Saved")),
224
224
  category: Categories.File,
225
225
  metadata: {
226
226
  description: ( localize2(
227
- 2151,
227
+ 2163,
228
228
  "Opens a new diff editor to compare the active file with the version on disk."
229
229
  ))
230
230
  }
@@ -243,7 +243,7 @@ appendToCommandPalette({
243
243
  id: NEW_FOLDER_COMMAND_ID,
244
244
  title: NEW_FOLDER_LABEL,
245
245
  category: Categories.File,
246
- metadata: { description: ( localize2(2152, "Create a new folder or directory")) }
246
+ metadata: { description: ( localize2(2164, "Create a new folder or directory")) }
247
247
  }, ( (WorkspaceFolderCountContext.notEqualsTo('0'))));
248
248
  appendToCommandPalette({
249
249
  id: NEW_UNTITLED_FILE_COMMAND_ID,
@@ -256,7 +256,7 @@ const isFileOrUntitledResourceContextKey = ( (ContextKeyExpr.or(
256
256
  )));
257
257
  const openToSideCommand = {
258
258
  id: OPEN_TO_SIDE_COMMAND_ID,
259
- title: ( localize(2153, "Open to the Side"))
259
+ title: ( localize(2165, "Open to the Side"))
260
260
  };
261
261
  MenuRegistry.appendMenuItem(MenuId.OpenEditorsContext, {
262
262
  group: 'navigation',
@@ -269,7 +269,7 @@ MenuRegistry.appendMenuItem(MenuId.OpenEditorsContext, {
269
269
  order: 10,
270
270
  command: {
271
271
  id: REOPEN_WITH_COMMAND_ID,
272
- title: ( localize(2154, "Reopen Editor With..."))
272
+ title: ( localize(2166, "Reopen Editor With..."))
273
273
  },
274
274
  when: ActiveEditorAvailableEditorIdsContext
275
275
  });
@@ -305,7 +305,7 @@ MenuRegistry.appendMenuItem(MenuId.OpenEditorsContext, {
305
305
  order: 20,
306
306
  command: {
307
307
  id: REVERT_FILE_COMMAND_ID,
308
- title: ( localize(2149, "Revert File")),
308
+ title: ( localize(2161, "Revert File")),
309
309
  precondition: OpenEditorsDirtyEditorContext
310
310
  },
311
311
  when: ( (ContextKeyExpr.and(
@@ -319,7 +319,7 @@ MenuRegistry.appendMenuItem(MenuId.OpenEditorsContext, {
319
319
  order: 30,
320
320
  command: {
321
321
  id: SAVE_ALL_IN_GROUP_COMMAND_ID,
322
- title: ( localize(2155, "Save All")),
322
+ title: ( localize(2167, "Save All")),
323
323
  precondition: DirtyWorkingCopiesContext
324
324
  },
325
325
  when: OpenEditorsGroupContext
@@ -329,7 +329,7 @@ MenuRegistry.appendMenuItem(MenuId.OpenEditorsContext, {
329
329
  order: 10,
330
330
  command: {
331
331
  id: COMPARE_WITH_SAVED_COMMAND_ID,
332
- title: ( localize(2156, "Compare with Saved")),
332
+ title: ( localize(2168, "Compare with Saved")),
333
333
  precondition: OpenEditorsDirtyEditorContext
334
334
  },
335
335
  when: ( (ContextKeyExpr.and(
@@ -340,7 +340,7 @@ MenuRegistry.appendMenuItem(MenuId.OpenEditorsContext, {
340
340
  });
341
341
  const compareResourceCommand = {
342
342
  id: COMPARE_RESOURCE_COMMAND_ID,
343
- title: ( localize(2157, "Compare with Selected"))
343
+ title: ( localize(2169, "Compare with Selected"))
344
344
  };
345
345
  MenuRegistry.appendMenuItem(MenuId.OpenEditorsContext, {
346
346
  group: '3_compare',
@@ -355,7 +355,7 @@ MenuRegistry.appendMenuItem(MenuId.OpenEditorsContext, {
355
355
  });
356
356
  const selectForCompareCommand = {
357
357
  id: SELECT_FOR_COMPARE_COMMAND_ID,
358
- title: ( localize(2158, "Select for Compare"))
358
+ title: ( localize(2170, "Select for Compare"))
359
359
  };
360
360
  MenuRegistry.appendMenuItem(MenuId.OpenEditorsContext, {
361
361
  group: '3_compare',
@@ -369,7 +369,7 @@ MenuRegistry.appendMenuItem(MenuId.OpenEditorsContext, {
369
369
  });
370
370
  const compareSelectedCommand = {
371
371
  id: COMPARE_SELECTED_COMMAND_ID,
372
- title: ( localize(2159, "Compare Selected"))
372
+ title: ( localize(2171, "Compare Selected"))
373
373
  };
374
374
  MenuRegistry.appendMenuItem(MenuId.OpenEditorsContext, {
375
375
  group: '3_compare',
@@ -396,7 +396,7 @@ MenuRegistry.appendMenuItem(MenuId.OpenEditorsContext, {
396
396
  order: 10,
397
397
  command: {
398
398
  id: CLOSE_EDITOR_COMMAND_ID,
399
- title: ( localize(2160, "Close"))
399
+ title: ( localize(2172, "Close"))
400
400
  },
401
401
  when: ( (OpenEditorsGroupContext.toNegated()))
402
402
  });
@@ -405,7 +405,7 @@ MenuRegistry.appendMenuItem(MenuId.OpenEditorsContext, {
405
405
  order: 20,
406
406
  command: {
407
407
  id: CLOSE_OTHER_EDITORS_IN_GROUP_COMMAND_ID,
408
- title: ( localize(2161, "Close Others"))
408
+ title: ( localize(2173, "Close Others"))
409
409
  },
410
410
  when: ( (OpenEditorsGroupContext.toNegated()))
411
411
  });
@@ -414,7 +414,7 @@ MenuRegistry.appendMenuItem(MenuId.OpenEditorsContext, {
414
414
  order: 30,
415
415
  command: {
416
416
  id: CLOSE_SAVED_EDITORS_COMMAND_ID,
417
- title: ( localize(2162, "Close Saved"))
417
+ title: ( localize(2174, "Close Saved"))
418
418
  }
419
419
  });
420
420
  MenuRegistry.appendMenuItem(MenuId.OpenEditorsContext, {
@@ -422,7 +422,7 @@ MenuRegistry.appendMenuItem(MenuId.OpenEditorsContext, {
422
422
  order: 40,
423
423
  command: {
424
424
  id: CLOSE_EDITORS_IN_GROUP_COMMAND_ID,
425
- title: ( localize(2163, "Close All"))
425
+ title: ( localize(2175, "Close All"))
426
426
  }
427
427
  });
428
428
  MenuRegistry.appendMenuItem(MenuId.ExplorerContext, {
@@ -459,7 +459,7 @@ MenuRegistry.appendMenuItem(MenuId.ExplorerContext, {
459
459
  order: 20,
460
460
  command: {
461
461
  id: OPEN_WITH_EXPLORER_COMMAND_ID,
462
- title: ( localize(2164, "Open With...")),
462
+ title: ( localize(2176, "Open With...")),
463
463
  },
464
464
  when: ( (ContextKeyExpr.and(
465
465
  (ExplorerFolderContext.toNegated()),
@@ -502,7 +502,7 @@ MenuRegistry.appendMenuItem(MenuId.ExplorerContext, {
502
502
  order: 8,
503
503
  command: {
504
504
  id: CUT_FILE_ID,
505
- title: ( localize(2165, "Cut"))
505
+ title: ( localize(2177, "Cut"))
506
506
  },
507
507
  when: ( (ContextKeyExpr.and(
508
508
  (ExplorerRootContext.toNegated()),
@@ -622,7 +622,7 @@ MenuRegistry.appendMenuItem(MenuId.ExplorerContext, {
622
622
  },
623
623
  alt: {
624
624
  id: DELETE_FILE_ID,
625
- title: ( localize(2166, "Delete Permanently")),
625
+ title: ( localize(2178, "Delete Permanently")),
626
626
  precondition: ExplorerResourceNotReadonlyContext
627
627
  },
628
628
  when: ( (ContextKeyExpr.and(
@@ -635,7 +635,7 @@ MenuRegistry.appendMenuItem(MenuId.ExplorerContext, {
635
635
  order: 20,
636
636
  command: {
637
637
  id: DELETE_FILE_ID,
638
- title: ( localize(2166, "Delete Permanently")),
638
+ title: ( localize(2178, "Delete Permanently")),
639
639
  precondition: ExplorerResourceNotReadonlyContext
640
640
  },
641
641
  when: ( (ContextKeyExpr.and(
@@ -644,14 +644,14 @@ MenuRegistry.appendMenuItem(MenuId.ExplorerContext, {
644
644
  )))
645
645
  });
646
646
  for (const menuId of [MenuId.EmptyEditorGroupContext, MenuId.EditorTabsBarContext]) {
647
- MenuRegistry.appendMenuItem(menuId, { command: { id: NEW_UNTITLED_FILE_COMMAND_ID, title: ( localize(2167, "New Text File")) }, group: '1_file', order: 10 });
648
- MenuRegistry.appendMenuItem(menuId, { command: { id: 'workbench.action.quickOpen', title: ( localize(2168, "Open File...")) }, group: '1_file', order: 20 });
647
+ MenuRegistry.appendMenuItem(menuId, { command: { id: NEW_UNTITLED_FILE_COMMAND_ID, title: ( localize(2179, "New Text File")) }, group: '1_file', order: 10 });
648
+ MenuRegistry.appendMenuItem(menuId, { command: { id: 'workbench.action.quickOpen', title: ( localize(2180, "Open File...")) }, group: '1_file', order: 20 });
649
649
  }
650
650
  MenuRegistry.appendMenuItem(MenuId.MenubarFileMenu, {
651
651
  group: '1_new',
652
652
  command: {
653
653
  id: NEW_UNTITLED_FILE_COMMAND_ID,
654
- title: ( localize(2169, "&&New Text File"))
654
+ title: ( localize(2181, "&&New Text File"))
655
655
  },
656
656
  order: 1
657
657
  });
@@ -659,7 +659,7 @@ MenuRegistry.appendMenuItem(MenuId.MenubarFileMenu, {
659
659
  group: '4_save',
660
660
  command: {
661
661
  id: SAVE_FILE_COMMAND_ID,
662
- title: ( localize(2170, "&&Save")),
662
+ title: ( localize(2182, "&&Save")),
663
663
  precondition: ( (ContextKeyExpr.or(
664
664
  ActiveEditorContext,
665
665
  (ContextKeyExpr.and(FoldersViewVisibleContext, SidebarFocusContext))
@@ -671,7 +671,7 @@ MenuRegistry.appendMenuItem(MenuId.MenubarFileMenu, {
671
671
  group: '4_save',
672
672
  command: {
673
673
  id: SAVE_FILE_AS_COMMAND_ID,
674
- title: ( localize(2171, "Save &&As...")),
674
+ title: ( localize(2183, "Save &&As...")),
675
675
  precondition: ( (ContextKeyExpr.or(
676
676
  ActiveEditorContext,
677
677
  (ContextKeyExpr.and(FoldersViewVisibleContext, SidebarFocusContext))
@@ -683,7 +683,7 @@ MenuRegistry.appendMenuItem(MenuId.MenubarFileMenu, {
683
683
  group: '4_save',
684
684
  command: {
685
685
  id: SAVE_ALL_COMMAND_ID,
686
- title: ( localize(2172, "Save A&&ll")),
686
+ title: ( localize(2184, "Save A&&ll")),
687
687
  precondition: DirtyWorkingCopiesContext
688
688
  },
689
689
  order: 3
@@ -692,7 +692,7 @@ MenuRegistry.appendMenuItem(MenuId.MenubarFileMenu, {
692
692
  group: '5_autosave',
693
693
  command: {
694
694
  id: ToggleAutoSaveAction.ID,
695
- title: ( localize(2173, "A&&uto Save")),
695
+ title: ( localize(2185, "A&&uto Save")),
696
696
  toggled: ( (ContextKeyExpr.notEquals('config.files.autoSave', 'off')))
697
697
  },
698
698
  order: 1
@@ -701,7 +701,7 @@ MenuRegistry.appendMenuItem(MenuId.MenubarFileMenu, {
701
701
  group: '6_close',
702
702
  command: {
703
703
  id: REVERT_FILE_COMMAND_ID,
704
- title: ( localize(2174, "Re&&vert File")),
704
+ title: ( localize(2186, "Re&&vert File")),
705
705
  precondition: ( (ContextKeyExpr.or(
706
706
  (ContextKeyExpr.and(ActiveEditorCanRevertContext)),
707
707
  (ContextKeyExpr.and(
@@ -716,7 +716,7 @@ MenuRegistry.appendMenuItem(MenuId.MenubarFileMenu, {
716
716
  group: '6_close',
717
717
  command: {
718
718
  id: CLOSE_EDITOR_COMMAND_ID,
719
- title: ( localize(2175, "&&Close Editor")),
719
+ title: ( localize(2187, "&&Close Editor")),
720
720
  precondition: ( (ContextKeyExpr.or(
721
721
  ActiveEditorContext,
722
722
  (ContextKeyExpr.and(FoldersViewVisibleContext, SidebarFocusContext))
@@ -728,7 +728,7 @@ MenuRegistry.appendMenuItem(MenuId.MenubarGoMenu, {
728
728
  group: '3_global_nav',
729
729
  command: {
730
730
  id: 'workbench.action.quickOpen',
731
- title: ( localize(2176, "Go to &&File..."))
731
+ title: ( localize(2188, "Go to &&File..."))
732
732
  },
733
733
  order: 1
734
734
  });
@@ -137,7 +137,7 @@ KeybindingsRegistry.registerCommandAndKeybindingRule({
137
137
  const uri = getResourceForCommand(resource, editorService, listService);
138
138
  if (uri && fileService.hasProvider(uri)) {
139
139
  const name = basename(uri);
140
- const editorLabel = ( localize(2138, "{0} (in file) ↔ {1}", name, name));
140
+ const editorLabel = ( localize(2150, "{0} (in file) ↔ {1}", name, name));
141
141
  try {
142
142
  await TextFileContentProvider.open(uri, COMPARE_WITH_SAVED_SCHEMA, editorLabel, editorService, { pinned: true });
143
143
  if (registerEditorListener) {
@@ -456,7 +456,7 @@ CommandsRegistry.registerCommand({
456
456
  const editorService = accessor.get(IEditorService);
457
457
  const dialogService = accessor.get(IFileDialogService);
458
458
  const fileService = accessor.get(IFileService);
459
- const createFileLocalized = ( localize(2139, "Create File"));
459
+ const createFileLocalized = ( localize(2151, "Create File"));
460
460
  const defaultFileUri = joinPath(await dialogService.defaultFilePath(), args?.fileName ?? 'Untitled.txt');
461
461
  const saveUri = await dialogService.showSaveDialog({ saveLabel: createFileLocalized, title: createFileLocalized, defaultUri: defaultFileUri });
462
462
  if (!saveUri) {
@@ -19,13 +19,13 @@ const configurationRegistry = ( (Registry.as(Extensions.Configuration)));
19
19
  configurationRegistry.registerConfiguration({
20
20
  'id': 'explorer',
21
21
  'order': 10,
22
- 'title': ( localize(2177, "File Explorer")),
22
+ 'title': ( localize(2189, "File Explorer")),
23
23
  'type': 'object',
24
24
  'properties': {
25
25
  'explorer.openEditors.visible': {
26
26
  'type': 'number',
27
27
  'description': ( localize(
28
- 2178,
28
+ 2190,
29
29
  "The initial maximum number of editors shown in the Open Editors pane. Exceeding this limit will show a scroll bar and allow resizing the pane to display more items."
30
30
  )),
31
31
  'default': 9,
@@ -34,7 +34,7 @@ configurationRegistry.registerConfiguration({
34
34
  'explorer.openEditors.minVisible': {
35
35
  'type': 'number',
36
36
  'description': ( localize(
37
- 2179,
37
+ 2191,
38
38
  "The minimum number of editor slots pre-allocated in the Open Editors pane. If set to 0 the Open Editors pane will dynamically resize based on the number of editors."
39
39
  )),
40
40
  'default': 0,
@@ -43,15 +43,15 @@ configurationRegistry.registerConfiguration({
43
43
  'explorer.openEditors.sortOrder': {
44
44
  'type': 'string',
45
45
  'enum': ['editorOrder', 'alphabetical', 'fullPath'],
46
- 'description': ( localize(2180, "Controls the sorting order of editors in the Open Editors pane.")),
46
+ 'description': ( localize(2192, "Controls the sorting order of editors in the Open Editors pane.")),
47
47
  'enumDescriptions': [
48
- ( localize(2181, 'Editors are ordered in the same order editor tabs are shown.')),
48
+ ( localize(2193, 'Editors are ordered in the same order editor tabs are shown.')),
49
49
  ( localize(
50
- 2182,
50
+ 2194,
51
51
  'Editors are ordered alphabetically by tab name inside each editor group.'
52
52
  )),
53
53
  ( localize(
54
- 2183,
54
+ 2195,
55
55
  'Editors are ordered alphabetically by full path inside each editor group.'
56
56
  ))
57
57
  ],
@@ -62,19 +62,19 @@ configurationRegistry.registerConfiguration({
62
62
  'enum': [true, false, 'focusNoScroll'],
63
63
  'default': true,
64
64
  'enumDescriptions': [
65
- ( localize(2184, 'Files will be revealed and selected.')),
66
- ( localize(2185, 'Files will not be revealed and selected.')),
67
- ( localize(2186, 'Files will not be scrolled into view, but will still be focused.')),
65
+ ( localize(2196, 'Files will be revealed and selected.')),
66
+ ( localize(2197, 'Files will not be revealed and selected.')),
67
+ ( localize(2198, 'Files will not be scrolled into view, but will still be focused.')),
68
68
  ],
69
69
  'description': ( localize(
70
- 2187,
70
+ 2199,
71
71
  "Controls whether the Explorer should automatically reveal and select files when opening them."
72
72
  ))
73
73
  },
74
74
  'explorer.autoRevealExclude': {
75
75
  'type': 'object',
76
76
  'markdownDescription': ( localize(
77
- 2188,
77
+ 2200,
78
78
  "Configure paths or [glob patterns](https://aka.ms/vscode-glob-patterns) for excluding files and folders from being revealed and selected in the Explorer when they are opened. Glob patterns are always evaluated relative to the path of the workspace folder unless they are absolute paths."
79
79
  )),
80
80
  'default': { '**/node_modules': true, '**/bower_components': true },
@@ -83,7 +83,7 @@ configurationRegistry.registerConfiguration({
83
83
  {
84
84
  'type': 'boolean',
85
85
  'description': ( localize(
86
- 2189,
86
+ 2201,
87
87
  "The glob pattern to match file paths against. Set to true or false to enable or disable the pattern."
88
88
  )),
89
89
  },
@@ -95,7 +95,7 @@ configurationRegistry.registerConfiguration({
95
95
  pattern: '\\w*\\$\\(basename\\)\\w*',
96
96
  default: '$(basename).ext',
97
97
  description: ( localize(
98
- 2190,
98
+ 2202,
99
99
  'Additional check on the siblings of a matching file. Use $(basename) as variable for the matching file name.'
100
100
  ))
101
101
  }
@@ -107,7 +107,7 @@ configurationRegistry.registerConfiguration({
107
107
  'explorer.enableDragAndDrop': {
108
108
  'type': 'boolean',
109
109
  'description': ( localize(
110
- 2191,
110
+ 2203,
111
111
  "Controls whether the Explorer should allow to move files and folders via drag and drop. This setting only effects drag and drop from inside the Explorer."
112
112
  )),
113
113
  'default': true
@@ -115,7 +115,7 @@ configurationRegistry.registerConfiguration({
115
115
  'explorer.confirmDragAndDrop': {
116
116
  'type': 'boolean',
117
117
  'description': ( localize(
118
- 2192,
118
+ 2204,
119
119
  "Controls whether the Explorer should ask for confirmation to move files and folders via drag and drop."
120
120
  )),
121
121
  'default': true
@@ -123,7 +123,7 @@ configurationRegistry.registerConfiguration({
123
123
  'explorer.confirmPasteNative': {
124
124
  'type': 'boolean',
125
125
  'description': ( localize(
126
- 2193,
126
+ 2205,
127
127
  "Controls whether the Explorer should ask for confirmation when pasting native files and folders."
128
128
  )),
129
129
  'default': true
@@ -131,7 +131,7 @@ configurationRegistry.registerConfiguration({
131
131
  'explorer.confirmDelete': {
132
132
  'type': 'boolean',
133
133
  'description': ( localize(
134
- 2194,
134
+ 2206,
135
135
  "Controls whether the Explorer should ask for confirmation when deleting a file via the trash."
136
136
  )),
137
137
  'default': true
@@ -139,7 +139,7 @@ configurationRegistry.registerConfiguration({
139
139
  'explorer.enableUndo': {
140
140
  'type': 'boolean',
141
141
  'description': ( localize(
142
- 2195,
142
+ 2207,
143
143
  "Controls whether the Explorer should support undoing file and folder operations."
144
144
  )),
145
145
  'default': true
@@ -148,20 +148,20 @@ configurationRegistry.registerConfiguration({
148
148
  'type': 'string',
149
149
  'enum': [UndoConfirmLevel.Verbose, UndoConfirmLevel.Default, UndoConfirmLevel.Light],
150
150
  'description': ( localize(
151
- 2196,
151
+ 2208,
152
152
  "Controls whether the Explorer should ask for confirmation when undoing."
153
153
  )),
154
154
  'default': UndoConfirmLevel.Default,
155
155
  'enumDescriptions': [
156
- ( localize(2197, 'Explorer will prompt before all undo operations.')),
157
- ( localize(2198, 'Explorer will prompt before destructive undo operations.')),
158
- ( localize(2199, 'Explorer will not prompt before undo operations when focused.')),
156
+ ( localize(2209, 'Explorer will prompt before all undo operations.')),
157
+ ( localize(2210, 'Explorer will prompt before destructive undo operations.')),
158
+ ( localize(2211, 'Explorer will not prompt before undo operations when focused.')),
159
159
  ],
160
160
  },
161
161
  'explorer.expandSingleFolderWorkspaces': {
162
162
  'type': 'boolean',
163
163
  'description': ( localize(
164
- 2200,
164
+ 2212,
165
165
  "Controls whether the Explorer should expand multi-root workspaces containing only one folder during initialization"
166
166
  )),
167
167
  'default': true
@@ -172,32 +172,32 @@ configurationRegistry.registerConfiguration({
172
172
  'default': SortOrder.Default,
173
173
  'enumDescriptions': [
174
174
  ( localize(
175
- 2201,
175
+ 2213,
176
176
  'Files and folders are sorted by their names. Folders are displayed before files.'
177
177
  )),
178
178
  ( localize(
179
- 2202,
179
+ 2214,
180
180
  'Files and folders are sorted by their names. Files are interwoven with folders.'
181
181
  )),
182
182
  ( localize(
183
- 2203,
183
+ 2215,
184
184
  'Files and folders are sorted by their names. Files are displayed before folders.'
185
185
  )),
186
186
  ( localize(
187
- 2204,
187
+ 2216,
188
188
  'Files and folders are grouped by extension type then sorted by their names. Folders are displayed before files.'
189
189
  )),
190
190
  ( localize(
191
- 2205,
191
+ 2217,
192
192
  'Files and folders are sorted by last modified date in descending order. Folders are displayed before files.'
193
193
  )),
194
194
  ( localize(
195
- 2206,
195
+ 2218,
196
196
  'Files and folders are sorted by their names. Folders are displayed before files. Files with nested children are displayed before other files.'
197
197
  ))
198
198
  ],
199
199
  'markdownDescription': ( localize(
200
- 2207,
200
+ 2219,
201
201
  "Controls the property-based sorting of files and folders in the Explorer. When `#explorer.fileNesting.enabled#` is enabled, also controls sorting of nested files."
202
202
  ))
203
203
  },
@@ -206,24 +206,24 @@ configurationRegistry.registerConfiguration({
206
206
  'enum': [LexicographicOptions.Default, LexicographicOptions.Upper, LexicographicOptions.Lower, LexicographicOptions.Unicode],
207
207
  'default': LexicographicOptions.Default,
208
208
  'enumDescriptions': [
209
- ( localize(2208, 'Uppercase and lowercase names are mixed together.')),
210
- ( localize(2209, 'Uppercase names are grouped together before lowercase names.')),
211
- ( localize(2210, 'Lowercase names are grouped together before uppercase names.')),
212
- ( localize(2211, 'Names are sorted in Unicode order.'))
209
+ ( localize(2220, 'Uppercase and lowercase names are mixed together.')),
210
+ ( localize(2221, 'Uppercase names are grouped together before lowercase names.')),
211
+ ( localize(2222, 'Lowercase names are grouped together before uppercase names.')),
212
+ ( localize(2223, 'Names are sorted in Unicode order.'))
213
213
  ],
214
214
  'description': ( localize(
215
- 2212,
215
+ 2224,
216
216
  "Controls the lexicographic sorting of file and folder names in the Explorer."
217
217
  ))
218
218
  },
219
219
  'explorer.decorations.colors': {
220
220
  type: 'boolean',
221
- description: ( localize(2213, "Controls whether file decorations should use colors.")),
221
+ description: ( localize(2225, "Controls whether file decorations should use colors.")),
222
222
  default: true
223
223
  },
224
224
  'explorer.decorations.badges': {
225
225
  type: 'boolean',
226
- description: ( localize(2214, "Controls whether file decorations should use badges.")),
226
+ description: ( localize(2226, "Controls whether file decorations should use badges.")),
227
227
  default: true
228
228
  },
229
229
  'explorer.incrementalNaming': {
@@ -231,20 +231,20 @@ configurationRegistry.registerConfiguration({
231
231
  enum: ['simple', 'smart', 'disabled'],
232
232
  enumDescriptions: [
233
233
  ( localize(
234
- 2215,
234
+ 2227,
235
235
  "Appends the word \"copy\" at the end of the duplicated name potentially followed by a number."
236
236
  )),
237
237
  ( localize(
238
- 2216,
238
+ 2228,
239
239
  "Adds a number at the end of the duplicated name. If some number is already part of the name, tries to increase that number."
240
240
  )),
241
241
  ( localize(
242
- 2217,
242
+ 2229,
243
243
  "Disables incremental naming. If two files with the same name exist you will be prompted to overwrite the existing file."
244
244
  ))
245
245
  ],
246
246
  description: ( localize(
247
- 2218,
247
+ 2230,
248
248
  "Controls which naming strategy to use when giving a new name to a duplicated Explorer item on paste."
249
249
  )),
250
250
  default: 'simple'
@@ -252,7 +252,7 @@ configurationRegistry.registerConfiguration({
252
252
  'explorer.autoOpenDroppedFile': {
253
253
  'type': 'boolean',
254
254
  'description': ( localize(
255
- 2219,
255
+ 2231,
256
256
  "Controls whether the Explorer should automatically open a file when it is dropped into the explorer"
257
257
  )),
258
258
  'default': true
@@ -260,7 +260,7 @@ configurationRegistry.registerConfiguration({
260
260
  'explorer.compactFolders': {
261
261
  'type': 'boolean',
262
262
  'description': ( localize(
263
- 2220,
263
+ 2232,
264
264
  "Controls whether the Explorer should render folders in a compact form. In such a form, single child folders will be compressed in a combined tree element. Useful for Java package structures, for example."
265
265
  )),
266
266
  'default': true
@@ -273,12 +273,12 @@ configurationRegistry.registerConfiguration({
273
273
  'auto'
274
274
  ],
275
275
  'enumDescriptions': [
276
- ( localize(2221, "Use slash as path separation character.")),
277
- ( localize(2222, "Use backslash as path separation character.")),
278
- ( localize(2223, "Uses operating system specific path separation character.")),
276
+ ( localize(2233, "Use slash as path separation character.")),
277
+ ( localize(2234, "Use backslash as path separation character.")),
278
+ ( localize(2235, "Uses operating system specific path separation character.")),
279
279
  ],
280
280
  'description': ( localize(
281
- 2224,
281
+ 2236,
282
282
  "The path separation character used when copying relative file paths."
283
283
  )),
284
284
  'default': 'auto'
@@ -286,7 +286,7 @@ configurationRegistry.registerConfiguration({
286
286
  'explorer.excludeGitIgnore': {
287
287
  type: 'boolean',
288
288
  markdownDescription: ( localize(
289
- 2225,
289
+ 2237,
290
290
  "Controls whether entries in .gitignore should be parsed and excluded from the Explorer. Similar to {0}.",
291
291
  '`#files.exclude#`'
292
292
  )),
@@ -297,7 +297,7 @@ configurationRegistry.registerConfiguration({
297
297
  'type': 'boolean',
298
298
  scope: ConfigurationScope.RESOURCE,
299
299
  'markdownDescription': ( localize(
300
- 2226,
300
+ 2238,
301
301
  "Controls whether file nesting is enabled in the Explorer. File nesting allows for related files in a directory to be visually grouped together under a single parent file."
302
302
  )),
303
303
  'default': false,
@@ -305,7 +305,7 @@ configurationRegistry.registerConfiguration({
305
305
  'explorer.fileNesting.expand': {
306
306
  'type': 'boolean',
307
307
  'markdownDescription': ( localize(
308
- 2227,
308
+ 2239,
309
309
  "Controls whether file nests are automatically expanded. {0} must be set for this to take effect.",
310
310
  '`#explorer.fileNesting.enabled#`'
311
311
  )),
@@ -315,14 +315,14 @@ configurationRegistry.registerConfiguration({
315
315
  'type': 'object',
316
316
  scope: ConfigurationScope.RESOURCE,
317
317
  'markdownDescription': ( localize(
318
- 2228,
318
+ 2240,
319
319
  "Controls nesting of files in the Explorer. {0} must be set for this to take effect. Each __Item__ represents a parent pattern and may contain a single `*` character that matches any string. Each __Value__ represents a comma separated list of the child patterns that should be shown nested under a given parent. Child patterns may contain several special tokens:\n- `${capture}`: Matches the resolved value of the `*` from the parent pattern\n- `${basename}`: Matches the parent file's basename, the `file` in `file.ts`\n- `${extname}`: Matches the parent file's extension, the `ts` in `file.ts`\n- `${dirname}`: Matches the parent file's directory name, the `src` in `src/file.ts`\n- `*`: Matches any string, may only be used once per child pattern",
320
320
  '`#explorer.fileNesting.enabled#`'
321
321
  )),
322
322
  patternProperties: {
323
323
  '^[^*]*\\*?[^*]*$': {
324
324
  markdownDescription: ( localize(
325
- 2229,
325
+ 2241,
326
326
  "Each key pattern may contain a single `*` character which will match any string."
327
327
  )),
328
328
  type: 'string',