monaco-editor-core 0.56.0-dev-20251124 → 0.56.0-dev-20251125

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 (121) hide show
  1. package/esm/nls.keys.json +1 -1
  2. package/esm/nls.messages.cs.js +2 -2
  3. package/esm/nls.messages.de.js +2 -2
  4. package/esm/nls.messages.es.js +2 -2
  5. package/esm/nls.messages.fr.js +2 -2
  6. package/esm/nls.messages.it.js +2 -2
  7. package/esm/nls.messages.ja.js +2 -2
  8. package/esm/nls.messages.js +1 -1
  9. package/esm/nls.messages.json +1 -1
  10. package/esm/nls.messages.ko.js +2 -2
  11. package/esm/nls.messages.pl.js +2 -2
  12. package/esm/nls.messages.pt-br.js +2 -2
  13. package/esm/nls.messages.ru.js +2 -2
  14. package/esm/nls.messages.tr.js +2 -2
  15. package/esm/nls.messages.zh-cn.js +2 -2
  16. package/esm/nls.messages.zh-tw.js +2 -2
  17. package/esm/nls.metadata.json +6 -0
  18. package/esm/vs/base/common/async.js +11 -0
  19. package/esm/vs/base/common/async.js.map +1 -1
  20. package/esm/vs/editor/common/core/edits/textEdit.js +3 -0
  21. package/esm/vs/editor/common/core/edits/textEdit.js.map +1 -1
  22. package/esm/vs/editor/common/languages.js.map +1 -1
  23. package/esm/vs/editor/contrib/inPlaceReplace/browser/inPlaceReplace.js +2 -2
  24. package/esm/vs/editor/contrib/inlineCompletions/browser/controller/commandIds.js +1 -0
  25. package/esm/vs/editor/contrib/inlineCompletions/browser/controller/commandIds.js.map +1 -1
  26. package/esm/vs/editor/contrib/inlineCompletions/browser/model/inlineCompletionsModel.js +5 -0
  27. package/esm/vs/editor/contrib/inlineCompletions/browser/model/inlineCompletionsModel.js.map +1 -1
  28. package/esm/vs/editor/contrib/inlineCompletions/browser/model/inlineCompletionsSource.js +10 -2
  29. package/esm/vs/editor/contrib/inlineCompletions/browser/model/inlineCompletionsSource.js.map +1 -1
  30. package/esm/vs/editor/contrib/inlineCompletions/browser/model/inlineSuggestionItem.js +10 -2
  31. package/esm/vs/editor/contrib/inlineCompletions/browser/model/inlineSuggestionItem.js.map +1 -1
  32. package/esm/vs/editor/contrib/inlineCompletions/browser/model/provideInlineCompletions.js +18 -3
  33. package/esm/vs/editor/contrib/inlineCompletions/browser/model/provideInlineCompletions.js.map +1 -1
  34. package/esm/vs/editor/contrib/inlineCompletions/browser/model/renameSymbolProcessor.js +151 -0
  35. package/esm/vs/editor/contrib/inlineCompletions/browser/model/renameSymbolProcessor.js.map +1 -0
  36. package/esm/vs/editor/contrib/inlineCompletions/browser/telemetry.js.map +1 -1
  37. package/esm/vs/editor/contrib/inlineCompletions/browser/view/inlineEdits/components/gutterIndicatorMenu.js +6 -6
  38. package/esm/vs/editor/contrib/inlineCompletions/browser/view/inlineEdits/components/gutterIndicatorView.js +1 -1
  39. package/esm/vs/editor/contrib/inlineCompletions/browser/view/inlineEdits/theme.js +20 -20
  40. package/esm/vs/editor/contrib/insertFinalNewLine/browser/insertFinalNewLine.js +1 -1
  41. package/esm/vs/editor/contrib/lineSelection/browser/lineSelection.js +1 -1
  42. package/esm/vs/editor/contrib/linesOperations/browser/linesOperations.js +31 -31
  43. package/esm/vs/editor/contrib/linkedEditing/browser/linkedEditing.js +2 -2
  44. package/esm/vs/editor/contrib/links/browser/links.js +10 -10
  45. package/esm/vs/editor/contrib/message/browser/messageController.js +1 -1
  46. package/esm/vs/editor/contrib/multicursor/browser/multicursor.js +22 -22
  47. package/esm/vs/editor/contrib/parameterHints/browser/parameterHints.js +1 -1
  48. package/esm/vs/editor/contrib/parameterHints/browser/parameterHintsWidget.js +4 -4
  49. package/esm/vs/editor/contrib/peekView/browser/peekView.js +18 -18
  50. package/esm/vs/editor/contrib/placeholderText/browser/placeholderText.contribution.js +1 -1
  51. package/esm/vs/editor/contrib/quickAccess/browser/gotoLineQuickAccess.js +11 -11
  52. package/esm/vs/editor/contrib/quickAccess/browser/gotoSymbolQuickAccess.js +32 -32
  53. package/esm/vs/editor/contrib/readOnlyMessage/browser/contribution.js +2 -2
  54. package/esm/vs/editor/contrib/rename/browser/rename.js +15 -11
  55. package/esm/vs/editor/contrib/rename/browser/rename.js.map +1 -1
  56. package/esm/vs/editor/contrib/rename/browser/renameWidget.js +7 -7
  57. package/esm/vs/editor/contrib/smartSelect/browser/smartSelect.js +4 -4
  58. package/esm/vs/editor/contrib/snippet/browser/snippetController2.js +4 -4
  59. package/esm/vs/editor/contrib/snippet/browser/snippetVariables.js +4 -4
  60. package/esm/vs/editor/contrib/stickyScroll/browser/stickyScrollActions.js +11 -11
  61. package/esm/vs/editor/contrib/suggest/browser/suggest.js +8 -8
  62. package/esm/vs/editor/contrib/suggest/browser/suggestController.js +10 -10
  63. package/esm/vs/editor/contrib/suggest/browser/suggestWidget.js +17 -17
  64. package/esm/vs/editor/contrib/suggest/browser/suggestWidgetDetails.js +2 -2
  65. package/esm/vs/editor/contrib/suggest/browser/suggestWidgetRenderer.js +2 -2
  66. package/esm/vs/editor/contrib/suggest/browser/wordContextKey.js +1 -1
  67. package/esm/vs/editor/contrib/symbolIcons/browser/symbolIcons.js +33 -33
  68. package/esm/vs/editor/contrib/toggleTabFocusMode/browser/toggleTabFocusMode.js +4 -4
  69. package/esm/vs/editor/contrib/tokenization/browser/tokenization.js +1 -1
  70. package/esm/vs/editor/contrib/unicodeHighlighter/browser/bannerController.js +1 -1
  71. package/esm/vs/editor/contrib/unicodeHighlighter/browser/unicodeHighlighter.js +24 -24
  72. package/esm/vs/editor/contrib/unusualLineTerminators/browser/unusualLineTerminators.js +5 -5
  73. package/esm/vs/editor/contrib/wordHighlighter/browser/highlightDecorations.js +9 -9
  74. package/esm/vs/editor/contrib/wordHighlighter/browser/wordHighlighter.js +3 -3
  75. package/esm/vs/editor/contrib/wordOperations/browser/wordOperations.js +1 -1
  76. package/esm/vs/editor/editor.api.d.ts +6 -2
  77. package/esm/vs/platform/accessibilitySignal/browser/accessibilitySignalService.js +62 -62
  78. package/esm/vs/platform/action/common/actionCommonCategories.js +6 -6
  79. package/esm/vs/platform/actionWidget/browser/actionList.js +4 -4
  80. package/esm/vs/platform/actionWidget/browser/actionWidget.js +7 -7
  81. package/esm/vs/platform/actions/browser/menuEntryActionViewItem.js +5 -5
  82. package/esm/vs/platform/actions/browser/toolbar.js +2 -2
  83. package/esm/vs/platform/actions/common/actions.js +1 -0
  84. package/esm/vs/platform/actions/common/actions.js.map +1 -1
  85. package/esm/vs/platform/actions/common/menuService.js +2 -2
  86. package/esm/vs/platform/configuration/common/configurationRegistry.js +10 -10
  87. package/esm/vs/platform/contextkey/browser/contextKeyService.js +1 -1
  88. package/esm/vs/platform/contextkey/common/contextkey.js +9 -9
  89. package/esm/vs/platform/contextkey/common/contextkeys.js +9 -9
  90. package/esm/vs/platform/contextkey/common/scanner.js +5 -5
  91. package/esm/vs/platform/history/browser/contextScopedHistoryWidget.js +1 -1
  92. package/esm/vs/platform/hover/browser/hoverWidget.js +1 -1
  93. package/esm/vs/platform/hover/browser/updatableHoverWidget.js +1 -1
  94. package/esm/vs/platform/keybinding/common/abstractKeybindingService.js +4 -4
  95. package/esm/vs/platform/list/browser/listService.js +27 -27
  96. package/esm/vs/platform/markers/common/markerService.js +2 -2
  97. package/esm/vs/platform/markers/common/markers.js +6 -6
  98. package/esm/vs/platform/quickinput/browser/commandsQuickAccess.js +8 -8
  99. package/esm/vs/platform/quickinput/browser/helpQuickAccess.js +1 -1
  100. package/esm/vs/platform/quickinput/browser/quickInput.js +10 -10
  101. package/esm/vs/platform/quickinput/browser/quickInputActions.js +5 -5
  102. package/esm/vs/platform/quickinput/browser/quickInputController.js +6 -6
  103. package/esm/vs/platform/quickinput/browser/quickInputList.js +1 -1
  104. package/esm/vs/platform/quickinput/browser/quickInputUtils.js +1 -1
  105. package/esm/vs/platform/quickinput/browser/tree/quickInputTreeAccessibilityProvider.js +1 -1
  106. package/esm/vs/platform/theme/common/colorUtils.js +2 -2
  107. package/esm/vs/platform/theme/common/colors/baseColors.js +17 -17
  108. package/esm/vs/platform/theme/common/colors/chartsColors.js +8 -8
  109. package/esm/vs/platform/theme/common/colors/editorColors.js +95 -95
  110. package/esm/vs/platform/theme/common/colors/inputColors.js +47 -47
  111. package/esm/vs/platform/theme/common/colors/listColors.js +36 -36
  112. package/esm/vs/platform/theme/common/colors/menuColors.js +7 -7
  113. package/esm/vs/platform/theme/common/colors/minimapColors.js +11 -11
  114. package/esm/vs/platform/theme/common/colors/miscColors.js +16 -16
  115. package/esm/vs/platform/theme/common/colors/quickpickColors.js +9 -9
  116. package/esm/vs/platform/theme/common/colors/searchColors.js +3 -3
  117. package/esm/vs/platform/theme/common/iconRegistry.js +6 -6
  118. package/esm/vs/platform/undoRedo/common/undoRedoService.js +20 -20
  119. package/esm/vs/platform/workspace/common/workspace.js +1 -1
  120. package/monaco.d.ts +6 -2
  121. package/package.json +2 -2
