monaco-editor-core 0.55.0-dev-20251028 → 0.55.0-dev-20251030

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 (183) 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 +14 -0
  18. package/esm/vs/base/browser/markdownRenderer.js +53 -1
  19. package/esm/vs/base/browser/markdownRenderer.js.map +1 -1
  20. package/esm/vs/base/browser/ui/codicons/codicon/codicon.ttf +0 -0
  21. package/esm/vs/base/common/codiconsLibrary.js +6 -3
  22. package/esm/vs/base/common/codiconsLibrary.js.map +1 -1
  23. package/esm/vs/base/common/glob.js +41 -31
  24. package/esm/vs/base/common/glob.js.map +1 -1
  25. package/esm/vs/base/common/htmlContent.js +5 -1
  26. package/esm/vs/base/common/htmlContent.js.map +1 -1
  27. package/esm/vs/base/common/network.js +2 -6
  28. package/esm/vs/base/common/network.js.map +1 -1
  29. package/esm/vs/base/common/strings.js +8 -6
  30. package/esm/vs/base/common/strings.js.map +1 -1
  31. package/esm/vs/editor/browser/editorExtensions.js +5 -0
  32. package/esm/vs/editor/browser/editorExtensions.js.map +1 -1
  33. package/esm/vs/editor/browser/triggerInlineEditCommandsRegistry.js +17 -0
  34. package/esm/vs/editor/browser/triggerInlineEditCommandsRegistry.js.map +1 -0
  35. package/esm/vs/editor/common/textModelEditSource.js +1 -0
  36. package/esm/vs/editor/common/textModelEditSource.js.map +1 -1
  37. package/esm/vs/editor/contrib/bracketMatching/browser/bracketMatching.js +2 -1
  38. package/esm/vs/editor/contrib/bracketMatching/browser/bracketMatching.js.map +1 -1
  39. package/esm/vs/editor/contrib/colorPicker/browser/hoverColorPicker/hoverColorPickerParticipant.js +4 -0
  40. package/esm/vs/editor/contrib/colorPicker/browser/hoverColorPicker/hoverColorPickerParticipant.js.map +1 -1
  41. package/esm/vs/editor/contrib/colorPicker/browser/standaloneColorPicker/standaloneColorPickerActions.js +7 -7
  42. package/esm/vs/editor/contrib/comment/browser/comment.js +16 -12
  43. package/esm/vs/editor/contrib/comment/browser/comment.js.map +1 -1
  44. package/esm/vs/editor/contrib/contextmenu/browser/contextmenu.js +10 -10
  45. package/esm/vs/editor/contrib/cursorUndo/browser/cursorUndo.js +2 -2
  46. package/esm/vs/editor/contrib/dropOrPasteInto/browser/copyPasteContribution.js +7 -5
  47. package/esm/vs/editor/contrib/dropOrPasteInto/browser/copyPasteContribution.js.map +1 -1
  48. package/esm/vs/editor/contrib/dropOrPasteInto/browser/copyPasteController.js +9 -9
  49. package/esm/vs/editor/contrib/dropOrPasteInto/browser/defaultProviders.js +8 -8
  50. package/esm/vs/editor/contrib/dropOrPasteInto/browser/dropIntoEditorController.js +3 -3
  51. package/esm/vs/editor/contrib/dropOrPasteInto/browser/postEditWidget.js +2 -2
  52. package/esm/vs/editor/contrib/editorState/browser/keybindingCancellation.js +1 -1
  53. package/esm/vs/editor/contrib/find/browser/findController.js +16 -16
  54. package/esm/vs/editor/contrib/find/browser/findWidget.js +26 -26
  55. package/esm/vs/editor/contrib/folding/browser/folding.js +20 -20
  56. package/esm/vs/editor/contrib/folding/browser/folding.js.map +1 -1
  57. package/esm/vs/editor/contrib/folding/browser/foldingDecorations.js +9 -9
  58. package/esm/vs/editor/contrib/fontZoom/browser/fontZoom.js +3 -3
  59. package/esm/vs/editor/contrib/format/browser/formatActions.js +2 -2
  60. package/esm/vs/editor/contrib/gotoError/browser/gotoError.js +8 -8
  61. package/esm/vs/editor/contrib/gotoError/browser/gotoErrorWidget.js +14 -14
  62. package/esm/vs/editor/contrib/gotoSymbol/browser/goToCommands.js +39 -39
  63. package/esm/vs/editor/contrib/gotoSymbol/browser/link/goToDefinitionAtPosition.js +1 -1
  64. package/esm/vs/editor/contrib/gotoSymbol/browser/peek/referencesController.js +3 -3
  65. package/esm/vs/editor/contrib/gotoSymbol/browser/peek/referencesTree.js +3 -3
  66. package/esm/vs/editor/contrib/gotoSymbol/browser/peek/referencesWidget.js +3 -3
  67. package/esm/vs/editor/contrib/gotoSymbol/browser/referencesModel.js +8 -8
  68. package/esm/vs/editor/contrib/gotoSymbol/browser/symbolNavigation.js +3 -3
  69. package/esm/vs/editor/contrib/gpu/browser/gpuActions.js +4 -4
  70. package/esm/vs/editor/contrib/hover/browser/contentHoverRendered.js +17 -6
  71. package/esm/vs/editor/contrib/hover/browser/contentHoverRendered.js.map +1 -1
  72. package/esm/vs/editor/contrib/hover/browser/contentHoverWidgetWrapper.js +6 -3
  73. package/esm/vs/editor/contrib/hover/browser/contentHoverWidgetWrapper.js.map +1 -1
  74. package/esm/vs/editor/contrib/hover/browser/hover.css +36 -0
  75. package/esm/vs/editor/contrib/hover/browser/hoverActionIds.js +2 -2
  76. package/esm/vs/editor/contrib/hover/browser/hoverActions.js +24 -24
  77. package/esm/vs/editor/contrib/hover/browser/hoverCopyButton.js +51 -0
  78. package/esm/vs/editor/contrib/hover/browser/hoverCopyButton.js.map +1 -0
  79. package/esm/vs/editor/contrib/hover/browser/hoverTypes.js.map +1 -1
  80. package/esm/vs/editor/contrib/hover/browser/markdownHoverParticipant.js +25 -9
  81. package/esm/vs/editor/contrib/hover/browser/markdownHoverParticipant.js.map +1 -1
  82. package/esm/vs/editor/contrib/hover/browser/markerHoverParticipant.js +8 -5
  83. package/esm/vs/editor/contrib/hover/browser/markerHoverParticipant.js.map +1 -1
  84. package/esm/vs/editor/contrib/inPlaceReplace/browser/inPlaceReplace.js +2 -2
  85. package/esm/vs/editor/contrib/indentation/browser/indentation.js +29 -27
  86. package/esm/vs/editor/contrib/indentation/browser/indentation.js.map +1 -1
  87. package/esm/vs/editor/contrib/inlayHints/browser/inlayHintsHover.js +8 -8
  88. package/esm/vs/editor/contrib/inlineCompletions/browser/controller/commands.js +20 -20
  89. package/esm/vs/editor/contrib/inlineCompletions/browser/controller/inlineCompletionContextKeys.js +12 -12
  90. package/esm/vs/editor/contrib/inlineCompletions/browser/controller/inlineCompletionsController.js +3 -1
  91. package/esm/vs/editor/contrib/inlineCompletions/browser/controller/inlineCompletionsController.js.map +1 -1
  92. package/esm/vs/editor/contrib/inlineCompletions/browser/hintsWidget/hoverParticipant.js +4 -1
  93. package/esm/vs/editor/contrib/inlineCompletions/browser/hintsWidget/hoverParticipant.js.map +1 -1
  94. package/esm/vs/editor/contrib/inlineCompletions/browser/hintsWidget/inlineCompletionsHintsWidget.js +5 -5
  95. package/esm/vs/editor/contrib/inlineCompletions/browser/view/inlineEdits/components/gutterIndicatorMenu.js +6 -6
  96. package/esm/vs/editor/contrib/inlineCompletions/browser/view/inlineEdits/components/gutterIndicatorView.js +1 -1
  97. package/esm/vs/editor/contrib/inlineCompletions/browser/view/inlineEdits/components/gutterIndicatorView.js.map +1 -1
  98. package/esm/vs/editor/contrib/inlineCompletions/browser/view/inlineEdits/inlineEditsModel.js +1 -1
  99. package/esm/vs/editor/contrib/inlineCompletions/browser/view/inlineEdits/theme.js +20 -20
  100. package/esm/vs/editor/contrib/insertFinalNewLine/browser/insertFinalNewLine.js +1 -1
  101. package/esm/vs/editor/contrib/lineSelection/browser/lineSelection.js +1 -1
  102. package/esm/vs/editor/contrib/linesOperations/browser/linesOperations.js +87 -62
  103. package/esm/vs/editor/contrib/linesOperations/browser/linesOperations.js.map +1 -1
  104. package/esm/vs/editor/contrib/linkedEditing/browser/linkedEditing.js +2 -2
  105. package/esm/vs/editor/contrib/links/browser/links.js +10 -10
  106. package/esm/vs/editor/contrib/message/browser/messageController.js +1 -1
  107. package/esm/vs/editor/contrib/multicursor/browser/multicursor.js +22 -22
  108. package/esm/vs/editor/contrib/parameterHints/browser/parameterHints.js +1 -1
  109. package/esm/vs/editor/contrib/parameterHints/browser/parameterHintsWidget.js +4 -4
  110. package/esm/vs/editor/contrib/peekView/browser/peekView.js +18 -18
  111. package/esm/vs/editor/contrib/placeholderText/browser/placeholderText.contribution.js +1 -1
  112. package/esm/vs/editor/contrib/quickAccess/browser/gotoLineQuickAccess.js +8 -8
  113. package/esm/vs/editor/contrib/quickAccess/browser/gotoSymbolQuickAccess.js +32 -32
  114. package/esm/vs/editor/contrib/readOnlyMessage/browser/contribution.js +2 -2
  115. package/esm/vs/editor/contrib/rename/browser/rename.js +13 -12
  116. package/esm/vs/editor/contrib/rename/browser/rename.js.map +1 -1
  117. package/esm/vs/editor/contrib/rename/browser/renameWidget.js +7 -7
  118. package/esm/vs/editor/contrib/smartSelect/browser/smartSelect.js +4 -4
  119. package/esm/vs/editor/contrib/snippet/browser/snippetController2.js +4 -4
  120. package/esm/vs/editor/contrib/snippet/browser/snippetVariables.js +4 -4
  121. package/esm/vs/editor/contrib/stickyScroll/browser/stickyScrollActions.js +11 -11
  122. package/esm/vs/editor/contrib/suggest/browser/suggest.js +8 -8
  123. package/esm/vs/editor/contrib/suggest/browser/suggestController.js +10 -10
  124. package/esm/vs/editor/contrib/suggest/browser/suggestWidget.js +17 -17
  125. package/esm/vs/editor/contrib/suggest/browser/suggestWidgetDetails.js +2 -2
  126. package/esm/vs/editor/contrib/suggest/browser/suggestWidgetRenderer.js +2 -2
  127. package/esm/vs/editor/contrib/suggest/browser/wordContextKey.js +1 -1
  128. package/esm/vs/editor/contrib/symbolIcons/browser/symbolIcons.js +33 -33
  129. package/esm/vs/editor/contrib/toggleTabFocusMode/browser/toggleTabFocusMode.js +4 -4
  130. package/esm/vs/editor/contrib/tokenization/browser/tokenization.js +1 -1
  131. package/esm/vs/editor/contrib/unicodeHighlighter/browser/bannerController.js +1 -1
  132. package/esm/vs/editor/contrib/unicodeHighlighter/browser/unicodeHighlighter.js +27 -24
  133. package/esm/vs/editor/contrib/unicodeHighlighter/browser/unicodeHighlighter.js.map +1 -1
  134. package/esm/vs/editor/contrib/unusualLineTerminators/browser/unusualLineTerminators.js +5 -5
  135. package/esm/vs/editor/contrib/wordHighlighter/browser/highlightDecorations.js +9 -9
  136. package/esm/vs/editor/contrib/wordHighlighter/browser/wordHighlighter.js +3 -3
  137. package/esm/vs/editor/contrib/wordOperations/browser/wordOperations.js +9 -9
  138. package/esm/vs/editor/contrib/wordOperations/browser/wordOperations.js.map +1 -1
  139. package/esm/vs/platform/accessibilitySignal/browser/accessibilitySignalService.js +62 -62
  140. package/esm/vs/platform/action/common/actionCommonCategories.js +6 -6
  141. package/esm/vs/platform/actionWidget/browser/actionList.js +4 -4
  142. package/esm/vs/platform/actionWidget/browser/actionWidget.js +7 -7
  143. package/esm/vs/platform/actions/browser/menuEntryActionViewItem.js +5 -5
  144. package/esm/vs/platform/actions/browser/toolbar.js +2 -2
  145. package/esm/vs/platform/actions/common/actions.js +2 -0
  146. package/esm/vs/platform/actions/common/actions.js.map +1 -1
  147. package/esm/vs/platform/actions/common/menuService.js +2 -2
  148. package/esm/vs/platform/configuration/common/configurationRegistry.js +10 -10
  149. package/esm/vs/platform/contextkey/browser/contextKeyService.js +1 -1
  150. package/esm/vs/platform/contextkey/common/contextkey.js +9 -9
  151. package/esm/vs/platform/contextkey/common/contextkeys.js +9 -9
  152. package/esm/vs/platform/contextkey/common/scanner.js +5 -5
  153. package/esm/vs/platform/history/browser/contextScopedHistoryWidget.js +1 -1
  154. package/esm/vs/platform/hover/browser/hoverWidget.js +2 -2
  155. package/esm/vs/platform/hover/browser/hoverWidget.js.map +1 -1
  156. package/esm/vs/platform/hover/browser/updatableHoverWidget.js +1 -1
  157. package/esm/vs/platform/keybinding/common/abstractKeybindingService.js +4 -4
  158. package/esm/vs/platform/list/browser/listService.js +27 -27
  159. package/esm/vs/platform/markers/common/markerService.js +2 -2
  160. package/esm/vs/platform/markers/common/markers.js +6 -6
  161. package/esm/vs/platform/quickinput/browser/commandsQuickAccess.js +7 -7
  162. package/esm/vs/platform/quickinput/browser/helpQuickAccess.js +1 -1
  163. package/esm/vs/platform/quickinput/browser/quickInput.js +10 -10
  164. package/esm/vs/platform/quickinput/browser/quickInputActions.js +5 -5
  165. package/esm/vs/platform/quickinput/browser/quickInputController.js +6 -6
  166. package/esm/vs/platform/quickinput/browser/quickInputList.js +1 -1
  167. package/esm/vs/platform/quickinput/browser/quickInputUtils.js +1 -1
  168. package/esm/vs/platform/quickinput/browser/tree/quickInputTreeAccessibilityProvider.js +1 -1
  169. package/esm/vs/platform/theme/common/colorUtils.js +2 -2
  170. package/esm/vs/platform/theme/common/colors/baseColors.js +17 -17
  171. package/esm/vs/platform/theme/common/colors/chartsColors.js +8 -8
  172. package/esm/vs/platform/theme/common/colors/editorColors.js +95 -95
  173. package/esm/vs/platform/theme/common/colors/inputColors.js +47 -47
  174. package/esm/vs/platform/theme/common/colors/listColors.js +36 -36
  175. package/esm/vs/platform/theme/common/colors/menuColors.js +7 -7
  176. package/esm/vs/platform/theme/common/colors/minimapColors.js +11 -11
  177. package/esm/vs/platform/theme/common/colors/miscColors.js +16 -16
  178. package/esm/vs/platform/theme/common/colors/quickpickColors.js +9 -9
  179. package/esm/vs/platform/theme/common/colors/searchColors.js +3 -3
  180. package/esm/vs/platform/theme/common/iconRegistry.js +6 -6
  181. package/esm/vs/platform/undoRedo/common/undoRedoService.js +20 -20
  182. package/esm/vs/platform/workspace/common/workspace.js +1 -1
  183. package/package.json +2 -2
