monaco-editor 0.55.0-dev-20251021 → 0.55.0-dev-20251022

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 (259) hide show
  1. package/dev/vs/assets/{css.worker-BdF74HVr.js → css.worker-CNVxDEHL.js} +57 -56
  2. package/dev/vs/assets/{editor.worker-Ci2aWZp5.js → editor.worker-CxT_Qhsk.js} +57 -56
  3. package/dev/vs/assets/{html.worker-PHv_zBMJ.js → html.worker-BkUmTRjE.js} +57 -56
  4. package/dev/vs/assets/{json.worker-Bu5ZSywK.js → json.worker-DK-97m-d.js} +57 -56
  5. package/dev/vs/assets/{ts.worker-DvEf1R_D.js → ts.worker-cHRPyRgi.js} +57 -56
  6. package/dev/vs/basic-languages/monaco.contribution.js +18 -18
  7. package/dev/vs/{cssMode-Bwd5iTwO.js → cssMode-D2ACZpcd.js} +2 -2
  8. package/dev/vs/editor/editor.main.css +3 -4
  9. package/dev/vs/editor/editor.main.js +6 -6
  10. package/dev/vs/{editor.api-DtdJriTE.js → editor.api-CMtrd0pO.js} +1917 -1944
  11. package/dev/vs/{freemarker2-vzq7IT1V.js → freemarker2-CnYj74J4.js} +1 -1
  12. package/dev/vs/{handlebars-voSBoDYq.js → handlebars-DExk9yf4.js} +1 -1
  13. package/dev/vs/{html-DgBvMxaw.js → html-Dql17k62.js} +1 -1
  14. package/dev/vs/{htmlMode-B73e0LQu.js → htmlMode-CCEnhGm2.js} +2 -2
  15. package/dev/vs/{javascript-B456O1TJ.js → javascript-CqoKoqPi.js} +1 -1
  16. package/dev/vs/{jsonMode-0j9Sufcy.js → jsonMode-Cz5IbqId.js} +2 -2
  17. package/dev/vs/language/css/monaco.contribution.js +1 -1
  18. package/dev/vs/language/html/monaco.contribution.js +1 -1
  19. package/dev/vs/language/json/monaco.contribution.js +1 -1
  20. package/dev/vs/language/typescript/monaco.contribution.js +1 -1
  21. package/dev/vs/{liquid-DtsObjyU.js → liquid-DxCkw3Wy.js} +1 -1
  22. package/dev/vs/{lspLanguageFeatures-BOGx43ac.js → lspLanguageFeatures-BQO5gQ_I.js} +1 -1
  23. package/dev/vs/{mdx-CpdAOlbp.js → mdx-DZF1Tct2.js} +1 -1
  24. package/dev/vs/{monaco.contribution-DgD6w475.js → monaco.contribution-BIhJP-zM.js} +2 -2
  25. package/dev/vs/{monaco.contribution-96LxvCLa.js → monaco.contribution-BLcNO6tV.js} +2 -2
  26. package/dev/vs/{monaco.contribution-BNV_Bhhz.js → monaco.contribution-Bpf9llGo.js} +2 -2
  27. package/dev/vs/{monaco.contribution-CLECD6oi.js → monaco.contribution-D1GYx7Ac.js} +2 -2
  28. package/dev/vs/nls.messages.cs.js +2 -2
  29. package/dev/vs/nls.messages.de.js +2 -2
  30. package/dev/vs/nls.messages.es.js +2 -2
  31. package/dev/vs/nls.messages.fr.js +2 -2
  32. package/dev/vs/nls.messages.it.js +2 -2
  33. package/dev/vs/nls.messages.ja.js +2 -2
  34. package/dev/vs/nls.messages.ko.js +2 -2
  35. package/dev/vs/nls.messages.pl.js +2 -2
  36. package/dev/vs/nls.messages.pt-br.js +2 -2
  37. package/dev/vs/nls.messages.ru.js +2 -2
  38. package/dev/vs/nls.messages.tr.js +2 -2
  39. package/dev/vs/nls.messages.zh-cn.js +2 -2
  40. package/dev/vs/nls.messages.zh-tw.js +2 -2
  41. package/dev/vs/{python-Bdcmm8So.js → python-DtVp4js9.js} +1 -1
  42. package/dev/vs/{razor-C2m7Vs0-.js → razor-C3g5CXT6.js} +1 -1
  43. package/dev/vs/{tsMode-qQDYDzQT.js → tsMode-B63tFZWa.js} +2 -2
  44. package/dev/vs/{typescript-BoBnM-0b.js → typescript-YutvBaV7.js} +1 -1
  45. package/dev/vs/{workers-B1DA8fIt.js → workers-D12Uf0L2.js} +1 -1
  46. package/dev/vs/{xml-DmpITxBR.js → xml-D1v3XWzg.js} +1 -1
  47. package/dev/vs/{yaml-Pd4qqIOC.js → yaml-D29Ou18G.js} +1 -1
  48. package/esm/vs/base/browser/ui/codicons/codicon/codicon.ttf +0 -0
  49. package/esm/vs/base/browser/ui/iconLabel/iconlabel.css +2 -3
  50. package/esm/vs/base/common/codiconsLibrary.js +1 -0
  51. package/esm/vs/editor/browser/controller/editContext/native/screenReaderSupport.js +1 -1
  52. package/esm/vs/editor/browser/controller/editContext/screenReaderUtils.js +4 -4
  53. package/esm/vs/editor/browser/controller/editContext/textArea/textAreaEditContext.js +1 -1
  54. package/esm/vs/editor/browser/coreCommands.js +3 -3
  55. package/esm/vs/editor/browser/editorExtensions.js +9 -9
  56. package/esm/vs/editor/browser/gpu/viewGpuContext.js +1 -1
  57. package/esm/vs/editor/browser/services/hoverService/hoverWidget.js +1 -1
  58. package/esm/vs/editor/browser/services/hoverService/updatableHoverWidget.js +1 -1
  59. package/esm/vs/editor/browser/services/inlineCompletionsService.js +4 -4
  60. package/esm/vs/editor/browser/widget/codeEditor/codeEditorWidget.js +2 -2
  61. package/esm/vs/editor/browser/widget/diffEditor/commands.js +12 -12
  62. package/esm/vs/editor/browser/widget/diffEditor/components/accessibleDiffViewer.js +14 -14
  63. package/esm/vs/editor/browser/widget/diffEditor/components/diffEditorEditors.js +1 -1
  64. package/esm/vs/editor/browser/widget/diffEditor/components/diffEditorViewZones/copySelection.js +1 -1
  65. package/esm/vs/editor/browser/widget/diffEditor/components/diffEditorViewZones/inlineDiffDeletedCodeMargin.js +7 -7
  66. package/esm/vs/editor/browser/widget/diffEditor/diffEditor.contribution.js +5 -5
  67. package/esm/vs/editor/browser/widget/diffEditor/features/hideUnchangedRegionsFeature.js +7 -7
  68. package/esm/vs/editor/browser/widget/diffEditor/features/movedBlocksLinesFeature.js +2 -2
  69. package/esm/vs/editor/browser/widget/diffEditor/features/revertButtonsFeature.js +2 -2
  70. package/esm/vs/editor/browser/widget/diffEditor/registrations.contribution.js +5 -5
  71. package/esm/vs/editor/browser/widget/multiDiffEditor/colors.js +3 -3
  72. package/esm/vs/editor/browser/widget/multiDiffEditor/multiDiffEditorWidgetImpl.js +2 -2
  73. package/esm/vs/editor/common/config/editorConfigurationSchema.js +54 -54
  74. package/esm/vs/editor/common/config/editorOptions.js +406 -406
  75. package/esm/vs/editor/common/core/editorColorRegistry.js +68 -68
  76. package/esm/vs/editor/common/editorContextKeys.js +46 -46
  77. package/esm/vs/editor/common/languages/modesRegistry.js +1 -1
  78. package/esm/vs/editor/common/languages.js +56 -56
  79. package/esm/vs/editor/common/model/editStack.js +1 -1
  80. package/esm/vs/editor/common/standaloneStrings.js +10 -10
  81. package/esm/vs/editor/common/viewLayout/viewLineRenderer.js +2 -2
  82. package/esm/vs/editor/contrib/anchorSelect/browser/anchorSelect.js +6 -6
  83. package/esm/vs/editor/contrib/bracketMatching/browser/bracketMatching.js +6 -6
  84. package/esm/vs/editor/contrib/caretOperations/browser/caretOperations.js +2 -2
  85. package/esm/vs/editor/contrib/caretOperations/browser/transpose.js +1 -1
  86. package/esm/vs/editor/contrib/clipboard/browser/clipboard.js +17 -17
  87. package/esm/vs/editor/contrib/codeAction/browser/codeAction.js +1 -1
  88. package/esm/vs/editor/contrib/codeAction/browser/codeActionCommands.js +29 -29
  89. package/esm/vs/editor/contrib/codeAction/browser/codeActionContributions.js +3 -3
  90. package/esm/vs/editor/contrib/codeAction/browser/codeActionController.js +3 -3
  91. package/esm/vs/editor/contrib/codeAction/browser/codeActionMenu.js +8 -8
  92. package/esm/vs/editor/contrib/codeAction/browser/lightBulbWidget.js +9 -9
  93. package/esm/vs/editor/contrib/codelens/browser/codelensController.js +2 -2
  94. package/esm/vs/editor/contrib/colorPicker/browser/colorPickerParts/colorPickerCloseButton.js +1 -1
  95. package/esm/vs/editor/contrib/colorPicker/browser/colorPickerParts/colorPickerHeader.js +1 -1
  96. package/esm/vs/editor/contrib/colorPicker/browser/standaloneColorPicker/standaloneColorPickerActions.js +7 -7
  97. package/esm/vs/editor/contrib/comment/browser/comment.js +6 -6
  98. package/esm/vs/editor/contrib/contextmenu/browser/contextmenu.js +10 -10
  99. package/esm/vs/editor/contrib/cursorUndo/browser/cursorUndo.js +2 -2
  100. package/esm/vs/editor/contrib/dropOrPasteInto/browser/copyPasteContribution.js +4 -4
  101. package/esm/vs/editor/contrib/dropOrPasteInto/browser/copyPasteController.js +9 -9
  102. package/esm/vs/editor/contrib/dropOrPasteInto/browser/defaultProviders.js +8 -8
  103. package/esm/vs/editor/contrib/dropOrPasteInto/browser/dropIntoEditorController.js +3 -3
  104. package/esm/vs/editor/contrib/dropOrPasteInto/browser/postEditWidget.js +2 -2
  105. package/esm/vs/editor/contrib/editorState/browser/keybindingCancellation.js +1 -1
  106. package/esm/vs/editor/contrib/find/browser/findController.js +16 -16
  107. package/esm/vs/editor/contrib/find/browser/findWidget.js +26 -26
  108. package/esm/vs/editor/contrib/folding/browser/folding.js +20 -20
  109. package/esm/vs/editor/contrib/folding/browser/foldingDecorations.js +9 -9
  110. package/esm/vs/editor/contrib/fontZoom/browser/fontZoom.js +3 -3
  111. package/esm/vs/editor/contrib/format/browser/formatActions.js +2 -2
  112. package/esm/vs/editor/contrib/gotoError/browser/gotoError.js +8 -8
  113. package/esm/vs/editor/contrib/gotoError/browser/gotoErrorWidget.js +14 -14
  114. package/esm/vs/editor/contrib/gotoSymbol/browser/goToCommands.js +39 -39
  115. package/esm/vs/editor/contrib/gotoSymbol/browser/link/goToDefinitionAtPosition.js +1 -1
  116. package/esm/vs/editor/contrib/gotoSymbol/browser/peek/referencesController.js +3 -3
  117. package/esm/vs/editor/contrib/gotoSymbol/browser/peek/referencesTree.js +3 -3
  118. package/esm/vs/editor/contrib/gotoSymbol/browser/peek/referencesWidget.js +3 -3
  119. package/esm/vs/editor/contrib/gotoSymbol/browser/referencesModel.js +8 -8
  120. package/esm/vs/editor/contrib/gotoSymbol/browser/symbolNavigation.js +3 -3
  121. package/esm/vs/editor/contrib/gpu/browser/gpuActions.js +4 -4
  122. package/esm/vs/editor/contrib/hover/browser/hoverActionIds.js +2 -2
  123. package/esm/vs/editor/contrib/hover/browser/hoverActions.js +24 -24
  124. package/esm/vs/editor/contrib/hover/browser/markdownHoverParticipant.js +9 -9
  125. package/esm/vs/editor/contrib/hover/browser/markerHoverParticipant.js +5 -5
  126. package/esm/vs/editor/contrib/inPlaceReplace/browser/inPlaceReplace.js +2 -2
  127. package/esm/vs/editor/contrib/indentation/browser/indentation.js +20 -20
  128. package/esm/vs/editor/contrib/inlayHints/browser/inlayHintsHover.js +8 -8
  129. package/esm/vs/editor/contrib/inlineCompletions/browser/controller/commands.js +19 -52
  130. package/esm/vs/editor/contrib/inlineCompletions/browser/controller/inlineCompletionContextKeys.js +12 -12
  131. package/esm/vs/editor/contrib/inlineCompletions/browser/controller/inlineCompletionsController.js +1 -1
  132. package/esm/vs/editor/contrib/inlineCompletions/browser/hintsWidget/hoverParticipant.js +1 -1
  133. package/esm/vs/editor/contrib/inlineCompletions/browser/hintsWidget/inlineCompletionsHintsWidget.js +5 -5
  134. package/esm/vs/editor/contrib/inlineCompletions/browser/inlineCompletions.contribution.js +2 -4
  135. package/esm/vs/editor/contrib/inlineCompletions/browser/view/inlineEdits/components/gutterIndicatorMenu.js +6 -6
  136. package/esm/vs/editor/contrib/inlineCompletions/browser/view/inlineEdits/inlineEditsModel.js +1 -1
  137. package/esm/vs/editor/contrib/inlineCompletions/browser/view/inlineEdits/theme.js +20 -20
  138. package/esm/vs/editor/contrib/insertFinalNewLine/browser/insertFinalNewLine.js +1 -1
  139. package/esm/vs/editor/contrib/lineSelection/browser/lineSelection.js +1 -1
  140. package/esm/vs/editor/contrib/linesOperations/browser/linesOperations.js +31 -31
  141. package/esm/vs/editor/contrib/linkedEditing/browser/linkedEditing.js +2 -2
  142. package/esm/vs/editor/contrib/links/browser/links.js +10 -10
  143. package/esm/vs/editor/contrib/message/browser/messageController.js +1 -1
  144. package/esm/vs/editor/contrib/multicursor/browser/multicursor.js +22 -22
  145. package/esm/vs/editor/contrib/parameterHints/browser/parameterHints.js +1 -1
  146. package/esm/vs/editor/contrib/parameterHints/browser/parameterHintsWidget.js +4 -4
  147. package/esm/vs/editor/contrib/peekView/browser/peekView.js +18 -18
  148. package/esm/vs/editor/contrib/placeholderText/browser/placeholderText.contribution.js +1 -1
  149. package/esm/vs/editor/contrib/quickAccess/browser/gotoLineQuickAccess.js +35 -28
  150. package/esm/vs/editor/contrib/quickAccess/browser/gotoSymbolQuickAccess.js +32 -32
  151. package/esm/vs/editor/contrib/readOnlyMessage/browser/contribution.js +2 -2
  152. package/esm/vs/editor/contrib/rename/browser/rename.js +11 -11
  153. package/esm/vs/editor/contrib/rename/browser/renameWidget.js +7 -7
  154. package/esm/vs/editor/contrib/smartSelect/browser/smartSelect.js +4 -4
  155. package/esm/vs/editor/contrib/snippet/browser/snippetController2.js +4 -4
  156. package/esm/vs/editor/contrib/snippet/browser/snippetVariables.js +4 -4
  157. package/esm/vs/editor/contrib/stickyScroll/browser/stickyScrollActions.js +11 -11
  158. package/esm/vs/editor/contrib/suggest/browser/suggest.js +8 -8
  159. package/esm/vs/editor/contrib/suggest/browser/suggestController.js +10 -10
  160. package/esm/vs/editor/contrib/suggest/browser/suggestWidget.js +17 -17
  161. package/esm/vs/editor/contrib/suggest/browser/suggestWidgetDetails.js +2 -2
  162. package/esm/vs/editor/contrib/suggest/browser/suggestWidgetRenderer.js +2 -2
  163. package/esm/vs/editor/contrib/suggest/browser/wordContextKey.js +1 -1
  164. package/esm/vs/editor/contrib/symbolIcons/browser/symbolIcons.js +33 -33
  165. package/esm/vs/editor/contrib/toggleTabFocusMode/browser/toggleTabFocusMode.js +4 -4
  166. package/esm/vs/editor/contrib/tokenization/browser/tokenization.js +1 -1
  167. package/esm/vs/editor/contrib/unicodeHighlighter/browser/bannerController.js +1 -1
  168. package/esm/vs/editor/contrib/unicodeHighlighter/browser/unicodeHighlighter.js +24 -24
  169. package/esm/vs/editor/contrib/unusualLineTerminators/browser/unusualLineTerminators.js +5 -5
  170. package/esm/vs/editor/contrib/wordHighlighter/browser/highlightDecorations.js +9 -9
  171. package/esm/vs/editor/contrib/wordHighlighter/browser/wordHighlighter.js +3 -3
  172. package/esm/vs/editor/contrib/wordOperations/browser/wordOperations.js +1 -1
  173. package/esm/vs/platform/accessibilitySignal/browser/accessibilitySignalService.js +62 -62
  174. package/esm/vs/platform/action/common/actionCommonCategories.js +6 -6
  175. package/esm/vs/platform/actionWidget/browser/actionList.js +4 -4
  176. package/esm/vs/platform/actionWidget/browser/actionWidget.js +7 -7
  177. package/esm/vs/platform/actions/browser/menuEntryActionViewItem.js +5 -5
  178. package/esm/vs/platform/actions/browser/toolbar.js +2 -2
  179. package/esm/vs/platform/actions/common/menuService.js +2 -2
  180. package/esm/vs/platform/configuration/common/configurationRegistry.js +10 -10
  181. package/esm/vs/platform/contextkey/browser/contextKeyService.js +1 -1
  182. package/esm/vs/platform/contextkey/common/contextkey.js +9 -9
  183. package/esm/vs/platform/contextkey/common/contextkeys.js +9 -9
  184. package/esm/vs/platform/contextkey/common/scanner.js +5 -5
  185. package/esm/vs/platform/history/browser/contextScopedHistoryWidget.js +1 -1
  186. package/esm/vs/platform/keybinding/common/abstractKeybindingService.js +4 -4
  187. package/esm/vs/platform/list/browser/listService.js +27 -27
  188. package/esm/vs/platform/markers/common/markerService.js +2 -2
  189. package/esm/vs/platform/markers/common/markers.js +6 -6
  190. package/esm/vs/platform/quickinput/browser/commandsQuickAccess.js +7 -7
  191. package/esm/vs/platform/quickinput/browser/helpQuickAccess.js +1 -1
  192. package/esm/vs/platform/quickinput/browser/quickInput.js +10 -10
  193. package/esm/vs/platform/quickinput/browser/quickInputActions.js +5 -5
  194. package/esm/vs/platform/quickinput/browser/quickInputController.js +6 -6
  195. package/esm/vs/platform/quickinput/browser/quickInputList.js +1 -1
  196. package/esm/vs/platform/quickinput/browser/quickInputUtils.js +1 -1
  197. package/esm/vs/platform/quickinput/browser/tree/quickInputTreeAccessibilityProvider.js +1 -1
  198. package/esm/vs/platform/theme/common/colorUtils.js +2 -2
  199. package/esm/vs/platform/theme/common/colors/baseColors.js +17 -17
  200. package/esm/vs/platform/theme/common/colors/chartsColors.js +8 -8
  201. package/esm/vs/platform/theme/common/colors/editorColors.js +95 -95
  202. package/esm/vs/platform/theme/common/colors/inputColors.js +47 -47
  203. package/esm/vs/platform/theme/common/colors/listColors.js +36 -36
  204. package/esm/vs/platform/theme/common/colors/menuColors.js +7 -7
  205. package/esm/vs/platform/theme/common/colors/minimapColors.js +11 -11
  206. package/esm/vs/platform/theme/common/colors/miscColors.js +15 -15
  207. package/esm/vs/platform/theme/common/colors/quickpickColors.js +9 -9
  208. package/esm/vs/platform/theme/common/colors/searchColors.js +3 -3
  209. package/esm/vs/platform/theme/common/iconRegistry.js +6 -6
  210. package/esm/vs/platform/undoRedo/common/undoRedoService.js +20 -20
  211. package/esm/vs/platform/workspace/common/workspace.js +1 -1
  212. package/min/vs/assets/{css.worker-DpW7RrDt.js → css.worker-BHMeXSeR.js} +1 -1
  213. package/min/vs/assets/{editor.worker-BvjSTWxN.js → editor.worker-DTWRgIAS.js} +1 -1
  214. package/min/vs/assets/{html.worker-zYFVFHK_.js → html.worker-CXhlyGiJ.js} +1 -1
  215. package/min/vs/assets/{json.worker-BCgqF_m2.js → json.worker-DzYjDoHF.js} +1 -1
  216. package/min/vs/assets/{ts.worker-CQxe4KB6.js → ts.worker-CW5rcuCX.js} +1 -1
  217. package/min/vs/basic-languages/monaco.contribution.js +1 -1
  218. package/min/vs/{cssMode-CvaUVk1W.js → cssMode-1TDQPhHq.js} +1 -1
  219. package/min/vs/editor/editor.main.css +1 -1
  220. package/min/vs/editor/editor.main.js +3 -3
  221. package/min/vs/{editor.api-DGkWFOQA.js → editor.api-wrjhPWGt.js} +123 -123
  222. package/min/vs/{freemarker2-B_vQOikd.js → freemarker2-B8YhwE9w.js} +1 -1
  223. package/min/vs/{handlebars-DqjIuZnJ.js → handlebars-DxIz966T.js} +1 -1
  224. package/min/vs/{html-DAxAlcjQ.js → html-TUDpfuzj.js} +1 -1
  225. package/min/vs/{htmlMode-C37mDTXf.js → htmlMode-BTG6W7ly.js} +1 -1
  226. package/min/vs/{javascript-CmHtjIt-.js → javascript-DjDRFeo7.js} +1 -1
  227. package/min/vs/{jsonMode-D1uvcOsy.js → jsonMode-cxGzlpDo.js} +4 -4
  228. package/min/vs/language/css/monaco.contribution.js +1 -1
  229. package/min/vs/language/html/monaco.contribution.js +1 -1
  230. package/min/vs/language/json/monaco.contribution.js +1 -1
  231. package/min/vs/language/typescript/monaco.contribution.js +1 -1
  232. package/min/vs/{liquid-CQBeFlV7.js → liquid-Bsimqao4.js} +1 -1
  233. package/min/vs/{lspLanguageFeatures-DTAub2tJ.js → lspLanguageFeatures-B9vCOFZO.js} +1 -1
  234. package/min/vs/{mdx-BFnE9qyd.js → mdx-DAXjads7.js} +1 -1
  235. package/min/vs/{monaco.contribution-Ba-90VRW.js → monaco.contribution-B40WJdZo.js} +1 -1
  236. package/min/vs/{monaco.contribution-bCyc25XC.js → monaco.contribution-Bck58VVU.js} +1 -1
  237. package/min/vs/{monaco.contribution-D4gtmCUd.js → monaco.contribution-CTUxDbdl.js} +1 -1
  238. package/min/vs/{monaco.contribution-DBV8hY3j.js → monaco.contribution-Dng4cbIh.js} +1 -1
  239. package/min/vs/nls.messages.cs.js +3 -3
  240. package/min/vs/nls.messages.de.js +3 -3
  241. package/min/vs/nls.messages.es.js +3 -3
  242. package/min/vs/nls.messages.fr.js +3 -3
  243. package/min/vs/nls.messages.it.js +3 -3
  244. package/min/vs/nls.messages.ja.js +3 -3
  245. package/min/vs/nls.messages.ko.js +3 -3
  246. package/min/vs/nls.messages.pl.js +3 -3
  247. package/min/vs/nls.messages.pt-br.js +2 -2
  248. package/min/vs/nls.messages.ru.js +3 -3
  249. package/min/vs/nls.messages.tr.js +3 -3
  250. package/min/vs/nls.messages.zh-cn.js +3 -3
  251. package/min/vs/nls.messages.zh-tw.js +3 -3
  252. package/min/vs/{python-BX875IYK.js → python-k7tPtlws.js} +1 -1
  253. package/min/vs/{razor-BBB6Wn5s.js → razor-9j5Idzae.js} +1 -1
  254. package/min/vs/{tsMode-DYyNPclY.js → tsMode-BDVJ4HNT.js} +5 -5
  255. package/min/vs/{typescript-AvfgkAyn.js → typescript-1Ue-gdOx.js} +1 -1
  256. package/min/vs/{workers-DnTKLxL6.js → workers-jkActJYc.js} +1 -1
  257. package/min/vs/{xml-BVhc_vbm.js → xml-BsAArBP5.js} +1 -1
  258. package/min/vs/{yaml-a9dM1cQx.js → yaml-2dSzUkHA.js} +1 -1
  259. package/package.json +5 -5
