monaco-editor-core 0.54.0-dev-20250910 → 0.54.0-dev-20250911

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 (247) hide show
  1. package/esm/nls.keys.json +1 -1
  2. package/esm/nls.messages.de.js +2 -2
  3. package/esm/nls.messages.es.js +2 -2
  4. package/esm/nls.messages.fr.js +2 -2
  5. package/esm/nls.messages.it.js +2 -2
  6. package/esm/nls.messages.ja.js +2 -2
  7. package/esm/nls.messages.js +1 -1
  8. package/esm/nls.messages.json +1 -1
  9. package/esm/nls.messages.ko.js +2 -2
  10. package/esm/nls.messages.ru.js +2 -2
  11. package/esm/nls.messages.zh-cn.js +2 -2
  12. package/esm/nls.messages.zh-tw.js +2 -2
  13. package/esm/nls.metadata.json +8 -2
  14. package/esm/vs/base/browser/domSanitize.js +32 -21
  15. package/esm/vs/base/browser/domSanitize.js.map +1 -1
  16. package/esm/vs/base/browser/ui/codicons/codicon/codicon.ttf +0 -0
  17. package/esm/vs/base/common/codiconsLibrary.js +2 -0
  18. package/esm/vs/base/common/codiconsLibrary.js.map +1 -1
  19. package/esm/vs/editor/browser/config/editorConfiguration.js +1 -1
  20. package/esm/vs/editor/browser/controller/dragScrolling.js +4 -4
  21. package/esm/vs/editor/browser/controller/editContext/native/nativeEditContext.js +3 -3
  22. package/esm/vs/editor/browser/controller/editContext/native/screenReaderContentRich.js +3 -3
  23. package/esm/vs/editor/browser/controller/editContext/native/screenReaderSupport.js +6 -6
  24. package/esm/vs/editor/browser/controller/editContext/textArea/textAreaEditContext.js +9 -9
  25. package/esm/vs/editor/browser/controller/mouseHandler.js +6 -6
  26. package/esm/vs/editor/browser/controller/mouseTarget.js +3 -3
  27. package/esm/vs/editor/browser/coreCommands.js +2 -2
  28. package/esm/vs/editor/browser/gpu/rectangleRenderer.js +1 -1
  29. package/esm/vs/editor/browser/gpu/viewGpuContext.js +1 -1
  30. package/esm/vs/editor/browser/observableCodeEditor.js +1 -1
  31. package/esm/vs/editor/browser/view/viewController.js +2 -2
  32. package/esm/vs/editor/browser/view/viewLayer.js +1 -1
  33. package/esm/vs/editor/browser/view/viewOverlays.js +4 -4
  34. package/esm/vs/editor/browser/view.js +5 -5
  35. package/esm/vs/editor/browser/viewParts/blockDecorations/blockDecorations.js +1 -1
  36. package/esm/vs/editor/browser/viewParts/contentWidgets/contentWidgets.js +3 -3
  37. package/esm/vs/editor/browser/viewParts/currentLineHighlight/currentLineHighlight.js +6 -6
  38. package/esm/vs/editor/browser/viewParts/editorScrollbar/editorScrollbar.js +8 -8
  39. package/esm/vs/editor/browser/viewParts/glyphMargin/glyphMargin.js +2 -2
  40. package/esm/vs/editor/browser/viewParts/indentGuides/indentGuides.js +2 -2
  41. package/esm/vs/editor/browser/viewParts/lineNumbers/lineNumbers.js +2 -2
  42. package/esm/vs/editor/browser/viewParts/linesDecorations/linesDecorations.js +2 -2
  43. package/esm/vs/editor/browser/viewParts/margin/margin.js +2 -2
  44. package/esm/vs/editor/browser/viewParts/minimap/minimap.js +5 -5
  45. package/esm/vs/editor/browser/viewParts/overlayWidgets/overlayWidgets.js +2 -2
  46. package/esm/vs/editor/browser/viewParts/overviewRuler/decorationsOverviewRuler.js +4 -4
  47. package/esm/vs/editor/browser/viewParts/overviewRuler/overviewRuler.js +3 -3
  48. package/esm/vs/editor/browser/viewParts/rulers/rulers.js +2 -2
  49. package/esm/vs/editor/browser/viewParts/rulersGpu/rulersGpu.js +1 -1
  50. package/esm/vs/editor/browser/viewParts/scrollDecoration/scrollDecoration.js +3 -3
  51. package/esm/vs/editor/browser/viewParts/selections/selections.js +2 -2
  52. package/esm/vs/editor/browser/viewParts/viewCursors/viewCursor.js +2 -2
  53. package/esm/vs/editor/browser/viewParts/viewCursors/viewCursors.js +6 -6
  54. package/esm/vs/editor/browser/viewParts/viewLines/viewLineOptions.js +4 -4
  55. package/esm/vs/editor/browser/viewParts/viewLines/viewLines.js +11 -11
  56. package/esm/vs/editor/browser/viewParts/viewLinesGpu/viewLinesGpu.js +1 -1
  57. package/esm/vs/editor/browser/viewParts/viewZones/viewZones.js +2 -2
  58. package/esm/vs/editor/browser/viewParts/whitespace/whitespace.js +4 -4
  59. package/esm/vs/editor/browser/widget/codeEditor/codeEditorWidget.js +12 -12
  60. package/esm/vs/editor/browser/widget/diffEditor/components/accessibleDiffViewer.js +4 -4
  61. package/esm/vs/editor/browser/widget/diffEditor/components/diffEditorViewZones/diffEditorViewZones.js +3 -3
  62. package/esm/vs/editor/browser/widget/diffEditor/components/diffEditorViewZones/inlineDiffDeletedCodeMargin.js +2 -2
  63. package/esm/vs/editor/browser/widget/diffEditor/components/diffEditorViewZones/renderLines.js +2 -2
  64. package/esm/vs/editor/browser/widget/diffEditor/features/gutterFeature.js +1 -1
  65. package/esm/vs/editor/browser/widget/diffEditor/features/overviewRulerFeature.js +1 -1
  66. package/esm/vs/editor/common/config/editorOptions.js +155 -154
  67. package/esm/vs/editor/common/config/editorOptions.js.map +1 -1
  68. package/esm/vs/editor/common/core/editorColorRegistry.js +68 -68
  69. package/esm/vs/editor/common/cursorCommon.js +19 -19
  70. package/esm/vs/editor/common/editorContextKeys.js +46 -46
  71. package/esm/vs/editor/common/languages/modesRegistry.js +1 -1
  72. package/esm/vs/editor/common/languages.js +56 -56
  73. package/esm/vs/editor/common/model/editStack.js +1 -1
  74. package/esm/vs/editor/common/standalone/standaloneEnums.js +86 -85
  75. package/esm/vs/editor/common/standalone/standaloneEnums.js.map +1 -1
  76. package/esm/vs/editor/common/standaloneStrings.js +10 -10
  77. package/esm/vs/editor/common/viewLayout/viewLayout.js +15 -15
  78. package/esm/vs/editor/common/viewLayout/viewLineRenderer.js +2 -2
  79. package/esm/vs/editor/common/viewModel/monospaceLineBreaksComputer.js +1 -1
  80. package/esm/vs/editor/common/viewModel/viewModelImpl.js +14 -14
  81. package/esm/vs/editor/contrib/anchorSelect/browser/anchorSelect.js +6 -6
  82. package/esm/vs/editor/contrib/bracketMatching/browser/bracketMatching.js +6 -6
  83. package/esm/vs/editor/contrib/caretOperations/browser/caretOperations.js +2 -2
  84. package/esm/vs/editor/contrib/caretOperations/browser/transpose.js +1 -1
  85. package/esm/vs/editor/contrib/clipboard/browser/clipboard.js +20 -20
  86. package/esm/vs/editor/contrib/codeAction/browser/codeAction.js +1 -1
  87. package/esm/vs/editor/contrib/codeAction/browser/codeActionCommands.js +29 -29
  88. package/esm/vs/editor/contrib/codeAction/browser/codeActionContributions.js +3 -3
  89. package/esm/vs/editor/contrib/codeAction/browser/codeActionController.js +3 -3
  90. package/esm/vs/editor/contrib/codeAction/browser/codeActionMenu.js +8 -8
  91. package/esm/vs/editor/contrib/codeAction/browser/codeActionModel.js +1 -1
  92. package/esm/vs/editor/contrib/codeAction/browser/lightBulbWidget.js +9 -9
  93. package/esm/vs/editor/contrib/codelens/browser/codelensController.js +2 -2
  94. package/esm/vs/editor/contrib/colorPicker/browser/colorDetector.js +3 -3
  95. package/esm/vs/editor/contrib/colorPicker/browser/colorPickerParts/colorPickerCloseButton.js +1 -1
  96. package/esm/vs/editor/contrib/colorPicker/browser/colorPickerParts/colorPickerHeader.js +1 -1
  97. package/esm/vs/editor/contrib/colorPicker/browser/hoverColorPicker/hoverColorPickerContribution.js +1 -1
  98. package/esm/vs/editor/contrib/colorPicker/browser/hoverColorPicker/hoverColorPickerParticipant.js +2 -2
  99. package/esm/vs/editor/contrib/colorPicker/browser/standaloneColorPicker/standaloneColorPickerActions.js +7 -7
  100. package/esm/vs/editor/contrib/colorPicker/browser/standaloneColorPicker/standaloneColorPickerParticipant.js +1 -1
  101. package/esm/vs/editor/contrib/comment/browser/comment.js +6 -6
  102. package/esm/vs/editor/contrib/contextmenu/browser/contextmenu.js +12 -12
  103. package/esm/vs/editor/contrib/cursorUndo/browser/cursorUndo.js +2 -2
  104. package/esm/vs/editor/contrib/dropOrPasteInto/browser/copyPasteContribution.js +4 -4
  105. package/esm/vs/editor/contrib/dropOrPasteInto/browser/copyPasteController.js +12 -12
  106. package/esm/vs/editor/contrib/dropOrPasteInto/browser/defaultProviders.js +8 -8
  107. package/esm/vs/editor/contrib/dropOrPasteInto/browser/dropIntoEditorController.js +3 -3
  108. package/esm/vs/editor/contrib/dropOrPasteInto/browser/postEditWidget.js +2 -2
  109. package/esm/vs/editor/contrib/editorState/browser/keybindingCancellation.js +1 -1
  110. package/esm/vs/editor/contrib/find/browser/findController.js +17 -17
  111. package/esm/vs/editor/contrib/find/browser/findModel.js +6 -6
  112. package/esm/vs/editor/contrib/find/browser/findWidget.js +32 -32
  113. package/esm/vs/editor/contrib/folding/browser/folding.js +23 -23
  114. package/esm/vs/editor/contrib/folding/browser/foldingDecorations.js +9 -9
  115. package/esm/vs/editor/contrib/folding/browser/foldingDecorations.js.map +1 -1
  116. package/esm/vs/editor/contrib/fontZoom/browser/fontZoom.js +3 -3
  117. package/esm/vs/editor/contrib/format/browser/formatActions.js +2 -2
  118. package/esm/vs/editor/contrib/gotoError/browser/gotoError.js +8 -8
  119. package/esm/vs/editor/contrib/gotoError/browser/gotoErrorWidget.js +14 -14
  120. package/esm/vs/editor/contrib/gotoSymbol/browser/goToCommands.js +39 -39
  121. package/esm/vs/editor/contrib/gotoSymbol/browser/link/clickLinkGesture.js +21 -11
  122. package/esm/vs/editor/contrib/gotoSymbol/browser/link/clickLinkGesture.js.map +1 -1
  123. package/esm/vs/editor/contrib/gotoSymbol/browser/link/goToDefinitionAtPosition.js +2 -2
  124. package/esm/vs/editor/contrib/gotoSymbol/browser/peek/referencesController.js +4 -4
  125. package/esm/vs/editor/contrib/gotoSymbol/browser/peek/referencesTree.js +3 -3
  126. package/esm/vs/editor/contrib/gotoSymbol/browser/peek/referencesWidget.js +3 -3
  127. package/esm/vs/editor/contrib/gotoSymbol/browser/referencesModel.js +8 -8
  128. package/esm/vs/editor/contrib/gotoSymbol/browser/symbolNavigation.js +3 -3
  129. package/esm/vs/editor/contrib/gpu/browser/gpuActions.js +4 -4
  130. package/esm/vs/editor/contrib/hover/browser/hoverActionIds.js +2 -2
  131. package/esm/vs/editor/contrib/hover/browser/hoverActions.js +24 -24
  132. package/esm/vs/editor/contrib/hover/browser/markdownHoverParticipant.js +10 -10
  133. package/esm/vs/editor/contrib/hover/browser/markerHoverParticipant.js +6 -6
  134. package/esm/vs/editor/contrib/inPlaceReplace/browser/inPlaceReplace.js +2 -2
  135. package/esm/vs/editor/contrib/indentation/browser/indentation.js +20 -20
  136. package/esm/vs/editor/contrib/inlayHints/browser/inlayHintsController.js +5 -5
  137. package/esm/vs/editor/contrib/inlayHints/browser/inlayHintsHover.js +8 -8
  138. package/esm/vs/editor/contrib/inlayHints/browser/inlayHintsLocations.js +2 -2
  139. package/esm/vs/editor/contrib/inlineCompletions/browser/controller/commands.js +19 -19
  140. package/esm/vs/editor/contrib/inlineCompletions/browser/controller/inlineCompletionContextKeys.js +12 -12
  141. package/esm/vs/editor/contrib/inlineCompletions/browser/controller/inlineCompletionsController.js +2 -2
  142. package/esm/vs/editor/contrib/inlineCompletions/browser/hintsWidget/hoverParticipant.js +1 -1
  143. package/esm/vs/editor/contrib/inlineCompletions/browser/hintsWidget/inlineCompletionsHintsWidget.js +5 -5
  144. package/esm/vs/editor/contrib/inlineCompletions/browser/model/inlineCompletionsModel.js +1 -1
  145. package/esm/vs/editor/contrib/inlineCompletions/browser/view/ghostText/ghostTextView.js +5 -5
  146. package/esm/vs/editor/contrib/inlineCompletions/browser/view/inlineEdits/components/gutterIndicatorMenu.js +5 -5
  147. package/esm/vs/editor/contrib/inlineCompletions/browser/view/inlineEdits/inlineEditsModel.js +1 -1
  148. package/esm/vs/editor/contrib/inlineCompletions/browser/view/inlineEdits/theme.js +20 -20
  149. package/esm/vs/editor/contrib/insertFinalNewLine/browser/insertFinalNewLine.js +1 -1
  150. package/esm/vs/editor/contrib/lineSelection/browser/lineSelection.js +1 -1
  151. package/esm/vs/editor/contrib/linesOperations/browser/linesOperations.js +32 -32
  152. package/esm/vs/editor/contrib/linkedEditing/browser/linkedEditing.js +4 -4
  153. package/esm/vs/editor/contrib/links/browser/links.js +11 -11
  154. package/esm/vs/editor/contrib/links/browser/links.js.map +1 -1
  155. package/esm/vs/editor/contrib/longLinesHelper/browser/longLinesHelper.js +1 -1
  156. package/esm/vs/editor/contrib/message/browser/messageController.js +1 -1
  157. package/esm/vs/editor/contrib/middleScroll/browser/middleScrollController.js +1 -1
  158. package/esm/vs/editor/contrib/multicursor/browser/multicursor.js +36 -36
  159. package/esm/vs/editor/contrib/parameterHints/browser/parameterHints.js +1 -1
  160. package/esm/vs/editor/contrib/parameterHints/browser/parameterHintsModel.js +3 -3
  161. package/esm/vs/editor/contrib/parameterHints/browser/parameterHintsWidget.js +4 -4
  162. package/esm/vs/editor/contrib/peekView/browser/peekView.js +18 -18
  163. package/esm/vs/editor/contrib/placeholderText/browser/placeholderText.contribution.js +1 -1
  164. package/esm/vs/editor/contrib/placeholderText/browser/placeholderTextContribution.js +1 -1
  165. package/esm/vs/editor/contrib/placeholderText/browser/placeholderTextContribution.js.map +1 -1
  166. package/esm/vs/editor/contrib/quickAccess/browser/gotoLineQuickAccess.js +5 -5
  167. package/esm/vs/editor/contrib/quickAccess/browser/gotoSymbolQuickAccess.js +32 -32
  168. package/esm/vs/editor/contrib/readOnlyMessage/browser/contribution.js +3 -3
  169. package/esm/vs/editor/contrib/rename/browser/rename.js +11 -11
  170. package/esm/vs/editor/contrib/rename/browser/renameWidget.js +7 -7
  171. package/esm/vs/editor/contrib/smartSelect/browser/smartSelect.js +5 -5
  172. package/esm/vs/editor/contrib/snippet/browser/snippetController2.js +4 -4
  173. package/esm/vs/editor/contrib/snippet/browser/snippetSession.js +2 -2
  174. package/esm/vs/editor/contrib/snippet/browser/snippetVariables.js +4 -4
  175. package/esm/vs/editor/contrib/stickyScroll/browser/stickyScrollActions.js +11 -11
  176. package/esm/vs/editor/contrib/stickyScroll/browser/stickyScrollController.js +17 -24
  177. package/esm/vs/editor/contrib/stickyScroll/browser/stickyScrollController.js.map +1 -1
  178. package/esm/vs/editor/contrib/stickyScroll/browser/stickyScrollModelProvider.js +1 -1
  179. package/esm/vs/editor/contrib/stickyScroll/browser/stickyScrollProvider.js +12 -3
  180. package/esm/vs/editor/contrib/stickyScroll/browser/stickyScrollProvider.js.map +1 -1
  181. package/esm/vs/editor/contrib/stickyScroll/browser/stickyScrollWidget.js +5 -5
  182. package/esm/vs/editor/contrib/suggest/browser/suggest.js +8 -8
  183. package/esm/vs/editor/contrib/suggest/browser/suggestController.js +14 -14
  184. package/esm/vs/editor/contrib/suggest/browser/suggestInlineCompletions.js +2 -2
  185. package/esm/vs/editor/contrib/suggest/browser/suggestModel.js +11 -11
  186. package/esm/vs/editor/contrib/suggest/browser/suggestWidget.js +23 -23
  187. package/esm/vs/editor/contrib/suggest/browser/suggestWidgetDetails.js +5 -5
  188. package/esm/vs/editor/contrib/suggest/browser/suggestWidgetRenderer.js +5 -5
  189. package/esm/vs/editor/contrib/suggest/browser/wordContextKey.js +3 -3
  190. package/esm/vs/editor/contrib/suggest/browser/wordDistance.js +1 -1
  191. package/esm/vs/editor/contrib/symbolIcons/browser/symbolIcons.js +33 -33
  192. package/esm/vs/editor/contrib/toggleTabFocusMode/browser/toggleTabFocusMode.js +4 -4
  193. package/esm/vs/editor/contrib/tokenization/browser/tokenization.js +1 -1
  194. package/esm/vs/editor/contrib/unicodeHighlighter/browser/bannerController.js +1 -1
  195. package/esm/vs/editor/contrib/unicodeHighlighter/browser/unicodeHighlighter.js +27 -27
  196. package/esm/vs/editor/contrib/unusualLineTerminators/browser/unusualLineTerminators.js +9 -9
  197. package/esm/vs/editor/contrib/wordHighlighter/browser/highlightDecorations.js +9 -9
  198. package/esm/vs/editor/contrib/wordHighlighter/browser/wordHighlighter.js +7 -7
  199. package/esm/vs/editor/contrib/wordOperations/browser/wordOperations.js +4 -4
  200. package/esm/vs/editor/editor.api.d.ts +93 -85
  201. package/esm/vs/editor/standalone/browser/iPadShowKeyboard/iPadShowKeyboard.js +1 -1
  202. package/esm/vs/platform/accessibilitySignal/browser/accessibilitySignalService.js +62 -62
  203. package/esm/vs/platform/action/common/actionCommonCategories.js +6 -6
  204. package/esm/vs/platform/actionWidget/browser/actionList.js +4 -4
  205. package/esm/vs/platform/actionWidget/browser/actionWidget.js +7 -7
  206. package/esm/vs/platform/actions/browser/menuEntryActionViewItem.js +5 -5
  207. package/esm/vs/platform/actions/browser/toolbar.js +2 -2
  208. package/esm/vs/platform/actions/common/menuService.js +2 -2
  209. package/esm/vs/platform/configuration/common/configurationRegistry.js +10 -10
  210. package/esm/vs/platform/contextkey/browser/contextKeyService.js +1 -1
  211. package/esm/vs/platform/contextkey/common/contextkey.js +9 -9
  212. package/esm/vs/platform/contextkey/common/contextkeys.js +9 -9
  213. package/esm/vs/platform/contextkey/common/scanner.js +5 -5
  214. package/esm/vs/platform/history/browser/contextScopedHistoryWidget.js +1 -1
  215. package/esm/vs/platform/keybinding/common/abstractKeybindingService.js +4 -4
  216. package/esm/vs/platform/list/browser/listService.js +27 -27
  217. package/esm/vs/platform/markers/common/markerService.js +2 -2
  218. package/esm/vs/platform/markers/common/markers.js +6 -6
  219. package/esm/vs/platform/quickinput/browser/commandsQuickAccess.js +7 -7
  220. package/esm/vs/platform/quickinput/browser/helpQuickAccess.js +1 -1
  221. package/esm/vs/platform/quickinput/browser/quickInput.js +20 -12
  222. package/esm/vs/platform/quickinput/browser/quickInput.js.map +1 -1
  223. package/esm/vs/platform/quickinput/browser/quickInputActions.js +42 -8
  224. package/esm/vs/platform/quickinput/browser/quickInputActions.js.map +1 -1
  225. package/esm/vs/platform/quickinput/browser/quickInputController.js +6 -64
  226. package/esm/vs/platform/quickinput/browser/quickInputController.js.map +1 -1
  227. package/esm/vs/platform/quickinput/browser/quickInputList.js +1 -1
  228. package/esm/vs/platform/quickinput/browser/quickInputUtils.js +1 -1
  229. package/esm/vs/platform/quickinput/browser/tree/quickInputTreeAccessibilityProvider.js +1 -1
  230. package/esm/vs/platform/quickinput/common/quickInput.js.map +1 -1
  231. package/esm/vs/platform/theme/common/colorUtils.js +2 -2
  232. package/esm/vs/platform/theme/common/colors/baseColors.js +17 -17
  233. package/esm/vs/platform/theme/common/colors/chartsColors.js +8 -8
  234. package/esm/vs/platform/theme/common/colors/editorColors.js +95 -95
  235. package/esm/vs/platform/theme/common/colors/inputColors.js +47 -47
  236. package/esm/vs/platform/theme/common/colors/listColors.js +36 -36
  237. package/esm/vs/platform/theme/common/colors/menuColors.js +7 -7
  238. package/esm/vs/platform/theme/common/colors/minimapColors.js +11 -11
  239. package/esm/vs/platform/theme/common/colors/miscColors.js +15 -15
  240. package/esm/vs/platform/theme/common/colors/quickpickColors.js +9 -9
  241. package/esm/vs/platform/theme/common/colors/searchColors.js +3 -3
  242. package/esm/vs/platform/theme/common/iconRegistry.js +6 -6
  243. package/esm/vs/platform/undoRedo/common/undoRedoService.js +20 -20
  244. package/esm/vs/platform/workspace/common/workspace.js +1 -1
  245. package/monaco.d.ts +93 -85
  246. package/package.json +2 -2
  247. package/version.txt +1 -1
