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

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 (278) hide show
  1. package/esm/nls.keys.json +1 -1
  2. package/esm/nls.messages.de.js +2 -2
  3. package/esm/nls.messages.es.js +2 -2
  4. package/esm/nls.messages.fr.js +2 -2
  5. package/esm/nls.messages.it.js +2 -2
  6. package/esm/nls.messages.ja.js +2 -2
  7. package/esm/nls.messages.js +1 -1
  8. package/esm/nls.messages.json +1 -1
  9. package/esm/nls.messages.ko.js +2 -2
  10. package/esm/nls.messages.ru.js +2 -2
  11. package/esm/nls.messages.zh-cn.js +2 -2
  12. package/esm/nls.messages.zh-tw.js +2 -2
  13. package/esm/nls.metadata.json +8 -2
  14. package/esm/vs/base/browser/domSanitize.js +32 -21
  15. package/esm/vs/base/browser/domSanitize.js.map +1 -1
  16. package/esm/vs/base/browser/ui/codicons/codicon/codicon.ttf +0 -0
  17. package/esm/vs/base/browser/ui/menu/menu.js +2 -0
  18. package/esm/vs/base/browser/ui/menu/menu.js.map +1 -1
  19. package/esm/vs/base/common/codiconsLibrary.js +2 -0
  20. package/esm/vs/base/common/codiconsLibrary.js.map +1 -1
  21. package/esm/vs/base/common/observableInternal/index.js +3 -0
  22. package/esm/vs/base/common/observableInternal/index.js.map +1 -1
  23. package/esm/vs/base/common/observableInternal/logging/debugGetDependencyGraph.js +71 -0
  24. package/esm/vs/base/common/observableInternal/logging/debugGetDependencyGraph.js.map +1 -0
  25. package/esm/vs/base/common/observableInternal/observables/baseObservable.js +4 -0
  26. package/esm/vs/base/common/observableInternal/observables/baseObservable.js.map +1 -1
  27. package/esm/vs/base/common/observableInternal/observables/derivedImpl.js +10 -0
  28. package/esm/vs/base/common/observableInternal/observables/derivedImpl.js.map +1 -1
  29. package/esm/vs/base/common/observableInternal/observables/observableFromEvent.js +3 -0
  30. package/esm/vs/base/common/observableInternal/observables/observableFromEvent.js.map +1 -1
  31. package/esm/vs/base/common/observableInternal/reactions/autorunImpl.js +9 -0
  32. package/esm/vs/base/common/observableInternal/reactions/autorunImpl.js.map +1 -1
  33. package/esm/vs/editor/browser/config/editorConfiguration.js +1 -1
  34. package/esm/vs/editor/browser/controller/dragScrolling.js +4 -4
  35. package/esm/vs/editor/browser/controller/editContext/native/nativeEditContext.js +3 -3
  36. package/esm/vs/editor/browser/controller/editContext/native/screenReaderContentRich.js +3 -3
  37. package/esm/vs/editor/browser/controller/editContext/native/screenReaderSupport.js +6 -6
  38. package/esm/vs/editor/browser/controller/editContext/textArea/textAreaEditContext.js +9 -9
  39. package/esm/vs/editor/browser/controller/mouseHandler.js +6 -6
  40. package/esm/vs/editor/browser/controller/mouseTarget.js +3 -3
  41. package/esm/vs/editor/browser/coreCommands.js +2 -2
  42. package/esm/vs/editor/browser/gpu/rectangleRenderer.js +1 -1
  43. package/esm/vs/editor/browser/gpu/viewGpuContext.js +1 -1
  44. package/esm/vs/editor/browser/observableCodeEditor.js +1 -1
  45. package/esm/vs/editor/browser/view/viewController.js +2 -2
  46. package/esm/vs/editor/browser/view/viewLayer.js +1 -1
  47. package/esm/vs/editor/browser/view/viewOverlays.js +4 -4
  48. package/esm/vs/editor/browser/view.js +5 -5
  49. package/esm/vs/editor/browser/viewParts/blockDecorations/blockDecorations.js +1 -1
  50. package/esm/vs/editor/browser/viewParts/contentWidgets/contentWidgets.js +3 -3
  51. package/esm/vs/editor/browser/viewParts/currentLineHighlight/currentLineHighlight.js +6 -6
  52. package/esm/vs/editor/browser/viewParts/editorScrollbar/editorScrollbar.js +8 -8
  53. package/esm/vs/editor/browser/viewParts/glyphMargin/glyphMargin.js +2 -2
  54. package/esm/vs/editor/browser/viewParts/indentGuides/indentGuides.js +2 -2
  55. package/esm/vs/editor/browser/viewParts/lineNumbers/lineNumbers.js +2 -2
  56. package/esm/vs/editor/browser/viewParts/linesDecorations/linesDecorations.js +2 -2
  57. package/esm/vs/editor/browser/viewParts/margin/margin.js +2 -2
  58. package/esm/vs/editor/browser/viewParts/minimap/minimap.js +5 -5
  59. package/esm/vs/editor/browser/viewParts/overlayWidgets/overlayWidgets.js +2 -2
  60. package/esm/vs/editor/browser/viewParts/overviewRuler/decorationsOverviewRuler.js +4 -4
  61. package/esm/vs/editor/browser/viewParts/overviewRuler/overviewRuler.js +3 -3
  62. package/esm/vs/editor/browser/viewParts/rulers/rulers.js +2 -2
  63. package/esm/vs/editor/browser/viewParts/rulersGpu/rulersGpu.js +1 -1
  64. package/esm/vs/editor/browser/viewParts/scrollDecoration/scrollDecoration.js +3 -3
  65. package/esm/vs/editor/browser/viewParts/selections/selections.js +2 -2
  66. package/esm/vs/editor/browser/viewParts/viewCursors/viewCursor.js +2 -2
  67. package/esm/vs/editor/browser/viewParts/viewCursors/viewCursors.js +6 -6
  68. package/esm/vs/editor/browser/viewParts/viewLines/viewLineOptions.js +4 -4
  69. package/esm/vs/editor/browser/viewParts/viewLines/viewLines.js +11 -11
  70. package/esm/vs/editor/browser/viewParts/viewLinesGpu/viewLinesGpu.js +1 -1
  71. package/esm/vs/editor/browser/viewParts/viewZones/viewZones.js +2 -2
  72. package/esm/vs/editor/browser/viewParts/whitespace/whitespace.js +4 -4
  73. package/esm/vs/editor/browser/widget/codeEditor/codeEditorWidget.js +12 -12
  74. package/esm/vs/editor/browser/widget/diffEditor/commands.js +12 -1
  75. package/esm/vs/editor/browser/widget/diffEditor/commands.js.map +1 -1
  76. package/esm/vs/editor/browser/widget/diffEditor/components/accessibleDiffViewer.js +4 -4
  77. package/esm/vs/editor/browser/widget/diffEditor/components/diffEditorViewZones/diffEditorViewZones.js +3 -3
  78. package/esm/vs/editor/browser/widget/diffEditor/components/diffEditorViewZones/inlineDiffDeletedCodeMargin.js +2 -2
  79. package/esm/vs/editor/browser/widget/diffEditor/components/diffEditorViewZones/renderLines.js +2 -2
  80. package/esm/vs/editor/browser/widget/diffEditor/diffEditorWidget.js +25 -0
  81. package/esm/vs/editor/browser/widget/diffEditor/diffEditorWidget.js.map +1 -1
  82. package/esm/vs/editor/browser/widget/diffEditor/features/gutterFeature.js +1 -1
  83. package/esm/vs/editor/browser/widget/diffEditor/features/overviewRulerFeature.js +1 -1
  84. package/esm/vs/editor/common/config/editorOptions.js +155 -154
  85. package/esm/vs/editor/common/config/editorOptions.js.map +1 -1
  86. package/esm/vs/editor/common/core/editorColorRegistry.js +68 -68
  87. package/esm/vs/editor/common/core/ranges/lineRange.js +3 -0
  88. package/esm/vs/editor/common/core/ranges/lineRange.js.map +1 -1
  89. package/esm/vs/editor/common/cursorCommon.js +19 -19
  90. package/esm/vs/editor/common/editorContextKeys.js +46 -46
  91. package/esm/vs/editor/common/languages/modesRegistry.js +1 -1
  92. package/esm/vs/editor/common/languages.js +56 -56
  93. package/esm/vs/editor/common/model/editStack.js +1 -1
  94. package/esm/vs/editor/common/standalone/standaloneEnums.js +86 -85
  95. package/esm/vs/editor/common/standalone/standaloneEnums.js.map +1 -1
  96. package/esm/vs/editor/common/standaloneStrings.js +10 -10
  97. package/esm/vs/editor/common/viewLayout/viewLayout.js +15 -15
  98. package/esm/vs/editor/common/viewLayout/viewLineRenderer.js +2 -2
  99. package/esm/vs/editor/common/viewModel/monospaceLineBreaksComputer.js +1 -1
  100. package/esm/vs/editor/common/viewModel/viewModelImpl.js +14 -14
  101. package/esm/vs/editor/contrib/anchorSelect/browser/anchorSelect.js +6 -6
  102. package/esm/vs/editor/contrib/bracketMatching/browser/bracketMatching.js +6 -6
  103. package/esm/vs/editor/contrib/caretOperations/browser/caretOperations.js +2 -2
  104. package/esm/vs/editor/contrib/caretOperations/browser/transpose.js +1 -1
  105. package/esm/vs/editor/contrib/clipboard/browser/clipboard.js +20 -20
  106. package/esm/vs/editor/contrib/codeAction/browser/codeAction.js +1 -1
  107. package/esm/vs/editor/contrib/codeAction/browser/codeActionCommands.js +29 -29
  108. package/esm/vs/editor/contrib/codeAction/browser/codeActionContributions.js +3 -3
  109. package/esm/vs/editor/contrib/codeAction/browser/codeActionController.js +3 -3
  110. package/esm/vs/editor/contrib/codeAction/browser/codeActionMenu.js +8 -8
  111. package/esm/vs/editor/contrib/codeAction/browser/codeActionModel.js +1 -1
  112. package/esm/vs/editor/contrib/codeAction/browser/lightBulbWidget.js +9 -9
  113. package/esm/vs/editor/contrib/codelens/browser/codelensController.js +2 -2
  114. package/esm/vs/editor/contrib/colorPicker/browser/colorDetector.js +3 -3
  115. package/esm/vs/editor/contrib/colorPicker/browser/colorPickerParts/colorPickerCloseButton.js +1 -1
  116. package/esm/vs/editor/contrib/colorPicker/browser/colorPickerParts/colorPickerHeader.js +1 -1
  117. package/esm/vs/editor/contrib/colorPicker/browser/hoverColorPicker/hoverColorPickerContribution.js +1 -1
  118. package/esm/vs/editor/contrib/colorPicker/browser/hoverColorPicker/hoverColorPickerParticipant.js +2 -2
  119. package/esm/vs/editor/contrib/colorPicker/browser/standaloneColorPicker/standaloneColorPickerActions.js +7 -7
  120. package/esm/vs/editor/contrib/colorPicker/browser/standaloneColorPicker/standaloneColorPickerParticipant.js +1 -1
  121. package/esm/vs/editor/contrib/comment/browser/comment.js +6 -6
  122. package/esm/vs/editor/contrib/contextmenu/browser/contextmenu.js +12 -12
  123. package/esm/vs/editor/contrib/cursorUndo/browser/cursorUndo.js +2 -2
  124. package/esm/vs/editor/contrib/dropOrPasteInto/browser/copyPasteContribution.js +4 -4
  125. package/esm/vs/editor/contrib/dropOrPasteInto/browser/copyPasteController.js +12 -12
  126. package/esm/vs/editor/contrib/dropOrPasteInto/browser/defaultProviders.js +8 -8
  127. package/esm/vs/editor/contrib/dropOrPasteInto/browser/dropIntoEditorController.js +3 -3
  128. package/esm/vs/editor/contrib/dropOrPasteInto/browser/postEditWidget.js +2 -2
  129. package/esm/vs/editor/contrib/editorState/browser/keybindingCancellation.js +1 -1
  130. package/esm/vs/editor/contrib/find/browser/findController.js +17 -17
  131. package/esm/vs/editor/contrib/find/browser/findModel.js +6 -6
  132. package/esm/vs/editor/contrib/find/browser/findWidget.js +32 -32
  133. package/esm/vs/editor/contrib/folding/browser/folding.js +23 -23
  134. package/esm/vs/editor/contrib/folding/browser/foldingDecorations.js +9 -9
  135. package/esm/vs/editor/contrib/folding/browser/foldingDecorations.js.map +1 -1
  136. package/esm/vs/editor/contrib/fontZoom/browser/fontZoom.js +3 -3
  137. package/esm/vs/editor/contrib/format/browser/formatActions.js +2 -2
  138. package/esm/vs/editor/contrib/gotoError/browser/gotoError.js +8 -8
  139. package/esm/vs/editor/contrib/gotoError/browser/gotoErrorWidget.js +14 -14
  140. package/esm/vs/editor/contrib/gotoSymbol/browser/goToCommands.js +39 -39
  141. package/esm/vs/editor/contrib/gotoSymbol/browser/link/clickLinkGesture.js +21 -11
  142. package/esm/vs/editor/contrib/gotoSymbol/browser/link/clickLinkGesture.js.map +1 -1
  143. package/esm/vs/editor/contrib/gotoSymbol/browser/link/goToDefinitionAtPosition.js +2 -2
  144. package/esm/vs/editor/contrib/gotoSymbol/browser/peek/referencesController.js +4 -4
  145. package/esm/vs/editor/contrib/gotoSymbol/browser/peek/referencesTree.js +3 -3
  146. package/esm/vs/editor/contrib/gotoSymbol/browser/peek/referencesWidget.js +3 -3
  147. package/esm/vs/editor/contrib/gotoSymbol/browser/referencesModel.js +8 -8
  148. package/esm/vs/editor/contrib/gotoSymbol/browser/symbolNavigation.js +3 -3
  149. package/esm/vs/editor/contrib/gpu/browser/gpuActions.js +4 -4
  150. package/esm/vs/editor/contrib/hover/browser/hoverActionIds.js +2 -2
  151. package/esm/vs/editor/contrib/hover/browser/hoverActions.js +24 -24
  152. package/esm/vs/editor/contrib/hover/browser/markdownHoverParticipant.js +10 -10
  153. package/esm/vs/editor/contrib/hover/browser/markerHoverParticipant.js +6 -6
  154. package/esm/vs/editor/contrib/inPlaceReplace/browser/inPlaceReplace.js +2 -2
  155. package/esm/vs/editor/contrib/indentation/browser/indentation.js +20 -20
  156. package/esm/vs/editor/contrib/inlayHints/browser/inlayHintsController.js +5 -5
  157. package/esm/vs/editor/contrib/inlayHints/browser/inlayHintsHover.js +8 -8
  158. package/esm/vs/editor/contrib/inlayHints/browser/inlayHintsLocations.js +2 -2
  159. package/esm/vs/editor/contrib/inlineCompletions/browser/controller/commands.js +19 -19
  160. package/esm/vs/editor/contrib/inlineCompletions/browser/controller/inlineCompletionContextKeys.js +12 -12
  161. package/esm/vs/editor/contrib/inlineCompletions/browser/controller/inlineCompletionsController.js +2 -2
  162. package/esm/vs/editor/contrib/inlineCompletions/browser/hintsWidget/hoverParticipant.js +1 -1
  163. package/esm/vs/editor/contrib/inlineCompletions/browser/hintsWidget/inlineCompletionsHintsWidget.js +5 -5
  164. package/esm/vs/editor/contrib/inlineCompletions/browser/model/inlineCompletionsModel.js +1 -1
  165. package/esm/vs/editor/contrib/inlineCompletions/browser/view/ghostText/ghostTextView.js +5 -5
  166. package/esm/vs/editor/contrib/inlineCompletions/browser/view/inlineEdits/components/gutterIndicatorMenu.js +5 -5
  167. package/esm/vs/editor/contrib/inlineCompletions/browser/view/inlineEdits/components/gutterIndicatorView.js +4 -1
  168. package/esm/vs/editor/contrib/inlineCompletions/browser/view/inlineEdits/components/gutterIndicatorView.js.map +1 -1
  169. package/esm/vs/editor/contrib/inlineCompletions/browser/view/inlineEdits/inlineEditsModel.js +1 -1
  170. package/esm/vs/editor/contrib/inlineCompletions/browser/view/inlineEdits/inlineEditsView.js +2 -0
  171. package/esm/vs/editor/contrib/inlineCompletions/browser/view/inlineEdits/inlineEditsView.js.map +1 -1
  172. package/esm/vs/editor/contrib/inlineCompletions/browser/view/inlineEdits/inlineEditsViewProducer.js +1 -0
  173. package/esm/vs/editor/contrib/inlineCompletions/browser/view/inlineEdits/inlineEditsViewProducer.js.map +1 -1
  174. package/esm/vs/editor/contrib/inlineCompletions/browser/view/inlineEdits/theme.js +22 -21
  175. package/esm/vs/editor/contrib/inlineCompletions/browser/view/inlineEdits/theme.js.map +1 -1
  176. package/esm/vs/editor/contrib/insertFinalNewLine/browser/insertFinalNewLine.js +1 -1
  177. package/esm/vs/editor/contrib/lineSelection/browser/lineSelection.js +1 -1
  178. package/esm/vs/editor/contrib/linesOperations/browser/linesOperations.js +32 -32
  179. package/esm/vs/editor/contrib/linkedEditing/browser/linkedEditing.js +4 -4
  180. package/esm/vs/editor/contrib/links/browser/links.js +11 -11
  181. package/esm/vs/editor/contrib/links/browser/links.js.map +1 -1
  182. package/esm/vs/editor/contrib/longLinesHelper/browser/longLinesHelper.js +1 -1
  183. package/esm/vs/editor/contrib/message/browser/messageController.js +1 -1
  184. package/esm/vs/editor/contrib/middleScroll/browser/middleScrollController.js +1 -1
  185. package/esm/vs/editor/contrib/multicursor/browser/multicursor.js +36 -36
  186. package/esm/vs/editor/contrib/parameterHints/browser/parameterHints.js +1 -1
  187. package/esm/vs/editor/contrib/parameterHints/browser/parameterHintsModel.js +3 -3
  188. package/esm/vs/editor/contrib/parameterHints/browser/parameterHintsWidget.js +4 -4
  189. package/esm/vs/editor/contrib/peekView/browser/peekView.js +18 -18
  190. package/esm/vs/editor/contrib/placeholderText/browser/placeholderText.contribution.js +1 -1
  191. package/esm/vs/editor/contrib/placeholderText/browser/placeholderTextContribution.js +1 -1
  192. package/esm/vs/editor/contrib/placeholderText/browser/placeholderTextContribution.js.map +1 -1
  193. package/esm/vs/editor/contrib/quickAccess/browser/gotoLineQuickAccess.js +5 -5
  194. package/esm/vs/editor/contrib/quickAccess/browser/gotoSymbolQuickAccess.js +32 -32
  195. package/esm/vs/editor/contrib/readOnlyMessage/browser/contribution.js +3 -3
  196. package/esm/vs/editor/contrib/rename/browser/rename.js +11 -11
  197. package/esm/vs/editor/contrib/rename/browser/renameWidget.js +7 -7
  198. package/esm/vs/editor/contrib/smartSelect/browser/smartSelect.js +5 -5
  199. package/esm/vs/editor/contrib/snippet/browser/snippetController2.js +4 -4
  200. package/esm/vs/editor/contrib/snippet/browser/snippetSession.js +2 -2
  201. package/esm/vs/editor/contrib/snippet/browser/snippetVariables.js +4 -4
  202. package/esm/vs/editor/contrib/stickyScroll/browser/stickyScrollActions.js +11 -11
  203. package/esm/vs/editor/contrib/stickyScroll/browser/stickyScrollController.js +17 -24
  204. package/esm/vs/editor/contrib/stickyScroll/browser/stickyScrollController.js.map +1 -1
  205. package/esm/vs/editor/contrib/stickyScroll/browser/stickyScrollModelProvider.js +1 -1
  206. package/esm/vs/editor/contrib/stickyScroll/browser/stickyScrollProvider.js +12 -3
  207. package/esm/vs/editor/contrib/stickyScroll/browser/stickyScrollProvider.js.map +1 -1
  208. package/esm/vs/editor/contrib/stickyScroll/browser/stickyScrollWidget.js +5 -5
  209. package/esm/vs/editor/contrib/suggest/browser/suggest.js +8 -8
  210. package/esm/vs/editor/contrib/suggest/browser/suggestController.js +14 -14
  211. package/esm/vs/editor/contrib/suggest/browser/suggestInlineCompletions.js +2 -2
  212. package/esm/vs/editor/contrib/suggest/browser/suggestModel.js +11 -11
  213. package/esm/vs/editor/contrib/suggest/browser/suggestWidget.js +23 -23
  214. package/esm/vs/editor/contrib/suggest/browser/suggestWidgetDetails.js +5 -5
  215. package/esm/vs/editor/contrib/suggest/browser/suggestWidgetRenderer.js +5 -5
  216. package/esm/vs/editor/contrib/suggest/browser/wordContextKey.js +3 -3
  217. package/esm/vs/editor/contrib/suggest/browser/wordDistance.js +1 -1
  218. package/esm/vs/editor/contrib/symbolIcons/browser/symbolIcons.js +33 -33
  219. package/esm/vs/editor/contrib/toggleTabFocusMode/browser/toggleTabFocusMode.js +4 -4
  220. package/esm/vs/editor/contrib/tokenization/browser/tokenization.js +1 -1
  221. package/esm/vs/editor/contrib/unicodeHighlighter/browser/bannerController.js +1 -1
  222. package/esm/vs/editor/contrib/unicodeHighlighter/browser/unicodeHighlighter.js +27 -27
  223. package/esm/vs/editor/contrib/unusualLineTerminators/browser/unusualLineTerminators.js +9 -9
  224. package/esm/vs/editor/contrib/wordHighlighter/browser/highlightDecorations.js +9 -9
  225. package/esm/vs/editor/contrib/wordHighlighter/browser/wordHighlighter.js +7 -7
  226. package/esm/vs/editor/contrib/wordOperations/browser/wordOperations.js +4 -4
  227. package/esm/vs/editor/editor.api.d.ts +93 -85
  228. package/esm/vs/editor/standalone/browser/iPadShowKeyboard/iPadShowKeyboard.js +1 -1
  229. package/esm/vs/platform/accessibilitySignal/browser/accessibilitySignalService.js +62 -62
  230. package/esm/vs/platform/action/common/actionCommonCategories.js +6 -6
  231. package/esm/vs/platform/actionWidget/browser/actionList.js +4 -4
  232. package/esm/vs/platform/actionWidget/browser/actionWidget.js +7 -7
  233. package/esm/vs/platform/actions/browser/menuEntryActionViewItem.js +5 -5
  234. package/esm/vs/platform/actions/browser/toolbar.js +2 -2
  235. package/esm/vs/platform/actions/common/menuService.js +2 -2
  236. package/esm/vs/platform/configuration/common/configurationRegistry.js +10 -10
  237. package/esm/vs/platform/contextkey/browser/contextKeyService.js +1 -1
  238. package/esm/vs/platform/contextkey/common/contextkey.js +9 -9
  239. package/esm/vs/platform/contextkey/common/contextkeys.js +9 -9
  240. package/esm/vs/platform/contextkey/common/scanner.js +5 -5
  241. package/esm/vs/platform/history/browser/contextScopedHistoryWidget.js +1 -1
  242. package/esm/vs/platform/keybinding/common/abstractKeybindingService.js +4 -4
  243. package/esm/vs/platform/list/browser/listService.js +27 -27
  244. package/esm/vs/platform/markers/common/markerService.js +2 -2
  245. package/esm/vs/platform/markers/common/markers.js +6 -6
  246. package/esm/vs/platform/quickinput/browser/commandsQuickAccess.js +7 -7
  247. package/esm/vs/platform/quickinput/browser/helpQuickAccess.js +1 -1
  248. package/esm/vs/platform/quickinput/browser/quickInput.js +21 -13
  249. package/esm/vs/platform/quickinput/browser/quickInput.js.map +1 -1
  250. package/esm/vs/platform/quickinput/browser/quickInputActions.js +42 -8
  251. package/esm/vs/platform/quickinput/browser/quickInputActions.js.map +1 -1
  252. package/esm/vs/platform/quickinput/browser/quickInputController.js +10 -64
  253. package/esm/vs/platform/quickinput/browser/quickInputController.js.map +1 -1
  254. package/esm/vs/platform/quickinput/browser/quickInputList.js +1 -1
  255. package/esm/vs/platform/quickinput/browser/quickInputUtils.js +1 -1
  256. package/esm/vs/platform/quickinput/browser/tree/quickInputTreeAccessibilityProvider.js +1 -1
  257. package/esm/vs/platform/quickinput/browser/tree/quickInputTreeController.js +12 -0
  258. package/esm/vs/platform/quickinput/browser/tree/quickInputTreeController.js.map +1 -1
  259. package/esm/vs/platform/quickinput/browser/tree/quickInputTreeRenderer.js +11 -5
  260. package/esm/vs/platform/quickinput/browser/tree/quickInputTreeRenderer.js.map +1 -1
  261. package/esm/vs/platform/quickinput/common/quickInput.js.map +1 -1
  262. package/esm/vs/platform/theme/common/colorUtils.js +2 -2
  263. package/esm/vs/platform/theme/common/colors/baseColors.js +17 -17
  264. package/esm/vs/platform/theme/common/colors/chartsColors.js +8 -8
  265. package/esm/vs/platform/theme/common/colors/editorColors.js +95 -95
  266. package/esm/vs/platform/theme/common/colors/inputColors.js +47 -47
  267. package/esm/vs/platform/theme/common/colors/listColors.js +36 -36
  268. package/esm/vs/platform/theme/common/colors/menuColors.js +7 -7
  269. package/esm/vs/platform/theme/common/colors/minimapColors.js +11 -11
  270. package/esm/vs/platform/theme/common/colors/miscColors.js +15 -15
  271. package/esm/vs/platform/theme/common/colors/quickpickColors.js +9 -9
  272. package/esm/vs/platform/theme/common/colors/searchColors.js +3 -3
  273. package/esm/vs/platform/theme/common/iconRegistry.js +6 -6
  274. package/esm/vs/platform/undoRedo/common/undoRedoService.js +20 -20
  275. package/esm/vs/platform/workspace/common/workspace.js +1 -1
  276. package/monaco.d.ts +93 -85
  277. package/package.json +6 -2
  278. package/version.txt +1 -1