@@ -3,24 +3,24 @@
3
3
  * Licensed under the MIT License. See License.txt in the project root for license information.
4
4
  *--------------------------------------------------------------------------------------------*/
5
5
  import { KeyChord } from '../../../../base/common/keyCodes.js';
6
+ import * as nls from '../../../../nls.js';
7
+ import { MenuId } from '../../../../platform/actions/common/actions.js';
8
+ import { IConfigurationService } from '../../../../platform/configuration/common/configuration.js';
6
9
  import { CoreEditingCommands } from '../../../browser/coreCommands.js';
7
10
  import { EditorAction, registerEditorAction } from '../../../browser/editorExtensions.js';
8
11
  import { ReplaceCommand, ReplaceCommandThatPreservesSelection, ReplaceCommandThatSelectsText } from '../../../common/commands/replaceCommand.js';
9
12
  import { TrimTrailingWhitespaceCommand } from '../../../common/commands/trimTrailingWhitespaceCommand.js';
10
- import { TypeOperations } from '../../../common/cursor/cursorTypeOperations.js';
11
- import { EnterOperation } from '../../../common/cursor/cursorTypeEditOperations.js';
12
13
  import { EditOperation } from '../../../common/core/editOperation.js';
13
14
  import { Position } from '../../../common/core/position.js';