@@ -18,7 +18,7 @@ class AbstractGotoLineQuickAccessProvider extends AbstractEditorNavigationQuickA
18
18
  this.useZeroBasedOffset = useZeroBasedOffset;
19
19
  }
20
20
  provideWithoutTextEditor(picker) {
21
- const label = localize(1327, "Open a text editor first to go to a line.");
21
+ const label = localize(1330, "Open a text editor first to go to a line.");
22
22
  picker.items = [{ label }];
23
23
  picker.ariaLabel = label;
24
24
  return Disposable.None;
@@ -51,7 +51,10 @@ class AbstractGotoLineQuickAccessProvider extends AbstractEditorNavigationQuickA
51
51
  picker.items = [{
52
52
  lineNumber: position.lineNumber,
53
53
  column: position.column,
54
- label
54
+ label,
55
+ detail: inputText.length ?
56
+ undefined : // Don't show hint once the user has started typing.
57
+ localize(1331, "Use :line[:column] or ::offset to go to a position. Negative values are counted from the end.")
55
58
  }];
56
59
  // ARIA Label
57
60
  picker.ariaLabel = label;
@@ -68,8 +71,8 @@ class AbstractGotoLineQuickAccessProvider extends AbstractEditorNavigationQuickA
68
71
  };
69
72
  // Add a toggle to switch between 1- and 0-based offsets.
