@codingame/monaco-vscode-api 11.0.2 → 11.1.0

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.
Files changed (150) hide show
  1. package/extensions.d.ts +1 -1
  2. package/package.json +8 -8
  3. package/vscode/src/vs/base/browser/ui/dropdown/dropdownActionViewItem.js +1 -1
  4. package/vscode/src/vs/base/browser/ui/splitview/paneview.js +1 -1
  5. package/vscode/src/vs/base/browser/ui/toolbar/toolbar.js +1 -1
  6. package/vscode/src/vs/base/common/date.js +61 -61
  7. package/vscode/src/vs/base/common/errorMessage.js +15 -6
  8. package/vscode/src/vs/editor/browser/editorExtensions.js +6 -6
  9. package/vscode/src/vs/editor/common/config/editorOptions.js +364 -364
  10. package/vscode/src/vs/editor/contrib/codeAction/browser/codeAction.js +1 -1
  11. package/vscode/src/vs/editor/contrib/contextmenu/browser/contextmenu.js +10 -10
  12. package/vscode/src/vs/editor/contrib/cursorUndo/browser/cursorUndo.js +2 -2
  13. package/vscode/src/vs/editor/contrib/gotoSymbol/browser/peek/referencesController.js +3 -3
  14. package/vscode/src/vs/editor/contrib/gotoSymbol/browser/peek/referencesTree.js +3 -3
  15. package/vscode/src/vs/editor/contrib/gotoSymbol/browser/peek/referencesWidget.js +3 -3
  16. package/vscode/src/vs/editor/contrib/lineSelection/browser/lineSelection.js +1 -1
  17. package/vscode/src/vs/editor/contrib/linesOperations/browser/linesOperations.js +30 -30
  18. package/vscode/src/vs/editor/contrib/quickAccess/browser/gotoLineQuickAccess.js +5 -5
  19. package/vscode/src/vs/editor/contrib/quickAccess/browser/gotoSymbolQuickAccess.js +32 -32
  20. package/vscode/src/vs/editor/contrib/toggleTabFocusMode/browser/toggleTabFocusMode.js +4 -4
  21. package/vscode/src/vs/editor/contrib/tokenization/browser/tokenization.js +1 -1
  22. package/vscode/src/vs/platform/action/common/actionCommonCategories.js +6 -6
  23. package/vscode/src/vs/platform/actions/common/menuResetAction.js +1 -1
  24. package/vscode/src/vs/platform/dnd/browser/dnd.js +1 -1
  25. package/vscode/src/vs/platform/files/browser/htmlFileSystemProvider.js +2 -2
  26. package/vscode/src/vs/platform/files/common/files.js +6 -6
  27. package/vscode/src/vs/platform/languagePacks/common/localizedStrings.js +3 -3
  28. package/vscode/src/vs/platform/log/common/log.js +6 -6
  29. package/vscode/src/vs/platform/markers/common/markers.js +3 -3
  30. package/vscode/src/vs/platform/quickinput/browser/quickInputActions.js +3 -3
  31. package/vscode/src/vs/platform/quickinput/browser/quickInputTree.js +1 -1
  32. package/vscode/src/vs/platform/request/common/request.js +14 -14
  33. package/vscode/src/vs/platform/theme/common/iconRegistry.js +5 -5
  34. package/vscode/src/vs/platform/theme/common/tokenClassificationRegistry.js +42 -42
  35. package/vscode/src/vs/platform/workspace/common/workspace.js +1 -1
  36. package/vscode/src/vs/workbench/api/common/extHostDiagnostics.js +1 -1
  37. package/vscode/src/vs/workbench/api/common/extHostExtensionService.js +2 -2
  38. package/vscode/src/vs/workbench/api/common/extHostLanguageFeatures.js +2 -2
  39. package/vscode/src/vs/workbench/api/common/extHostLanguageModels.js +1 -1
  40. package/vscode/src/vs/workbench/api/common/extHostLogService.js +1 -1
  41. package/vscode/src/vs/workbench/api/common/extHostNotebook.js +2 -2
  42. package/vscode/src/vs/workbench/api/common/extHostStatusBar.js +2 -2
  43. package/vscode/src/vs/workbench/api/common/extHostTelemetry.js +1 -1
  44. package/vscode/src/vs/workbench/api/common/extHostTerminalService.js +1 -1
  45. package/vscode/src/vs/workbench/api/common/extHostTreeViews.js +1 -1
  46. package/vscode/src/vs/workbench/api/common/extHostTunnelService.js +2 -2
  47. package/vscode/src/vs/workbench/api/common/extHostWorkspace.js +1 -1
  48. package/vscode/src/vs/workbench/api/common/jsonValidationExtensionPoint.js +12 -12
  49. package/vscode/src/vs/workbench/browser/actions/developerActions.js +31 -31
  50. package/vscode/src/vs/workbench/browser/actions/layoutActions.js +129 -129
  51. package/vscode/src/vs/workbench/browser/actions/textInputActions.js +6 -6
  52. package/vscode/src/vs/workbench/browser/actions/windowActions.js +25 -25
  53. package/vscode/src/vs/workbench/browser/actions/workspaceCommands.js +4 -4
  54. package/vscode/src/vs/workbench/browser/editor.js +2 -2
  55. package/vscode/src/vs/workbench/browser/parts/editor/editorCommands.js +18 -18
  56. package/vscode/src/vs/workbench/browser/parts/editor/editorTabsControl.js +2 -2
  57. package/vscode/src/vs/workbench/browser/parts/editor/sideBySideEditor.js +1 -1
  58. package/vscode/src/vs/workbench/browser/parts/editor/textCodeEditor.js +1 -1
  59. package/vscode/src/vs/workbench/browser/parts/globalCompositeBar.js +15 -15
  60. package/vscode/src/vs/workbench/browser/parts/titlebar/menubarControl.js +18 -18
  61. package/vscode/src/vs/workbench/browser/parts/titlebar/titlebarActions.js +13 -13
  62. package/vscode/src/vs/workbench/browser/parts/titlebar/windowTitle.js +2 -2
  63. package/vscode/src/vs/workbench/browser/parts/views/viewFilter.js +1 -1
  64. package/vscode/src/vs/workbench/browser/quickaccess.js +1 -1
  65. package/vscode/src/vs/workbench/browser/window.js +16 -16
  66. package/vscode/src/vs/workbench/browser/workbench.contribution.js +217 -217
  67. package/vscode/src/vs/workbench/common/configuration.js +10 -10
  68. package/vscode/src/vs/workbench/common/contextkeys.js +70 -70
  69. package/vscode/src/vs/workbench/common/editor/diffEditorInput.js +1 -1
  70. package/vscode/src/vs/workbench/common/editor/textEditorModel.js +1 -1
  71. package/vscode/src/vs/workbench/common/views.js +4 -4
  72. package/vscode/src/vs/workbench/contrib/accessibility/browser/accessibilityConfiguration.js +131 -131
  73. package/vscode/src/vs/workbench/contrib/chat/browser/actions/chatQuickInputActions.js +9 -9
  74. package/vscode/src/vs/workbench/contrib/codeActions/browser/codeActionsContribution.js +15 -15
  75. package/vscode/src/vs/workbench/contrib/codeActions/common/codeActionsExtensionPoint.js +10 -10
  76. package/vscode/src/vs/workbench/contrib/codeActions/common/documentationExtensionPoint.js +6 -6
  77. package/vscode/src/vs/workbench/contrib/codeEditor/browser/dictation/editorDictation.js +4 -4
  78. package/vscode/src/vs/workbench/contrib/codeEditor/browser/diffEditorAccessibilityHelp.js +5 -5
  79. package/vscode/src/vs/workbench/contrib/codeEditor/browser/diffEditorHelper.js +3 -3
  80. package/vscode/src/vs/workbench/contrib/codeEditor/browser/inspectEditorTokens/inspectEditorTokens.js +2 -2
  81. package/vscode/src/vs/workbench/contrib/codeEditor/browser/largeFileOptimizations.js +3 -3
  82. package/vscode/src/vs/workbench/contrib/codeEditor/browser/quickaccess/gotoSymbolQuickAccess.js +6 -6
  83. package/vscode/src/vs/workbench/contrib/codeEditor/browser/saveParticipants.js +4 -4
  84. package/vscode/src/vs/workbench/contrib/codeEditor/browser/toggleMinimap.js +2 -2
  85. package/vscode/src/vs/workbench/contrib/codeEditor/browser/toggleMultiCursorModifier.js +4 -4
  86. package/vscode/src/vs/workbench/contrib/codeEditor/browser/toggleRenderControlCharacter.js +2 -2
  87. package/vscode/src/vs/workbench/contrib/codeEditor/browser/toggleRenderWhitespace.js +2 -2
  88. package/vscode/src/vs/workbench/contrib/codeEditor/browser/toggleWordWrap.js +5 -5
  89. package/vscode/src/vs/workbench/contrib/debug/browser/callStackEditorContribution.js +2 -2
  90. package/vscode/src/vs/workbench/contrib/debug/browser/debugColors.js +12 -12
  91. package/vscode/src/vs/workbench/contrib/debug/browser/debugIcons.js +57 -57
  92. package/vscode/src/vs/workbench/contrib/debug/common/debug.js +63 -63
  93. package/vscode/src/vs/workbench/contrib/extensions/browser/extensionsActions.js +173 -173
  94. package/vscode/src/vs/workbench/contrib/extensions/common/extensionsInput.js +2 -2
  95. package/vscode/src/vs/workbench/contrib/externalUriOpener/common/configuration.js +4 -4
  96. package/vscode/src/vs/workbench/contrib/externalUriOpener/common/externalUriOpenerService.js +4 -4
  97. package/vscode/src/vs/workbench/contrib/files/browser/editors/textFileSaveErrorHandler.js +18 -18
  98. package/vscode/src/vs/workbench/contrib/files/browser/explorerViewlet.js +14 -14
  99. package/vscode/src/vs/workbench/contrib/files/browser/fileActions.js +84 -84
  100. package/vscode/src/vs/workbench/contrib/files/browser/fileImportExport.js +33 -33
  101. package/vscode/src/vs/workbench/contrib/files/browser/files.contribution._configuration.js +52 -52
  102. package/vscode/src/vs/workbench/contrib/files/browser/files.contribution._editorPane.js +2 -2
  103. package/vscode/src/vs/workbench/contrib/files/browser/views/emptyView.js +1 -1
  104. package/vscode/src/vs/workbench/contrib/files/browser/views/explorerView.js +8 -8
  105. package/vscode/src/vs/workbench/contrib/folding/browser/folding.contribution.js +3 -3
  106. package/vscode/src/vs/workbench/contrib/format/browser/formatActionsMultiple.js +20 -20
  107. package/vscode/src/vs/workbench/contrib/format/browser/formatActionsNone.js +4 -4
  108. package/vscode/src/vs/workbench/contrib/format/browser/formatModified.js +1 -1
  109. package/vscode/src/vs/workbench/contrib/inlayHints/browser/inlayHintsAccessibilty.js +4 -4
  110. package/vscode/src/vs/workbench/contrib/inlineChat/browser/inlineChatController.js +6 -6
  111. package/vscode/src/vs/workbench/contrib/inlineChat/browser/inlineChatZoneWidget.js +1 -1
  112. package/vscode/src/vs/workbench/contrib/list/browser/listResizeColumnAction.js +2 -2
  113. package/vscode/src/vs/workbench/contrib/list/browser/tableColumnResizeQuickPick.js +5 -5
  114. package/vscode/src/vs/workbench/contrib/mergeEditor/browser/mergeEditorInput.js +1 -1
  115. package/vscode/src/vs/workbench/contrib/remote/browser/remoteExplorer.js +15 -15
  116. package/vscode/src/vs/workbench/contrib/remote/browser/remoteIcons.js +17 -17
  117. package/vscode/src/vs/workbench/contrib/remote/browser/tunnelView.js +60 -60
  118. package/vscode/src/vs/workbench/contrib/scm/browser/dirtyDiffSwitcher.js +2 -2
  119. package/vscode/src/vs/workbench/contrib/scm/browser/dirtydiffDecorator.js +23 -23
  120. package/vscode/src/vs/workbench/contrib/scm/browser/scmHistory.js +13 -13
  121. package/vscode/src/vs/workbench/contrib/search/browser/anythingQuickAccess.js +10 -10
  122. package/vscode/src/vs/workbench/contrib/search/browser/searchActionsBase.js +1 -1
  123. package/vscode/src/vs/workbench/contrib/search/browser/searchActionsFind.js +10 -10
  124. package/vscode/src/vs/workbench/contrib/search/browser/searchActionsTopBar.js +8 -8
  125. package/vscode/src/vs/workbench/contrib/search/browser/searchIcons.js +20 -20
  126. package/vscode/src/vs/workbench/contrib/search/browser/symbolsQuickAccess.js +2 -2
  127. package/vscode/src/vs/workbench/contrib/snippets/browser/commands/abstractSnippetsActions.js +1 -1
  128. package/vscode/src/vs/workbench/contrib/snippets/browser/snippetCompletionProvider.js +3 -3
  129. package/vscode/src/vs/workbench/contrib/tasks/common/taskDefinitionRegistry.js +5 -5
  130. package/vscode/src/vs/workbench/contrib/tasks/common/taskService.js +5 -5
  131. package/vscode/src/vs/workbench/contrib/terminal/common/terminalColorRegistry.js +23 -23
  132. package/vscode/src/vs/workbench/contrib/url/browser/trustedDomains.js +6 -6
  133. package/vscode/src/vs/workbench/contrib/webview/browser/webview.contribution.js +3 -3
  134. package/vscode/src/vs/workbench/contrib/workspace/common/workspace.js +2 -2
  135. package/vscode/src/vs/workbench/services/authentication/browser/authenticationService.js +3 -3
  136. package/vscode/src/vs/workbench/services/auxiliaryWindow/browser/auxiliaryWindowService.js +5 -5
  137. package/vscode/src/vs/workbench/services/configurationResolver/common/configurationResolverSchema.js +16 -16
  138. package/vscode/src/vs/workbench/services/configurationResolver/common/configurationResolverUtils.js +1 -1
  139. package/vscode/src/vs/workbench/services/configurationResolver/common/variableResolver.js +15 -15
  140. package/vscode/src/vs/workbench/services/extensionManagement/common/extensionManagement.js +1 -1
  141. package/vscode/src/vs/workbench/services/extensionRecommendations/common/workspaceExtensionsConfig.js +6 -6
  142. package/vscode/src/vs/workbench/services/filesConfiguration/common/filesConfigurationService.js +5 -5
  143. package/vscode/src/vs/workbench/services/language/common/languageService.js +28 -28
  144. package/vscode/src/vs/workbench/services/preferences/browser/keybindingsEditorModel.js +7 -7
  145. package/vscode/src/vs/workbench/services/search/common/queryBuilder.js +1 -1
  146. package/vscode/src/vs/workbench/services/textMate/common/TMGrammars.js +9 -9
  147. package/vscode/src/vs/workbench/services/themes/common/colorExtensionPoint.js +22 -22
  148. package/vscode/src/vs/workbench/services/themes/common/colorThemeData.js +8 -8
  149. package/vscode/src/vs/workbench/services/themes/common/iconExtensionPoint.js +13 -13
  150. package/vscode/src/vs/workbench/services/views/browser/viewsService.js +7 -7
