monaco-editor-core 0.55.0-dev-20251014 → 0.55.0-dev-20251016

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 (207) hide show
  1. package/esm/nls.keys.json +1 -1
  2. package/esm/nls.messages.cs.js +9 -0
  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 +9 -0
  12. package/esm/nls.messages.pt-br.js +9 -0
  13. package/esm/nls.messages.ru.js +2 -2
  14. package/esm/nls.messages.tr.js +9 -0
  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 +10 -0
  18. package/esm/vs/base/browser/canIUse.js +0 -1
  19. package/esm/vs/base/browser/canIUse.js.map +1 -1
  20. package/esm/vs/base/browser/domSanitize.js +31 -23
  21. package/esm/vs/base/browser/domSanitize.js.map +1 -1
  22. package/esm/vs/base/browser/dompurify/dompurify.js +188 -385
  23. package/esm/vs/base/browser/markdownRenderer.js +6 -1
  24. package/esm/vs/base/browser/markdownRenderer.js.map +1 -1
  25. package/esm/vs/base/browser/trustedTypes.js.map +1 -1
  26. package/esm/vs/base/browser/ui/codicons/codicon/codicon.ttf +0 -0
  27. package/esm/vs/base/browser/ui/toggle/toggle.js +6 -0
  28. package/esm/vs/base/browser/ui/toggle/toggle.js.map +1 -1
  29. package/esm/vs/base/common/codiconsLibrary.js +1 -0
  30. package/esm/vs/base/common/codiconsLibrary.js.map +1 -1
  31. package/esm/vs/base/common/objects.js +0 -1
  32. package/esm/vs/base/common/objects.js.map +1 -1
  33. package/esm/vs/editor/browser/controller/mouseTarget.js +2 -1
  34. package/esm/vs/editor/browser/controller/mouseTarget.js.map +1 -1
  35. package/esm/vs/editor/browser/coreCommands.js +4 -2
  36. package/esm/vs/editor/browser/coreCommands.js.map +1 -1
  37. package/esm/vs/editor/browser/services/abstractCodeEditorService.js +5 -0
  38. package/esm/vs/editor/browser/services/abstractCodeEditorService.js.map +1 -1
  39. package/esm/vs/editor/browser/services/codeEditorService.js.map +1 -1
  40. package/esm/vs/editor/browser/widget/diffEditor/components/diffEditorViewZones/copySelection.js +104 -0
  41. package/esm/vs/editor/browser/widget/diffEditor/components/diffEditorViewZones/copySelection.js.map +1 -0
  42. package/esm/vs/editor/browser/widget/diffEditor/components/diffEditorViewZones/diffEditorViewZones.js +3 -3
  43. package/esm/vs/editor/browser/widget/diffEditor/components/diffEditorViewZones/diffEditorViewZones.js.map +1 -1
  44. package/esm/vs/editor/browser/widget/diffEditor/components/diffEditorViewZones/inlineDiffDeletedCodeMargin.js +25 -24
  45. package/esm/vs/editor/browser/widget/diffEditor/components/diffEditorViewZones/inlineDiffDeletedCodeMargin.js.map +1 -1
  46. package/esm/vs/editor/browser/widget/diffEditor/diffEditor.contribution.js +5 -5
  47. package/esm/vs/editor/browser/widget/diffEditor/diffEditorWidget.js +7 -3
  48. package/esm/vs/editor/browser/widget/diffEditor/diffEditorWidget.js.map +1 -1
  49. package/esm/vs/editor/browser/widget/diffEditor/features/hideUnchangedRegionsFeature.js +7 -7
  50. package/esm/vs/editor/browser/widget/diffEditor/features/movedBlocksLinesFeature.js +2 -2
  51. package/esm/vs/editor/browser/widget/diffEditor/features/revertButtonsFeature.js +2 -2
  52. package/esm/vs/editor/browser/widget/diffEditor/registrations.contribution.js +5 -5
  53. package/esm/vs/editor/browser/widget/diffEditor/style.css +11 -0
  54. package/esm/vs/editor/browser/widget/multiDiffEditor/colors.js +3 -3
  55. package/esm/vs/editor/browser/widget/multiDiffEditor/multiDiffEditorWidgetImpl.js +2 -2
  56. package/esm/vs/editor/common/config/editorConfigurationSchema.js +54 -54
  57. package/esm/vs/editor/common/config/editorOptions.js +406 -406
  58. package/esm/vs/editor/common/core/editorColorRegistry.js +68 -68
  59. package/esm/vs/editor/common/cursor/cursorMoveCommands.js +10 -1
  60. package/esm/vs/editor/common/cursor/cursorMoveCommands.js.map +1 -1
  61. package/esm/vs/editor/common/editorContextKeys.js +46 -46
  62. package/esm/vs/editor/common/languages/modesRegistry.js +1 -1
  63. package/esm/vs/editor/common/languages.js +56 -56
  64. package/esm/vs/editor/common/model/editStack.js +1 -1
  65. package/esm/vs/editor/common/standaloneStrings.js +10 -10
  66. package/esm/vs/editor/common/viewLayout/viewLineRenderer.js +2 -2
  67. package/esm/vs/editor/contrib/anchorSelect/browser/anchorSelect.js +6 -6
  68. package/esm/vs/editor/contrib/bracketMatching/browser/bracketMatching.js +6 -6
  69. package/esm/vs/editor/contrib/caretOperations/browser/caretOperations.js +2 -2
  70. package/esm/vs/editor/contrib/caretOperations/browser/transpose.js +1 -1
  71. package/esm/vs/editor/contrib/clipboard/browser/clipboard.js +17 -17
  72. package/esm/vs/editor/contrib/codeAction/browser/codeAction.js +1 -1
  73. package/esm/vs/editor/contrib/codeAction/browser/codeActionCommands.js +29 -29
  74. package/esm/vs/editor/contrib/codeAction/browser/codeActionContributions.js +3 -3
  75. package/esm/vs/editor/contrib/codeAction/browser/codeActionController.js +3 -3
  76. package/esm/vs/editor/contrib/codeAction/browser/codeActionMenu.js +8 -8
  77. package/esm/vs/editor/contrib/codeAction/browser/lightBulbWidget.js +9 -9
  78. package/esm/vs/editor/contrib/codelens/browser/codelensController.js +2 -2
  79. package/esm/vs/editor/contrib/colorPicker/browser/colorPickerParts/colorPickerCloseButton.js +1 -1
  80. package/esm/vs/editor/contrib/colorPicker/browser/colorPickerParts/colorPickerHeader.js +1 -1
  81. package/esm/vs/editor/contrib/colorPicker/browser/standaloneColorPicker/standaloneColorPickerActions.js +7 -7
  82. package/esm/vs/editor/contrib/comment/browser/comment.js +6 -6
  83. package/esm/vs/editor/contrib/contextmenu/browser/contextmenu.js +13 -14
  84. package/esm/vs/editor/contrib/contextmenu/browser/contextmenu.js.map +1 -1
  85. package/esm/vs/editor/contrib/cursorUndo/browser/cursorUndo.js +2 -2
  86. package/esm/vs/editor/contrib/dropOrPasteInto/browser/copyPasteContribution.js +4 -4
  87. package/esm/vs/editor/contrib/dropOrPasteInto/browser/copyPasteController.js +9 -9
  88. package/esm/vs/editor/contrib/dropOrPasteInto/browser/defaultProviders.js +8 -8
  89. package/esm/vs/editor/contrib/dropOrPasteInto/browser/dropIntoEditorController.js +3 -3
  90. package/esm/vs/editor/contrib/dropOrPasteInto/browser/postEditWidget.js +2 -2
  91. package/esm/vs/editor/contrib/editorState/browser/keybindingCancellation.js +1 -1
  92. package/esm/vs/editor/contrib/find/browser/findController.js +16 -16
  93. package/esm/vs/editor/contrib/find/browser/findWidget.js +26 -26
  94. package/esm/vs/editor/contrib/folding/browser/folding.js +20 -20
  95. package/esm/vs/editor/contrib/folding/browser/foldingDecorations.js +9 -9
  96. package/esm/vs/editor/contrib/folding/browser/foldingDecorations.js.map +1 -1
  97. package/esm/vs/editor/contrib/fontZoom/browser/fontZoom.js +3 -3
  98. package/esm/vs/editor/contrib/format/browser/formatActions.js +2 -2
  99. package/esm/vs/editor/contrib/gotoError/browser/gotoError.js +8 -8
  100. package/esm/vs/editor/contrib/gotoError/browser/gotoErrorWidget.js +14 -14
  101. package/esm/vs/editor/contrib/gotoSymbol/browser/goToCommands.js +39 -39
  102. package/esm/vs/editor/contrib/gotoSymbol/browser/link/goToDefinitionAtPosition.js +1 -1
  103. package/esm/vs/editor/contrib/gotoSymbol/browser/peek/referencesController.js +3 -3
  104. package/esm/vs/editor/contrib/gotoSymbol/browser/peek/referencesTree.js +3 -3
  105. package/esm/vs/editor/contrib/gotoSymbol/browser/peek/referencesWidget.js +3 -3
  106. package/esm/vs/editor/contrib/gotoSymbol/browser/referencesModel.js +8 -8
  107. package/esm/vs/editor/contrib/gotoSymbol/browser/symbolNavigation.js +3 -3
  108. package/esm/vs/editor/contrib/gpu/browser/gpuActions.js +4 -4
  109. package/esm/vs/editor/contrib/hover/browser/hoverActionIds.js +2 -2
  110. package/esm/vs/editor/contrib/hover/browser/hoverActions.js +24 -24
  111. package/esm/vs/editor/contrib/hover/browser/markdownHoverParticipant.js +9 -9
  112. package/esm/vs/editor/contrib/hover/browser/markerHoverParticipant.js +5 -5
  113. package/esm/vs/editor/contrib/inPlaceReplace/browser/inPlaceReplace.js +2 -2
  114. package/esm/vs/editor/contrib/indentation/browser/indentation.js +20 -20
  115. package/esm/vs/editor/contrib/inlayHints/browser/inlayHintsHover.js +8 -8
  116. package/esm/vs/editor/contrib/inlineCompletions/browser/controller/commands.js +19 -19
  117. package/esm/vs/editor/contrib/inlineCompletions/browser/controller/inlineCompletionContextKeys.js +12 -12
  118. package/esm/vs/editor/contrib/inlineCompletions/browser/controller/inlineCompletionsController.js +15 -10
  119. package/esm/vs/editor/contrib/inlineCompletions/browser/controller/inlineCompletionsController.js.map +1 -1
  120. package/esm/vs/editor/contrib/inlineCompletions/browser/hintsWidget/hoverParticipant.js +1 -1
  121. package/esm/vs/editor/contrib/inlineCompletions/browser/hintsWidget/inlineCompletionsHintsWidget.js +5 -5
  122. package/esm/vs/editor/contrib/inlineCompletions/browser/view/inlineEdits/components/gutterIndicatorMenu.js +6 -6
  123. package/esm/vs/editor/contrib/inlineCompletions/browser/view/inlineEdits/inlineEditsModel.js +1 -1
  124. package/esm/vs/editor/contrib/inlineCompletions/browser/view/inlineEdits/theme.js +20 -20
  125. package/esm/vs/editor/contrib/insertFinalNewLine/browser/insertFinalNewLine.js +1 -1
  126. package/esm/vs/editor/contrib/lineSelection/browser/lineSelection.js +1 -1
  127. package/esm/vs/editor/contrib/linesOperations/browser/linesOperations.js +47 -37
  128. package/esm/vs/editor/contrib/linesOperations/browser/linesOperations.js.map +1 -1
  129. package/esm/vs/editor/contrib/linkedEditing/browser/linkedEditing.js +2 -2
  130. package/esm/vs/editor/contrib/links/browser/links.js +10 -10
  131. package/esm/vs/editor/contrib/message/browser/messageController.js +1 -1
  132. package/esm/vs/editor/contrib/multicursor/browser/multicursor.js +22 -22
  133. package/esm/vs/editor/contrib/parameterHints/browser/parameterHints.js +1 -1
  134. package/esm/vs/editor/contrib/parameterHints/browser/parameterHintsWidget.js +4 -4
  135. package/esm/vs/editor/contrib/peekView/browser/peekView.js +18 -18
  136. package/esm/vs/editor/contrib/placeholderText/browser/placeholderText.contribution.js +1 -1
  137. package/esm/vs/editor/contrib/quickAccess/browser/gotoLineQuickAccess.js +56 -10
  138. package/esm/vs/editor/contrib/quickAccess/browser/gotoLineQuickAccess.js.map +1 -1
  139. package/esm/vs/editor/contrib/quickAccess/browser/gotoSymbolQuickAccess.js +32 -32
  140. package/esm/vs/editor/contrib/readOnlyMessage/browser/contribution.js +2 -2
  141. package/esm/vs/editor/contrib/rename/browser/rename.js +11 -11
  142. package/esm/vs/editor/contrib/rename/browser/renameWidget.js +7 -7
  143. package/esm/vs/editor/contrib/smartSelect/browser/smartSelect.js +4 -4
  144. package/esm/vs/editor/contrib/snippet/browser/snippetController2.js +4 -4
  145. package/esm/vs/editor/contrib/snippet/browser/snippetVariables.js +4 -4
  146. package/esm/vs/editor/contrib/stickyScroll/browser/stickyScrollActions.js +11 -11
  147. package/esm/vs/editor/contrib/stickyScroll/browser/stickyScrollWidget.js +2 -2
  148. package/esm/vs/editor/contrib/stickyScroll/browser/stickyScrollWidget.js.map +1 -1
  149. package/esm/vs/editor/contrib/suggest/browser/suggest.js +8 -8
  150. package/esm/vs/editor/contrib/suggest/browser/suggestController.js +10 -10
  151. package/esm/vs/editor/contrib/suggest/browser/suggestWidget.js +17 -17
  152. package/esm/vs/editor/contrib/suggest/browser/suggestWidgetDetails.js +2 -2
  153. package/esm/vs/editor/contrib/suggest/browser/suggestWidgetRenderer.js +2 -2
  154. package/esm/vs/editor/contrib/suggest/browser/wordContextKey.js +1 -1
  155. package/esm/vs/editor/contrib/symbolIcons/browser/symbolIcons.js +33 -33
  156. package/esm/vs/editor/contrib/toggleTabFocusMode/browser/toggleTabFocusMode.js +4 -4
  157. package/esm/vs/editor/contrib/tokenization/browser/tokenization.js +1 -1
  158. package/esm/vs/editor/contrib/unicodeHighlighter/browser/bannerController.js +1 -1
  159. package/esm/vs/editor/contrib/unicodeHighlighter/browser/unicodeHighlighter.js +24 -24
  160. package/esm/vs/editor/contrib/unusualLineTerminators/browser/unusualLineTerminators.js +5 -5
  161. package/esm/vs/editor/contrib/wordHighlighter/browser/highlightDecorations.js +9 -9
  162. package/esm/vs/editor/contrib/wordHighlighter/browser/wordHighlighter.js +3 -3
  163. package/esm/vs/editor/contrib/wordOperations/browser/wordOperations.js +1 -1
  164. package/esm/vs/platform/accessibilitySignal/browser/accessibilitySignalService.js +62 -62
  165. package/esm/vs/platform/action/common/actionCommonCategories.js +6 -6
  166. package/esm/vs/platform/actionWidget/browser/actionList.js +4 -4
  167. package/esm/vs/platform/actionWidget/browser/actionWidget.js +7 -7
  168. package/esm/vs/platform/actions/browser/menuEntryActionViewItem.js +5 -5
  169. package/esm/vs/platform/actions/browser/toolbar.js +2 -2
  170. package/esm/vs/platform/actions/common/actions.js +0 -1
  171. package/esm/vs/platform/actions/common/actions.js.map +1 -1
  172. package/esm/vs/platform/actions/common/menuService.js +2 -2
  173. package/esm/vs/platform/configuration/common/configurationRegistry.js +10 -10
  174. package/esm/vs/platform/contextkey/browser/contextKeyService.js +1 -1
  175. package/esm/vs/platform/contextkey/common/contextkey.js +9 -9
  176. package/esm/vs/platform/contextkey/common/contextkeys.js +9 -9
  177. package/esm/vs/platform/contextkey/common/scanner.js +5 -5
  178. package/esm/vs/platform/history/browser/contextScopedHistoryWidget.js +1 -1
  179. package/esm/vs/platform/keybinding/common/abstractKeybindingService.js +4 -4
  180. package/esm/vs/platform/list/browser/listService.js +27 -27
  181. package/esm/vs/platform/markers/common/markerService.js +2 -2
  182. package/esm/vs/platform/markers/common/markers.js +6 -6
  183. package/esm/vs/platform/quickinput/browser/commandsQuickAccess.js +7 -7
  184. package/esm/vs/platform/quickinput/browser/helpQuickAccess.js +1 -1
  185. package/esm/vs/platform/quickinput/browser/quickInput.js +10 -10
  186. package/esm/vs/platform/quickinput/browser/quickInputActions.js +5 -5
  187. package/esm/vs/platform/quickinput/browser/quickInputController.js +6 -6
  188. package/esm/vs/platform/quickinput/browser/quickInputList.js +1 -1
  189. package/esm/vs/platform/quickinput/browser/quickInputUtils.js +1 -1
  190. package/esm/vs/platform/quickinput/browser/tree/quickInputTreeAccessibilityProvider.js +1 -1
  191. package/esm/vs/platform/quickinput/common/quickInput.js.map +1 -1
  192. package/esm/vs/platform/theme/common/colorUtils.js +2 -2
  193. package/esm/vs/platform/theme/common/colors/baseColors.js +17 -17
  194. package/esm/vs/platform/theme/common/colors/chartsColors.js +8 -8
  195. package/esm/vs/platform/theme/common/colors/editorColors.js +95 -95
  196. package/esm/vs/platform/theme/common/colors/inputColors.js +47 -47
  197. package/esm/vs/platform/theme/common/colors/listColors.js +36 -36
  198. package/esm/vs/platform/theme/common/colors/menuColors.js +7 -7
  199. package/esm/vs/platform/theme/common/colors/minimapColors.js +11 -11
  200. package/esm/vs/platform/theme/common/colors/miscColors.js +15 -15
  201. package/esm/vs/platform/theme/common/colors/quickpickColors.js +9 -9
  202. package/esm/vs/platform/theme/common/colors/searchColors.js +3 -3
  203. package/esm/vs/platform/theme/common/iconRegistry.js +6 -6
  204. package/esm/vs/platform/undoRedo/common/undoRedoService.js +20 -20
  205. package/esm/vs/platform/workspace/common/workspace.js +1 -1
  206. package/package.json +3 -3
  207. package/version.txt +1 -1
