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
@@ -35,8 +35,8 @@ import { AsyncIterableProducer } from '../../../../base/common/async.js';
35
35
  import { getHoverProviderResultsAsAsyncIterable } from './getHover.js';
36
36
  import { ICommandService } from '../../../../platform/commands/common/commands.js';
37
37
  const $ = dom.$;
38
- const increaseHoverVerbosityIcon = registerIcon('hover-increase-verbosity', Codicon.add, nls.localize(1123, 'Icon for increaseing hover verbosity.'));
39
- const decreaseHoverVerbosityIcon = registerIcon('hover-decrease-verbosity', Codicon.remove, nls.localize(1124, 'Icon for decreasing hover verbosity.'));
38
+ const increaseHoverVerbosityIcon = registerIcon('hover-increase-verbosity', Codicon.add, nls.localize(1124, 'Icon for increaseing hover verbosity.'));
39
+ const decreaseHoverVerbosityIcon = registerIcon('hover-decrease-verbosity', Codicon.remove, nls.localize(1125, 'Icon for decreasing hover verbosity.'));
40
40
  export class MarkdownHover {
41
41
  constructor(owner, range, contents, isBeforeContent, ordinal, source = undefined) {
42
42
  this.owner = owner;
@@ -79,7 +79,7 @@ let MarkdownHoverParticipant = class MarkdownHoverParticipant {
79
79
  this.hoverOrdinal = 3;
80
80
  }
81
81
  createLoadingMessage(anchor) {
82
- return new MarkdownHover(this, anchor.range, [new MarkdownString().appendText(nls.localize(1125, "Loading..."))], false, 2000);
82
+ return new MarkdownHover(this, anchor.range, [new MarkdownString().appendText(nls.localize(1126, "Loading..."))], false, 2000);
83
83
  }
84
84
  computeSync(anchor, lineDecorations) {
85
85
  if (!this._editor.hasModel() || anchor.type !== 1 /* HoverAnchorType.Range */) {
@@ -100,12 +100,12 @@ let MarkdownHoverParticipant = class MarkdownHoverParticipant {
100
100
  if (stopRenderingLineAfter >= 0 && lineLength > stopRenderingLineAfter && anchor.range.startColumn >= stopRenderingLineAfter) {
101
101
  stopRenderingMessage = true;
102
102
  result.push(new MarkdownHover(this, anchor.range, [{
103
- value: nls.localize(1126, "Rendering paused for long line for performance reasons. This can be configured via `editor.stopRenderingLineAfter`.")
103
+ value: nls.localize(1127, "Rendering paused for long line for performance reasons. This can be configured via `editor.stopRenderingLineAfter`.")
104
104
  }], false, index++));
105
105
  }
106
106
  if (!stopRenderingMessage && typeof maxTokenizationLineLength === 'number' && lineLength >= maxTokenizationLineLength) {
107
107
  result.push(new MarkdownHover(this, anchor.range, [{
108
- value: nls.localize(1127, "Tokenization is skipped for long lines for performance reasons. This can be configured via `editor.maxTokenizationLineLength`.")
108
+ value: nls.localize(1128, "Tokenization is skipped for long lines for performance reasons. This can be configured via `editor.maxTokenizationLineLength`.")
109
109
  }], false, index++));
110
110
  }
111
111
  let isBeforeContent = false;
@@ -388,14 +388,14 @@ export function labelForHoverVerbosityAction(keybindingService, action) {
388
388
  case HoverVerbosityAction.Increase: {
389
389
  const kb = keybindingService.lookupKeybinding(INCREASE_HOVER_VERBOSITY_ACTION_ID);
390
390
  return kb ?
391
- nls.localize(1128, "Increase Hover Verbosity ({0})", kb.getLabel()) :
392
- nls.localize(1129, "Increase Hover Verbosity");
391
+ nls.localize(1129, "Increase Hover Verbosity ({0})", kb.getLabel()) :
392
+ nls.localize(1130, "Increase Hover Verbosity");
393
393
  }
394
394
  case HoverVerbosityAction.Decrease: {
395
395
  const kb = keybindingService.lookupKeybinding(DECREASE_HOVER_VERBOSITY_ACTION_ID);
396
396
  return kb ?
397
- nls.localize(1130, "Decrease Hover Verbosity ({0})", kb.getLabel()) :
398
- nls.localize(1131, "Decrease Hover Verbosity");
397
+ nls.localize(1131, "Decrease Hover Verbosity ({0})", kb.getLabel()) :
398
+ nls.localize(1132, "Decrease Hover Verbosity");
399
399
  }
400
400
  }
401
401
  }
@@ -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(1132, "View Problem"),
172
+ label: nls.localize(1133, "View Problem"),
173
173
  commandId: NextMarkerAction.ID,
174
174
  run: () => {
175
175
  context.hide();
@@ -184,14 +184,14 @@ let MarkerHoverParticipant = class MarkerHoverParticipant {
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(1133, "No quick fixes available");
187
+ quickfixPlaceholderElement.textContent = nls.localize(1134, "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(1134, "Checking for quick fixes..."), 200, disposables);
194
+ const updatePlaceholderDisposable = this.recentMarkerCodeActionsInfo && !this.recentMarkerCodeActionsInfo.hasCodeActions ? Disposable.None : disposableTimeout(() => quickfixPlaceholderElement.textContent = nls.localize(1135, "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(1135, "No quick fixes available");
206
+ quickfixPlaceholderElement.textContent = nls.localize(1136, "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(1136, "Quick Fix..."),
217
+ label: nls.localize(1137, "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(1231, "Replace with Previous Value"),
110
+ label: nls.localize2(1232, "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(1232, "Replace with Next Value"),
131
+ label: nls.localize2(1233, "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(1141, "Convert Indentation to Spaces"),
33
+ label: nls.localize2(1142, "Convert Indentation to Spaces"),
34
34
  precondition: EditorContextKeys.writable,
35
35
  metadata: {
36
- description: nls.localize2(1142, "Convert the tab indentation to spaces."),
36
+ description: nls.localize2(1143, "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(1143, "Convert Indentation to Tabs"),
64
+ label: nls.localize2(1144, "Convert Indentation to Tabs"),
65
65
  precondition: EditorContextKeys.writable,
66
66
  metadata: {
67
- description: nls.localize2(1144, "Convert the spaces indentation to tabs."),
67
+ description: nls.localize2(1145, "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(1137, "Configured Tab Size")
110
+ ? nls.localize(1138, "Configured Tab Size")
111
111
  : n === creationOpts.tabSize
112
- ? nls.localize(1138, "Default Tab Size")
112
+ ? nls.localize(1139, "Default Tab Size")
113
113
  : n === modelOpts.tabSize
114
- ? nls.localize(1139, "Current Tab Size")
114
+ ? nls.localize(1140, "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(1140, "Select Tab Size for Current File"), activeItem: picks[autoFocusIndex] }).then(pick => {
120
+ quickInputService.pick(picks, { placeHolder: nls.localize(1141, "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(1145, "Indent Using Tabs"),
147
+ label: nls.localize2(1146, "Indent Using Tabs"),
148
148
  precondition: undefined,
149
149
  metadata: {
150
- description: nls.localize2(1146, "Use indentation with tabs."),
150
+ description: nls.localize2(1147, "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(1147, "Indent Using Spaces"),
160
+ label: nls.localize2(1148, "Indent Using Spaces"),
161
161
  precondition: undefined,
162
162
  metadata: {
163
- description: nls.localize2(1148, "Use indentation with spaces."),
163
+ description: nls.localize2(1149, "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(1149, "Change Tab Display Size"),
173
+ label: nls.localize2(1150, "Change Tab Display Size"),
174
174
  precondition: undefined,
175
175
  metadata: {
176
- description: nls.localize2(1150, "Change the space size equivalent of the tab."),
176
+ description: nls.localize2(1151, "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(1151, "Detect Indentation from Content"),
186
+ label: nls.localize2(1152, "Detect Indentation from Content"),
187
187
  precondition: undefined,
188
188
  metadata: {
189
- description: nls.localize2(1152, "Detect the indentation from content."),
189
+ description: nls.localize2(1153, "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(1153, "Reindent Lines"),
207
+ label: nls.localize2(1154, "Reindent Lines"),
208
208
  precondition: EditorContextKeys.writable,
209
209
  metadata: {
210
- description: nls.localize2(1154, "Reindent the lines of the editor."),
210
+ description: nls.localize2(1155, "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(1155, "Reindent Selected Lines"),
232
+ label: nls.localize2(1156, "Reindent Selected Lines"),
233
233
  precondition: EditorContextKeys.writable,
234
234
  metadata: {
235
- description: nls.localize2(1156, "Reindent the selected lines of the editor."),
235
+ description: nls.localize2(1157, "Reindent the selected lines of the editor."),
236
236
  }
237
237
  });
238
238
  }
@@ -82,7 +82,7 @@ let InlayHintsHover = class InlayHintsHover extends MarkdownHoverParticipant {
82
82
  }
83
83
  // (1.2) Inlay dbl-click gesture
84
84
  if (isNonEmptyArray(part.item.hint.textEdits)) {
85
- executor.emitOne(new MarkdownHover(this, anchor.range, [new MarkdownString().appendText(localize(1157, "Double-click to insert"))], false, 10001));
85
+ executor.emitOne(new MarkdownHover(this, anchor.range, [new MarkdownString().appendText(localize(1158, "Double-click to insert"))], false, 10001));
86
86
  }
87
87
  // (2) Inlay Label Part Tooltip
88
88
  let partTooltip;
@@ -101,19 +101,19 @@ let InlayHintsHover = class InlayHintsHover extends MarkdownHoverParticipant {
101
101
  const useMetaKey = this._editor.getOption(86 /* EditorOption.multiCursorModifier */) === 'altKey';
102
102
  const kb = useMetaKey
103
103
  ? platform.isMacintosh
104
- ? localize(1158, "cmd + click")
105
- : localize(1159, "ctrl + click")
104
+ ? localize(1159, "cmd + click")
105
+ : localize(1160, "ctrl + click")
106
106
  : platform.isMacintosh
107
- ? localize(1160, "option + click")
108
- : localize(1161, "alt + click");
107
+ ? localize(1161, "option + click")
108
+ : localize(1162, "alt + click");
109
109
  if (part.part.location && part.part.command) {
110
- linkHint = new MarkdownString().appendText(localize(1162, 'Go to Definition ({0}), right click for more', kb));
110
+ linkHint = new MarkdownString().appendText(localize(1163, 'Go to Definition ({0}), right click for more', kb));
111
111
  }
112
112
  else if (part.part.location) {
113
- linkHint = new MarkdownString().appendText(localize(1163, 'Go to Definition ({0})', kb));
113
+ linkHint = new MarkdownString().appendText(localize(1164, 'Go to Definition ({0})', kb));
114
114
  }
115
115
  else if (part.part.command) {
116
- linkHint = new MarkdownString(`[${localize(1164, "Execute Command")}](${asCommandLink(part.part.command)} "${part.part.command.title}") (${kb})`, { isTrusted: true });
116
+ linkHint = new MarkdownString(`[${localize(1165, "Execute Command")}](${asCommandLink(part.part.command)} "${part.part.command.title}") (${kb})`, { isTrusted: true });
117
117
  }
118
118
  if (linkHint) {
119
119
  executor.emitOne(new MarkdownHover(this, anchor.range, [linkHint], false, 10000));
@@ -23,7 +23,7 @@ export class ShowNextInlineSuggestionAction extends EditorAction {
23
23
  constructor() {
24
24
  super({
25
25
  id: ShowNextInlineSuggestionAction.ID,
26
- label: nls.localize2(1174, "Show Next Inline Suggestion"),
26
+ label: nls.localize2(1175, "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(1175, "Show Previous Inline Suggestion"),
44
+ label: nls.localize2(1176, "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(1176, "Trigger Inline Suggestion"),
61
+ label: nls.localize2(1177, "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(1177, "Trigger Next Edit Suggestion"),
78
+ label: nls.localize2(1178, "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(1165, "No inline edit is available.")
89
+ message: nls.localize(1166, "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(1178, "Accept Next Word Of Inline Suggestion"),
110
+ label: nls.localize2(1179, "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(1166, 'Accept Word'),
119
+ title: nls.localize(1167, '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(1179, "Accept Next Line Of Inline Suggestion"),
134
+ label: nls.localize2(1180, "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(1167, 'Accept Line'),
141
+ title: nls.localize(1168, '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(1180, "Accept Inline Suggestion"),
156
+ label: nls.localize2(1181, "Accept Inline Suggestion"),
157
157
  precondition: ContextKeyExpr.or(InlineCompletionContextKeys.inlineSuggestionVisible, InlineCompletionContextKeys.inlineEditVisible),
158
158
  menuOpts: [{
159
159
  menuId: MenuId.InlineSuggestionToolbar,
160
- title: nls.localize(1168, "Accept"),
160
+ title: nls.localize(1169, "Accept"),
161
161
  group: 'primary',
162
162
  order: 2,
163
163
  }, {
164
164
  menuId: MenuId.InlineEditsActions,
165
- title: nls.localize(1169, "Accept"),
165
+ title: nls.localize(1170, "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(1181, "Jump to next inline edit"),
196
+ label: nls.localize2(1182, "Jump to next inline edit"),
197
197
  precondition: InlineCompletionContextKeys.inlineEditVisible,
198
198
  menuOpts: [{
199
199
  menuId: MenuId.InlineEditsActions,
200
- title: nls.localize(1170, "Jump"),
200
+ title: nls.localize(1171, "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(1182, "Hide Inline Suggestion"),
224
+ label: nls.localize2(1183, "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(1171, "Reject"),
232
+ title: nls.localize(1172, "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(1183, "Toggle Inline Suggestions Show Collapsed"),
251
+ label: nls.localize2(1184, "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(1172, "Always Show Toolbar"),
273
+ title: nls.localize(1173, "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(1173, "Developer: Extract Inline Suggest State"),
295
+ label: nls.localize(1174, "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(1184, "Whether an inline suggestion is visible")); }
10
- static { this.inlineSuggestionHasIndentation = new RawContextKey('inlineSuggestionHasIndentation', false, localize(1185, "Whether the inline suggestion starts with whitespace")); }
11
- static { this.inlineSuggestionHasIndentationLessThanTabSize = new RawContextKey('inlineSuggestionHasIndentationLessThanTabSize', true, localize(1186, "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(1187, "Whether suggestions should be suppressed for the current suggestion")); }
13
- static { this.cursorBeforeGhostText = new RawContextKey('cursorBeforeGhostText', false, localize(1188, "Whether the cursor is at ghost text")); }
14
- static { this.cursorInIndentation = new RawContextKey('cursorInIndentation', false, localize(1189, "Whether the cursor is in indentation")); }
15
- static { this.hasSelection = new RawContextKey('editor.hasSelection', false, localize(1190, "Whether the editor has a selection")); }
16
- static { this.cursorAtInlineEdit = new RawContextKey('cursorAtInlineEdit', false, localize(1191, "Whether the cursor is at an inline edit")); }
17
- static { this.inlineEditVisible = new RawContextKey('inlineEditIsVisible', false, localize(1192, "Whether an inline edit is visible")); }
18
- static { this.tabShouldJumpToInlineEdit = new RawContextKey('tabShouldJumpToInlineEdit', false, localize(1193, "Whether tab should jump to an inline edit.")); }
19
- static { this.tabShouldAcceptInlineEdit = new RawContextKey('tabShouldAcceptInlineEdit', false, localize(1194, "Whether tab should accept the inline edit.")); }
20
- static { this.inInlineEditsPreviewEditor = new RawContextKey('inInlineEditsPreviewEditor', true, nls.localize(1195, "Whether the current code editor is showing an inline edits preview")); }
9
+ static { this.inlineSuggestionVisible = new RawContextKey('inlineSuggestionVisible', false, localize(1185, "Whether an inline suggestion is visible")); }
10
+ static { this.inlineSuggestionHasIndentation = new RawContextKey('inlineSuggestionHasIndentation', false, localize(1186, "Whether the inline suggestion starts with whitespace")); }
11
+ static { this.inlineSuggestionHasIndentationLessThanTabSize = new RawContextKey('inlineSuggestionHasIndentationLessThanTabSize', true, localize(1187, "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(1188, "Whether suggestions should be suppressed for the current suggestion")); }
13
+ static { this.cursorBeforeGhostText = new RawContextKey('cursorBeforeGhostText', false, localize(1189, "Whether the cursor is at ghost text")); }
14
+ static { this.cursorInIndentation = new RawContextKey('cursorInIndentation', false, localize(1190, "Whether the cursor is in indentation")); }
15
+ static { this.hasSelection = new RawContextKey('editor.hasSelection', false, localize(1191, "Whether the editor has a selection")); }
16
+ static { this.cursorAtInlineEdit = new RawContextKey('cursorAtInlineEdit', false, localize(1192, "Whether the cursor is at an inline edit")); }
17
+ static { this.inlineEditVisible = new RawContextKey('inlineEditIsVisible', false, localize(1193, "Whether an inline edit is visible")); }
18
+ static { this.tabShouldJumpToInlineEdit = new RawContextKey('tabShouldJumpToInlineEdit', false, localize(1194, "Whether tab should jump to an inline edit.")); }
19
+ static { this.tabShouldAcceptInlineEdit = new RawContextKey('tabShouldAcceptInlineEdit', false, localize(1195, "Whether tab should accept the inline edit.")); }
20
+ static { this.inInlineEditsPreviewEditor = new RawContextKey('inInlineEditsPreviewEditor', true, nls.localize(1196, "Whether the current code editor is showing an inline edits preview")); }
21
21
  }
22
22
  //# sourceMappingURL=inlineCompletionContextKeys.js.map
@@ -35,6 +35,8 @@ import { getOuterEditor } from '../../../../browser/widget/codeEditor/embeddedCo
35
35
  import { Position } from '../../../../common/core/position.js';
36
36
  import { ILanguageFeatureDebounceService } from '../../../../common/services/languageFeatureDebounce.js';
37
37
  import { ILanguageFeaturesService } from '../../../../common/services/languageFeatures.js';
38
+ import { FIND_IDS } from '../../../find/browser/findModel.js';
39
+ import { InsertLineAfterAction, InsertLineBeforeAction } from '../../../linesOperations/browser/linesOperations.js';
38
40
  import { InlineSuggestionHintsContentWidget } from '../hintsWidget/inlineCompletionsHintsWidget.js';
39
41
  import { TextModelChangeRecorder } from '../model/changeRecorder.js';
40
42
  import { InlineCompletionsModel } from '../model/inlineCompletionsModel.js';
@@ -178,16 +180,19 @@ let InlineCompletionsController = class InlineCompletionsController extends Disp
178
180
  this.model.get()?.trigger();
179
181
  }
180
182
  }));
183
+ // These commands don't trigger onDidType.
184
+ const triggerCommands = new Set([
185
+ CoreEditingCommands.Tab.id,
186
+ CoreEditingCommands.DeleteLeft.id,
187
+ CoreEditingCommands.DeleteRight.id,
188
+ inlineSuggestCommitId,
189
+ 'acceptSelectedSuggestion',
190
+ InsertLineAfterAction.ID,
191
+ InsertLineBeforeAction.ID,
192
+ FIND_IDS.NextMatchFindAction,
193
+ ]);
181
194
  this._register(this._commandService.onDidExecuteCommand((e) => {
182
- // These commands don't trigger onDidType.
183
- const commands = new Set([
184
- CoreEditingCommands.Tab.id,
185
- CoreEditingCommands.DeleteLeft.id,
186
- CoreEditingCommands.DeleteRight.id,
187
- inlineSuggestCommitId,
188
- 'acceptSelectedSuggestion',
189
- ]);
190
- if (commands.has(e.commandId) && editor.hasTextFocus() && this._enabled.get()) {
195
+ if (triggerCommands.has(e.commandId) && editor.hasTextFocus() && this._enabled.get()) {
191
196
  let noDelay = false;
192
197
  if (e.commandId === inlineSuggestCommitId) {
193
198
  noDelay = true;
@@ -358,7 +363,7 @@ let InlineCompletionsController = class InlineCompletionsController extends Disp
358
363
  const accessibleViewKeybinding = this._keybindingService.lookupKeybinding('editor.action.accessibleView');
359
364
  let hint;
360
365
  if (!accessibleViewShowing && accessibleViewKeybinding && this.editor.getOption(169 /* EditorOption.inlineCompletionsAccessibilityVerbose */)) {
361
- hint = localize(1196, "Inspect this in the accessible view ({0})", accessibleViewKeybinding.getAriaLabel());
366
+ hint = localize(1197, "Inspect this in the accessible view ({0})", accessibleViewKeybinding.getAriaLabel());
362
367
  }
363
368
  alert(hint ? content + ', ' + hint : content);
364
369
  }