monaco-editor-core 0.56.0-dev-20260121 → 0.56.0-dev-20260123

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 (230) hide show
  1. package/esm/nls.keys.json +1 -1
  2. package/esm/nls.messages.cs.js +2 -2
  3. package/esm/nls.messages.de.js +2 -2
  4. package/esm/nls.messages.es.js +2 -2
  5. package/esm/nls.messages.fr.js +2 -2
  6. package/esm/nls.messages.it.js +2 -2
  7. package/esm/nls.messages.ja.js +2 -2
  8. package/esm/nls.messages.js +1 -1
  9. package/esm/nls.messages.json +1 -1
  10. package/esm/nls.messages.ko.js +2 -2
  11. package/esm/nls.messages.pl.js +2 -2
  12. package/esm/nls.messages.pt-br.js +2 -2
  13. package/esm/nls.messages.ru.js +2 -2
  14. package/esm/nls.messages.tr.js +2 -2
  15. package/esm/nls.messages.zh-cn.js +2 -2
  16. package/esm/nls.messages.zh-tw.js +2 -2
  17. package/esm/nls.metadata.json +6 -2
  18. package/esm/vs/base/browser/markdownRenderer.js +0 -1
  19. package/esm/vs/base/browser/markdownRenderer.js.map +1 -1
  20. package/esm/vs/base/browser/ui/codicons/codicon/codicon.ttf +0 -0
  21. package/esm/vs/base/browser/ui/tree/abstractTree.js +15 -1
  22. package/esm/vs/base/browser/ui/tree/abstractTree.js.map +1 -1
  23. package/esm/vs/base/common/actions.js +1 -1
  24. package/esm/vs/base/common/codiconsLibrary.js +2 -0
  25. package/esm/vs/base/common/codiconsLibrary.js.map +1 -1
  26. package/esm/vs/base/common/errorMessage.js +6 -6
  27. package/esm/vs/base/common/keybindingLabels.js +20 -20
  28. package/esm/vs/base/common/network.js +0 -2
  29. package/esm/vs/base/common/network.js.map +1 -1
  30. package/esm/vs/base/common/observableInternal/observables/derivedImpl.js +10 -4
  31. package/esm/vs/base/common/observableInternal/observables/derivedImpl.js.map +1 -1
  32. package/esm/vs/base/common/policy.js +5 -5
  33. package/esm/vs/editor/browser/controller/editContext/native/screenReaderSupport.js +1 -1
  34. package/esm/vs/editor/browser/controller/editContext/screenReaderUtils.js +4 -4
  35. package/esm/vs/editor/browser/controller/editContext/textArea/textAreaEditContext.js +1 -1
  36. package/esm/vs/editor/browser/coreCommands.js +3 -3
  37. package/esm/vs/editor/browser/editorBrowser.js.map +1 -1
  38. package/esm/vs/editor/browser/editorExtensions.js +9 -9
  39. package/esm/vs/editor/browser/gpu/viewGpuContext.js +1 -1
  40. package/esm/vs/editor/browser/observableCodeEditor.js +41 -0
  41. package/esm/vs/editor/browser/observableCodeEditor.js.map +1 -1
  42. package/esm/vs/editor/browser/services/inlineCompletionsService.js +4 -4
  43. package/esm/vs/editor/browser/services/renameSymbolTrackerService.js +15 -0
  44. package/esm/vs/editor/browser/services/renameSymbolTrackerService.js.map +1 -0
  45. package/esm/vs/editor/browser/view.js +3 -0
  46. package/esm/vs/editor/browser/view.js.map +1 -1
  47. package/esm/vs/editor/browser/viewParts/viewLines/viewLine.js +14 -0
  48. package/esm/vs/editor/browser/viewParts/viewLines/viewLine.js.map +1 -1
  49. package/esm/vs/editor/browser/viewParts/viewLines/viewLines.js +7 -0
  50. package/esm/vs/editor/browser/viewParts/viewLines/viewLines.js.map +1 -1
  51. package/esm/vs/editor/browser/widget/codeEditor/codeEditorWidget.js +8 -2
  52. package/esm/vs/editor/browser/widget/codeEditor/codeEditorWidget.js.map +1 -1
  53. package/esm/vs/editor/browser/widget/diffEditor/commands.js +12 -12
  54. package/esm/vs/editor/browser/widget/diffEditor/components/accessibleDiffViewer.js +14 -14
  55. package/esm/vs/editor/browser/widget/diffEditor/components/accessibleDiffViewer.js.map +1 -1
  56. package/esm/vs/editor/browser/widget/diffEditor/components/diffEditorEditors.js +1 -1
  57. package/esm/vs/editor/browser/widget/diffEditor/components/diffEditorViewZones/inlineDiffDeletedCodeMargin.js +7 -7
  58. package/esm/vs/editor/browser/widget/diffEditor/diffEditor.contribution.js +5 -5
  59. package/esm/vs/editor/browser/widget/diffEditor/features/hideUnchangedRegionsFeature.js +7 -7
  60. package/esm/vs/editor/browser/widget/diffEditor/features/movedBlocksLinesFeature.js +2 -2
  61. package/esm/vs/editor/browser/widget/diffEditor/features/revertButtonsFeature.js +2 -2
  62. package/esm/vs/editor/browser/widget/diffEditor/registrations.contribution.js +5 -5
  63. package/esm/vs/editor/browser/widget/multiDiffEditor/colors.js +3 -3
  64. package/esm/vs/editor/browser/widget/multiDiffEditor/multiDiffEditorWidgetImpl.js +2 -2
  65. package/esm/vs/editor/browser/widget/multiDiffEditor/style.css +2 -41
  66. package/esm/vs/editor/common/config/editorConfigurationSchema.js +55 -55
  67. package/esm/vs/editor/common/config/editorOptions.js +410 -410
  68. package/esm/vs/editor/common/core/editorColorRegistry.js +70 -70
  69. package/esm/vs/editor/common/editorContextKeys.js +48 -48
  70. package/esm/vs/editor/common/languages/modesRegistry.js +1 -1
  71. package/esm/vs/editor/common/languages.js +56 -56
  72. package/esm/vs/editor/common/model/editStack.js +1 -1
  73. package/esm/vs/editor/common/standaloneStrings.js +11 -11
  74. package/esm/vs/editor/common/viewLayout/viewLineRenderer.js +2 -2
  75. package/esm/vs/editor/contrib/anchorSelect/browser/anchorSelect.js +6 -6
  76. package/esm/vs/editor/contrib/bracketMatching/browser/bracketMatching.js +6 -6
  77. package/esm/vs/editor/contrib/caretOperations/browser/caretOperations.js +2 -2
  78. package/esm/vs/editor/contrib/caretOperations/browser/transpose.js +1 -1
  79. package/esm/vs/editor/contrib/clipboard/browser/clipboard.js +17 -17
  80. package/esm/vs/editor/contrib/codeAction/browser/codeAction.js +1 -1
  81. package/esm/vs/editor/contrib/codeAction/browser/codeActionCommands.js +44 -34
  82. package/esm/vs/editor/contrib/codeAction/browser/codeActionCommands.js.map +1 -1
  83. package/esm/vs/editor/contrib/codeAction/browser/codeActionContributions.js +5 -4
  84. package/esm/vs/editor/contrib/codeAction/browser/codeActionContributions.js.map +1 -1
  85. package/esm/vs/editor/contrib/codeAction/browser/codeActionController.js +3 -3
  86. package/esm/vs/editor/contrib/codeAction/browser/codeActionMenu.js +8 -8
  87. package/esm/vs/editor/contrib/codeAction/browser/lightBulbWidget.js +9 -9
  88. package/esm/vs/editor/contrib/codelens/browser/codelensController.js +2 -2
  89. package/esm/vs/editor/contrib/colorPicker/browser/colorPickerParts/colorPickerCloseButton.js +1 -1
  90. package/esm/vs/editor/contrib/colorPicker/browser/colorPickerParts/colorPickerHeader.js +1 -1
  91. package/esm/vs/editor/contrib/colorPicker/browser/hoverColorPicker/hoverColorPickerParticipant.js +1 -1
  92. package/esm/vs/editor/contrib/colorPicker/browser/standaloneColorPicker/standaloneColorPickerActions.js +7 -7
  93. package/esm/vs/editor/contrib/comment/browser/comment.js +6 -6
  94. package/esm/vs/editor/contrib/contextmenu/browser/contextmenu.js +10 -10
  95. package/esm/vs/editor/contrib/cursorUndo/browser/cursorUndo.js +2 -2
  96. package/esm/vs/editor/contrib/dropOrPasteInto/browser/copyPasteContribution.js +4 -4
  97. package/esm/vs/editor/contrib/dropOrPasteInto/browser/copyPasteController.js +9 -9
  98. package/esm/vs/editor/contrib/dropOrPasteInto/browser/defaultProviders.js +8 -8
  99. package/esm/vs/editor/contrib/dropOrPasteInto/browser/dropIntoEditorController.js +3 -3
  100. package/esm/vs/editor/contrib/dropOrPasteInto/browser/postEditWidget.js +2 -2
  101. package/esm/vs/editor/contrib/editorState/browser/keybindingCancellation.js +1 -1
  102. package/esm/vs/editor/contrib/find/browser/findController.js +16 -16
  103. package/esm/vs/editor/contrib/find/browser/findWidget.css +5 -6
  104. package/esm/vs/editor/contrib/find/browser/findWidget.js +26 -26
  105. package/esm/vs/editor/contrib/floatingMenu/browser/floatingMenu.css +2 -1
  106. package/esm/vs/editor/contrib/floatingMenu/browser/floatingMenu.js +54 -45
  107. package/esm/vs/editor/contrib/floatingMenu/browser/floatingMenu.js.map +1 -1
  108. package/esm/vs/editor/contrib/folding/browser/folding.js +20 -20
  109. package/esm/vs/editor/contrib/folding/browser/folding.js.map +1 -1
  110. package/esm/vs/editor/contrib/folding/browser/foldingDecorations.js +9 -9
  111. package/esm/vs/editor/contrib/fontZoom/browser/fontZoom.js +3 -3
  112. package/esm/vs/editor/contrib/format/browser/formatActions.js +2 -2
  113. package/esm/vs/editor/contrib/gotoError/browser/gotoError.js +8 -8
  114. package/esm/vs/editor/contrib/gotoError/browser/gotoErrorWidget.js +14 -14
  115. package/esm/vs/editor/contrib/gotoSymbol/browser/goToCommands.js +39 -39
  116. package/esm/vs/editor/contrib/gotoSymbol/browser/link/goToDefinitionAtPosition.js +1 -1
  117. package/esm/vs/editor/contrib/gotoSymbol/browser/peek/referencesController.js +3 -3
  118. package/esm/vs/editor/contrib/gotoSymbol/browser/peek/referencesTree.js +3 -3
  119. package/esm/vs/editor/contrib/gotoSymbol/browser/peek/referencesWidget.js +3 -3
  120. package/esm/vs/editor/contrib/gotoSymbol/browser/referencesModel.js +8 -8
  121. package/esm/vs/editor/contrib/gotoSymbol/browser/symbolNavigation.js +3 -3
  122. package/esm/vs/editor/contrib/gpu/browser/gpuActions.js +4 -4
  123. package/esm/vs/editor/contrib/hover/browser/hoverActionIds.js +2 -2
  124. package/esm/vs/editor/contrib/hover/browser/hoverActions.js +24 -24
  125. package/esm/vs/editor/contrib/hover/browser/hoverCopyButton.js +2 -2
  126. package/esm/vs/editor/contrib/hover/browser/markdownHoverParticipant.js +7 -7
  127. package/esm/vs/editor/contrib/hover/browser/markerHoverParticipant.js +5 -5
  128. package/esm/vs/editor/contrib/inPlaceReplace/browser/inPlaceReplace.js +2 -2
  129. package/esm/vs/editor/contrib/indentation/browser/indentation.js +20 -20
  130. package/esm/vs/editor/contrib/inlayHints/browser/inlayHintsHover.js +8 -8
  131. package/esm/vs/editor/contrib/inlineCompletions/browser/controller/commands.js +21 -21
  132. package/esm/vs/editor/contrib/inlineCompletions/browser/controller/inlineCompletionContextKeys.js +13 -13
  133. package/esm/vs/editor/contrib/inlineCompletions/browser/controller/inlineCompletionsController.js +1 -1
  134. package/esm/vs/editor/contrib/inlineCompletions/browser/hintsWidget/hoverParticipant.js +2 -2
  135. package/esm/vs/editor/contrib/inlineCompletions/browser/hintsWidget/inlineCompletionsHintsWidget.js +4 -4
  136. package/esm/vs/editor/contrib/inlineCompletions/browser/model/renameSymbolProcessor.js +107 -18
  137. package/esm/vs/editor/contrib/inlineCompletions/browser/model/renameSymbolProcessor.js.map +1 -1
  138. package/esm/vs/editor/contrib/inlineCompletions/browser/view/inlineEdits/components/gutterIndicatorMenu.js +6 -6
  139. package/esm/vs/editor/contrib/inlineCompletions/browser/view/inlineEdits/components/gutterIndicatorView.js +1 -1
  140. package/esm/vs/editor/contrib/inlineCompletions/browser/view/inlineEdits/components/gutterIndicatorView.js.map +1 -1
  141. package/esm/vs/editor/contrib/inlineCompletions/browser/view/inlineEdits/inlineEditsViews/inlineEditsWordReplacementView.js +3 -3
  142. package/esm/vs/editor/contrib/inlineCompletions/browser/view/inlineEdits/theme.js +20 -20
  143. package/esm/vs/editor/contrib/inlineCompletions/browser/view/inlineEdits/utils/utils.js +2 -8
  144. package/esm/vs/editor/contrib/inlineCompletions/browser/view/inlineEdits/utils/utils.js.map +1 -1
  145. package/esm/vs/editor/contrib/insertFinalNewLine/browser/insertFinalNewLine.js +1 -1
  146. package/esm/vs/editor/contrib/lineSelection/browser/lineSelection.js +1 -1
  147. package/esm/vs/editor/contrib/linesOperations/browser/linesOperations.js +31 -31
  148. package/esm/vs/editor/contrib/linkedEditing/browser/linkedEditing.js +2 -2
  149. package/esm/vs/editor/contrib/links/browser/links.js +10 -10
  150. package/esm/vs/editor/contrib/message/browser/messageController.js +1 -1
  151. package/esm/vs/editor/contrib/multicursor/browser/multicursor.js +22 -22
  152. package/esm/vs/editor/contrib/parameterHints/browser/parameterHints.js +1 -1
  153. package/esm/vs/editor/contrib/parameterHints/browser/parameterHintsWidget.js +4 -4
  154. package/esm/vs/editor/contrib/peekView/browser/peekView.js +18 -18
  155. package/esm/vs/editor/contrib/placeholderText/browser/placeholderText.contribution.js +1 -1
  156. package/esm/vs/editor/contrib/quickAccess/browser/gotoLineQuickAccess.js +10 -10
  157. package/esm/vs/editor/contrib/quickAccess/browser/gotoSymbolQuickAccess.js +32 -32
  158. package/esm/vs/editor/contrib/readOnlyMessage/browser/contribution.js +2 -2
  159. package/esm/vs/editor/contrib/rename/browser/rename.js +11 -11
  160. package/esm/vs/editor/contrib/rename/browser/renameWidget.js +7 -7
  161. package/esm/vs/editor/contrib/smartSelect/browser/smartSelect.js +4 -4
  162. package/esm/vs/editor/contrib/snippet/browser/snippetController2.js +4 -4
  163. package/esm/vs/editor/contrib/snippet/browser/snippetVariables.js +4 -4
  164. package/esm/vs/editor/contrib/stickyScroll/browser/stickyScrollActions.js +11 -11
  165. package/esm/vs/editor/contrib/suggest/browser/suggest.js +9 -9
  166. package/esm/vs/editor/contrib/suggest/browser/suggestController.js +11 -11
  167. package/esm/vs/editor/contrib/suggest/browser/suggestWidget.js +17 -17
  168. package/esm/vs/editor/contrib/suggest/browser/suggestWidgetDetails.js +2 -2
  169. package/esm/vs/editor/contrib/suggest/browser/suggestWidgetRenderer.js +2 -2
  170. package/esm/vs/editor/contrib/suggest/browser/wordContextKey.js +1 -1
  171. package/esm/vs/editor/contrib/symbolIcons/browser/symbolIcons.js +33 -33
  172. package/esm/vs/editor/contrib/toggleTabFocusMode/browser/toggleTabFocusMode.js +4 -4
  173. package/esm/vs/editor/contrib/tokenization/browser/tokenization.js +1 -1
  174. package/esm/vs/editor/contrib/unicodeHighlighter/browser/bannerController.js +1 -1
  175. package/esm/vs/editor/contrib/unicodeHighlighter/browser/unicodeHighlighter.js +24 -24
  176. package/esm/vs/editor/contrib/unusualLineTerminators/browser/unusualLineTerminators.js +5 -5
  177. package/esm/vs/editor/contrib/wordHighlighter/browser/highlightDecorations.js +9 -9
  178. package/esm/vs/editor/contrib/wordHighlighter/browser/wordHighlighter.js +3 -3
  179. package/esm/vs/editor/contrib/wordOperations/browser/wordOperations.js +3 -3
  180. package/esm/vs/editor/standalone/browser/services/standaloneWebWorkerService.js +2 -1
  181. package/esm/vs/editor/standalone/browser/services/standaloneWebWorkerService.js.map +1 -1
  182. package/esm/vs/editor/standalone/browser/standaloneServices.js +2 -0
  183. package/esm/vs/editor/standalone/browser/standaloneServices.js.map +1 -1
  184. package/esm/vs/platform/accessibilitySignal/browser/accessibilitySignalService.js +62 -62
  185. package/esm/vs/platform/action/common/actionCommonCategories.js +6 -6
  186. package/esm/vs/platform/actionWidget/browser/actionList.js +34 -11
  187. package/esm/vs/platform/actionWidget/browser/actionList.js.map +1 -1
  188. package/esm/vs/platform/actionWidget/browser/actionWidget.css +10 -0
  189. package/esm/vs/platform/actionWidget/browser/actionWidget.js +7 -7
  190. package/esm/vs/platform/actions/browser/menuEntryActionViewItem.js +3 -3
  191. package/esm/vs/platform/actions/browser/toolbar.js +2 -2
  192. package/esm/vs/platform/actions/common/actions.js +2 -0
  193. package/esm/vs/platform/actions/common/actions.js.map +1 -1
  194. package/esm/vs/platform/actions/common/menuService.js +2 -2
  195. package/esm/vs/platform/configuration/common/configurationRegistry.js +10 -10
  196. package/esm/vs/platform/contextkey/browser/contextKeyService.js +1 -1
  197. package/esm/vs/platform/contextkey/common/contextkey.js +9 -9
  198. package/esm/vs/platform/contextkey/common/contextkeys.js +9 -9
  199. package/esm/vs/platform/contextkey/common/scanner.js +5 -5
  200. package/esm/vs/platform/history/browser/contextScopedHistoryWidget.js +1 -1
  201. package/esm/vs/platform/hover/browser/hoverWidget.js +1 -1
  202. package/esm/vs/platform/hover/browser/updatableHoverWidget.js +1 -1
  203. package/esm/vs/platform/keybinding/common/abstractKeybindingService.js +5 -5
  204. package/esm/vs/platform/list/browser/listService.js +27 -27
  205. package/esm/vs/platform/markers/common/markerService.js +2 -2
  206. package/esm/vs/platform/markers/common/markers.js +6 -6
  207. package/esm/vs/platform/quickinput/browser/commandsQuickAccess.js +8 -8
  208. package/esm/vs/platform/quickinput/browser/helpQuickAccess.js +1 -1
  209. package/esm/vs/platform/quickinput/browser/quickInput.js +10 -10
  210. package/esm/vs/platform/quickinput/browser/quickInputActions.js +5 -5
  211. package/esm/vs/platform/quickinput/browser/quickInputController.js +6 -6
  212. package/esm/vs/platform/quickinput/browser/quickInputList.js +1 -1
  213. package/esm/vs/platform/quickinput/browser/quickInputUtils.js +1 -1
  214. package/esm/vs/platform/quickinput/browser/tree/quickInputTreeAccessibilityProvider.js +1 -1
  215. package/esm/vs/platform/quickinput/browser/tree/quickTree.js +1 -1
  216. package/esm/vs/platform/theme/common/colorUtils.js +2 -2
  217. package/esm/vs/platform/theme/common/colors/baseColors.js +18 -18
  218. package/esm/vs/platform/theme/common/colors/chartsColors.js +8 -8
  219. package/esm/vs/platform/theme/common/colors/editorColors.js +95 -95
  220. package/esm/vs/platform/theme/common/colors/inputColors.js +47 -47
  221. package/esm/vs/platform/theme/common/colors/listColors.js +36 -36
  222. package/esm/vs/platform/theme/common/colors/menuColors.js +7 -7
  223. package/esm/vs/platform/theme/common/colors/minimapColors.js +11 -11
  224. package/esm/vs/platform/theme/common/colors/miscColors.js +16 -16
  225. package/esm/vs/platform/theme/common/colors/quickpickColors.js +9 -9
  226. package/esm/vs/platform/theme/common/colors/searchColors.js +3 -3
  227. package/esm/vs/platform/theme/common/iconRegistry.js +6 -6
  228. package/esm/vs/platform/undoRedo/common/undoRedoService.js +20 -20
  229. package/esm/vs/platform/workspace/common/workspace.js +1 -1
  230. package/package.json +2 -2