@@ -21,23 +21,23 @@ const argsSchema = {
21
21
  properties: {
22
22
  'kind': {
23
23
  type: 'string',
24
- description: nls.localize(827, "Kind of the code action to run."),
24
+ description: nls.localize(828, "Kind of the code action to run."),
25
25
  },
26
26
  'apply': {
27
27
  type: 'string',
28
- description: nls.localize(828, "Controls when the returned actions are applied."),
28
+ description: nls.localize(829, "Controls when the returned actions are applied."),
29
29
  default: "ifSingle" /* CodeActionAutoApply.IfSingle */,
30
30
  enum: ["first" /* CodeActionAutoApply.First */, "ifSingle" /* CodeActionAutoApply.IfSingle */, "never" /* CodeActionAutoApply.Never */],
31
31
  enumDescriptions: [
32
- nls.localize(829, "Always apply the first returned code action."),
33
- nls.localize(830, "Apply the first returned code action if it is the only one."),
34
- nls.localize(831, "Do not apply the returned code actions."),
32
+ nls.localize(830, "Always apply the first returned code action."),
33
+ nls.localize(831, "Apply the first returned code action if it is the only one."),
34
+ nls.localize(832, "Do not apply the returned code actions."),
35
35
  ]
36
36
  },
37
37
  'preferred': {
38
38
  type: 'boolean',
39
39
  default: false,
40
- description: nls.localize(832, "Controls if only preferred code actions should be returned."),
40
+ description: nls.localize(833, "Controls if only preferred code actions should be returned."),
41
41
  }
42
42
  }
43
43
  };