@@ -7,17 +7,17 @@ import { localize } from '../../../nls.js';
7
7
  function hintDidYouMean(...meant) {
8
8
  switch (meant.length) {
9
9
  case 1:
10
- return localize(1675, "Did you mean {0}?", meant[0]);
10
+ return localize(1676, "Did you mean {0}?", meant[0]);
11
11
  case 2:
12
- return localize(1676, "Did you mean {0} or {1}?", meant[0], meant[1]);
12
+ return localize(1677, "Did you mean {0} or {1}?", meant[0], meant[1]);
13
13
  case 3:
14
- return localize(1677, "Did you mean {0}, {1} or {2}?", meant[0], meant[1], meant[2]);
14
+ return localize(1678, "Did you mean {0}, {1} or {2}?", meant[0], meant[1], meant[2]);
15
15
  default: // we just don't expect that many
16
16
  return undefined;
17
17
  }
18
18
  }
19
- const hintDidYouForgetToOpenOrCloseQuote = localize(1678, "Did you forget to open or close the quote?");
20
- const hintDidYouForgetToEscapeSlash = localize(1679, "Did you forget to escape the '/' (slash) character? Put two backslashes before it to escape, e.g., '\\\\/\'.");
19
+ const hintDidYouForgetToOpenOrCloseQuote = localize(1679, "Did you forget to open or close the quote?");
20
+ const hintDidYouForgetToEscapeSlash = localize(1680, "Did you forget to escape the '/' (slash) character? Put two backslashes before it to escape, e.g., '\\\\/\'.");
21
21
  /**
22
22
  * A simple scanner for context keys.
23
23
  *
@@ -18,7 +18,7 @@ import { KeybindingsRegistry } from '../../keybinding/common/keybindingsRegistry
18
18
  import { localize } from '../../../nls.js';
19
19
  import { DisposableStore, toDisposable } from '../../../base/common/lifecycle.js';
20
20
  import { isActiveElement } from '../../../base/browser/dom.js';
21
- export const historyNavigationVisible = new RawContextKey('suggestWidgetVisible', false, localize(1680, "Whether suggestion are visible"));
21
+ export const historyNavigationVisible = new RawContextKey('suggestWidgetVisible', false, localize(1681, "Whether suggestion are visible"));
22
22
  const HistoryNavigationWidgetFocusContext = 'historyNavigationWidgetFocus';
23
23
  const HistoryNavigationForwardsEnablementContext = 'historyNavigationForwardsEnabled';
24
24
  const HistoryNavigationBackwardsEnablementContext = 'historyNavigationBackwardsEnabled';
@@ -95,11 +95,11 @@ export class AbstractKeybindingService extends Disposable {
95
95
  throw illegalState('impossible');
96
96
  case 1:
97
97
  // TODO@ulugbekna: revise this message and the one below (at least, fix terminology)
98
- this._currentChordStatusMessage = this._notificationService.status(nls.localize(1681, "({0}) was pressed. Waiting for second key of chord...", keypressLabel));
98
+ this._currentChordStatusMessage = this._notificationService.status(nls.localize(1682, "({0}) was pressed. Waiting for second key of chord...", keypressLabel));
99
99
  break;
100
100
  default: {
101
101
  const fullKeypressLabel = this._currentChords.map(({ label }) => label).join(', ');
102
- this._currentChordStatusMessage = this._notificationService.status(nls.localize(1682, "({0}) was pressed. Waiting for next key of chord...", fullKeypressLabel));
102
+ this._currentChordStatusMessage = this._notificationService.status(nls.localize(1683, "({0}) was pressed. Waiting for next key of chord...", fullKeypressLabel));
103
103
  }
104
104
  }
105
105
  this._scheduleLeaveChordMode();
@@ -198,7 +198,7 @@ export class AbstractKeybindingService extends Disposable {
198
198
  if (this.inChordMode) {
199
199
  const currentChordsLabel = this._currentChords.map(({ label }) => label).join(', ');
200
200
  this._log(`+ Leaving multi-chord mode: Nothing bound to "${currentChordsLabel}, ${keypressLabel}".`);
201
- this._notificationService.status(nls.localize(1683, "The key combination ({0}, {1}) is not a command.", currentChordsLabel, keypressLabel), { hideAfter: 10 * 1000 /* 10s */ });
201
+ this._notificationService.status(nls.localize(1684, "The key combination ({0}, {1}) is not a command.", currentChordsLabel, keypressLabel), { hideAfter: 10 * 1000 /* 10s */ });
202
202
  this._leaveChordMode();