@@ -58,18 +58,18 @@ import { getPathForFile } from '../../../../platform/dnd/browser/dnd.js';
58
58
  import Severity$1 from '../../../../base/common/severity.js';
59
59
 
60
60
  const NEW_FILE_COMMAND_ID = 'explorer.newFile';
61
- const NEW_FILE_LABEL = ( localize2(5477, "New File..."));
61
+ const NEW_FILE_LABEL = ( localize2(5444, "New File..."));
62
62
  const NEW_FOLDER_COMMAND_ID = 'explorer.newFolder';
63
- const NEW_FOLDER_LABEL = ( localize2(5478, "New Folder..."));
64
- const TRIGGER_RENAME_LABEL = ( localize(5479, "Rename..."));
65
- const MOVE_FILE_TO_TRASH_LABEL = ( localize(5480, "Delete"));
66
- const COPY_FILE_LABEL = ( localize(5481, "Copy"));
67
- const PASTE_FILE_LABEL = ( localize(5482, "Paste"));
63
+ const NEW_FOLDER_LABEL = ( localize2(5445, "New Folder..."));
64
+ const TRIGGER_RENAME_LABEL = ( localize(5446, "Rename..."));
65
+ const MOVE_FILE_TO_TRASH_LABEL = ( localize(5447, "Delete"));
66
+ const COPY_FILE_LABEL = ( localize(5448, "Copy"));
67
+ const PASTE_FILE_LABEL = ( localize(5449, "Paste"));
68
68
  const FileCopiedContext = ( (new RawContextKey('fileCopied', false)));