@@ -51,7 +51,7 @@ export class QuickFixAction extends EditorAction {
51
51
  constructor() {
52
52
  super({
53
53
  id: quickFixCommandId,
54
- label: nls.localize2(849, "Quick Fix..."),
54
+ label: nls.localize2(850, "Quick Fix..."),
55
55
  precondition: ContextKeyExpr.and(EditorContextKeys.writable, EditorContextKeys.hasCodeActionsProvider),
56
56
  kbOpts: {
57
57
  kbExpr: EditorContextKeys.textInputFocus,
@@ -61,7 +61,7 @@ export class QuickFixAction extends EditorAction {
61
61
  });
62
62
  }
63
63
  run(_accessor, editor) {
64
- return triggerCodeActionsForEditorSelection(editor, nls.localize(833, "No code actions available"), undefined, undefined, CodeActionTriggerSource.QuickFix);
64
+ return triggerCodeActionsForEditorSelection(editor, nls.localize(834, "No code actions available"), undefined, undefined, CodeActionTriggerSource.QuickFix);
65
65
  }
66
66
  }
67
67
  export class CodeActionCommand extends EditorCommand {
@@ -82,11 +82,11 @@ export class CodeActionCommand extends EditorCommand {
82
82
  });
83
83
  return triggerCodeActionsForEditorSelection(editor, typeof userArgs?.kind === 'string'
84
84
  ? args.preferred
85
- ? nls.localize(834, "No preferred code actions for '{0}' available", userArgs.kind)
86
- : nls.localize(835, "No code actions for '{0}' available", userArgs.kind)
85
+ ? nls.localize(835, "No preferred code actions for '{0}' available", userArgs.kind)
86
+ : nls.localize(836, "No code actions for '{0}' available", userArgs.kind)
87
87
  : args.preferred
88
- ? nls.localize(836, "No preferred code actions available")
89
- : nls.localize(837, "No code actions available"), {
88
+ ? nls.localize(837, "No preferred code actions available")
89
+ : nls.localize(838, "No code actions available"), {
90
90
  include: args.kind,
91
91
  includeSourceActions: true,
92
92
  onlyIncludePreferredActions: args.preferred,
@@ -97,7 +97,7 @@ export class RefactorAction extends EditorAction {
97
97
  constructor() {
98
98
  super({
99
99
  id: refactorCommandId,
100
- label: nls.localize2(850, "Refactor..."),
100
+ label: nls.localize2(851, "Refactor..."),
101
101
  precondition: ContextKeyExpr.and(EditorContextKeys.writable, EditorContextKeys.hasCodeActionsProvider),
102
102
  kbOpts: {
103
103
  kbExpr: EditorContextKeys.textInputFocus,
@@ -125,11 +125,11 @@ export class RefactorAction extends EditorAction {
125
125
  });
126
126
  return triggerCodeActionsForEditorSelection(editor, typeof userArgs?.kind === 'string'
127
127
  ? args.preferred
128
- ? nls.localize(838, "No preferred refactorings for '{0}' available", userArgs.kind)
129
- : nls.localize(839, "No refactorings for '{0}' available", userArgs.kind)
128
+ ? nls.localize(839, "No preferred refactorings for '{0}' available", userArgs.kind)
129
+ : nls.localize(840, "No refactorings for '{0}' available", userArgs.kind)
130
130
  : args.preferred
131
- ? nls.localize(840, "No preferred refactorings available")
132
- : nls.localize(841, "No refactorings available"), {
131
+ ? nls.localize(841, "No preferred refactorings available")
132
+ : nls.localize(842, "No refactorings available"), {
133
133
  include: CodeActionKind.Refactor.contains(args.kind) ? args.kind : HierarchicalKind.None,
134
134
  onlyIncludePreferredActions: args.preferred
135
135
  }, args.apply, CodeActionTriggerSource.Refactor);
@@ -139,7 +139,7 @@ export class SourceAction extends EditorAction {
139
139
  constructor() {
140
140
  super({
141
141
  id: sourceActionCommandId,
142
- label: nls.localize2(851, "Source Action..."),
142
+ label: nls.localize2(852, "Source Action..."),
143
143
  precondition: ContextKeyExpr.and(EditorContextKeys.writable, EditorContextKeys.hasCodeActionsProvider),
144
144
  contextMenuOpts: {
145
145
  group: '1_modification',
@@ -159,11 +159,11 @@ export class SourceAction extends EditorAction {
159
159
  });
160
160
  return triggerCodeActionsForEditorSelection(editor, typeof userArgs?.kind === 'string'
161
161
  ? args.preferred
162
- ? nls.localize(842, "No preferred source actions for '{0}' available", userArgs.kind)
163
- : nls.localize(843, "No source actions for '{0}' available", userArgs.kind)
162
+ ? nls.localize(843, "No preferred source actions for '{0}' available", userArgs.kind)
163
+ : nls.localize(844, "No source actions for '{0}' available", userArgs.kind)
164
164
  : args.preferred
165
- ? nls.localize(844, "No preferred source actions available")
166
- : nls.localize(845, "No source actions available"), {
165
+ ? nls.localize(845, "No preferred source actions available")
166
+ : nls.localize(846, "No source actions available"), {
167
167
  include: CodeActionKind.Source.contains(args.kind) ? args.kind : HierarchicalKind.None,
168
168
  includeSourceActions: true,
169
169
  onlyIncludePreferredActions: args.preferred,
@@ -174,7 +174,7 @@ export class OrganizeImportsAction extends EditorAction {
174
174
  constructor() {
175
175
  super({
176
176
  id: organizeImportsCommandId,
177
- label: nls.localize2(852, "Organize Imports"),
177
+ label: nls.localize2(853, "Organize Imports"),
178
178
  precondition: ContextKeyExpr.and(EditorContextKeys.writable, contextKeyForSupportedActions(CodeActionKind.SourceOrganizeImports)),
179
179
  kbOpts: {
180
180
  kbExpr: EditorContextKeys.textInputFocus,
@@ -182,31 +182,31 @@ export class OrganizeImportsAction extends EditorAction {
182
182
  weight: 100 /* KeybindingWeight.EditorContrib */
183
183
  },
184
184
  metadata: {
185
- description: nls.localize2(853, "Organize imports in the current file. Also called 'Optimize Imports' by some tools")
185
+ description: nls.localize2(854, "Organize imports in the current file. Also called 'Optimize Imports' by some tools")
186
186
  }
187
187
  });
188
188
  }
189
189
  run(_accessor, editor) {
190
- return triggerCodeActionsForEditorSelection(editor, nls.localize(846, "No organize imports action available"), { include: CodeActionKind.SourceOrganizeImports, includeSourceActions: true }, "ifSingle" /* CodeActionAutoApply.IfSingle */, CodeActionTriggerSource.OrganizeImports);
190
+ return triggerCodeActionsForEditorSelection(editor, nls.localize(847, "No organize imports action available"), { include: CodeActionKind.SourceOrganizeImports, includeSourceActions: true }, "ifSingle" /* CodeActionAutoApply.IfSingle */, CodeActionTriggerSource.OrganizeImports);
191
191
  }
192
192
  }
193
193
  export class FixAllAction extends EditorAction {
194
194
  constructor() {
195
195
  super({
196
196
  id: fixAllCommandId,
197
- label: nls.localize2(854, "Fix All"),
197
+ label: nls.localize2(855, "Fix All"),
198
198
  precondition: ContextKeyExpr.and(EditorContextKeys.writable, contextKeyForSupportedActions(CodeActionKind.SourceFixAll))
199
199
  });
200
200
  }
201
201
  run(_accessor, editor) {
202
- return triggerCodeActionsForEditorSelection(editor, nls.localize(847, "No fix all action available"), { include: CodeActionKind.SourceFixAll, includeSourceActions: true }, "ifSingle" /* CodeActionAutoApply.IfSingle */, CodeActionTriggerSource.FixAll);
202
+ return triggerCodeActionsForEditorSelection(editor, nls.localize(848, "No fix all action available"), { include: CodeActionKind.SourceFixAll, includeSourceActions: true }, "ifSingle" /* CodeActionAutoApply.IfSingle */, CodeActionTriggerSource.FixAll);
203
203
  }
204
204
  }
205
205
  export class AutoFixAction extends EditorAction {
206
206
  constructor() {
207
207
  super({
208
208
  id: autoFixCommandId,
209
- label: nls.localize2(855, "Auto Fix..."),
209
+ label: nls.localize2(856, "Auto Fix..."),
210
210
  precondition: ContextKeyExpr.and(EditorContextKeys.writable, contextKeyForSupportedActions(CodeActionKind.QuickFix)),
211
211
  kbOpts: {
212
212
  kbExpr: EditorContextKeys.textInputFocus,
@@ -219,7 +219,7 @@ export class AutoFixAction extends EditorAction {
219
219
  });
220
220
  }
221
221
  run(_accessor, editor) {
222
- return triggerCodeActionsForEditorSelection(editor, nls.localize(848, "No auto fixes available"), {
222
+ return triggerCodeActionsForEditorSelection(editor, nls.localize(849, "No auto fixes available"), {
223
223
  include: CodeActionKind.QuickFix,
224
224
  onlyIncludePreferredActions: true
225
225
  }, "ifSingle" /* CodeActionAutoApply.IfSingle */, CodeActionTriggerSource.AutoFix);
@@ -25,7 +25,7 @@ Registry.as(Extensions.Configuration).registerConfiguration({
25
25
  'editor.codeActionWidget.showHeaders': {
26
26
  type: 'boolean',
27
27
  scope: 6 /* ConfigurationScope.LANGUAGE_OVERRIDABLE */,
28
- description: nls.localize(856, "Enable/disable showing group headers in the Code Action menu."),
28
+ description: nls.localize(857, "Enable/disable showing group headers in the Code Action menu."),
29
29
  default: true,
30
30
  },
31
31
  }
@@ -36,7 +36,7 @@ Registry.as(Extensions.Configuration).registerConfiguration({
36
36
  'editor.codeActionWidget.includeNearbyQuickFixes': {
37
37
  type: 'boolean',
38
38
  scope: 6 /* ConfigurationScope.LANGUAGE_OVERRIDABLE */,
39
- description: nls.localize(857, "Enable/disable showing nearest Quick Fix within a line when not currently on a diagnostic."),
39
+ description: nls.localize(858, "Enable/disable showing nearest Quick Fix within a line when not currently on a diagnostic."),
40
40
  default: true,
41
41
  },
42
42
  }
@@ -47,7 +47,7 @@ Registry.as(Extensions.Configuration).registerConfiguration({
47
47
  'editor.codeActions.triggerOnFocusChange': {
48
48
  type: 'boolean',
49
49
  scope: 6 /* ConfigurationScope.LANGUAGE_OVERRIDABLE */,
50
- markdownDescription: nls.localize(858, 'Enable triggering {0} when {1} is set to {2}. Code Actions must be set to {3} to be triggered for window and focus changes.', '`#editor.codeActionsOnSave#`', '`#files.autoSave#`', '`afterDelay`', '`always`'),
50
+ markdownDescription: nls.localize(859, 'Enable triggering {0} when {1} is set to {2}. Code Actions must be set to {3} to be triggered for window and focus changes.', '`#editor.codeActionsOnSave#`', '`#files.autoSave#`', '`afterDelay`', '`always`'),
51
51
  default: false,
52
52
  },
53
53
  }
@@ -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(859, "Context: {0} at line {1} and column {2}.", selectionText, diagnostic.startLineNumber, diagnostic.startColumn));
270
+ aria.status(localize(860, "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(860, 'Hide Disabled'),
313
+ label: localize(861, '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(861, 'Show Disabled'),
323
+ label: localize(862, '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(862, 'More Actions...') });
11
+ const uncategorizedCodeActionGroup = Object.freeze({ kind: HierarchicalKind.Empty, title: localize(863, 'More Actions...') });
12
12
  const codeActionGroups = Object.freeze([
13
- { kind: CodeActionKind.QuickFix, title: localize(863, 'Quick Fix') },
14
- { kind: CodeActionKind.RefactorExtract, title: localize(864, 'Extract'), icon: Codicon.wrench },
15
- { kind: CodeActionKind.RefactorInline, title: localize(865, 'Inline'), icon: Codicon.wrench },
16
- { kind: CodeActionKind.RefactorRewrite, title: localize(866, 'Rewrite'), icon: Codicon.wrench },
17
- { kind: CodeActionKind.RefactorMove, title: localize(867, 'Move'), icon: Codicon.wrench },
18
- { kind: CodeActionKind.SurroundWith, title: localize(868, 'Surround With'), icon: Codicon.surroundWith },
19
- { kind: CodeActionKind.Source, title: localize(869, 'Source Action'), icon: Codicon.symbolFile },
13
+ { kind: CodeActionKind.QuickFix, title: localize(864, 'Quick Fix') },
14
+ { kind: CodeActionKind.RefactorExtract, title: localize(865, 'Extract'), icon: Codicon.wrench },
15
+ { kind: CodeActionKind.RefactorInline, title: localize(866, 'Inline'), icon: Codicon.wrench },
16
+ { kind: CodeActionKind.RefactorRewrite, title: localize(867, 'Rewrite'), icon: Codicon.wrench },
17
+ { kind: CodeActionKind.RefactorMove, title: localize(868, 'Move'), icon: Codicon.wrench },
18
+ { kind: CodeActionKind.SurroundWith, title: localize(869, 'Surround With'), icon: Codicon.surroundWith },
19
+ { kind: CodeActionKind.Source, title: localize(870, '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(870, '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(871, '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(872, '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(873, '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(874, '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(871, '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(872, '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(873, '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(874, '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(875, '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(875, "Run: {0}", this.state.actions.validActions[0].action.title);
406
+ this.title = nls.localize(876, "Run: {0}", this.state.actions.validActions[0].action.title);
407
407
  }
408
408
  else if (autoFix && this._preferredKbLabel) {
409
- this.title = nls.localize(876, "Show Code Actions. Preferred Quick Fix Available ({0})", this._preferredKbLabel);
409
+ this.title = nls.localize(877, "Show Code Actions. Preferred Quick Fix Available ({0})", this._preferredKbLabel);
410
410
  }
411
411
  else if (!autoFix && this._quickFixKbLabel) {
412
- this.title = nls.localize(877, "Show Code Actions ({0})", this._quickFixKbLabel);
412
+ this.title = nls.localize(878, "Show Code Actions ({0})", this._quickFixKbLabel);
413
413
  }
414
414
  else if (!autoFix) {
415
- this.title = nls.localize(878, "Show Code Actions");
415
+ this.title = nls.localize(879, "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(880, "Show CodeLens Commands for Current Line"),
407
+ label: localize2(881, "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(879, "Select a command")
442
+ placeHolder: localize(880, "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(881, 'Icon to close the color picker')))));
25
+ const closeButton = dom.append(innerDiv, $('.button' + ThemeIcon.asCSSSelector(registerIcon('color-picker-close', Codicon.close, localize(882, '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(882, "Click to toggle color options (rgb/hsl/hex)");
25
+ const tooltip = localize(883, "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) || '';
@@ -12,15 +12,15 @@ export class ShowOrFocusStandaloneColorPicker extends EditorAction2 {
12
12
  super({
13
13
  id: 'editor.action.showOrFocusStandaloneColorPicker',
14
14
  title: {
15
- ...localize2(884, "Show or Focus Standalone Color Picker"),
16
- mnemonicTitle: localize(883, "&&Show or Focus Standalone Color Picker"),
15
+ ...localize2(885, "Show or Focus Standalone Color Picker"),
16
+ mnemonicTitle: localize(884, "&&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(885, "Show or focus a standalone color picker which uses the default color provider. It displays hex/rgb/hsl colors."),
23
+ description: localize2(886, "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(886, "Hide the Color Picker"),
35
+ label: localize2(887, "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(887, "Hide the standalone color picker."),
47
+ description: localize2(888, "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(888, "Insert Color with Standalone Color Picker"),
59
+ label: localize2(889, "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(889, "Insert hex/rgb/hsl colors with the focused standalone color picker."),
71
+ description: localize2(890, "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(892, "Toggle Line Comment"),
59
+ label: nls.localize2(893, "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(890, "&&Toggle Line Comment"),
69
+ title: nls.localize(891, "&&Toggle Line Comment"),
70
70
  order: 1
71
71
  }
72
72
  });
@@ -76,7 +76,7 @@ class AddLineCommentAction extends CommentLineAction {
76
76
  constructor() {
77
77
  super(1 /* Type.ForceAdd */, {
78
78
  id: 'editor.action.addCommentLine',
79
- label: nls.localize2(893, "Add Line Comment"),
79
+ label: nls.localize2(894, "Add Line Comment"),
80
80
  precondition: EditorContextKeys.writable,
81
81
  kbOpts: {
82
82
  kbExpr: EditorContextKeys.editorTextFocus,
@@ -90,7 +90,7 @@ class RemoveLineCommentAction extends CommentLineAction {
90
90
  constructor() {
91
91
  super(2 /* Type.ForceRemove */, {
92
92
  id: 'editor.action.removeCommentLine',
93
- label: nls.localize2(894, "Remove Line Comment"),
93
+ label: nls.localize2(895, "Remove Line Comment"),
94
94
  precondition: EditorContextKeys.writable,
95
95
  kbOpts: {
96
96
  kbExpr: EditorContextKeys.editorTextFocus,
@@ -104,7 +104,7 @@ class BlockCommentAction extends EditorAction {
104
104
  constructor() {
105
105
  super({
106
106
  id: 'editor.action.blockComment',
107
- label: nls.localize2(895, "Toggle Block Comment"),
107
+ label: nls.localize2(896, "Toggle Block Comment"),
108
108
  precondition: EditorContextKeys.writable,
109
109
  kbOpts: {
110
110
  kbExpr: EditorContextKeys.editorTextFocus,
@@ -115,7 +115,7 @@ class BlockCommentAction extends EditorAction {
115
115
  menuOpts: {
116
116
  menuId: MenuId.MenubarEditMenu,
117
117
  group: '5_insert',
118
- title: nls.localize(891, "Toggle &&Block Comment"),
118
+ title: nls.localize(892, "Toggle &&Block Comment"),
119
119
  order: 2
120
120
  }
121
121
  });
@@ -188,10 +188,9 @@ let ContextMenuController = class ContextMenuController {
188
188
  if (keybinding) {
189
189
  return new ActionViewItem(action, action, { label: true, keybinding: keybinding.getLabel(), isMenu: true });
190
190
  }
191
- // eslint-disable-next-line local/code-no-any-casts
192
- const customActionViewItem = action;
193
- if (typeof customActionViewItem.getActionViewItem === 'function') {
194
- return customActionViewItem.getActionViewItem();
191
+ const customAction = action;
192
+ if (typeof customAction.getActionViewItem === 'function') {
193
+ return customAction.getActionViewItem();
195
194
  }
196
195
  return new ActionViewItem(action, action, { icon: true, label: true, isMenu: true });
197
196
  },
@@ -248,7 +247,7 @@ let ContextMenuController = class ContextMenuController {
248
247
  };
249
248
  const actions = [];
250
249
  actions.push(createAction({
251
- label: nls.localize(896, "Minimap"),
250
+ label: nls.localize(897, "Minimap"),
252
251
  checked: minimapOptions.enabled,
253
252
  run: () => {
254
253
  this._configurationService.updateValue(`editor.minimap.enabled`, !minimapOptions.enabled);
@@ -256,28 +255,28 @@ let ContextMenuController = class ContextMenuController {
256
255
  }));
257
256
  actions.push(new Separator());
258
257
  actions.push(createAction({
259
- label: nls.localize(897, "Render Characters"),
258
+ label: nls.localize(898, "Render Characters"),
260
259
  enabled: minimapOptions.enabled,
261
260
  checked: minimapOptions.renderCharacters,
262
261
  run: () => {
263
262
  this._configurationService.updateValue(`editor.minimap.renderCharacters`, !minimapOptions.renderCharacters);
264
263
  }
265
264
  }));
266
- actions.push(createEnumAction(nls.localize(898, "Vertical size"), minimapOptions.enabled, 'editor.minimap.size', minimapOptions.size, [{
267
- label: nls.localize(899, "Proportional"),
265
+ actions.push(createEnumAction(nls.localize(899, "Vertical size"), minimapOptions.enabled, 'editor.minimap.size', minimapOptions.size, [{
266
+ label: nls.localize(900, "Proportional"),
268
267
  value: 'proportional'
269
268
  }, {
270
- label: nls.localize(900, "Fill"),
269
+ label: nls.localize(901, "Fill"),
271
270
  value: 'fill'
272
271
  }, {
273
- label: nls.localize(901, "Fit"),
272
+ label: nls.localize(902, "Fit"),
274
273
  value: 'fit'
275
274
  }]));
276
- actions.push(createEnumAction(nls.localize(902, "Slider"), minimapOptions.enabled, 'editor.minimap.showSlider', minimapOptions.showSlider, [{
277
- label: nls.localize(903, "Mouse Over"),
275
+ actions.push(createEnumAction(nls.localize(903, "Slider"), minimapOptions.enabled, 'editor.minimap.showSlider', minimapOptions.showSlider, [{
276
+ label: nls.localize(904, "Mouse Over"),
278
277
  value: 'mouseover'
279
278
  }, {
280
- label: nls.localize(904, "Always"),
279
+ label: nls.localize(905, "Always"),
281
280
  value: 'always'
282
281
  }]));
283
282
  const useShadowDOM = this._editor.getOption(144 /* EditorOption.useShadowDOM */) && !isIOS; // Do not use shadow dom on IOS #122035
@@ -316,7 +315,7 @@ class ShowContextMenu extends EditorAction {
316
315
  constructor() {
317
316
  super({
318
317
  id: 'editor.action.showContextMenu',
319
- label: nls.localize2(905, "Show Editor Context Menu"),
318
+ label: nls.localize2(906, "Show Editor Context Menu"),
320
319
  precondition: undefined,
321
320
  kbOpts: {
322
321
  kbExpr: EditorContextKeys.textInputFocus,