@@ -267,7 +267,7 @@ let CodeActionController = class CodeActionController extends Disposable {
267
267
  const diagnostic = diagnostics[0];
268
268
  if (diagnostic.startLineNumber && diagnostic.startColumn) {
269
269
  const selectionText = this._editor.getModel()?.getWordAtPosition({ lineNumber: diagnostic.startLineNumber, column: diagnostic.startColumn })?.word;
270
- aria.status(localize(872, "Context: {0} at line {1} and column {2}.", selectionText, diagnostic.startLineNumber, diagnostic.startColumn));
270
+ aria.status(localize(874, "Context: {0} at line {1} and column {2}.", selectionText, diagnostic.startLineNumber, diagnostic.startColumn));
271
271
  }
272
272
  }
273
273
  }
@@ -310,7 +310,7 @@ let CodeActionController = class CodeActionController extends Disposable {
310
310
  if (options.includeDisabledActions && actions.validActions.length > 0 && actions.allActions.length !== actions.validActions.length) {
311
311
  resultActions.push(this._showDisabled ? {
312
312
  id: 'hideMoreActions',
313
- label: localize(873, 'Hide Disabled'),
313
+ label: localize(875, 'Hide Disabled'),
314
314
  enabled: true,
315
315
  tooltip: '',
316
316
  class: undefined,
@@ -320,7 +320,7 @@ let CodeActionController = class CodeActionController extends Disposable {
320
320
  }
321
321
  } : {
322
322
  id: 'showMoreActions',
323
- label: localize(874, 'Show Disabled'),
323
+ label: localize(876, 'Show Disabled'),
324
324
  enabled: true,
325
325
  tooltip: '',
326
326
  class: undefined,
@@ -8,15 +8,15 @@ import { CodeActionKind } from '../common/types.js';
8
8
  import '../../symbolIcons/browser/symbolIcons.js'; // The codicon symbol colors are defined here and must be loaded to get colors
9
9
  import { localize } from '../../../../nls.js';
10
10
  import { HierarchicalKind } from '../../../../base/common/hierarchicalKind.js';
11
- const uncategorizedCodeActionGroup = Object.freeze({ kind: HierarchicalKind.Empty, title: localize(875, 'More Actions...') });
11
+ const uncategorizedCodeActionGroup = Object.freeze({ kind: HierarchicalKind.Empty, title: localize(877, 'More Actions...') });
12
12
  const codeActionGroups = Object.freeze([
13
- { kind: CodeActionKind.QuickFix, title: localize(876, 'Quick Fix') },
14
- { kind: CodeActionKind.RefactorExtract, title: localize(877, 'Extract'), icon: Codicon.wrench },
15
- { kind: CodeActionKind.RefactorInline, title: localize(878, 'Inline'), icon: Codicon.wrench },
16
- { kind: CodeActionKind.RefactorRewrite, title: localize(879, 'Rewrite'), icon: Codicon.wrench },
17
- { kind: CodeActionKind.RefactorMove, title: localize(880, 'Move'), icon: Codicon.wrench },
18
- { kind: CodeActionKind.SurroundWith, title: localize(881, 'Surround With'), icon: Codicon.surroundWith },
19
- { kind: CodeActionKind.Source, title: localize(882, 'Source Action'), icon: Codicon.symbolFile },
13
+ { kind: CodeActionKind.QuickFix, title: localize(878, 'Quick Fix') },
14
+ { kind: CodeActionKind.RefactorExtract, title: localize(879, 'Extract'), icon: Codicon.wrench },
15
+ { kind: CodeActionKind.RefactorInline, title: localize(880, 'Inline'), icon: Codicon.wrench },
16
+ { kind: CodeActionKind.RefactorRewrite, title: localize(881, 'Rewrite'), icon: Codicon.wrench },
17
+ { kind: CodeActionKind.RefactorMove, title: localize(882, 'Move'), icon: Codicon.wrench },
18
+ { kind: CodeActionKind.SurroundWith, title: localize(883, 'Surround With'), icon: Codicon.surroundWith },
19
+ { kind: CodeActionKind.Source, title: localize(884, 'Source Action'), icon: Codicon.symbolFile },
20
20
  uncategorizedCodeActionGroup,
21
21
  ]);
22
22
  export function toMenuItems(inputCodeActions, showHeaders, keybindingResolver) {
@@ -27,11 +27,11 @@ import * as nls from '../../../../nls.js';
27
27
  import { IKeybindingService } from '../../../../platform/keybinding/common/keybinding.js';
28
28
  import { registerIcon } from '../../../../platform/theme/common/iconRegistry.js';
29
29
  import { Range } from '../../../common/core/range.js';
30
- const GUTTER_LIGHTBULB_ICON = registerIcon('gutter-lightbulb', Codicon.lightBulb, nls.localize(883, 'Icon which spawns code actions menu from the gutter when there is no space in the editor.'));
31
- const GUTTER_LIGHTBULB_AUTO_FIX_ICON = registerIcon('gutter-lightbulb-auto-fix', Codicon.lightbulbAutofix, nls.localize(884, 'Icon which spawns code actions menu from the gutter when there is no space in the editor and a quick fix is available.'));
32
- const GUTTER_LIGHTBULB_AIFIX_ICON = registerIcon('gutter-lightbulb-sparkle', Codicon.lightbulbSparkle, nls.localize(885, 'Icon which spawns code actions menu from the gutter when there is no space in the editor and an AI fix is available.'));
33
- const GUTTER_LIGHTBULB_AIFIX_AUTO_FIX_ICON = registerIcon('gutter-lightbulb-aifix-auto-fix', Codicon.lightbulbSparkleAutofix, nls.localize(886, 'Icon which spawns code actions menu from the gutter when there is no space in the editor and an AI fix and a quick fix is available.'));
34
- const GUTTER_SPARKLE_FILLED_ICON = registerIcon('gutter-lightbulb-sparkle-filled', Codicon.sparkleFilled, nls.localize(887, 'Icon which spawns code actions menu from the gutter when there is no space in the editor and an AI fix and a quick fix is available.'));
30
+ const GUTTER_LIGHTBULB_ICON = registerIcon('gutter-lightbulb', Codicon.lightBulb, nls.localize(885, 'Icon which spawns code actions menu from the gutter when there is no space in the editor.'));
31
+ const GUTTER_LIGHTBULB_AUTO_FIX_ICON = registerIcon('gutter-lightbulb-auto-fix', Codicon.lightbulbAutofix, nls.localize(886, 'Icon which spawns code actions menu from the gutter when there is no space in the editor and a quick fix is available.'));
32
+ const GUTTER_LIGHTBULB_AIFIX_ICON = registerIcon('gutter-lightbulb-sparkle', Codicon.lightbulbSparkle, nls.localize(887, 'Icon which spawns code actions menu from the gutter when there is no space in the editor and an AI fix is available.'));
33
+ const GUTTER_LIGHTBULB_AIFIX_AUTO_FIX_ICON = registerIcon('gutter-lightbulb-aifix-auto-fix', Codicon.lightbulbSparkleAutofix, nls.localize(888, 'Icon which spawns code actions menu from the gutter when there is no space in the editor and an AI fix and a quick fix is available.'));
34
+ const GUTTER_SPARKLE_FILLED_ICON = registerIcon('gutter-lightbulb-sparkle-filled', Codicon.sparkleFilled, nls.localize(889, 'Icon which spawns code actions menu from the gutter when there is no space in the editor and an AI fix and a quick fix is available.'));
35
35
  var LightBulbState;
36
36
  (function (LightBulbState) {
37
37
  LightBulbState.Hidden = { type: 0 /* Type.Hidden */ };
@@ -403,16 +403,16 @@ let LightBulbWidget = class LightBulbWidget extends Disposable {
403
403
  return;
404
404
  }
405
405
  if (autoRun) {
406
- this.title = nls.localize(888, "Run: {0}", this.state.actions.validActions[0].action.title);
406
+ this.title = nls.localize(890, "Run: {0}", this.state.actions.validActions[0].action.title);
407
407
  }
408
408
  else if (autoFix && this._preferredKbLabel) {
409
- this.title = nls.localize(889, "Show Code Actions. Preferred Quick Fix Available ({0})", this._preferredKbLabel);
409
+ this.title = nls.localize(891, "Show Code Actions. Preferred Quick Fix Available ({0})", this._preferredKbLabel);
410
410
  }
411
411
  else if (!autoFix && this._quickFixKbLabel) {
412
- this.title = nls.localize(890, "Show Code Actions ({0})", this._quickFixKbLabel);
412
+ this.title = nls.localize(892, "Show Code Actions ({0})", this._quickFixKbLabel);
413
413
  }
414
414
  else if (!autoFix) {
415
- this.title = nls.localize(891, "Show Code Actions");
415
+ this.title = nls.localize(893, "Show Code Actions");
416
416
  }
417
417
  }
418
418
  set title(value) {
@@ -404,7 +404,7 @@ registerEditorAction(class ShowLensesInCurrentLine extends EditorAction {
404
404
  super({
405
405
  id: 'codelens.showLensesInCurrentLine',
406
406
  precondition: EditorContextKeys.hasCodeLensProvider,
407
- label: localize2(893, "Show CodeLens Commands for Current Line"),
407
+ label: localize2(895, "Show CodeLens Commands for Current Line"),
408
408
  });
409
409
  }
410
410
  async run(accessor, editor) {
@@ -439,7 +439,7 @@ registerEditorAction(class ShowLensesInCurrentLine extends EditorAction {
439
439
  }
440
440
  const item = await quickInputService.pick(items, {
441
441
  canPickMany: false,
442
- placeHolder: localize(892, "Select a command")
442
+ placeHolder: localize(894, "Select a command")
443
443
  });
444
444
  if (!item) {
445
445
  // Nothing picked
@@ -22,7 +22,7 @@ export class CloseButton extends Disposable {
22
22
  const innerDiv = document.createElement('div');
23
23
  innerDiv.classList.add('close-button-inner-div');
24
24
  dom.append(this._button, innerDiv);
25
- const closeButton = dom.append(innerDiv, $('.button' + ThemeIcon.asCSSSelector(registerIcon('color-picker-close', Codicon.close, localize(894, 'Icon to close the color picker')))));
25
+ const closeButton = dom.append(innerDiv, $('.button' + ThemeIcon.asCSSSelector(registerIcon('color-picker-close', Codicon.close, localize(896, 'Icon to close the color picker')))));
26
26
  closeButton.classList.add('close-icon');
27
27
  this._register(dom.addDisposableListener(this._button, dom.EventType.CLICK, () => {
28
28
  this._onClicked.fire();
@@ -22,7 +22,7 @@ export class ColorPickerHeader extends Disposable {
22
22
  dom.append(this._pickedColorNode, $('span.codicon.codicon-color-mode'));
23
23
  this._pickedColorPresentation = dom.append(this._pickedColorNode, document.createElement('span'));
24
24
  this._pickedColorPresentation.classList.add('picked-color-presentation');
25
- const tooltip = localize(895, "Click to toggle color options (rgb/hsl/hex)");
25
+ const tooltip = localize(897, "Click to toggle color options (rgb/hsl/hex)");
26
26
  this._pickedColorNode.setAttribute('title', tooltip);
27
27
  this._originalColorNode = dom.append(this._domNode, $('.original-color'));
28
28
  this._originalColorNode.style.backgroundColor = Color.Format.CSS.format(this.model.originalColor) || '';
@@ -127,7 +127,7 @@ let HoverColorPickerParticipant = class HoverColorPickerParticipant {
127
127
  return new RenderedHoverParts([renderedHoverPart]);
128
128
  }
129
129
  getAccessibleContent(hoverPart) {
130
- return nls.localize(896, 'There is a color picker here.');
130
+ return nls.localize(898, 'There is a color picker here.');
131
131
  }
132
132
  handleResize() {
133
133
  this._colorPicker?.layout();
@@ -12,15 +12,15 @@ export class ShowOrFocusStandaloneColorPicker extends EditorAction2 {
12
12
  super({
13
13
  id: 'editor.action.showOrFocusStandaloneColorPicker',
14
14
  title: {
15
- ...localize2(898, "Show or Focus Standalone Color Picker"),
16
- mnemonicTitle: localize(897, "&&Show or Focus Standalone Color Picker"),
15
+ ...localize2(900, "Show or Focus Standalone Color Picker"),
16
+ mnemonicTitle: localize(899, "&&Show or Focus Standalone Color Picker"),
17
17
  },
18
18
  precondition: undefined,
19
19
  menu: [
20
20
  { id: MenuId.CommandPalette },
21
21
  ],
22
22
  metadata: {
23
- description: localize2(899, "Show or focus a standalone color picker which uses the default color provider. It displays hex/rgb/hsl colors."),
23
+ description: localize2(901, "Show or focus a standalone color picker which uses the default color provider. It displays hex/rgb/hsl colors."),
24
24
  }
25
25
  });
26
26
  }
@@ -32,7 +32,7 @@ export class HideStandaloneColorPicker extends EditorAction {
32
32
  constructor() {
33
33
  super({
34
34
  id: 'editor.action.hideColorPicker',
35
- label: localize2(900, "Hide the Color Picker"),
35
+ label: localize2(902, "Hide the Color Picker"),
36
36
 
37
37
 
38
38
 
@@ -44,7 +44,7 @@ export class HideStandaloneColorPicker extends EditorAction {
44
44
  weight: 100 /* KeybindingWeight.EditorContrib */
45
45
  },
46
46
  metadata: {
47
- description: localize2(901, "Hide the standalone color picker."),
47
+ description: localize2(903, "Hide the standalone color picker."),
48
48
  }
49
49
  });
50
50
  }
@@ -56,7 +56,7 @@ export class InsertColorWithStandaloneColorPicker extends EditorAction {
56
56
  constructor() {
57
57
  super({
58
58
  id: 'editor.action.insertColorWithStandaloneColorPicker',
59
- label: localize2(902, "Insert Color with Standalone Color Picker"),
59
+ label: localize2(904, "Insert Color with Standalone Color Picker"),
60
60
 
61
61
 
62
62
 
@@ -68,7 +68,7 @@ export class InsertColorWithStandaloneColorPicker extends EditorAction {
68
68
  weight: 100 /* KeybindingWeight.EditorContrib */
69
69
  },
70
70
  metadata: {
71
- description: localize2(903, "Insert hex/rgb/hsl colors with the focused standalone color picker."),
71
+ description: localize2(905, "Insert hex/rgb/hsl colors with the focused standalone color picker."),
72
72
  }
73
73
  });
74
74
  }
@@ -56,7 +56,7 @@ class ToggleCommentLineAction extends CommentLineAction {
56
56
  constructor() {
57
57
  super(0 /* Type.Toggle */, {
58
58
  id: 'editor.action.commentLine',
59
- label: nls.localize2(906, "Toggle Line Comment"),
59
+ label: nls.localize2(908, "Toggle Line Comment"),
60
60
  precondition: EditorContextKeys.writable,
61
61
  kbOpts: {
62
62
  kbExpr: EditorContextKeys.editorTextFocus,
@@ -66,7 +66,7 @@ class ToggleCommentLineAction extends CommentLineAction {
66
66
  menuOpts: {
67
67
  menuId: MenuId.MenubarEditMenu,
68
68
  group: '5_insert',
69
- title: nls.localize(904, "&&Toggle Line Comment"),
69
+ title: nls.localize(906, "&&Toggle Line Comment"),
70
70
  order: 1
71
71
  },
72
72
  canTriggerInlineEdits: true,
@@ -77,7 +77,7 @@ class AddLineCommentAction extends CommentLineAction {
77
77
  constructor() {
78
78
  super(1 /* Type.ForceAdd */, {
79
79
  id: 'editor.action.addCommentLine',
80
- label: nls.localize2(907, "Add Line Comment"),
80
+ label: nls.localize2(909, "Add Line Comment"),
81
81
  precondition: EditorContextKeys.writable,
82
82
  kbOpts: {
83
83
  kbExpr: EditorContextKeys.editorTextFocus,
@@ -92,7 +92,7 @@ class RemoveLineCommentAction extends CommentLineAction {
92
92
  constructor() {
93
93
  super(2 /* Type.ForceRemove */, {
94
94
  id: 'editor.action.removeCommentLine',
95
- label: nls.localize2(908, "Remove Line Comment"),
95
+ label: nls.localize2(910, "Remove Line Comment"),
96
96
  precondition: EditorContextKeys.writable,
97
97
  kbOpts: {
98
98
  kbExpr: EditorContextKeys.editorTextFocus,
@@ -107,7 +107,7 @@ class BlockCommentAction extends EditorAction {
107
107
  constructor() {
108
108
  super({
109
109
  id: 'editor.action.blockComment',
110
- label: nls.localize2(909, "Toggle Block Comment"),
110
+ label: nls.localize2(911, "Toggle Block Comment"),
111
111
  precondition: EditorContextKeys.writable,
112
112
  kbOpts: {
113
113
  kbExpr: EditorContextKeys.editorTextFocus,
@@ -118,7 +118,7 @@ class BlockCommentAction extends EditorAction {
118
118
  menuOpts: {
119
119
  menuId: MenuId.MenubarEditMenu,
120
120
  group: '5_insert',
121
- title: nls.localize(905, "Toggle &&Block Comment"),
121
+ title: nls.localize(907, "Toggle &&Block Comment"),
122
122
  order: 2
123
123
  },
124
124
  canTriggerInlineEdits: true,
@@ -247,7 +247,7 @@ let ContextMenuController = class ContextMenuController {
247
247
  };
248
248
  const actions = [];
249
249
  actions.push(createAction({
250
- label: nls.localize(910, "Minimap"),
250
+ label: nls.localize(912, "Minimap"),
251
251
  checked: minimapOptions.enabled,
252
252
  run: () => {
253
253
  this._configurationService.updateValue(`editor.minimap.enabled`, !minimapOptions.enabled);
@@ -255,28 +255,28 @@ let ContextMenuController = class ContextMenuController {
255
255
  }));
256
256
  actions.push(new Separator());
257
257
  actions.push(createAction({
258
- label: nls.localize(911, "Render Characters"),
258
+ label: nls.localize(913, "Render Characters"),
259
259
  enabled: minimapOptions.enabled,
260
260
  checked: minimapOptions.renderCharacters,
261
261
  run: () => {
262
262
  this._configurationService.updateValue(`editor.minimap.renderCharacters`, !minimapOptions.renderCharacters);
263
263
  }
264
264
  }));
265
- actions.push(createEnumAction(nls.localize(912, "Vertical size"), minimapOptions.enabled, 'editor.minimap.size', minimapOptions.size, [{
266
- label: nls.localize(913, "Proportional"),
265
+ actions.push(createEnumAction(nls.localize(914, "Vertical size"), minimapOptions.enabled, 'editor.minimap.size', minimapOptions.size, [{
266
+ label: nls.localize(915, "Proportional"),
267
267
  value: 'proportional'
268
268
  }, {
269
- label: nls.localize(914, "Fill"),
269
+ label: nls.localize(916, "Fill"),
270
270
  value: 'fill'
271
271
  }, {
272
- label: nls.localize(915, "Fit"),
272
+ label: nls.localize(917, "Fit"),
273
273
  value: 'fit'
274
274
  }]));
275
- actions.push(createEnumAction(nls.localize(916, "Slider"), minimapOptions.enabled, 'editor.minimap.showSlider', minimapOptions.showSlider, [{
276
- label: nls.localize(917, "Mouse Over"),
275
+ actions.push(createEnumAction(nls.localize(918, "Slider"), minimapOptions.enabled, 'editor.minimap.showSlider', minimapOptions.showSlider, [{
276
+ label: nls.localize(919, "Mouse Over"),
277
277
  value: 'mouseover'
278
278
  }, {
279
- label: nls.localize(918, "Always"),
279
+ label: nls.localize(920, "Always"),
280
280
  value: 'always'
281
281
  }]));
282
282
  const useShadowDOM = this._editor.getOption(144 /* EditorOption.useShadowDOM */) && !isIOS; // Do not use shadow dom on IOS #122035
@@ -315,7 +315,7 @@ class ShowContextMenu extends EditorAction {
315
315
  constructor() {
316
316
  super({
317
317
  id: 'editor.action.showContextMenu',
318
- label: nls.localize2(919, "Show Editor Context Menu"),
318
+ label: nls.localize2(921, "Show Editor Context Menu"),
319
319
  precondition: undefined,
320
320
  kbOpts: {
321
321
  kbExpr: EditorContextKeys.textInputFocus,
@@ -100,7 +100,7 @@ export class CursorUndo extends EditorAction {
100
100
  constructor() {
101
101
  super({
102
102
  id: 'cursorUndo',
103
- label: nls.localize2(920, "Cursor Undo"),
103
+ label: nls.localize2(922, "Cursor Undo"),
104
104
  precondition: undefined,
105
105
  kbOpts: {
106
106
  kbExpr: EditorContextKeys.textInputFocus,
@@ -117,7 +117,7 @@ export class CursorRedo extends EditorAction {
117
117
  constructor() {
118
118
  super({
119
119
  id: 'cursorRedo',
120
- label: nls.localize2(921, "Cursor Redo"),
120
+ label: nls.localize2(923, "Cursor Redo"),
121
121
  precondition: undefined
122
122
  });
123
123
  }
@@ -51,7 +51,7 @@ registerEditorAction(class PasteAsAction extends EditorAction {
51
51
  properties: {
52
52
  kind: {
53
53
  type: 'string',
54
- description: nls.localize(922, "The kind of the paste edit to try pasting with.\nIf there are multiple edits for this kind, the editor will show a picker. If there are no edits of this kind, the editor will show an error message."),
54
+ description: nls.localize(924, "The kind of the paste edit to try pasting with.\nIf there are multiple edits for this kind, the editor will show a picker. If there are no edits of this kind, the editor will show an error message."),
55
55
  }
56
56
  },
57
57
  },
@@ -61,7 +61,7 @@ registerEditorAction(class PasteAsAction extends EditorAction {
61
61
  properties: {
62
62
  preferences: {
63
63
  type: 'array',
64
- description: nls.localize(923, "List of preferred paste edit kind to try applying.\nThe first edit matching the preferences will be applied."),
64
+ description: nls.localize(925, "List of preferred paste edit kind to try applying.\nThe first edit matching the preferences will be applied."),
65
65
  items: { type: 'string' }
66
66
  }
67
67
  },
@@ -71,7 +71,7 @@ registerEditorAction(class PasteAsAction extends EditorAction {
71
71
  constructor() {
72
72
  super({
73
73
  id: pasteAsCommandId,
74
- label: nls.localize2(924, "Paste As..."),
74
+ label: nls.localize2(926, "Paste As..."),
75
75
  precondition: EditorContextKeys.writable,
76
76
  metadata: {
77
77
  description: 'Paste as',
@@ -100,7 +100,7 @@ registerEditorAction(class extends EditorAction {
100
100
  constructor() {
101
101
  super({
102
102
  id: 'editor.action.pasteAsText',
103
- label: nls.localize2(925, "Paste as Text"),
103
+ label: nls.localize2(927, "Paste as Text"),
104
104
  precondition: EditorContextKeys.writable,
105
105
  canTriggerInlineEdits: true,
106
106
  });
@@ -42,7 +42,7 @@ import { createCombinedWorkspaceEdit, sortEditsByYieldTo } from './edit.js';
42
42
  import { PostEditWidgetManager } from './postEditWidget.js';
43
43
  export const changePasteTypeCommandId = 'editor.changePasteType';
44
44
  export const pasteAsPreferenceConfig = 'editor.pasteAs.preferences';
45
- export const pasteWidgetVisibleCtx = new RawContextKey('pasteWidgetVisible', false, localize(926, "Whether the paste widget is showing"));
45
+ export const pasteWidgetVisibleCtx = new RawContextKey('pasteWidgetVisible', false, localize(928, "Whether the paste widget is showing"));
46
46
  const vscodeClipboardMime = 'application/vnd.code.copymetadata';
47
47
  let CopyPasteController = class CopyPasteController extends Disposable {
48
48
  static { CopyPasteController_1 = this; }
@@ -65,7 +65,7 @@ let CopyPasteController = class CopyPasteController extends Disposable {
65
65
  this._register(editor.onWillCut(e => this.handleCopy(e)));
66
66
  this._register(editor.onWillPaste(e => this.handlePaste(e)));
67
67
  this._pasteProgressManager = this._register(new InlineProgressManager('pasteIntoEditor', editor, instantiationService));
68
- this._postPasteWidgetManager = this._register(instantiationService.createInstance(PostEditWidgetManager, 'pasteIntoEditor', editor, pasteWidgetVisibleCtx, { id: changePasteTypeCommandId, label: localize(927, "Show paste options...") }, () => CopyPasteController_1._configureDefaultAction ? [CopyPasteController_1._configureDefaultAction] : []));
68
+ this._postPasteWidgetManager = this._register(instantiationService.createInstance(PostEditWidgetManager, 'pasteIntoEditor', editor, pasteWidgetVisibleCtx, { id: changePasteTypeCommandId, label: localize(929, "Show paste options...") }, () => CopyPasteController_1._configureDefaultAction ? [CopyPasteController_1._configureDefaultAction] : []));
69
69
  }
70
70
  changePasteType() {
71
71
  this._postPasteWidgetManager.tryShowSelector();
@@ -214,9 +214,9 @@ let CopyPasteController = class CopyPasteController extends Disposable {
214
214
  const kindLabel = 'only' in preference
215
215
  ? preference.only.value
216
216
  : 'preferences' in preference
217
- ? (preference.preferences.length ? preference.preferences.map(preference => preference.value).join(', ') : localize(928, "empty"))
217
+ ? (preference.preferences.length ? preference.preferences.map(preference => preference.value).join(', ') : localize(930, "empty"))
218
218
  : preference.providerId;
219
- MessageController.get(this._editor)?.showMessage(localize(929, "No paste edits for '{0}' found", kindLabel), selections[0].getStartPosition());
219
+ MessageController.get(this._editor)?.showMessage(localize(931, "No paste edits for '{0}' found", kindLabel), selections[0].getStartPosition());
220
220
  }
221
221
  doPasteInline(allProviders, selections, dataTransfer, metadata, clipboardEvent) {
222
222
  this._logService.trace('CopyPasteController#doPasteInline');
@@ -266,7 +266,7 @@ let CopyPasteController = class CopyPasteController extends Disposable {
266
266
  }
267
267
  const resolveP = edit.provider.resolveDocumentPasteEdit(edit, resolveToken);
268
268
  const showP = new DeferredPromise();
269
- const resolved = await this._pasteProgressManager.showWhile(selections[0].getEndPosition(), localize(930, "Resolving paste edit for '{0}'. Click to cancel", edit.title), raceCancellation(Promise.race([showP.p, resolveP]), resolveToken), {
269
+ const resolved = await this._pasteProgressManager.showWhile(selections[0].getEndPosition(), localize(932, "Resolving paste edit for '{0}'. Click to cancel", edit.title), raceCancellation(Promise.race([showP.p, resolveP]), resolveToken), {
270
270
  cancel: () => showP.cancel()
271
271
  }, 0);
272
272
  if (resolved) {
@@ -285,7 +285,7 @@ let CopyPasteController = class CopyPasteController extends Disposable {
285
285
  }
286
286
  }
287
287
  });
288
- this._pasteProgressManager.showWhile(selections[0].getEndPosition(), localize(931, "Running paste handlers. Click to cancel and do basic paste"), p, {
288
+ this._pasteProgressManager.showWhile(selections[0].getEndPosition(), localize(933, "Running paste handlers. Click to cancel and do basic paste"), p, {
289
289
  cancel: async () => {
290
290
  p.cancel();
291
291
  if (editorStateCts.token.isCancellationRequested) {
@@ -357,7 +357,7 @@ let CopyPasteController = class CopyPasteController extends Disposable {
357
357
  else {
358
358
  const configureDefaultItem = {
359
359
  id: 'editor.pasteAs.default',
360
- label: localize(932, "Configure default paste action"),
360
+ label: localize(934, "Configure default paste action"),
361
361
  edit: undefined,
362
362
  };
363
363
  const selected = await this._quickInputService.pick([
@@ -374,7 +374,7 @@ let CopyPasteController = class CopyPasteController extends Disposable {
374
374
  }
375
375
  ] : [])
376
376
  ], {
377
- placeHolder: localize(933, "Select Paste Action"),
377
+ placeHolder: localize(935, "Select Paste Action"),
378
378
  });
379
379
  if (selected === configureDefaultItem) {
380
380
  CopyPasteController_1._configureDefaultAction?.run();
@@ -397,7 +397,7 @@ let CopyPasteController = class CopyPasteController extends Disposable {
397
397
  });
398
398
  this._progressService.withProgress({
399
399
  location: 10 /* ProgressLocation.Window */,
400
- title: localize(934, "Running paste handlers"),
400
+ title: localize(936, "Running paste handlers"),
401
401
  }, () => p);
402
402
  }
403
403
  setCopyMetadata(clipboardData, metadata) {
@@ -72,7 +72,7 @@ export class DefaultTextPasteOrDropEditProvider extends SimplePasteAndDropProvid
72
72
  const insertText = await textEntry.asString();
73
73
  return {
74
74
  handledMimeType: Mimes.text,
75
- title: localize(935, "Insert Plain Text"),
75
+ title: localize(937, "Insert Plain Text"),
76
76
  insertText,
77
77
  kind: this.kind,
78
78
  };
@@ -105,14 +105,14 @@ class PathProvider extends SimplePasteAndDropProvider {
105
105
  if (uriCount > 0) {
106
106
  // Dropping at least one generic uri (such as https) so use most generic label
107
107
  label = entries.length > 1
108
- ? localize(936, "Insert Uris")
109
- : localize(937, "Insert Uri");
108
+ ? localize(938, "Insert Uris")
109
+ : localize(939, "Insert Uri");
110
110
  }
111
111
  else {
112
112
  // All the paths are file paths
113
113
  label = entries.length > 1
114
- ? localize(938, "Insert Paths")
115
- : localize(939, "Insert Path");
114
+ ? localize(940, "Insert Paths")
115
+ : localize(941, "Insert Path");
116
116
  }
117
117
  return {
118
118
  handledMimeType: Mimes.uriList,
@@ -145,8 +145,8 @@ let RelativePathProvider = class RelativePathProvider extends SimplePasteAndDrop
145
145
  handledMimeType: Mimes.uriList,
146
146
  insertText: relativeUris.join(' '),
147
147
  title: entries.length > 1
148
- ? localize(940, "Insert Relative Paths")
149
- : localize(941, "Insert Relative Path"),
148
+ ? localize(942, "Insert Relative Paths")
149
+ : localize(943, "Insert Relative Path"),
150
150
  kind: this.kind,
151
151
  };
152
152
  }
@@ -176,7 +176,7 @@ class PasteHtmlProvider {
176
176
  edits: [{
177
177
  insertText: htmlText,
178
178
  yieldTo: this._yieldTo,
179
- title: localize(942, 'Insert HTML'),
179
+ title: localize(944, 'Insert HTML'),
180
180
  kind: this.kind,
181
181
  }],
182
182
  };
@@ -34,7 +34,7 @@ import { sortEditsByYieldTo } from './edit.js';
34
34
  import { PostEditWidgetManager } from './postEditWidget.js';
35
35
  export const dropAsPreferenceConfig = 'editor.dropIntoEditor.preferences';
36
36
  export const changeDropTypeCommandId = 'editor.changeDropType';
37
- export const dropWidgetVisibleCtx = new RawContextKey('dropWidgetVisible', false, localize(943, "Whether the drop widget is showing"));
37
+ export const dropWidgetVisibleCtx = new RawContextKey('dropWidgetVisible', false, localize(945, "Whether the drop widget is showing"));
38
38
  let DropIntoEditorController = class DropIntoEditorController extends Disposable {
39
39
  static { DropIntoEditorController_1 = this; }
40
40
  static { this.ID = 'editor.contrib.dropIntoEditorController'; }
@@ -48,7 +48,7 @@ let DropIntoEditorController = class DropIntoEditorController extends Disposable
48
48
  this._treeViewsDragAndDropService = _treeViewsDragAndDropService;
49
49
  this.treeItemsTransfer = LocalSelectionTransfer.getInstance();
50
50
  this._dropProgressManager = this._register(instantiationService.createInstance(InlineProgressManager, 'dropIntoEditor', editor));
51
- this._postDropWidgetManager = this._register(instantiationService.createInstance(PostEditWidgetManager, 'dropIntoEditor', editor, dropWidgetVisibleCtx, { id: changeDropTypeCommandId, label: localize(944, "Show drop options...") }, () => DropIntoEditorController_1._configureDefaultAction ? [DropIntoEditorController_1._configureDefaultAction] : []));
51
+ this._postDropWidgetManager = this._register(instantiationService.createInstance(PostEditWidgetManager, 'dropIntoEditor', editor, dropWidgetVisibleCtx, { id: changeDropTypeCommandId, label: localize(946, "Show drop options...") }, () => DropIntoEditorController_1._configureDefaultAction ? [DropIntoEditorController_1._configureDefaultAction] : []));
52
52
  this._register(editor.onDropIntoEditor(e => this.onDropIntoEditor(editor, e.position, e.event)));
53
53
  }
54
54
  clearWidgets() {
@@ -103,7 +103,7 @@ let DropIntoEditorController = class DropIntoEditorController extends Disposable
103
103
  }
104
104
  }
105
105
  });
106
- this._dropProgressManager.showWhile(position, localize(945, "Running drop handlers. Click to cancel"), p, { cancel: () => p.cancel() });
106
+ this._dropProgressManager.showWhile(position, localize(947, "Running drop handlers. Click to cancel"), p, { cancel: () => p.cancel() });
107
107
  DropIntoEditorController_1._currentDropOperation = p;
108
108
  }
109
109
  async getDropEdits(providers, model, position, dataTransfer, token) {
@@ -161,7 +161,7 @@ let PostEditWidgetManager = class PostEditWidgetManager extends Disposable {
161
161
  resolvedEdit = await raceCancellationError(resolve(edit, editorStateCts.token), editorStateCts.token);
162
162
  }
163
163
  catch (e) {
164
- return handleError(e, localize(946, "Error resolving edit '{0}':\n{1}", edit.title, toErrorMessage(e)));
164
+ return handleError(e, localize(948, "Error resolving edit '{0}':\n{1}", edit.title, toErrorMessage(e)));
165
165
  }
166
166
  finally {
167
167
  editorStateCts.dispose();
@@ -184,7 +184,7 @@ let PostEditWidgetManager = class PostEditWidgetManager extends Disposable {
184
184
  editRange = model.getDecorationRange(editTrackingDecoration[0]);
185
185
  }
186
186
  catch (e) {
187
- return handleError(e, localize(947, "Error applying edit '{0}':\n{1}", edit.title, toErrorMessage(e)));
187
+ return handleError(e, localize(949, "Error applying edit '{0}':\n{1}", edit.title, toErrorMessage(e)));
188
188
  }
189
189
  finally {
190
190
  model.deltaDecorations(editTrackingDecoration, []);
@@ -10,7 +10,7 @@ import { createDecorator } from '../../../../platform/instantiation/common/insta
10
10
  import { registerSingleton } from '../../../../platform/instantiation/common/extensions.js';
11
11
  import { localize } from '../../../../nls.js';
12
12
  const IEditorCancellationTokens = createDecorator('IEditorCancelService');
13
- const ctxCancellableOperation = new RawContextKey('cancellableOperation', false, localize(948, 'Whether the editor runs a cancellable operation, e.g. like \'Peek References\''));
13
+ const ctxCancellableOperation = new RawContextKey('cancellableOperation', false, localize(950, 'Whether the editor runs a cancellable operation, e.g. like \'Peek References\''));
14
14
  registerSingleton(IEditorCancellationTokens, class {
15
15
  constructor() {
16
16
  this._tokens = new WeakMap();