69
69
  const DOWNLOAD_COMMAND_ID = 'explorer.download';
70
- const DOWNLOAD_LABEL = ( localize(5483, "Download..."));
70
+ const DOWNLOAD_LABEL = ( localize(5450, "Download..."));
71
71
  const UPLOAD_COMMAND_ID = 'explorer.upload';
72
- const UPLOAD_LABEL = ( localize(5484, "Upload..."));
72
+ const UPLOAD_LABEL = ( localize(5451, "Upload..."));
73
73
  const CONFIRM_DELETE_SETTING_KEY = 'explorer.confirmDelete';
74
74
  const MAX_UNDO_FILE_SIZE = 5000000;
75
75
  function onError(notificationService, error) {
@@ -86,10 +86,10 @@ async function refreshIfSeparator(value, explorerService) {
86
86
  async function deleteFiles(explorerService, workingCopyFileService, dialogService, configurationService, elements, useTrash, skipConfirm = false, ignoreIfNotExists = false) {
87
87
  let primaryButton;
88
88
  if (useTrash) {
89
- primaryButton = isWindows ? ( localize(5485, "&&Move to Recycle Bin")) : ( localize(5486, "&&Move to Trash"));
89
+ primaryButton = isWindows ? ( localize(5452, "&&Move to Recycle Bin")) : ( localize(5453, "&&Move to Trash"));
90
90
  }
91
91
  else {
92
- primaryButton = ( localize(5487, "&&Delete"));
92
+ primaryButton = ( localize(5454, "&&Delete"));
93
93
  }
94
94
  const distinctElements = distinctParents(elements, e => e.resource);
95
95
  const dirtyWorkingCopies = ( (new Set()));
@@ -103,21 +103,21 @@ async function deleteFiles(explorerService, workingCopyFileService, dialogServic
103
103
  let message;
104
104
  if (distinctElements.length > 1) {
105
105
  message = ( localize(
106
- 5488,
106
+ 5455,
107
107
  "You are deleting files with unsaved changes. Do you want to continue?"
108
108
  ));
109
109
  }
110
110
  else if (distinctElements[0].isDirectory) {
111
111
  if (dirtyWorkingCopies.size === 1) {
112
112
  message = ( localize(
113
- 5489,
113
+ 5456,
114
114
  "You are deleting a folder {0} with unsaved changes in 1 file. Do you want to continue?",
115
115
  distinctElements[0].name
116
116
  ));
117
117
  }
118
118
  else {
119
119
  message = ( localize(
120
- 5490,
120
+ 5457,
121
121
  "You are deleting a folder {0} with unsaved changes in {1} files. Do you want to continue?",
122
122
  distinctElements[0].name,
123
123
  dirtyWorkingCopies.size
@@ -126,7 +126,7 @@ async function deleteFiles(explorerService, workingCopyFileService, dialogServic
126
126
  }
127
127
  else {
128
128
  message = ( localize(
129
- 5491,
129
+ 5458,
130
130
  "You are deleting {0} with unsaved changes. Do you want to continue?",
131
131
  distinctElements[0].name
132
132
  ));
@@ -134,7 +134,7 @@ async function deleteFiles(explorerService, workingCopyFileService, dialogServic
134
134
  const response = await dialogService.confirm({
135
135
  type: 'warning',
136
136
  message,
137
- detail: ( localize(5492, "Your changes will be lost if you don't save them.")),
137
+ detail: ( localize(5459, "Your changes will be lost if you don't save them.")),
138
138
  primaryButton
139
139
  });
140
140
  if (!response.confirmed) {
@@ -148,8 +148,8 @@ async function deleteFiles(explorerService, workingCopyFileService, dialogServic
148
148
  return;
149
149
  }
150
150
  let confirmation;
151
- const deleteDetail = ( (distinctElements.some(e => e.isDirectory))) ? ( localize(5493, "This action is irreversible!")) :
152
- distinctElements.length > 1 ? ( localize(5494, "You can restore these files using the Undo command.")) : ( localize(5495, "You can restore this file using the Undo command."));
151
+ const deleteDetail = ( (distinctElements.some(e => e.isDirectory))) ? ( localize(5460, "This action is irreversible!")) :
152
+ distinctElements.length > 1 ? ( localize(5461, "You can restore these files using the Undo command.")) : ( localize(5462, "You can restore this file using the Undo command."));
153
153
  if (skipConfirm || (useTrash && configurationService.getValue(CONFIRM_DELETE_SETTING_KEY) === false)) {
154
154
  confirmation = { confirmed: true };
155
155
  }
@@ -157,17 +157,17 @@ async function deleteFiles(explorerService, workingCopyFileService, dialogServic
157
157
  let { message, detail } = getMoveToTrashMessage(distinctElements);
158
158
  detail += detail ? '\n' : '';
159
159
  if (isWindows) {
160
- detail += distinctElements.length > 1 ? ( localize(5496, "You can restore these files from the Recycle Bin.")) : ( localize(5497, "You can restore this file from the Recycle Bin."));
160
+ detail += distinctElements.length > 1 ? ( localize(5463, "You can restore these files from the Recycle Bin.")) : ( localize(5464, "You can restore this file from the Recycle Bin."));
161
161
  }
162
162
  else {
163
- detail += distinctElements.length > 1 ? ( localize(5498, "You can restore these files from the Trash.")) : ( localize(5499, "You can restore this file from the Trash."));
163
+ detail += distinctElements.length > 1 ? ( localize(5465, "You can restore these files from the Trash.")) : ( localize(5466, "You can restore this file from the Trash."));
164
164
  }
165
165
  confirmation = await dialogService.confirm({
166
166
  message,
167
167
  detail,
168
168
  primaryButton,
169
169
  checkbox: {
170
- label: ( localize(5500, "Do not ask me again"))
170
+ label: ( localize(5467, "Do not ask me again"))
171
171
  }
172
172
  });
173
173
  }
@@ -195,8 +195,8 @@ async function deleteFiles(explorerService, workingCopyFileService, dialogServic
195
195
  { recursive: true, folder: e.isDirectory, ignoreIfNotExists, skipTrashBin: !useTrash, maxSize: MAX_UNDO_FILE_SIZE }
196
196
  ))))));
197
197
  const options = {
198
- undoLabel: distinctElements.length > 1 ? ( localize(5501, "Delete {0} files", distinctElements.length)) : ( localize(5502, "Delete {0}", distinctElements[0].name)),
199
- progressLabel: distinctElements.length > 1 ? ( localize(5503, "Deleting {0} files", distinctElements.length)) : ( localize(5504, "Deleting {0}", distinctElements[0].name)),
198
+ undoLabel: distinctElements.length > 1 ? ( localize(5468, "Delete {0} files", distinctElements.length)) : ( localize(5469, "Delete {0}", distinctElements[0].name)),
199
+ progressLabel: distinctElements.length > 1 ? ( localize(5470, "Deleting {0} files", distinctElements.length)) : ( localize(5471, "Deleting {0}", distinctElements[0].name)),
200
200
  };
201
201
  await explorerService.applyBulkEdit(resourceFileEdits, options);
202
202
  }
@@ -206,18 +206,18 @@ async function deleteFiles(explorerService, workingCopyFileService, dialogServic
206
206
  let primaryButton;
207
207
  if (useTrash) {
208
208
  errorMessage = isWindows ? ( localize(
209
- 5505,
209
+ 5472,
210
210
  "Failed to delete using the Recycle Bin. Do you want to permanently delete instead?"
211
211
  )) : ( localize(
212
- 5506,
212
+ 5473,
213
213
  "Failed to delete using the Trash. Do you want to permanently delete instead?"
214
214
  ));
215
215
  detailMessage = deleteDetail;
216
- primaryButton = ( localize(5507, "&&Delete Permanently"));
216
+ primaryButton = ( localize(5474, "&&Delete Permanently"));
217
217
  }
218
218
  else {
219
219
  errorMessage = toErrorMessage(error, false);
220
- primaryButton = ( localize(5508, "&&Retry"));
220
+ primaryButton = ( localize(5475, "&&Retry"));
221
221
  }
222
222
  const res = await dialogService.confirm({
223
223
  type: 'warning',
@@ -239,7 +239,7 @@ function getMoveToTrashMessage(distinctElements) {
239
239
  if (containsBothDirectoryAndFile(distinctElements)) {
240
240
  return {
241
241
  message: ( localize(
242
- 5509,
242
+ 5476,
243
243
  "Are you sure you want to delete the following {0} files/directories and their contents?",
244
244
  distinctElements.length
245
245
  )),
@@ -250,7 +250,7 @@ function getMoveToTrashMessage(distinctElements) {
250
250
  if (distinctElements[0].isDirectory) {
251
251
  return {
252
252
  message: ( localize(
253
- 5510,
253
+ 5477,
254
254
  "Are you sure you want to delete the following {0} directories and their contents?",
255
255
  distinctElements.length
256
256
  )),
@@ -259,7 +259,7 @@ function getMoveToTrashMessage(distinctElements) {
259
259
  }
260
260
  return {
261
261
  message: ( localize(
262
- 5511,
262
+ 5478,
263
263
  "Are you sure you want to delete the following {0} files?",
264
264
  distinctElements.length
265
265
  )),
@@ -268,18 +268,18 @@ function getMoveToTrashMessage(distinctElements) {
268
268
  }
269
269
  if (distinctElements[0].isDirectory && !distinctElements[0].isSymbolicLink) {
270
270
  return { message: ( localize(
271
- 5512,
271
+ 5479,
272
272
  "Are you sure you want to delete '{0}' and its contents?",
273
273
  distinctElements[0].name
274
274
  )), detail: '' };
275
275
  }
276
- return { message: ( localize(5513, "Are you sure you want to delete '{0}'?", distinctElements[0].name)), detail: '' };
276
+ return { message: ( localize(5480, "Are you sure you want to delete '{0}'?", distinctElements[0].name)), detail: '' };
277
277
  }
278
278
  function getDeleteMessage(distinctElements) {
279
279
  if (containsBothDirectoryAndFile(distinctElements)) {
280
280
  return {
281
281
  message: ( localize(
282
- 5514,
282
+ 5481,
283
283
  "Are you sure you want to permanently delete the following {0} files/directories and their contents?",
284
284
  distinctElements.length
285
285
  )),
@@ -290,7 +290,7 @@ function getDeleteMessage(distinctElements) {
290
290
  if (distinctElements[0].isDirectory) {
291
291
  return {
292
292
  message: ( localize(
293
- 5515,
293
+ 5482,
294
294
  "Are you sure you want to permanently delete the following {0} directories and their contents?",
295
295
  distinctElements.length
296
296
  )),
@@ -299,7 +299,7 @@ function getDeleteMessage(distinctElements) {
299
299
  }
300
300
  return {
301
301
  message: ( localize(
302
- 5516,
302
+ 5483,
303
303
  "Are you sure you want to permanently delete the following {0} files?",
304
304
  distinctElements.length
305
305
  )),
@@ -308,13 +308,13 @@ function getDeleteMessage(distinctElements) {
308
308
  }
309
309
  if (distinctElements[0].isDirectory) {
310
310
  return { message: ( localize(
311
- 5517,
311
+ 5484,
312
312
  "Are you sure you want to permanently delete '{0}' and its contents?",
313
313
  distinctElements[0].name
314
314
  )), detail: '' };
315
315
  }
316
316
  return { message: ( localize(
317
- 5518,
317
+ 5485,
318
318
  "Are you sure you want to permanently delete '{0}'?",
319
319
  distinctElements[0].name
320
320
  )), detail: '' };
@@ -445,17 +445,17 @@ async function askForOverwrite(fileService, dialogService, targetResource) {
445
445
  const { confirmed } = await dialogService.confirm({
446
446
  type: Severity$1.Warning,
447
447
  message: ( localize(
448
- 5519,
448
+ 5486,
449
449
  "A file or folder with the name '{0}' already exists in the destination folder. Do you want to replace it?",
450
450
  basename(targetResource.path)
451
451
  )),
452
- primaryButton: ( localize(5520, "&&Replace"))
452
+ primaryButton: ( localize(5487, "&&Replace"))
453
453
  });
454
454
  return confirmed;
455
455
  }
456
456
  class GlobalCompareResourcesAction extends Action2 {
457
457
  static { this.ID = 'workbench.files.action.compareFileWith'; }
458
- static { this.LABEL = ( localize2(5521, "Compare Active File With...")); }
458
+ static { this.LABEL = ( localize2(5488, "Compare Active File With...")); }
459
459
  constructor() {
460
460
  super({
461
461
  id: GlobalCompareResourcesAction.ID,
@@ -464,7 +464,7 @@ class GlobalCompareResourcesAction extends Action2 {
464
464
  category: Categories.File,
465
465
  precondition: ActiveEditorContext,
466
466
  metadata: {
467
- description: ( localize2(5522, "Opens a picker to select a file to diff with the active editor."))
467
+ description: ( localize2(5489, "Opens a picker to select a file to diff with the active editor."))
468
468
  }
469
469
  });
470
470
  }
@@ -494,10 +494,10 @@ class ToggleAutoSaveAction extends Action2 {
494
494
  constructor() {
495
495
  super({
496
496
  id: ToggleAutoSaveAction.ID,
497
- title: ( localize2(5523, "Toggle Auto Save")),
497
+ title: ( localize2(5490, "Toggle Auto Save")),
498
498
  f1: true,
499
499
  category: Categories.File,
500
- metadata: { description: ( localize2(5524, "Toggle the ability to save files automatically after typing")) }
500
+ metadata: { description: ( localize2(5491, "Toggle the ability to save files automatically after typing")) }
501
501
  });
502
502
  }
503
503
  run(accessor) {
@@ -541,7 +541,7 @@ BaseSaveAllAction = ( (__decorate([
541
541
  ], BaseSaveAllAction)));
542
542
  class SaveAllInGroupAction extends BaseSaveAllAction {
543
543
  static { this.ID = 'workbench.files.action.saveAllInGroup'; }
544
- static { this.LABEL = ( localize(5525, "Save All in Group")); }
544
+ static { this.LABEL = ( localize(5492, "Save All in Group")); }
545
545
  get class() {
546
546
  return 'explorer-action ' + ThemeIcon.asClassName(Codicon.saveAll);
547
547
  }
@@ -551,7 +551,7 @@ class SaveAllInGroupAction extends BaseSaveAllAction {
551
551
  }
552
552
  let CloseGroupAction = class CloseGroupAction extends Action {
553
553
  static { this.ID = 'workbench.files.action.closeGroup'; }
554
- static { this.LABEL = ( localize(5526, "Close Group")); }
554
+ static { this.LABEL = ( localize(5493, "Close Group")); }
555
555
  constructor(id, label, commandService) {
556
556
  super(id, label, ThemeIcon.asClassName(Codicon.closeAll));
557
557
  this.commandService = commandService;
@@ -565,7 +565,7 @@ CloseGroupAction = ( (__decorate([
565
565
  ], CloseGroupAction)));
566
566
  class FocusFilesExplorer extends Action2 {
567
567
  static { this.ID = 'workbench.files.action.focusFilesExplorer'; }
568
- static { this.LABEL = ( localize2(5527, "Focus on Files Explorer")); }
568
+ static { this.LABEL = ( localize2(5494, "Focus on Files Explorer")); }
569
569
  constructor() {
570
570
  super({
571
571
  id: FocusFilesExplorer.ID,
@@ -573,7 +573,7 @@ class FocusFilesExplorer extends Action2 {
573
573
  f1: true,
574
574
  category: Categories.File,
575
575
  metadata: {
576
- description: ( localize2(5528, "Moves focus to the file explorer view container."))
576
+ description: ( localize2(5495, "Moves focus to the file explorer view container."))
577
577
  }
578
578
  });
579
579
  }
@@ -584,7 +584,7 @@ class FocusFilesExplorer extends Action2 {
584
584
  }
585
585
  class ShowActiveFileInExplorer extends Action2 {
586
586
  static { this.ID = 'workbench.files.action.showActiveFileInExplorer'; }
587
- static { this.LABEL = ( localize2(5529, "Reveal Active File in Explorer View")); }
587
+ static { this.LABEL = ( localize2(5496, "Reveal Active File in Explorer View")); }
588
588
  constructor() {
589
589
  super({
590
590
  id: ShowActiveFileInExplorer.ID,
@@ -592,7 +592,7 @@ class ShowActiveFileInExplorer extends Action2 {
592
592
  f1: true,
593
593
  category: Categories.File,
594
594
  metadata: {
595
- description: ( localize2(5530, "Reveals and selects the active file within the explorer view."))
595
+ description: ( localize2(5497, "Reveals and selects the active file within the explorer view."))
596
596
  }
597
597
  });
598
598
  }
@@ -607,7 +607,7 @@ class ShowActiveFileInExplorer extends Action2 {
607
607
  }
608
608
  class OpenActiveFileInEmptyWorkspace extends Action2 {
609
609
  static { this.ID = 'workbench.action.files.showOpenedFileInNewWindow'; }
610
- static { this.LABEL = ( localize2(5531, "Open Active File in New Empty Workspace")); }
610
+ static { this.LABEL = ( localize2(5498, "Open Active File in New Empty Workspace")); }
611
611
  constructor() {
612
612
  super({
613
613
  id: OpenActiveFileInEmptyWorkspace.ID,
@@ -616,7 +616,7 @@ class OpenActiveFileInEmptyWorkspace extends Action2 {
616
616
  category: Categories.File,
617
617
  precondition: EmptyWorkspaceSupportContext,
618
618
  metadata: {
619
- description: ( localize2(5532, "Opens the active file in a new window with no folders open."))
619
+ description: ( localize2(5499, "Opens the active file in a new window with no folders open."))
620
620
  }
621
621
  });
622
622
  }
@@ -631,7 +631,7 @@ class OpenActiveFileInEmptyWorkspace extends Action2 {
631
631
  hostService.openWindow([{ fileUri: fileResource }], { forceNewWindow: true });
632
632
  }
633
633
  else {
634
- dialogService.error(( localize(5533, "The active editor must contain an openable resource.")));
634
+ dialogService.error(( localize(5500, "The active editor must contain an openable resource.")));
635
635
  }
636
636
  }
637
637
  }
@@ -640,13 +640,13 @@ function validateFileName(pathService, item, name, os) {
640
640
  name = getWellFormedFileName(name);
641
641
  if (!name || name.length === 0 || /^\s+$/.test(name)) {
642
642
  return {
643
- content: ( localize(5534, "A file or folder name must be provided.")),
643
+ content: ( localize(5501, "A file or folder name must be provided.")),
644
644
  severity: Severity$1.Error
645
645
  };
646
646
  }
647
647
  if (name[0] === '/' || name[0] === '\\') {
648
648
  return {
649
- content: ( localize(5535, "A file or folder name cannot start with a slash.")),
649
+ content: ( localize(5502, "A file or folder name cannot start with a slash.")),
650
650
  severity: Severity$1.Error
651
651
  };
652
652
  }
@@ -657,7 +657,7 @@ function validateFileName(pathService, item, name, os) {
657
657
  if (child && child !== item) {
658
658
  return {
659
659
  content: ( localize(
660
- 5536,
660
+ 5503,
661
661
  "A file or folder **{0}** already exists at this location. Please choose a different name.",
662
662
  name
663
663
  )),
@@ -669,7 +669,7 @@ function validateFileName(pathService, item, name, os) {
669
669
  const escapedName = name.replace(/\*/g, '\\*');
670
670
  return {
671
671
  content: ( localize(
672
- 5537,
672
+ 5504,
673
673
  "The name **{0}** is not valid as a file or folder name. Please choose a different name.",
674
674
  trimLongName(escapedName)
675
675
  )),
@@ -678,7 +678,7 @@ function validateFileName(pathService, item, name, os) {
678
678
  }
679
679
  if (( (names.some(name => /^\s|\s$/.test(name))))) {
680
680
  return {
681
- content: ( localize(5538, "Leading or trailing whitespace detected in file or folder name.")),
681
+ content: ( localize(5505, "Leading or trailing whitespace detected in file or folder name.")),
682
682
  severity: Severity$1.Warning
683
683
  };
684
684
  }
@@ -701,7 +701,7 @@ function getWellFormedFileName(filename) {
701
701
  }
702
702
  class CompareNewUntitledTextFilesAction extends Action2 {
703
703
  static { this.ID = 'workbench.files.action.compareNewUntitledTextFiles'; }
704
- static { this.LABEL = ( localize2(5539, "Compare New Untitled Text Files")); }
704
+ static { this.LABEL = ( localize2(5506, "Compare New Untitled Text Files")); }
705
705
  constructor() {
706
706
  super({
707
707
  id: CompareNewUntitledTextFilesAction.ID,
@@ -709,7 +709,7 @@ class CompareNewUntitledTextFilesAction extends Action2 {
709
709
  f1: true,
710
710
  category: Categories.File,
711
711
  metadata: {
712
- description: ( localize2(5540, "Opens a new diff editor with two untitled files."))
712
+ description: ( localize2(5507, "Opens a new diff editor with two untitled files."))
713
713
  }
714
714
  });
715
715
  }
@@ -724,7 +724,7 @@ class CompareNewUntitledTextFilesAction extends Action2 {
724
724
  }
725
725
  class CompareWithClipboardAction extends Action2 {
726
726
  static { this.ID = 'workbench.files.action.compareWithClipboard'; }
727
- static { this.LABEL = ( localize2(5541, "Compare Active File with Clipboard")); }
727
+ static { this.LABEL = ( localize2(5508, "Compare Active File with Clipboard")); }
728
728
  static { this.SCHEME_COUNTER = 0; }
729
729
  constructor() {
730
730
  super({
@@ -735,7 +735,7 @@ class CompareWithClipboardAction extends Action2 {
735
735
  keybinding: { primary: KeyChord(2048 | 41 , 33 ), weight: 200 },
736
736
  metadata: {
737
737
  description: ( localize2(
738
- 5542,
738
+ 5509,
739
739
  "Opens a new diff editor to compare the active file with the contents of the clipboard."
740
740
  ))
741
741
  }
@@ -754,7 +754,7 @@ class CompareWithClipboardAction extends Action2 {
754
754
  this.registrationDisposal = textModelService.registerTextModelContentProvider(scheme, provider);
755
755
  }
756
756
  const name = basename$1(resource);
757
- const editorLabel = ( localize(5543, "Clipboard ↔ {0}", name));
757
+ const editorLabel = ( localize(5510, "Clipboard ↔ {0}", name));
758
758
  await editorService.openEditor({
759
759
  original: { resource: resource.with({ scheme }) },
760
760
  modified: { resource: resource },
@@ -790,7 +790,7 @@ ClipboardContentProvider = ( (__decorate([
790
790
  ], ClipboardContentProvider)));
791
791
  function onErrorWithRetry(notificationService, error, retry) {
792
792
  notificationService.prompt(Severity$1.Error, toErrorMessage(error, false), [{
793
- label: ( localize(5544, "Retry")),
793
+ label: ( localize(5511, "Retry")),
794
794
  run: () => retry()
795
795
  }]);
796
796
  }
@@ -837,8 +837,8 @@ async function openExplorerAndCreate(accessor, isFolder) {
837
837
  isFolder = true;
838
838
  }
839
839
  await explorerService.applyBulkEdit([( (new ResourceFileEdit(undefined, resourceToCreate, { folder: isFolder })))], {
840
- undoLabel: ( localize(5545, "Create {0}", value)),
841
- progressLabel: ( localize(5546, "Creating {0}", value)),
840
+ undoLabel: ( localize(5512, "Create {0}", value)),
841
+ progressLabel: ( localize(5513, "Creating {0}", value)),
842
842
  confirmBeforeUndo: true
843
843
  });
844
844
  await refreshIfSeparator(value, explorerService);
@@ -899,8 +899,8 @@ const renameHandler = async (accessor) => {
899
899
  try {
900
900
  await explorerService.applyBulkEdit([( (new ResourceFileEdit(stat.resource, targetResource)))], {
901
901
  confirmBeforeUndo: configurationService.getValue().explorer.confirmUndo === "verbose" ,
902
- undoLabel: ( localize(5547, "Rename {0} to {1}", stat.name, value)),
903
- progressLabel: ( localize(5548, "Renaming {0} to {1}", stat.name, value)),
902
+ undoLabel: ( localize(5514, "Rename {0} to {1}", stat.name, value)),
903
+ progressLabel: ( localize(5515, "Renaming {0} to {1}", stat.name, value)),
904
904
  });
905
905
  await refreshIfSeparator(value, explorerService);
906
906
  }
@@ -1002,12 +1002,12 @@ const pasteFileHandler = async (accessor, fileList) => {
1002
1002
  if (confirmPasteNative && toPaste.files.length >= 1) {
1003
1003
  const message = toPaste.files.length > 1 ?
1004
1004
  ( localize(
1005
- 5549,
1005
+ 5516,
1006
1006
  "Are you sure you want to paste the following {0} items?",
1007
1007
  toPaste.files.length
1008
1008
  )) :
1009
1009
  ( localize(
1010
- 5550,
1010
+ 5517,
1011
1011
  "Are you sure you want to paste '{0}'?",
1012
1012
  basename(toPaste.type === 'paths' ? toPaste.files[0].fsPath : toPaste.files[0].name)
1013
1013
  ));
@@ -1027,9 +1027,9 @@ const pasteFileHandler = async (accessor, fileList) => {
1027
1027
  message,
1028
1028
  detail,
1029
1029
  checkbox: {
1030
- label: ( localize(5500, "Do not ask me again"))
1030
+ label: ( localize(5467, "Do not ask me again"))
1031
1031
  },
1032
- primaryButton: ( localize(5551, "&&Paste"))
1032
+ primaryButton: ( localize(5518, "&&Paste"))
1033
1033
  });
1034
1034
  if (!confirmation.confirmed) {
1035
1035
  return;
@@ -1049,7 +1049,7 @@ const pasteFileHandler = async (accessor, fileList) => {
1049
1049
  if (toPaste.type === 'paths') {
1050
1050
  const sourceTargetPairs = coalesce(await Promise.all(( (toPaste.files.map(async (fileToPaste) => {
1051
1051
  if (( (element.resource.toString())) !== ( (fileToPaste.toString())) && isEqualOrParent(element.resource, fileToPaste)) {
1052
- throw ( (new Error(localize(5552, "File to paste is an ancestor of the destination folder"))));
1052
+ throw ( (new Error(localize(5519, "File to paste is an ancestor of the destination folder"))));
1053
1053
  }
1054
1054
  const fileToPasteStat = await fileService.stat(fileToPaste);
1055
1055
  let target;
@@ -1072,10 +1072,10 @@ const pasteFileHandler = async (accessor, fileList) => {
1072
1072
  )));
1073
1073
  const options = {
1074
1074
  confirmBeforeUndo: configurationService.getValue().explorer.confirmUndo === "verbose" ,
1075
- progressLabel: sourceTargetPairs.length > 1 ? ( localize(5553, "Moving {0} files", sourceTargetPairs.length))
1076
- : ( localize(5554, "Moving {0}", basenameOrAuthority(sourceTargetPairs[0].target))),
1077
- undoLabel: sourceTargetPairs.length > 1 ? ( localize(5555, "Move {0} files", sourceTargetPairs.length))
1078
- : ( localize(5556, "Move {0}", basenameOrAuthority(sourceTargetPairs[0].target)))
1075
+ progressLabel: sourceTargetPairs.length > 1 ? ( localize(5520, "Moving {0} files", sourceTargetPairs.length))
1076
+ : ( localize(5521, "Moving {0}", basenameOrAuthority(sourceTargetPairs[0].target))),
1077
+ undoLabel: sourceTargetPairs.length > 1 ? ( localize(5522, "Move {0} files", sourceTargetPairs.length))
1078
+ : ( localize(5523, "Move {0}", basenameOrAuthority(sourceTargetPairs[0].target)))
1079
1079
  };
1080
1080
  await explorerService.applyBulkEdit(resourceFileEdits, options);
1081
1081
  }
@@ -1121,7 +1121,7 @@ const pasteFileHandler = async (accessor, fileList) => {
1121
1121
  }
1122
1122
  catch (e) {
1123
1123
  onError(notificationService, ( (new Error(( localize(
1124
- 5557,
1124
+ 5524,
1125
1125
  "The file(s) to paste have been deleted or moved since you copied them. {0}",
1126
1126
  getErrorMessage(e)
1127
1127
  ))))));
@@ -1136,10 +1136,10 @@ const pasteFileHandler = async (accessor, fileList) => {
1136
1136
  const undoLevel = configurationService.getValue().explorer.confirmUndo;
1137
1137
  const options = {
1138
1138
  confirmBeforeUndo: undoLevel === "default" || undoLevel === "verbose" ,
1139
- progressLabel: targets.length > 1 ? ( localize(5558, "Copying {0} files", targets.length))
1140
- : ( localize(5559, "Copying {0}", basenameOrAuthority(targets[0]))),
1141
- undoLabel: targets.length > 1 ? ( localize(5560, "Paste {0} files", targets.length))
1142
- : ( localize(5561, "Paste {0}", basenameOrAuthority(targets[0])))
1139
+ progressLabel: targets.length > 1 ? ( localize(5525, "Copying {0} files", targets.length))
1140
+ : ( localize(5526, "Copying {0}", basenameOrAuthority(targets[0]))),
1141
+ undoLabel: targets.length > 1 ? ( localize(5527, "Paste {0} files", targets.length))
1142
+ : ( localize(5528, "Paste {0}", basenameOrAuthority(targets[0])))
1143
1143
  };
1144
1144
  await explorerService.applyBulkEdit(resourceFileEdits, options);
1145
1145
  }
@@ -1188,28 +1188,28 @@ class BaseSetActiveEditorReadonlyInSession extends Action2 {
1188
1188
  }
1189
1189
  class SetActiveEditorReadonlyInSession extends BaseSetActiveEditorReadonlyInSession {
1190
1190
  static { this.ID = 'workbench.action.files.setActiveEditorReadonlyInSession'; }
1191
- static { this.LABEL = ( localize2(5562, "Set Active Editor Read-only in Session")); }
1191
+ static { this.LABEL = ( localize2(5529, "Set Active Editor Read-only in Session")); }
1192
1192
  constructor() {
1193
1193
  super(SetActiveEditorReadonlyInSession.ID, SetActiveEditorReadonlyInSession.LABEL, true);
1194
1194
  }
1195
1195
  }
1196
1196
  class SetActiveEditorWriteableInSession extends BaseSetActiveEditorReadonlyInSession {
1197
1197
  static { this.ID = 'workbench.action.files.setActiveEditorWriteableInSession'; }
1198
- static { this.LABEL = ( localize2(5563, "Set Active Editor Writeable in Session")); }
1198
+ static { this.LABEL = ( localize2(5530, "Set Active Editor Writeable in Session")); }
1199
1199
  constructor() {
1200
1200
  super(SetActiveEditorWriteableInSession.ID, SetActiveEditorWriteableInSession.LABEL, false);
1201
1201
  }
1202
1202
  }
1203
1203
  class ToggleActiveEditorReadonlyInSession extends BaseSetActiveEditorReadonlyInSession {
1204
1204
  static { this.ID = 'workbench.action.files.toggleActiveEditorReadonlyInSession'; }
1205
- static { this.LABEL = ( localize2(5564, "Toggle Active Editor Read-only in Session")); }
1205
+ static { this.LABEL = ( localize2(5531, "Toggle Active Editor Read-only in Session")); }
1206
1206
  constructor() {
1207
1207
  super(ToggleActiveEditorReadonlyInSession.ID, ToggleActiveEditorReadonlyInSession.LABEL, 'toggle');
1208
1208
  }
1209
1209
  }
1210
1210
  class ResetActiveEditorReadonlyInSession extends BaseSetActiveEditorReadonlyInSession {
1211
1211
  static { this.ID = 'workbench.action.files.resetActiveEditorReadonlyInSession'; }
1212
- static { this.LABEL = ( localize2(5565, "Reset Active Editor Read-only in Session")); }
1212
+ static { this.LABEL = ( localize2(5532, "Reset Active Editor Read-only in Session")); }
1213
1213
  constructor() {
1214
1214
  super(ResetActiveEditorReadonlyInSession.ID, ResetActiveEditorReadonlyInSession.LABEL, 'reset');
1215
1215
  }