203
203
  shouldPreventDefault = true;
204
204
  }
@@ -217,7 +217,7 @@ export class AbstractKeybindingService extends Disposable {
217
217
  if (this.inChordMode) {
218
218
  const currentChordsLabel = this._currentChords.map(({ label }) => label).join(', ');
219
219
  this._log(`+ Leaving chord mode: Nothing bound to "${currentChordsLabel}, ${keypressLabel}".`);
220
- this._notificationService.status(nls.localize(1684, "The key combination ({0}, {1}) is not a command.", currentChordsLabel, keypressLabel), { hideAfter: 10 * 1000 /* 10s */ });
220
+ this._notificationService.status(nls.localize(1685, "The key combination ({0}, {1}) is not a command.", currentChordsLabel, keypressLabel), { hideAfter: 10 * 1000 /* 10s */ });
221
221
  this._leaveChordMode();
222
222
  shouldPreventDefault = true;
223
223
  }
@@ -899,18 +899,18 @@ const configurationRegistry = Registry.as(ConfigurationExtensions.Configuration)
899
899
  configurationRegistry.registerConfiguration({
900
900
  id: 'workbench',
901
901
  order: 7,
902
- title: localize(1685, "Workbench"),
902
+ title: localize(1686, "Workbench"),
903
903
  type: 'object',
904
904
  properties: {
905
905
  [multiSelectModifierSettingKey]: {
906
906
  type: 'string',
907
907
  enum: ['ctrlCmd', 'alt'],
908
908
  markdownEnumDescriptions: [
909
- localize(1686, "Maps to `Control` on Windows and Linux and to `Command` on macOS."),
910
- localize(1687, "Maps to `Alt` on Windows and Linux and to `Option` on macOS.")
909
+ localize(1687, "Maps to `Control` on Windows and Linux and to `Command` on macOS."),
910
+ localize(1688, "Maps to `Alt` on Windows and Linux and to `Option` on macOS.")
911
911
  ],
912
912
  default: 'ctrlCmd',
913
- description: localize(1688, "The modifier to be used to add an item in trees and lists to a multi-selection with the mouse (for example in the explorer, open editors and scm view). The 'Open to Side' mouse gestures - if supported - will adapt such that they do not conflict with the multiselect modifier.")
913
+ description: localize(1689, "The modifier to be used to add an item in trees and lists to a multi-selection with the mouse (for example in the explorer, open editors and scm view). The 'Open to Side' mouse gestures - if supported - will adapt such that they do not conflict with the multiselect modifier.")
914
914
 
915
915
 
916
916
 
@@ -922,7 +922,7 @@ configurationRegistry.registerConfiguration({
922
922
  type: 'string',
923
923
  enum: ['singleClick', 'doubleClick'],
924
924
  default: 'singleClick',
925
- description: localize(1689, "Controls how to open items in trees and lists using the mouse (if supported). Note that some trees and lists might choose to ignore this setting if it is not applicable.")
925
+ description: localize(1690, "Controls how to open items in trees and lists using the mouse (if supported). Note that some trees and lists might choose to ignore this setting if it is not applicable.")
926
926
 
927
927
 
928
928
 
@@ -930,96 +930,96 @@ configurationRegistry.registerConfiguration({
930
930
  [horizontalScrollingKey]: {
931
931
  type: 'boolean',
932
932
  default: false,
933
- description: localize(1690, "Controls whether lists and trees support horizontal scrolling in the workbench. Warning: turning on this setting has a performance implication.")
933
+ description: localize(1691, "Controls whether lists and trees support horizontal scrolling in the workbench. Warning: turning on this setting has a performance implication.")
934
934
  },
935
935
  [scrollByPageKey]: {
936
936
  type: 'boolean',
937
937
  default: false,
938
- description: localize(1691, "Controls whether clicks in the scrollbar scroll page by page.")
938
+ description: localize(1692, "Controls whether clicks in the scrollbar scroll page by page.")
939
939
  },
940
940
  [treeIndentKey]: {
941
941
  type: 'number',
942
942
  default: 8,
943
943
  minimum: 4,
944
944
  maximum: 40,
945
- description: localize(1692, "Controls tree indentation in pixels.")
945
+ description: localize(1693, "Controls tree indentation in pixels.")
946
946
  },
947
947
  [treeRenderIndentGuidesKey]: {
948
948
  type: 'string',
949
949
  enum: ['none', 'onHover', 'always'],
950
950
  default: 'onHover',
951
- description: localize(1693, "Controls whether the tree should render indent guides.")
951
+ description: localize(1694, "Controls whether the tree should render indent guides.")
952
952
  },
953
953
  [listSmoothScrolling]: {
954
954
  type: 'boolean',
955
955
  default: false,
956
- description: localize(1694, "Controls whether lists and trees have smooth scrolling."),
956
+ description: localize(1695, "Controls whether lists and trees have smooth scrolling."),
957
957
  },
958
958
  [mouseWheelScrollSensitivityKey]: {
959
959
  type: 'number',
960
960
  default: 1,
961
- markdownDescription: localize(1695, "A multiplier to be used on the `deltaX` and `deltaY` of mouse wheel scroll events.")
961
+ markdownDescription: localize(1696, "A multiplier to be used on the `deltaX` and `deltaY` of mouse wheel scroll events.")
962
962
  },
963
963
  [fastScrollSensitivityKey]: {
964
964
  type: 'number',
965
965
  default: 5,
966
- markdownDescription: localize(1696, "Scrolling speed multiplier when pressing `Alt`.")
966
+ markdownDescription: localize(1697, "Scrolling speed multiplier when pressing `Alt`.")
967
967
  },
968
968
  [defaultFindModeSettingKey]: {
969
969
  type: 'string',
970
970
  enum: ['highlight', 'filter'],
971
971
  enumDescriptions: [
972
- localize(1697, "Highlight elements when searching. Further up and down navigation will traverse only the highlighted elements."),
973
- localize(1698, "Filter elements when searching.")
972
+ localize(1698, "Highlight elements when searching. Further up and down navigation will traverse only the highlighted elements."),
973
+ localize(1699, "Filter elements when searching.")
974
974
  ],
975
975
  default: 'highlight',
976
- description: localize(1699, "Controls the default find mode for lists and trees in the workbench.")
976
+ description: localize(1700, "Controls the default find mode for lists and trees in the workbench.")
977
977
  },
978
978
  [keyboardNavigationSettingKey]: {
979
979
  type: 'string',
980
980
  enum: ['simple', 'highlight', 'filter'],
981
981
  enumDescriptions: [
982
- localize(1700, "Simple keyboard navigation focuses elements which match the keyboard input. Matching is done only on prefixes."),
983
- localize(1701, "Highlight keyboard navigation highlights elements which match the keyboard input. Further up and down navigation will traverse only the highlighted elements."),
984
- localize(1702, "Filter keyboard navigation will filter out and hide all the elements which do not match the keyboard input.")
982
+ localize(1701, "Simple keyboard navigation focuses elements which match the keyboard input. Matching is done only on prefixes."),
983
+ localize(1702, "Highlight keyboard navigation highlights elements which match the keyboard input. Further up and down navigation will traverse only the highlighted elements."),
984
+ localize(1703, "Filter keyboard navigation will filter out and hide all the elements which do not match the keyboard input.")
985
985
  ],
986
986
  default: 'highlight',
987
- description: localize(1703, "Controls the keyboard navigation style for lists and trees in the workbench. Can be simple, highlight and filter."),
987
+ description: localize(1704, "Controls the keyboard navigation style for lists and trees in the workbench. Can be simple, highlight and filter."),
988
988
  deprecated: true,
989
- deprecationMessage: localize(1704, "Please use 'workbench.list.defaultFindMode' and 'workbench.list.typeNavigationMode' instead.")
989
+ deprecationMessage: localize(1705, "Please use 'workbench.list.defaultFindMode' and 'workbench.list.typeNavigationMode' instead.")
990
990
  },
991
991
  [defaultFindMatchTypeSettingKey]: {
992
992
  type: 'string',
993
993
  enum: ['fuzzy', 'contiguous'],
994
994
  enumDescriptions: [
995
- localize(1705, "Use fuzzy matching when searching."),
996
- localize(1706, "Use contiguous matching when searching.")
995
+ localize(1706, "Use fuzzy matching when searching."),
996
+ localize(1707, "Use contiguous matching when searching.")
997
997
  ],
998
998
  default: 'fuzzy',
999
- description: localize(1707, "Controls the type of matching used when searching lists and trees in the workbench.")
999
+ description: localize(1708, "Controls the type of matching used when searching lists and trees in the workbench.")
1000
1000
  },
1001
1001
  [treeExpandMode]: {
1002
1002
  type: 'string',
1003
1003
  enum: ['singleClick', 'doubleClick'],
1004
1004
  default: 'singleClick',
1005
- description: localize(1708, "Controls how tree folders are expanded when clicking the folder names. Note that some trees and lists might choose to ignore this setting if it is not applicable."),
1005
+ description: localize(1709, "Controls how tree folders are expanded when clicking the folder names. Note that some trees and lists might choose to ignore this setting if it is not applicable."),
1006
1006
  },
1007
1007
  [treeStickyScroll]: {
1008
1008
  type: 'boolean',
1009
1009
  default: true,
1010
- description: localize(1709, "Controls whether sticky scrolling is enabled in trees."),
1010
+ description: localize(1710, "Controls whether sticky scrolling is enabled in trees."),
1011
1011
  },
1012
1012
  [treeStickyScrollMaxElements]: {
1013
1013
  type: 'number',
1014
1014
  minimum: 1,
1015
1015
  default: 7,
1016
- markdownDescription: localize(1710, "Controls the number of sticky elements displayed in the tree when {0} is enabled.", '`#workbench.tree.enableStickyScroll#`'),
1016
+ markdownDescription: localize(1711, "Controls the number of sticky elements displayed in the tree when {0} is enabled.", '`#workbench.tree.enableStickyScroll#`'),
1017
1017
  },
1018
1018
  [typeNavigationModeSettingKey]: {
1019
1019
  type: 'string',
1020
1020
  enum: ['automatic', 'trigger'],
1021
1021
  default: 'automatic',
1022
- markdownDescription: localize(1711, "Controls how type navigation works in lists and trees in the workbench. When set to `trigger`, type navigation begins once the `list.triggerTypeNavigation` command is run."),
1022
+ markdownDescription: localize(1712, "Controls how type navigation works in lists and trees in the workbench. When set to `trigger`, type navigation begins once the `list.triggerTypeNavigation` command is run."),
1023
1023
  }
1024
1024
  }
1025
1025
  });
@@ -239,8 +239,8 @@ export class MarkerService {
239
239
  */
240
240
  _createFilteredMarker(resource, reasons) {
241
241
  const message = reasons.length === 1
242
- ? localize(1718, "Problems are paused because: \"{0}\"", reasons[0])
243
- : localize(1719, "Problems are paused because: \"{0}\" and {1} more", reasons[0], reasons.length - 1);
242
+ ? localize(1719, "Problems are paused because: \"{0}\"", reasons[0])
243
+ : localize(1720, "Problems are paused because: \"{0}\" and {1} more", reasons[0], reasons.length - 1);
244
244
  return {
245
245
  owner: 'markersFilter',
246
246
  resource,
@@ -18,17 +18,17 @@ export var MarkerSeverity;
18
18
  }
19
19
  MarkerSeverity.compare = compare;
20
20
  const _displayStrings = Object.create(null);
21
- _displayStrings[MarkerSeverity.Error] = localize(1712, "Error");
22
- _displayStrings[MarkerSeverity.Warning] = localize(1713, "Warning");
23
- _displayStrings[MarkerSeverity.Info] = localize(1714, "Info");
21
+ _displayStrings[MarkerSeverity.Error] = localize(1713, "Error");
22
+ _displayStrings[MarkerSeverity.Warning] = localize(1714, "Warning");
23
+ _displayStrings[MarkerSeverity.Info] = localize(1715, "Info");
24
24
  function toString(a) {
25
25
  return _displayStrings[a] || '';
26
26
  }
27
27
  MarkerSeverity.toString = toString;
28
28
  const _displayStringsPlural = Object.create(null);
29
- _displayStringsPlural[MarkerSeverity.Error] = localize(1715, "Errors");
30
- _displayStringsPlural[MarkerSeverity.Warning] = localize(1716, "Warnings");
31
- _displayStringsPlural[MarkerSeverity.Info] = localize(1717, "Infos");
29
+ _displayStringsPlural[MarkerSeverity.Error] = localize(1716, "Errors");
30
+ _displayStringsPlural[MarkerSeverity.Warning] = localize(1717, "Warnings");
31
+ _displayStringsPlural[MarkerSeverity.Info] = localize(1718, "Infos");
32
32
  function toStringPlural(a) {
33
33
  return _displayStringsPlural[a] || '';
34
34
  }
@@ -154,22 +154,22 @@ let AbstractCommandsQuickAccessProvider = class AbstractCommandsQuickAccessProvi
154
154
  const commandPick = filteredCommandPicks[i];
155
155
  // Separator: recently used
156
156
  if (i === 0 && this.commandsHistory.peek(commandPick.commandId)) {
157
- commandPicks.push({ type: 'separator', label: localize(1720, "recently used") });
157
+ commandPicks.push({ type: 'separator', label: localize(1721, "recently used") });
158
158
  addOtherSeparator = true;
159
159
  }
160
160
  if (addSuggestedSeparator && commandPick.tfIdfScore !== undefined) {
161
- commandPicks.push({ type: 'separator', label: localize(1721, "similar commands") });
161
+ commandPicks.push({ type: 'separator', label: localize(1722, "similar commands") });
162
162
  addSuggestedSeparator = false;
163
163
  }
164
164
  // Separator: commonly used
165
165
  if (addCommonlyUsedSeparator && commandPick.tfIdfScore === undefined && !this.commandsHistory.peek(commandPick.commandId) && this.options.suggestedCommandIds?.has(commandPick.commandId)) {
166
- commandPicks.push({ type: 'separator', label: localize(1722, "commonly used") });
166
+ commandPicks.push({ type: 'separator', label: localize(1723, "commonly used") });
167
167
  addOtherSeparator = true;
168
168
  addCommonlyUsedSeparator = false;
169
169
  }
170
170
  // Separator: other commands
171
171
  if (addOtherSeparator && commandPick.tfIdfScore === undefined && !this.commandsHistory.peek(commandPick.commandId) && !this.options.suggestedCommandIds?.has(commandPick.commandId)) {
172
- commandPicks.push({ type: 'separator', label: localize(1723, "other commands") });
172
+ commandPicks.push({ type: 'separator', label: localize(1724, "other commands") });
173
173
  addOtherSeparator = false;
174
174
  }
175
175
  // Command
@@ -189,7 +189,7 @@ let AbstractCommandsQuickAccessProvider = class AbstractCommandsQuickAccessProvi
189
189
  // Basically, if we haven't already added a separator, we add one before the additional picks so long
190
190
  // as one hasn't been added to the start of the array.
191
191
  if (addSuggestedSeparator && commandPicks[0]?.type !== 'separator') {
192
- commandPicks.unshift({ type: 'separator', label: localize(1724, "similar commands") });
192
+ commandPicks.unshift({ type: 'separator', label: localize(1725, "similar commands") });
193
193
  }
194
194
  return commandPicks;
195
195
  })()
@@ -201,7 +201,7 @@ let AbstractCommandsQuickAccessProvider = class AbstractCommandsQuickAccessProvi
201
201
  }
202
202
  const keybinding = this.keybindingService.lookupKeybinding(commandPick.commandId);
203
203
  const ariaLabel = keybinding ?
204
- localize(1725, "{0}, {1}", commandPick.label, keybinding.getAriaLabel()) :
204
+ localize(1726, "{0}, {1}", commandPick.label, keybinding.getAriaLabel()) :
205
205
  commandPick.label;
206
206
  return {
207
207
  ...commandPick,
@@ -224,7 +224,7 @@ let AbstractCommandsQuickAccessProvider = class AbstractCommandsQuickAccessProvi
224
224
  }
225
225
  catch (error) {
226
226
  if (!isCancellationError(error)) {
227
- this.dialogService.error(localize(1726, "Command '{0}' resulted in an error", commandPick.label), toErrorMessage(error));
227
+ this.dialogService.error(localize(1727, "Command '{0}' resulted in an error", commandPick.label), toErrorMessage(error));
228
228
  }
229
229
  }
230
230
  }
@@ -62,7 +62,7 @@ let HelpQuickAccessProvider = class HelpQuickAccessProvider {
62
62
  prefix,
63
63
  label,
64
64
  keybinding: helpEntry.commandId ? this.keybindingService.lookupKeybinding(helpEntry.commandId) : undefined,
65
- ariaLabel: localize(1727, "{0}, {1}", label, helpEntry.description),
65
+ ariaLabel: localize(1728, "{0}, {1}", label, helpEntry.description),
66
66
  description: helpEntry.description
67
67
  };
68
68
  });
@@ -31,22 +31,22 @@ import { IHoverService, WorkbenchHoverDelegate } from '../../hover/browser/hover
31
31
  import { ContextKeyExpr, RawContextKey } from '../../contextkey/common/contextkey.js';
32
32
  import { observableValue } from '../../../base/common/observable.js';
33
33
  export const inQuickInputContextKeyValue = 'inQuickInput';
34
- export const InQuickInputContextKey = new RawContextKey(inQuickInputContextKeyValue, false, localize(1728, "Whether keyboard focus is inside the quick input control"));
34
+ export const InQuickInputContextKey = new RawContextKey(inQuickInputContextKeyValue, false, localize(1729, "Whether keyboard focus is inside the quick input control"));
35
35
  export const inQuickInputContext = ContextKeyExpr.has(inQuickInputContextKeyValue);
36
36
  export const quickInputAlignmentContextKeyValue = 'quickInputAlignment';
37
- export const QuickInputAlignmentContextKey = new RawContextKey(quickInputAlignmentContextKeyValue, 'top', localize(1729, "The alignment of the quick input"));
37
+ export const QuickInputAlignmentContextKey = new RawContextKey(quickInputAlignmentContextKeyValue, 'top', localize(1730, "The alignment of the quick input"));
38
38
  export const quickInputTypeContextKeyValue = 'quickInputType';
39
- export const QuickInputTypeContextKey = new RawContextKey(quickInputTypeContextKeyValue, undefined, localize(1730, "The type of the currently visible quick input"));
39
+ export const QuickInputTypeContextKey = new RawContextKey(quickInputTypeContextKeyValue, undefined, localize(1731, "The type of the currently visible quick input"));
40
40
  export const endOfQuickInputBoxContextKeyValue = 'cursorAtEndOfQuickInputBox';
41
- export const EndOfQuickInputBoxContextKey = new RawContextKey(endOfQuickInputBoxContextKeyValue, false, localize(1731, "Whether the cursor in the quick input is at the end of the input box"));
41
+ export const EndOfQuickInputBoxContextKey = new RawContextKey(endOfQuickInputBoxContextKeyValue, false, localize(1732, "Whether the cursor in the quick input is at the end of the input box"));
42
42
  export const endOfQuickInputBoxContext = ContextKeyExpr.has(endOfQuickInputBoxContextKeyValue);
43
43
  export const backButton = {
44
44
  iconClass: ThemeIcon.asClassName(Codicon.quickInputBack),
45
- tooltip: localize(1732, "Back"),
45
+ tooltip: localize(1733, "Back"),
46
46
  handle: -1 // TODO
47
47
  };
48
48
  export class QuickInput extends Disposable {
49
- static { this.noPromptMessage = localize(1733, "Press 'Enter' to confirm your input or 'Escape' to cancel"); }
49
+ static { this.noPromptMessage = localize(1734, "Press 'Enter' to confirm your input or 'Escape' to cancel"); }
50
50
  constructor(ui) {
51
51
  super();
52
52
  this.ui = ui;
@@ -314,7 +314,7 @@ export class QuickInput extends Disposable {
314
314
  }
315
315
  getSteps() {
316
316
  if (this.step && this.totalSteps) {
317
- return localize(1734, "{0}/{1}", this.step, this.totalSteps);
317
+ return localize(1735, "{0}/{1}", this.step, this.totalSteps);
318
318
  }
319
319
  if (this.step) {
320
320
  return String(this.step);
@@ -386,7 +386,7 @@ export class QuickPick extends QuickInput {
386
386
  this.onDidTriggerItemButton = this.onDidTriggerItemButtonEmitter.event;
387
387
  this.onDidTriggerSeparatorButton = this.onDidTriggerSeparatorButtonEmitter.event;
388
388
  }
389
- static { this.DEFAULT_ARIA_LABEL = localize(1735, "Type to narrow down results."); }
389
+ static { this.DEFAULT_ARIA_LABEL = localize(1736, "Type to narrow down results."); }
390
390
  get quickNavigate() {
391
391
  return this._quickNavigate;
392
392
  }
@@ -570,7 +570,7 @@ export class QuickPick extends QuickInput {
570
570
  this.update();
571
571
  }
572
572
  get okLabel() {
573
- return this._okLabel ?? localize(1736, "OK");
573
+ return this._okLabel ?? localize(1737, "OK");
574
574
  }
575
575
  set okLabel(okLabel) {
576
576
  this._okLabel = okLabel;
@@ -747,10 +747,15 @@ export class QuickPick extends QuickInput {
747
747
  let ariaLabel = this.ariaLabel;
748
748
  // Only set aria label to the input box placeholder if we actually have an input box.
749
749
  if (!ariaLabel && visibilities.inputBox) {
750
- ariaLabel = this.placeholder || QuickPick.DEFAULT_ARIA_LABEL;
750
+ ariaLabel = this.placeholder;
751
751
  // If we have a title, include it in the aria label.
752
752
  if (this.title) {
753
- ariaLabel += ` - ${this.title}`;
753
+ ariaLabel = ariaLabel
754
+ ? `${ariaLabel} - ${this.title}`
755
+ : this.title;
756
+ }
757
+ if (!ariaLabel) {
758
+ ariaLabel = QuickPick.DEFAULT_ARIA_LABEL;
754
759
  }
755
760
  }
756
761
  if (this.ui.list.ariaLabel !== ariaLabel) {
@@ -911,7 +916,7 @@ export class InputBox extends QuickInput {
911
916
  set prompt(prompt) {
912
917
  this._prompt = prompt;
913
918
  this.noValidationMessage = prompt
914
- ? localize(1737, "{0} (Press 'Enter' to confirm or 'Escape' to cancel)", prompt)
919
+ ? localize(1738, "{0} (Press 'Enter' to confirm or 'Escape' to cancel)", prompt)
915
920
  : QuickInput.noPromptMessage;
916
921
  this.update();
917
922
  }
@@ -929,6 +934,9 @@ export class InputBox extends QuickInput {
929
934
  }
930
935
  super.show();
931
936
  }
937
+ accept() {
938
+ this.onDidAcceptEmitter.fire();
939
+ }
932
940
  update() {
933
941
  if (!this.visible) {
934
942
  return;
@@ -974,7 +982,7 @@ export class InputBox extends QuickInput {
974
982
  }
975
983
  let QuickInputHoverDelegate = class QuickInputHoverDelegate extends WorkbenchHoverDelegate {
976
984
  constructor(configurationService, hoverService) {
977
- super('element', undefined, (options) => this.getOverrideOptions(options), configurationService, hoverService);
985
+ super('mouse', undefined, (options) => this.getOverrideOptions(options), configurationService, hoverService);
978
986
  }
979
987
  getOverrideOptions(options) {
980
988
  // Only show the hover hint if the content is of a decent size