70
73
  const toggle = new Toggle({
71
- title: localize(1328, "Use zero-based offset"),
72
- icon: Codicon.symbolArray,
74
+ title: localize(1332, "Use zero-based offset"),
75
+ icon: Codicon.indexZero,
73
76
  isChecked: this.useZeroBasedOffset.value,
74
77
  inputActiveOptionBorder: asCssVariable(inputActiveOptionBorder),
75
78
  inputActiveOptionForeground: asCssVariable(inputActiveOptionForeground),
@@ -103,52 +106,56 @@ class AbstractGotoLineQuickAccessProvider extends AbstractEditorNavigationQuickA
103
106
  };
104
107
  }
105
108
  parsePosition(editor, value) {
109
+ const model = this.getModel(editor);
106
110
  // Support ::<offset> notation to navigate to a specific offset in the model.
107
111
  if (value.startsWith(':')) {
108
112
  let offset = parseInt(value.substring(1), 10);
109
- if (!isNaN(offset)) {
110
- const model = this.getModel(editor);
111
- if (model) {
112
- const reverse = offset < 0;
113
- if (!this.useZeroBasedOffset.value) {
114
- // Convert 1-based offset to model's 0-based.
115
- offset -= Math.sign(offset);
116
- }
117
- if (reverse) {
118
- // Offset from the end of the buffer
119
- offset += model.getValueLength();
120
- }
121
- return model.getPositionAt(offset);
113
+ if (!isNaN(offset) && model) {
114
+ const reverse = offset < 0;
115
+ if (!this.useZeroBasedOffset.value) {
116
+ // Convert 1-based offset to model's 0-based.
117
+ offset -= Math.sign(offset);
118
+ }
119
+ if (reverse) {
120
+ // Offset from the end of the buffer
121
+ offset += model.getValueLength();
122
122
  }
123
+ return model.getPositionAt(offset);
123
124
  }
124
125
  }
125
126
  // Support line-col formats of `line,col`, `line:col`, `line#col`
126
- const numbers = value.split(/,|:|#/).map(part => parseInt(part, 10)).filter(part => !isNaN(part));
127
- const endLine = this.lineCount(editor) + 1;
128
- return {
129
- lineNumber: numbers[0] > 0 ? numbers[0] : endLine + numbers[0],
130
- column: numbers[1]
131
- };
127
+ let [lineNumber, column] = value.split(/,|:|#/).map(part => parseInt(part, 10)).filter(part => !isNaN(part));
128
+ // Handle negative line numbers and clip to valid range.
129
+ const maxLine = (model?.getLineCount() ?? 0) + 1;
130
+ lineNumber = lineNumber >= 0 ? lineNumber : maxLine + lineNumber;
131
+ lineNumber = Math.min(Math.max(1, lineNumber), maxLine);
132
+ // Handle negative column numbers and clip to valid range.
133
+ if (column !== undefined && model) {
134
+ const maxColumn = model.getLineMaxColumn(lineNumber);
135
+ column = column >= 0 ? column : maxColumn + column;
136
+ column = Math.min(Math.max(1, column), maxColumn);
137
+ }
138
+ return { lineNumber, column };
132
139
  }
133
140
  getPickLabel(editor, lineNumber, column, inOffsetMode) {
134
141
  // Location valid: indicate this as picker label
135
142
  if (this.isValidLineNumber(editor, lineNumber)) {
136
143
  if (this.isValidColumn(editor, lineNumber, column)) {
137
- return localize(1329, "Go to line {0} and character {1}.", lineNumber, column);
144
+ return localize(1333, "Go to line {0} and character {1}.", lineNumber, column);
138
145
  }
139
- return localize(1330, "Go to line {0}.", lineNumber);
146
+ return localize(1334, "Go to line {0}.", lineNumber);
140
147
  }
141
148
  // Location invalid: show generic label
142
149
  const position = editor.getPosition() || { lineNumber: 1, column: 1 };
143
150
  // When in offset mode, prompt for an offset.
144
151
  if (inOffsetMode) {
145
- return localize(1331, "Current Line: {0}, Character: {1}. Type a character offset to navigate to.", position.lineNumber, position.column);
152
+ return localize(1335, "Current Line: {0}, Character: {1}. Type a character offset to navigate to.", position.lineNumber, position.column);
146
153
  }
147
154
  const lineCount = this.lineCount(editor);
148
155
  if (lineCount > 1) {
149
- return localize(1332, "Current Line: {0}, Character: {1}. Type a line number between 1 and {2} to navigate to.", position.lineNumber, position.column, lineCount);
156
+ return localize(1336, "Current Line: {0}, Character: {1}. Type a line number between 1 and {2} to navigate to.", position.lineNumber, position.column, lineCount);
150
157
  }
151
- return localize(1333, "Current Line: {0}, Character: {1}. Type a line number to navigate to.", position.lineNumber, position.column);
158
+ return localize(1337, "Current Line: {0}, Character: {1}. Type a line number to navigate to.", position.lineNumber, position.column);
152
159
  }
153
160
  isValidLineNumber(editor, lineNumber) {
154
161
  if (!lineNumber || typeof lineNumber !== 'number') {
@@ -40,7 +40,7 @@ let AbstractGotoSymbolQuickAccessProvider = class AbstractGotoSymbolQuickAccessP
40
40
  this.options.canAcceptInBackground = true;
41
41
  }
42
42
  provideWithoutTextEditor(picker) {
43
- this.provideLabelPick(picker, localize(1334, "To go to a symbol, first open a text editor with symbol information."));
43
+ this.provideLabelPick(picker, localize(1338, "To go to a symbol, first open a text editor with symbol information."));
44
44
  return Disposable.None;
45
45
  }
46
46
  provideWithTextEditor(context, picker, token, runOptions) {
@@ -61,7 +61,7 @@ let AbstractGotoSymbolQuickAccessProvider = class AbstractGotoSymbolQuickAccessP
61
61
  doProvideWithoutEditorSymbols(context, model, picker, token) {
62
62
  const disposables = new DisposableStore();
63
63
  // Generic pick for not having any symbol information
64
- this.provideLabelPick(picker, localize(1335, "The active text editor does not provide symbol information."));
64
+ this.provideLabelPick(picker, localize(1339, "The active text editor does not provide symbol information."));
65
65
  // Wait for changes to the registry and see if eventually
66
66
  // we do get symbols. This can happen if the picker is opened
67
67
  // very early after the model has loaded but before the
@@ -147,10 +147,10 @@ let AbstractGotoSymbolQuickAccessProvider = class AbstractGotoSymbolQuickAccessP
147
147
  }
148
148
  else {
149
149
  if (query.original.length > 0) {
150
- this.provideLabelPick(picker, localize(1336, "No matching editor symbols"));
150
+ this.provideLabelPick(picker, localize(1340, "No matching editor symbols"));
151
151
  }
152
152
  else {
153
- this.provideLabelPick(picker, localize(1337, "No editor symbols"));
153
+ this.provideLabelPick(picker, localize(1341, "No editor symbols"));
154
154
  }
155
155
  }
156
156
  }
@@ -197,7 +197,7 @@ let AbstractGotoSymbolQuickAccessProvider = class AbstractGotoSymbolQuickAccessP
197
197
  if (openSideBySideDirection) {
198
198
  buttons = [{
199
199
  iconClass: openSideBySideDirection === 'right' ? ThemeIcon.asClassName(Codicon.splitHorizontal) : ThemeIcon.asClassName(Codicon.splitVertical),
200
- tooltip: openSideBySideDirection === 'right' ? localize(1338, "Open to the Side") : localize(1339, "Open to the Bottom")
200
+ tooltip: openSideBySideDirection === 'right' ? localize(1342, "Open to the Side") : localize(1343, "Open to the Bottom")
201
201
  }];
202
202
  }
203
203
  const filteredSymbolPicks = [];
@@ -313,7 +313,7 @@ let AbstractGotoSymbolQuickAccessProvider = class AbstractGotoSymbolQuickAccessP
313
313
  }
314
314
  else if (sortedFilteredSymbolPicks.length > 0) {
315
315
  symbolPicks = [
316
- { label: localize(1340, "symbols ({0})", filteredSymbolPicks.length), type: 'separator' },
316
+ { label: localize(1344, "symbols ({0})", filteredSymbolPicks.length), type: 'separator' },
317
317
  ...sortedFilteredSymbolPicks
318
318
  ];
319
319
  }
@@ -362,33 +362,33 @@ AbstractGotoSymbolQuickAccessProvider = AbstractGotoSymbolQuickAccessProvider_1
362
362
  __param(1, IOutlineModelService)
363
363
  ], AbstractGotoSymbolQuickAccessProvider);
364
364
  // #region NLS Helpers
365
- const FALLBACK_NLS_SYMBOL_KIND = localize(1341, "properties ({0})");
365
+ const FALLBACK_NLS_SYMBOL_KIND = localize(1345, "properties ({0})");
366
366
  const NLS_SYMBOL_KIND_CACHE = {
367
- [5 /* SymbolKind.Method */]: localize(1342, "methods ({0})"),
368
- [11 /* SymbolKind.Function */]: localize(1343, "functions ({0})"),
369
- [8 /* SymbolKind.Constructor */]: localize(1344, "constructors ({0})"),
370
- [12 /* SymbolKind.Variable */]: localize(1345, "variables ({0})"),
371
- [4 /* SymbolKind.Class */]: localize(1346, "classes ({0})"),
372
- [22 /* SymbolKind.Struct */]: localize(1347, "structs ({0})"),
373
- [23 /* SymbolKind.Event */]: localize(1348, "events ({0})"),
374
- [24 /* SymbolKind.Operator */]: localize(1349, "operators ({0})"),
375
- [10 /* SymbolKind.Interface */]: localize(1350, "interfaces ({0})"),
376
- [2 /* SymbolKind.Namespace */]: localize(1351, "namespaces ({0})"),
377
- [3 /* SymbolKind.Package */]: localize(1352, "packages ({0})"),
378
- [25 /* SymbolKind.TypeParameter */]: localize(1353, "type parameters ({0})"),
379
- [1 /* SymbolKind.Module */]: localize(1354, "modules ({0})"),
380
- [6 /* SymbolKind.Property */]: localize(1355, "properties ({0})"),
381
- [9 /* SymbolKind.Enum */]: localize(1356, "enumerations ({0})"),
382
- [21 /* SymbolKind.EnumMember */]: localize(1357, "enumeration members ({0})"),
383
- [14 /* SymbolKind.String */]: localize(1358, "strings ({0})"),
384
- [0 /* SymbolKind.File */]: localize(1359, "files ({0})"),
385
- [17 /* SymbolKind.Array */]: localize(1360, "arrays ({0})"),
386
- [15 /* SymbolKind.Number */]: localize(1361, "numbers ({0})"),
387
- [16 /* SymbolKind.Boolean */]: localize(1362, "booleans ({0})"),
388
- [18 /* SymbolKind.Object */]: localize(1363, "objects ({0})"),
389
- [19 /* SymbolKind.Key */]: localize(1364, "keys ({0})"),
390
- [7 /* SymbolKind.Field */]: localize(1365, "fields ({0})"),
391
- [13 /* SymbolKind.Constant */]: localize(1366, "constants ({0})")
367
+ [5 /* SymbolKind.Method */]: localize(1346, "methods ({0})"),
368
+ [11 /* SymbolKind.Function */]: localize(1347, "functions ({0})"),
369
+ [8 /* SymbolKind.Constructor */]: localize(1348, "constructors ({0})"),
370
+ [12 /* SymbolKind.Variable */]: localize(1349, "variables ({0})"),
371
+ [4 /* SymbolKind.Class */]: localize(1350, "classes ({0})"),
372
+ [22 /* SymbolKind.Struct */]: localize(1351, "structs ({0})"),
373
+ [23 /* SymbolKind.Event */]: localize(1352, "events ({0})"),
374
+ [24 /* SymbolKind.Operator */]: localize(1353, "operators ({0})"),
375
+ [10 /* SymbolKind.Interface */]: localize(1354, "interfaces ({0})"),
376
+ [2 /* SymbolKind.Namespace */]: localize(1355, "namespaces ({0})"),
377
+ [3 /* SymbolKind.Package */]: localize(1356, "packages ({0})"),
378
+ [25 /* SymbolKind.TypeParameter */]: localize(1357, "type parameters ({0})"),
379
+ [1 /* SymbolKind.Module */]: localize(1358, "modules ({0})"),
380
+ [6 /* SymbolKind.Property */]: localize(1359, "properties ({0})"),
381
+ [9 /* SymbolKind.Enum */]: localize(1360, "enumerations ({0})"),
382
+ [21 /* SymbolKind.EnumMember */]: localize(1361, "enumeration members ({0})"),
383
+ [14 /* SymbolKind.String */]: localize(1362, "strings ({0})"),
384
+ [0 /* SymbolKind.File */]: localize(1363, "files ({0})"),
385
+ [17 /* SymbolKind.Array */]: localize(1364, "arrays ({0})"),
386
+ [15 /* SymbolKind.Number */]: localize(1365, "numbers ({0})"),
387
+ [16 /* SymbolKind.Boolean */]: localize(1366, "booleans ({0})"),
388
+ [18 /* SymbolKind.Object */]: localize(1367, "objects ({0})"),
389
+ [19 /* SymbolKind.Key */]: localize(1368, "keys ({0})"),
390
+ [7 /* SymbolKind.Field */]: localize(1369, "fields ({0})"),
391
+ [13 /* SymbolKind.Constant */]: localize(1370, "constants ({0})")
392
392
  };
393
393
  //#endregion
394
394
 
@@ -21,10 +21,10 @@ class ReadOnlyMessageController extends Disposable {
21
21
  let message = this.editor.getOptions().get(105 /* EditorOption.readOnlyMessage */);
22
22
  if (!message) {
23
23
  if (this.editor.isSimpleWidget) {
24
- message = new MarkdownString(localize(1367, "Cannot edit in read-only input"));
24
+ message = new MarkdownString(localize(1371, "Cannot edit in read-only input"));
25
25
  }
26
26
  else {
27
- message = new MarkdownString(localize(1368, "Cannot edit in read-only editor"));
27
+ message = new MarkdownString(localize(1372, "Cannot edit in read-only editor"));
28
28
  }
29
29
  }
30
30
  messageController.showMessage(message, this.editor.getPosition());
@@ -100,7 +100,7 @@ class RenameSkeleton {
100
100
  }
101
101
  const result = await provider.provideRenameEdits(this.model, this.position, newName, token);
102
102
  if (!result) {
103
- return this._provideRenameEdits(newName, i + 1, rejects.concat(localize(1369, "No result.")), token);
103
+ return this._provideRenameEdits(newName, i + 1, rejects.concat(localize(1373, "No result.")), token);
104
104
  }
105
105
  else if (result.rejectReason) {
106
106
  return this._provideRenameEdits(newName, i + 1, rejects.concat(result.rejectReason), token);
@@ -173,7 +173,7 @@ let RenameController = class RenameController {
173
173
  else {
174
174
  trace('resolve rename location failed', e instanceof Error ? e : JSON.stringify(e, null, '\t'));
175
175
  if (typeof e === 'string' || isMarkdownString(e)) {
176
- MessageController.get(this.editor)?.showMessage(e || localize(1370, "An unknown error occurred while resolving rename location"), position);
176
+ MessageController.get(this.editor)?.showMessage(e || localize(1374, "An unknown error occurred while resolving rename location"), position);
177
177
  }
178
178
  }
179
179
  return undefined;
@@ -241,24 +241,24 @@ let RenameController = class RenameController {
241
241
  this._bulkEditService.apply(renameResult, {
242
242
  editor: this.editor,
243
243
  showPreview: inputFieldResult.wantsPreview,
244
- label: localize(1371, "Renaming '{0}' to '{1}'", loc?.text, inputFieldResult.newName),
244
+ label: localize(1375, "Renaming '{0}' to '{1}'", loc?.text, inputFieldResult.newName),
245
245
  code: 'undoredo.rename',
246
- quotableLabel: localize(1372, "Renaming {0} to {1}", loc?.text, inputFieldResult.newName),
246
+ quotableLabel: localize(1376, "Renaming {0} to {1}", loc?.text, inputFieldResult.newName),
247
247
  respectAutoSaveConfig: true,
248
248
  reason: EditSources.rename(),
249
249
  }).then(result => {
250
250
  trace('edits applied');
251
251
  if (result.ariaSummary) {
252
- alert(localize(1373, "Successfully renamed '{0}' to '{1}'. Summary: {2}", loc.text, inputFieldResult.newName, result.ariaSummary));
252
+ alert(localize(1377, "Successfully renamed '{0}' to '{1}'. Summary: {2}", loc.text, inputFieldResult.newName, result.ariaSummary));
253
253
  }
254
254
  }).catch(err => {
255
255
  trace(`error when applying edits ${JSON.stringify(err, null, '\t')}`);
256
- this._notificationService.error(localize(1374, "Rename failed to apply edits"));
256
+ this._notificationService.error(localize(1378, "Rename failed to apply edits"));
257
257
  this._logService.error(err);
258
258
  });
259
259
  }, err => {
260
260
  trace('error when providing rename edits', JSON.stringify(err, null, '\t'));
261
- this._notificationService.error(localize(1375, "Rename failed to compute edits"));
261
+ this._notificationService.error(localize(1379, "Rename failed to compute edits"));
262
262
  this._logService.error(err);
263
263
  }).finally(() => {
264
264
  cts2.dispose();
@@ -294,7 +294,7 @@ class RenameAction extends EditorAction {
294
294
  constructor() {
295
295
  super({
296
296
  id: 'editor.action.rename',
297
- label: localize2(1377, "Rename Symbol"),
297
+ label: localize2(1381, "Rename Symbol"),
298
298
  precondition: ContextKeyExpr.and(EditorContextKeys.writable, EditorContextKeys.hasRenameProvider),
299
299
  kbOpts: {
300
300
  kbExpr: EditorContextKeys.editorTextFocus,
@@ -374,7 +374,7 @@ registerAction2(class FocusNextRenameSuggestion extends Action2 {
374
374
  super({
375
375
  id: 'focusNextRenameSuggestion',
376
376
  title: {
377
- ...localize2(1378, "Focus Next Rename Suggestion"),
377
+ ...localize2(1382, "Focus Next Rename Suggestion"),
378
378
  },
379
379
  precondition: CONTEXT_RENAME_INPUT_VISIBLE,
380
380
  keybinding: [
@@ -402,7 +402,7 @@ registerAction2(class FocusPreviousRenameSuggestion extends Action2 {
402
402
  super({
403
403
  id: 'focusPreviousRenameSuggestion',
404
404
  title: {
405
- ...localize2(1379, "Focus Previous Rename Suggestion"),
405
+ ...localize2(1383, "Focus Previous Rename Suggestion"),
406
406
  },
407
407
  precondition: CONTEXT_RENAME_INPUT_VISIBLE,
408
408
  keybinding: [
@@ -447,7 +447,7 @@ Registry.as(Extensions.Configuration).registerConfiguration({
447
447
  properties: {
448
448
  'editor.rename.enablePreview': {
449
449
  scope: 6 /* ConfigurationScope.LANGUAGE_OVERRIDABLE */,
450
- description: localize(1376, "Enable/disable the ability to preview changes before renaming"),
450
+ description: localize(1380, "Enable/disable the ability to preview changes before renaming"),
451
451
  default: true,
452
452
  type: 'boolean'
453
453
  }
@@ -48,8 +48,8 @@ var __decorate = (undefined && undefined.__decorate) || function (decorators, ta
48
48
  var __param = (undefined && undefined.__param) || function (paramIndex, decorator) {
49
49
  return function (target, key) { decorator(target, key, paramIndex); }
50
50
  };
51
- const CONTEXT_RENAME_INPUT_VISIBLE = new RawContextKey('renameInputVisible', false, localize(1380, "Whether the rename input widget is visible"));
52
- new RawContextKey('renameInputFocused', false, localize(1381, "Whether the rename input widget is focused"));
51
+ const CONTEXT_RENAME_INPUT_VISIBLE = new RawContextKey('renameInputVisible', false, localize(1384, "Whether the rename input widget is visible"));
52
+ new RawContextKey('renameInputFocused', false, localize(1385, "Whether the rename input widget is focused"));
53
53
  let RenameWidget = class RenameWidget {
54
54
  constructor(_editor, _acceptKeybindings, _themeService, _keybindingService, contextKeyService, _logService) {
55
55
  this._editor = _editor;
@@ -172,7 +172,7 @@ let RenameWidget = class RenameWidget {
172
172
  }
173
173
  beforeRender() {
174
174
  const [accept, preview] = this._acceptKeybindings;
175
- this._label.innerText = localize(1382, "{0} to Rename, {1} to Preview", this._keybindingService.lookupKeybinding(accept)?.getLabel(), this._keybindingService.lookupKeybinding(preview)?.getLabel());
175
+ this._label.innerText = localize(1386, "{0} to Rename, {1} to Preview", this._keybindingService.lookupKeybinding(accept)?.getLabel(), this._keybindingService.lookupKeybinding(preview)?.getLabel());
176
176
  this._domNode.style.minWidth = `200px`; // to prevent from widening when candidates come in
177
177
  return null;
178
178
  }
@@ -485,7 +485,7 @@ class RenameCandidateListView {
485
485
  // adjust list container layout
486
486
  this._listContainer.style.height = `${height}px`;
487
487
  this._listContainer.style.width = `${width}px`;
488
- status(localize(1383, "Received {0} rename suggestions", candidates.length));
488
+ status(localize(1387, "Received {0} rename suggestions", candidates.length));
489
489
  }
490
490
  clearCandidates() {
491
491
  this._listContainer.style.height = '0px';
@@ -627,13 +627,13 @@ class InputWithButton {
627
627
  this._inputNode.className = 'rename-input';
628
628
  this._inputNode.type = 'text';
629
629
  this._inputNode.style.border = 'none';
630
- this._inputNode.setAttribute('aria-label', localize(1384, "Rename input. Type new name and press Enter to commit."));
630
+ this._inputNode.setAttribute('aria-label', localize(1388, "Rename input. Type new name and press Enter to commit."));
631
631
  this._domNode.appendChild(this._inputNode);
632
632
  this._buttonNode = document.createElement('div');
633
633
  this._buttonNode.className = 'rename-suggestions-button';
634
634
  this._buttonNode.setAttribute('tabindex', '0');
635
- this._buttonGenHoverText = localize(1385, "Generate New Name Suggestions");
636
- this._buttonCancelHoverText = localize(1386, "Cancel");
635
+ this._buttonGenHoverText = localize(1389, "Generate New Name Suggestions");
636
+ this._buttonCancelHoverText = localize(1390, "Cancel");
637
637
  this._buttonHoverContent = this._buttonGenHoverText;
638
638
  this._disposables.add(getBaseLayerHoverDelegate().setupDelayedHover(this._buttonNode, () => ({
639
639
  content: this._buttonHoverContent,
@@ -131,7 +131,7 @@ class GrowSelectionAction extends AbstractSmartSelect {
131
131
  constructor() {
132
132
  super(true, {
133
133
  id: 'editor.action.smartSelect.expand',
134
- label: localize2(1389, "Expand Selection"),
134
+ label: localize2(1393, "Expand Selection"),
135
135
  precondition: undefined,
136
136
  kbOpts: {
137
137
  kbExpr: EditorContextKeys.editorTextFocus,
@@ -145,7 +145,7 @@ class GrowSelectionAction extends AbstractSmartSelect {
145
145
  menuOpts: {
146
146
  menuId: MenuId.MenubarSelectionMenu,
147
147
  group: '1_basic',
148
- title: localize(1387, "&&Expand Selection"),
148
+ title: localize(1391, "&&Expand Selection"),
149
149
  order: 2
150
150
  }
151
151
  });
@@ -157,7 +157,7 @@ class ShrinkSelectionAction extends AbstractSmartSelect {
157
157
  constructor() {
158
158
  super(false, {
159
159
  id: 'editor.action.smartSelect.shrink',
160
- label: localize2(1390, "Shrink Selection"),
160
+ label: localize2(1394, "Shrink Selection"),
161
161
  precondition: undefined,
162
162
  kbOpts: {
163
163
  kbExpr: EditorContextKeys.editorTextFocus,
@@ -171,7 +171,7 @@ class ShrinkSelectionAction extends AbstractSmartSelect {
171
171
  menuOpts: {
172
172
  menuId: MenuId.MenubarSelectionMenu,
173
173
  group: '1_basic',
174
- title: localize(1388, "&&Shrink Selection"),
174
+ title: localize(1392, "&&Shrink Selection"),
175
175
  order: 3
176
176
  }
177
177
  });
@@ -42,9 +42,9 @@ let SnippetController2 = class SnippetController2 {
42
42
  static get(editor) {
43
43
  return editor.getContribution(SnippetController2_1.ID);
44
44
  }
45
- static { this.InSnippetMode = new RawContextKey('inSnippetMode', false, localize(1391, "Whether the editor in current in snippet mode")); }
46
- static { this.HasNextTabstop = new RawContextKey('hasNextTabstop', false, localize(1392, "Whether there is a next tab stop when in snippet mode")); }
47
- static { this.HasPrevTabstop = new RawContextKey('hasPrevTabstop', false, localize(1393, "Whether there is a previous tab stop when in snippet mode")); }
45
+ static { this.InSnippetMode = new RawContextKey('inSnippetMode', false, localize(1395, "Whether the editor in current in snippet mode")); }
46
+ static { this.HasNextTabstop = new RawContextKey('hasNextTabstop', false, localize(1396, "Whether there is a next tab stop when in snippet mode")); }
47
+ static { this.HasPrevTabstop = new RawContextKey('hasPrevTabstop', false, localize(1397, "Whether there is a previous tab stop when in snippet mode")); }
48
48
  constructor(_editor, _logService, _languageFeaturesService, contextKeyService, _languageConfigurationService) {
49
49
  this._editor = _editor;
50
50
  this._logService = _logService;
@@ -130,7 +130,7 @@ let SnippetController2 = class SnippetController2 {
130
130
  sortText: 'a'.repeat(i + 1),
131
131
  range: activeChoice.range,
132
132
  filterText: isAnyOfOptions ? `${word}_${option.value}` : undefined,
133
- command: { id: 'jumpToNextSnippetPlaceholder', title: localize(1394, 'Go to next placeholder...') }
133
+ command: { id: 'jumpToNextSnippetPlaceholder', title: localize(1398, 'Go to next placeholder...') }
134
134
  });
135
135
  }
136
136
  return { suggestions };
@@ -207,10 +207,10 @@ class TimeBasedVariableResolver {
207
207
  constructor() {
208
208
  this._date = new Date();
209
209
  }
210
- static { this.dayNames = [localize(1395, "Sunday"), localize(1396, "Monday"), localize(1397, "Tuesday"), localize(1398, "Wednesday"), localize(1399, "Thursday"), localize(1400, "Friday"), localize(1401, "Saturday")]; }
211
- static { this.dayNamesShort = [localize(1402, "Sun"), localize(1403, "Mon"), localize(1404, "Tue"), localize(1405, "Wed"), localize(1406, "Thu"), localize(1407, "Fri"), localize(1408, "Sat")]; }
212
- static { this.monthNames = [localize(1409, "January"), localize(1410, "February"), localize(1411, "March"), localize(1412, "April"), localize(1413, "May"), localize(1414, "June"), localize(1415, "July"), localize(1416, "August"), localize(1417, "September"), localize(1418, "October"), localize(1419, "November"), localize(1420, "December")]; }
213
- static { this.monthNamesShort = [localize(1421, "Jan"), localize(1422, "Feb"), localize(1423, "Mar"), localize(1424, "Apr"), localize(1425, "May"), localize(1426, "Jun"), localize(1427, "Jul"), localize(1428, "Aug"), localize(1429, "Sep"), localize(1430, "Oct"), localize(1431, "Nov"), localize(1432, "Dec")]; }
210
+ static { this.dayNames = [localize(1399, "Sunday"), localize(1400, "Monday"), localize(1401, "Tuesday"), localize(1402, "Wednesday"), localize(1403, "Thursday"), localize(1404, "Friday"), localize(1405, "Saturday")]; }
211
+ static { this.dayNamesShort = [localize(1406, "Sun"), localize(1407, "Mon"), localize(1408, "Tue"), localize(1409, "Wed"), localize(1410, "Thu"), localize(1411, "Fri"), localize(1412, "Sat")]; }
212
+ static { this.monthNames = [localize(1413, "January"), localize(1414, "February"), localize(1415, "March"), localize(1416, "April"), localize(1417, "May"), localize(1418, "June"), localize(1419, "July"), localize(1420, "August"), localize(1421, "September"), localize(1422, "October"), localize(1423, "November"), localize(1424, "December")]; }
213
+ static { this.monthNamesShort = [localize(1425, "Jan"), localize(1426, "Feb"), localize(1427, "Mar"), localize(1428, "Apr"), localize(1429, "May"), localize(1430, "Jun"), localize(1431, "Jul"), localize(1432, "Aug"), localize(1433, "Sep"), localize(1434, "Oct"), localize(1435, "Nov"), localize(1436, "Dec")]; }
214
214
  resolve(variable) {
215
215
  const { name } = variable;
216
216
  if (name === 'CURRENT_YEAR') {
@@ -16,17 +16,17 @@ class ToggleStickyScroll extends EditorAction2 {
16
16
  super({
17
17
  id: 'editor.action.toggleStickyScroll',
18
18
  title: {
19
- ...localize2(1437, "Toggle Editor Sticky Scroll"),
20
- mnemonicTitle: localize(1433, "&&Toggle Editor Sticky Scroll"),
19
+ ...localize2(1441, "Toggle Editor Sticky Scroll"),
20
+ mnemonicTitle: localize(1437, "&&Toggle Editor Sticky Scroll"),
21
21
  },
22
22
  metadata: {
23
- description: localize2(1438, "Toggle/enable the editor sticky scroll which shows the nested scopes at the top of the viewport"),
23
+ description: localize2(1442, "Toggle/enable the editor sticky scroll which shows the nested scopes at the top of the viewport"),
24
24
  },
25
25
  category: Categories.View,
26
26
  toggled: {
27
27
  condition: ContextKeyExpr.equals('config.editor.stickyScroll.enabled', true),
28
- title: localize(1434, "Sticky Scroll"),
29
- mnemonicTitle: localize(1435, "&&Sticky Scroll"),
28
+ title: localize(1438, "Sticky Scroll"),
29
+ mnemonicTitle: localize(1439, "&&Sticky Scroll"),
30
30
  },
31
31
  menu: [
32
32
  { id: MenuId.CommandPalette },
@@ -51,8 +51,8 @@ class FocusStickyScroll extends EditorAction2 {
51
51
  super({
52
52
  id: 'editor.action.focusStickyScroll',
53
53
  title: {
54
- ...localize2(1439, "Focus Editor Sticky Scroll"),
55
- mnemonicTitle: localize(1436, "&&Focus Editor Sticky Scroll"),
54
+ ...localize2(1443, "Focus Editor Sticky Scroll"),
55
+ mnemonicTitle: localize(1440, "&&Focus Editor Sticky Scroll"),
56
56
  },
57
57
  precondition: ContextKeyExpr.and(ContextKeyExpr.has('config.editor.stickyScroll.enabled'), EditorContextKeys.stickyScrollVisible),
58
58
  menu: [
@@ -68,7 +68,7 @@ class SelectNextStickyScrollLine extends EditorAction2 {
68
68
  constructor() {
69
69
  super({
70
70
  id: 'editor.action.selectNextStickyScrollLine',
71
- title: localize2(1440, "Select the next editor sticky scroll line"),
71
+ title: localize2(1444, "Select the next editor sticky scroll line"),
72
72
  precondition: EditorContextKeys.stickyScrollFocused.isEqualTo(true),
73
73
  keybinding: {
74
74
  weight,
@@ -84,7 +84,7 @@ class SelectPreviousStickyScrollLine extends EditorAction2 {
84
84
  constructor() {
85
85
  super({
86
86
  id: 'editor.action.selectPreviousStickyScrollLine',
87
- title: localize2(1441, "Select the previous sticky scroll line"),
87
+ title: localize2(1445, "Select the previous sticky scroll line"),
88
88
  precondition: EditorContextKeys.stickyScrollFocused.isEqualTo(true),
89
89
  keybinding: {
90
90
  weight,
@@ -100,7 +100,7 @@ class GoToStickyScrollLine extends EditorAction2 {
100
100
  constructor() {
101
101
  super({
102
102
  id: 'editor.action.goToFocusedStickyScrollLine',
103
- title: localize2(1442, "Go to the focused sticky scroll line"),
103
+ title: localize2(1446, "Go to the focused sticky scroll line"),
104
104
  precondition: EditorContextKeys.stickyScrollFocused.isEqualTo(true),
105
105
  keybinding: {
106
106
  weight,
@@ -116,7 +116,7 @@ class SelectEditor extends EditorAction2 {
116
116
  constructor() {
117
117
  super({
118
118
  id: 'editor.action.selectEditor',
119
- title: localize2(1443, "Select Editor"),
119
+ title: localize2(1447, "Select Editor"),
120
120
  precondition: EditorContextKeys.stickyScrollFocused.isEqualTo(true),
121
121
  keybinding: {
122
122
  weight,
@@ -22,14 +22,14 @@ import { historyNavigationVisible } from '../../../../platform/history/browser/c
22
22
  *--------------------------------------------------------------------------------------------*/
23
23
  const Context = {
24
24
  Visible: historyNavigationVisible,
25
- HasFocusedSuggestion: new RawContextKey('suggestWidgetHasFocusedSuggestion', false, localize(1444, "Whether any suggestion is focused")),
26
- DetailsVisible: new RawContextKey('suggestWidgetDetailsVisible', false, localize(1445, "Whether suggestion details are visible")),
27
- MultipleSuggestions: new RawContextKey('suggestWidgetMultipleSuggestions', false, localize(1446, "Whether there are multiple suggestions to pick from")),
28
- MakesTextEdit: new RawContextKey('suggestionMakesTextEdit', true, localize(1447, "Whether inserting the current suggestion yields in a change or has everything already been typed")),
29
- AcceptSuggestionsOnEnter: new RawContextKey('acceptSuggestionOnEnter', true, localize(1448, "Whether suggestions are inserted when pressing Enter")),
30
- HasInsertAndReplaceRange: new RawContextKey('suggestionHasInsertAndReplaceRange', false, localize(1449, "Whether the current suggestion has insert and replace behaviour")),
31
- InsertMode: new RawContextKey('suggestionInsertMode', undefined, { type: 'string', description: localize(1450, "Whether the default behaviour is to insert or replace") }),
32
- CanResolve: new RawContextKey('suggestionCanResolve', false, localize(1451, "Whether the current suggestion supports to resolve further details")),
25
+ HasFocusedSuggestion: new RawContextKey('suggestWidgetHasFocusedSuggestion', false, localize(1448, "Whether any suggestion is focused")),
26
+ DetailsVisible: new RawContextKey('suggestWidgetDetailsVisible', false, localize(1449, "Whether suggestion details are visible")),
27
+ MultipleSuggestions: new RawContextKey('suggestWidgetMultipleSuggestions', false, localize(1450, "Whether there are multiple suggestions to pick from")),
28
+ MakesTextEdit: new RawContextKey('suggestionMakesTextEdit', true, localize(1451, "Whether inserting the current suggestion yields in a change or has everything already been typed")),
29
+ AcceptSuggestionsOnEnter: new RawContextKey('acceptSuggestionOnEnter', true, localize(1452, "Whether suggestions are inserted when pressing Enter")),
30
+ HasInsertAndReplaceRange: new RawContextKey('suggestionHasInsertAndReplaceRange', false, localize(1453, "Whether the current suggestion has insert and replace behaviour")),
31
+ InsertMode: new RawContextKey('suggestionInsertMode', undefined, { type: 'string', description: localize(1454, "Whether the default behaviour is to insert or replace") }),
32
+ CanResolve: new RawContextKey('suggestionCanResolve', false, localize(1455, "Whether the current suggestion supports to resolve further details")),
33
33
  };
34
34
  const suggestWidgetStatusbarMenu = new MenuId('suggestWidgetStatusBar');
35
35
  class CompletionItem {
@@ -481,7 +481,7 @@ let SuggestController = class SuggestController {
481
481
  }
482
482
  _alertCompletionItem(item) {
483
483
  if (isNonEmptyArray(item.completion.additionalTextEdits)) {
484
- const msg = localize(1452, "Accepting '{0}' made {1} additional edits", item.textLabel, item.completion.additionalTextEdits.length);
484
+ const msg = localize(1456, "Accepting '{0}' made {1} additional edits", item.textLabel, item.completion.additionalTextEdits.length);
485
485
  alert(msg);
486
486
  }
487
487
  }
@@ -667,7 +667,7 @@ class TriggerSuggestAction extends EditorAction {
667
667
  constructor() {
668
668
  super({
669
669
  id: TriggerSuggestAction.id,
670
- label: localize2(1460, "Trigger Suggest"),
670
+ label: localize2(1464, "Trigger Suggest"),
671
671
  precondition: ContextKeyExpr.and(EditorContextKeys.writable, EditorContextKeys.hasCompletionItemProvider, Context.Visible.toNegated()),
672
672
  kbOpts: {
673
673
  kbExpr: EditorContextKeys.textInputFocus,
@@ -715,19 +715,19 @@ registerEditorCommand(new SuggestCommand({
715
715
  }],
716
716
  menuOpts: [{
717
717
  menuId: suggestWidgetStatusbarMenu,
718
- title: localize(1453, "Insert"),
718
+ title: localize(1457, "Insert"),
719
719
  group: 'left',
720
720
  order: 1,
721
721
  when: Context.HasInsertAndReplaceRange.toNegated()
722
722
  }, {
723
723
  menuId: suggestWidgetStatusbarMenu,
724
- title: localize(1454, "Insert"),
724
+ title: localize(1458, "Insert"),
725
725
  group: 'left',
726
726
  order: 1,
727
727
  when: ContextKeyExpr.and(Context.HasInsertAndReplaceRange, Context.InsertMode.isEqualTo('insert'))
728
728
  }, {
729
729
  menuId: suggestWidgetStatusbarMenu,
730
- title: localize(1455, "Replace"),
730
+ title: localize(1459, "Replace"),
731
731
  group: 'left',
732
732
  order: 1,
733
733
  when: ContextKeyExpr.and(Context.HasInsertAndReplaceRange, Context.InsertMode.isEqualTo('replace'))
@@ -750,13 +750,13 @@ registerEditorCommand(new SuggestCommand({
750
750
  group: 'left',
751
751
  order: 2,
752
752
  when: ContextKeyExpr.and(Context.HasInsertAndReplaceRange, Context.InsertMode.isEqualTo('insert')),
753
- title: localize(1456, "Replace")
753
+ title: localize(1460, "Replace")
754
754
  }, {
755
755
  menuId: suggestWidgetStatusbarMenu,
756
756
  group: 'left',
757
757
  order: 2,
758
758
  when: ContextKeyExpr.and(Context.HasInsertAndReplaceRange, Context.InsertMode.isEqualTo('replace')),
759
- title: localize(1457, "Insert")
759
+ title: localize(1461, "Insert")
760
760
  }]
761
761
  }));
762
762
  // continue to support the old command
@@ -864,13 +864,13 @@ registerEditorCommand(new SuggestCommand({
864
864
  group: 'right',
865
865
  order: 1,
866
866
  when: ContextKeyExpr.and(Context.DetailsVisible, Context.CanResolve),
867
- title: localize(1458, "Show Less")
867
+ title: localize(1462, "Show Less")
868
868
  }, {
869
869
  menuId: suggestWidgetStatusbarMenu,
870
870
  group: 'right',
871
871
  order: 1,
872
872
  when: ContextKeyExpr.and(Context.DetailsVisible.toNegated(), Context.CanResolve),
873
- title: localize(1459, "Show More")
873
+ title: localize(1463, "Show More")
874
874
  }]
875
875
  }));
876
876
  registerEditorCommand(new SuggestCommand({
@@ -929,7 +929,7 @@ registerEditorAction(class extends EditorAction {
929
929
  constructor() {
930
930
  super({
931
931
  id: 'editor.action.resetSuggestSize',
932
- label: localize2(1461, "Reset Suggest Widget Size"),
932
+ label: localize2(1465, "Reset Suggest Widget Size"),
933
933
  precondition: undefined
934
934
  });
935
935
  }