@@ -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(1246, "Replace with Previous Value"),
110
+ label: nls.localize2(1247, "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(1247, "Replace with Next Value"),
131
+ label: nls.localize2(1248, "Replace with Next Value"),
132
132
  precondition: EditorContextKeys.writable,
133
133
  kbOpts: {
134
134
  kbExpr: EditorContextKeys.editorTextFocus,
@@ -8,4 +8,5 @@ export const showNextInlineSuggestionActionId = 'editor.action.inlineSuggest.sho
8
8
  export const jumpToNextInlineEditId = 'editor.action.inlineSuggest.jump';
9
9
  export const hideInlineCompletionId = 'editor.action.inlineSuggest.hide';
10
10
  export const toggleShowCollapsedId = 'editor.action.inlineSuggest.toggleShowCollapsed';
11
+ export const renameSymbolCommandId = 'editor.action.inlineSuggest.renameSymbol';
11
12
  //# sourceMappingURL=commandIds.js.map
@@ -1 +1 @@
1
- {"version":3,"sources":["file:///mnt/vss/_work/1/s/dependencies/vscode/out-editor-src/vs/editor/contrib/inlineCompletions/browser/controller/commandIds.ts","vs/editor/contrib/inlineCompletions/browser/controller/commandIds.ts"],"names":[],"mappings":"AAAA;;;gGAGgG;AAEhG,MAAM,CAAC,MAAM,qBAAqB,GAAG,oCAAoC,CAAC;AAE1E,MAAM,CAAC,MAAM,oCAAoC,GAAG,0CAA0C,CAAC;AAE/F,MAAM,CAAC,MAAM,gCAAgC,GAAG,sCAAsC,CAAC;AAEvF,MAAM,CAAC,MAAM,sBAAsB,GAAG,kCAAkC,CAAC;AAEzE,MAAM,CAAC,MAAM,sBAAsB,GAAG,kCAAkC,CAAC;AAEzE,MAAM,CAAC,MAAM,qBAAqB,GAAG,iDAAiD,CAAC","file":"commandIds.js","sourceRoot":"file:///mnt/vss/_work/1/s/dependencies/vscode/out-editor-src","sourcesContent":["/*---------------------------------------------------------------------------------------------\n * Copyright (c) Microsoft Corporation. All rights reserved.\n * Licensed under the MIT License. See License.txt in the project root for license information.\n *--------------------------------------------------------------------------------------------*/\n\nexport const inlineSuggestCommitId = 'editor.action.inlineSuggest.commit';\n\nexport const showPreviousInlineSuggestionActionId = 'editor.action.inlineSuggest.showPrevious';\n\nexport const showNextInlineSuggestionActionId = 'editor.action.inlineSuggest.showNext';\n\nexport const jumpToNextInlineEditId = 'editor.action.inlineSuggest.jump';\n\nexport const hideInlineCompletionId = 'editor.action.inlineSuggest.hide';\n\nexport const toggleShowCollapsedId = 'editor.action.inlineSuggest.toggleShowCollapsed';\n","/*---------------------------------------------------------------------------------------------\n * Copyright (c) Microsoft Corporation. All rights reserved.\n * Licensed under the MIT License. See License.txt in the project root for license information.\n *--------------------------------------------------------------------------------------------*/\n\nexport const inlineSuggestCommitId = 'editor.action.inlineSuggest.commit';\n\nexport const showPreviousInlineSuggestionActionId = 'editor.action.inlineSuggest.showPrevious';\n\nexport const showNextInlineSuggestionActionId = 'editor.action.inlineSuggest.showNext';\n\nexport const jumpToNextInlineEditId = 'editor.action.inlineSuggest.jump';\n\nexport const hideInlineCompletionId = 'editor.action.inlineSuggest.hide';\n\nexport const toggleShowCollapsedId = 'editor.action.inlineSuggest.toggleShowCollapsed';\n"]}
1
+ {"version":3,"sources":["file:///mnt/vss/_work/1/s/dependencies/vscode/out-editor-src/vs/editor/contrib/inlineCompletions/browser/controller/commandIds.ts","vs/editor/contrib/inlineCompletions/browser/controller/commandIds.ts"],"names":[],"mappings":"AAAA;;;gGAGgG;AAEhG,MAAM,CAAC,MAAM,qBAAqB,GAAG,oCAAoC,CAAC;AAE1E,MAAM,CAAC,MAAM,oCAAoC,GAAG,0CAA0C,CAAC;AAE/F,MAAM,CAAC,MAAM,gCAAgC,GAAG,sCAAsC,CAAC;AAEvF,MAAM,CAAC,MAAM,sBAAsB,GAAG,kCAAkC,CAAC;AAEzE,MAAM,CAAC,MAAM,sBAAsB,GAAG,kCAAkC,CAAC;AAEzE,MAAM,CAAC,MAAM,qBAAqB,GAAG,iDAAiD,CAAC;AAEvF,MAAM,CAAC,MAAM,qBAAqB,GAAG,0CAA0C,CAAC","file":"commandIds.js","sourceRoot":"file:///mnt/vss/_work/1/s/dependencies/vscode/out-editor-src","sourcesContent":["/*---------------------------------------------------------------------------------------------\n * Copyright (c) Microsoft Corporation. All rights reserved.\n * Licensed under the MIT License. See License.txt in the project root for license information.\n *--------------------------------------------------------------------------------------------*/\n\nexport const inlineSuggestCommitId = 'editor.action.inlineSuggest.commit';\n\nexport const showPreviousInlineSuggestionActionId = 'editor.action.inlineSuggest.showPrevious';\n\nexport const showNextInlineSuggestionActionId = 'editor.action.inlineSuggest.showNext';\n\nexport const jumpToNextInlineEditId = 'editor.action.inlineSuggest.jump';\n\nexport const hideInlineCompletionId = 'editor.action.inlineSuggest.hide';\n\nexport const toggleShowCollapsedId = 'editor.action.inlineSuggest.toggleShowCollapsed';\n\nexport const renameSymbolCommandId = 'editor.action.inlineSuggest.renameSymbol';\n","/*---------------------------------------------------------------------------------------------\n * Copyright (c) Microsoft Corporation. All rights reserved.\n * Licensed under the MIT License. See License.txt in the project root for license information.\n *--------------------------------------------------------------------------------------------*/\n\nexport const inlineSuggestCommitId = 'editor.action.inlineSuggest.commit';\n\nexport const showPreviousInlineSuggestionActionId = 'editor.action.inlineSuggest.showPrevious';\n\nexport const showNextInlineSuggestionActionId = 'editor.action.inlineSuggest.showNext';\n\nexport const jumpToNextInlineEditId = 'editor.action.inlineSuggest.jump';\n\nexport const hideInlineCompletionId = 'editor.action.inlineSuggest.hide';\n\nexport const toggleShowCollapsedId = 'editor.action.inlineSuggest.toggleShowCollapsed';\n\nexport const renameSymbolCommandId = 'editor.action.inlineSuggest.renameSymbol';\n"]}
@@ -801,6 +801,11 @@ let InlineCompletionsModel = class InlineCompletionsModel extends Disposable {
801
801
  this._onDidAccept.fire();
802
802
  // Reset before invoking the command, as the command might cause a follow up trigger (which we don't want to reset).
803
803
  this.stop();
804
+ if (completion.renameCommand) {
805
+ await this._commandService
806
+ .executeCommand(completion.renameCommand.id, ...(completion.renameCommand.arguments || []))
807
+ .then(undefined, onUnexpectedExternalError);
808
+ }
804
809
  if (completion.command) {
805
810
  await this._commandService
806
811
  .executeCommand(completion.command.id, ...(completion.command.arguments || []))