14
15
  import { Range } from '../../../common/core/range.js';
15
16
  import { Selection } from '../../../common/core/selection.js';
17
+ import { EnterOperation } from '../../../common/cursor/cursorTypeEditOperations.js';
18
+ import { TypeOperations } from '../../../common/cursor/cursorTypeOperations.js';
16
19
  import { EditorContextKeys } from '../../../common/editorContextKeys.js';
20
+ import { ILanguageConfigurationService } from '../../../common/languages/languageConfigurationRegistry.js';
17
21
  import { CopyLinesCommand } from './copyLinesCommand.js';
18
22
  import { MoveLinesCommand } from './moveLinesCommand.js';
19
23
  import { SortLinesCommand } from './sortLinesCommand.js';
20
- import * as nls from '../../../../nls.js';
21
- import { MenuId } from '../../../../platform/actions/common/actions.js';
22
- import { ILanguageConfigurationService } from '../../../common/languages/languageConfigurationRegistry.js';
23
- import { IConfigurationService } from '../../../../platform/configuration/common/configuration.js';
24
24
  // copy lines
25
25
  class AbstractCopyLinesAction extends EditorAction {
26
26
  constructor(down, opts) {
@@ -63,7 +63,7 @@ class CopyLinesUpAction extends AbstractCopyLinesAction {
63
63
  constructor() {
64
64
  super(false, {
65
65
  id: 'editor.action.copyLinesUpAction',
66
- label: nls.localize2(1245, "Copy Line Up"),
66
+ label: nls.localize2(1248, "Copy Line Up"),
67
67
  precondition: EditorContextKeys.writable,
68
68
  kbOpts: {
69
69
  kbExpr: EditorContextKeys.editorTextFocus,
@@ -74,9 +74,10 @@ class CopyLinesUpAction extends AbstractCopyLinesAction {
74
74
  menuOpts: {
75
75
  menuId: MenuId.MenubarSelectionMenu,
76
76
  group: '2_line',
77
- title: nls.localize(1240, "&&Copy Line Up"),
77
+ title: nls.localize(1243, "&&Copy Line Up"),
78
78
  order: 1
79
- }
79
+ },
80
+ canTriggerInlineEdits: true,
80
81
  });
81
82
  }
82
83
  }
@@ -84,7 +85,7 @@ class CopyLinesDownAction extends AbstractCopyLinesAction {
84
85
  constructor() {
85
86
  super(true, {
86
87
  id: 'editor.action.copyLinesDownAction',
87
- label: nls.localize2(1246, "Copy Line Down"),
88
+ label: nls.localize2(1249, "Copy Line Down"),
88
89
  precondition: EditorContextKeys.writable,
89
90
  kbOpts: {
90
91
  kbExpr: EditorContextKeys.editorTextFocus,
@@ -95,9 +96,10 @@ class CopyLinesDownAction extends AbstractCopyLinesAction {
95
96
  menuOpts: {
96
97
  menuId: MenuId.MenubarSelectionMenu,
97
98
  group: '2_line',
98
- title: nls.localize(1241, "Co&&py Line Down"),
99
+ title: nls.localize(1244, "Co&&py Line Down"),
99
100
  order: 2
100
- }
101
+ },
102
+ canTriggerInlineEdits: true,
101
103
  });
102
104
  }
103
105
  }
@@ -105,14 +107,15 @@ export class DuplicateSelectionAction extends EditorAction {
105
107
  constructor() {
106
108
  super({
107
109
  id: 'editor.action.duplicateSelection',
108
- label: nls.localize2(1247, "Duplicate Selection"),
110
+ label: nls.localize2(1250, "Duplicate Selection"),
109
111
  precondition: EditorContextKeys.writable,
110
112
  menuOpts: {
111
113
  menuId: MenuId.MenubarSelectionMenu,
112
114
  group: '2_line',
113
- title: nls.localize(1242, "&&Duplicate Selection"),
115
+ title: nls.localize(1245, "&&Duplicate Selection"),
114
116
  order: 5
115
- }
117
+ },
118
+ canTriggerInlineEdits: true,
116
119
  });
117
120
  }
118
121
  run(accessor, editor, args) {
@@ -159,7 +162,7 @@ class MoveLinesUpAction extends AbstractMoveLinesAction {
159
162
  constructor() {
160
163
  super(false, {
161
164
  id: 'editor.action.moveLinesUpAction',
162
- label: nls.localize2(1248, "Move Line Up"),
165
+ label: nls.localize2(1251, "Move Line Up"),
163
166
  precondition: EditorContextKeys.writable,
164
167
  kbOpts: {
165
168
  kbExpr: EditorContextKeys.editorTextFocus,
@@ -170,9 +173,10 @@ class MoveLinesUpAction extends AbstractMoveLinesAction {
170
173
  menuOpts: {
171
174
  menuId: MenuId.MenubarSelectionMenu,
172
175
  group: '2_line',
173
- title: nls.localize(1243, "Mo&&ve Line Up"),
176
+ title: nls.localize(1246, "Mo&&ve Line Up"),
174
177
  order: 3
175
- }
178
+ },
179
+ canTriggerInlineEdits: true,
176
180
  });
177
181
  }
178
182
  }
@@ -180,7 +184,7 @@ class MoveLinesDownAction extends AbstractMoveLinesAction {
180
184
  constructor() {
181
185
  super(true, {
182
186
  id: 'editor.action.moveLinesDownAction',
183
- label: nls.localize2(1249, "Move Line Down"),
187
+ label: nls.localize2(1252, "Move Line Down"),
184
188
  precondition: EditorContextKeys.writable,
185
189
  kbOpts: {
186
190
  kbExpr: EditorContextKeys.editorTextFocus,
@@ -191,9 +195,10 @@ class MoveLinesDownAction extends AbstractMoveLinesAction {
191
195
  menuOpts: {
192
196
  menuId: MenuId.MenubarSelectionMenu,
193
197
  group: '2_line',
194
- title: nls.localize(1244, "Move &&Line Down"),
198
+ title: nls.localize(1247, "Move &&Line Down"),
195
199
  order: 4
196
- }
200
+ },
201
+ canTriggerInlineEdits: true,
197
202
  });
198
203
  }
199
204
  }
@@ -230,8 +235,9 @@ export class SortLinesAscendingAction extends AbstractSortLinesAction {
230
235
  constructor() {
231
236
  super(false, {
232
237
  id: 'editor.action.sortLinesAscending',
233
- label: nls.localize2(1250, "Sort Lines Ascending"),
234
- precondition: EditorContextKeys.writable
238
+ label: nls.localize2(1253, "Sort Lines Ascending"),
239
+ precondition: EditorContextKeys.writable,
240
+ canTriggerInlineEdits: true,
235
241
  });
236
242
  }
237
243
  }
@@ -239,8 +245,9 @@ export class SortLinesDescendingAction extends AbstractSortLinesAction {
239
245
  constructor() {
240
246
  super(true, {
241
247
  id: 'editor.action.sortLinesDescending',
242
- label: nls.localize2(1251, "Sort Lines Descending"),
243
- precondition: EditorContextKeys.writable
248
+ label: nls.localize2(1254, "Sort Lines Descending"),
249
+ precondition: EditorContextKeys.writable,
250
+ canTriggerInlineEdits: true,
244
251
  });
245
252
  }
246
253
  }
@@ -248,8 +255,9 @@ export class DeleteDuplicateLinesAction extends EditorAction {
248
255
  constructor() {
249
256
  super({
250
257
  id: 'editor.action.removeDuplicateLines',
251
- label: nls.localize2(1252, "Delete Duplicate Lines"),
252
- precondition: EditorContextKeys.writable
258
+ label: nls.localize2(1255, "Delete Duplicate Lines"),
259
+ precondition: EditorContextKeys.writable,
260
+ canTriggerInlineEdits: true,
253
261
  });
254
262
  }
255
263
  run(_accessor, editor) {
@@ -297,8 +305,9 @@ export class ReverseLinesAction extends EditorAction {
297
305
  constructor() {
298
306
  super({
299
307
  id: 'editor.action.reverseLines',
300
- label: nls.localize2(1253, "Reverse lines"),
301
- precondition: EditorContextKeys.writable
308
+ label: nls.localize2(1256, "Reverse lines"),
309
+ precondition: EditorContextKeys.writable,
310
+ canTriggerInlineEdits: true
302
311
  });
303
312
  }
304
313
  run(_accessor, editor) {
@@ -363,7 +372,7 @@ export class TrimTrailingWhitespaceAction extends EditorAction {
363
372
  constructor() {
364
373
  super({
365
374
  id: TrimTrailingWhitespaceAction.ID,
366
- label: nls.localize2(1254, "Trim Trailing Whitespace"),
375
+ label: nls.localize2(1257, "Trim Trailing Whitespace"),
367
376
  precondition: EditorContextKeys.writable,
368
377
  kbOpts: {
369
378
  kbExpr: EditorContextKeys.editorTextFocus,
@@ -397,13 +406,14 @@ export class DeleteLinesAction extends EditorAction {
397
406
  constructor() {
398
407
  super({
399
408
  id: 'editor.action.deleteLines',
400
- label: nls.localize2(1255, "Delete Line"),
409
+ label: nls.localize2(1258, "Delete Line"),
401
410
  precondition: EditorContextKeys.writable,
402
411
  kbOpts: {
403
412
  kbExpr: EditorContextKeys.textInputFocus,
404
413
  primary: 2048 /* KeyMod.CtrlCmd */ | 1024 /* KeyMod.Shift */ | 41 /* KeyCode.KeyK */,
405
414
  weight: 100 /* KeybindingWeight.EditorContrib */
406
- }
415
+ },
416
+ canTriggerInlineEdits: true,
407
417
  });
408
418
  }
409
419
  run(_accessor, editor) {
@@ -485,13 +495,14 @@ export class IndentLinesAction extends EditorAction {
485
495
  constructor() {
486
496
  super({
487
497
  id: 'editor.action.indentLines',
488
- label: nls.localize2(1256, "Indent Line"),
498
+ label: nls.localize2(1259, "Indent Line"),
489
499
  precondition: EditorContextKeys.writable,
490
500
  kbOpts: {
491
501
  kbExpr: EditorContextKeys.editorTextFocus,
492
502
  primary: 2048 /* KeyMod.CtrlCmd */ | 94 /* KeyCode.BracketRight */,
493
503
  weight: 100 /* KeybindingWeight.EditorContrib */
494
- }
504
+ },
505
+ canTriggerInlineEdits: true,
495
506
  });
496
507
  }
497
508
  run(_accessor, editor) {
@@ -508,13 +519,14 @@ class OutdentLinesAction extends EditorAction {
508
519
  constructor() {
509
520
  super({
510
521
  id: 'editor.action.outdentLines',
511
- label: nls.localize2(1257, "Outdent Line"),
522
+ label: nls.localize2(1260, "Outdent Line"),
512
523
  precondition: EditorContextKeys.writable,
513
524
  kbOpts: {
514
525
  kbExpr: EditorContextKeys.editorTextFocus,
515
526
  primary: 2048 /* KeyMod.CtrlCmd */ | 92 /* KeyCode.BracketLeft */,
516
527
  weight: 100 /* KeybindingWeight.EditorContrib */
517
- }
528
+ },
529
+ canTriggerInlineEdits: true,
518
530
  });
519
531
  }
520
532
  run(_accessor, editor) {
@@ -526,13 +538,14 @@ export class InsertLineBeforeAction extends EditorAction {
526
538
  constructor() {
527
539
  super({
528
540
  id: InsertLineBeforeAction.ID,
529
- label: nls.localize2(1258, "Insert Line Above"),
541
+ label: nls.localize2(1261, "Insert Line Above"),
530
542
  precondition: EditorContextKeys.writable,
531
543
  kbOpts: {
532
544
  kbExpr: EditorContextKeys.editorTextFocus,
533
545
  primary: 2048 /* KeyMod.CtrlCmd */ | 1024 /* KeyMod.Shift */ | 3 /* KeyCode.Enter */,
534
546
  weight: 100 /* KeybindingWeight.EditorContrib */
535
- }
547
+ },
548
+ canTriggerInlineEdits: true,
536
549
  });
537
550
  }
538
551
  run(_accessor, editor) {
@@ -549,13 +562,14 @@ export class InsertLineAfterAction extends EditorAction {
549
562
  constructor() {
550
563
  super({
551
564
  id: InsertLineAfterAction.ID,
552
- label: nls.localize2(1259, "Insert Line Below"),
565
+ label: nls.localize2(1262, "Insert Line Below"),
553
566
  precondition: EditorContextKeys.writable,
554
567
  kbOpts: {
555
568
  kbExpr: EditorContextKeys.editorTextFocus,
556
569
  primary: 2048 /* KeyMod.CtrlCmd */ | 3 /* KeyCode.Enter */,
557
570
  weight: 100 /* KeybindingWeight.EditorContrib */
558
- }
571
+ },
572
+ canTriggerInlineEdits: true,
559
573
  });
560
574
  }
561
575
  run(_accessor, editor) {
@@ -600,14 +614,15 @@ export class DeleteAllLeftAction extends AbstractDeleteAllToBoundaryAction {
600
614
  constructor() {
601
615
  super({
602
616
  id: 'deleteAllLeft',
603
- label: nls.localize2(1260, "Delete All Left"),
617
+ label: nls.localize2(1263, "Delete All Left"),
604
618
  precondition: EditorContextKeys.writable,
605
619
  kbOpts: {
606
620
  kbExpr: EditorContextKeys.textInputFocus,
607
621
  primary: 0,
608
622
  mac: { primary: 2048 /* KeyMod.CtrlCmd */ | 1 /* KeyCode.Backspace */ },
609
623
  weight: 100 /* KeybindingWeight.EditorContrib */
610
- }
624
+ },
625
+ canTriggerInlineEdits: true,
611
626
  });
612
627
  }
613
628
  _getEndCursorState(primaryCursor, rangesToDelete) {
@@ -669,14 +684,15 @@ export class DeleteAllRightAction extends AbstractDeleteAllToBoundaryAction {
669
684
  constructor() {
670
685
  super({
671
686
  id: 'deleteAllRight',
672
- label: nls.localize2(1261, "Delete All Right"),
687
+ label: nls.localize2(1264, "Delete All Right"),
673
688
  precondition: EditorContextKeys.writable,
674
689
  kbOpts: {
675
690
  kbExpr: EditorContextKeys.textInputFocus,
676
691
  primary: 0,
677
692
  mac: { primary: 256 /* KeyMod.WinCtrl */ | 41 /* KeyCode.KeyK */, secondary: [2048 /* KeyMod.CtrlCmd */ | 20 /* KeyCode.Delete */] },
678
693
  weight: 100 /* KeybindingWeight.EditorContrib */
679
- }
694
+ },
695
+ canTriggerInlineEdits: true,
680
696
  });
681
697
  }
682
698
  _getEndCursorState(primaryCursor, rangesToDelete) {
@@ -726,14 +742,15 @@ export class JoinLinesAction extends EditorAction {
726
742
  constructor() {
727
743
  super({
728
744
  id: 'editor.action.joinLines',
729
- label: nls.localize2(1262, "Join Lines"),
745
+ label: nls.localize2(1265, "Join Lines"),
730
746
  precondition: EditorContextKeys.writable,
731
747
  kbOpts: {
732
748
  kbExpr: EditorContextKeys.editorTextFocus,
733
749
  primary: 0,
734
750
  mac: { primary: 256 /* KeyMod.WinCtrl */ | 40 /* KeyCode.KeyJ */ },
735
751
  weight: 100 /* KeybindingWeight.EditorContrib */
736
- }
752
+ },
753
+ canTriggerInlineEdits: true,
737
754
  });
738
755
  }
739
756
  run(_accessor, editor) {
@@ -867,8 +884,9 @@ export class TransposeAction extends EditorAction {
867
884
  constructor() {
868
885
  super({
869
886
  id: 'editor.action.transpose',
870
- label: nls.localize2(1263, "Transpose Characters around the Cursor"),
871
- precondition: EditorContextKeys.writable
887
+ label: nls.localize2(1266, "Transpose Characters around the Cursor"),
888
+ precondition: EditorContextKeys.writable,
889
+ canTriggerInlineEdits: true,
872
890
  });
873
891
  }
874
892
  run(_accessor, editor) {
@@ -946,8 +964,9 @@ export class UpperCaseAction extends AbstractCaseAction {
946
964
  constructor() {
947
965
  super({
948
966
  id: 'editor.action.transformToUppercase',
949
- label: nls.localize2(1264, "Transform to Uppercase"),
950
- precondition: EditorContextKeys.writable
967
+ label: nls.localize2(1267, "Transform to Uppercase"),
968
+ precondition: EditorContextKeys.writable,
969
+ canTriggerInlineEdits: true,
951
970
  });
952
971
  }
953
972
  _modifyText(text, wordSeparators) {
@@ -958,8 +977,9 @@ export class LowerCaseAction extends AbstractCaseAction {
958
977
  constructor() {
959
978
  super({
960
979
  id: 'editor.action.transformToLowercase',
961
- label: nls.localize2(1265, "Transform to Lowercase"),
962
- precondition: EditorContextKeys.writable
980
+ label: nls.localize2(1268, "Transform to Lowercase"),
981
+ precondition: EditorContextKeys.writable,
982
+ canTriggerInlineEdits: true
963
983
  });
964
984
  }
965
985
  _modifyText(text, wordSeparators) {
@@ -994,8 +1014,9 @@ export class TitleCaseAction extends AbstractCaseAction {
994
1014
  constructor() {
995
1015
  super({
996
1016
  id: 'editor.action.transformToTitlecase',
997
- label: nls.localize2(1266, "Transform to Title Case"),
998
- precondition: EditorContextKeys.writable
1017
+ label: nls.localize2(1269, "Transform to Title Case"),
1018
+ precondition: EditorContextKeys.writable,
1019
+ canTriggerInlineEdits: true
999
1020
  });
1000
1021
  }
1001
1022
  _modifyText(text, wordSeparators) {
@@ -1015,8 +1036,9 @@ export class SnakeCaseAction extends AbstractCaseAction {
1015
1036
  constructor() {
1016
1037
  super({
1017
1038
  id: 'editor.action.transformToSnakecase',
1018
- label: nls.localize2(1267, "Transform to Snake Case"),
1019
- precondition: EditorContextKeys.writable
1039
+ label: nls.localize2(1270, "Transform to Snake Case"),
1040
+ precondition: EditorContextKeys.writable,
1041
+ canTriggerInlineEdits: true,
1020
1042
  });
1021
1043
  }
1022
1044
  _modifyText(text, wordSeparators) {
@@ -1039,8 +1061,9 @@ export class CamelCaseAction extends AbstractCaseAction {
1039
1061
  constructor() {
1040
1062
  super({
1041
1063
  id: 'editor.action.transformToCamelcase',
1042
- label: nls.localize2(1268, "Transform to Camel Case"),
1043
- precondition: EditorContextKeys.writable
1064
+ label: nls.localize2(1271, "Transform to Camel Case"),
1065
+ precondition: EditorContextKeys.writable,
1066
+ canTriggerInlineEdits: true
1044
1067
  });
1045
1068
  }
1046
1069
  _modifyText(text, wordSeparators) {
@@ -1063,8 +1086,9 @@ export class PascalCaseAction extends AbstractCaseAction {
1063
1086
  constructor() {
1064
1087
  super({
1065
1088
  id: 'editor.action.transformToPascalcase',
1066
- label: nls.localize2(1269, "Transform to Pascal Case"),
1067
- precondition: EditorContextKeys.writable
1089
+ label: nls.localize2(1272, "Transform to Pascal Case"),
1090
+ precondition: EditorContextKeys.writable,
1091
+ canTriggerInlineEdits: true,
1068
1092
  });
1069
1093
  }
1070
1094
  _modifyText(text, wordSeparators) {
@@ -1102,8 +1126,9 @@ export class KebabCaseAction extends AbstractCaseAction {
1102
1126
  constructor() {
1103
1127
  super({
1104
1128
  id: 'editor.action.transformToKebabcase',
1105
- label: nls.localize2(1270, 'Transform to Kebab Case'),
1106
- precondition: EditorContextKeys.writable
1129
+ label: nls.localize2(1273, 'Transform to Kebab Case'),
1130
+ precondition: EditorContextKeys.writable,
1131
+ canTriggerInlineEdits: true,
1107
1132
  });
1108
1133
  }
1109
1134
  _modifyText(text, _) {