@codingame/monaco-vscode-api 15.0.0 → 15.0.2

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 (198) hide show
  1. package/missing-services.js +53 -4
  2. package/package.json +8 -8
  3. package/services.js +5 -5
  4. package/vscode/src/vs/editor/browser/observableCodeEditor.js +1 -1
  5. package/vscode/src/vs/editor/browser/services/hoverService/hoverService.js +2 -4
  6. package/vscode/src/vs/editor/browser/widget/diffEditor/diffProviderFactoryService.js +125 -0
  7. package/vscode/src/vs/editor/common/languages/languageConfigurationRegistry.js +2 -3
  8. package/vscode/src/vs/editor/common/services/languageFeatureDebounce.js +2 -3
  9. package/vscode/src/vs/editor/common/services/languageFeaturesService.js +2 -3
  10. package/vscode/src/vs/editor/common/services/semanticTokensStylingService.js +2 -3
  11. package/vscode/src/vs/editor/contrib/codelens/browser/codeLensCache.d.ts +15 -0
  12. package/vscode/src/vs/editor/contrib/codelens/browser/codeLensCache.js +93 -0
  13. package/vscode/src/vs/editor/contrib/documentSymbols/browser/outlineModel.js +2 -3
  14. package/vscode/src/vs/editor/contrib/editorState/browser/keybindingCancellation.d.ts +7 -0
  15. package/vscode/src/vs/editor/contrib/editorState/browser/keybindingCancellation.js +4 -4
  16. package/vscode/src/vs/editor/contrib/gotoError/browser/markerNavigationService.d.ts +45 -0
  17. package/vscode/src/vs/editor/contrib/gotoError/browser/markerNavigationService.js +215 -0
  18. package/vscode/src/vs/editor/contrib/gotoError/browser/markerNavigationService.service.d.ts +1 -1
  19. package/vscode/src/vs/editor/contrib/gotoSymbol/browser/symbolNavigation.d.ts +26 -0
  20. package/vscode/src/vs/editor/contrib/gotoSymbol/browser/symbolNavigation.js +178 -0
  21. package/vscode/src/vs/editor/contrib/gpu/browser/gpuActions.js +4 -4
  22. package/vscode/src/vs/editor/contrib/hover/browser/contentHoverRendered.js +3 -3
  23. package/vscode/src/vs/editor/contrib/hover/browser/hoverAccessibleViews.js +2 -2
  24. package/vscode/src/vs/editor/contrib/hover/browser/hoverActionIds.js +2 -2
  25. package/vscode/src/vs/editor/contrib/hover/browser/hoverActions.js +24 -24
  26. package/vscode/src/vs/editor/contrib/hover/browser/markdownHoverParticipant.js +9 -9
  27. package/vscode/src/vs/editor/contrib/hover/browser/markerHoverParticipant.js +5 -5
  28. package/vscode/src/vs/editor/contrib/inPlaceReplace/browser/inPlaceReplace.js +2 -2
  29. package/vscode/src/vs/editor/contrib/indentation/browser/indentation.js +20 -20
  30. package/vscode/src/vs/editor/contrib/inlayHints/browser/inlayHintsController.js +1 -2
  31. package/vscode/src/vs/editor/contrib/inlayHints/browser/inlayHintsHover.js +8 -8
  32. package/vscode/src/vs/editor/contrib/inlineCompletions/browser/controller/commands.js +20 -20
  33. package/vscode/src/vs/editor/contrib/inlineCompletions/browser/controller/inlineCompletionContextKeys.js +11 -11
  34. package/vscode/src/vs/editor/contrib/inlineCompletions/browser/controller/inlineCompletionsController.js +1 -1
  35. package/vscode/src/vs/editor/contrib/inlineCompletions/browser/hintsWidget/hoverParticipant.js +2 -2
  36. package/vscode/src/vs/editor/contrib/inlineCompletions/browser/hintsWidget/inlineCompletionsHintsWidget.js +5 -5
  37. package/vscode/src/vs/editor/contrib/inlineCompletions/browser/view/inlineEdits/components/gutterIndicatorMenu.js +5 -5
  38. package/vscode/src/vs/editor/contrib/inlineCompletions/browser/view/inlineEdits/components/indicatorView.js +3 -3
  39. package/vscode/src/vs/editor/contrib/inlineCompletions/browser/view/inlineEdits/inlineEditsView.js +1 -1
  40. package/vscode/src/vs/editor/contrib/inlineCompletions/browser/view/inlineEdits/theme.js +18 -18
  41. package/vscode/src/vs/editor/contrib/insertFinalNewLine/browser/insertFinalNewLine.js +1 -1
  42. package/vscode/src/vs/editor/contrib/lineSelection/browser/lineSelection.js +1 -1
  43. package/vscode/src/vs/editor/contrib/linesOperations/browser/linesOperations.js +30 -30
  44. package/vscode/src/vs/editor/contrib/linkedEditing/browser/linkedEditing.js +2 -2
  45. package/vscode/src/vs/editor/contrib/links/browser/links.js +10 -10
  46. package/vscode/src/vs/editor/contrib/message/browser/messageController.js +1 -1
  47. package/vscode/src/vs/editor/contrib/multicursor/browser/multicursor.js +22 -22
  48. package/vscode/src/vs/editor/contrib/parameterHints/browser/parameterHints.js +1 -1
  49. package/vscode/src/vs/editor/contrib/parameterHints/browser/parameterHintsWidget.js +4 -4
  50. package/vscode/src/vs/editor/contrib/peekView/browser/peekView.d.ts +6 -0
  51. package/vscode/src/vs/editor/contrib/peekView/browser/peekView.js +21 -22
  52. package/vscode/src/vs/editor/contrib/placeholderText/browser/placeholderText.contribution.js +1 -1
  53. package/vscode/src/vs/editor/contrib/readOnlyMessage/browser/contribution.js +2 -2
  54. package/vscode/src/vs/editor/contrib/rename/browser/rename.js +11 -11
  55. package/vscode/src/vs/editor/contrib/rename/browser/renameWidget.js +6 -6
  56. package/vscode/src/vs/editor/contrib/smartSelect/browser/smartSelect.js +4 -4
  57. package/vscode/src/vs/editor/contrib/snippet/browser/snippetController2.js +4 -4
  58. package/vscode/src/vs/editor/contrib/snippet/browser/snippetVariables.js +4 -4
  59. package/vscode/src/vs/editor/contrib/stickyScroll/browser/stickyScrollActions.js +11 -11
  60. package/vscode/src/vs/editor/contrib/suggest/browser/suggest.js +8 -8
  61. package/vscode/src/vs/editor/contrib/suggest/browser/suggestController.js +10 -10
  62. package/vscode/src/vs/editor/contrib/suggest/browser/suggestMemory.d.ts +67 -0
  63. package/vscode/src/vs/editor/contrib/suggest/browser/suggestMemory.js +232 -0
  64. package/vscode/src/vs/editor/contrib/suggest/browser/suggestWidget.js +16 -16
  65. package/vscode/src/vs/editor/contrib/suggest/browser/suggestWidgetDetails.js +2 -2
  66. package/vscode/src/vs/editor/contrib/suggest/browser/suggestWidgetRenderer.js +2 -2
  67. package/vscode/src/vs/editor/contrib/suggest/browser/wordContextKey.js +1 -1
  68. package/vscode/src/vs/editor/contrib/symbolIcons/browser/symbolIcons.js +33 -33
  69. package/vscode/src/vs/editor/contrib/toggleTabFocusMode/browser/toggleTabFocusMode.js +4 -4
  70. package/vscode/src/vs/editor/contrib/tokenization/browser/tokenization.js +1 -1
  71. package/vscode/src/vs/editor/contrib/unicodeHighlighter/browser/unicodeHighlighter.js +24 -24
  72. package/vscode/src/vs/editor/contrib/unusualLineTerminators/browser/unusualLineTerminators.js +5 -5
  73. package/vscode/src/vs/editor/contrib/wordHighlighter/browser/highlightDecorations.js +9 -9
  74. package/vscode/src/vs/editor/contrib/wordHighlighter/browser/wordHighlighter.js +3 -3
  75. package/vscode/src/vs/editor/contrib/wordOperations/browser/wordOperations.js +1 -1
  76. package/vscode/src/vs/editor/standalone/browser/standaloneServices.js +12 -8
  77. package/vscode/src/vs/platform/accessibilitySignal/browser/accessibilitySignalService.js +54 -54
  78. package/vscode/src/vs/platform/action/common/actionCommonCategories.js +6 -6
  79. package/vscode/src/vs/platform/actionWidget/browser/actionList.js +255 -13
  80. package/vscode/src/vs/platform/actionWidget/browser/actionWidget.d.ts +26 -0
  81. package/vscode/src/vs/platform/actionWidget/browser/actionWidget.js +230 -0
  82. package/vscode/src/vs/platform/actions/browser/menuEntryActionViewItem.js +5 -5
  83. package/vscode/src/vs/platform/actions/browser/toolbar.js +2 -2
  84. package/vscode/src/vs/platform/actions/common/menuResetAction.js +1 -1
  85. package/vscode/src/vs/platform/actions/common/menuService.js +2 -2
  86. package/vscode/src/vs/platform/configuration/common/configurationRegistry.js +10 -10
  87. package/vscode/src/vs/platform/contextkey/browser/contextKeyService.js +1 -1
  88. package/vscode/src/vs/platform/contextkey/common/contextkey.js +11 -11
  89. package/vscode/src/vs/platform/contextkey/common/contextkeys.js +9 -9
  90. package/vscode/src/vs/platform/contextkey/common/scanner.js +5 -5
  91. package/vscode/src/vs/platform/dnd/browser/dnd.js +1 -1
  92. package/vscode/src/vs/platform/extensionManagement/common/extensionManagement.js +2 -2
  93. package/vscode/src/vs/platform/extensionManagement/common/extensionNls.js +1 -1
  94. package/vscode/src/vs/platform/extensionManagement/common/extensionsScannerService.js +7 -7
  95. package/vscode/src/vs/platform/extensions/common/extensionValidator.js +20 -20
  96. package/vscode/src/vs/platform/files/browser/htmlFileSystemProvider.js +2 -2
  97. package/vscode/src/vs/platform/files/common/files.js +6 -6
  98. package/vscode/src/vs/platform/history/browser/contextScopedHistoryWidget.js +1 -1
  99. package/vscode/src/vs/platform/keybinding/common/abstractKeybindingService.js +4 -4
  100. package/vscode/src/vs/platform/list/browser/listService.js +27 -27
  101. package/vscode/src/vs/platform/log/common/log.js +6 -6
  102. package/vscode/src/vs/platform/markers/common/markers.js +6 -6
  103. package/vscode/src/vs/platform/quickinput/browser/quickInput.js +10 -10
  104. package/vscode/src/vs/platform/quickinput/browser/quickInputActions.js +3 -3
  105. package/vscode/src/vs/platform/quickinput/browser/quickInputController.js +6 -6
  106. package/vscode/src/vs/platform/quickinput/browser/quickInputTree.js +1 -1
  107. package/vscode/src/vs/platform/quickinput/browser/quickInputUtils.js +1 -1
  108. package/vscode/src/vs/platform/request/common/request.js +18 -18
  109. package/vscode/src/vs/platform/telemetry/common/telemetryUtils.js +1 -1
  110. package/vscode/src/vs/platform/theme/common/colorUtils.js +2 -2
  111. package/vscode/src/vs/platform/theme/common/colors/baseColors.js +17 -17
  112. package/vscode/src/vs/platform/theme/common/colors/chartsColors.js +8 -8
  113. package/vscode/src/vs/platform/theme/common/colors/editorColors.js +94 -94
  114. package/vscode/src/vs/platform/theme/common/colors/inputColors.js +45 -45
  115. package/vscode/src/vs/platform/theme/common/colors/listColors.js +36 -36
  116. package/vscode/src/vs/platform/theme/common/colors/menuColors.js +7 -7
  117. package/vscode/src/vs/platform/theme/common/colors/minimapColors.js +11 -11
  118. package/vscode/src/vs/platform/theme/common/colors/miscColors.js +15 -15
  119. package/vscode/src/vs/platform/theme/common/colors/quickpickColors.js +9 -9
  120. package/vscode/src/vs/platform/theme/common/colors/searchColors.js +3 -3
  121. package/vscode/src/vs/platform/theme/common/iconRegistry.js +6 -6
  122. package/vscode/src/vs/platform/undoRedo/common/undoRedoService.js +22 -23
  123. package/vscode/src/vs/platform/userDataProfile/common/userDataProfile.js +1 -1
  124. package/vscode/src/vs/platform/userDataSync/common/userDataSync.js +5 -5
  125. package/vscode/src/vs/platform/workspace/common/workspace.js +1 -1
  126. package/vscode/src/vs/workbench/api/common/extHostDiagnostics.js +1 -1
  127. package/vscode/src/vs/workbench/api/common/extHostExtensionService.js +2 -2
  128. package/vscode/src/vs/workbench/api/common/extHostLanguageFeatures.js +2 -2
  129. package/vscode/src/vs/workbench/api/common/extHostLanguageModels.js +1 -1
  130. package/vscode/src/vs/workbench/api/common/extHostLogService.js +1 -1
  131. package/vscode/src/vs/workbench/api/common/extHostNotebook.js +2 -2
  132. package/vscode/src/vs/workbench/api/common/extHostStatusBar.js +2 -2
  133. package/vscode/src/vs/workbench/api/common/extHostTelemetry.js +1 -1
  134. package/vscode/src/vs/workbench/api/common/extHostTerminalService.js +1 -1
  135. package/vscode/src/vs/workbench/api/common/extHostTreeViews.js +1 -1
  136. package/vscode/src/vs/workbench/api/common/extHostTunnelService.js +2 -2
  137. package/vscode/src/vs/workbench/api/common/extHostWorkspace.js +1 -1
  138. package/vscode/src/vs/workbench/api/common/jsonValidationExtensionPoint.js +12 -12
  139. package/vscode/src/vs/workbench/browser/actions/developerActions.js +31 -31
  140. package/vscode/src/vs/workbench/browser/actions/textInputActions.js +6 -6
  141. package/vscode/src/vs/workbench/common/configuration.js +10 -10
  142. package/vscode/src/vs/workbench/common/contextkeys.js +70 -70
  143. package/vscode/src/vs/workbench/common/editor/editorOptions.d.ts +3 -0
  144. package/vscode/src/vs/workbench/common/editor/editorOptions.js +52 -0
  145. package/vscode/src/vs/workbench/common/editor.js +4 -4
  146. package/vscode/src/vs/workbench/common/theme.js +160 -160
  147. package/vscode/src/vs/workbench/common/views.js +4 -4
  148. package/vscode/src/vs/workbench/contrib/accessibility/browser/accessibilityConfiguration.js +141 -141
  149. package/vscode/src/vs/workbench/contrib/accessibility/browser/accessibleViewActions.js +12 -12
  150. package/vscode/src/vs/workbench/contrib/chat/browser/chatEditing/chatEditingEditorContextKeys.js +5 -5
  151. package/vscode/src/vs/workbench/contrib/chat/common/chatContextKeys.js +32 -32
  152. package/vscode/src/vs/workbench/contrib/chat/common/chatEditingService.js +3 -3
  153. package/vscode/src/vs/workbench/contrib/chat/common/languageModels.js +6 -6
  154. package/vscode/src/vs/workbench/contrib/chat/common/tools/editFileTool.js +1 -1
  155. package/vscode/src/vs/workbench/contrib/codeActions/browser/codeActionsContribution.js +13 -13
  156. package/vscode/src/vs/workbench/contrib/codeEditor/browser/dictation/editorDictation.js +4 -4
  157. package/vscode/src/vs/workbench/contrib/codeEditor/browser/diffEditorAccessibilityHelp.js +5 -5
  158. package/vscode/src/vs/workbench/contrib/codeEditor/browser/diffEditorHelper.js +3 -3
  159. package/vscode/src/vs/workbench/contrib/codeEditor/browser/largeFileOptimizations.js +3 -3
  160. package/vscode/src/vs/workbench/contrib/codeEditor/browser/saveParticipants.js +4 -4
  161. package/vscode/src/vs/workbench/contrib/codeEditor/browser/toggleMinimap.js +2 -2
  162. package/vscode/src/vs/workbench/contrib/codeEditor/browser/toggleMultiCursorModifier.js +4 -4
  163. package/vscode/src/vs/workbench/contrib/codeEditor/browser/toggleRenderControlCharacter.js +2 -2
  164. package/vscode/src/vs/workbench/contrib/codeEditor/browser/toggleRenderWhitespace.js +2 -2
  165. package/vscode/src/vs/workbench/contrib/codeEditor/browser/toggleWordWrap.js +5 -5
  166. package/vscode/src/vs/workbench/contrib/comments/browser/commentsAccessibility.js +12 -12
  167. package/vscode/src/vs/workbench/contrib/comments/common/commentContextKeys.js +11 -11
  168. package/vscode/src/vs/workbench/contrib/debug/common/abstractDebugAdapter.js +1 -1
  169. package/vscode/src/vs/workbench/contrib/debug/common/debug.js +64 -64
  170. package/vscode/src/vs/workbench/contrib/files/browser/fileConstants.js +6 -6
  171. package/vscode/src/vs/workbench/contrib/folding/browser/folding.contribution.js +3 -3
  172. package/vscode/src/vs/workbench/contrib/format/browser/formatActionsMultiple.js +20 -20
  173. package/vscode/src/vs/workbench/contrib/format/browser/formatActionsNone.js +4 -4
  174. package/vscode/src/vs/workbench/contrib/format/browser/formatModified.js +1 -1
  175. package/vscode/src/vs/workbench/contrib/inlayHints/browser/inlayHintsAccessibilty.js +4 -4
  176. package/vscode/src/vs/workbench/contrib/list/browser/listResizeColumnAction.js +2 -2
  177. package/vscode/src/vs/workbench/contrib/list/browser/tableColumnResizeQuickPick.js +5 -5
  178. package/vscode/src/vs/workbench/contrib/snippets/browser/snippetCompletionProvider.js +3 -3
  179. package/vscode/src/vs/workbench/contrib/snippets/browser/snippetsFile.js +3 -3
  180. package/vscode/src/vs/workbench/contrib/snippets/browser/snippetsService.js +9 -9
  181. package/vscode/src/vs/workbench/contrib/speech/common/speechService.js +29 -29
  182. package/vscode/src/vs/workbench/contrib/tasks/common/taskDefinitionRegistry.js +5 -5
  183. package/vscode/src/vs/workbench/contrib/tasks/common/tasks.js +4 -4
  184. package/vscode/src/vs/workbench/contrib/testing/common/constants.js +11 -11
  185. package/vscode/src/vs/workbench/contrib/testing/common/testTypes.js +3 -3
  186. package/vscode/src/vs/workbench/services/configurationResolver/common/variableResolver.js +16 -16
  187. package/vscode/src/vs/workbench/services/editor/browser/codeEditorService.d.ts +13 -0
  188. package/vscode/src/vs/workbench/services/editor/browser/codeEditorService.js +87 -0
  189. package/vscode/src/vs/workbench/services/editor/common/editorResolverService.js +1 -1
  190. package/vscode/src/vs/workbench/services/extensions/common/extensionsRegistry.js +83 -83
  191. package/vscode/src/vs/workbench/services/language/common/languageService.js +28 -28
  192. package/vscode/src/vs/workbench/services/log/common/logConstants.js +1 -1
  193. package/vscode/src/vs/workbench/services/remote/common/remoteExplorerService.js +8 -8
  194. package/vscode/src/vs/workbench/services/remote/common/tunnelModel.js +6 -6
  195. package/vscode/src/vs/workbench/services/search/common/queryBuilder.js +1 -1
  196. package/vscode/src/vs/workbench/services/themes/common/colorExtensionPoint.js +22 -22
  197. package/vscode/src/vs/workbench/services/themes/common/iconExtensionPoint.js +13 -13
  198. package/vscode/src/vs/workbench/services/userDataSync/common/userDataSync.js +12 -12