@@ -169,7 +169,7 @@ let MarkerHoverParticipant = class MarkerHoverParticipant {
169
169
  const markerController = MarkerController.get(this._editor);
170
170
  if (markerController) {
171
171
  context.statusBar.addAction({
172
- label: nls.localize(1129, "View Problem"),
172
+ label: nls.localize(1130, "View Problem"),
173
173
  commandId: NextMarkerAction.ID,
174
174
  run: () => {
175
175
  context.hide();
@@ -179,19 +179,19 @@ let MarkerHoverParticipant = class MarkerHoverParticipant {
179
179
  });
180
180
  }
181
181
  }
182
- if (!this._editor.getOption(103 /* EditorOption.readOnly */)) {
182
+ if (!this._editor.getOption(104 /* EditorOption.readOnly */)) {
183
183
  const quickfixPlaceholderElement = context.statusBar.append($('div'));
184
184
  if (this.recentMarkerCodeActionsInfo) {
185
185
  if (IMarkerData.makeKey(this.recentMarkerCodeActionsInfo.marker) === IMarkerData.makeKey(markerHover.marker)) {
186
186
  if (!this.recentMarkerCodeActionsInfo.hasCodeActions) {
187
- quickfixPlaceholderElement.textContent = nls.localize(1130, "No quick fixes available");
187
+ quickfixPlaceholderElement.textContent = nls.localize(1131, "No quick fixes available");
188
188
  }
189
189
  }
190
190
  else {
191
191
  this.recentMarkerCodeActionsInfo = undefined;
192
192
  }
193
193
  }
194
- const updatePlaceholderDisposable = this.recentMarkerCodeActionsInfo && !this.recentMarkerCodeActionsInfo.hasCodeActions ? Disposable.None : disposableTimeout(() => quickfixPlaceholderElement.textContent = nls.localize(1131, "Checking for quick fixes..."), 200, disposables);
194
+ const updatePlaceholderDisposable = this.recentMarkerCodeActionsInfo && !this.recentMarkerCodeActionsInfo.hasCodeActions ? Disposable.None : disposableTimeout(() => quickfixPlaceholderElement.textContent = nls.localize(1132, "Checking for quick fixes..."), 200, disposables);
195
195
  if (!quickfixPlaceholderElement.textContent) {
196
196
  // Have some content in here to avoid flickering
197
197
  quickfixPlaceholderElement.textContent = String.fromCharCode(0xA0); //  
@@ -203,7 +203,7 @@ let MarkerHoverParticipant = class MarkerHoverParticipant {
203
203
  this.recentMarkerCodeActionsInfo = { marker: markerHover.marker, hasCodeActions: actions.validActions.length > 0 };
204
204
  if (!this.recentMarkerCodeActionsInfo.hasCodeActions) {
205
205
  actions.dispose();
206
- quickfixPlaceholderElement.textContent = nls.localize(1132, "No quick fixes available");
206
+ quickfixPlaceholderElement.textContent = nls.localize(1133, "No quick fixes available");
207
207
  return;
208
208
  }
209
209
  quickfixPlaceholderElement.style.display = 'none';
@@ -214,7 +214,7 @@ let MarkerHoverParticipant = class MarkerHoverParticipant {
214
214
  }
215
215
  }));
216
216
  context.statusBar.addAction({
217
- label: nls.localize(1133, "Quick Fix..."),
217
+ label: nls.localize(1134, "Quick Fix..."),
218
218
  commandId: quickFixCommandId,
219
219
  run: (target) => {
220
220
  showing = true;
@@ -107,7 +107,7 @@ class InPlaceReplaceUp extends EditorAction {
107
107
  constructor() {
108
108
  super({
109
109
  id: 'editor.action.inPlaceReplace.up',
110
- label: nls.localize2(1227, "Replace with Previous Value"),
110
+ label: nls.localize2(1228, "Replace with Previous Value"),
111
111
  precondition: EditorContextKeys.writable,
112
112
  kbOpts: {
113
113
  kbExpr: EditorContextKeys.editorTextFocus,
@@ -128,7 +128,7 @@ class InPlaceReplaceDown extends EditorAction {
128
128
  constructor() {
129
129
  super({
130
130
  id: 'editor.action.inPlaceReplace.down',
131
- label: nls.localize2(1228, "Replace with Next Value"),
131
+ label: nls.localize2(1229, "Replace with Next Value"),
132
132
  precondition: EditorContextKeys.writable,
133
133
  kbOpts: {
134
134
  kbExpr: EditorContextKeys.editorTextFocus,
@@ -30,10 +30,10 @@ export class IndentationToSpacesAction extends EditorAction {
30
30
  constructor() {
31
31
  super({
32
32
  id: IndentationToSpacesAction.ID,
33
- label: nls.localize2(1138, "Convert Indentation to Spaces"),
33
+ label: nls.localize2(1139, "Convert Indentation to Spaces"),
34
34
  precondition: EditorContextKeys.writable,
35
35
  metadata: {
36
- description: nls.localize2(1139, "Convert the tab indentation to spaces."),
36
+ description: nls.localize2(1140, "Convert the tab indentation to spaces."),
37
37
  }
38
38
  });
39
39
  }
@@ -61,10 +61,10 @@ export class IndentationToTabsAction extends EditorAction {
61
61
  constructor() {
62
62
  super({
63
63
  id: IndentationToTabsAction.ID,
64
- label: nls.localize2(1140, "Convert Indentation to Tabs"),
64
+ label: nls.localize2(1141, "Convert Indentation to Tabs"),
65
65
  precondition: EditorContextKeys.writable,
66
66
  metadata: {
67
- description: nls.localize2(1141, "Convert the spaces indentation to tabs."),
67
+ description: nls.localize2(1142, "Convert the spaces indentation to tabs."),
68
68
  }
69
69
  });
70
70
  }
@@ -107,17 +107,17 @@ export class ChangeIndentationSizeAction extends EditorAction {
107
107
  label: n.toString(),
108
108
  // add description for tabSize value set in the configuration
109
109
  description: (n === creationOpts.tabSize && n === modelOpts.tabSize
110
- ? nls.localize(1134, "Configured Tab Size")
110
+ ? nls.localize(1135, "Configured Tab Size")
111
111
  : n === creationOpts.tabSize
112
- ? nls.localize(1135, "Default Tab Size")
112
+ ? nls.localize(1136, "Default Tab Size")
113
113
  : n === modelOpts.tabSize
114
- ? nls.localize(1136, "Current Tab Size")
114
+ ? nls.localize(1137, "Current Tab Size")
115
115
  : undefined)
116
116
  }));
117
117
  // auto focus the tabSize set for the current editor
118
118
  const autoFocusIndex = Math.min(model.getOptions().tabSize - 1, 7);
119
119
  setTimeout(() => {
120
- quickInputService.pick(picks, { placeHolder: nls.localize(1137, "Select Tab Size for Current File"), activeItem: picks[autoFocusIndex] }).then(pick => {
120
+ quickInputService.pick(picks, { placeHolder: nls.localize(1138, "Select Tab Size for Current File"), activeItem: picks[autoFocusIndex] }).then(pick => {
121
121
  if (pick) {
122
122
  if (model && !model.isDisposed()) {
123
123
  const pickedVal = parseInt(pick.label, 10);
@@ -144,10 +144,10 @@ export class IndentUsingTabs extends ChangeIndentationSizeAction {
144
144
  constructor() {
145
145
  super(false, false, {
146
146
  id: IndentUsingTabs.ID,
147
- label: nls.localize2(1142, "Indent Using Tabs"),
147
+ label: nls.localize2(1143, "Indent Using Tabs"),
148
148
  precondition: undefined,
149
149
  metadata: {
150
- description: nls.localize2(1143, "Use indentation with tabs."),
150
+ description: nls.localize2(1144, "Use indentation with tabs."),
151
151
  }
152
152
  });
153
153
  }
@@ -157,10 +157,10 @@ export class IndentUsingSpaces extends ChangeIndentationSizeAction {
157
157
  constructor() {
158
158
  super(true, false, {
159
159
  id: IndentUsingSpaces.ID,
160
- label: nls.localize2(1144, "Indent Using Spaces"),
160
+ label: nls.localize2(1145, "Indent Using Spaces"),
161
161
  precondition: undefined,
162
162
  metadata: {
163
- description: nls.localize2(1145, "Use indentation with spaces."),
163
+ description: nls.localize2(1146, "Use indentation with spaces."),
164
164
  }
165
165
  });
166
166
  }
@@ -170,10 +170,10 @@ export class ChangeTabDisplaySize extends ChangeIndentationSizeAction {
170
170
  constructor() {
171
171
  super(true, true, {
172
172
  id: ChangeTabDisplaySize.ID,
173
- label: nls.localize2(1146, "Change Tab Display Size"),
173
+ label: nls.localize2(1147, "Change Tab Display Size"),
174
174
  precondition: undefined,
175
175
  metadata: {
176
- description: nls.localize2(1147, "Change the space size equivalent of the tab."),
176
+ description: nls.localize2(1148, "Change the space size equivalent of the tab."),
177
177
  }
178
178
  });
179
179
  }
@@ -183,10 +183,10 @@ export class DetectIndentation extends EditorAction {
183
183
  constructor() {
184
184
  super({
185
185
  id: DetectIndentation.ID,
186
- label: nls.localize2(1148, "Detect Indentation from Content"),
186
+ label: nls.localize2(1149, "Detect Indentation from Content"),
187
187
  precondition: undefined,
188
188
  metadata: {
189
- description: nls.localize2(1149, "Detect the indentation from content."),
189
+ description: nls.localize2(1150, "Detect the indentation from content."),
190
190
  }
191
191
  });
192
192
  }
@@ -204,10 +204,10 @@ export class ReindentLinesAction extends EditorAction {
204
204
  constructor() {
205
205
  super({
206
206
  id: 'editor.action.reindentlines',
207
- label: nls.localize2(1150, "Reindent Lines"),
207
+ label: nls.localize2(1151, "Reindent Lines"),
208
208
  precondition: EditorContextKeys.writable,
209
209
  metadata: {
210
- description: nls.localize2(1151, "Reindent the lines of the editor."),
210
+ description: nls.localize2(1152, "Reindent the lines of the editor."),
211
211
  }
212
212
  });
213
213
  }
@@ -229,10 +229,10 @@ export class ReindentSelectedLinesAction extends EditorAction {
229
229
  constructor() {
230
230
  super({
231
231
  id: 'editor.action.reindentselectedlines',
232
- label: nls.localize2(1152, "Reindent Selected Lines"),
232
+ label: nls.localize2(1153, "Reindent Selected Lines"),
233
233
  precondition: EditorContextKeys.writable,
234
234
  metadata: {
235
- description: nls.localize2(1153, "Reindent the selected lines of the editor."),
235
+ description: nls.localize2(1154, "Reindent the selected lines of the editor."),
236
236
  }
237
237
  });
238
238
  }
@@ -108,7 +108,7 @@ let InlayHintsController = class InlayHintsController {
108
108
  this._disposables.add(_editor.onDidChangeModel(() => this._update()));
109
109
  this._disposables.add(_editor.onDidChangeModelLanguage(() => this._update()));
110
110
  this._disposables.add(_editor.onDidChangeConfiguration(e => {
111
- if (e.hasChanged(158 /* EditorOption.inlayHints */)) {
111
+ if (e.hasChanged(159 /* EditorOption.inlayHints */)) {
112
112
  this._update();
113
113
  }
114
114
  }));
@@ -122,7 +122,7 @@ let InlayHintsController = class InlayHintsController {
122
122
  _update() {
123
123
  this._sessionDisposables.clear();
124
124
  this._removeAllDecorations();
125
- const options = this._editor.getOption(158 /* EditorOption.inlayHints */);
125
+ const options = this._editor.getOption(159 /* EditorOption.inlayHints */);
126
126
  if (options.enabled === 'off') {
127
127
  return;
128
128
  }
@@ -231,7 +231,7 @@ let InlayHintsController = class InlayHintsController {
231
231
  scheduler.schedule();
232
232
  }));
233
233
  this._sessionDisposables.add(this._editor.onDidChangeConfiguration(e => {
234
- if (e.hasChanged(158 /* EditorOption.inlayHints */)) {
234
+ if (e.hasChanged(159 /* EditorOption.inlayHints */)) {
235
235
  scheduler.schedule();
236
236
  }
237
237
  }));
@@ -469,7 +469,7 @@ let InlayHintsController = class InlayHintsController {
469
469
  };
470
470
  //
471
471
  const { fontSize, fontFamily, padding, isUniform } = this._getLayoutInfo();
472
- const maxLength = this._editor.getOption(158 /* EditorOption.inlayHints */).maximumLength;
472
+ const maxLength = this._editor.getOption(159 /* EditorOption.inlayHints */).maximumLength;
473
473
  const fontFamilyVar = '--code-editorInlayHintsFontFamily';
474
474
  this._editor.getContainerDomNode().style.setProperty(fontFamilyVar, fontFamily);
475
475
  let currentLineInfo = { line: 0, totalLen: 0 };
@@ -605,7 +605,7 @@ let InlayHintsController = class InlayHintsController {
605
605
  }
606
606
  }
607
607
  _getLayoutInfo() {
608
- const options = this._editor.getOption(158 /* EditorOption.inlayHints */);
608
+ const options = this._editor.getOption(159 /* EditorOption.inlayHints */);
609
609
  const padding = options.padding;
610
610
  const editorFontSize = this._editor.getOption(61 /* EditorOption.fontSize */);
611
611
  const editorFontFamily = this._editor.getOption(58 /* EditorOption.fontFamily */);
@@ -83,7 +83,7 @@ let InlayHintsHover = class InlayHintsHover extends MarkdownHoverParticipant {
83
83
  }
84
84
  // (1.2) Inlay dbl-click gesture
85
85
  if (isNonEmptyArray(part.item.hint.textEdits)) {
86
- executor.emitOne(new MarkdownHover(this, anchor.range, [new MarkdownString().appendText(localize(1154, "Double-click to insert"))], false, 10001));
86
+ executor.emitOne(new MarkdownHover(this, anchor.range, [new MarkdownString().appendText(localize(1155, "Double-click to insert"))], false, 10001));
87
87
  }
88
88
  // (2) Inlay Label Part Tooltip
89
89
  let partTooltip;
@@ -102,19 +102,19 @@ let InlayHintsHover = class InlayHintsHover extends MarkdownHoverParticipant {
102
102
  const useMetaKey = this._editor.getOption(86 /* EditorOption.multiCursorModifier */) === 'altKey';
103
103
  const kb = useMetaKey
104
104
  ? platform.isMacintosh
105
- ? localize(1155, "cmd + click")
106
- : localize(1156, "ctrl + click")
105
+ ? localize(1156, "cmd + click")
106
+ : localize(1157, "ctrl + click")
107
107
  : platform.isMacintosh
108
- ? localize(1157, "option + click")
109
- : localize(1158, "alt + click");
108
+ ? localize(1158, "option + click")
109
+ : localize(1159, "alt + click");
110
110
  if (part.part.location && part.part.command) {
111
- linkHint = new MarkdownString().appendText(localize(1159, 'Go to Definition ({0}), right click for more', kb));
111
+ linkHint = new MarkdownString().appendText(localize(1160, 'Go to Definition ({0}), right click for more', kb));
112
112
  }
113
113
  else if (part.part.location) {
114
- linkHint = new MarkdownString().appendText(localize(1160, 'Go to Definition ({0})', kb));
114
+ linkHint = new MarkdownString().appendText(localize(1161, 'Go to Definition ({0})', kb));
115
115
  }
116
116
  else if (part.part.command) {
117
- linkHint = new MarkdownString(`[${localize(1161, "Execute Command")}](${asCommandLink(part.part.command)} "${part.part.command.title}") (${kb})`, { isTrusted: true });
117
+ linkHint = new MarkdownString(`[${localize(1162, "Execute Command")}](${asCommandLink(part.part.command)} "${part.part.command.title}") (${kb})`, { isTrusted: true });
118
118
  }
119
119
  if (linkHint) {
120
120
  executor.emitOne(new MarkdownHover(this, anchor.range, [linkHint], false, 10000));
@@ -64,7 +64,7 @@ export async function showGoToContextMenu(accessor, editor, anchor, part) {
64
64
  }));
65
65
  }
66
66
  // show context menu
67
- const useShadowDOM = editor.getOption(143 /* EditorOption.useShadowDOM */);
67
+ const useShadowDOM = editor.getOption(144 /* EditorOption.useShadowDOM */);
68
68
  contextMenuService.showContextMenu({
69
69
  domForShadowRoot: useShadowDOM ? editor.getDomNode() ?? undefined : undefined,
70
70
  getAnchor: () => {
@@ -85,7 +85,7 @@ export async function goToDefinitionWithLocation(accessor, event, editor, locati
85
85
  const openToSide = event.hasSideBySideModifier;
86
86
  const contextKeyService = accessor.get(IContextKeyService);
87
87
  const isInPeek = PeekContext.inPeekEditor.getValue(contextKeyService);
88
- const canPeek = !openToSide && editor.getOption(100 /* EditorOption.definitionLinkOpensInPeek */) && !isInPeek;
88
+ const canPeek = !openToSide && editor.getOption(101 /* EditorOption.definitionLinkOpensInPeek */) && !isInPeek;
89
89
  const action = new DefinitionAction({ openToSide, openInPeek: canPeek, muteMessage: true }, { title: { value: '', original: '' }, id: '', precondition: undefined });
90
90
  return action.run(accessor, new SymbolNavigationAnchor(ref.object.textEditorModel, Range.getStartPosition(location.range)), Range.lift(location.range));
91
91
  });
@@ -23,7 +23,7 @@ export class ShowNextInlineSuggestionAction extends EditorAction {
23
23
  constructor() {
24
24
  super({
25
25
  id: ShowNextInlineSuggestionAction.ID,
26
- label: nls.localize2(1171, "Show Next Inline Suggestion"),
26
+ label: nls.localize2(1172, "Show Next Inline Suggestion"),
27
27
  precondition: ContextKeyExpr.and(EditorContextKeys.writable, InlineCompletionContextKeys.inlineSuggestionVisible),
28
28
  kbOpts: {
29
29
  weight: 100,
@@ -41,7 +41,7 @@ export class ShowPreviousInlineSuggestionAction extends EditorAction {
41
41
  constructor() {
42
42
  super({
43
43
  id: ShowPreviousInlineSuggestionAction.ID,
44
- label: nls.localize2(1172, "Show Previous Inline Suggestion"),
44
+ label: nls.localize2(1173, "Show Previous Inline Suggestion"),
45
45
  precondition: ContextKeyExpr.and(EditorContextKeys.writable, InlineCompletionContextKeys.inlineSuggestionVisible),
46
46
  kbOpts: {
47
47
  weight: 100,
@@ -58,7 +58,7 @@ export class TriggerInlineSuggestionAction extends EditorAction {
58
58
  constructor() {
59
59
  super({
60
60
  id: 'editor.action.inlineSuggest.trigger',
61
- label: nls.localize2(1173, "Trigger Inline Suggestion"),
61
+ label: nls.localize2(1174, "Trigger Inline Suggestion"),
62
62
  precondition: EditorContextKeys.writable
63
63
  });
64
64
  }
@@ -75,7 +75,7 @@ export class ExplicitTriggerInlineEditAction extends EditorAction {
75
75
  constructor() {
76
76
  super({
77
77
  id: 'editor.action.inlineSuggest.triggerInlineEditExplicit',
78
- label: nls.localize2(1174, "Trigger Next Edit Suggestion"),
78
+ label: nls.localize2(1175, "Trigger Next Edit Suggestion"),
79
79
  precondition: EditorContextKeys.writable,
80
80
  });
81
81
  }
@@ -86,7 +86,7 @@ export class ExplicitTriggerInlineEditAction extends EditorAction {
86
86
  if (!controller?.model.get()?.inlineEditAvailable.get()) {
87
87
  notificationService.notify({
88
88
  severity: Severity.Info,
89
- message: nls.localize(1162, "No inline edit is available.")
89
+ message: nls.localize(1163, "No inline edit is available.")
90
90
  });
91
91
  }
92
92
  }
@@ -107,7 +107,7 @@ export class AcceptNextWordOfInlineCompletion extends EditorAction {
107
107
  constructor() {
108
108
  super({
109
109
  id: 'editor.action.inlineSuggest.acceptNextWord',
110
- label: nls.localize2(1175, "Accept Next Word Of Inline Suggestion"),
110
+ label: nls.localize2(1176, "Accept Next Word Of Inline Suggestion"),
111
111
  precondition: ContextKeyExpr.and(EditorContextKeys.writable, InlineCompletionContextKeys.inlineSuggestionVisible),
112
112
  kbOpts: {
113
113
  weight: 100 /* KeybindingWeight.EditorContrib */ + 1,
@@ -116,7 +116,7 @@ export class AcceptNextWordOfInlineCompletion extends EditorAction {
116
116
  },
117
117
  menuOpts: [{
118
118
  menuId: MenuId.InlineSuggestionToolbar,
119
- title: nls.localize(1163, 'Accept Word'),
119
+ title: nls.localize(1164, 'Accept Word'),
120
120
  group: 'primary',
121
121
  order: 2,
122
122
  }],
@@ -131,14 +131,14 @@ export class AcceptNextLineOfInlineCompletion extends EditorAction {
131
131
  constructor() {
132
132
  super({
133
133
  id: 'editor.action.inlineSuggest.acceptNextLine',
134
- label: nls.localize2(1176, "Accept Next Line Of Inline Suggestion"),
134
+ label: nls.localize2(1177, "Accept Next Line Of Inline Suggestion"),
135
135
  precondition: ContextKeyExpr.and(EditorContextKeys.writable, InlineCompletionContextKeys.inlineSuggestionVisible),
136
136
  kbOpts: {
137
137
  weight: 100 /* KeybindingWeight.EditorContrib */ + 1,
138
138
  },
139
139
  menuOpts: [{
140
140
  menuId: MenuId.InlineSuggestionToolbar,
141
- title: nls.localize(1164, 'Accept Line'),
141
+ title: nls.localize(1165, 'Accept Line'),
142
142
  group: 'secondary',
143
143
  order: 2,
144
144
  }],
@@ -153,16 +153,16 @@ export class AcceptInlineCompletion extends EditorAction {
153
153
  constructor() {
154
154
  super({
155
155
  id: inlineSuggestCommitId,
156
- label: nls.localize2(1177, "Accept Inline Suggestion"),
156
+ label: nls.localize2(1178, "Accept Inline Suggestion"),
157
157
  precondition: ContextKeyExpr.or(InlineCompletionContextKeys.inlineSuggestionVisible, InlineCompletionContextKeys.inlineEditVisible),
158
158
  menuOpts: [{
159
159
  menuId: MenuId.InlineSuggestionToolbar,
160
- title: nls.localize(1165, "Accept"),
160
+ title: nls.localize(1166, "Accept"),
161
161
  group: 'primary',
162
162
  order: 2,
163
163
  }, {
164
164
  menuId: MenuId.InlineEditsActions,
165
- title: nls.localize(1166, "Accept"),
165
+ title: nls.localize(1167, "Accept"),
166
166
  group: 'primary',
167
167
  order: 2,
168
168
  }],
@@ -193,11 +193,11 @@ export class JumpToNextInlineEdit extends EditorAction {
193
193
  constructor() {
194
194
  super({
195
195
  id: jumpToNextInlineEditId,
196
- label: nls.localize2(1178, "Jump to next inline edit"),
196
+ label: nls.localize2(1179, "Jump to next inline edit"),
197
197
  precondition: InlineCompletionContextKeys.inlineEditVisible,
198
198
  menuOpts: [{
199
199
  menuId: MenuId.InlineEditsActions,
200
- title: nls.localize(1167, "Jump"),
200
+ title: nls.localize(1168, "Jump"),
201
201
  group: 'primary',
202
202
  order: 1,
203
203
  when: InlineCompletionContextKeys.cursorAtInlineEdit.toNegated(),
@@ -221,7 +221,7 @@ export class HideInlineCompletion extends EditorAction {
221
221
  constructor() {
222
222
  super({
223
223
  id: HideInlineCompletion.ID,
224
- label: nls.localize2(1179, "Hide Inline Suggestion"),
224
+ label: nls.localize2(1180, "Hide Inline Suggestion"),
225
225
  precondition: ContextKeyExpr.or(InlineCompletionContextKeys.inlineSuggestionVisible, InlineCompletionContextKeys.inlineEditVisible),
226
226
  kbOpts: {
227
227
  weight: 100 /* KeybindingWeight.EditorContrib */ + 90, // same as hiding the suggest widget
@@ -229,7 +229,7 @@ export class HideInlineCompletion extends EditorAction {
229
229
  },
230
230
  menuOpts: [{
231
231
  menuId: MenuId.InlineEditsActions,
232
- title: nls.localize(1168, "Reject"),
232
+ title: nls.localize(1169, "Reject"),
233
233
  group: 'primary',
234
234
  order: 3,
235
235
  }]
@@ -248,7 +248,7 @@ export class ToggleInlineCompletionShowCollapsed extends EditorAction {
248
248
  constructor() {
249
249
  super({
250
250
  id: ToggleInlineCompletionShowCollapsed.ID,
251
- label: nls.localize2(1180, "Toggle Inline Suggestions Show Collapsed"),
251
+ label: nls.localize2(1181, "Toggle Inline Suggestions Show Collapsed"),
252
252
  precondition: ContextKeyExpr.true(),
253
253
  });
254
254
  }
@@ -270,7 +270,7 @@ export class ToggleAlwaysShowInlineSuggestionToolbar extends Action2 {
270
270
  constructor() {
271
271
  super({
272
272
  id: ToggleAlwaysShowInlineSuggestionToolbar.ID,
273
- title: nls.localize(1169, "Always Show Toolbar"),
273
+ title: nls.localize(1170, "Always Show Toolbar"),
274
274
  f1: false,
275
275
  precondition: undefined,
276
276
  menu: [{
@@ -292,7 +292,7 @@ export class DevExtractReproSample extends EditorAction {
292
292
  constructor() {
293
293
  super({
294
294
  id: 'editor.action.inlineSuggest.dev.extractRepro',
295
- label: nls.localize(1170, "Developer: Extract Inline Suggest State"),
295
+ label: nls.localize(1171, "Developer: Extract Inline Suggest State"),
296
296
  alias: 'Developer: Inline Suggest Extract Repro',
297
297
  precondition: ContextKeyExpr.or(InlineCompletionContextKeys.inlineEditVisible, InlineCompletionContextKeys.inlineSuggestionVisible),
298
298
  });
@@ -6,17 +6,17 @@ import { RawContextKey } from '../../../../../platform/contextkey/common/context
6
6
  import { localize } from '../../../../../nls.js';
7
7
  import * as nls from '../../../../../nls.js';
8
8
  export class InlineCompletionContextKeys {
9
- static { this.inlineSuggestionVisible = new RawContextKey('inlineSuggestionVisible', false, localize(1181, "Whether an inline suggestion is visible")); }
10
- static { this.inlineSuggestionHasIndentation = new RawContextKey('inlineSuggestionHasIndentation', false, localize(1182, "Whether the inline suggestion starts with whitespace")); }
11
- static { this.inlineSuggestionHasIndentationLessThanTabSize = new RawContextKey('inlineSuggestionHasIndentationLessThanTabSize', true, localize(1183, "Whether the inline suggestion starts with whitespace that is less than what would be inserted by tab")); }
12
- static { this.suppressSuggestions = new RawContextKey('inlineSuggestionSuppressSuggestions', undefined, localize(1184, "Whether suggestions should be suppressed for the current suggestion")); }
13
- static { this.cursorBeforeGhostText = new RawContextKey('cursorBeforeGhostText', false, localize(1185, "Whether the cursor is at ghost text")); }
14
- static { this.cursorInIndentation = new RawContextKey('cursorInIndentation', false, localize(1186, "Whether the cursor is in indentation")); }
15
- static { this.hasSelection = new RawContextKey('editor.hasSelection', false, localize(1187, "Whether the editor has a selection")); }
16
- static { this.cursorAtInlineEdit = new RawContextKey('cursorAtInlineEdit', false, localize(1188, "Whether the cursor is at an inline edit")); }
17
- static { this.inlineEditVisible = new RawContextKey('inlineEditIsVisible', false, localize(1189, "Whether an inline edit is visible")); }
18
- static { this.tabShouldJumpToInlineEdit = new RawContextKey('tabShouldJumpToInlineEdit', false, localize(1190, "Whether tab should jump to an inline edit.")); }
19
- static { this.tabShouldAcceptInlineEdit = new RawContextKey('tabShouldAcceptInlineEdit', false, localize(1191, "Whether tab should accept the inline edit.")); }
20
- static { this.inInlineEditsPreviewEditor = new RawContextKey('inInlineEditsPreviewEditor', true, nls.localize(1192, "Whether the current code editor is showing an inline edits preview")); }
9
+ static { this.inlineSuggestionVisible = new RawContextKey('inlineSuggestionVisible', false, localize(1182, "Whether an inline suggestion is visible")); }
10
+ static { this.inlineSuggestionHasIndentation = new RawContextKey('inlineSuggestionHasIndentation', false, localize(1183, "Whether the inline suggestion starts with whitespace")); }
11
+ static { this.inlineSuggestionHasIndentationLessThanTabSize = new RawContextKey('inlineSuggestionHasIndentationLessThanTabSize', true, localize(1184, "Whether the inline suggestion starts with whitespace that is less than what would be inserted by tab")); }
12
+ static { this.suppressSuggestions = new RawContextKey('inlineSuggestionSuppressSuggestions', undefined, localize(1185, "Whether suggestions should be suppressed for the current suggestion")); }
13
+ static { this.cursorBeforeGhostText = new RawContextKey('cursorBeforeGhostText', false, localize(1186, "Whether the cursor is at ghost text")); }
14
+ static { this.cursorInIndentation = new RawContextKey('cursorInIndentation', false, localize(1187, "Whether the cursor is in indentation")); }
15
+ static { this.hasSelection = new RawContextKey('editor.hasSelection', false, localize(1188, "Whether the editor has a selection")); }
16
+ static { this.cursorAtInlineEdit = new RawContextKey('cursorAtInlineEdit', false, localize(1189, "Whether the cursor is at an inline edit")); }
17
+ static { this.inlineEditVisible = new RawContextKey('inlineEditIsVisible', false, localize(1190, "Whether an inline edit is visible")); }
18
+ static { this.tabShouldJumpToInlineEdit = new RawContextKey('tabShouldJumpToInlineEdit', false, localize(1191, "Whether tab should jump to an inline edit.")); }
19
+ static { this.tabShouldAcceptInlineEdit = new RawContextKey('tabShouldAcceptInlineEdit', false, localize(1192, "Whether tab should accept the inline edit.")); }
20
+ static { this.inInlineEditsPreviewEditor = new RawContextKey('inInlineEditsPreviewEditor', true, nls.localize(1193, "Whether the current code editor is showing an inline edits preview")); }
21
21
  }
22
22
  //# sourceMappingURL=inlineCompletionContextKeys.js.map
@@ -357,8 +357,8 @@ let InlineCompletionsController = class InlineCompletionsController extends Disp
357
357
  const accessibleViewShowing = this._contextKeyService.getContextKeyValue('accessibleViewIsShown');
358
358
  const accessibleViewKeybinding = this._keybindingService.lookupKeybinding('editor.action.accessibleView');
359
359
  let hint;
360
- if (!accessibleViewShowing && accessibleViewKeybinding && this.editor.getOption(168 /* EditorOption.inlineCompletionsAccessibilityVerbose */)) {
361
- hint = localize(1193, "Inspect this in the accessible view ({0})", accessibleViewKeybinding.getAriaLabel());
360
+ if (!accessibleViewShowing && accessibleViewKeybinding && this.editor.getOption(169 /* EditorOption.inlineCompletionsAccessibilityVerbose */)) {
361
+ hint = localize(1194, "Inspect this in the accessible view ({0})", accessibleViewKeybinding.getAriaLabel());
362
362
  }
363
363
  alert(hint ? content + ', ' + hint : content);
364
364
  }
@@ -124,7 +124,7 @@ let InlineCompletionsHoverParticipant = class InlineCompletionsHoverParticipant
124
124
  const hoverContentsElement = dom.append(markdownHoverElement, $('div.hover-contents', { ['aria-live']: 'assertive' }));
125
125
  const renderer = new MarkdownRenderer({ editor: this._editor }, this._languageService, this._openerService);
126
126
  const render = (code) => {
127
- const inlineSuggestionAvailable = nls.localize(1194, "Suggestion:");
127
+ const inlineSuggestionAvailable = nls.localize(1195, "Suggestion:");
128
128
  const renderedContents = disposables.add(renderer.render(new MarkdownString().appendText(inlineSuggestionAvailable).appendCodeblock('text', code), {
129
129
  asyncRenderCallback: () => {
130
130
  hoverContentsElement.className = 'hover-contents code-hover-contents';
@@ -97,8 +97,8 @@ InlineCompletionsHintsWidget = __decorate([
97
97
  __param(2, IInstantiationService)
98
98
  ], InlineCompletionsHintsWidget);
99
99
  export { InlineCompletionsHintsWidget };
100
- const inlineSuggestionHintsNextIcon = registerIcon('inline-suggestion-hints-next', Codicon.chevronRight, localize(1195, 'Icon for show next parameter hint.'));
101
- const inlineSuggestionHintsPreviousIcon = registerIcon('inline-suggestion-hints-previous', Codicon.chevronLeft, localize(1196, 'Icon for show previous parameter hint.'));
100
+ const inlineSuggestionHintsNextIcon = registerIcon('inline-suggestion-hints-next', Codicon.chevronRight, localize(1196, 'Icon for show next parameter hint.'));
101
+ const inlineSuggestionHintsPreviousIcon = registerIcon('inline-suggestion-hints-previous', Codicon.chevronLeft, localize(1197, 'Icon for show previous parameter hint.'));
102
102
  let InlineSuggestionHintsContentWidget = class InlineSuggestionHintsContentWidget extends Disposable {
103
103
  static { InlineSuggestionHintsContentWidget_1 = this; }
104
104
  static { this.hot = createHotClass(InlineSuggestionHintsContentWidget_1); }
@@ -110,7 +110,7 @@ let InlineSuggestionHintsContentWidget = class InlineSuggestionHintsContentWidge
110
110
  const kb = this.keybindingService.lookupKeybinding(commandId, this._contextKeyService);
111
111
  let tooltip = label;
112
112
  if (kb) {
113
- tooltip = localize(1197, '{0} ({1})', label, kb.getLabel());
113
+ tooltip = localize(1198, '{0} ({1})', label, kb.getLabel());
114
114
  }
115
115
  action.tooltip = tooltip;
116
116
  return action;
@@ -158,9 +158,9 @@ let InlineSuggestionHintsContentWidget = class InlineSuggestionHintsContentWidge
158
158
  this._warningMessageNode.element,
159
159
  h('div@toolBar'),
160
160
  ]);
161
- this.previousAction = this._register(this.createCommandAction(showPreviousInlineSuggestionActionId, localize(1198, 'Previous'), ThemeIcon.asClassName(inlineSuggestionHintsPreviousIcon)));
161
+ this.previousAction = this._register(this.createCommandAction(showPreviousInlineSuggestionActionId, localize(1199, 'Previous'), ThemeIcon.asClassName(inlineSuggestionHintsPreviousIcon)));
162
162
  this.availableSuggestionCountAction = this._register(new Action('inlineSuggestionHints.availableSuggestionCount', '', undefined, false));
163
- this.nextAction = this._register(this.createCommandAction(showNextInlineSuggestionActionId, localize(1199, 'Next'), ThemeIcon.asClassName(inlineSuggestionHintsNextIcon)));
163
+ this.nextAction = this._register(this.createCommandAction(showNextInlineSuggestionActionId, localize(1200, 'Next'), ThemeIcon.asClassName(inlineSuggestionHintsNextIcon)));
164
164
  this.inlineCompletionsActionsMenus = this._register(this._menuService.createMenu(MenuId.InlineCompletionsActions, this._contextKeyService));
165
165
  this.clearAvailableSuggestionCountLabelDebounced = this._register(new RunOnceScheduler(() => {
166
166
  this.availableSuggestionCountAction.label = '';
@@ -511,7 +511,7 @@ let InlineCompletionsModel = class InlineCompletionsModel extends Disposable {
511
511
  this._source = this._register(this._instantiationService.createInstance(InlineCompletionsSource, this.textModel, this._textModelVersionId, this._debounceValue, this.primaryPosition));
512
512
  this.lastTriggerKind = this._source.inlineCompletions.map(this, v => v?.request?.context.triggerKind);
513
513
  this._editorObs = observableCodeEditor(this._editor);
514
- const suggest = this._editorObs.getOption(133 /* EditorOption.suggest */);
514
+ const suggest = this._editorObs.getOption(134 /* EditorOption.suggest */);
515
515
  this._suggestPreviewEnabled = suggest.map(v => v.preview);
516
516
  this._suggestPreviewMode = suggest.map(v => v.previewMode);
517
517
  const inlineSuggest = this._editorObs.getOption(71 /* EditorOption.inlineSuggest */);
@@ -345,9 +345,9 @@ export class AdditionalLinesWidget extends Disposable {
345
345
  this._isClickable = _isClickable;
346
346
  this._viewZoneHeight = observableValue('viewZoneHeight', undefined);
347
347
  this.editorOptionsChanged = observableSignalFromEvent('editorOptionChanged', Event.filter(this._editor.onDidChangeConfiguration, e => e.hasChanged(40 /* EditorOption.disableMonospaceOptimizations */)
348
- || e.hasChanged(132 /* EditorOption.stopRenderingLineAfter */)
349
- || e.hasChanged(112 /* EditorOption.renderWhitespace */)
350
- || e.hasChanged(107 /* EditorOption.renderControlCharacters */)
348
+ || e.hasChanged(133 /* EditorOption.stopRenderingLineAfter */)
349
+ || e.hasChanged(113 /* EditorOption.renderWhitespace */)
350
+ || e.hasChanged(108 /* EditorOption.renderControlCharacters */)
351
351
  || e.hasChanged(60 /* EditorOption.fontLigatures */)
352
352
  || e.hasChanged(59 /* EditorOption.fontInfo */)
353
353
  || e.hasChanged(75 /* EditorOption.lineHeight */)));
@@ -448,10 +448,10 @@ function isTargetGhostText(target) {
448
448
  }
449
449
  function renderLines(domNode, tabSize, lines, opts, isClickable) {
450
450
  const disableMonospaceOptimizations = opts.get(40 /* EditorOption.disableMonospaceOptimizations */);
451
- const stopRenderingLineAfter = opts.get(132 /* EditorOption.stopRenderingLineAfter */);
451
+ const stopRenderingLineAfter = opts.get(133 /* EditorOption.stopRenderingLineAfter */);
452
452
  // To avoid visual confusion, we don't want to render visible whitespace
453
453
  const renderWhitespace = 'none';
454
- const renderControlCharacters = opts.get(107 /* EditorOption.renderControlCharacters */);
454
+ const renderControlCharacters = opts.get(108 /* EditorOption.renderControlCharacters */);
455
455
  const fontLigatures = opts.get(60 /* EditorOption.fontLigatures */);
456
456
  const fontInfo = opts.get(59 /* EditorOption.fontInfo */);
457
457
  const lineHeight = opts.get(75 /* EditorOption.lineHeight */);
@@ -62,13 +62,13 @@ let GutterIndicatorMenuContent = class GutterIndicatorMenuContent {
62
62
  const title = header(this._model.displayName);
63
63
  const gotoAndAccept = option(createOptionArgs({
64
64
  id: 'gotoAndAccept',
65
- title: `${localize(1200, "Go To")} / ${localize(1201, "Accept")}`,
65
+ title: `${localize(1201, "Go To")} / ${localize(1202, "Accept")}`,
66
66
  icon: Codicon.check,
67
67
  commandId: inlineSuggestCommitId
68
68
  }));
69
69
  const reject = option(createOptionArgs({
70
70
  id: 'reject',
71
- title: localize(1202, "Reject"),
71
+ title: localize(1203, "Reject"),
72
72
  icon: Codicon.close,
73
73
  commandId: hideInlineCompletionId
74
74
  }));
@@ -82,19 +82,19 @@ let GutterIndicatorMenuContent = class GutterIndicatorMenuContent {
82
82
  const toggleCollapsedMode = this._inlineEditsShowCollapsed.map(showCollapsed => showCollapsed ?
83
83
  option(createOptionArgs({
84
84
  id: 'showExpanded',
85
- title: localize(1203, "Show Expanded"),
85
+ title: localize(1204, "Show Expanded"),
86
86
  icon: Codicon.expandAll,
87
87
  commandId: toggleShowCollapsedId
88
88
  }))
89
89
  : option(createOptionArgs({
90
90
  id: 'showCollapsed',
91
- title: localize(1204, "Show Collapsed"),
91
+ title: localize(1205, "Show Collapsed"),
92
92
  icon: Codicon.collapseAll,
93
93
  commandId: toggleShowCollapsedId
94
94
  })));
95
95
  const settings = option(createOptionArgs({
96
96
  id: 'settings',
97
- title: localize(1205, "Settings"),
97
+ title: localize(1206, "Settings"),
98
98
  icon: Codicon.gear,
99
99
  commandId: 'workbench.action.openSettings',
100
100
  commandArgs: ['@tag:nextEditSuggestions']
@@ -15,7 +15,7 @@ export class InlineEditModel {
15
15
  this.inlineEdit = inlineEdit;
16
16
  this.tabAction = tabAction;
17
17
  this.action = this.inlineEdit.inlineCompletion.action;
18
- this.displayName = this.inlineEdit.inlineCompletion.source.provider.displayName ?? localize(1206, "Inline Edit");
18
+ this.displayName = this.inlineEdit.inlineCompletion.source.provider.displayName ?? localize(1207, "Inline Edit");
19
19
  this.extensionCommands = this.inlineEdit.inlineCompletion.source.inlineSuggestions.commands ?? [];
20
20
  this.isInDiffEditor = this._model.isInDiffEditor;
21
21
  this.displayLocation = this.inlineEdit.inlineCompletion.displayLocation;