@@ -6,10 +6,10 @@ import { Schemas } from '../../../base/common/network.js';
6
6
  import Severity$1 from '../../../base/common/severity.js';
7
7
  import { localize } from '../../../nls.js';
8
8
  import { IDialogService } from '../../dialogs/common/dialogs.service.js';
9
- import { registerSingleton, InstantiationType } from '../../instantiation/common/extensions.js';
9
+ import '../../instantiation/common/extensions.js';
10
10
  import { INotificationService } from '../../notification/common/notification.service.js';
11
11
  import { UndoRedoElementType, ResourceEditStackSnapshot, UndoRedoGroup, UndoRedoSource } from './undoRedo.js';
12
- import { IUndoRedoService } from './undoRedo.service.js';
12
+ import '../../instantiation/common/instantiation.js';
13
13
 
14
14
  function getResourceLabel(resource) {
15
15
  return resource.scheme === Schemas.file ? resource.fsPath : resource.path;
@@ -66,14 +66,14 @@ class RemovedResources {
66
66
  const messages = [];
67
67
  if (externalRemoval.length > 0) {
68
68
  messages.push(( localize(
69
- 2263,
69
+ 2277,
70
70
  "The following files have been closed and modified on disk: {0}.",
71
71
  externalRemoval.join(', ')
72
72
  )));
73
73
  }
74
74
  if (noParallelUniverses.length > 0) {
75
75
  messages.push(( localize(
76
- 2264,
76
+ 2278,
77
77
  "The following files have been modified in an incompatible way: {0}.",
78
78
  noParallelUniverses.join(', ')
79
79
  )));
@@ -696,7 +696,7 @@ let UndoRedoService = class UndoRedoService {
696
696
  _checkWorkspaceUndo(strResource, element, editStackSnapshot, checkInvalidatedResources) {
697
697
  if (element.removedResources) {
698
698
  return this._tryToSplitAndUndo(strResource, element, element.removedResources, ( localize(
699
- 2265,
699
+ 2279,
700
700
  "Could not undo '{0}' across all files. {1}",
701
701
  element.label,
702
702
  element.removedResources.createMessage()
@@ -704,7 +704,7 @@ let UndoRedoService = class UndoRedoService {
704
704
  }
705
705
  if (checkInvalidatedResources && element.invalidatedResources) {
706
706
  return this._tryToSplitAndUndo(strResource, element, element.invalidatedResources, ( localize(
707
- 2265,
707
+ 2279,
708
708
  "Could not undo '{0}' across all files. {1}",
709
709
  element.label,
710
710
  element.invalidatedResources.createMessage()
@@ -718,7 +718,7 @@ let UndoRedoService = class UndoRedoService {
718
718
  }
719
719
  if (cannotUndoDueToResources.length > 0) {
720
720
  return this._tryToSplitAndUndo(strResource, element, null, ( localize(
721
- 2266,
721
+ 2280,
722
722
  "Could not undo '{0}' across all files because changes were made to {1}",
723
723
  element.label,
724
724
  cannotUndoDueToResources.join(', ')
@@ -732,7 +732,7 @@ let UndoRedoService = class UndoRedoService {
732
732
  }
733
733
  if (cannotLockDueToResources.length > 0) {
734
734
  return this._tryToSplitAndUndo(strResource, element, null, ( localize(
735
- 2267,
735
+ 2281,
736
736
  "Could not undo '{0}' across all files because there is already an undo or redo operation running on {1}",
737
737
  element.label,
738
738
  cannotLockDueToResources.join(', ')
@@ -740,7 +740,7 @@ let UndoRedoService = class UndoRedoService {
740
740
  }
741
741
  if (!editStackSnapshot.isValid()) {
742
742
  return this._tryToSplitAndUndo(strResource, element, null, ( localize(
743
- 2268,
743
+ 2282,
744
744
  "Could not undo '{0}' across all files because an undo or redo operation occurred in the meantime",
745
745
  element.label
746
746
  )));
@@ -786,14 +786,14 @@ let UndoRedoService = class UndoRedoService {
786
786
  })(UndoChoice || (UndoChoice = {}));
787
787
  const { result } = await this._dialogService.prompt({
788
788
  type: Severity$1.Info,
789
- message: ( localize(2269, "Would you like to undo '{0}' across all files?", element.label)),
789
+ message: ( localize(2283, "Would you like to undo '{0}' across all files?", element.label)),
790
790
  buttons: [
791
791
  {
792
- label: ( localize(2270, "&&Undo in {0} Files", editStackSnapshot.editStacks.length)),
792
+ label: ( localize(2284, "&&Undo in {0} Files", editStackSnapshot.editStacks.length)),
793
793
  run: () => UndoChoice.All
794
794
  },
795
795
  {
796
- label: ( localize(2271, "Undo this &&File")),
796
+ label: ( localize(2285, "Undo this &&File")),
797
797
  run: () => UndoChoice.This
798
798
  }
799
799
  ],
@@ -838,7 +838,7 @@ let UndoRedoService = class UndoRedoService {
838
838
  }
839
839
  if (editStack.locked) {
840
840
  const message = ( localize(
841
- 2272,
841
+ 2286,
842
842
  "Could not undo '{0}' because there is already an undo or redo operation running.",
843
843
  element.label
844
844
  ));
@@ -921,9 +921,9 @@ let UndoRedoService = class UndoRedoService {
921
921
  }
922
922
  async _confirmAndContinueUndo(strResource, sourceId, element) {
923
923
  const result = await this._dialogService.confirm({
924
- message: ( localize(2273, "Would you like to undo '{0}'?", element.label)),
925
- primaryButton: ( localize(2274, "&&Yes")),
926
- cancelButton: ( localize(2275, "No"))
924
+ message: ( localize(2287, "Would you like to undo '{0}'?", element.label)),
925
+ primaryButton: ( localize(2288, "&&Yes")),
926
+ cancelButton: ( localize(2289, "No"))
927
927
  });
928
928
  if (!result.confirmed) {
929
929
  return;
@@ -979,7 +979,7 @@ let UndoRedoService = class UndoRedoService {
979
979
  _checkWorkspaceRedo(strResource, element, editStackSnapshot, checkInvalidatedResources) {
980
980
  if (element.removedResources) {
981
981
  return this._tryToSplitAndRedo(strResource, element, element.removedResources, ( localize(
982
- 2276,
982
+ 2290,
983
983
  "Could not redo '{0}' across all files. {1}",
984
984
  element.label,
985
985
  element.removedResources.createMessage()
@@ -987,7 +987,7 @@ let UndoRedoService = class UndoRedoService {
987
987
  }
988
988
  if (checkInvalidatedResources && element.invalidatedResources) {
989
989
  return this._tryToSplitAndRedo(strResource, element, element.invalidatedResources, ( localize(
990
- 2276,
990
+ 2290,
991
991
  "Could not redo '{0}' across all files. {1}",
992
992
  element.label,
993
993
  element.invalidatedResources.createMessage()
@@ -1001,7 +1001,7 @@ let UndoRedoService = class UndoRedoService {
1001
1001
  }
1002
1002
  if (cannotRedoDueToResources.length > 0) {
1003
1003
  return this._tryToSplitAndRedo(strResource, element, null, ( localize(
1004
- 2277,
1004
+ 2291,
1005
1005
  "Could not redo '{0}' across all files because changes were made to {1}",
1006
1006
  element.label,
1007
1007
  cannotRedoDueToResources.join(', ')
@@ -1015,7 +1015,7 @@ let UndoRedoService = class UndoRedoService {
1015
1015
  }
1016
1016
  if (cannotLockDueToResources.length > 0) {
1017
1017
  return this._tryToSplitAndRedo(strResource, element, null, ( localize(
1018
- 2278,
1018
+ 2292,
1019
1019
  "Could not redo '{0}' across all files because there is already an undo or redo operation running on {1}",
1020
1020
  element.label,
1021
1021
  cannotLockDueToResources.join(', ')
@@ -1023,7 +1023,7 @@ let UndoRedoService = class UndoRedoService {
1023
1023
  }
1024
1024
  if (!editStackSnapshot.isValid()) {
1025
1025
  return this._tryToSplitAndRedo(strResource, element, null, ( localize(
1026
- 2279,
1026
+ 2293,
1027
1027
  "Could not redo '{0}' across all files because an undo or redo operation occurred in the meantime",
1028
1028
  element.label
1029
1029
  )));
@@ -1063,7 +1063,7 @@ let UndoRedoService = class UndoRedoService {
1063
1063
  }
1064
1064
  if (editStack.locked) {
1065
1065
  const message = ( localize(
1066
- 2280,
1066
+ 2294,
1067
1067
  "Could not redo '{0}' because there is already an undo or redo operation running.",
1068
1068
  element.label
1069
1069
  ));
@@ -1150,6 +1150,5 @@ class WorkspaceVerificationError {
1150
1150
  this.returnValue = returnValue;
1151
1151
  }
1152
1152
  }
1153
- registerSingleton(IUndoRedoService, UndoRedoService, InstantiationType.Delayed);
1154
1153
 
1155
1154
  export { UndoRedoService };
@@ -161,7 +161,7 @@ let UserDataProfilesService = class UserDataProfilesService extends Disposable {
161
161
  return this._profilesObject;
162
162
  }
163
163
  createDefaultProfile() {
164
- const defaultProfile = toUserDataProfile('__default__profile__', ( localize(2291, "Default")), this.environmentService.userRoamingDataHome, this.profilesCacheHome);
164
+ const defaultProfile = toUserDataProfile('__default__profile__', ( localize(2305, "Default")), this.environmentService.userRoamingDataHome, this.profilesCacheHome);
165
165
  return { ...defaultProfile, extensionsResource: this.getDefaultProfileExtensionsLocation() ?? defaultProfile.extensionsResource, isDefault: true };
166
166
  }
167
167
  async createTransientProfile(workspaceIdentifier) {
@@ -51,12 +51,12 @@ function registerConfiguration() {
51
51
  configurationRegistry.registerConfiguration({
52
52
  id: 'settingsSync',
53
53
  order: 30,
54
- title: ( localize(2301, "Settings Sync")),
54
+ title: ( localize(2315, "Settings Sync")),
55
55
  type: 'object',
56
56
  properties: {
57
57
  [CONFIG_SYNC_KEYBINDINGS_PER_PLATFORM]: {
58
58
  type: 'boolean',
59
- description: ( localize(2302, "Synchronize keybindings for each platform.")),
59
+ description: ( localize(2316, "Synchronize keybindings for each platform.")),
60
60
  default: true,
61
61
  scope: ConfigurationScope.APPLICATION,
62
62
  tags: ['sync', 'usesOnlineServices']
@@ -64,13 +64,13 @@ function registerConfiguration() {
64
64
  'settingsSync.ignoredExtensions': {
65
65
  'type': 'array',
66
66
  markdownDescription: ( localize(
67
- 2303,
67
+ 2317,
68
68
  "List of extensions to be ignored while synchronizing. The identifier of an extension is always `${publisher}.${name}`. For example: `vscode.csharp`."
69
69
  )),
70
70
  items: [{
71
71
  type: 'string',
72
72
  pattern: EXTENSION_IDENTIFIER_PATTERN,
73
- errorMessage: ( localize(2304, "Expected format '${publisher}.${name}'. Example: 'vscode.csharp'."))
73
+ errorMessage: ( localize(2318, "Expected format '${publisher}.${name}'. Example: 'vscode.csharp'."))
74
74
  }],
75
75
  'default': [],
76
76
  'scope': ConfigurationScope.APPLICATION,
@@ -80,7 +80,7 @@ function registerConfiguration() {
80
80
  },
81
81
  'settingsSync.ignoredSettings': {
82
82
  'type': 'array',
83
- description: ( localize(2305, "Configure settings to be ignored while synchronizing.")),
83
+ description: ( localize(2319, "Configure settings to be ignored while synchronizing.")),
84
84
  'default': [],
85
85
  'scope': ConfigurationScope.APPLICATION,
86
86
  $ref: ignoredSettingsSchemaId,
@@ -140,7 +140,7 @@ function toWorkspaceFolder(resource) {
140
140
  }
141
141
  const WORKSPACE_EXTENSION = 'code-workspace';
142
142
  const WORKSPACE_SUFFIX = `.${WORKSPACE_EXTENSION}`;
143
- const WORKSPACE_FILTER = [{ name: ( localize(2309, "Code Workspace")), extensions: [WORKSPACE_EXTENSION] }];
143
+ const WORKSPACE_FILTER = [{ name: ( localize(2323, "Code Workspace")), extensions: [WORKSPACE_EXTENSION] }];
144
144
  const UNTITLED_WORKSPACE_NAME = 'workspace.json';
145
145
  function isUntitledWorkspace(path, environmentService) {
146
146
  return extUriBiasedIgnorePathCase.isEqualOrParent(path, environmentService.untitledWorkspacesHome);
@@ -107,7 +107,7 @@ class DiagnosticCollection {
107
107
  marker.push({
108
108
  severity: MarkerSeverity.Info,
109
109
  message: ( localize(
110
- 2483,
110
+ 2497,
111
111
  "Not showing {0} further errors and warnings.",
112
112
  diagnostics.length - this._maxDiagnosticsPerFile
113
113
  )),
@@ -538,12 +538,12 @@ let AbstractExtHostExtensionService = AbstractExtHostExtensionService_1 = class
538
538
  async _doHandleExtensionTests() {
539
539
  const { extensionDevelopmentLocationURI, extensionTestsLocationURI } = this._initData.environment;
540
540
  if (!extensionDevelopmentLocationURI || !extensionTestsLocationURI) {
541
- throw ( new Error(( localize(2484, "Cannot load test runner."))));
541
+ throw ( new Error(( localize(2498, "Cannot load test runner."))));
542
542
  }
543
543
  const testRunner = await this._loadCommonJSModule(null, extensionTestsLocationURI, ( new ExtensionActivationTimesBuilder(false)));
544
544
  if (!testRunner || typeof testRunner.run !== 'function') {
545
545
  throw ( new Error(( localize(
546
- 2485,
546
+ 2499,
547
547
  "Path {0} does not point to a valid extension test runner.",
548
548
  (extensionTestsLocationURI.toString())
549
549
  ))));
@@ -541,7 +541,7 @@ class DocumentPasteEditProvider {
541
541
  return (edits.map((edit, i) => ({
542
542
  _cacheId: [cacheId, i],
543
543
  title: edit.title ?? ( localize(
544
- 2486,
544
+ 2500,
545
545
  "Paste using '{0}' extension",
546
546
  this._extension.displayName || this._extension.name
547
547
  )),
@@ -1804,7 +1804,7 @@ class DocumentDropEditAdapter {
1804
1804
  return (editsArray.map((edit, i) => ({
1805
1805
  _cacheId: [cacheId, i],
1806
1806
  title: edit.title ?? ( localize(
1807
- 2487,
1807
+ 2501,
1808
1808
  "Drop using '{0}' extension",
1809
1809
  this._extension.displayName || this._extension.name
1810
1810
  )),
@@ -343,7 +343,7 @@ let ExtHostLanguageModels = class ExtHostLanguageModels {
343
343
  }
344
344
  try {
345
345
  const detail = justification
346
- ? ( localize(2488, "Justification: {1}", to.displayName, justification))
346
+ ? ( localize(2502, "Justification: {1}", to.displayName, justification))
347
347
  : undefined;
348
348
  await this._extHostAuthentication.getSession(from, providerId, [], { forceNewSession: { detail } });
349
349
  this.$updateModelAccesslist([{ from: from.identifier, to: to.identifier, enabled: true }]);
@@ -8,7 +8,7 @@ import { IExtHostInitDataService } from './extHostInitDataService.js';
8
8
  let ExtHostLogService = class ExtHostLogService extends LogService {
9
9
  constructor(isWorker, loggerService, initData) {
10
10
  const id = initData.remote.isRemote ? 'remoteexthost' : isWorker ? 'workerexthost' : 'exthost';
11
- const name = initData.remote.isRemote ? ( localize(2489, "Extension Host (Remote)")) : isWorker ? ( localize(2490, "Extension Host (Worker)")) : ( localize(2491, "Extension Host"));
11
+ const name = initData.remote.isRemote ? ( localize(2503, "Extension Host (Remote)")) : isWorker ? ( localize(2504, "Extension Host (Worker)")) : ( localize(2505, "Extension Host"));
12
12
  super(loggerService.createLogger(id, { name }));
13
13
  }
14
14
  };
@@ -260,7 +260,7 @@ class ExtHostNotebookController {
260
260
  throw ( new Error('Document version mismatch'));
261
261
  }
262
262
  if (!this._extHostFileSystem.value.isWritableFileSystem(uri.scheme)) {
263
- throw new FileOperationError(( localize(2492, "Unable to modify read-only file '{0}'", this._resourceForError(uri))), FileOperationResult.FILE_PERMISSION_DENIED);
263
+ throw new FileOperationError(( localize(2506, "Unable to modify read-only file '{0}'", this._resourceForError(uri))), FileOperationResult.FILE_PERMISSION_DENIED);
264
264
  }
265
265
  const data = {
266
266
  metadata: filter(document.apiNotebook.metadata, key => !(serializer.options?.transientDocumentMetadata ?? {})[key]),
@@ -432,7 +432,7 @@ class ExtHostNotebookController {
432
432
  if (typeof options?.mtime === 'number' && typeof options.etag === 'string' && options.etag !== ETAG_DISABLED &&
433
433
  typeof stat.mtime === 'number' && typeof stat.size === 'number' &&
434
434
  options.mtime < stat.mtime && options.etag !== etag({ mtime: options.mtime , size: stat.size })) {
435
- throw new FileOperationError(( localize(2493, "File Modified Since")), FileOperationResult.FILE_MODIFIED_SINCE, options);
435
+ throw new FileOperationError(( localize(2507, "File Modified Since")), FileOperationResult.FILE_MODIFIED_SINCE, options);
436
436
  }
437
437
  return;
438
438
  }
@@ -188,7 +188,7 @@ class ExtHostStatusBarEntry {
188
188
  }
189
189
  else {
190
190
  name = ( localize(
191
- 2494,
191
+ 2508,
192
192
  "{0} (Extension)",
193
193
  this._extension.displayName || this._extension.name
194
194
  ));
@@ -221,7 +221,7 @@ class StatusBarMessage {
221
221
  constructor(statusBar) {
222
222
  this._messages = [];
223
223
  this._item = statusBar.createStatusBarEntry(undefined, 'status.extensionMessage', StatusBarAlignment.Left, Number.MIN_VALUE);
224
- this._item.name = ( localize(2495, "Extension Status"));
224
+ this._item.name = ( localize(2509, "Extension Status"));
225
225
  }
226
226
  dispose() {
227
227
  this._messages.length = 0;
@@ -28,7 +28,7 @@ let ExtHostTelemetry = class ExtHostTelemetry extends Disposable {
28
28
  const id = initData.remote.isRemote ? 'remoteExtHostTelemetry' : isWorker ? 'workerExtHostTelemetry' : 'extHostTelemetry';
29
29
  this._outputLogger = this._register(loggerService.createLogger(id, {
30
30
  name: ( localize(
31
- 2496,
31
+ 2510,
32
32
  "Extension Telemetry{0}",
33
33
  this._inLoggingOnlyMode ? ' (Not Sent)' : ''
34
34
  )),
@@ -524,7 +524,7 @@ let BaseExtHostTerminalService = class BaseExtHostTerminalService extends Dispos
524
524
  async $startExtensionTerminal(id, initialDimensions) {
525
525
  const terminal = this.getTerminalById(id);
526
526
  if (!terminal) {
527
- return { message: ( localize(2497, "Could not find the terminal with id {0} on the extension host", id)) };
527
+ return { message: ( localize(2511, "Could not find the terminal with id {0} on the extension host", id)) };
528
528
  }
529
529
  if (!terminal.isOpen) {
530
530
  await ( new Promise(r => {
@@ -670,7 +670,7 @@ class ExtHostTreeView extends Disposable {
670
670
  createAndRegisterTreeNode(element, extTreeItem, parentNode) {
671
671
  const node = this.createTreeNode(element, extTreeItem, parentNode);
672
672
  if (extTreeItem.id && ( this.elements.has(node.item.handle))) {
673
- throw ( new Error(( localize(2498, 'Element with id {0} is already registered', extTreeItem.id))));
673
+ throw ( new Error(( localize(2512, 'Element with id {0} is already registered', extTreeItem.id))));
674
674
  }
675
675
  this.addNodeToCache(element, node);
676
676
  this.addNodeToParentCache(node, parentNode);
@@ -148,12 +148,12 @@ let ExtHostTunnelService = class ExtHostTunnelService extends Disposable {
148
148
  privacyOptions = [
149
149
  {
150
150
  id: 'private',
151
- label: ( localize(2499, "Private")),
151
+ label: ( localize(2513, "Private")),
152
152
  themeIcon: 'lock'
153
153
  },
154
154
  {
155
155
  id: 'public',
156
- label: ( localize(2500, "Public")),
156
+ label: ( localize(2514, "Public")),
157
157
  themeIcon: 'eye'
158
158
  }
159
159
  ];
@@ -246,7 +246,7 @@ let ExtHostWorkspace = class ExtHostWorkspace {
246
246
  this._unconfirmedWorkspace = undefined;
247
247
  const options = { source: { identifier: extension.identifier, label: extension.displayName || extension.name } };
248
248
  this._messageService.$showMessage(Severity$1.Error, ( localize(
249
- 2501,
249
+ 2515,
250
250
  "Extension '{0}' failed to update workspace folders: {1}",
251
251
  extName,
252
252
  (error.toString())
@@ -16,7 +16,7 @@ const configurationExtPoint = ExtensionsRegistry.registerExtensionPoint({
16
16
  extensionPoint: 'jsonValidation',
17
17
  defaultExtensionKind: ['workspace', 'web'],
18
18
  jsonSchema: {
19
- description: ( localize(2502, 'Contributes json schema configuration.')),
19
+ description: ( localize(2516, 'Contributes json schema configuration.')),
20
20
  type: 'array',
21
21
  defaultSnippets: [{ body: [{ fileMatch: '${1:file.json}', url: '${2:url}' }] }],
22
22
  items: {
@@ -26,7 +26,7 @@ const configurationExtPoint = ExtensionsRegistry.registerExtensionPoint({
26
26
  fileMatch: {
27
27
  type: ['string', 'array'],
28
28
  description: ( localize(
29
- 2503,
29
+ 2517,
30
30
  'The file pattern (or an array of patterns) to match, for example "package.json" or "*.launch". Exclusion patterns start with \'!\''
31
31
  )),
32
32
  items: {
@@ -35,7 +35,7 @@ const configurationExtPoint = ExtensionsRegistry.registerExtensionPoint({
35
35
  },
36
36
  url: {
37
37
  description: ( localize(
38
- 2504,
38
+ 2518,
39
39
  'A schema URL (\'http:\', \'https:\') or relative path to the extension folder (\'./\').'
40
40
  )),
41
41
  type: 'string'
@@ -52,20 +52,20 @@ class JSONValidationExtensionPoint {
52
52
  const collector = extension.collector;
53
53
  const extensionLocation = extension.description.extensionLocation;
54
54
  if (!extensionValue || !Array.isArray(extensionValue)) {
55
- collector.error(( localize(2505, "'configuration.jsonValidation' must be a array")));
55
+ collector.error(( localize(2519, "'configuration.jsonValidation' must be a array")));
56
56
  return;
57
57
  }
58
58
  extensionValue.forEach(extension => {
59
59
  if (!isString(extension.fileMatch) && !(Array.isArray(extension.fileMatch) && extension.fileMatch.every(isString))) {
60
60
  collector.error(( localize(
61
- 2506,
61
+ 2520,
62
62
  "'configuration.jsonValidation.fileMatch' must be defined as a string or an array of strings."
63
63
  )));
64
64
  return;
65
65
  }
66
66
  const uri = extension.url;
67
67
  if (!isString(uri)) {
68
- collector.error(( localize(2507, "'configuration.jsonValidation.url' must be a URL or relative path")));
68
+ collector.error(( localize(2521, "'configuration.jsonValidation.url' must be a URL or relative path")));
69
69
  return;
70
70
  }
71
71
  if (uri.startsWith('./')) {
@@ -73,7 +73,7 @@ class JSONValidationExtensionPoint {
73
73
  const colorThemeLocation = joinPath(extensionLocation, uri);
74
74
  if (!isEqualOrParent(colorThemeLocation, extensionLocation)) {
75
75
  collector.warn(( localize(
76
- 2508,
76
+ 2522,
77
77
  "Expected `contributes.{0}.url` ({1}) to be included inside extension's folder ({2}). This might make the extension non-portable.",
78
78
  configurationExtPoint.name,
79
79
  (colorThemeLocation.toString()),
@@ -83,7 +83,7 @@ class JSONValidationExtensionPoint {
83
83
  }
84
84
  catch (e) {
85
85
  collector.error(( localize(
86
- 2509,
86
+ 2523,
87
87
  "'configuration.jsonValidation.url' is an invalid relative URL: {0}",
88
88
  e.message
89
89
  )));
@@ -91,7 +91,7 @@ class JSONValidationExtensionPoint {
91
91
  }
92
92
  else if (!/^[^:/?#]+:\/\//.test(uri)) {
93
93
  collector.error(( localize(
94
- 2510,
94
+ 2524,
95
95
  "'configuration.jsonValidation.url' must be an absolute URL or start with './' to reference schemas located in the extension."
96
96
  )));
97
97
  return;
@@ -115,8 +115,8 @@ class JSONValidationDataRenderer extends Disposable {
115
115
  return { data: { headers: [], rows: [] }, dispose: () => { } };
116
116
  }
117
117
  const headers = [
118
- ( localize(2511, "File Match")),
119
- ( localize(2512, "Schema")),
118
+ ( localize(2525, "File Match")),
119
+ ( localize(2526, "Schema")),
120
120
  ];
121
121
  const rows = ( contrib.map(v => {
122
122
  return [
@@ -135,7 +135,7 @@ class JSONValidationDataRenderer extends Disposable {
135
135
  }
136
136
  ( Registry.as(Extensions.ExtensionFeaturesRegistry)).registerExtensionFeature({
137
137
  id: 'jsonValidation',
138
- label: ( localize(2513, "JSON Validation")),
138
+ label: ( localize(2527, "JSON Validation")),
139
139
  access: {
140
140
  canToggle: false
141
141
  },