@codingame/monaco-vscode-api 7.0.11 → 7.1.1

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 (683) hide show
  1. package/api.js +60 -10
  2. package/extensions.d.ts +9 -0
  3. package/l10n.d.ts +13 -1
  4. package/l10n.js +3 -2
  5. package/missing-services.js +35 -21
  6. package/package.json +9 -9
  7. package/service-override/workingCopy.d.ts +4 -1
  8. package/services.js +2 -2
  9. package/vscode/src/vs/base/browser/browser.js +4 -1
  10. package/vscode/src/vs/base/browser/defaultWorkerFactory.js +7 -1
  11. package/vscode/src/vs/base/browser/dom.js +8 -1
  12. package/vscode/src/vs/base/browser/markdownRenderer.js +1 -1
  13. package/vscode/src/vs/base/browser/ui/actionbar/actionViewItems.d.ts +1 -0
  14. package/vscode/src/vs/base/browser/ui/actionbar/actionViewItems.js +13 -6
  15. package/vscode/src/vs/base/browser/ui/actionbar/actionbar.js +1 -1
  16. package/vscode/src/vs/base/browser/ui/button/button.js +2 -3
  17. package/vscode/src/vs/base/browser/ui/dialog/dialog.js +7 -8
  18. package/vscode/src/vs/base/browser/ui/dropdown/dropdownActionViewItem.js +2 -3
  19. package/vscode/src/vs/base/browser/ui/findinput/findInput.js +2 -3
  20. package/vscode/src/vs/base/browser/ui/findinput/findInputToggles.js +4 -5
  21. package/vscode/src/vs/base/browser/ui/findinput/replaceInput.js +3 -4
  22. package/vscode/src/vs/base/browser/ui/hover/hoverWidget.css.js +1 -1
  23. package/vscode/src/vs/base/browser/ui/hover/hoverWidget.js +3 -5
  24. package/vscode/src/vs/base/browser/ui/icons/iconSelectBox.js +3 -4
  25. package/vscode/src/vs/base/browser/ui/inputbox/inputBox.js +7 -8
  26. package/vscode/src/vs/base/browser/ui/keybindingLabel/keybindingLabel.js +2 -3
  27. package/vscode/src/vs/base/browser/ui/list/listView.js +2 -2
  28. package/vscode/src/vs/base/browser/ui/menu/menubar.js +2 -3
  29. package/vscode/src/vs/base/browser/ui/selectBox/selectBoxCustom.js +4 -5
  30. package/vscode/src/vs/base/browser/ui/splitview/paneview.js +2 -3
  31. package/vscode/src/vs/base/browser/ui/table/tableWidget.js +1 -1
  32. package/vscode/src/vs/base/browser/ui/toggle/toggle.css.js +1 -1
  33. package/vscode/src/vs/base/browser/ui/toolbar/toolbar.js +2 -3
  34. package/vscode/src/vs/base/browser/ui/tree/abstractTree.js +11 -12
  35. package/vscode/src/vs/base/browser/ui/tree/treeDefaults.js +2 -3
  36. package/vscode/src/vs/base/common/actions.js +2 -3
  37. package/vscode/src/vs/base/common/arrays.js +7 -1
  38. package/vscode/src/vs/base/common/date.js +61 -63
  39. package/vscode/src/vs/base/common/errorMessage.js +8 -22
  40. package/vscode/src/vs/base/common/event.d.ts +16 -0
  41. package/vscode/src/vs/base/common/event.js +4 -0
  42. package/vscode/src/vs/base/common/hotReload.js +13 -1
  43. package/vscode/src/vs/base/common/hotReloadHelpers.js +25 -0
  44. package/vscode/src/vs/base/common/jsonErrorMessages.js +10 -11
  45. package/vscode/src/vs/base/common/jsonSchema.js +122 -0
  46. package/vscode/src/vs/base/common/keybindingLabels.js +21 -22
  47. package/vscode/src/vs/base/common/labels.js +2 -2
  48. package/vscode/src/vs/base/common/network.js +1 -1
  49. package/vscode/src/vs/base/common/observableInternal/base.d.ts +1 -0
  50. package/vscode/src/vs/base/common/observableInternal/base.js +6 -0
  51. package/vscode/src/vs/base/common/observableInternal/utils.js +4 -1
  52. package/vscode/src/vs/base/common/path.d.ts +1 -1
  53. package/vscode/src/vs/base/common/path.js +20 -17
  54. package/vscode/src/vs/base/common/performance.js +78 -15
  55. package/vscode/src/vs/base/common/platform.js +14 -17
  56. package/vscode/src/vs/base/common/prefixTree.d.ts +2 -0
  57. package/vscode/src/vs/base/common/prefixTree.js +3 -0
  58. package/vscode/src/vs/base/common/product.d.ts +3 -7
  59. package/vscode/src/vs/base/common/uri.js +3 -0
  60. package/vscode/src/vs/base/parts/ipc/common/ipc.net.js +6 -3
  61. package/vscode/src/vs/editor/browser/controller/mouseHandler.js +66 -18
  62. package/vscode/src/vs/editor/browser/controller/mouseTarget.js +18 -5
  63. package/vscode/src/vs/editor/browser/controller/pointerHandler.js +3 -3
  64. package/vscode/src/vs/editor/browser/controller/textAreaHandler.js +9 -13
  65. package/vscode/src/vs/editor/browser/coreCommands.js +4 -5
  66. package/vscode/src/vs/editor/browser/editorExtensions.js +7 -8
  67. package/vscode/src/vs/editor/browser/observableCodeEditor.js +2 -0
  68. package/vscode/src/vs/editor/browser/services/hoverService/hoverWidget.js +2 -3
  69. package/vscode/src/vs/editor/browser/services/hoverService/updatableHoverWidget.js +2 -3
  70. package/vscode/src/vs/editor/browser/view.js +3 -1
  71. package/vscode/src/vs/editor/browser/viewParts/overviewRuler/decorationsOverviewRuler.js +1 -2
  72. package/vscode/src/vs/editor/browser/widget/codeEditor/codeEditorWidget.js +4 -6
  73. package/vscode/src/vs/editor/browser/widget/codeEditor/editor.css.js +1 -1
  74. package/vscode/src/vs/editor/browser/widget/diffEditor/commands.js +13 -14
  75. package/vscode/src/vs/editor/browser/widget/diffEditor/components/accessibleDiffViewer.js +17 -38
  76. package/vscode/src/vs/editor/browser/widget/diffEditor/components/diffEditorDecorations.js +20 -2
  77. package/vscode/src/vs/editor/browser/widget/diffEditor/components/diffEditorEditors.js +6 -6
  78. package/vscode/src/vs/editor/browser/widget/diffEditor/components/diffEditorViewZones/diffEditorViewZones.js +11 -2
  79. package/vscode/src/vs/editor/browser/widget/diffEditor/components/diffEditorViewZones/inlineDiffDeletedCodeMargin.js +10 -13
  80. package/vscode/src/vs/editor/browser/widget/diffEditor/diffEditor.contribution.js +6 -7
  81. package/vscode/src/vs/editor/browser/widget/diffEditor/diffEditorOptions.js +37 -3
  82. package/vscode/src/vs/editor/browser/widget/diffEditor/diffEditorViewModel.js +4 -2
  83. package/vscode/src/vs/editor/browser/widget/diffEditor/diffEditorWidget.js +33 -23
  84. package/vscode/src/vs/editor/browser/widget/diffEditor/features/hideUnchangedRegionsFeature.js +91 -41
  85. package/vscode/src/vs/editor/browser/widget/diffEditor/features/movedBlocksLinesFeature.js +9 -14
  86. package/vscode/src/vs/editor/browser/widget/diffEditor/features/overviewRulerFeature.js +1 -1
  87. package/vscode/src/vs/editor/browser/widget/diffEditor/features/revertButtonsFeature.js +3 -4
  88. package/vscode/src/vs/editor/browser/widget/diffEditor/registrations.contribution.js +7 -13
  89. package/vscode/src/vs/editor/browser/widget/diffEditor/style.css.js +1 -1
  90. package/vscode/src/vs/editor/browser/widget/diffEditor/utils.js +80 -21
  91. package/vscode/src/vs/editor/browser/widget/multiDiffEditor/colors.js +4 -5
  92. package/vscode/src/vs/editor/browser/widget/multiDiffEditor/diffEditorItemTemplate.js +24 -18
  93. package/vscode/src/vs/editor/browser/widget/multiDiffEditor/multiDiffEditorViewModel.js +26 -13
  94. package/vscode/src/vs/editor/browser/widget/multiDiffEditor/multiDiffEditorWidget.js +4 -1
  95. package/vscode/src/vs/editor/browser/widget/multiDiffEditor/multiDiffEditorWidgetImpl.js +8 -4
  96. package/vscode/src/vs/editor/common/config/diffEditor.js +2 -0
  97. package/vscode/src/vs/editor/common/config/editorConfigurationSchema.js +86 -115
  98. package/vscode/src/vs/editor/common/config/editorOptions.d.ts +11 -1
  99. package/vscode/src/vs/editor/common/config/editorOptions.js +547 -932
  100. package/vscode/src/vs/editor/common/core/editorColorRegistry.js +102 -144
  101. package/vscode/src/vs/editor/common/core/lineRange.js +1 -1
  102. package/vscode/src/vs/editor/common/diff/defaultLinesDiffComputer/algorithms/diffAlgorithm.js +11 -0
  103. package/vscode/src/vs/editor/common/diff/defaultLinesDiffComputer/computeMovedLines.js +2 -2
  104. package/vscode/src/vs/editor/common/diff/defaultLinesDiffComputer/defaultLinesDiffComputer.js +8 -3
  105. package/vscode/src/vs/editor/common/diff/defaultLinesDiffComputer/linesSliceCharSequence.js +34 -34
  106. package/vscode/src/vs/editor/common/diff/rangeMapping.d.ts +7 -0
  107. package/vscode/src/vs/editor/common/diff/rangeMapping.js +40 -0
  108. package/vscode/src/vs/editor/common/editorContextKeys.js +52 -69
  109. package/vscode/src/vs/editor/common/languageFeatureRegistry.d.ts +1 -1
  110. package/vscode/src/vs/editor/common/languageFeatureRegistry.js +27 -14
  111. package/vscode/src/vs/editor/common/languages/modesRegistry.js +2 -3
  112. package/vscode/src/vs/editor/common/languages.d.ts +4 -0
  113. package/vscode/src/vs/editor/common/languages.js +28 -29
  114. package/vscode/src/vs/editor/common/model/editStack.js +2 -3
  115. package/vscode/src/vs/editor/common/model/guidesTextModelPart.js +1 -1
  116. package/vscode/src/vs/editor/common/standaloneStrings.js +57 -54
  117. package/vscode/src/vs/editor/common/viewLayout/viewLineRenderer.js +3 -9
  118. package/vscode/src/vs/editor/common/viewModel/modelLineProjection.js +1 -1
  119. package/vscode/src/vs/editor/contrib/anchorSelect/browser/anchorSelect.js +7 -14
  120. package/vscode/src/vs/editor/contrib/bracketMatching/browser/bracketMatching.js +7 -12
  121. package/vscode/src/vs/editor/contrib/caretOperations/browser/caretOperations.js +3 -4
  122. package/vscode/src/vs/editor/contrib/caretOperations/browser/transpose.js +2 -3
  123. package/vscode/src/vs/editor/contrib/clipboard/browser/clipboard.js +18 -19
  124. package/vscode/src/vs/editor/contrib/codeAction/browser/codeAction.js +2 -3
  125. package/vscode/src/vs/editor/contrib/codeAction/browser/codeActionCommands.js +29 -53
  126. package/vscode/src/vs/editor/contrib/codeAction/browser/codeActionContributions.js +22 -10
  127. package/vscode/src/vs/editor/contrib/codeAction/browser/codeActionController.js +8 -9
  128. package/vscode/src/vs/editor/contrib/codeAction/browser/codeActionMenu.js +9 -10
  129. package/vscode/src/vs/editor/contrib/codeAction/browser/lightBulbWidget.css.js +1 -1
  130. package/vscode/src/vs/editor/contrib/codeAction/browser/lightBulbWidget.js +183 -9
  131. package/vscode/src/vs/editor/contrib/codelens/browser/codeLensCache.js +4 -5
  132. package/vscode/src/vs/editor/contrib/codelens/browser/codelensController.js +3 -4
  133. package/vscode/src/vs/editor/contrib/colorPicker/browser/colorHoverParticipant.js +2 -3
  134. package/vscode/src/vs/editor/contrib/colorPicker/browser/colorPickerWidget.js +3 -4
  135. package/vscode/src/vs/editor/contrib/colorPicker/browser/standaloneColorPickerActions.js +10 -13
  136. package/vscode/src/vs/editor/contrib/comment/browser/comment.js +7 -8
  137. package/vscode/src/vs/editor/contrib/contextmenu/browser/contextmenu.js +12 -15
  138. package/vscode/src/vs/editor/contrib/cursorUndo/browser/cursorUndo.js +3 -4
  139. package/vscode/src/vs/editor/contrib/dropOrPasteInto/browser/copyPasteContribution.js +5 -7
  140. package/vscode/src/vs/editor/contrib/dropOrPasteInto/browser/copyPasteController.js +9 -11
  141. package/vscode/src/vs/editor/contrib/dropOrPasteInto/browser/defaultProviders.js +9 -10
  142. package/vscode/src/vs/editor/contrib/dropOrPasteInto/browser/dropIntoEditorContribution.js +3 -5
  143. package/vscode/src/vs/editor/contrib/dropOrPasteInto/browser/dropIntoEditorController.js +4 -5
  144. package/vscode/src/vs/editor/contrib/dropOrPasteInto/browser/postEditWidget.js +3 -16
  145. package/vscode/src/vs/editor/contrib/editorState/browser/keybindingCancellation.js +3 -5
  146. package/vscode/src/vs/editor/contrib/find/browser/findController.js +20 -24
  147. package/vscode/src/vs/editor/contrib/find/browser/findModel.js +6 -1
  148. package/vscode/src/vs/editor/contrib/find/browser/findWidget.js +31 -35
  149. package/vscode/src/vs/editor/contrib/folding/browser/folding.js +20 -21
  150. package/vscode/src/vs/editor/contrib/folding/browser/foldingDecorations.js +11 -25
  151. package/vscode/src/vs/editor/contrib/fontZoom/browser/fontZoom.js +4 -5
  152. package/vscode/src/vs/editor/contrib/format/browser/formatActions.js +3 -4
  153. package/vscode/src/vs/editor/contrib/gotoError/browser/gotoError.js +9 -10
  154. package/vscode/src/vs/editor/contrib/gotoError/browser/gotoErrorWidget.js +18 -25
  155. package/vscode/src/vs/editor/contrib/gotoSymbol/browser/goToCommands.js +46 -47
  156. package/vscode/src/vs/editor/contrib/gotoSymbol/browser/goToSymbol.js +42 -17
  157. package/vscode/src/vs/editor/contrib/gotoSymbol/browser/link/goToDefinitionAtPosition.js +3 -4
  158. package/vscode/src/vs/editor/contrib/gotoSymbol/browser/peek/referencesController.js +5 -13
  159. package/vscode/src/vs/editor/contrib/gotoSymbol/browser/peek/referencesTree.js +4 -5
  160. package/vscode/src/vs/editor/contrib/gotoSymbol/browser/peek/referencesWidget.js +4 -5
  161. package/vscode/src/vs/editor/contrib/gotoSymbol/browser/referencesModel.js +15 -22
  162. package/vscode/src/vs/editor/contrib/gotoSymbol/browser/symbolNavigation.js +7 -11
  163. package/vscode/src/vs/editor/contrib/hover/browser/contentHoverRendered.js +5 -7
  164. package/vscode/src/vs/editor/contrib/hover/browser/getHover.js +8 -4
  165. package/vscode/src/vs/editor/contrib/hover/browser/hoverAccessibleViews.js +24 -38
  166. package/vscode/src/vs/editor/contrib/hover/browser/hoverActionIds.js +3 -4
  167. package/vscode/src/vs/editor/contrib/hover/browser/hoverActions.js +25 -27
  168. package/vscode/src/vs/editor/contrib/hover/browser/markdownHoverParticipant.js +12 -15
  169. package/vscode/src/vs/editor/contrib/hover/browser/markerHoverParticipant.js +6 -7
  170. package/vscode/src/vs/editor/contrib/inPlaceReplace/browser/inPlaceReplace.js +3 -4
  171. package/vscode/src/vs/editor/contrib/indentation/browser/indentation.js +21 -22
  172. package/vscode/src/vs/editor/contrib/inlayHints/browser/inlayHintsHover.js +9 -10
  173. package/vscode/src/vs/editor/contrib/inlineCompletions/browser/commands.js +12 -13
  174. package/vscode/src/vs/editor/contrib/inlineCompletions/browser/ghostTextWidget.js +2 -2
  175. package/vscode/src/vs/editor/contrib/inlineCompletions/browser/hoverParticipant.js +3 -4
  176. package/vscode/src/vs/editor/contrib/inlineCompletions/browser/inlineCompletionContextKeys.js +7 -10
  177. package/vscode/src/vs/editor/contrib/inlineCompletions/browser/inlineCompletionsAccessibleView.js +51 -42
  178. package/vscode/src/vs/editor/contrib/inlineCompletions/browser/inlineCompletionsController.js +3 -5
  179. package/vscode/src/vs/editor/contrib/inlineCompletions/browser/inlineCompletionsHintsWidget.js +6 -7
  180. package/vscode/src/vs/editor/contrib/inlineEdit/browser/ghostTextWidget.js +12 -16
  181. package/vscode/src/vs/editor/contrib/inlineEdit/browser/inlineEdit.contribution.js +0 -3
  182. package/vscode/src/vs/editor/contrib/inlineEdit/browser/inlineEdit.css.js +1 -1
  183. package/vscode/src/vs/editor/contrib/inlineEdit/browser/inlineEditController.js +58 -39
  184. package/vscode/src/vs/editor/contrib/inlineEdit/browser/inlineEditHintsWidget.js +1 -1
  185. package/vscode/src/vs/editor/contrib/inlineEdit/browser/inlineEditSideBySideWidget.css.js +4 -0
  186. package/vscode/src/vs/editor/contrib/inlineEdit/browser/inlineEditSideBySideWidget.js +301 -0
  187. package/vscode/src/vs/editor/contrib/inlineEdits/browser/commands.js +7 -8
  188. package/vscode/src/vs/editor/contrib/inlineEdits/browser/consts.js +3 -4
  189. package/vscode/src/vs/editor/contrib/inlineEdits/browser/inlineEditsController.js +1 -1
  190. package/vscode/src/vs/editor/contrib/inlineEdits/browser/inlineEditsWidget.js +1 -1
  191. package/vscode/src/vs/editor/contrib/lineSelection/browser/lineSelection.js +2 -3
  192. package/vscode/src/vs/editor/contrib/linesOperations/browser/linesOperations.js +31 -32
  193. package/vscode/src/vs/editor/contrib/linkedEditing/browser/linkedEditing.js +3 -4
  194. package/vscode/src/vs/editor/contrib/links/browser/links.js +12 -14
  195. package/vscode/src/vs/editor/contrib/message/browser/messageController.js +2 -3
  196. package/vscode/src/vs/editor/contrib/multicursor/browser/multicursor.js +23 -24
  197. package/vscode/src/vs/editor/contrib/parameterHints/browser/parameterHints.css.js +1 -1
  198. package/vscode/src/vs/editor/contrib/parameterHints/browser/parameterHints.js +2 -3
  199. package/vscode/src/vs/editor/contrib/parameterHints/browser/parameterHintsWidget.js +11 -12
  200. package/vscode/src/vs/editor/contrib/peekView/browser/peekView.js +20 -35
  201. package/vscode/src/vs/editor/contrib/placeholderText/browser/placeholderText.contribution.js +5 -56
  202. package/vscode/src/vs/editor/contrib/placeholderText/browser/placeholderText.css.js +1 -1
  203. package/vscode/src/vs/editor/contrib/placeholderText/browser/placeholderTextContribution.js +71 -0
  204. package/vscode/src/vs/editor/contrib/quickAccess/browser/gotoLineQuickAccess.js +8 -11
  205. package/vscode/src/vs/editor/contrib/quickAccess/browser/gotoSymbolQuickAccess.js +35 -41
  206. package/vscode/src/vs/editor/contrib/readOnlyMessage/browser/contribution.js +3 -4
  207. package/vscode/src/vs/editor/contrib/rename/browser/rename.js +13 -25
  208. package/vscode/src/vs/editor/contrib/rename/browser/renameWidget.js +9 -11
  209. package/vscode/src/vs/editor/contrib/smartSelect/browser/smartSelect.js +5 -6
  210. package/vscode/src/vs/editor/contrib/snippet/browser/snippetController2.js +5 -6
  211. package/vscode/src/vs/editor/contrib/snippet/browser/snippetVariables.js +5 -6
  212. package/vscode/src/vs/editor/contrib/stickyScroll/browser/stickyScrollActions.js +13 -15
  213. package/vscode/src/vs/editor/contrib/stickyScroll/browser/stickyScrollController.js +1 -1
  214. package/vscode/src/vs/editor/contrib/suggest/browser/suggest.js +10 -20
  215. package/vscode/src/vs/editor/contrib/suggest/browser/suggestController.js +12 -14
  216. package/vscode/src/vs/editor/contrib/suggest/browser/suggestWidget.js +19 -32
  217. package/vscode/src/vs/editor/contrib/suggest/browser/suggestWidgetDetails.js +3 -4
  218. package/vscode/src/vs/editor/contrib/suggest/browser/suggestWidgetRenderer.js +3 -4
  219. package/vscode/src/vs/editor/contrib/symbolIcons/browser/symbolIcons.js +67 -101
  220. package/vscode/src/vs/editor/contrib/toggleTabFocusMode/browser/toggleTabFocusMode.js +6 -12
  221. package/vscode/src/vs/editor/contrib/tokenization/browser/tokenization.js +2 -3
  222. package/vscode/src/vs/editor/contrib/unicodeHighlighter/browser/unicodeHighlighter.js +30 -49
  223. package/vscode/src/vs/editor/contrib/unusualLineTerminators/browser/unusualLineTerminators.js +7 -9
  224. package/vscode/src/vs/editor/contrib/wordHighlighter/browser/highlightDecorations.js +18 -27
  225. package/vscode/src/vs/editor/contrib/wordHighlighter/browser/wordHighlighter.js +5 -6
  226. package/vscode/src/vs/editor/contrib/wordOperations/browser/wordOperations.js +2 -3
  227. package/vscode/src/vs/nls.js +27 -21
  228. package/vscode/src/vs/platform/accessibility/browser/accessibleView.js +15 -9
  229. package/vscode/src/vs/platform/accessibility/browser/accessibleViewRegistry.js +1 -16
  230. package/vscode/src/vs/platform/accessibilitySignal/browser/accessibilitySignalService.d.ts +0 -1
  231. package/vscode/src/vs/platform/accessibilitySignal/browser/accessibilitySignalService.js +53 -56
  232. package/vscode/src/vs/platform/action/common/actionCommonCategories.js +7 -8
  233. package/vscode/src/vs/platform/actionWidget/browser/actionList.js +5 -6
  234. package/vscode/src/vs/platform/actionWidget/browser/actionWidget.js +8 -9
  235. package/vscode/src/vs/platform/actions/browser/buttonbar.js +4 -5
  236. package/vscode/src/vs/platform/actions/browser/menuEntryActionViewItem.js +43 -13
  237. package/vscode/src/vs/platform/actions/browser/toolbar.js +5 -6
  238. package/vscode/src/vs/platform/actions/common/actions.d.ts +4 -0
  239. package/vscode/src/vs/platform/actions/common/actions.js +4 -0
  240. package/vscode/src/vs/platform/actions/common/actions.service.d.ts +14 -1
  241. package/vscode/src/vs/platform/actions/common/menuResetAction.js +2 -3
  242. package/vscode/src/vs/platform/actions/common/menuService.js +52 -21
  243. package/vscode/src/vs/platform/configuration/common/configurationModels.js +11 -3
  244. package/vscode/src/vs/platform/configuration/common/configurationRegistry.d.ts +14 -8
  245. package/vscode/src/vs/platform/configuration/common/configurationRegistry.js +180 -146
  246. package/vscode/src/vs/platform/configuration/common/configurations.js +2 -2
  247. package/vscode/src/vs/platform/contextkey/browser/contextKeyService.js +2 -3
  248. package/vscode/src/vs/platform/contextkey/common/contextkey.js +13 -21
  249. package/vscode/src/vs/platform/contextkey/common/contextkeys.js +10 -15
  250. package/vscode/src/vs/platform/contextkey/common/scanner.js +7 -16
  251. package/vscode/src/vs/platform/contextview/browser/contextMenuService.js +2 -3
  252. package/vscode/src/vs/platform/dialogs/common/dialogs.js +11 -13
  253. package/vscode/src/vs/platform/dnd/browser/dnd.js +3 -5
  254. package/vscode/src/vs/platform/extensionManagement/common/extensionManagement.d.ts +7 -1
  255. package/vscode/src/vs/platform/extensionManagement/common/extensionManagement.js +3 -5
  256. package/vscode/src/vs/platform/extensionManagement/common/extensionManagement.service.d.ts +3 -2
  257. package/vscode/src/vs/platform/extensionManagement/common/extensionNls.js +2 -3
  258. package/vscode/src/vs/platform/extensionManagement/common/extensionStorage.js +1 -1
  259. package/vscode/src/vs/platform/extensionManagement/common/extensionsScannerService.js +25 -33
  260. package/vscode/src/vs/platform/extensions/common/extensionValidator.js +33 -67
  261. package/vscode/src/vs/platform/extensions/common/extensions.d.ts +3 -18
  262. package/vscode/src/vs/platform/extensions/common/extensionsApiProposals.js +31 -0
  263. package/vscode/src/vs/platform/files/browser/htmlFileSystemProvider.js +3 -8
  264. package/vscode/src/vs/platform/files/common/files.js +7 -8
  265. package/vscode/src/vs/platform/history/browser/contextScopedHistoryWidget.js +2 -3
  266. package/vscode/src/vs/platform/instantiation/common/instantiationService.js +5 -0
  267. package/vscode/src/vs/platform/jsonschemas/common/jsonContributionRegistry.d.ts +10 -0
  268. package/vscode/src/vs/platform/jsonschemas/common/jsonContributionRegistry.js +8 -0
  269. package/vscode/src/vs/platform/keybinding/common/abstractKeybindingService.js +9 -14
  270. package/vscode/src/vs/platform/languagePacks/common/languagePacks.js +2 -3
  271. package/vscode/src/vs/platform/languagePacks/common/localizedStrings.js +4 -5
  272. package/vscode/src/vs/platform/list/browser/listService.js +43 -71
  273. package/vscode/src/vs/platform/log/common/log.js +7 -8
  274. package/vscode/src/vs/platform/markers/common/markers.js +4 -5
  275. package/vscode/src/vs/platform/observable/common/wrapInReloadableClass.js +51 -0
  276. package/vscode/src/vs/platform/quickinput/browser/media/quickInput.css.js +1 -1
  277. package/vscode/src/vs/platform/quickinput/browser/quickInput.js +39 -32
  278. package/vscode/src/vs/platform/quickinput/browser/quickInputActions.js +7 -11
  279. package/vscode/src/vs/platform/quickinput/browser/quickInputController.js +14 -11
  280. package/vscode/src/vs/platform/quickinput/browser/quickInputTree.js +99 -142
  281. package/vscode/src/vs/platform/quickinput/browser/quickInputUtils.js +3 -5
  282. package/vscode/src/vs/platform/quickinput/browser/quickPickPin.js +3 -4
  283. package/vscode/src/vs/platform/quickinput/common/quickInput.d.ts +16 -1
  284. package/vscode/src/vs/platform/quickinput/common/quickInput.js +6 -1
  285. package/vscode/src/vs/platform/request/common/request.js +23 -36
  286. package/vscode/src/vs/platform/theme/browser/defaultStyles.js +11 -2
  287. package/vscode/src/vs/platform/theme/common/colorUtils.js +3 -4
  288. package/vscode/src/vs/platform/theme/common/colors/baseColors.js +27 -37
  289. package/vscode/src/vs/platform/theme/common/colors/chartsColors.js +10 -11
  290. package/vscode/src/vs/platform/theme/common/colors/editorColors.js +120 -207
  291. package/vscode/src/vs/platform/theme/common/colors/inputColors.js +53 -61
  292. package/vscode/src/vs/platform/theme/common/colors/listColors.js +51 -98
  293. package/vscode/src/vs/platform/theme/common/colors/menuColors.js +8 -9
  294. package/vscode/src/vs/platform/theme/common/colors/minimapColors.js +13 -15
  295. package/vscode/src/vs/platform/theme/common/colors/miscColors.js +12 -16
  296. package/vscode/src/vs/platform/theme/common/colors/quickpickColors.js +13 -17
  297. package/vscode/src/vs/platform/theme/common/colors/searchColors.js +4 -9
  298. package/vscode/src/vs/platform/theme/common/iconRegistry.js +7 -9
  299. package/vscode/src/vs/platform/theme/common/tokenClassificationRegistry.js +49 -56
  300. package/vscode/src/vs/platform/undoRedo/common/undoRedoService.js +35 -55
  301. package/vscode/src/vs/platform/userDataProfile/common/userDataProfile.js +2 -3
  302. package/vscode/src/vs/platform/userDataSync/common/abstractSynchronizer.js +5 -8
  303. package/vscode/src/vs/platform/userDataSync/common/userDataSync.js +38 -19
  304. package/vscode/src/vs/platform/userDataSync/common/userDataSyncMachines.js +3 -5
  305. package/vscode/src/vs/platform/workspace/common/workspace.js +2 -3
  306. package/vscode/src/vs/workbench/api/common/extHost.api.impl.js +88 -8
  307. package/vscode/src/vs/workbench/api/common/extHostApiCommands.js +60 -0
  308. package/vscode/src/vs/workbench/api/common/extHostChatAgents2.js +48 -18
  309. package/vscode/src/vs/workbench/api/common/extHostComments.js +26 -4
  310. package/vscode/src/vs/workbench/api/common/extHostDiagnostics.js +4 -6
  311. package/vscode/src/vs/workbench/api/common/extHostDocumentData.js +3 -0
  312. package/vscode/src/vs/workbench/api/common/extHostEmbedding.js +1 -0
  313. package/vscode/src/vs/workbench/api/common/extHostExtensionActivator.js +6 -5
  314. package/vscode/src/vs/workbench/api/common/extHostExtensionService.js +19 -17
  315. package/vscode/src/vs/workbench/api/common/extHostLanguageFeatures.js +45 -48
  316. package/vscode/src/vs/workbench/api/common/extHostLanguageModelTools.js +2 -1
  317. package/vscode/src/vs/workbench/api/common/extHostLanguageModels.js +2 -3
  318. package/vscode/src/vs/workbench/api/common/extHostLogService.js +2 -3
  319. package/vscode/src/vs/workbench/api/common/extHostNotebook.js +3 -9
  320. package/vscode/src/vs/workbench/api/common/extHostNotebookDocument.js +3 -0
  321. package/vscode/src/vs/workbench/api/common/extHostNotebookEditor.js +3 -0
  322. package/vscode/src/vs/workbench/api/common/extHostQuickOpen.js +12 -8
  323. package/vscode/src/vs/workbench/api/common/extHostSCM.js +5 -5
  324. package/vscode/src/vs/workbench/api/common/extHostStatusBar.js +4 -6
  325. package/vscode/src/vs/workbench/api/common/extHostTelemetry.js +3 -5
  326. package/vscode/src/vs/workbench/api/common/extHostTerminalService.js +2 -8
  327. package/vscode/src/vs/workbench/api/common/extHostTerminalShellIntegration.js +4 -4
  328. package/vscode/src/vs/workbench/api/common/extHostTesting.js +69 -6
  329. package/vscode/src/vs/workbench/api/common/extHostTextEditor.js +4 -1
  330. package/vscode/src/vs/workbench/api/common/extHostTreeViews.js +2 -3
  331. package/vscode/src/vs/workbench/api/common/extHostTunnelService.js +3 -4
  332. package/vscode/src/vs/workbench/api/common/extHostTypeConverters.js +41 -11
  333. package/vscode/src/vs/workbench/api/common/extHostTypes.js +78 -23
  334. package/vscode/src/vs/workbench/api/common/extHostWorkspace.js +10 -5
  335. package/vscode/src/vs/workbench/api/common/jsonValidationExtensionPoint.js +19 -30
  336. package/vscode/src/vs/workbench/browser/actions/developerActions.js +41 -59
  337. package/vscode/src/vs/workbench/browser/actions/layoutActions.js +161 -132
  338. package/vscode/src/vs/workbench/browser/actions/textInputActions.js +7 -8
  339. package/vscode/src/vs/workbench/browser/actions/windowActions.js +30 -43
  340. package/vscode/src/vs/workbench/browser/actions/workspaceActions.js +22 -23
  341. package/vscode/src/vs/workbench/browser/actions/workspaceCommands.js +5 -6
  342. package/vscode/src/vs/workbench/browser/actions.js +2 -3
  343. package/vscode/src/vs/workbench/browser/editor.js +3 -4
  344. package/vscode/src/vs/workbench/browser/labels.js +3 -4
  345. package/vscode/src/vs/workbench/browser/parts/auxiliarybar/auxiliaryBarActions.js +12 -17
  346. package/vscode/src/vs/workbench/browser/parts/compositeBarActions.js +16 -25
  347. package/vscode/src/vs/workbench/browser/parts/editor/binaryDiffEditor.js +2 -3
  348. package/vscode/src/vs/workbench/browser/parts/editor/binaryEditor.js +5 -7
  349. package/vscode/src/vs/workbench/browser/parts/editor/breadcrumbs.js +45 -53
  350. package/vscode/src/vs/workbench/browser/parts/editor/breadcrumbsControl.js +12 -13
  351. package/vscode/src/vs/workbench/browser/parts/editor/breadcrumbsPicker.js +2 -3
  352. package/vscode/src/vs/workbench/browser/parts/editor/diffEditorCommands.js +7 -8
  353. package/vscode/src/vs/workbench/browser/parts/editor/editorActions.js +153 -156
  354. package/vscode/src/vs/workbench/browser/parts/editor/editorCommands.js +206 -329
  355. package/vscode/src/vs/workbench/browser/parts/editor/editorCommandsContext.js +134 -0
  356. package/vscode/src/vs/workbench/browser/parts/editor/editorGroupView.js +17 -17
  357. package/vscode/src/vs/workbench/browser/parts/editor/editorGroupWatermark.js +14 -15
  358. package/vscode/src/vs/workbench/browser/parts/editor/editorPanes.js +3 -4
  359. package/vscode/src/vs/workbench/browser/parts/editor/editorPlaceholder.js +15 -23
  360. package/vscode/src/vs/workbench/browser/parts/editor/editorQuickAccess.js +8 -11
  361. package/vscode/src/vs/workbench/browser/parts/editor/editorStatus.js +63 -75
  362. package/vscode/src/vs/workbench/browser/parts/editor/editorTabsControl.js +3 -4
  363. package/vscode/src/vs/workbench/browser/parts/editor/multiEditorTabsControl.js +16 -17
  364. package/vscode/src/vs/workbench/browser/parts/editor/multiRowEditorTabsControl.js +1 -3
  365. package/vscode/src/vs/workbench/browser/parts/editor/sideBySideEditor.js +2 -3
  366. package/vscode/src/vs/workbench/browser/parts/editor/textCodeEditor.js +2 -3
  367. package/vscode/src/vs/workbench/browser/parts/editor/textDiffEditor.js +6 -9
  368. package/vscode/src/vs/workbench/browser/parts/editor/textEditor.js +2 -3
  369. package/vscode/src/vs/workbench/browser/parts/globalCompositeBar.js +17 -19
  370. package/vscode/src/vs/workbench/browser/parts/notifications/notificationsActions.js +18 -19
  371. package/vscode/src/vs/workbench/browser/parts/notifications/notificationsAlerts.js +7 -11
  372. package/vscode/src/vs/workbench/browser/parts/notifications/notificationsCenter.js +7 -8
  373. package/vscode/src/vs/workbench/browser/parts/notifications/notificationsCommands.js +10 -11
  374. package/vscode/src/vs/workbench/browser/parts/notifications/notificationsList.js +9 -24
  375. package/vscode/src/vs/workbench/browser/parts/notifications/notificationsStatus.js +16 -28
  376. package/vscode/src/vs/workbench/browser/parts/notifications/notificationsToasts.js +4 -11
  377. package/vscode/src/vs/workbench/browser/parts/notifications/notificationsViewer.js +6 -13
  378. package/vscode/src/vs/workbench/browser/parts/panel/media/panelpart.css.js +1 -1
  379. package/vscode/src/vs/workbench/browser/parts/panel/panelActions.js +48 -49
  380. package/vscode/src/vs/workbench/browser/parts/titlebar/menubarControl.js +20 -22
  381. package/vscode/src/vs/workbench/browser/parts/titlebar/windowTitle.js +3 -4
  382. package/vscode/src/vs/workbench/browser/parts/views/checkbox.js +2 -3
  383. package/vscode/src/vs/workbench/browser/parts/views/treeView.js +55 -49
  384. package/vscode/src/vs/workbench/browser/parts/views/viewFilter.js +2 -3
  385. package/vscode/src/vs/workbench/browser/parts/views/viewPane.d.ts +2 -2
  386. package/vscode/src/vs/workbench/browser/parts/views/viewPane.js +12 -11
  387. package/vscode/src/vs/workbench/browser/parts/views/viewPaneContainer.js +11 -11
  388. package/vscode/src/vs/workbench/browser/quickaccess.js +2 -3
  389. package/vscode/src/vs/workbench/browser/window.js +20 -28
  390. package/vscode/src/vs/workbench/browser/workbench.contribution.js +376 -584
  391. package/vscode/src/vs/workbench/common/configuration.js +15 -19
  392. package/vscode/src/vs/workbench/common/contextkeys.js +87 -100
  393. package/vscode/src/vs/workbench/common/editor/diffEditorInput.js +2 -3
  394. package/vscode/src/vs/workbench/common/editor/sideBySideEditorInput.js +2 -9
  395. package/vscode/src/vs/workbench/common/editor/textEditorModel.js +3 -5
  396. package/vscode/src/vs/workbench/common/editor.d.ts +5 -2
  397. package/vscode/src/vs/workbench/common/editor.js +5 -6
  398. package/vscode/src/vs/workbench/common/theme.js +281 -450
  399. package/vscode/src/vs/workbench/common/views.js +7 -11
  400. package/vscode/src/vs/workbench/contrib/accessibility/browser/accessibilityConfiguration.js +207 -284
  401. package/vscode/src/vs/workbench/contrib/accessibility/browser/accessibleViewActions.js +50 -16
  402. package/vscode/src/vs/workbench/contrib/accessibility/browser/editorAccessibilityHelp.js +5 -2
  403. package/vscode/src/vs/workbench/contrib/accessibility/common/accessibilityCommands.js +1 -0
  404. package/vscode/src/vs/workbench/contrib/chat/browser/actions/chatActions.js +29 -15
  405. package/vscode/src/vs/workbench/contrib/chat/browser/actions/chatClear.js +17 -0
  406. package/vscode/src/vs/workbench/contrib/chat/browser/actions/chatExecuteActions.js +5 -6
  407. package/vscode/src/vs/workbench/contrib/chat/browser/actions/chatQuickInputActions.js +10 -15
  408. package/vscode/src/vs/workbench/contrib/chat/browser/chat.js +2 -3
  409. package/vscode/src/vs/workbench/contrib/chat/browser/chatAccessibilityProvider.js +26 -27
  410. package/vscode/src/vs/workbench/contrib/chat/browser/chatAgentHover.js +3 -4
  411. package/vscode/src/vs/workbench/contrib/chat/browser/chatContentParts/chatAttachmentsContentPart.js +119 -0
  412. package/vscode/src/vs/workbench/contrib/chat/browser/chatContentParts/chatCodeCitationContentPart.js +48 -0
  413. package/vscode/src/vs/workbench/contrib/chat/browser/chatContentParts/chatCommandContentPart.js +2 -3
  414. package/vscode/src/vs/workbench/contrib/chat/browser/chatContentParts/chatConfirmationContentPart.js +11 -6
  415. package/vscode/src/vs/workbench/contrib/chat/browser/chatContentParts/chatReferencesContentPart.js +62 -33
  416. package/vscode/src/vs/workbench/contrib/chat/browser/chatContentParts/chatTaskContentPart.js +2 -2
  417. package/vscode/src/vs/workbench/contrib/chat/browser/chatContentParts/chatTextEditContentPart.js +5 -5
  418. package/vscode/src/vs/workbench/contrib/chat/browser/chatContentParts/chatTreeContentPart.js +2 -3
  419. package/vscode/src/vs/workbench/contrib/chat/browser/chatEditorInput.js +3 -4
  420. package/vscode/src/vs/workbench/contrib/chat/browser/chatFollowups.js +2 -3
  421. package/vscode/src/vs/workbench/contrib/chat/browser/chatInputPart.js +47 -26
  422. package/vscode/src/vs/workbench/contrib/chat/browser/chatListRenderer.js +64 -37
  423. package/vscode/src/vs/workbench/contrib/chat/browser/chatMarkdownRenderer.js +2 -0
  424. package/vscode/src/vs/workbench/contrib/chat/browser/chatWidget.js +36 -20
  425. package/vscode/src/vs/workbench/contrib/chat/browser/codeBlockPart.js +32 -29
  426. package/vscode/src/vs/workbench/contrib/chat/browser/contrib/chatDynamicVariables.js +8 -8
  427. package/vscode/src/vs/workbench/contrib/chat/browser/media/chat.css.js +1 -1
  428. package/vscode/src/vs/workbench/contrib/chat/common/chatAgents.js +0 -1
  429. package/vscode/src/vs/workbench/contrib/chat/common/chatColors.js +7 -8
  430. package/vscode/src/vs/workbench/contrib/chat/common/chatContextKeys.js +17 -28
  431. package/vscode/src/vs/workbench/contrib/chat/common/chatModel.js +59 -9
  432. package/vscode/src/vs/workbench/contrib/chat/common/chatRequestParser.js +10 -3
  433. package/vscode/src/vs/workbench/contrib/chat/common/chatService.js +9 -1
  434. package/vscode/src/vs/workbench/contrib/chat/common/chatViewModel.js +16 -6
  435. package/vscode/src/vs/workbench/contrib/chat/common/chatWordCounter.js +1 -1
  436. package/vscode/src/vs/workbench/contrib/chat/common/languageModels.js +8 -14
  437. package/vscode/src/vs/workbench/contrib/codeActions/browser/codeActions.contribution.js +3 -1
  438. package/vscode/src/vs/workbench/contrib/codeActions/browser/codeActionsContribution.js +80 -23
  439. package/vscode/src/vs/workbench/contrib/codeActions/common/codeActionsExtensionPoint.js +11 -12
  440. package/vscode/src/vs/workbench/contrib/codeActions/common/documentationExtensionPoint.js +7 -8
  441. package/vscode/src/vs/workbench/contrib/codeEditor/browser/dictation/editorDictation.js +5 -6
  442. package/vscode/src/vs/workbench/contrib/codeEditor/browser/diffEditorAccessibilityHelp.js +25 -30
  443. package/vscode/src/vs/workbench/contrib/codeEditor/browser/diffEditorHelper.js +5 -7
  444. package/vscode/src/vs/workbench/contrib/codeEditor/browser/find/simpleFindWidget.js +11 -12
  445. package/vscode/src/vs/workbench/contrib/codeEditor/browser/largeFileOptimizations.js +5 -11
  446. package/vscode/src/vs/workbench/contrib/codeEditor/browser/quickaccess/gotoSymbolQuickAccess.js +7 -8
  447. package/vscode/src/vs/workbench/contrib/codeEditor/browser/saveParticipants.js +45 -13
  448. package/vscode/src/vs/workbench/contrib/codeEditor/browser/toggleMinimap.js +3 -4
  449. package/vscode/src/vs/workbench/contrib/codeEditor/browser/toggleMultiCursorModifier.js +5 -6
  450. package/vscode/src/vs/workbench/contrib/codeEditor/browser/toggleRenderControlCharacter.js +3 -4
  451. package/vscode/src/vs/workbench/contrib/codeEditor/browser/toggleRenderWhitespace.js +3 -4
  452. package/vscode/src/vs/workbench/contrib/codeEditor/browser/toggleWordWrap.js +6 -7
  453. package/vscode/src/vs/workbench/contrib/comments/browser/commentColors.js +9 -11
  454. package/vscode/src/vs/workbench/contrib/comments/browser/commentGlyphWidget.js +10 -15
  455. package/vscode/src/vs/workbench/contrib/comments/browser/commentNode.js +5 -6
  456. package/vscode/src/vs/workbench/contrib/comments/browser/commentReply.js +14 -49
  457. package/vscode/src/vs/workbench/contrib/comments/browser/commentThreadBody.js +21 -18
  458. package/vscode/src/vs/workbench/contrib/comments/browser/commentThreadHeader.js +4 -5
  459. package/vscode/src/vs/workbench/contrib/comments/browser/commentThreadWidget.js +8 -13
  460. package/vscode/src/vs/workbench/contrib/comments/browser/commentThreadZoneWidget.js +43 -25
  461. package/vscode/src/vs/workbench/contrib/comments/browser/commentsAccessibility.js +27 -39
  462. package/vscode/src/vs/workbench/contrib/comments/browser/commentsController.js +10 -14
  463. package/vscode/src/vs/workbench/contrib/comments/browser/commentsModel.js +2 -3
  464. package/vscode/src/vs/workbench/contrib/comments/browser/commentsTreeViewer.js +15 -18
  465. package/vscode/src/vs/workbench/contrib/comments/browser/commentsView.js +25 -29
  466. package/vscode/src/vs/workbench/contrib/comments/browser/commentsViewActions.js +10 -11
  467. package/vscode/src/vs/workbench/contrib/comments/browser/reactionsAction.js +11 -15
  468. package/vscode/src/vs/workbench/contrib/comments/browser/simpleCommentEditor.js +1 -0
  469. package/vscode/src/vs/workbench/contrib/comments/common/commentContextKeys.js +11 -17
  470. package/vscode/src/vs/workbench/contrib/customEditor/browser/customEditorInput.js +6 -9
  471. package/vscode/src/vs/workbench/contrib/debug/browser/baseDebugView.js +2 -3
  472. package/vscode/src/vs/workbench/contrib/debug/browser/breakpointEditorContribution.js +33 -36
  473. package/vscode/src/vs/workbench/contrib/debug/browser/breakpointWidget.js +18 -22
  474. package/vscode/src/vs/workbench/contrib/debug/browser/breakpointsView.js +77 -97
  475. package/vscode/src/vs/workbench/contrib/debug/browser/callStackEditorContribution.js +15 -17
  476. package/vscode/src/vs/workbench/contrib/debug/browser/debugColors.js +13 -14
  477. package/vscode/src/vs/workbench/contrib/debug/browser/debugCommands.js +35 -40
  478. package/vscode/src/vs/workbench/contrib/debug/browser/debugIcons.js +58 -75
  479. package/vscode/src/vs/workbench/contrib/debug/browser/debugSessionPicker.js +4 -5
  480. package/vscode/src/vs/workbench/contrib/debug/common/abstractDebugAdapter.js +2 -3
  481. package/vscode/src/vs/workbench/contrib/debug/common/debug.d.ts +8 -1
  482. package/vscode/src/vs/workbench/contrib/debug/common/debug.js +90 -205
  483. package/vscode/src/vs/workbench/contrib/debug/common/debugModel.js +28 -11
  484. package/vscode/src/vs/workbench/contrib/debug/common/debugSource.js +2 -3
  485. package/vscode/src/vs/workbench/contrib/debug/common/debugUtils.js +1 -1
  486. package/vscode/src/vs/workbench/contrib/debug/common/disassemblyViewInput.js +3 -4
  487. package/vscode/src/vs/workbench/contrib/debug/common/loadedScriptsPicker.js +2 -3
  488. package/vscode/src/vs/workbench/contrib/debug/common/replModel.js +5 -6
  489. package/vscode/src/vs/workbench/contrib/extensions/browser/extensionsActions.js +342 -359
  490. package/vscode/src/vs/workbench/contrib/extensions/browser/extensionsIcons.js +35 -74
  491. package/vscode/src/vs/workbench/contrib/extensions/common/extensionsFileTemplate.js +8 -19
  492. package/vscode/src/vs/workbench/contrib/extensions/common/extensionsInput.js +3 -4
  493. package/vscode/src/vs/workbench/contrib/extensions/common/extensionsUtils.js +5 -7
  494. package/vscode/src/vs/workbench/contrib/externalUriOpener/common/configuration.js +7 -14
  495. package/vscode/src/vs/workbench/contrib/externalUriOpener/common/externalUriOpenerService.js +6 -8
  496. package/vscode/src/vs/workbench/contrib/files/browser/editors/binaryFileEditor.js +2 -3
  497. package/vscode/src/vs/workbench/contrib/files/browser/editors/textFileEditor.js +12 -20
  498. package/vscode/src/vs/workbench/contrib/files/browser/editors/textFileSaveErrorHandler.js +28 -38
  499. package/vscode/src/vs/workbench/contrib/files/browser/explorerViewlet.js +18 -22
  500. package/vscode/src/vs/workbench/contrib/files/browser/fileActions.js +108 -168
  501. package/vscode/src/vs/workbench/contrib/files/browser/fileCommands._save.js +55 -30
  502. package/vscode/src/vs/workbench/contrib/files/browser/fileConstants.js +9 -9
  503. package/vscode/src/vs/workbench/contrib/files/browser/fileImportExport.js +45 -59
  504. package/vscode/src/vs/workbench/contrib/files/browser/files.contribution._configuration.js +102 -151
  505. package/vscode/src/vs/workbench/contrib/files/browser/files.contribution._editorPane.js +3 -4
  506. package/vscode/src/vs/workbench/contrib/files/browser/files.js +21 -12
  507. package/vscode/src/vs/workbench/contrib/files/browser/views/emptyView.js +2 -3
  508. package/vscode/src/vs/workbench/contrib/files/browser/views/explorerDecorationsProvider.js +6 -8
  509. package/vscode/src/vs/workbench/contrib/files/browser/views/explorerView.js +9 -10
  510. package/vscode/src/vs/workbench/contrib/files/browser/views/explorerViewer.js +20 -29
  511. package/vscode/src/vs/workbench/contrib/files/browser/views/openEditorsView.js +54 -35
  512. package/vscode/src/vs/workbench/contrib/files/browser/workspaceWatcher.js +7 -10
  513. package/vscode/src/vs/workbench/contrib/files/common/dirtyFilesIndicator.js +2 -3
  514. package/vscode/src/vs/workbench/contrib/files/common/files.js +19 -40
  515. package/vscode/src/vs/workbench/contrib/folding/browser/folding.contribution.js +5 -7
  516. package/vscode/src/vs/workbench/contrib/format/browser/formatActionsMultiple.js +28 -36
  517. package/vscode/src/vs/workbench/contrib/format/browser/formatActionsNone.js +5 -6
  518. package/vscode/src/vs/workbench/contrib/format/browser/formatModified.js +2 -3
  519. package/vscode/src/vs/workbench/contrib/inlayHints/browser/inlayHintsAccessibilty.js +5 -10
  520. package/vscode/src/vs/workbench/contrib/inlineChat/browser/inlineChatActions.js +23 -25
  521. package/vscode/src/vs/workbench/contrib/inlineChat/browser/inlineChatContentWidget.js +20 -6
  522. package/vscode/src/vs/workbench/contrib/inlineChat/browser/inlineChatController.js +26 -88
  523. package/vscode/src/vs/workbench/contrib/inlineChat/browser/inlineChatSessionServiceImpl.js +2 -34
  524. package/vscode/src/vs/workbench/contrib/inlineChat/browser/inlineChatStrategies.js +7 -8
  525. package/vscode/src/vs/workbench/contrib/inlineChat/browser/inlineChatWidget.js +13 -33
  526. package/vscode/src/vs/workbench/contrib/inlineChat/browser/inlineChatZoneWidget.js +2 -3
  527. package/vscode/src/vs/workbench/contrib/inlineChat/browser/media/inlineChat.css.js +1 -1
  528. package/vscode/src/vs/workbench/contrib/inlineChat/common/inlineChat.js +51 -91
  529. package/vscode/src/vs/workbench/contrib/issue/common/issue.service.js +2 -1
  530. package/vscode/src/vs/workbench/contrib/mergeEditor/browser/mergeEditorInput.js +2 -3
  531. package/vscode/src/vs/workbench/contrib/mergeEditor/browser/mergeEditorInputModel.js +40 -56
  532. package/vscode/src/vs/workbench/contrib/mergeEditor/browser/model/mergeEditorModel.js +3 -4
  533. package/vscode/src/vs/workbench/contrib/mergeEditor/common/mergeEditor.js +9 -10
  534. package/vscode/src/vs/workbench/contrib/multiDiffEditor/browser/icons.contribution.js +2 -3
  535. package/vscode/src/vs/workbench/contrib/multiDiffEditor/browser/multiDiffEditorInput.js +43 -46
  536. package/vscode/src/vs/workbench/contrib/multiDiffEditor/browser/multiDiffSourceResolverService.js +6 -5
  537. package/vscode/src/vs/workbench/contrib/multiDiffEditor/browser/scmMultiDiffSourceResolver.js +3 -4
  538. package/vscode/src/vs/workbench/contrib/notebook/browser/contrib/cellStatusBar/executionStatusBarItemController.js +8 -14
  539. package/vscode/src/vs/workbench/contrib/notebook/browser/contrib/find/notebookFindReplaceWidget.js +18 -19
  540. package/vscode/src/vs/workbench/contrib/notebook/browser/contrib/find/notebookFindWidget.js +4 -5
  541. package/vscode/src/vs/workbench/contrib/notebook/browser/controller/cellOperations.js +3 -4
  542. package/vscode/src/vs/workbench/contrib/notebook/browser/controller/cellOutputActions.js +30 -5
  543. package/vscode/src/vs/workbench/contrib/notebook/browser/controller/chat/notebookChatContext.js +7 -13
  544. package/vscode/src/vs/workbench/contrib/notebook/browser/controller/chat/notebookChatController.js +16 -6
  545. package/vscode/src/vs/workbench/contrib/notebook/browser/controller/coreActions.js +9 -11
  546. package/vscode/src/vs/workbench/contrib/notebook/browser/controller/foldingController.js +4 -5
  547. package/vscode/src/vs/workbench/contrib/notebook/browser/notebookAccessibilityProvider.js +5 -7
  548. package/vscode/src/vs/workbench/contrib/notebook/browser/notebookEditor.js +13 -18
  549. package/vscode/src/vs/workbench/contrib/notebook/browser/notebookEditorWidget.js +29 -54
  550. package/vscode/src/vs/workbench/contrib/notebook/browser/notebookIcons.js +29 -30
  551. package/vscode/src/vs/workbench/contrib/notebook/browser/view/cellPart.js +1 -1
  552. package/vscode/src/vs/workbench/contrib/notebook/browser/view/cellParts/cellComments.js +11 -18
  553. package/vscode/src/vs/workbench/contrib/notebook/browser/view/cellParts/cellEditorOptions.js +5 -6
  554. package/vscode/src/vs/workbench/contrib/notebook/browser/view/cellParts/cellOutput.js +54 -24
  555. package/vscode/src/vs/workbench/contrib/notebook/browser/view/cellParts/codeCell.js +3 -9
  556. package/vscode/src/vs/workbench/contrib/notebook/browser/view/cellParts/codeCellExecutionIcon.js +5 -6
  557. package/vscode/src/vs/workbench/contrib/notebook/browser/view/cellParts/codeCellRunToolbar.js +2 -3
  558. package/vscode/src/vs/workbench/contrib/notebook/browser/view/cellParts/collapsedCellOutput.js +4 -10
  559. package/vscode/src/vs/workbench/contrib/notebook/browser/view/cellParts/foldedCellHint.js +3 -4
  560. package/vscode/src/vs/workbench/contrib/notebook/browser/view/cellParts/markupCell.js +3 -9
  561. package/vscode/src/vs/workbench/contrib/notebook/browser/view/renderers/backLayerWebView.js +5 -6
  562. package/vscode/src/vs/workbench/contrib/notebook/browser/view/renderers/cellRenderer.js +2 -3
  563. package/vscode/src/vs/workbench/contrib/notebook/browser/view/renderers/webviewPreloads.js +22 -13
  564. package/vscode/src/vs/workbench/contrib/notebook/browser/viewModel/baseCellViewModel.js +8 -0
  565. package/vscode/src/vs/workbench/contrib/notebook/browser/viewModel/cellOutputViewModel.js +17 -0
  566. package/vscode/src/vs/workbench/contrib/notebook/browser/viewModel/codeCellViewModel.js +13 -25
  567. package/vscode/src/vs/workbench/contrib/notebook/browser/viewModel/markupCellViewModel.js +51 -43
  568. package/vscode/src/vs/workbench/contrib/notebook/browser/viewParts/notebookEditorStickyScroll.js +2 -2
  569. package/vscode/src/vs/workbench/contrib/notebook/browser/viewParts/notebookKernelQuickPickStrategy.js +18 -26
  570. package/vscode/src/vs/workbench/contrib/notebook/browser/viewParts/notebookKernelView.js +3 -4
  571. package/vscode/src/vs/workbench/contrib/notebook/common/notebookContextKeys.js +3 -1
  572. package/vscode/src/vs/workbench/contrib/notebook/common/notebookEditorInput.js +2 -3
  573. package/vscode/src/vs/workbench/contrib/preferences/browser/keybindingWidgets.js +4 -10
  574. package/vscode/src/vs/workbench/contrib/preferences/browser/preferencesIcons.js +14 -24
  575. package/vscode/src/vs/workbench/contrib/preferences/browser/preferencesWidgets.js +12 -12
  576. package/vscode/src/vs/workbench/contrib/preferences/browser/settingsLayout.js +50 -51
  577. package/vscode/src/vs/workbench/contrib/preferences/browser/settingsTreeModels.js +3 -2
  578. package/vscode/src/vs/workbench/contrib/preferences/common/settingsEditorColorRegistry.js +24 -31
  579. package/vscode/src/vs/workbench/contrib/remote/browser/remoteExplorer.js +27 -39
  580. package/vscode/src/vs/workbench/contrib/remote/browser/remoteIcons.js +18 -23
  581. package/vscode/src/vs/workbench/contrib/remote/browser/tunnelView.js +68 -80
  582. package/vscode/src/vs/workbench/contrib/scm/browser/dirtyDiffSwitcher.js +3 -4
  583. package/vscode/src/vs/workbench/contrib/scm/browser/dirtydiffDecorator.js +26 -57
  584. package/vscode/src/vs/workbench/contrib/search/browser/anythingQuickAccess.js +11 -12
  585. package/vscode/src/vs/workbench/contrib/search/browser/searchActionsBase.js +2 -3
  586. package/vscode/src/vs/workbench/contrib/search/browser/searchActionsFind.js +14 -16
  587. package/vscode/src/vs/workbench/contrib/search/browser/searchModel.js +1 -1
  588. package/vscode/src/vs/workbench/contrib/search/browser/symbolsQuickAccess.js +3 -4
  589. package/vscode/src/vs/workbench/contrib/snippets/browser/commands/abstractSnippetsActions.js +2 -3
  590. package/vscode/src/vs/workbench/contrib/snippets/browser/commands/fileTemplateSnippets.js +3 -4
  591. package/vscode/src/vs/workbench/contrib/snippets/browser/snippetCompletionProvider.js +5 -19
  592. package/vscode/src/vs/workbench/contrib/snippets/browser/snippetsFile.js +4 -5
  593. package/vscode/src/vs/workbench/contrib/snippets/browser/snippetsService.js +17 -29
  594. package/vscode/src/vs/workbench/contrib/speech/common/speechService.js +30 -31
  595. package/vscode/src/vs/workbench/contrib/tasks/common/taskDefinitionRegistry.js +9 -13
  596. package/vscode/src/vs/workbench/contrib/tasks/common/taskService.js +9 -13
  597. package/vscode/src/vs/workbench/contrib/tasks/common/tasks.js +5 -7
  598. package/vscode/src/vs/workbench/contrib/terminal/browser/terminal.d.ts +5 -0
  599. package/vscode/src/vs/workbench/contrib/terminal/browser/terminal.service.d.ts +1 -0
  600. package/vscode/src/vs/workbench/contrib/terminal/browser/terminalEditorInput.js +5 -14
  601. package/vscode/src/vs/workbench/contrib/terminal/browser/terminalMenus.js +33 -34
  602. package/vscode/src/vs/workbench/contrib/terminal/browser/xterm/xtermTerminal.d.ts +2 -0
  603. package/vscode/src/vs/workbench/contrib/terminal/common/terminal.d.ts +1 -1
  604. package/vscode/src/vs/workbench/contrib/terminal/common/terminal.js +9 -15
  605. package/vscode/src/vs/workbench/contrib/terminal/common/terminalColorRegistry.js +37 -51
  606. package/vscode/src/vs/workbench/contrib/terminal/common/terminalContextKey.js +21 -37
  607. package/vscode/src/vs/workbench/contrib/terminal/common/terminalStrings.js +29 -34
  608. package/vscode/src/vs/workbench/contrib/terminalContrib/suggest/common/terminal.suggest.js +4 -0
  609. package/vscode/src/vs/workbench/contrib/testing/common/constants.js +16 -13
  610. package/vscode/src/vs/workbench/contrib/testing/common/testId.js +1 -1
  611. package/vscode/src/vs/workbench/contrib/testing/common/testResult.js +6 -7
  612. package/vscode/src/vs/workbench/contrib/testing/common/testTypes.d.ts +23 -1
  613. package/vscode/src/vs/workbench/contrib/testing/common/testTypes.js +23 -1
  614. package/vscode/src/vs/workbench/contrib/url/browser/trustedDomains.js +7 -8
  615. package/vscode/src/vs/workbench/contrib/webview/browser/webview.contribution.js +4 -5
  616. package/vscode/src/vs/workbench/contrib/webview/browser/webviewWindowDragMonitor.js +21 -2
  617. package/vscode/src/vs/workbench/contrib/webviewPanel/browser/webviewEditor.js +2 -3
  618. package/vscode/src/vs/workbench/contrib/workspace/common/workspace.js +3 -8
  619. package/vscode/src/vs/workbench/services/authentication/browser/authenticationService.js +17 -11
  620. package/vscode/src/vs/workbench/services/auxiliaryWindow/browser/auxiliaryWindowService.js +23 -25
  621. package/vscode/src/vs/workbench/services/configurationResolver/common/configurationResolverSchema.js +21 -34
  622. package/vscode/src/vs/workbench/services/configurationResolver/common/configurationResolverUtils.js +3 -5
  623. package/vscode/src/vs/workbench/services/configurationResolver/common/variableResolver.js +35 -53
  624. package/vscode/src/vs/workbench/services/editor/common/editorResolverService.js +3 -5
  625. package/vscode/src/vs/workbench/services/extensionManagement/common/extensionManagement.js +2 -3
  626. package/vscode/src/vs/workbench/services/extensionRecommendations/common/workspaceExtensionsConfig.js +7 -8
  627. package/vscode/src/vs/workbench/services/extensions/common/extensionsRegistry.js +145 -236
  628. package/vscode/src/vs/workbench/services/filesConfiguration/common/filesConfigurationService.js +14 -19
  629. package/vscode/src/vs/workbench/services/language/common/languageService.js +40 -57
  630. package/vscode/src/vs/workbench/services/layout/browser/layoutService.d.ts +2 -1
  631. package/vscode/src/vs/workbench/services/layout/browser/layoutService.js +8 -2
  632. package/vscode/src/vs/workbench/services/lifecycle/common/lifecycle.d.ts +34 -4
  633. package/vscode/src/vs/workbench/services/lifecycle/common/lifecycle.js +6 -1
  634. package/vscode/src/vs/workbench/services/lifecycle/common/lifecycleService.js +3 -3
  635. package/vscode/src/vs/workbench/services/preferences/browser/keybindingsEditorInput.js +3 -4
  636. package/vscode/src/vs/workbench/services/preferences/browser/keybindingsEditorModel.js +8 -9
  637. package/vscode/src/vs/workbench/services/preferences/common/preferences.d.ts +1 -3
  638. package/vscode/src/vs/workbench/services/preferences/common/preferences.js +2 -1
  639. package/vscode/src/vs/workbench/services/preferences/common/preferences.service.d.ts +5 -2
  640. package/vscode/src/vs/workbench/services/preferences/common/preferencesEditorInput.js +3 -4
  641. package/vscode/src/vs/workbench/services/preferences/common/preferencesModels.d.ts +5 -3
  642. package/vscode/src/vs/workbench/services/remote/common/remoteAgentService.d.ts +1 -0
  643. package/vscode/src/vs/workbench/services/remote/common/remoteAgentService.service.d.ts +4 -0
  644. package/vscode/src/vs/workbench/services/remote/common/remoteExplorerService.js +14 -20
  645. package/vscode/src/vs/workbench/services/remote/common/tunnelModel.js +9 -9
  646. package/vscode/src/vs/workbench/services/search/common/queryBuilder.js +2 -8
  647. package/vscode/src/vs/workbench/services/search/common/search.js +1 -1
  648. package/vscode/src/vs/workbench/services/search/common/searchExtTypes.js +41 -1
  649. package/vscode/src/vs/workbench/services/textMate/common/TMGrammars.js +12 -27
  650. package/vscode/src/vs/workbench/services/textfile/common/textFileEditorModel.js +4 -5
  651. package/vscode/src/vs/workbench/services/themes/common/colorExtensionPoint.js +34 -50
  652. package/vscode/src/vs/workbench/services/themes/common/iconExtensionPoint.js +22 -31
  653. package/vscode/src/vs/workbench/services/untitled/common/untitledTextEditorModel.js +1 -1
  654. package/vscode/src/vs/workbench/services/userDataProfile/common/userDataProfile.js +4 -5
  655. package/vscode/src/vs/workbench/services/userDataProfile/common/userDataProfileIcons.js +2 -3
  656. package/vscode/src/vs/workbench/services/userDataSync/common/userDataSync.js +12 -13
  657. package/vscode/src/vs/workbench/services/views/browser/viewsService.js +8 -9
  658. package/vscode/src/vs/workbench/services/workingCopy/common/storedFileWorkingCopy.js +25 -33
  659. package/vscode-dts/vscode.proposed.aiTextSearchProviderNew.d.ts +119 -0
  660. package/vscode-dts/vscode.proposed.chatParticipantAdditions.d.ts +61 -3
  661. package/vscode-dts/vscode.proposed.chatParticipantPrivate.d.ts +26 -0
  662. package/vscode-dts/vscode.proposed.commentReveal.d.ts +21 -8
  663. package/vscode-dts/vscode.proposed.commentThreadApplicability.d.ts +0 -2
  664. package/vscode-dts/vscode.proposed.contribSourceControlHistoryItemChangesMenu.d.ts +7 -0
  665. package/vscode-dts/vscode.proposed.fileComments.d.ts +1 -1
  666. package/vscode-dts/vscode.proposed.fileSearchProviderNew.d.ts +100 -0
  667. package/vscode-dts/vscode.proposed.findFiles2New.d.ts +80 -0
  668. package/vscode-dts/vscode.proposed.findTextInFilesNew.d.ts +143 -0
  669. package/vscode-dts/vscode.proposed.lmTools.d.ts +5 -0
  670. package/vscode-dts/vscode.proposed.quickInputButtonLocation.d.ts +29 -0
  671. package/vscode-dts/vscode.proposed.scmHistoryProvider.d.ts +2 -0
  672. package/vscode-dts/vscode.proposed.testMessageStackTrace.d.ts +38 -0
  673. package/vscode-dts/vscode.proposed.testRelatedCode.d.ts +36 -0
  674. package/vscode-dts/vscode.proposed.textSearchCompleteNew.d.ts +46 -0
  675. package/vscode-dts/vscode.proposed.textSearchProviderNew.d.ts +234 -0
  676. package/vscode/src/vs/editor/browser/widget/multiDiffEditor/model.js +0 -14
  677. package/vscode/src/vs/editor/contrib/inlineEdit/browser/hoverParticipant.js +0 -115
  678. package/vscode/src/vs/platform/issue/common/issue.service.js +0 -3
  679. package/vscode/src/vs/workbench/contrib/notebook/browser/controller/editActions.js +0 -570
  680. package/vscode/src/vs/workbench/contrib/notebook/browser/controller/notebookIndentationActions.js +0 -207
  681. package/vscode/src/vs/workbench/contrib/testing/common/observableValue.js +0 -30
  682. package/vscode/src/vs/workbench/services/preferences/common/preferencesModels.js +0 -1016
  683. package/vscode/src/vs/workbench/services/preferences/common/preferencesValidation.js +0 -390
@@ -5,9 +5,8 @@ import { ScrollbarVisibility } from '../../../base/common/scrollable.js';
5
5
  import { Constants } from '../../../base/common/uint.js';
6
6
  import { EDITOR_MODEL_DEFAULTS } from '../core/textModelDefaults.js';
7
7
  import { USUAL_WORD_SEPARATORS } from '../core/wordHelper.js';
8
- import { localizeWithPath } from '../../../nls.js';
8
+ import { localize } from '../../../nls.js';
9
9
  import { AccessibilitySupport } from '../../../platform/accessibility/common/accessibility.js';
10
- const _moduleId = "vs/editor/common/config/editorOptions";
11
10
  var EditorAutoIndentStrategy;
12
11
  ( ((function(EditorAutoIndentStrategy) {
13
12
  EditorAutoIndentStrategy[EditorAutoIndentStrategy["None"] = 0] = "None";
@@ -283,19 +282,14 @@ class EditorAccessibilitySupport extends BaseEditorOption {
283
282
  type: 'string',
284
283
  enum: ['auto', 'on', 'off'],
285
284
  enumDescriptions: [
286
- ( localizeWithPath(
287
- _moduleId,
288
- 0,
289
- "Use platform APIs to detect when a Screen Reader is attached."
290
- )),
291
- ( localizeWithPath(_moduleId, 1, "Optimize for usage with a Screen Reader.")),
292
- ( localizeWithPath(_moduleId, 2, "Assume a screen reader is not attached.")),
285
+ ( localize(77, "Use platform APIs to detect when a Screen Reader is attached.")),
286
+ ( localize(78, "Optimize for usage with a Screen Reader.")),
287
+ ( localize(79, "Assume a screen reader is not attached.")),
293
288
  ],
294
289
  default: 'auto',
295
290
  tags: ['accessibility'],
296
- description: ( localizeWithPath(
297
- _moduleId,
298
- 3,
291
+ description: ( localize(
292
+ 80,
299
293
  "Controls if the UI should run in a mode where it is optimized for screen readers."
300
294
  ))
301
295
  });
@@ -325,18 +319,13 @@ class EditorComments extends BaseEditorOption {
325
319
  'editor.comments.insertSpace': {
326
320
  type: 'boolean',
327
321
  default: defaults.insertSpace,
328
- description: ( localizeWithPath(
329
- _moduleId,
330
- 4,
331
- "Controls whether a space character is inserted when commenting."
332
- ))
322
+ description: ( localize(81, "Controls whether a space character is inserted when commenting."))
333
323
  },
334
324
  'editor.comments.ignoreEmptyLines': {
335
325
  type: 'boolean',
336
326
  default: defaults.ignoreEmptyLines,
337
- description: ( localizeWithPath(
338
- _moduleId,
339
- 5,
327
+ description: ( localize(
328
+ 82,
340
329
  'Controls if empty lines should be ignored with toggle, add or remove actions for line comments.'
341
330
  ))
342
331
  },
@@ -429,9 +418,8 @@ class EditorClassName extends ComputedEditorOption {
429
418
  }
430
419
  class EditorEmptySelectionClipboard extends EditorBooleanOption {
431
420
  constructor() {
432
- super(EditorOption.emptySelectionClipboard, 'emptySelectionClipboard', true, { description: ( localizeWithPath(
433
- _moduleId,
434
- 6,
421
+ super(EditorOption.emptySelectionClipboard, 'emptySelectionClipboard', true, { description: ( localize(
422
+ 83,
435
423
  "Controls whether copying without a selection copies the current line."
436
424
  )) });
437
425
  }
@@ -453,9 +441,8 @@ class EditorFind extends BaseEditorOption {
453
441
  'editor.find.cursorMoveOnType': {
454
442
  type: 'boolean',
455
443
  default: defaults.cursorMoveOnType,
456
- description: ( localizeWithPath(
457
- _moduleId,
458
- 7,
444
+ description: ( localize(
445
+ 84,
459
446
  "Controls whether the cursor should jump to find matches while typing."
460
447
  ))
461
448
  },
@@ -464,17 +451,15 @@ class EditorFind extends BaseEditorOption {
464
451
  enum: ['never', 'always', 'selection'],
465
452
  default: defaults.seedSearchStringFromSelection,
466
453
  enumDescriptions: [
467
- ( localizeWithPath(_moduleId, 8, 'Never seed search string from the editor selection.')),
468
- ( localizeWithPath(
469
- _moduleId,
470
- 9,
454
+ ( localize(85, 'Never seed search string from the editor selection.')),
455
+ ( localize(
456
+ 86,
471
457
  'Always seed search string from the editor selection, including word at cursor position.'
472
458
  )),
473
- ( localizeWithPath(_moduleId, 10, 'Only seed search string from the editor selection.'))
459
+ ( localize(87, 'Only seed search string from the editor selection.'))
474
460
  ],
475
- description: ( localizeWithPath(
476
- _moduleId,
477
- 11,
461
+ description: ( localize(
462
+ 88,
478
463
  "Controls whether the search string in the Find Widget is seeded from the editor selection."
479
464
  ))
480
465
  },
@@ -483,26 +468,23 @@ class EditorFind extends BaseEditorOption {
483
468
  enum: ['never', 'always', 'multiline'],
484
469
  default: defaults.autoFindInSelection,
485
470
  enumDescriptions: [
486
- ( localizeWithPath(_moduleId, 12, 'Never turn on Find in Selection automatically (default).')),
487
- ( localizeWithPath(_moduleId, 13, 'Always turn on Find in Selection automatically.')),
488
- ( localizeWithPath(
489
- _moduleId,
490
- 14,
471
+ ( localize(89, 'Never turn on Find in Selection automatically (default).')),
472
+ ( localize(90, 'Always turn on Find in Selection automatically.')),
473
+ ( localize(
474
+ 91,
491
475
  'Turn on Find in Selection automatically when multiple lines of content are selected.'
492
476
  ))
493
477
  ],
494
- description: ( localizeWithPath(
495
- _moduleId,
496
- 15,
478
+ description: ( localize(
479
+ 92,
497
480
  "Controls the condition for turning on Find in Selection automatically."
498
481
  ))
499
482
  },
500
483
  'editor.find.globalFindClipboard': {
501
484
  type: 'boolean',
502
485
  default: defaults.globalFindClipboard,
503
- description: ( localizeWithPath(
504
- _moduleId,
505
- 16,
486
+ description: ( localize(
487
+ 93,
506
488
  "Controls whether the Find Widget should read or modify the shared find clipboard on macOS."
507
489
  )),
508
490
  included: isMacintosh
@@ -510,18 +492,16 @@ class EditorFind extends BaseEditorOption {
510
492
  'editor.find.addExtraSpaceOnTop': {
511
493
  type: 'boolean',
512
494
  default: defaults.addExtraSpaceOnTop,
513
- description: ( localizeWithPath(
514
- _moduleId,
515
- 17,
495
+ description: ( localize(
496
+ 94,
516
497
  "Controls whether the Find Widget should add extra lines on top of the editor. When true, you can scroll beyond the first line when the Find Widget is visible."
517
498
  ))
518
499
  },
519
500
  'editor.find.loop': {
520
501
  type: 'boolean',
521
502
  default: defaults.loop,
522
- description: ( localizeWithPath(
523
- _moduleId,
524
- 18,
503
+ description: ( localize(
504
+ 95,
525
505
  "Controls whether the search automatically restarts from the beginning (or the end) when no further matches can be found."
526
506
  ))
527
507
  },
@@ -554,24 +534,21 @@ class EditorFontLigatures extends BaseEditorOption {
554
534
  anyOf: [
555
535
  {
556
536
  type: 'boolean',
557
- description: ( localizeWithPath(
558
- _moduleId,
559
- 19,
537
+ description: ( localize(
538
+ 96,
560
539
  "Enables/Disables font ligatures ('calt' and 'liga' font features). Change this to a string for fine-grained control of the 'font-feature-settings' CSS property."
561
540
  )),
562
541
  },
563
542
  {
564
543
  type: 'string',
565
- description: ( localizeWithPath(
566
- _moduleId,
567
- 20,
544
+ description: ( localize(
545
+ 97,
568
546
  "Explicit 'font-feature-settings' CSS property. A boolean can be passed instead if one only needs to turn on/off ligatures."
569
547
  ))
570
548
  }
571
549
  ],
572
- description: ( localizeWithPath(
573
- _moduleId,
574
- 21,
550
+ description: ( localize(
551
+ 98,
575
552
  "Configures font ligatures or font features. Can be either a boolean to enable/disable ligatures or a string for the value of the CSS 'font-feature-settings' property."
576
553
  )),
577
554
  default: false
@@ -604,24 +581,21 @@ class EditorFontVariations extends BaseEditorOption {
604
581
  anyOf: [
605
582
  {
606
583
  type: 'boolean',
607
- description: ( localizeWithPath(
608
- _moduleId,
609
- 22,
584
+ description: ( localize(
585
+ 99,
610
586
  "Enables/Disables the translation from font-weight to font-variation-settings. Change this to a string for fine-grained control of the 'font-variation-settings' CSS property."
611
587
  )),
612
588
  },
613
589
  {
614
590
  type: 'string',
615
- description: ( localizeWithPath(
616
- _moduleId,
617
- 23,
591
+ description: ( localize(
592
+ 100,
618
593
  "Explicit 'font-variation-settings' CSS property. A boolean can be passed instead if one only needs to translate font-weight to font-variation-settings."
619
594
  ))
620
595
  }
621
596
  ],
622
- description: ( localizeWithPath(
623
- _moduleId,
624
- 24,
597
+ description: ( localize(
598
+ 101,
625
599
  "Configures font variations. Can be either a boolean to enable/disable the translation from font-weight to font-variation-settings or a string for the value of the CSS 'font-variation-settings' property."
626
600
  )),
627
601
  default: false
@@ -664,7 +638,7 @@ class EditorFontSize extends SimpleEditorOption {
664
638
  minimum: 6,
665
639
  maximum: 100,
666
640
  default: EDITOR_FONT_DEFAULTS.fontSize,
667
- description: ( localizeWithPath(_moduleId, 25, "Controls the font size in pixels."))
641
+ description: ( localize(102, "Controls the font size in pixels."))
668
642
  });
669
643
  }
670
644
  validate(input) {
@@ -689,9 +663,8 @@ class EditorFontWeight extends BaseEditorOption {
689
663
  type: 'number',
690
664
  minimum: EditorFontWeight.MINIMUM_VALUE,
691
665
  maximum: EditorFontWeight.MAXIMUM_VALUE,
692
- errorMessage: ( localizeWithPath(
693
- _moduleId,
694
- 26,
666
+ errorMessage: ( localize(
667
+ 103,
695
668
  "Only \"normal\" and \"bold\" keywords or numbers between 1 and 1000 are allowed."
696
669
  ))
697
670
  },
@@ -704,9 +677,8 @@ class EditorFontWeight extends BaseEditorOption {
704
677
  }
705
678
  ],
706
679
  default: EDITOR_FONT_DEFAULTS.fontWeight,
707
- description: ( localizeWithPath(
708
- _moduleId,
709
- 27,
680
+ description: ( localize(
681
+ 104,
710
682
  "Controls the font weight. Accepts \"normal\" and \"bold\" keywords or numbers between 1 and 1000."
711
683
  ))
712
684
  });
@@ -727,71 +699,63 @@ class EditorGoToLocation extends BaseEditorOption {
727
699
  multipleDeclarations: 'peek',
728
700
  multipleImplementations: 'peek',
729
701
  multipleReferences: 'peek',
702
+ multipleTests: 'peek',
730
703
  alternativeDefinitionCommand: 'editor.action.goToReferences',
731
704
  alternativeTypeDefinitionCommand: 'editor.action.goToReferences',
732
705
  alternativeDeclarationCommand: 'editor.action.goToReferences',
733
706
  alternativeImplementationCommand: '',
734
707
  alternativeReferenceCommand: '',
708
+ alternativeTestsCommand: '',
735
709
  };
736
710
  const jsonSubset = {
737
711
  type: 'string',
738
712
  enum: ['peek', 'gotoAndPeek', 'goto'],
739
713
  default: defaults.multiple,
740
714
  enumDescriptions: [
741
- ( localizeWithPath(_moduleId, 28, 'Show Peek view of the results (default)')),
742
- ( localizeWithPath(_moduleId, 29, 'Go to the primary result and show a Peek view')),
743
- ( localizeWithPath(
744
- _moduleId,
745
- 30,
746
- 'Go to the primary result and enable Peek-less navigation to others'
747
- ))
715
+ ( localize(105, 'Show Peek view of the results (default)')),
716
+ ( localize(106, 'Go to the primary result and show a Peek view')),
717
+ ( localize(107, 'Go to the primary result and enable Peek-less navigation to others'))
748
718
  ]
749
719
  };
750
720
  const alternativeCommandOptions = ['', 'editor.action.referenceSearch.trigger', 'editor.action.goToReferences', 'editor.action.peekImplementation', 'editor.action.goToImplementation', 'editor.action.peekTypeDefinition', 'editor.action.goToTypeDefinition', 'editor.action.peekDeclaration', 'editor.action.revealDeclaration', 'editor.action.peekDefinition', 'editor.action.revealDefinitionAside', 'editor.action.revealDefinition'];
751
721
  super(EditorOption.gotoLocation, 'gotoLocation', defaults, {
752
722
  'editor.gotoLocation.multiple': {
753
- deprecationMessage: ( localizeWithPath(
754
- _moduleId,
755
- 31,
723
+ deprecationMessage: ( localize(
724
+ 108,
756
725
  "This setting is deprecated, please use separate settings like 'editor.editor.gotoLocation.multipleDefinitions' or 'editor.editor.gotoLocation.multipleImplementations' instead."
757
726
  )),
758
727
  },
759
728
  'editor.gotoLocation.multipleDefinitions': {
760
- description: ( localizeWithPath(
761
- _moduleId,
762
- 32,
729
+ description: ( localize(
730
+ 109,
763
731
  "Controls the behavior the 'Go to Definition'-command when multiple target locations exist."
764
732
  )),
765
733
  ...jsonSubset,
766
734
  },
767
735
  'editor.gotoLocation.multipleTypeDefinitions': {
768
- description: ( localizeWithPath(
769
- _moduleId,
770
- 33,
736
+ description: ( localize(
737
+ 110,
771
738
  "Controls the behavior the 'Go to Type Definition'-command when multiple target locations exist."
772
739
  )),
773
740
  ...jsonSubset,
774
741
  },
775
742
  'editor.gotoLocation.multipleDeclarations': {
776
- description: ( localizeWithPath(
777
- _moduleId,
778
- 34,
743
+ description: ( localize(
744
+ 111,
779
745
  "Controls the behavior the 'Go to Declaration'-command when multiple target locations exist."
780
746
  )),
781
747
  ...jsonSubset,
782
748
  },
783
749
  'editor.gotoLocation.multipleImplementations': {
784
- description: ( localizeWithPath(
785
- _moduleId,
786
- 35,
750
+ description: ( localize(
751
+ 112,
787
752
  "Controls the behavior the 'Go to Implementations'-command when multiple target locations exist."
788
753
  )),
789
754
  ...jsonSubset,
790
755
  },
791
756
  'editor.gotoLocation.multipleReferences': {
792
- description: ( localizeWithPath(
793
- _moduleId,
794
- 36,
757
+ description: ( localize(
758
+ 113,
795
759
  "Controls the behavior the 'Go to References'-command when multiple target locations exist."
796
760
  )),
797
761
  ...jsonSubset,
@@ -800,9 +764,8 @@ class EditorGoToLocation extends BaseEditorOption {
800
764
  type: 'string',
801
765
  default: defaults.alternativeDefinitionCommand,
802
766
  enum: alternativeCommandOptions,
803
- description: ( localizeWithPath(
804
- _moduleId,
805
- 37,
767
+ description: ( localize(
768
+ 114,
806
769
  "Alternative command id that is being executed when the result of 'Go to Definition' is the current location."
807
770
  ))
808
771
  },
@@ -810,9 +773,8 @@ class EditorGoToLocation extends BaseEditorOption {
810
773
  type: 'string',
811
774
  default: defaults.alternativeTypeDefinitionCommand,
812
775
  enum: alternativeCommandOptions,
813
- description: ( localizeWithPath(
814
- _moduleId,
815
- 38,
776
+ description: ( localize(
777
+ 115,
816
778
  "Alternative command id that is being executed when the result of 'Go to Type Definition' is the current location."
817
779
  ))
818
780
  },
@@ -820,9 +782,8 @@ class EditorGoToLocation extends BaseEditorOption {
820
782
  type: 'string',
821
783
  default: defaults.alternativeDeclarationCommand,
822
784
  enum: alternativeCommandOptions,
823
- description: ( localizeWithPath(
824
- _moduleId,
825
- 39,
785
+ description: ( localize(
786
+ 116,
826
787
  "Alternative command id that is being executed when the result of 'Go to Declaration' is the current location."
827
788
  ))
828
789
  },
@@ -830,9 +791,8 @@ class EditorGoToLocation extends BaseEditorOption {
830
791
  type: 'string',
831
792
  default: defaults.alternativeImplementationCommand,
832
793
  enum: alternativeCommandOptions,
833
- description: ( localizeWithPath(
834
- _moduleId,
835
- 40,
794
+ description: ( localize(
795
+ 117,
836
796
  "Alternative command id that is being executed when the result of 'Go to Implementation' is the current location."
837
797
  ))
838
798
  },
@@ -840,9 +800,8 @@ class EditorGoToLocation extends BaseEditorOption {
840
800
  type: 'string',
841
801
  default: defaults.alternativeReferenceCommand,
842
802
  enum: alternativeCommandOptions,
843
- description: ( localizeWithPath(
844
- _moduleId,
845
- 41,
803
+ description: ( localize(
804
+ 118,
846
805
  "Alternative command id that is being executed when the result of 'Go to Reference' is the current location."
847
806
  ))
848
807
  },
@@ -860,11 +819,13 @@ class EditorGoToLocation extends BaseEditorOption {
860
819
  multipleDeclarations: input.multipleDeclarations ?? stringSet(input.multipleDeclarations, 'peek', ['peek', 'gotoAndPeek', 'goto']),
861
820
  multipleImplementations: input.multipleImplementations ?? stringSet(input.multipleImplementations, 'peek', ['peek', 'gotoAndPeek', 'goto']),
862
821
  multipleReferences: input.multipleReferences ?? stringSet(input.multipleReferences, 'peek', ['peek', 'gotoAndPeek', 'goto']),
822
+ multipleTests: input.multipleTests ?? stringSet(input.multipleTests, 'peek', ['peek', 'gotoAndPeek', 'goto']),
863
823
  alternativeDefinitionCommand: EditorStringOption.string(input.alternativeDefinitionCommand, this.defaultValue.alternativeDefinitionCommand),
864
824
  alternativeTypeDefinitionCommand: EditorStringOption.string(input.alternativeTypeDefinitionCommand, this.defaultValue.alternativeTypeDefinitionCommand),
865
825
  alternativeDeclarationCommand: EditorStringOption.string(input.alternativeDeclarationCommand, this.defaultValue.alternativeDeclarationCommand),
866
826
  alternativeImplementationCommand: EditorStringOption.string(input.alternativeImplementationCommand, this.defaultValue.alternativeImplementationCommand),
867
827
  alternativeReferenceCommand: EditorStringOption.string(input.alternativeReferenceCommand, this.defaultValue.alternativeReferenceCommand),
828
+ alternativeTestsCommand: EditorStringOption.string(input.alternativeTestsCommand, this.defaultValue.alternativeTestsCommand),
868
829
  };
869
830
  }
870
831
  }
@@ -881,25 +842,20 @@ class EditorHover extends BaseEditorOption {
881
842
  'editor.hover.enabled': {
882
843
  type: 'boolean',
883
844
  default: defaults.enabled,
884
- description: ( localizeWithPath(_moduleId, 42, "Controls whether the hover is shown."))
845
+ description: ( localize(119, "Controls whether the hover is shown."))
885
846
  },
886
847
  'editor.hover.delay': {
887
848
  type: 'number',
888
849
  default: defaults.delay,
889
850
  minimum: 0,
890
851
  maximum: 10000,
891
- description: ( localizeWithPath(
892
- _moduleId,
893
- 43,
894
- "Controls the delay in milliseconds after which the hover is shown."
895
- ))
852
+ description: ( localize(120, "Controls the delay in milliseconds after which the hover is shown."))
896
853
  },
897
854
  'editor.hover.sticky': {
898
855
  type: 'boolean',
899
856
  default: defaults.sticky,
900
- description: ( localizeWithPath(
901
- _moduleId,
902
- 44,
857
+ description: ( localize(
858
+ 121,
903
859
  "Controls whether the hover should remain visible when mouse is moved over it."
904
860
  ))
905
861
  },
@@ -907,16 +863,15 @@ class EditorHover extends BaseEditorOption {
907
863
  type: 'integer',
908
864
  minimum: 0,
909
865
  default: defaults.hidingDelay,
910
- description: ( localizeWithPath(
911
- _moduleId,
912
- 45,
866
+ description: ( localize(
867
+ 122,
913
868
  "Controls the delay in milliseconds after which the hover is hidden. Requires `editor.hover.sticky` to be enabled."
914
869
  ))
915
870
  },
916
871
  'editor.hover.above': {
917
872
  type: 'boolean',
918
873
  default: defaults.above,
919
- description: ( localizeWithPath(_moduleId, 46, "Prefer showing hovers above the line, if there's space."))
874
+ description: ( localize(123, "Prefer showing hovers above the line, if there's space."))
920
875
  },
921
876
  });
922
877
  }
@@ -1225,23 +1180,20 @@ class WrappingStrategy extends BaseEditorOption {
1225
1180
  super(EditorOption.wrappingStrategy, 'wrappingStrategy', 'simple', {
1226
1181
  'editor.wrappingStrategy': {
1227
1182
  enumDescriptions: [
1228
- ( localizeWithPath(
1229
- _moduleId,
1230
- 47,
1183
+ ( localize(
1184
+ 124,
1231
1185
  "Assumes that all characters are of the same width. This is a fast algorithm that works correctly for monospace fonts and certain scripts (like Latin characters) where glyphs are of equal width."
1232
1186
  )),
1233
- ( localizeWithPath(
1234
- _moduleId,
1235
- 48,
1187
+ ( localize(
1188
+ 125,
1236
1189
  "Delegates wrapping points computation to the browser. This is a slow algorithm, that might cause freezes for large files, but it works correctly in all cases."
1237
1190
  ))
1238
1191
  ],
1239
1192
  type: 'string',
1240
1193
  enum: ['simple', 'advanced'],
1241
1194
  default: 'simple',
1242
- description: ( localizeWithPath(
1243
- _moduleId,
1244
- 49,
1195
+ description: ( localize(
1196
+ 126,
1245
1197
  "Controls the algorithm that computes wrapping points. Note that when in accessibility mode, advanced will be used for the best experience."
1246
1198
  ))
1247
1199
  }
@@ -1274,19 +1226,14 @@ class EditorLightbulb extends BaseEditorOption {
1274
1226
  enum: [ShowLightbulbIconMode.Off, ShowLightbulbIconMode.OnCode, ShowLightbulbIconMode.On],
1275
1227
  default: defaults.enabled,
1276
1228
  enumDescriptions: [
1277
- ( localizeWithPath(_moduleId, 50, 'Disable the code action menu.')),
1278
- ( localizeWithPath(
1279
- _moduleId,
1280
- 51,
1281
- 'Show the code action menu when the cursor is on lines with code.'
1282
- )),
1283
- ( localizeWithPath(
1284
- _moduleId,
1285
- 52,
1229
+ ( localize(127, 'Disable the code action menu.')),
1230
+ ( localize(128, 'Show the code action menu when the cursor is on lines with code.')),
1231
+ ( localize(
1232
+ 129,
1286
1233
  'Show the code action menu when the cursor is on lines with code or on empty lines.'
1287
1234
  )),
1288
1235
  ],
1289
- description: ( localizeWithPath(_moduleId, 53, "Enables the Code Action lightbulb in the editor."))
1236
+ description: ( localize(130, "Enables the Code Action lightbulb in the editor."))
1290
1237
  }
1291
1238
  });
1292
1239
  }
@@ -1307,9 +1254,8 @@ class EditorStickyScroll extends BaseEditorOption {
1307
1254
  'editor.stickyScroll.enabled': {
1308
1255
  type: 'boolean',
1309
1256
  default: defaults.enabled,
1310
- description: ( localizeWithPath(
1311
- _moduleId,
1312
- 54,
1257
+ description: ( localize(
1258
+ 131,
1313
1259
  "Shows the nested current scopes during the scroll at the top of the editor."
1314
1260
  )),
1315
1261
  tags: ['experimental']
@@ -1319,24 +1265,22 @@ class EditorStickyScroll extends BaseEditorOption {
1319
1265
  default: defaults.maxLineCount,
1320
1266
  minimum: 1,
1321
1267
  maximum: 20,
1322
- description: ( localizeWithPath(_moduleId, 55, "Defines the maximum number of sticky lines to show."))
1268
+ description: ( localize(132, "Defines the maximum number of sticky lines to show."))
1323
1269
  },
1324
1270
  'editor.stickyScroll.defaultModel': {
1325
1271
  type: 'string',
1326
1272
  enum: ['outlineModel', 'foldingProviderModel', 'indentationModel'],
1327
1273
  default: defaults.defaultModel,
1328
- description: ( localizeWithPath(
1329
- _moduleId,
1330
- 56,
1274
+ description: ( localize(
1275
+ 133,
1331
1276
  "Defines the model to use for determining which lines to stick. If the outline model does not exist, it will fall back on the folding provider model which falls back on the indentation model. This order is respected in all three cases."
1332
1277
  ))
1333
1278
  },
1334
1279
  'editor.stickyScroll.scrollWithEditor': {
1335
1280
  type: 'boolean',
1336
1281
  default: defaults.scrollWithEditor,
1337
- description: ( localizeWithPath(
1338
- _moduleId,
1339
- 57,
1282
+ description: ( localize(
1283
+ 134,
1340
1284
  "Enable scrolling of Sticky Scroll with the editor's horizontal scrollbar."
1341
1285
  ))
1342
1286
  },
@@ -1362,31 +1306,28 @@ class EditorInlayHints extends BaseEditorOption {
1362
1306
  'editor.inlayHints.enabled': {
1363
1307
  type: 'string',
1364
1308
  default: defaults.enabled,
1365
- description: ( localizeWithPath(_moduleId, 58, "Enables the inlay hints in the editor.")),
1309
+ description: ( localize(135, "Enables the inlay hints in the editor.")),
1366
1310
  enum: ['on', 'onUnlessPressed', 'offUnlessPressed', 'off'],
1367
1311
  markdownEnumDescriptions: [
1368
- ( localizeWithPath(_moduleId, 59, "Inlay hints are enabled")),
1369
- ( localizeWithPath(
1370
- _moduleId,
1371
- 60,
1312
+ ( localize(136, "Inlay hints are enabled")),
1313
+ ( localize(
1314
+ 137,
1372
1315
  "Inlay hints are showing by default and hide when holding {0}",
1373
1316
  isMacintosh ? `Ctrl+Option` : `Ctrl+Alt`
1374
1317
  )),
1375
- ( localizeWithPath(
1376
- _moduleId,
1377
- 61,
1318
+ ( localize(
1319
+ 138,
1378
1320
  "Inlay hints are hidden by default and show when holding {0}",
1379
1321
  isMacintosh ? `Ctrl+Option` : `Ctrl+Alt`
1380
1322
  )),
1381
- ( localizeWithPath(_moduleId, 62, "Inlay hints are disabled")),
1323
+ ( localize(139, "Inlay hints are disabled")),
1382
1324
  ],
1383
1325
  },
1384
1326
  'editor.inlayHints.fontSize': {
1385
1327
  type: 'number',
1386
1328
  default: defaults.fontSize,
1387
- markdownDescription: ( localizeWithPath(
1388
- _moduleId,
1389
- 63,
1329
+ markdownDescription: ( localize(
1330
+ 140,
1390
1331
  "Controls font size of inlay hints in the editor. As default the {0} is used when the configured value is less than {1} or greater than the editor font size.",
1391
1332
  '`#editor.fontSize#`',
1392
1333
  '`5`'
@@ -1395,9 +1336,8 @@ class EditorInlayHints extends BaseEditorOption {
1395
1336
  'editor.inlayHints.fontFamily': {
1396
1337
  type: 'string',
1397
1338
  default: defaults.fontFamily,
1398
- markdownDescription: ( localizeWithPath(
1399
- _moduleId,
1400
- 64,
1339
+ markdownDescription: ( localize(
1340
+ 141,
1401
1341
  "Controls font family of inlay hints in the editor. When set to empty, the {0} is used.",
1402
1342
  '`#editor.fontFamily#`'
1403
1343
  ))
@@ -1405,7 +1345,7 @@ class EditorInlayHints extends BaseEditorOption {
1405
1345
  'editor.inlayHints.padding': {
1406
1346
  type: 'boolean',
1407
1347
  default: defaults.padding,
1408
- description: ( localizeWithPath(_moduleId, 65, "Enables the padding around the inlay hints in the editor."))
1348
+ description: ( localize(142, "Enables the padding around the inlay hints in the editor."))
1409
1349
  }
1410
1350
  });
1411
1351
  }
@@ -1449,9 +1389,8 @@ class EditorLineDecorationsWidth extends BaseEditorOption {
1449
1389
  }
1450
1390
  class EditorLineHeight extends EditorFloatOption {
1451
1391
  constructor() {
1452
- super(EditorOption.lineHeight, 'lineHeight', EDITOR_FONT_DEFAULTS.lineHeight, x => EditorFloatOption.clamp(x, 0, 150), { markdownDescription: ( localizeWithPath(
1453
- _moduleId,
1454
- 66,
1392
+ super(EditorOption.lineHeight, 'lineHeight', EDITOR_FONT_DEFAULTS.lineHeight, x => EditorFloatOption.clamp(x, 0, 150), { markdownDescription: ( localize(
1393
+ 143,
1455
1394
  "Controls the line height. \n - Use 0 to automatically compute the line height from the font size.\n - Values between 0 and 8 will be used as a multiplier with the font size.\n - Values greater than or equal to 8 will be used as effective values."
1456
1395
  )) });
1457
1396
  }
@@ -1479,47 +1418,44 @@ class EditorMinimap extends BaseEditorOption {
1479
1418
  'editor.minimap.enabled': {
1480
1419
  type: 'boolean',
1481
1420
  default: defaults.enabled,
1482
- description: ( localizeWithPath(_moduleId, 67, "Controls whether the minimap is shown."))
1421
+ description: ( localize(144, "Controls whether the minimap is shown."))
1483
1422
  },
1484
1423
  'editor.minimap.autohide': {
1485
1424
  type: 'boolean',
1486
1425
  default: defaults.autohide,
1487
- description: ( localizeWithPath(_moduleId, 68, "Controls whether the minimap is hidden automatically."))
1426
+ description: ( localize(145, "Controls whether the minimap is hidden automatically."))
1488
1427
  },
1489
1428
  'editor.minimap.size': {
1490
1429
  type: 'string',
1491
1430
  enum: ['proportional', 'fill', 'fit'],
1492
1431
  enumDescriptions: [
1493
- ( localizeWithPath(
1494
- _moduleId,
1495
- 69,
1432
+ ( localize(
1433
+ 146,
1496
1434
  "The minimap has the same size as the editor contents (and might scroll)."
1497
1435
  )),
1498
- ( localizeWithPath(
1499
- _moduleId,
1500
- 70,
1436
+ ( localize(
1437
+ 147,
1501
1438
  "The minimap will stretch or shrink as necessary to fill the height of the editor (no scrolling)."
1502
1439
  )),
1503
- ( localizeWithPath(
1504
- _moduleId,
1505
- 71,
1440
+ ( localize(
1441
+ 148,
1506
1442
  "The minimap will shrink as necessary to never be larger than the editor (no scrolling)."
1507
1443
  )),
1508
1444
  ],
1509
1445
  default: defaults.size,
1510
- description: ( localizeWithPath(_moduleId, 72, "Controls the size of the minimap."))
1446
+ description: ( localize(149, "Controls the size of the minimap."))
1511
1447
  },
1512
1448
  'editor.minimap.side': {
1513
1449
  type: 'string',
1514
1450
  enum: ['left', 'right'],
1515
1451
  default: defaults.side,
1516
- description: ( localizeWithPath(_moduleId, 73, "Controls the side where to render the minimap."))
1452
+ description: ( localize(150, "Controls the side where to render the minimap."))
1517
1453
  },
1518
1454
  'editor.minimap.showSlider': {
1519
1455
  type: 'string',
1520
1456
  enum: ['always', 'mouseover'],
1521
1457
  default: defaults.showSlider,
1522
- description: ( localizeWithPath(_moduleId, 74, "Controls when the minimap slider is shown."))
1458
+ description: ( localize(151, "Controls when the minimap slider is shown."))
1523
1459
  },
1524
1460
  'editor.minimap.scale': {
1525
1461
  type: 'number',
@@ -1527,55 +1463,47 @@ class EditorMinimap extends BaseEditorOption {
1527
1463
  minimum: 1,
1528
1464
  maximum: 3,
1529
1465
  enum: [1, 2, 3],
1530
- description: ( localizeWithPath(_moduleId, 75, "Scale of content drawn in the minimap: 1, 2 or 3."))
1466
+ description: ( localize(152, "Scale of content drawn in the minimap: 1, 2 or 3."))
1531
1467
  },
1532
1468
  'editor.minimap.renderCharacters': {
1533
1469
  type: 'boolean',
1534
1470
  default: defaults.renderCharacters,
1535
- description: ( localizeWithPath(
1536
- _moduleId,
1537
- 76,
1538
- "Render the actual characters on a line as opposed to color blocks."
1539
- ))
1471
+ description: ( localize(153, "Render the actual characters on a line as opposed to color blocks."))
1540
1472
  },
1541
1473
  'editor.minimap.maxColumn': {
1542
1474
  type: 'number',
1543
1475
  default: defaults.maxColumn,
1544
- description: ( localizeWithPath(
1545
- _moduleId,
1546
- 77,
1476
+ description: ( localize(
1477
+ 154,
1547
1478
  "Limit the width of the minimap to render at most a certain number of columns."
1548
1479
  ))
1549
1480
  },
1550
1481
  'editor.minimap.showRegionSectionHeaders': {
1551
1482
  type: 'boolean',
1552
1483
  default: defaults.showRegionSectionHeaders,
1553
- description: ( localizeWithPath(
1554
- _moduleId,
1555
- 78,
1484
+ description: ( localize(
1485
+ 155,
1556
1486
  "Controls whether named regions are shown as section headers in the minimap."
1557
1487
  ))
1558
1488
  },
1559
1489
  'editor.minimap.showMarkSectionHeaders': {
1560
1490
  type: 'boolean',
1561
1491
  default: defaults.showMarkSectionHeaders,
1562
- description: ( localizeWithPath(
1563
- _moduleId,
1564
- 79,
1492
+ description: ( localize(
1493
+ 156,
1565
1494
  "Controls whether MARK: comments are shown as section headers in the minimap."
1566
1495
  ))
1567
1496
  },
1568
1497
  'editor.minimap.sectionHeaderFontSize': {
1569
1498
  type: 'number',
1570
1499
  default: defaults.sectionHeaderFontSize,
1571
- description: ( localizeWithPath(_moduleId, 80, "Controls the font size of section headers in the minimap."))
1500
+ description: ( localize(157, "Controls the font size of section headers in the minimap."))
1572
1501
  },
1573
1502
  'editor.minimap.sectionHeaderLetterSpacing': {
1574
1503
  type: 'number',
1575
1504
  default: defaults.sectionHeaderLetterSpacing,
1576
- description: ( localizeWithPath(
1577
- _moduleId,
1578
- 81,
1505
+ description: ( localize(
1506
+ 158,
1579
1507
  "Controls the amount of space (in pixels) between characters of section header. This helps the readability of the header in small font sizes."
1580
1508
  ))
1581
1509
  }
@@ -1616,9 +1544,8 @@ class EditorPadding extends BaseEditorOption {
1616
1544
  default: 0,
1617
1545
  minimum: 0,
1618
1546
  maximum: 1000,
1619
- description: ( localizeWithPath(
1620
- _moduleId,
1621
- 82,
1547
+ description: ( localize(
1548
+ 159,
1622
1549
  "Controls the amount of space between the top edge of the editor and the first line."
1623
1550
  ))
1624
1551
  },
@@ -1627,9 +1554,8 @@ class EditorPadding extends BaseEditorOption {
1627
1554
  default: 0,
1628
1555
  minimum: 0,
1629
1556
  maximum: 1000,
1630
- description: ( localizeWithPath(
1631
- _moduleId,
1632
- 83,
1557
+ description: ( localize(
1558
+ 160,
1633
1559
  "Controls the amount of space between the bottom edge of the editor and the last line."
1634
1560
  ))
1635
1561
  }
@@ -1656,18 +1582,16 @@ class EditorParameterHints extends BaseEditorOption {
1656
1582
  'editor.parameterHints.enabled': {
1657
1583
  type: 'boolean',
1658
1584
  default: defaults.enabled,
1659
- description: ( localizeWithPath(
1660
- _moduleId,
1661
- 84,
1585
+ description: ( localize(
1586
+ 161,
1662
1587
  "Enables a pop-up that shows parameter documentation and type information as you type."
1663
1588
  ))
1664
1589
  },
1665
1590
  'editor.parameterHints.cycle': {
1666
1591
  type: 'boolean',
1667
1592
  default: defaults.cycle,
1668
- description: ( localizeWithPath(
1669
- _moduleId,
1670
- 85,
1593
+ description: ( localize(
1594
+ 162,
1671
1595
  "Controls whether the parameter hints menu cycles or closes when reaching the end of the list."
1672
1596
  ))
1673
1597
  },
@@ -1718,7 +1642,7 @@ class EditorQuickSuggestions extends BaseEditorOption {
1718
1642
  {
1719
1643
  type: 'string',
1720
1644
  enum: ['on', 'inline', 'off'],
1721
- enumDescriptions: [( localizeWithPath(_moduleId, 86, "Quick suggestions show inside the suggest widget")), ( localizeWithPath(_moduleId, 87, "Quick suggestions show as ghost text")), ( localizeWithPath(_moduleId, 88, "Quick suggestions are disabled"))]
1645
+ enumDescriptions: [( localize(163, "Quick suggestions show inside the suggest widget")), ( localize(164, "Quick suggestions show as ghost text")), ( localize(165, "Quick suggestions are disabled"))]
1722
1646
  }
1723
1647
  ];
1724
1648
  super(EditorOption.quickSuggestions, 'quickSuggestions', defaults, {
@@ -1728,23 +1652,22 @@ class EditorQuickSuggestions extends BaseEditorOption {
1728
1652
  strings: {
1729
1653
  anyOf: types,
1730
1654
  default: defaults.strings,
1731
- description: ( localizeWithPath(_moduleId, 89, "Enable quick suggestions inside strings."))
1655
+ description: ( localize(166, "Enable quick suggestions inside strings."))
1732
1656
  },
1733
1657
  comments: {
1734
1658
  anyOf: types,
1735
1659
  default: defaults.comments,
1736
- description: ( localizeWithPath(_moduleId, 90, "Enable quick suggestions inside comments."))
1660
+ description: ( localize(167, "Enable quick suggestions inside comments."))
1737
1661
  },
1738
1662
  other: {
1739
1663
  anyOf: types,
1740
1664
  default: defaults.other,
1741
- description: ( localizeWithPath(_moduleId, 91, "Enable quick suggestions outside of strings and comments."))
1665
+ description: ( localize(168, "Enable quick suggestions outside of strings and comments."))
1742
1666
  },
1743
1667
  },
1744
1668
  default: defaults,
1745
- markdownDescription: ( localizeWithPath(
1746
- _moduleId,
1747
- 92,
1669
+ markdownDescription: ( localize(
1670
+ 169,
1748
1671
  "Controls whether suggestions should automatically show up while typing. This can be controlled for typing in comments, strings, and other code. Quick suggestion can be configured to show as ghost text or with the suggest widget. Also be aware of the {0}-setting which controls if suggestions are triggered by special characters.",
1749
1672
  '`#editor.suggestOnTriggerCharacters#`'
1750
1673
  ))
@@ -1803,17 +1726,13 @@ class EditorRenderLineNumbersOption extends BaseEditorOption {
1803
1726
  type: 'string',
1804
1727
  enum: ['off', 'on', 'relative', 'interval'],
1805
1728
  enumDescriptions: [
1806
- ( localizeWithPath(_moduleId, 93, "Line numbers are not rendered.")),
1807
- ( localizeWithPath(_moduleId, 94, "Line numbers are rendered as absolute number.")),
1808
- ( localizeWithPath(
1809
- _moduleId,
1810
- 95,
1811
- "Line numbers are rendered as distance in lines to cursor position."
1812
- )),
1813
- ( localizeWithPath(_moduleId, 96, "Line numbers are rendered every 10 lines."))
1729
+ ( localize(170, "Line numbers are not rendered.")),
1730
+ ( localize(171, "Line numbers are rendered as absolute number.")),
1731
+ ( localize(172, "Line numbers are rendered as distance in lines to cursor position.")),
1732
+ ( localize(173, "Line numbers are rendered every 10 lines."))
1814
1733
  ],
1815
1734
  default: 'on',
1816
- description: ( localizeWithPath(_moduleId, 97, "Controls the display of line numbers."))
1735
+ description: ( localize(174, "Controls the display of line numbers."))
1817
1736
  });
1818
1737
  }
1819
1738
  validate(lineNumbers) {
@@ -1853,9 +1772,8 @@ function filterValidationDecorations(options) {
1853
1772
  class EditorRulers extends BaseEditorOption {
1854
1773
  constructor() {
1855
1774
  const defaults = [];
1856
- const columnSchema = { type: 'number', description: ( localizeWithPath(
1857
- _moduleId,
1858
- 98,
1775
+ const columnSchema = { type: 'number', description: ( localize(
1776
+ 175,
1859
1777
  "Number of monospace characters at which this editor ruler will render."
1860
1778
  )) };
1861
1779
  super(EditorOption.rulers, 'rulers', defaults, {
@@ -1871,7 +1789,7 @@ class EditorRulers extends BaseEditorOption {
1871
1789
  column: columnSchema,
1872
1790
  color: {
1873
1791
  type: 'string',
1874
- description: ( localizeWithPath(_moduleId, 99, "Color of this editor ruler.")),
1792
+ description: ( localize(176, "Color of this editor ruler.")),
1875
1793
  format: 'color-hex'
1876
1794
  }
1877
1795
  }
@@ -1879,9 +1797,8 @@ class EditorRulers extends BaseEditorOption {
1879
1797
  ]
1880
1798
  },
1881
1799
  default: defaults,
1882
- description: ( localizeWithPath(
1883
- _moduleId,
1884
- 100,
1800
+ description: ( localize(
1801
+ 177,
1885
1802
  "Render vertical rulers after a certain number of monospace characters. Use multiple values for multiple rulers. No rulers are drawn if array is empty."
1886
1803
  ))
1887
1804
  });
@@ -1955,57 +1872,44 @@ class EditorScrollbar extends BaseEditorOption {
1955
1872
  type: 'string',
1956
1873
  enum: ['auto', 'visible', 'hidden'],
1957
1874
  enumDescriptions: [
1958
- ( localizeWithPath(
1959
- _moduleId,
1960
- 101,
1961
- "The vertical scrollbar will be visible only when necessary."
1962
- )),
1963
- ( localizeWithPath(_moduleId, 102, "The vertical scrollbar will always be visible.")),
1964
- ( localizeWithPath(_moduleId, 103, "The vertical scrollbar will always be hidden.")),
1875
+ ( localize(178, "The vertical scrollbar will be visible only when necessary.")),
1876
+ ( localize(179, "The vertical scrollbar will always be visible.")),
1877
+ ( localize(180, "The vertical scrollbar will always be hidden.")),
1965
1878
  ],
1966
1879
  default: 'auto',
1967
- description: ( localizeWithPath(_moduleId, 104, "Controls the visibility of the vertical scrollbar."))
1880
+ description: ( localize(181, "Controls the visibility of the vertical scrollbar."))
1968
1881
  },
1969
1882
  'editor.scrollbar.horizontal': {
1970
1883
  type: 'string',
1971
1884
  enum: ['auto', 'visible', 'hidden'],
1972
1885
  enumDescriptions: [
1973
- ( localizeWithPath(
1974
- _moduleId,
1975
- 105,
1976
- "The horizontal scrollbar will be visible only when necessary."
1977
- )),
1978
- ( localizeWithPath(_moduleId, 106, "The horizontal scrollbar will always be visible.")),
1979
- ( localizeWithPath(_moduleId, 107, "The horizontal scrollbar will always be hidden.")),
1886
+ ( localize(182, "The horizontal scrollbar will be visible only when necessary.")),
1887
+ ( localize(183, "The horizontal scrollbar will always be visible.")),
1888
+ ( localize(184, "The horizontal scrollbar will always be hidden.")),
1980
1889
  ],
1981
1890
  default: 'auto',
1982
- description: ( localizeWithPath(_moduleId, 108, "Controls the visibility of the horizontal scrollbar."))
1891
+ description: ( localize(185, "Controls the visibility of the horizontal scrollbar."))
1983
1892
  },
1984
1893
  'editor.scrollbar.verticalScrollbarSize': {
1985
1894
  type: 'number',
1986
1895
  default: defaults.verticalScrollbarSize,
1987
- description: ( localizeWithPath(_moduleId, 109, "The width of the vertical scrollbar."))
1896
+ description: ( localize(186, "The width of the vertical scrollbar."))
1988
1897
  },
1989
1898
  'editor.scrollbar.horizontalScrollbarSize': {
1990
1899
  type: 'number',
1991
1900
  default: defaults.horizontalScrollbarSize,
1992
- description: ( localizeWithPath(_moduleId, 110, "The height of the horizontal scrollbar."))
1901
+ description: ( localize(187, "The height of the horizontal scrollbar."))
1993
1902
  },
1994
1903
  'editor.scrollbar.scrollByPage': {
1995
1904
  type: 'boolean',
1996
1905
  default: defaults.scrollByPage,
1997
- description: ( localizeWithPath(
1998
- _moduleId,
1999
- 111,
2000
- "Controls whether clicks scroll by page or jump to click position."
2001
- ))
1906
+ description: ( localize(188, "Controls whether clicks scroll by page or jump to click position."))
2002
1907
  },
2003
1908
  'editor.scrollbar.ignoreHorizontalScrollbarInContentHeight': {
2004
1909
  type: 'boolean',
2005
1910
  default: defaults.ignoreHorizontalScrollbarInContentHeight,
2006
- description: ( localizeWithPath(
2007
- _moduleId,
2008
- 112,
1911
+ description: ( localize(
1912
+ 189,
2009
1913
  "When set, the horizontal scrollbar will not increase the size of the editor's content."
2010
1914
  ))
2011
1915
  }
@@ -2063,9 +1967,8 @@ class UnicodeHighlight extends BaseEditorOption {
2063
1967
  type: ['boolean', 'string'],
2064
1968
  enum: [true, false, inUntrustedWorkspace],
2065
1969
  default: defaults.nonBasicASCII,
2066
- description: ( localizeWithPath(
2067
- _moduleId,
2068
- 113,
1970
+ description: ( localize(
1971
+ 190,
2069
1972
  "Controls whether all non-basic ASCII characters are highlighted. Only characters between U+0020 and U+007E, tab, line-feed and carriage-return are considered basic ASCII."
2070
1973
  ))
2071
1974
  },
@@ -2073,9 +1976,8 @@ class UnicodeHighlight extends BaseEditorOption {
2073
1976
  restricted: true,
2074
1977
  type: 'boolean',
2075
1978
  default: defaults.invisibleCharacters,
2076
- description: ( localizeWithPath(
2077
- _moduleId,
2078
- 114,
1979
+ description: ( localize(
1980
+ 191,
2079
1981
  "Controls whether characters that just reserve space or have no width at all are highlighted."
2080
1982
  ))
2081
1983
  },
@@ -2083,9 +1985,8 @@ class UnicodeHighlight extends BaseEditorOption {
2083
1985
  restricted: true,
2084
1986
  type: 'boolean',
2085
1987
  default: defaults.ambiguousCharacters,
2086
- description: ( localizeWithPath(
2087
- _moduleId,
2088
- 115,
1988
+ description: ( localize(
1989
+ 192,
2089
1990
  "Controls whether characters are highlighted that can be confused with basic ASCII characters, except those that are common in the current user locale."
2090
1991
  ))
2091
1992
  },
@@ -2094,9 +1995,8 @@ class UnicodeHighlight extends BaseEditorOption {
2094
1995
  type: ['boolean', 'string'],
2095
1996
  enum: [true, false, inUntrustedWorkspace],
2096
1997
  default: defaults.includeComments,
2097
- description: ( localizeWithPath(
2098
- _moduleId,
2099
- 116,
1998
+ description: ( localize(
1999
+ 193,
2100
2000
  "Controls whether characters in comments should also be subject to Unicode highlighting."
2101
2001
  ))
2102
2002
  },
@@ -2105,9 +2005,8 @@ class UnicodeHighlight extends BaseEditorOption {
2105
2005
  type: ['boolean', 'string'],
2106
2006
  enum: [true, false, inUntrustedWorkspace],
2107
2007
  default: defaults.includeStrings,
2108
- description: ( localizeWithPath(
2109
- _moduleId,
2110
- 117,
2008
+ description: ( localize(
2009
+ 194,
2111
2010
  "Controls whether characters in strings should also be subject to Unicode highlighting."
2112
2011
  ))
2113
2012
  },
@@ -2115,11 +2014,7 @@ class UnicodeHighlight extends BaseEditorOption {
2115
2014
  restricted: true,
2116
2015
  type: 'object',
2117
2016
  default: defaults.allowedCharacters,
2118
- description: ( localizeWithPath(
2119
- _moduleId,
2120
- 118,
2121
- "Defines allowed characters that are not being highlighted."
2122
- )),
2017
+ description: ( localize(195, "Defines allowed characters that are not being highlighted.")),
2123
2018
  additionalProperties: {
2124
2019
  type: 'boolean'
2125
2020
  }
@@ -2131,9 +2026,8 @@ class UnicodeHighlight extends BaseEditorOption {
2131
2026
  type: 'boolean'
2132
2027
  },
2133
2028
  default: defaults.allowedLocales,
2134
- description: ( localizeWithPath(
2135
- _moduleId,
2136
- 119,
2029
+ description: ( localize(
2030
+ 196,
2137
2031
  "Unicode characters that are common in allowed locales are not being highlighted."
2138
2032
  ))
2139
2033
  },
@@ -2203,9 +2097,8 @@ class InlineEditorSuggest extends BaseEditorOption {
2203
2097
  'editor.inlineSuggest.enabled': {
2204
2098
  type: 'boolean',
2205
2099
  default: defaults.enabled,
2206
- description: ( localizeWithPath(
2207
- _moduleId,
2208
- 120,
2100
+ description: ( localize(
2101
+ 197,
2209
2102
  "Controls whether to automatically show inline suggestions in the editor."
2210
2103
  ))
2211
2104
  },
@@ -2214,33 +2107,30 @@ class InlineEditorSuggest extends BaseEditorOption {
2214
2107
  default: defaults.showToolbar,
2215
2108
  enum: ['always', 'onHover', 'never'],
2216
2109
  enumDescriptions: [
2217
- ( localizeWithPath(
2218
- _moduleId,
2219
- 121,
2110
+ ( localize(
2111
+ 198,
2220
2112
  "Show the inline suggestion toolbar whenever an inline suggestion is shown."
2221
2113
  )),
2222
- ( localizeWithPath(
2223
- _moduleId,
2224
- 122,
2114
+ ( localize(
2115
+ 199,
2225
2116
  "Show the inline suggestion toolbar when hovering over an inline suggestion."
2226
2117
  )),
2227
- ( localizeWithPath(_moduleId, 123, "Never show the inline suggestion toolbar.")),
2118
+ ( localize(200, "Never show the inline suggestion toolbar.")),
2228
2119
  ],
2229
- description: ( localizeWithPath(_moduleId, 124, "Controls when to show the inline suggestion toolbar.")),
2120
+ description: ( localize(201, "Controls when to show the inline suggestion toolbar.")),
2230
2121
  },
2231
2122
  'editor.inlineSuggest.suppressSuggestions': {
2232
2123
  type: 'boolean',
2233
2124
  default: defaults.suppressSuggestions,
2234
- description: ( localizeWithPath(
2235
- _moduleId,
2236
- 125,
2125
+ description: ( localize(
2126
+ 202,
2237
2127
  "Controls how inline suggestions interact with the suggest widget. If enabled, the suggest widget is not shown automatically when inline suggestions are available."
2238
2128
  ))
2239
2129
  },
2240
2130
  'editor.inlineSuggest.fontFamily': {
2241
2131
  type: 'string',
2242
2132
  default: defaults.fontFamily,
2243
- description: ( localizeWithPath(_moduleId, 126, "Controls the font family of the inline suggestions."))
2133
+ description: ( localize(203, "Controls the font family of the inline suggestions."))
2244
2134
  },
2245
2135
  });
2246
2136
  }
@@ -2266,46 +2156,34 @@ class InlineEditorEdit extends BaseEditorOption {
2266
2156
  showToolbar: 'onHover',
2267
2157
  fontFamily: 'default',
2268
2158
  keepOnBlur: false,
2269
- backgroundColoring: false,
2270
2159
  };
2271
2160
  super(EditorOption.inlineEdit, 'experimentalInlineEdit', defaults, {
2272
2161
  'editor.experimentalInlineEdit.enabled': {
2273
2162
  type: 'boolean',
2274
2163
  default: defaults.enabled,
2275
- description: ( localizeWithPath(_moduleId, 127, "Controls whether to show inline edits in the editor."))
2164
+ description: ( localize(204, "Controls whether to show inline edits in the editor."))
2276
2165
  },
2277
2166
  'editor.experimentalInlineEdit.showToolbar': {
2278
2167
  type: 'string',
2279
2168
  default: defaults.showToolbar,
2280
2169
  enum: ['always', 'onHover', 'never'],
2281
2170
  enumDescriptions: [
2282
- ( localizeWithPath(
2283
- _moduleId,
2284
- 128,
2171
+ ( localize(
2172
+ 205,
2285
2173
  "Show the inline edit toolbar whenever an inline suggestion is shown."
2286
2174
  )),
2287
- ( localizeWithPath(
2288
- _moduleId,
2289
- 129,
2175
+ ( localize(
2176
+ 206,
2290
2177
  "Show the inline edit toolbar when hovering over an inline suggestion."
2291
2178
  )),
2292
- ( localizeWithPath(_moduleId, 130, "Never show the inline edit toolbar.")),
2179
+ ( localize(207, "Never show the inline edit toolbar.")),
2293
2180
  ],
2294
- description: ( localizeWithPath(_moduleId, 131, "Controls when to show the inline edit toolbar.")),
2181
+ description: ( localize(208, "Controls when to show the inline edit toolbar.")),
2295
2182
  },
2296
2183
  'editor.experimentalInlineEdit.fontFamily': {
2297
2184
  type: 'string',
2298
2185
  default: defaults.fontFamily,
2299
- description: ( localizeWithPath(_moduleId, 132, "Controls the font family of the inline edit."))
2300
- },
2301
- 'editor.experimentalInlineEdit.backgroundColoring': {
2302
- type: 'boolean',
2303
- default: defaults.backgroundColoring,
2304
- description: ( localizeWithPath(
2305
- _moduleId,
2306
- 133,
2307
- "Controls whether to color the background of inline edits."
2308
- ))
2186
+ description: ( localize(209, "Controls the font family of the inline edit."))
2309
2187
  },
2310
2188
  });
2311
2189
  }
@@ -2319,7 +2197,6 @@ class InlineEditorEdit extends BaseEditorOption {
2319
2197
  showToolbar: stringSet(input.showToolbar, this.defaultValue.showToolbar, ['always', 'onHover', 'never']),
2320
2198
  fontFamily: EditorStringOption.string(input.fontFamily, this.defaultValue.fontFamily),
2321
2199
  keepOnBlur: boolean(input.keepOnBlur, this.defaultValue.keepOnBlur),
2322
- backgroundColoring: boolean(input.backgroundColoring, this.defaultValue.backgroundColoring)
2323
2200
  };
2324
2201
  }
2325
2202
  }
@@ -2333,9 +2210,8 @@ class BracketPairColorization extends BaseEditorOption {
2333
2210
  'editor.bracketPairColorization.enabled': {
2334
2211
  type: 'boolean',
2335
2212
  default: defaults.enabled,
2336
- markdownDescription: ( localizeWithPath(
2337
- _moduleId,
2338
- 134,
2213
+ markdownDescription: ( localize(
2214
+ 210,
2339
2215
  "Controls whether bracket pair colorization is enabled or not. Use {0} to override the bracket highlight colors.",
2340
2216
  '`#workbench.colorCustomizations#`'
2341
2217
  ))
@@ -2343,9 +2219,8 @@ class BracketPairColorization extends BaseEditorOption {
2343
2219
  'editor.bracketPairColorization.independentColorPoolPerBracketType': {
2344
2220
  type: 'boolean',
2345
2221
  default: defaults.independentColorPoolPerBracketType,
2346
- description: ( localizeWithPath(
2347
- _moduleId,
2348
- 135,
2222
+ description: ( localize(
2223
+ 211,
2349
2224
  "Controls whether each bracket type has its own independent color pool."
2350
2225
  ))
2351
2226
  },
@@ -2376,70 +2251,54 @@ class GuideOptions extends BaseEditorOption {
2376
2251
  type: ['boolean', 'string'],
2377
2252
  enum: [true, 'active', false],
2378
2253
  enumDescriptions: [
2379
- ( localizeWithPath(_moduleId, 136, "Enables bracket pair guides.")),
2380
- ( localizeWithPath(
2381
- _moduleId,
2382
- 137,
2383
- "Enables bracket pair guides only for the active bracket pair."
2384
- )),
2385
- ( localizeWithPath(_moduleId, 138, "Disables bracket pair guides.")),
2254
+ ( localize(212, "Enables bracket pair guides.")),
2255
+ ( localize(213, "Enables bracket pair guides only for the active bracket pair.")),
2256
+ ( localize(214, "Disables bracket pair guides.")),
2386
2257
  ],
2387
2258
  default: defaults.bracketPairs,
2388
- description: ( localizeWithPath(_moduleId, 139, "Controls whether bracket pair guides are enabled or not."))
2259
+ description: ( localize(215, "Controls whether bracket pair guides are enabled or not."))
2389
2260
  },
2390
2261
  'editor.guides.bracketPairsHorizontal': {
2391
2262
  type: ['boolean', 'string'],
2392
2263
  enum: [true, 'active', false],
2393
2264
  enumDescriptions: [
2394
- ( localizeWithPath(
2395
- _moduleId,
2396
- 140,
2265
+ ( localize(
2266
+ 216,
2397
2267
  "Enables horizontal guides as addition to vertical bracket pair guides."
2398
2268
  )),
2399
- ( localizeWithPath(
2400
- _moduleId,
2401
- 141,
2402
- "Enables horizontal guides only for the active bracket pair."
2403
- )),
2404
- ( localizeWithPath(_moduleId, 142, "Disables horizontal bracket pair guides.")),
2269
+ ( localize(217, "Enables horizontal guides only for the active bracket pair.")),
2270
+ ( localize(218, "Disables horizontal bracket pair guides.")),
2405
2271
  ],
2406
2272
  default: defaults.bracketPairsHorizontal,
2407
- description: ( localizeWithPath(
2408
- _moduleId,
2409
- 143,
2410
- "Controls whether horizontal bracket pair guides are enabled or not."
2411
- ))
2273
+ description: ( localize(219, "Controls whether horizontal bracket pair guides are enabled or not."))
2412
2274
  },
2413
2275
  'editor.guides.highlightActiveBracketPair': {
2414
2276
  type: 'boolean',
2415
2277
  default: defaults.highlightActiveBracketPair,
2416
- description: ( localizeWithPath(
2417
- _moduleId,
2418
- 144,
2278
+ description: ( localize(
2279
+ 220,
2419
2280
  "Controls whether the editor should highlight the active bracket pair."
2420
2281
  ))
2421
2282
  },
2422
2283
  'editor.guides.indentation': {
2423
2284
  type: 'boolean',
2424
2285
  default: defaults.indentation,
2425
- description: ( localizeWithPath(_moduleId, 145, "Controls whether the editor should render indent guides."))
2286
+ description: ( localize(221, "Controls whether the editor should render indent guides."))
2426
2287
  },
2427
2288
  'editor.guides.highlightActiveIndentation': {
2428
2289
  type: ['boolean', 'string'],
2429
2290
  enum: [true, 'always', false],
2430
2291
  enumDescriptions: [
2431
- ( localizeWithPath(_moduleId, 146, "Highlights the active indent guide.")),
2432
- ( localizeWithPath(
2433
- _moduleId,
2434
- 147,
2292
+ ( localize(222, "Highlights the active indent guide.")),
2293
+ ( localize(
2294
+ 223,
2435
2295
  "Highlights the active indent guide even if bracket guides are highlighted."
2436
2296
  )),
2437
- ( localizeWithPath(_moduleId, 148, "Do not highlight the active indent guide.")),
2297
+ ( localize(224, "Do not highlight the active indent guide.")),
2438
2298
  ],
2439
2299
  default: defaults.highlightActiveIndentation,
2440
- description: ( localizeWithPath(
2441
- _moduleId,
2442
- 149,
2300
+ description: ( localize(
2301
+ 225,
2443
2302
  "Controls whether the editor should highlight the active indent guide."
2444
2303
  ))
2445
2304
  }
@@ -2515,48 +2374,36 @@ class EditorSuggest extends BaseEditorOption {
2515
2374
  type: 'string',
2516
2375
  enum: ['insert', 'replace'],
2517
2376
  enumDescriptions: [
2518
- ( localizeWithPath(
2519
- _moduleId,
2520
- 150,
2521
- "Insert suggestion without overwriting text right of the cursor."
2522
- )),
2523
- ( localizeWithPath(
2524
- _moduleId,
2525
- 151,
2526
- "Insert suggestion and overwrite text right of the cursor."
2527
- )),
2377
+ ( localize(226, "Insert suggestion without overwriting text right of the cursor.")),
2378
+ ( localize(227, "Insert suggestion and overwrite text right of the cursor.")),
2528
2379
  ],
2529
2380
  default: defaults.insertMode,
2530
- description: ( localizeWithPath(
2531
- _moduleId,
2532
- 152,
2381
+ description: ( localize(
2382
+ 228,
2533
2383
  "Controls whether words are overwritten when accepting completions. Note that this depends on extensions opting into this feature."
2534
2384
  ))
2535
2385
  },
2536
2386
  'editor.suggest.filterGraceful': {
2537
2387
  type: 'boolean',
2538
2388
  default: defaults.filterGraceful,
2539
- description: ( localizeWithPath(
2540
- _moduleId,
2541
- 153,
2389
+ description: ( localize(
2390
+ 229,
2542
2391
  "Controls whether filtering and sorting suggestions accounts for small typos."
2543
2392
  ))
2544
2393
  },
2545
2394
  'editor.suggest.localityBonus': {
2546
2395
  type: 'boolean',
2547
2396
  default: defaults.localityBonus,
2548
- description: ( localizeWithPath(
2549
- _moduleId,
2550
- 154,
2397
+ description: ( localize(
2398
+ 230,
2551
2399
  "Controls whether sorting favors words that appear close to the cursor."
2552
2400
  ))
2553
2401
  },
2554
2402
  'editor.suggest.shareSuggestSelections': {
2555
2403
  type: 'boolean',
2556
2404
  default: defaults.shareSuggestSelections,
2557
- markdownDescription: ( localizeWithPath(
2558
- _moduleId,
2559
- 155,
2405
+ markdownDescription: ( localize(
2406
+ 231,
2560
2407
  "Controls whether remembered suggestion selections are shared between multiple workspaces and windows (needs `#editor.suggestSelection#`)."
2561
2408
  ))
2562
2409
  },
@@ -2564,31 +2411,23 @@ class EditorSuggest extends BaseEditorOption {
2564
2411
  type: 'string',
2565
2412
  enum: ['always', 'never', 'whenTriggerCharacter', 'whenQuickSuggestion'],
2566
2413
  enumDescriptions: [
2567
- ( localizeWithPath(
2568
- _moduleId,
2569
- 156,
2414
+ ( localize(
2415
+ 232,
2570
2416
  "Always select a suggestion when automatically triggering IntelliSense."
2571
2417
  )),
2572
- ( localizeWithPath(
2573
- _moduleId,
2574
- 157,
2418
+ ( localize(
2419
+ 233,
2575
2420
  "Never select a suggestion when automatically triggering IntelliSense."
2576
2421
  )),
2577
- ( localizeWithPath(
2578
- _moduleId,
2579
- 158,
2422
+ ( localize(
2423
+ 234,
2580
2424
  "Select a suggestion only when triggering IntelliSense from a trigger character."
2581
2425
  )),
2582
- ( localizeWithPath(
2583
- _moduleId,
2584
- 159,
2585
- "Select a suggestion only when triggering IntelliSense as you type."
2586
- )),
2426
+ ( localize(235, "Select a suggestion only when triggering IntelliSense as you type.")),
2587
2427
  ],
2588
2428
  default: defaults.selectionMode,
2589
- markdownDescription: ( localizeWithPath(
2590
- _moduleId,
2591
- 160,
2429
+ markdownDescription: ( localize(
2430
+ 236,
2592
2431
  "Controls whether a suggestion is selected when the widget shows. Note that this only applies to automatically triggered suggestions ({0} and {1}) and that a suggestion is always selected when explicitly invoked, e.g via `Ctrl+Space`.",
2593
2432
  '`#editor.quickSuggestions#`',
2594
2433
  '`#editor.suggestOnTriggerCharacters#`'
@@ -2597,233 +2436,197 @@ class EditorSuggest extends BaseEditorOption {
2597
2436
  'editor.suggest.snippetsPreventQuickSuggestions': {
2598
2437
  type: 'boolean',
2599
2438
  default: defaults.snippetsPreventQuickSuggestions,
2600
- description: ( localizeWithPath(
2601
- _moduleId,
2602
- 161,
2603
- "Controls whether an active snippet prevents quick suggestions."
2604
- ))
2439
+ description: ( localize(237, "Controls whether an active snippet prevents quick suggestions."))
2605
2440
  },
2606
2441
  'editor.suggest.showIcons': {
2607
2442
  type: 'boolean',
2608
2443
  default: defaults.showIcons,
2609
- description: ( localizeWithPath(_moduleId, 162, "Controls whether to show or hide icons in suggestions."))
2444
+ description: ( localize(238, "Controls whether to show or hide icons in suggestions."))
2610
2445
  },
2611
2446
  'editor.suggest.showStatusBar': {
2612
2447
  type: 'boolean',
2613
2448
  default: defaults.showStatusBar,
2614
- description: ( localizeWithPath(
2615
- _moduleId,
2616
- 163,
2449
+ description: ( localize(
2450
+ 239,
2617
2451
  "Controls the visibility of the status bar at the bottom of the suggest widget."
2618
2452
  ))
2619
2453
  },
2620
2454
  'editor.suggest.preview': {
2621
2455
  type: 'boolean',
2622
2456
  default: defaults.preview,
2623
- description: ( localizeWithPath(
2624
- _moduleId,
2625
- 164,
2626
- "Controls whether to preview the suggestion outcome in the editor."
2627
- ))
2457
+ description: ( localize(240, "Controls whether to preview the suggestion outcome in the editor."))
2628
2458
  },
2629
2459
  'editor.suggest.showInlineDetails': {
2630
2460
  type: 'boolean',
2631
2461
  default: defaults.showInlineDetails,
2632
- description: ( localizeWithPath(
2633
- _moduleId,
2634
- 165,
2462
+ description: ( localize(
2463
+ 241,
2635
2464
  "Controls whether suggest details show inline with the label or only in the details widget."
2636
2465
  ))
2637
2466
  },
2638
2467
  'editor.suggest.maxVisibleSuggestions': {
2639
2468
  type: 'number',
2640
- deprecationMessage: ( localizeWithPath(
2641
- _moduleId,
2642
- 166,
2643
- "This setting is deprecated. The suggest widget can now be resized."
2644
- )),
2469
+ deprecationMessage: ( localize(242, "This setting is deprecated. The suggest widget can now be resized.")),
2645
2470
  },
2646
2471
  'editor.suggest.filteredTypes': {
2647
2472
  type: 'object',
2648
- deprecationMessage: ( localizeWithPath(
2649
- _moduleId,
2650
- 167,
2473
+ deprecationMessage: ( localize(
2474
+ 243,
2651
2475
  "This setting is deprecated, please use separate settings like 'editor.suggest.showKeywords' or 'editor.suggest.showSnippets' instead."
2652
2476
  ))
2653
2477
  },
2654
2478
  'editor.suggest.showMethods': {
2655
2479
  type: 'boolean',
2656
2480
  default: true,
2657
- markdownDescription: ( localizeWithPath(_moduleId, 168, "When enabled IntelliSense shows `method`-suggestions."))
2481
+ markdownDescription: ( localize(244, "When enabled IntelliSense shows `method`-suggestions."))
2658
2482
  },
2659
2483
  'editor.suggest.showFunctions': {
2660
2484
  type: 'boolean',
2661
2485
  default: true,
2662
- markdownDescription: ( localizeWithPath(_moduleId, 169, "When enabled IntelliSense shows `function`-suggestions."))
2486
+ markdownDescription: ( localize(245, "When enabled IntelliSense shows `function`-suggestions."))
2663
2487
  },
2664
2488
  'editor.suggest.showConstructors': {
2665
2489
  type: 'boolean',
2666
2490
  default: true,
2667
- markdownDescription: ( localizeWithPath(
2668
- _moduleId,
2669
- 170,
2670
- "When enabled IntelliSense shows `constructor`-suggestions."
2671
- ))
2491
+ markdownDescription: ( localize(246, "When enabled IntelliSense shows `constructor`-suggestions."))
2672
2492
  },
2673
2493
  'editor.suggest.showDeprecated': {
2674
2494
  type: 'boolean',
2675
2495
  default: true,
2676
- markdownDescription: ( localizeWithPath(
2677
- _moduleId,
2678
- 171,
2679
- "When enabled IntelliSense shows `deprecated`-suggestions."
2680
- ))
2496
+ markdownDescription: ( localize(247, "When enabled IntelliSense shows `deprecated`-suggestions."))
2681
2497
  },
2682
2498
  'editor.suggest.matchOnWordStartOnly': {
2683
2499
  type: 'boolean',
2684
2500
  default: true,
2685
- markdownDescription: ( localizeWithPath(
2686
- _moduleId,
2687
- 172,
2501
+ markdownDescription: ( localize(
2502
+ 248,
2688
2503
  "When enabled IntelliSense filtering requires that the first character matches on a word start. For example, `c` on `Console` or `WebContext` but _not_ on `description`. When disabled IntelliSense will show more results but still sorts them by match quality."
2689
2504
  ))
2690
2505
  },
2691
2506
  'editor.suggest.showFields': {
2692
2507
  type: 'boolean',
2693
2508
  default: true,
2694
- markdownDescription: ( localizeWithPath(_moduleId, 173, "When enabled IntelliSense shows `field`-suggestions."))
2509
+ markdownDescription: ( localize(249, "When enabled IntelliSense shows `field`-suggestions."))
2695
2510
  },
2696
2511
  'editor.suggest.showVariables': {
2697
2512
  type: 'boolean',
2698
2513
  default: true,
2699
- markdownDescription: ( localizeWithPath(_moduleId, 174, "When enabled IntelliSense shows `variable`-suggestions."))
2514
+ markdownDescription: ( localize(250, "When enabled IntelliSense shows `variable`-suggestions."))
2700
2515
  },
2701
2516
  'editor.suggest.showClasses': {
2702
2517
  type: 'boolean',
2703
2518
  default: true,
2704
- markdownDescription: ( localizeWithPath(_moduleId, 175, "When enabled IntelliSense shows `class`-suggestions."))
2519
+ markdownDescription: ( localize(251, "When enabled IntelliSense shows `class`-suggestions."))
2705
2520
  },
2706
2521
  'editor.suggest.showStructs': {
2707
2522
  type: 'boolean',
2708
2523
  default: true,
2709
- markdownDescription: ( localizeWithPath(_moduleId, 176, "When enabled IntelliSense shows `struct`-suggestions."))
2524
+ markdownDescription: ( localize(252, "When enabled IntelliSense shows `struct`-suggestions."))
2710
2525
  },
2711
2526
  'editor.suggest.showInterfaces': {
2712
2527
  type: 'boolean',
2713
2528
  default: true,
2714
- markdownDescription: ( localizeWithPath(_moduleId, 177, "When enabled IntelliSense shows `interface`-suggestions."))
2529
+ markdownDescription: ( localize(253, "When enabled IntelliSense shows `interface`-suggestions."))
2715
2530
  },
2716
2531
  'editor.suggest.showModules': {
2717
2532
  type: 'boolean',
2718
2533
  default: true,
2719
- markdownDescription: ( localizeWithPath(_moduleId, 178, "When enabled IntelliSense shows `module`-suggestions."))
2534
+ markdownDescription: ( localize(254, "When enabled IntelliSense shows `module`-suggestions."))
2720
2535
  },
2721
2536
  'editor.suggest.showProperties': {
2722
2537
  type: 'boolean',
2723
2538
  default: true,
2724
- markdownDescription: ( localizeWithPath(_moduleId, 179, "When enabled IntelliSense shows `property`-suggestions."))
2539
+ markdownDescription: ( localize(255, "When enabled IntelliSense shows `property`-suggestions."))
2725
2540
  },
2726
2541
  'editor.suggest.showEvents': {
2727
2542
  type: 'boolean',
2728
2543
  default: true,
2729
- markdownDescription: ( localizeWithPath(_moduleId, 180, "When enabled IntelliSense shows `event`-suggestions."))
2544
+ markdownDescription: ( localize(256, "When enabled IntelliSense shows `event`-suggestions."))
2730
2545
  },
2731
2546
  'editor.suggest.showOperators': {
2732
2547
  type: 'boolean',
2733
2548
  default: true,
2734
- markdownDescription: ( localizeWithPath(_moduleId, 181, "When enabled IntelliSense shows `operator`-suggestions."))
2549
+ markdownDescription: ( localize(257, "When enabled IntelliSense shows `operator`-suggestions."))
2735
2550
  },
2736
2551
  'editor.suggest.showUnits': {
2737
2552
  type: 'boolean',
2738
2553
  default: true,
2739
- markdownDescription: ( localizeWithPath(_moduleId, 182, "When enabled IntelliSense shows `unit`-suggestions."))
2554
+ markdownDescription: ( localize(258, "When enabled IntelliSense shows `unit`-suggestions."))
2740
2555
  },
2741
2556
  'editor.suggest.showValues': {
2742
2557
  type: 'boolean',
2743
2558
  default: true,
2744
- markdownDescription: ( localizeWithPath(_moduleId, 183, "When enabled IntelliSense shows `value`-suggestions."))
2559
+ markdownDescription: ( localize(259, "When enabled IntelliSense shows `value`-suggestions."))
2745
2560
  },
2746
2561
  'editor.suggest.showConstants': {
2747
2562
  type: 'boolean',
2748
2563
  default: true,
2749
- markdownDescription: ( localizeWithPath(_moduleId, 184, "When enabled IntelliSense shows `constant`-suggestions."))
2564
+ markdownDescription: ( localize(260, "When enabled IntelliSense shows `constant`-suggestions."))
2750
2565
  },
2751
2566
  'editor.suggest.showEnums': {
2752
2567
  type: 'boolean',
2753
2568
  default: true,
2754
- markdownDescription: ( localizeWithPath(_moduleId, 185, "When enabled IntelliSense shows `enum`-suggestions."))
2569
+ markdownDescription: ( localize(261, "When enabled IntelliSense shows `enum`-suggestions."))
2755
2570
  },
2756
2571
  'editor.suggest.showEnumMembers': {
2757
2572
  type: 'boolean',
2758
2573
  default: true,
2759
- markdownDescription: ( localizeWithPath(
2760
- _moduleId,
2761
- 186,
2762
- "When enabled IntelliSense shows `enumMember`-suggestions."
2763
- ))
2574
+ markdownDescription: ( localize(262, "When enabled IntelliSense shows `enumMember`-suggestions."))
2764
2575
  },
2765
2576
  'editor.suggest.showKeywords': {
2766
2577
  type: 'boolean',
2767
2578
  default: true,
2768
- markdownDescription: ( localizeWithPath(_moduleId, 187, "When enabled IntelliSense shows `keyword`-suggestions."))
2579
+ markdownDescription: ( localize(263, "When enabled IntelliSense shows `keyword`-suggestions."))
2769
2580
  },
2770
2581
  'editor.suggest.showWords': {
2771
2582
  type: 'boolean',
2772
2583
  default: true,
2773
- markdownDescription: ( localizeWithPath(_moduleId, 188, "When enabled IntelliSense shows `text`-suggestions."))
2584
+ markdownDescription: ( localize(264, "When enabled IntelliSense shows `text`-suggestions."))
2774
2585
  },
2775
2586
  'editor.suggest.showColors': {
2776
2587
  type: 'boolean',
2777
2588
  default: true,
2778
- markdownDescription: ( localizeWithPath(_moduleId, 189, "When enabled IntelliSense shows `color`-suggestions."))
2589
+ markdownDescription: ( localize(265, "When enabled IntelliSense shows `color`-suggestions."))
2779
2590
  },
2780
2591
  'editor.suggest.showFiles': {
2781
2592
  type: 'boolean',
2782
2593
  default: true,
2783
- markdownDescription: ( localizeWithPath(_moduleId, 190, "When enabled IntelliSense shows `file`-suggestions."))
2594
+ markdownDescription: ( localize(266, "When enabled IntelliSense shows `file`-suggestions."))
2784
2595
  },
2785
2596
  'editor.suggest.showReferences': {
2786
2597
  type: 'boolean',
2787
2598
  default: true,
2788
- markdownDescription: ( localizeWithPath(_moduleId, 191, "When enabled IntelliSense shows `reference`-suggestions."))
2599
+ markdownDescription: ( localize(267, "When enabled IntelliSense shows `reference`-suggestions."))
2789
2600
  },
2790
2601
  'editor.suggest.showCustomcolors': {
2791
2602
  type: 'boolean',
2792
2603
  default: true,
2793
- markdownDescription: ( localizeWithPath(
2794
- _moduleId,
2795
- 192,
2796
- "When enabled IntelliSense shows `customcolor`-suggestions."
2797
- ))
2604
+ markdownDescription: ( localize(268, "When enabled IntelliSense shows `customcolor`-suggestions."))
2798
2605
  },
2799
2606
  'editor.suggest.showFolders': {
2800
2607
  type: 'boolean',
2801
2608
  default: true,
2802
- markdownDescription: ( localizeWithPath(_moduleId, 193, "When enabled IntelliSense shows `folder`-suggestions."))
2609
+ markdownDescription: ( localize(269, "When enabled IntelliSense shows `folder`-suggestions."))
2803
2610
  },
2804
2611
  'editor.suggest.showTypeParameters': {
2805
2612
  type: 'boolean',
2806
2613
  default: true,
2807
- markdownDescription: ( localizeWithPath(
2808
- _moduleId,
2809
- 194,
2810
- "When enabled IntelliSense shows `typeParameter`-suggestions."
2811
- ))
2614
+ markdownDescription: ( localize(270, "When enabled IntelliSense shows `typeParameter`-suggestions."))
2812
2615
  },
2813
2616
  'editor.suggest.showSnippets': {
2814
2617
  type: 'boolean',
2815
2618
  default: true,
2816
- markdownDescription: ( localizeWithPath(_moduleId, 195, "When enabled IntelliSense shows `snippet`-suggestions."))
2619
+ markdownDescription: ( localize(271, "When enabled IntelliSense shows `snippet`-suggestions."))
2817
2620
  },
2818
2621
  'editor.suggest.showUsers': {
2819
2622
  type: 'boolean',
2820
2623
  default: true,
2821
- markdownDescription: ( localizeWithPath(_moduleId, 196, "When enabled IntelliSense shows `user`-suggestions."))
2624
+ markdownDescription: ( localize(272, "When enabled IntelliSense shows `user`-suggestions."))
2822
2625
  },
2823
2626
  'editor.suggest.showIssues': {
2824
2627
  type: 'boolean',
2825
2628
  default: true,
2826
- markdownDescription: ( localizeWithPath(_moduleId, 197, "When enabled IntelliSense shows `issues`-suggestions."))
2629
+ markdownDescription: ( localize(273, "When enabled IntelliSense shows `issues`-suggestions."))
2827
2630
  }
2828
2631
  });
2829
2632
  }
@@ -2883,18 +2686,13 @@ class SmartSelect extends BaseEditorOption {
2883
2686
  selectSubwords: true,
2884
2687
  }, {
2885
2688
  'editor.smartSelect.selectLeadingAndTrailingWhitespace': {
2886
- description: ( localizeWithPath(
2887
- _moduleId,
2888
- 198,
2889
- "Whether leading and trailing whitespace should always be selected."
2890
- )),
2689
+ description: ( localize(274, "Whether leading and trailing whitespace should always be selected.")),
2891
2690
  default: true,
2892
2691
  type: 'boolean'
2893
2692
  },
2894
2693
  'editor.smartSelect.selectSubwords': {
2895
- description: ( localizeWithPath(
2896
- _moduleId,
2897
- 199,
2694
+ description: ( localize(
2695
+ 275,
2898
2696
  "Whether subwords (like 'foo' in 'fooBar' or 'foo_bar') should be selected."
2899
2697
  )),
2900
2698
  default: true,
@@ -2918,16 +2716,14 @@ class WordSegmenterLocales extends BaseEditorOption {
2918
2716
  super(EditorOption.wordSegmenterLocales, 'wordSegmenterLocales', defaults, {
2919
2717
  anyOf: [
2920
2718
  {
2921
- description: ( localizeWithPath(
2922
- _moduleId,
2923
- 200,
2719
+ description: ( localize(
2720
+ 276,
2924
2721
  "Locales to be used for word segmentation when doing word related navigations or operations. Specify the BCP 47 language tag of the word you wish to recognize (e.g., ja, zh-CN, zh-Hant-TW, etc.)."
2925
2722
  )),
2926
2723
  type: 'string',
2927
2724
  }, {
2928
- description: ( localizeWithPath(
2929
- _moduleId,
2930
- 200,
2725
+ description: ( localize(
2726
+ 276,
2931
2727
  "Locales to be used for word segmentation when doing word related navigations or operations. Specify the BCP 47 language tag of the word you wish to recognize (e.g., ja, zh-CN, zh-Hant-TW, etc.)."
2932
2728
  )),
2933
2729
  type: 'array',
@@ -2974,12 +2770,12 @@ class WrappingIndentOption extends BaseEditorOption {
2974
2770
  type: 'string',
2975
2771
  enum: ['none', 'same', 'indent', 'deepIndent'],
2976
2772
  enumDescriptions: [
2977
- ( localizeWithPath(_moduleId, 201, "No indentation. Wrapped lines begin at column 1.")),
2978
- ( localizeWithPath(_moduleId, 202, "Wrapped lines get the same indentation as the parent.")),
2979
- ( localizeWithPath(_moduleId, 203, "Wrapped lines get +1 indentation toward the parent.")),
2980
- ( localizeWithPath(_moduleId, 204, "Wrapped lines get +2 indentation toward the parent.")),
2773
+ ( localize(277, "No indentation. Wrapped lines begin at column 1.")),
2774
+ ( localize(278, "Wrapped lines get the same indentation as the parent.")),
2775
+ ( localize(279, "Wrapped lines get +1 indentation toward the parent.")),
2776
+ ( localize(280, "Wrapped lines get +2 indentation toward the parent.")),
2981
2777
  ],
2982
- description: ( localizeWithPath(_moduleId, 205, "Controls the indentation of wrapped lines.")),
2778
+ description: ( localize(281, "Controls the indentation of wrapped lines.")),
2983
2779
  default: 'same'
2984
2780
  }
2985
2781
  });
@@ -3022,17 +2818,15 @@ class EditorDropIntoEditor extends BaseEditorOption {
3022
2818
  'editor.dropIntoEditor.enabled': {
3023
2819
  type: 'boolean',
3024
2820
  default: defaults.enabled,
3025
- markdownDescription: ( localizeWithPath(
3026
- _moduleId,
3027
- 206,
2821
+ markdownDescription: ( localize(
2822
+ 282,
3028
2823
  "Controls whether you can drag and drop a file into a text editor by holding down the `Shift` key (instead of opening the file in an editor)."
3029
2824
  )),
3030
2825
  },
3031
2826
  'editor.dropIntoEditor.showDropSelector': {
3032
2827
  type: 'string',
3033
- markdownDescription: ( localizeWithPath(
3034
- _moduleId,
3035
- 207,
2828
+ markdownDescription: ( localize(
2829
+ 283,
3036
2830
  "Controls if a widget is shown when dropping files into the editor. This widget lets you control how the file is dropped."
3037
2831
  )),
3038
2832
  enum: [
@@ -3040,14 +2834,12 @@ class EditorDropIntoEditor extends BaseEditorOption {
3040
2834
  'never'
3041
2835
  ],
3042
2836
  enumDescriptions: [
3043
- ( localizeWithPath(
3044
- _moduleId,
3045
- 208,
2837
+ ( localize(
2838
+ 284,
3046
2839
  "Show the drop selector widget after a file is dropped into the editor."
3047
2840
  )),
3048
- ( localizeWithPath(
3049
- _moduleId,
3050
- 209,
2841
+ ( localize(
2842
+ 285,
3051
2843
  "Never show the drop selector widget. Instead the default drop provider is always used."
3052
2844
  )),
3053
2845
  ],
@@ -3073,17 +2865,12 @@ class EditorPasteAs extends BaseEditorOption {
3073
2865
  'editor.pasteAs.enabled': {
3074
2866
  type: 'boolean',
3075
2867
  default: defaults.enabled,
3076
- markdownDescription: ( localizeWithPath(
3077
- _moduleId,
3078
- 210,
3079
- "Controls whether you can paste content in different ways."
3080
- )),
2868
+ markdownDescription: ( localize(286, "Controls whether you can paste content in different ways.")),
3081
2869
  },
3082
2870
  'editor.pasteAs.showPasteSelector': {
3083
2871
  type: 'string',
3084
- markdownDescription: ( localizeWithPath(
3085
- _moduleId,
3086
- 211,
2872
+ markdownDescription: ( localize(
2873
+ 287,
3087
2874
  "Controls if a widget is shown when pasting content in to the editor. This widget lets you control how the file is pasted."
3088
2875
  )),
3089
2876
  enum: [
@@ -3091,14 +2878,12 @@ class EditorPasteAs extends BaseEditorOption {
3091
2878
  'never'
3092
2879
  ],
3093
2880
  enumDescriptions: [
3094
- ( localizeWithPath(
3095
- _moduleId,
3096
- 212,
2881
+ ( localize(
2882
+ 288,
3097
2883
  "Show the paste selector widget after content is pasted into the editor."
3098
2884
  )),
3099
- ( localizeWithPath(
3100
- _moduleId,
3101
- 213,
2885
+ ( localize(
2886
+ 289,
3102
2887
  "Never show the paste selector widget. Instead the default pasting behavior is always used."
3103
2888
  )),
3104
2889
  ],
@@ -3291,9 +3076,8 @@ const EditorOptions = {
3291
3076
  EditorOption.acceptSuggestionOnCommitCharacter,
3292
3077
  'acceptSuggestionOnCommitCharacter',
3293
3078
  true,
3294
- { markdownDescription: ( localizeWithPath(
3295
- _moduleId,
3296
- 214,
3079
+ { markdownDescription: ( localize(
3080
+ 290,
3297
3081
  "Controls whether suggestions should be accepted on commit characters. For example, in JavaScript, the semi-colon (`;`) can be a commit character that accepts a suggestion and types that character."
3298
3082
  )) }
3299
3083
  )))),
@@ -3305,16 +3089,14 @@ const EditorOptions = {
3305
3089
  {
3306
3090
  markdownEnumDescriptions: [
3307
3091
  '',
3308
- ( localizeWithPath(
3309
- _moduleId,
3310
- 215,
3092
+ ( localize(
3093
+ 291,
3311
3094
  "Only accept a suggestion with `Enter` when it makes a textual change."
3312
3095
  )),
3313
3096
  ''
3314
3097
  ],
3315
- markdownDescription: ( localizeWithPath(
3316
- _moduleId,
3317
- 216,
3098
+ markdownDescription: ( localize(
3099
+ 292,
3318
3100
  "Controls whether suggestions should be accepted on `Enter`, in addition to `Tab`. Helps to avoid ambiguity between inserting new lines or accepting suggestions."
3319
3101
  ))
3320
3102
  }
@@ -3327,24 +3109,22 @@ const EditorOptions = {
3327
3109
  1,
3328
3110
  Constants.MAX_SAFE_SMALL_INTEGER,
3329
3111
  {
3330
- description: ( localizeWithPath(
3331
- _moduleId,
3332
- 217,
3112
+ description: ( localize(
3113
+ 293,
3333
3114
  "Controls the number of lines in the editor that can be read out by a screen reader at once. When we detect a screen reader we automatically set the default to be 500. Warning: this has a performance implication for numbers larger than the default."
3334
3115
  )),
3335
3116
  tags: ['accessibility']
3336
3117
  }
3337
3118
  )))),
3338
- ariaLabel: register(( (new EditorStringOption(EditorOption.ariaLabel, 'ariaLabel', ( localizeWithPath(_moduleId, 218, "Editor content")))))),
3119
+ ariaLabel: register(( (new EditorStringOption(EditorOption.ariaLabel, 'ariaLabel', ( localize(294, "Editor content")))))),
3339
3120
  ariaRequired: register(( (new EditorBooleanOption(EditorOption.ariaRequired, 'ariaRequired', false, undefined)))),
3340
3121
  screenReaderAnnounceInlineSuggestion: register(( (new EditorBooleanOption(
3341
3122
  EditorOption.screenReaderAnnounceInlineSuggestion,
3342
3123
  'screenReaderAnnounceInlineSuggestion',
3343
3124
  true,
3344
3125
  {
3345
- description: ( localizeWithPath(
3346
- _moduleId,
3347
- 219,
3126
+ description: ( localize(
3127
+ 295,
3348
3128
  "Control whether inline suggestions are announced by a screen reader."
3349
3129
  )),
3350
3130
  tags: ['accessibility']
@@ -3358,21 +3138,18 @@ const EditorOptions = {
3358
3138
  {
3359
3139
  enumDescriptions: [
3360
3140
  '',
3361
- ( localizeWithPath(
3362
- _moduleId,
3363
- 220,
3141
+ ( localize(
3142
+ 296,
3364
3143
  "Use language configurations to determine when to autoclose brackets."
3365
3144
  )),
3366
- ( localizeWithPath(
3367
- _moduleId,
3368
- 221,
3145
+ ( localize(
3146
+ 297,
3369
3147
  "Autoclose brackets only when the cursor is to the left of whitespace."
3370
3148
  )),
3371
3149
  '',
3372
3150
  ],
3373
- description: ( localizeWithPath(
3374
- _moduleId,
3375
- 222,
3151
+ description: ( localize(
3152
+ 298,
3376
3153
  "Controls whether the editor should automatically close brackets after the user adds an opening bracket."
3377
3154
  ))
3378
3155
  }
@@ -3385,21 +3162,18 @@ const EditorOptions = {
3385
3162
  {
3386
3163
  enumDescriptions: [
3387
3164
  '',
3388
- ( localizeWithPath(
3389
- _moduleId,
3390
- 223,
3165
+ ( localize(
3166
+ 299,
3391
3167
  "Use language configurations to determine when to autoclose comments."
3392
3168
  )),
3393
- ( localizeWithPath(
3394
- _moduleId,
3395
- 224,
3169
+ ( localize(
3170
+ 300,
3396
3171
  "Autoclose comments only when the cursor is to the left of whitespace."
3397
3172
  )),
3398
3173
  '',
3399
3174
  ],
3400
- description: ( localizeWithPath(
3401
- _moduleId,
3402
- 225,
3175
+ description: ( localize(
3176
+ 301,
3403
3177
  "Controls whether the editor should automatically close comments after the user adds an opening comment."
3404
3178
  ))
3405
3179
  }
@@ -3412,16 +3186,14 @@ const EditorOptions = {
3412
3186
  {
3413
3187
  enumDescriptions: [
3414
3188
  '',
3415
- ( localizeWithPath(
3416
- _moduleId,
3417
- 226,
3189
+ ( localize(
3190
+ 302,
3418
3191
  "Remove adjacent closing quotes or brackets only if they were automatically inserted."
3419
3192
  )),
3420
3193
  '',
3421
3194
  ],
3422
- description: ( localizeWithPath(
3423
- _moduleId,
3424
- 227,
3195
+ description: ( localize(
3196
+ 303,
3425
3197
  "Controls whether the editor should remove adjacent closing quotes or brackets when deleting."
3426
3198
  ))
3427
3199
  }
@@ -3434,16 +3206,14 @@ const EditorOptions = {
3434
3206
  {
3435
3207
  enumDescriptions: [
3436
3208
  '',
3437
- ( localizeWithPath(
3438
- _moduleId,
3439
- 228,
3209
+ ( localize(
3210
+ 304,
3440
3211
  "Type over closing quotes or brackets only if they were automatically inserted."
3441
3212
  )),
3442
3213
  '',
3443
3214
  ],
3444
- description: ( localizeWithPath(
3445
- _moduleId,
3446
- 229,
3215
+ description: ( localize(
3216
+ 305,
3447
3217
  "Controls whether the editor should type over closing quotes or brackets."
3448
3218
  ))
3449
3219
  }
@@ -3456,21 +3226,12 @@ const EditorOptions = {
3456
3226
  {
3457
3227
  enumDescriptions: [
3458
3228
  '',
3459
- ( localizeWithPath(
3460
- _moduleId,
3461
- 230,
3462
- "Use language configurations to determine when to autoclose quotes."
3463
- )),
3464
- ( localizeWithPath(
3465
- _moduleId,
3466
- 231,
3467
- "Autoclose quotes only when the cursor is to the left of whitespace."
3468
- )),
3229
+ ( localize(306, "Use language configurations to determine when to autoclose quotes.")),
3230
+ ( localize(307, "Autoclose quotes only when the cursor is to the left of whitespace.")),
3469
3231
  '',
3470
3232
  ],
3471
- description: ( localizeWithPath(
3472
- _moduleId,
3473
- 232,
3233
+ description: ( localize(
3234
+ 308,
3474
3235
  "Controls whether the editor should automatically close quotes after the user adds an opening quote."
3475
3236
  ))
3476
3237
  }
@@ -3484,27 +3245,23 @@ const EditorOptions = {
3484
3245
  _autoIndentFromString,
3485
3246
  {
3486
3247
  enumDescriptions: [
3487
- ( localizeWithPath(_moduleId, 233, "The editor will not insert indentation automatically.")),
3488
- ( localizeWithPath(_moduleId, 234, "The editor will keep the current line's indentation.")),
3489
- ( localizeWithPath(
3490
- _moduleId,
3491
- 235,
3248
+ ( localize(309, "The editor will not insert indentation automatically.")),
3249
+ ( localize(310, "The editor will keep the current line's indentation.")),
3250
+ ( localize(
3251
+ 311,
3492
3252
  "The editor will keep the current line's indentation and honor language defined brackets."
3493
3253
  )),
3494
- ( localizeWithPath(
3495
- _moduleId,
3496
- 236,
3254
+ ( localize(
3255
+ 312,
3497
3256
  "The editor will keep the current line's indentation, honor language defined brackets and invoke special onEnterRules defined by languages."
3498
3257
  )),
3499
- ( localizeWithPath(
3500
- _moduleId,
3501
- 237,
3258
+ ( localize(
3259
+ 313,
3502
3260
  "The editor will keep the current line's indentation, honor language defined brackets, invoke special onEnterRules defined by languages, and honor indentationRules defined by languages."
3503
3261
  )),
3504
3262
  ],
3505
- description: ( localizeWithPath(
3506
- _moduleId,
3507
- 238,
3263
+ description: ( localize(
3264
+ 314,
3508
3265
  "Controls whether the editor should automatically adjust the indentation when users type, paste, move or indent lines."
3509
3266
  ))
3510
3267
  }
@@ -3517,18 +3274,16 @@ const EditorOptions = {
3517
3274
  ['languageDefined', 'quotes', 'brackets', 'never'],
3518
3275
  {
3519
3276
  enumDescriptions: [
3520
- ( localizeWithPath(
3521
- _moduleId,
3522
- 239,
3277
+ ( localize(
3278
+ 315,
3523
3279
  "Use language configurations to determine when to automatically surround selections."
3524
3280
  )),
3525
- ( localizeWithPath(_moduleId, 240, "Surround with quotes but not brackets.")),
3526
- ( localizeWithPath(_moduleId, 241, "Surround with brackets but not quotes.")),
3281
+ ( localize(316, "Surround with quotes but not brackets.")),
3282
+ ( localize(317, "Surround with brackets but not quotes.")),
3527
3283
  ''
3528
3284
  ],
3529
- description: ( localizeWithPath(
3530
- _moduleId,
3531
- 242,
3285
+ description: ( localize(
3286
+ 318,
3532
3287
  "Controls whether the editor should automatically surround selections when typing quotes or brackets."
3533
3288
  ))
3534
3289
  }
@@ -3539,27 +3294,25 @@ const EditorOptions = {
3539
3294
  EditorOption.stickyTabStops,
3540
3295
  'stickyTabStops',
3541
3296
  false,
3542
- { description: ( localizeWithPath(
3543
- _moduleId,
3544
- 243,
3297
+ { description: ( localize(
3298
+ 319,
3545
3299
  "Emulate selection behavior of tab characters when using spaces for indentation. Selection will stick to tab stops."
3546
3300
  )) }
3547
3301
  )))),
3548
- codeLens: register(( (new EditorBooleanOption(EditorOption.codeLens, 'codeLens', true, { description: ( localizeWithPath(_moduleId, 244, "Controls whether the editor shows CodeLens.")) })))),
3302
+ codeLens: register(( (new EditorBooleanOption(EditorOption.codeLens, 'codeLens', true, { description: ( localize(320, "Controls whether the editor shows CodeLens.")) })))),
3549
3303
  codeLensFontFamily: register(( (new EditorStringOption(
3550
3304
  EditorOption.codeLensFontFamily,
3551
3305
  'codeLensFontFamily',
3552
3306
  '',
3553
- { description: ( localizeWithPath(_moduleId, 245, "Controls the font family for CodeLens.")) }
3307
+ { description: ( localize(321, "Controls the font family for CodeLens.")) }
3554
3308
  )))),
3555
3309
  codeLensFontSize: register(( (new EditorIntOption(EditorOption.codeLensFontSize, 'codeLensFontSize', 0, 0, 100, {
3556
3310
  type: 'number',
3557
3311
  default: 0,
3558
3312
  minimum: 0,
3559
3313
  maximum: 100,
3560
- markdownDescription: ( localizeWithPath(
3561
- _moduleId,
3562
- 246,
3314
+ markdownDescription: ( localize(
3315
+ 322,
3563
3316
  "Controls the font size in pixels for CodeLens. When set to 0, 90% of `#editor.fontSize#` is used."
3564
3317
  ))
3565
3318
  })))),
@@ -3567,9 +3320,8 @@ const EditorOptions = {
3567
3320
  EditorOption.colorDecorators,
3568
3321
  'colorDecorators',
3569
3322
  true,
3570
- { description: ( localizeWithPath(
3571
- _moduleId,
3572
- 247,
3323
+ { description: ( localize(
3324
+ 323,
3573
3325
  "Controls whether the editor should render the inline color decorators and color picker."
3574
3326
  )) }
3575
3327
  )))),
@@ -3580,25 +3332,15 @@ const EditorOptions = {
3580
3332
  ['clickAndHover', 'hover', 'click'],
3581
3333
  {
3582
3334
  enumDescriptions: [
3583
- ( localizeWithPath(
3584
- _moduleId,
3585
- 248,
3335
+ ( localize(
3336
+ 324,
3586
3337
  "Make the color picker appear both on click and hover of the color decorator"
3587
3338
  )),
3588
- ( localizeWithPath(
3589
- _moduleId,
3590
- 249,
3591
- "Make the color picker appear on hover of the color decorator"
3592
- )),
3593
- ( localizeWithPath(
3594
- _moduleId,
3595
- 250,
3596
- "Make the color picker appear on click of the color decorator"
3597
- ))
3339
+ ( localize(325, "Make the color picker appear on hover of the color decorator")),
3340
+ ( localize(326, "Make the color picker appear on click of the color decorator"))
3598
3341
  ],
3599
- description: ( localizeWithPath(
3600
- _moduleId,
3601
- 251,
3342
+ description: ( localize(
3343
+ 327,
3602
3344
  "Controls the condition to make a color picker appear from a color decorator"
3603
3345
  ))
3604
3346
  }
@@ -3610,9 +3352,8 @@ const EditorOptions = {
3610
3352
  1,
3611
3353
  1000000,
3612
3354
  {
3613
- markdownDescription: ( localizeWithPath(
3614
- _moduleId,
3615
- 252,
3355
+ markdownDescription: ( localize(
3356
+ 328,
3616
3357
  "Controls the max number of color decorators that can be rendered in an editor at once."
3617
3358
  ))
3618
3359
  }
@@ -3621,9 +3362,8 @@ const EditorOptions = {
3621
3362
  EditorOption.columnSelection,
3622
3363
  'columnSelection',
3623
3364
  false,
3624
- { description: ( localizeWithPath(
3625
- _moduleId,
3626
- 253,
3365
+ { description: ( localize(
3366
+ 329,
3627
3367
  "Enable that the selection with the mouse and keys is doing column selection."
3628
3368
  )) }
3629
3369
  )))),
@@ -3633,9 +3373,8 @@ const EditorOptions = {
3633
3373
  EditorOption.copyWithSyntaxHighlighting,
3634
3374
  'copyWithSyntaxHighlighting',
3635
3375
  true,
3636
- { description: ( localizeWithPath(
3637
- _moduleId,
3638
- 254,
3376
+ { description: ( localize(
3377
+ 330,
3639
3378
  "Controls whether syntax highlighting should be copied into the clipboard."
3640
3379
  )) }
3641
3380
  )))),
@@ -3646,7 +3385,7 @@ const EditorOptions = {
3646
3385
  'blink',
3647
3386
  ['blink', 'smooth', 'phase', 'expand', 'solid'],
3648
3387
  _cursorBlinkingStyleFromString,
3649
- { description: ( localizeWithPath(_moduleId, 255, "Control the cursor animation style.")) }
3388
+ { description: ( localize(331, "Control the cursor animation style.")) }
3650
3389
  )))),
3651
3390
  cursorSmoothCaretAnimation: register(( (new EditorStringEnumOption(
3652
3391
  EditorOption.cursorSmoothCaretAnimation,
@@ -3655,19 +3394,14 @@ const EditorOptions = {
3655
3394
  ['off', 'explicit', 'on'],
3656
3395
  {
3657
3396
  enumDescriptions: [
3658
- ( localizeWithPath(_moduleId, 256, "Smooth caret animation is disabled.")),
3659
- ( localizeWithPath(
3660
- _moduleId,
3661
- 257,
3397
+ ( localize(332, "Smooth caret animation is disabled.")),
3398
+ ( localize(
3399
+ 333,
3662
3400
  "Smooth caret animation is enabled only when the user moves the cursor with an explicit gesture."
3663
3401
  )),
3664
- ( localizeWithPath(_moduleId, 258, "Smooth caret animation is always enabled."))
3402
+ ( localize(334, "Smooth caret animation is always enabled."))
3665
3403
  ],
3666
- description: ( localizeWithPath(
3667
- _moduleId,
3668
- 259,
3669
- "Controls whether the smooth caret animation should be enabled."
3670
- ))
3404
+ description: ( localize(335, "Controls whether the smooth caret animation should be enabled."))
3671
3405
  }
3672
3406
  )))),
3673
3407
  cursorStyle: register(( (new EditorEnumOption(
@@ -3677,7 +3411,7 @@ const EditorOptions = {
3677
3411
  'line',
3678
3412
  ['line', 'block', 'underline', 'line-thin', 'block-outline', 'underline-thin'],
3679
3413
  _cursorStyleFromString,
3680
- { description: ( localizeWithPath(_moduleId, 260, "Controls the cursor style.")) }
3414
+ { description: ( localize(336, "Controls the cursor style.")) }
3681
3415
  )))),
3682
3416
  cursorSurroundingLines: register(( (new EditorIntOption(
3683
3417
  EditorOption.cursorSurroundingLines,
@@ -3685,9 +3419,8 @@ const EditorOptions = {
3685
3419
  0,
3686
3420
  0,
3687
3421
  Constants.MAX_SAFE_SMALL_INTEGER,
3688
- { description: ( localizeWithPath(
3689
- _moduleId,
3690
- 261,
3422
+ { description: ( localize(
3423
+ 337,
3691
3424
  "Controls the minimal number of visible leading lines (minimum 0) and trailing lines (minimum 1) surrounding the cursor. Known as 'scrollOff' or 'scrollOffset' in some other editors."
3692
3425
  )) }
3693
3426
  )))),
@@ -3698,18 +3431,13 @@ const EditorOptions = {
3698
3431
  ['default', 'all'],
3699
3432
  {
3700
3433
  enumDescriptions: [
3701
- ( localizeWithPath(
3702
- _moduleId,
3703
- 262,
3434
+ ( localize(
3435
+ 338,
3704
3436
  "`cursorSurroundingLines` is enforced only when triggered via the keyboard or API."
3705
3437
  )),
3706
- ( localizeWithPath(_moduleId, 263, "`cursorSurroundingLines` is enforced always."))
3438
+ ( localize(339, "`cursorSurroundingLines` is enforced always."))
3707
3439
  ],
3708
- markdownDescription: ( localizeWithPath(
3709
- _moduleId,
3710
- 264,
3711
- "Controls when `#editor.cursorSurroundingLines#` should be enforced."
3712
- ))
3440
+ markdownDescription: ( localize(340, "Controls when `#editor.cursorSurroundingLines#` should be enforced."))
3713
3441
  }
3714
3442
  )))),
3715
3443
  cursorWidth: register(( (new EditorIntOption(
@@ -3718,9 +3446,8 @@ const EditorOptions = {
3718
3446
  0,
3719
3447
  0,
3720
3448
  Constants.MAX_SAFE_SMALL_INTEGER,
3721
- { markdownDescription: ( localizeWithPath(
3722
- _moduleId,
3723
- 265,
3449
+ { markdownDescription: ( localize(
3450
+ 341,
3724
3451
  "Controls the width of the cursor when `#editor.cursorStyle#` is set to `line`."
3725
3452
  )) }
3726
3453
  )))),
@@ -3735,9 +3462,8 @@ const EditorOptions = {
3735
3462
  EditorOption.dragAndDrop,
3736
3463
  'dragAndDrop',
3737
3464
  true,
3738
- { description: ( localizeWithPath(
3739
- _moduleId,
3740
- 266,
3465
+ { description: ( localize(
3466
+ 342,
3741
3467
  "Controls whether the editor should allow moving selections via drag and drop."
3742
3468
  )) }
3743
3469
  )))),
@@ -3751,13 +3477,12 @@ const EditorOptions = {
3751
3477
  ['svg', 'font', 'off'],
3752
3478
  {
3753
3479
  enumDescriptions: [
3754
- ( localizeWithPath(_moduleId, 267, "Use a new rendering method with svgs.")),
3755
- ( localizeWithPath(_moduleId, 268, "Use a new rendering method with font characters.")),
3756
- ( localizeWithPath(_moduleId, 269, "Use the stable rendering method.")),
3480
+ ( localize(343, "Use a new rendering method with svgs.")),
3481
+ ( localize(344, "Use a new rendering method with font characters.")),
3482
+ ( localize(345, "Use the stable rendering method.")),
3757
3483
  ],
3758
- description: ( localizeWithPath(
3759
- _moduleId,
3760
- 270,
3484
+ description: ( localize(
3485
+ 346,
3761
3486
  "Controls whether whitespace is rendered with a new, experimental method."
3762
3487
  ))
3763
3488
  }
@@ -3768,11 +3493,11 @@ const EditorOptions = {
3768
3493
  'fastScrollSensitivity',
3769
3494
  5,
3770
3495
  x => (x <= 0 ? 5 : x),
3771
- { markdownDescription: ( localizeWithPath(_moduleId, 271, "Scrolling speed multiplier when pressing `Alt`.")) }
3496
+ { markdownDescription: ( localize(347, "Scrolling speed multiplier when pressing `Alt`.")) }
3772
3497
  )))),
3773
3498
  find: register(( (new EditorFind()))),
3774
3499
  fixedOverflowWidgets: register(( (new EditorBooleanOption(EditorOption.fixedOverflowWidgets, 'fixedOverflowWidgets', false)))),
3775
- folding: register(( (new EditorBooleanOption(EditorOption.folding, 'folding', true, { description: ( localizeWithPath(_moduleId, 272, "Controls whether the editor has code folding enabled.")) })))),
3500
+ folding: register(( (new EditorBooleanOption(EditorOption.folding, 'folding', true, { description: ( localize(348, "Controls whether the editor has code folding enabled.")) })))),
3776
3501
  foldingStrategy: register(( (new EditorStringEnumOption(
3777
3502
  EditorOption.foldingStrategy,
3778
3503
  'foldingStrategy',
@@ -3780,35 +3505,26 @@ const EditorOptions = {
3780
3505
  ['auto', 'indentation'],
3781
3506
  {
3782
3507
  enumDescriptions: [
3783
- ( localizeWithPath(
3784
- _moduleId,
3785
- 273,
3508
+ ( localize(
3509
+ 349,
3786
3510
  "Use a language-specific folding strategy if available, else the indentation-based one."
3787
3511
  )),
3788
- ( localizeWithPath(_moduleId, 274, "Use the indentation-based folding strategy.")),
3512
+ ( localize(350, "Use the indentation-based folding strategy.")),
3789
3513
  ],
3790
- description: ( localizeWithPath(_moduleId, 275, "Controls the strategy for computing folding ranges."))
3514
+ description: ( localize(351, "Controls the strategy for computing folding ranges."))
3791
3515
  }
3792
3516
  )))),
3793
3517
  foldingHighlight: register(( (new EditorBooleanOption(
3794
3518
  EditorOption.foldingHighlight,
3795
3519
  'foldingHighlight',
3796
3520
  true,
3797
- { description: ( localizeWithPath(
3798
- _moduleId,
3799
- 276,
3800
- "Controls whether the editor should highlight folded ranges."
3801
- )) }
3521
+ { description: ( localize(352, "Controls whether the editor should highlight folded ranges.")) }
3802
3522
  )))),
3803
3523
  foldingImportsByDefault: register(( (new EditorBooleanOption(
3804
3524
  EditorOption.foldingImportsByDefault,
3805
3525
  'foldingImportsByDefault',
3806
3526
  false,
3807
- { description: ( localizeWithPath(
3808
- _moduleId,
3809
- 277,
3810
- "Controls whether the editor automatically collapses import ranges."
3811
- )) }
3527
+ { description: ( localize(353, "Controls whether the editor automatically collapses import ranges.")) }
3812
3528
  )))),
3813
3529
  foldingMaximumRegions: register(( (new EditorIntOption(
3814
3530
  EditorOption.foldingMaximumRegions,
@@ -3816,9 +3532,8 @@ const EditorOptions = {
3816
3532
  5000,
3817
3533
  10,
3818
3534
  65000,
3819
- { description: ( localizeWithPath(
3820
- _moduleId,
3821
- 278,
3535
+ { description: ( localize(
3536
+ 354,
3822
3537
  "The maximum number of foldable regions. Increasing this value may result in the editor becoming less responsive when the current source has a large number of foldable regions."
3823
3538
  )) }
3824
3539
  )))),
@@ -3826,9 +3541,8 @@ const EditorOptions = {
3826
3541
  EditorOption.unfoldOnClickAfterEndOfLine,
3827
3542
  'unfoldOnClickAfterEndOfLine',
3828
3543
  false,
3829
- { description: ( localizeWithPath(
3830
- _moduleId,
3831
- 279,
3544
+ { description: ( localize(
3545
+ 355,
3832
3546
  "Controls whether clicking on the empty content after a folded line will unfold the line."
3833
3547
  )) }
3834
3548
  )))),
@@ -3836,7 +3550,7 @@ const EditorOptions = {
3836
3550
  EditorOption.fontFamily,
3837
3551
  'fontFamily',
3838
3552
  EDITOR_FONT_DEFAULTS.fontFamily,
3839
- { description: ( localizeWithPath(_moduleId, 280, "Controls the font family.")) }
3553
+ { description: ( localize(356, "Controls the font family.")) }
3840
3554
  )))),
3841
3555
  fontInfo: register(( (new EditorFontInfo()))),
3842
3556
  fontLigatures2: register(( (new EditorFontLigatures()))),
@@ -3847,9 +3561,8 @@ const EditorOptions = {
3847
3561
  EditorOption.formatOnPaste,
3848
3562
  'formatOnPaste',
3849
3563
  false,
3850
- { description: ( localizeWithPath(
3851
- _moduleId,
3852
- 281,
3564
+ { description: ( localize(
3565
+ 357,
3853
3566
  "Controls whether the editor should automatically format the pasted content. A formatter must be available and the formatter should be able to format a range in a document."
3854
3567
  )) }
3855
3568
  )))),
@@ -3857,9 +3570,8 @@ const EditorOptions = {
3857
3570
  EditorOption.formatOnType,
3858
3571
  'formatOnType',
3859
3572
  false,
3860
- { description: ( localizeWithPath(
3861
- _moduleId,
3862
- 282,
3573
+ { description: ( localize(
3574
+ 358,
3863
3575
  "Controls whether the editor should automatically format the line after typing."
3864
3576
  )) }
3865
3577
  )))),
@@ -3867,9 +3579,8 @@ const EditorOptions = {
3867
3579
  EditorOption.glyphMargin,
3868
3580
  'glyphMargin',
3869
3581
  true,
3870
- { description: ( localizeWithPath(
3871
- _moduleId,
3872
- 283,
3582
+ { description: ( localize(
3583
+ 359,
3873
3584
  "Controls whether the editor should render the vertical glyph margin. Glyph margin is mostly used for debugging."
3874
3585
  )) }
3875
3586
  )))),
@@ -3878,11 +3589,7 @@ const EditorOptions = {
3878
3589
  EditorOption.hideCursorInOverviewRuler,
3879
3590
  'hideCursorInOverviewRuler',
3880
3591
  false,
3881
- { description: ( localizeWithPath(
3882
- _moduleId,
3883
- 284,
3884
- "Controls whether the cursor should be hidden in the overview ruler."
3885
- )) }
3592
+ { description: ( localize(360, "Controls whether the cursor should be hidden in the overview ruler.")) }
3886
3593
  )))),
3887
3594
  hover: register(( (new EditorHover()))),
3888
3595
  inDiffEditor: register(( (new EditorBooleanOption(EditorOption.inDiffEditor, 'inDiffEditor', false)))),
@@ -3891,7 +3598,7 @@ const EditorOptions = {
3891
3598
  'letterSpacing',
3892
3599
  EDITOR_FONT_DEFAULTS.letterSpacing,
3893
3600
  x => EditorFloatOption.clamp(x, -5, 20),
3894
- { description: ( localizeWithPath(_moduleId, 285, "Controls the letter spacing in pixels.")) }
3601
+ { description: ( localize(361, "Controls the letter spacing in pixels.")) }
3895
3602
  )))),
3896
3603
  lightbulb: register(( (new EditorLightbulb()))),
3897
3604
  lineDecorationsWidth: register(( (new EditorLineDecorationsWidth()))),
@@ -3902,15 +3609,13 @@ const EditorOptions = {
3902
3609
  EditorOption.linkedEditing,
3903
3610
  'linkedEditing',
3904
3611
  false,
3905
- { description: ( localizeWithPath(
3906
- _moduleId,
3907
- 286,
3612
+ { description: ( localize(
3613
+ 362,
3908
3614
  "Controls whether the editor has linked editing enabled. Depending on the language, related symbols such as HTML tags, are updated while editing."
3909
3615
  )) }
3910
3616
  )))),
3911
- links: register(( (new EditorBooleanOption(EditorOption.links, 'links', true, { description: ( localizeWithPath(
3912
- _moduleId,
3913
- 287,
3617
+ links: register(( (new EditorBooleanOption(EditorOption.links, 'links', true, { description: ( localize(
3618
+ 363,
3914
3619
  "Controls whether the editor should detect links and make them clickable."
3915
3620
  )) })))),
3916
3621
  matchBrackets: register(( (new EditorStringEnumOption(
@@ -3918,7 +3623,7 @@ const EditorOptions = {
3918
3623
  'matchBrackets',
3919
3624
  'always',
3920
3625
  ['always', 'near', 'never'],
3921
- { description: ( localizeWithPath(_moduleId, 288, "Highlight matching brackets.")) }
3626
+ { description: ( localize(364, "Highlight matching brackets.")) }
3922
3627
  )))),
3923
3628
  minimap: register(( (new EditorMinimap()))),
3924
3629
  mouseStyle: register(( (new EditorStringEnumOption(EditorOption.mouseStyle, 'mouseStyle', 'text', ['text', 'default', 'copy'])))),
@@ -3927,22 +3632,19 @@ const EditorOptions = {
3927
3632
  'mouseWheelScrollSensitivity',
3928
3633
  1,
3929
3634
  x => (x === 0 ? 1 : x),
3930
- { markdownDescription: ( localizeWithPath(
3931
- _moduleId,
3932
- 289,
3635
+ { markdownDescription: ( localize(
3636
+ 365,
3933
3637
  "A multiplier to be used on the `deltaX` and `deltaY` of mouse wheel scroll events."
3934
3638
  )) }
3935
3639
  )))),
3936
3640
  mouseWheelZoom: register(( (new EditorBooleanOption(EditorOption.mouseWheelZoom, 'mouseWheelZoom', false, {
3937
3641
  markdownDescription: isMacintosh
3938
- ? ( localizeWithPath(
3939
- _moduleId,
3940
- 290,
3642
+ ? ( localize(
3643
+ 366,
3941
3644
  "Zoom the font of the editor when using mouse wheel and holding `Cmd`."
3942
3645
  ))
3943
- : ( localizeWithPath(
3944
- _moduleId,
3945
- 291,
3646
+ : ( localize(
3647
+ 367,
3946
3648
  "Zoom the font of the editor when using mouse wheel and holding `Ctrl`."
3947
3649
  ))
3948
3650
  })))),
@@ -3950,7 +3652,7 @@ const EditorOptions = {
3950
3652
  EditorOption.multiCursorMergeOverlapping,
3951
3653
  'multiCursorMergeOverlapping',
3952
3654
  true,
3953
- { description: ( localizeWithPath(_moduleId, 292, "Merge multiple cursors when they are overlapping.")) }
3655
+ { description: ( localize(368, "Merge multiple cursors when they are overlapping.")) }
3954
3656
  )))),
3955
3657
  multiCursorModifier: register(( (new EditorEnumOption(
3956
3658
  EditorOption.multiCursorModifier,
@@ -3961,20 +3663,11 @@ const EditorOptions = {
3961
3663
  _multiCursorModifierFromString,
3962
3664
  {
3963
3665
  markdownEnumDescriptions: [
3964
- ( localizeWithPath(
3965
- _moduleId,
3966
- 293,
3967
- "Maps to `Control` on Windows and Linux and to `Command` on macOS."
3968
- )),
3969
- ( localizeWithPath(
3970
- _moduleId,
3971
- 294,
3972
- "Maps to `Alt` on Windows and Linux and to `Option` on macOS."
3973
- ))
3666
+ ( localize(369, "Maps to `Control` on Windows and Linux and to `Command` on macOS.")),
3667
+ ( localize(370, "Maps to `Alt` on Windows and Linux and to `Option` on macOS."))
3974
3668
  ],
3975
- markdownDescription: ( localizeWithPath(
3976
- _moduleId,
3977
- 295,
3669
+ markdownDescription: ( localize(
3670
+ 371,
3978
3671
  "The modifier to be used to add multiple cursors with the mouse. The Go to Definition and Open Link mouse gestures will adapt such that they do not conflict with the [multicursor modifier](https://code.visualstudio.com/docs/editor/codebasics#_multicursor-modifier)."
3979
3672
  ))
3980
3673
  }
@@ -3986,20 +3679,18 @@ const EditorOptions = {
3986
3679
  ['spread', 'full'],
3987
3680
  {
3988
3681
  markdownEnumDescriptions: [
3989
- ( localizeWithPath(_moduleId, 296, "Each cursor pastes a single line of the text.")),
3990
- ( localizeWithPath(_moduleId, 297, "Each cursor pastes the full text."))
3682
+ ( localize(372, "Each cursor pastes a single line of the text.")),
3683
+ ( localize(373, "Each cursor pastes the full text."))
3991
3684
  ],
3992
- markdownDescription: ( localizeWithPath(
3993
- _moduleId,
3994
- 298,
3685
+ markdownDescription: ( localize(
3686
+ 374,
3995
3687
  "Controls pasting when the line count of the pasted text matches the cursor count."
3996
3688
  ))
3997
3689
  }
3998
3690
  )))),
3999
3691
  multiCursorLimit: register(( (new EditorIntOption(EditorOption.multiCursorLimit, 'multiCursorLimit', 10000, 1, 100000, {
4000
- markdownDescription: ( localizeWithPath(
4001
- _moduleId,
4002
- 299,
3692
+ markdownDescription: ( localize(
3693
+ 375,
4003
3694
  "Controls the max number of cursors that can be in an active editor at once."
4004
3695
  ))
4005
3696
  })))),
@@ -4010,17 +3701,12 @@ const EditorOptions = {
4010
3701
  ['off', 'singleFile', 'multiFile'],
4011
3702
  {
4012
3703
  markdownEnumDescriptions: [
4013
- ( localizeWithPath(_moduleId, 300, "Does not highlight occurrences.")),
4014
- ( localizeWithPath(_moduleId, 301, "Highlights occurrences only in the current file.")),
4015
- ( localizeWithPath(
4016
- _moduleId,
4017
- 302,
4018
- "Experimental: Highlights occurrences across all valid open files."
4019
- ))
3704
+ ( localize(376, "Does not highlight occurrences.")),
3705
+ ( localize(377, "Highlights occurrences only in the current file.")),
3706
+ ( localize(378, "Experimental: Highlights occurrences across all valid open files."))
4020
3707
  ],
4021
- markdownDescription: ( localizeWithPath(
4022
- _moduleId,
4023
- 303,
3708
+ markdownDescription: ( localize(
3709
+ 379,
4024
3710
  "Controls whether occurrences should be highlighted across open files."
4025
3711
  ))
4026
3712
  }
@@ -4029,9 +3715,8 @@ const EditorOptions = {
4029
3715
  EditorOption.overviewRulerBorder,
4030
3716
  'overviewRulerBorder',
4031
3717
  true,
4032
- { description: ( localizeWithPath(
4033
- _moduleId,
4034
- 304,
3718
+ { description: ( localize(
3719
+ 380,
4035
3720
  "Controls whether a border should be drawn around the overview ruler."
4036
3721
  )) }
4037
3722
  )))),
@@ -4046,12 +3731,11 @@ const EditorOptions = {
4046
3731
  ['tree', 'editor'],
4047
3732
  {
4048
3733
  enumDescriptions: [
4049
- ( localizeWithPath(_moduleId, 305, "Focus the tree when opening peek")),
4050
- ( localizeWithPath(_moduleId, 306, "Focus the editor when opening peek"))
3734
+ ( localize(381, "Focus the tree when opening peek")),
3735
+ ( localize(382, "Focus the editor when opening peek"))
4051
3736
  ],
4052
- description: ( localizeWithPath(
4053
- _moduleId,
4054
- 307,
3737
+ description: ( localize(
3738
+ 383,
4055
3739
  "Controls whether to focus the inline editor or the tree in the peek widget."
4056
3740
  ))
4057
3741
  }
@@ -4061,9 +3745,8 @@ const EditorOptions = {
4061
3745
  EditorOption.definitionLinkOpensInPeek,
4062
3746
  'definitionLinkOpensInPeek',
4063
3747
  false,
4064
- { description: ( localizeWithPath(
4065
- _moduleId,
4066
- 308,
3748
+ { description: ( localize(
3749
+ 384,
4067
3750
  "Controls whether the Go to Definition mouse gesture always opens the peek widget."
4068
3751
  )) }
4069
3752
  )))),
@@ -4074,9 +3757,8 @@ const EditorOptions = {
4074
3757
  10,
4075
3758
  0,
4076
3759
  Constants.MAX_SAFE_SMALL_INTEGER,
4077
- { description: ( localizeWithPath(
4078
- _moduleId,
4079
- 309,
3760
+ { description: ( localize(
3761
+ 385,
4080
3762
  "Controls the delay in milliseconds after which quick suggestions will show up."
4081
3763
  )) }
4082
3764
  )))),
@@ -4086,28 +3768,20 @@ const EditorOptions = {
4086
3768
  EditorOption.renameOnType,
4087
3769
  'renameOnType',
4088
3770
  false,
4089
- { description: ( localizeWithPath(_moduleId, 310, "Controls whether the editor auto renames on type.")), markdownDeprecationMessage: ( localizeWithPath(_moduleId, 311, "Deprecated, use `editor.linkedEditing` instead.")) }
3771
+ { description: ( localize(386, "Controls whether the editor auto renames on type.")), markdownDeprecationMessage: ( localize(387, "Deprecated, use `editor.linkedEditing` instead.")) }
4090
3772
  )))),
4091
3773
  renderControlCharacters: register(( (new EditorBooleanOption(
4092
3774
  EditorOption.renderControlCharacters,
4093
3775
  'renderControlCharacters',
4094
3776
  true,
4095
- { description: ( localizeWithPath(
4096
- _moduleId,
4097
- 312,
4098
- "Controls whether the editor should render control characters."
4099
- )), restricted: true }
3777
+ { description: ( localize(388, "Controls whether the editor should render control characters.")), restricted: true }
4100
3778
  )))),
4101
3779
  renderFinalNewline: register(( (new EditorStringEnumOption(
4102
3780
  EditorOption.renderFinalNewline,
4103
3781
  'renderFinalNewline',
4104
3782
  (isLinux ? 'dimmed' : 'on'),
4105
3783
  ['off', 'on', 'dimmed'],
4106
- { description: ( localizeWithPath(
4107
- _moduleId,
4108
- 313,
4109
- "Render last line number when the file ends with a newline."
4110
- )) }
3784
+ { description: ( localize(389, "Render last line number when the file ends with a newline.")) }
4111
3785
  )))),
4112
3786
  renderLineHighlight: register(( (new EditorStringEnumOption(
4113
3787
  EditorOption.renderLineHighlight,
@@ -4119,22 +3793,17 @@ const EditorOptions = {
4119
3793
  '',
4120
3794
  '',
4121
3795
  '',
4122
- ( localizeWithPath(_moduleId, 314, "Highlights both the gutter and the current line.")),
3796
+ ( localize(390, "Highlights both the gutter and the current line.")),
4123
3797
  ],
4124
- description: ( localizeWithPath(
4125
- _moduleId,
4126
- 315,
4127
- "Controls how the editor should render the current line highlight."
4128
- ))
3798
+ description: ( localize(391, "Controls how the editor should render the current line highlight."))
4129
3799
  }
4130
3800
  )))),
4131
3801
  renderLineHighlightOnlyWhenFocus: register(( (new EditorBooleanOption(
4132
3802
  EditorOption.renderLineHighlightOnlyWhenFocus,
4133
3803
  'renderLineHighlightOnlyWhenFocus',
4134
3804
  false,
4135
- { description: ( localizeWithPath(
4136
- _moduleId,
4137
- 316,
3805
+ { description: ( localize(
3806
+ 392,
4138
3807
  "Controls if the editor should render the current line highlight only when the editor is focused."
4139
3808
  )) }
4140
3809
  )))),
@@ -4152,20 +3821,15 @@ const EditorOptions = {
4152
3821
  {
4153
3822
  enumDescriptions: [
4154
3823
  '',
4155
- ( localizeWithPath(
4156
- _moduleId,
4157
- 317,
3824
+ ( localize(
3825
+ 393,
4158
3826
  "Render whitespace characters except for single spaces between words."
4159
3827
  )),
4160
- ( localizeWithPath(_moduleId, 318, "Render whitespace characters only on selected text.")),
4161
- ( localizeWithPath(_moduleId, 319, "Render only trailing whitespace characters.")),
3828
+ ( localize(394, "Render whitespace characters only on selected text.")),
3829
+ ( localize(395, "Render only trailing whitespace characters.")),
4162
3830
  ''
4163
3831
  ],
4164
- description: ( localizeWithPath(
4165
- _moduleId,
4166
- 320,
4167
- "Controls how the editor should render whitespace characters."
4168
- ))
3832
+ description: ( localize(396, "Controls how the editor should render whitespace characters."))
4169
3833
  }
4170
3834
  )))),
4171
3835
  revealHorizontalRightPadding: register(( (new EditorIntOption(
@@ -4179,7 +3843,7 @@ const EditorOptions = {
4179
3843
  EditorOption.roundedSelection,
4180
3844
  'roundedSelection',
4181
3845
  true,
4182
- { description: ( localizeWithPath(_moduleId, 321, "Controls whether selections should have rounded corners.")) }
3846
+ { description: ( localize(397, "Controls whether selections should have rounded corners.")) }
4183
3847
  )))),
4184
3848
  rulers: register(( (new EditorRulers()))),
4185
3849
  scrollbar: register(( (new EditorScrollbar()))),
@@ -4189,9 +3853,8 @@ const EditorOptions = {
4189
3853
  4,
4190
3854
  0,
4191
3855
  Constants.MAX_SAFE_SMALL_INTEGER,
4192
- { description: ( localizeWithPath(
4193
- _moduleId,
4194
- 322,
3856
+ { description: ( localize(
3857
+ 398,
4195
3858
  "Controls the number of extra characters beyond which the editor will scroll horizontally."
4196
3859
  )) }
4197
3860
  )))),
@@ -4199,37 +3862,27 @@ const EditorOptions = {
4199
3862
  EditorOption.scrollBeyondLastLine,
4200
3863
  'scrollBeyondLastLine',
4201
3864
  true,
4202
- { description: ( localizeWithPath(
4203
- _moduleId,
4204
- 323,
4205
- "Controls whether the editor will scroll beyond the last line."
4206
- )) }
3865
+ { description: ( localize(399, "Controls whether the editor will scroll beyond the last line.")) }
4207
3866
  )))),
4208
3867
  scrollPredominantAxis: register(( (new EditorBooleanOption(
4209
3868
  EditorOption.scrollPredominantAxis,
4210
3869
  'scrollPredominantAxis',
4211
3870
  true,
4212
- { description: ( localizeWithPath(
4213
- _moduleId,
4214
- 324,
3871
+ { description: ( localize(
3872
+ 400,
4215
3873
  "Scroll only along the predominant axis when scrolling both vertically and horizontally at the same time. Prevents horizontal drift when scrolling vertically on a trackpad."
4216
3874
  )) }
4217
3875
  )))),
4218
3876
  selectionClipboard: register(( (new EditorBooleanOption(EditorOption.selectionClipboard, 'selectionClipboard', true, {
4219
- description: ( localizeWithPath(
4220
- _moduleId,
4221
- 325,
4222
- "Controls whether the Linux primary clipboard should be supported."
4223
- )),
3877
+ description: ( localize(401, "Controls whether the Linux primary clipboard should be supported.")),
4224
3878
  included: isLinux
4225
3879
  })))),
4226
3880
  selectionHighlight: register(( (new EditorBooleanOption(
4227
3881
  EditorOption.selectionHighlight,
4228
3882
  'selectionHighlight',
4229
3883
  true,
4230
- { description: ( localizeWithPath(
4231
- _moduleId,
4232
- 326,
3884
+ { description: ( localize(
3885
+ 402,
4233
3886
  "Controls whether the editor should highlight matches similar to the selection."
4234
3887
  )) }
4235
3888
  )))),
@@ -4241,31 +3894,19 @@ const EditorOptions = {
4241
3894
  ['always', 'never', 'mouseover'],
4242
3895
  {
4243
3896
  enumDescriptions: [
4244
- ( localizeWithPath(_moduleId, 327, "Always show the folding controls.")),
4245
- ( localizeWithPath(
4246
- _moduleId,
4247
- 328,
4248
- "Never show the folding controls and reduce the gutter size."
4249
- )),
4250
- ( localizeWithPath(
4251
- _moduleId,
4252
- 329,
4253
- "Only show the folding controls when the mouse is over the gutter."
4254
- )),
3897
+ ( localize(403, "Always show the folding controls.")),
3898
+ ( localize(404, "Never show the folding controls and reduce the gutter size.")),
3899
+ ( localize(405, "Only show the folding controls when the mouse is over the gutter.")),
4255
3900
  ],
4256
- description: ( localizeWithPath(
4257
- _moduleId,
4258
- 330,
4259
- "Controls when the folding controls on the gutter are shown."
4260
- ))
3901
+ description: ( localize(406, "Controls when the folding controls on the gutter are shown."))
4261
3902
  }
4262
3903
  )))),
4263
- showUnused: register(( (new EditorBooleanOption(EditorOption.showUnused, 'showUnused', true, { description: ( localizeWithPath(_moduleId, 331, "Controls fading out of unused code.")) })))),
3904
+ showUnused: register(( (new EditorBooleanOption(EditorOption.showUnused, 'showUnused', true, { description: ( localize(407, "Controls fading out of unused code.")) })))),
4264
3905
  showDeprecated: register(( (new EditorBooleanOption(
4265
3906
  EditorOption.showDeprecated,
4266
3907
  'showDeprecated',
4267
3908
  true,
4268
- { description: ( localizeWithPath(_moduleId, 332, "Controls strikethrough deprecated variables.")) }
3909
+ { description: ( localize(408, "Controls strikethrough deprecated variables.")) }
4269
3910
  )))),
4270
3911
  inlayHints: register(( (new EditorInlayHints()))),
4271
3912
  snippetSuggestions: register(( (new EditorStringEnumOption(
@@ -4275,14 +3916,13 @@ const EditorOptions = {
4275
3916
  ['top', 'bottom', 'inline', 'none'],
4276
3917
  {
4277
3918
  enumDescriptions: [
4278
- ( localizeWithPath(_moduleId, 333, "Show snippet suggestions on top of other suggestions.")),
4279
- ( localizeWithPath(_moduleId, 334, "Show snippet suggestions below other suggestions.")),
4280
- ( localizeWithPath(_moduleId, 335, "Show snippets suggestions with other suggestions.")),
4281
- ( localizeWithPath(_moduleId, 336, "Do not show snippet suggestions.")),
3919
+ ( localize(409, "Show snippet suggestions on top of other suggestions.")),
3920
+ ( localize(410, "Show snippet suggestions below other suggestions.")),
3921
+ ( localize(411, "Show snippets suggestions with other suggestions.")),
3922
+ ( localize(412, "Do not show snippet suggestions.")),
4282
3923
  ],
4283
- description: ( localizeWithPath(
4284
- _moduleId,
4285
- 337,
3924
+ description: ( localize(
3925
+ 413,
4286
3926
  "Controls whether snippets are shown with other suggestions and how they are sorted."
4287
3927
  ))
4288
3928
  }
@@ -4292,11 +3932,7 @@ const EditorOptions = {
4292
3932
  EditorOption.smoothScrolling,
4293
3933
  'smoothScrolling',
4294
3934
  false,
4295
- { description: ( localizeWithPath(
4296
- _moduleId,
4297
- 338,
4298
- "Controls whether the editor will scroll using an animation."
4299
- )) }
3935
+ { description: ( localize(414, "Controls whether the editor will scroll using an animation.")) }
4300
3936
  )))),
4301
3937
  stopRenderingLineAfter: register(( (new EditorIntOption(
4302
3938
  EditorOption.stopRenderingLineAfter,
@@ -4312,9 +3948,8 @@ const EditorOptions = {
4312
3948
  EditorOption.inlineCompletionsAccessibilityVerbose,
4313
3949
  'inlineCompletionsAccessibilityVerbose',
4314
3950
  false,
4315
- { description: ( localizeWithPath(
4316
- _moduleId,
4317
- 339,
3951
+ { description: ( localize(
3952
+ 415,
4318
3953
  "Controls whether the accessibility hint should be provided to screen reader users when an inline completion is shown."
4319
3954
  )) }
4320
3955
  )))),
@@ -4324,9 +3959,8 @@ const EditorOptions = {
4324
3959
  0,
4325
3960
  0,
4326
3961
  1000,
4327
- { markdownDescription: ( localizeWithPath(
4328
- _moduleId,
4329
- 340,
3962
+ { markdownDescription: ( localize(
3963
+ 416,
4330
3964
  "Font size for the suggest widget. When set to {0}, the value of {1} is used.",
4331
3965
  '`0`',
4332
3966
  '`#editor.fontSize#`'
@@ -4338,9 +3972,8 @@ const EditorOptions = {
4338
3972
  0,
4339
3973
  0,
4340
3974
  1000,
4341
- { markdownDescription: ( localizeWithPath(
4342
- _moduleId,
4343
- 341,
3975
+ { markdownDescription: ( localize(
3976
+ 417,
4344
3977
  "Line height for the suggest widget. When set to {0}, the value of {1} is used. The minimum value is 8.",
4345
3978
  '`0`',
4346
3979
  '`#editor.lineHeight#`'
@@ -4350,9 +3983,8 @@ const EditorOptions = {
4350
3983
  EditorOption.suggestOnTriggerCharacters,
4351
3984
  'suggestOnTriggerCharacters',
4352
3985
  true,
4353
- { description: ( localizeWithPath(
4354
- _moduleId,
4355
- 342,
3986
+ { description: ( localize(
3987
+ 418,
4356
3988
  "Controls whether suggestions should automatically show up when typing trigger characters."
4357
3989
  )) }
4358
3990
  )))),
@@ -4363,21 +3995,18 @@ const EditorOptions = {
4363
3995
  ['first', 'recentlyUsed', 'recentlyUsedByPrefix'],
4364
3996
  {
4365
3997
  markdownEnumDescriptions: [
4366
- ( localizeWithPath(_moduleId, 343, "Always select the first suggestion.")),
4367
- ( localizeWithPath(
4368
- _moduleId,
4369
- 344,
3998
+ ( localize(419, "Always select the first suggestion.")),
3999
+ ( localize(
4000
+ 420,
4370
4001
  "Select recent suggestions unless further typing selects one, e.g. `console.| -> console.log` because `log` has been completed recently."
4371
4002
  )),
4372
- ( localizeWithPath(
4373
- _moduleId,
4374
- 345,
4003
+ ( localize(
4004
+ 421,
4375
4005
  "Select suggestions based on previous prefixes that have completed those suggestions, e.g. `co -> console` and `con -> const`."
4376
4006
  )),
4377
4007
  ],
4378
- description: ( localizeWithPath(
4379
- _moduleId,
4380
- 346,
4008
+ description: ( localize(
4009
+ 422,
4381
4010
  "Controls how suggestions are pre-selected when showing the suggest list."
4382
4011
  ))
4383
4012
  }
@@ -4389,19 +4018,17 @@ const EditorOptions = {
4389
4018
  ['on', 'off', 'onlySnippets'],
4390
4019
  {
4391
4020
  enumDescriptions: [
4392
- ( localizeWithPath(
4393
- _moduleId,
4394
- 347,
4021
+ ( localize(
4022
+ 423,
4395
4023
  "Tab complete will insert the best matching suggestion when pressing tab."
4396
4024
  )),
4397
- ( localizeWithPath(_moduleId, 348, "Disable tab completions.")),
4398
- ( localizeWithPath(
4399
- _moduleId,
4400
- 349,
4025
+ ( localize(424, "Disable tab completions.")),
4026
+ ( localize(
4027
+ 425,
4401
4028
  "Tab complete snippets when their prefix match. Works best when 'quickSuggestions' aren't enabled."
4402
4029
  )),
4403
4030
  ],
4404
- description: ( localizeWithPath(_moduleId, 350, "Enables tab completions."))
4031
+ description: ( localize(426, "Enables tab completions."))
4405
4032
  }
4406
4033
  )))),
4407
4034
  tabIndex: register(( (new EditorIntOption(EditorOption.tabIndex, 'tabIndex', 0, -1, Constants.MAX_SAFE_SMALL_INTEGER)))),
@@ -4413,15 +4040,11 @@ const EditorOptions = {
4413
4040
  ['auto', 'off', 'prompt'],
4414
4041
  {
4415
4042
  enumDescriptions: [
4416
- ( localizeWithPath(_moduleId, 351, "Unusual line terminators are automatically removed.")),
4417
- ( localizeWithPath(_moduleId, 352, "Unusual line terminators are ignored.")),
4418
- ( localizeWithPath(_moduleId, 353, "Unusual line terminators prompt to be removed.")),
4043
+ ( localize(427, "Unusual line terminators are automatically removed.")),
4044
+ ( localize(428, "Unusual line terminators are ignored.")),
4045
+ ( localize(429, "Unusual line terminators prompt to be removed.")),
4419
4046
  ],
4420
- description: ( localizeWithPath(
4421
- _moduleId,
4422
- 354,
4423
- "Remove unusual line terminators that might cause problems."
4424
- ))
4047
+ description: ( localize(430, "Remove unusual line terminators that might cause problems."))
4425
4048
  }
4426
4049
  )))),
4427
4050
  useShadowDOM: register(( (new EditorBooleanOption(EditorOption.useShadowDOM, 'useShadowDOM', true)))),
@@ -4429,24 +4052,21 @@ const EditorOptions = {
4429
4052
  EditorOption.useTabStops,
4430
4053
  'useTabStops',
4431
4054
  true,
4432
- { description: ( localizeWithPath(
4433
- _moduleId,
4434
- 355,
4055
+ { description: ( localize(
4056
+ 431,
4435
4057
  "Spaces and tabs are inserted and deleted in alignment with tab stops."
4436
4058
  )) }
4437
4059
  )))),
4438
4060
  wordBreak: register(( (new EditorStringEnumOption(EditorOption.wordBreak, 'wordBreak', 'normal', ['normal', 'keepAll'], {
4439
4061
  markdownEnumDescriptions: [
4440
- ( localizeWithPath(_moduleId, 356, "Use the default line break rule.")),
4441
- ( localizeWithPath(
4442
- _moduleId,
4443
- 357,
4062
+ ( localize(432, "Use the default line break rule.")),
4063
+ ( localize(
4064
+ 433,
4444
4065
  "Word breaks should not be used for Chinese/Japanese/Korean (CJK) text. Non-CJK text behavior is the same as for normal."
4445
4066
  )),
4446
4067
  ],
4447
- description: ( localizeWithPath(
4448
- _moduleId,
4449
- 358,
4068
+ description: ( localize(
4069
+ 434,
4450
4070
  "Controls the word break rules used for Chinese/Japanese/Korean (CJK) text."
4451
4071
  ))
4452
4072
  })))),
@@ -4455,9 +4075,8 @@ const EditorOptions = {
4455
4075
  EditorOption.wordSeparators,
4456
4076
  'wordSeparators',
4457
4077
  USUAL_WORD_SEPARATORS,
4458
- { description: ( localizeWithPath(
4459
- _moduleId,
4460
- 359,
4078
+ { description: ( localize(
4079
+ 435,
4461
4080
  "Characters that will be used as word separators when doing word related navigations or operations."
4462
4081
  )) }
4463
4082
  )))),
@@ -4468,16 +4087,15 @@ const EditorOptions = {
4468
4087
  ['off', 'on', 'wordWrapColumn', 'bounded'],
4469
4088
  {
4470
4089
  markdownEnumDescriptions: [
4471
- ( localizeWithPath(_moduleId, 360, "Lines will never wrap.")),
4472
- ( localizeWithPath(_moduleId, 361, "Lines will wrap at the viewport width.")),
4473
- ( localizeWithPath(_moduleId, 362, "Lines will wrap at `#editor.wordWrapColumn#`.")),
4474
- ( localizeWithPath(
4475
- _moduleId,
4476
- 363,
4090
+ ( localize(436, "Lines will never wrap.")),
4091
+ ( localize(437, "Lines will wrap at the viewport width.")),
4092
+ ( localize(438, "Lines will wrap at `#editor.wordWrapColumn#`.")),
4093
+ ( localize(
4094
+ 439,
4477
4095
  "Lines will wrap at the minimum of viewport and `#editor.wordWrapColumn#`."
4478
4096
  )),
4479
4097
  ],
4480
- description: ( localizeWithPath(_moduleId, 364, "Controls how lines should wrap."))
4098
+ description: ( localize(440, "Controls how lines should wrap."))
4481
4099
  }
4482
4100
  )))),
4483
4101
  wordWrapBreakAfterCharacters: register(( (new EditorStringOption(
@@ -4497,9 +4115,8 @@ const EditorOptions = {
4497
4115
  1,
4498
4116
  Constants.MAX_SAFE_SMALL_INTEGER,
4499
4117
  {
4500
- markdownDescription: ( localizeWithPath(
4501
- _moduleId,
4502
- 365,
4118
+ markdownDescription: ( localize(
4119
+ 441,
4503
4120
  "Controls the wrapping column of the editor when `#editor.wordWrap#` is `wordWrapColumn` or `bounded`."
4504
4121
  ))
4505
4122
  }
@@ -4521,9 +4138,8 @@ const EditorOptions = {
4521
4138
  EditorOption.defaultColorDecorators,
4522
4139
  'defaultColorDecorators',
4523
4140
  false,
4524
- { markdownDescription: ( localizeWithPath(
4525
- _moduleId,
4526
- 366,
4141
+ { markdownDescription: ( localize(
4142
+ 442,
4527
4143
  "Controls whether inline color decorations should be shown using the default document color provider"
4528
4144
  )) }
4529
4145
  )))),
@@ -4532,9 +4148,8 @@ const EditorOptions = {
4532
4148
  EditorOption.tabFocusMode,
4533
4149
  'tabFocusMode',
4534
4150
  false,
4535
- { markdownDescription: ( localizeWithPath(
4536
- _moduleId,
4537
- 367,
4151
+ { markdownDescription: ( localize(
4152
+ 443,
4538
4153
  "Controls whether the editor receives tabs or defers them to the workbench for navigation."
4539
4154
  )) }
4540
4155
  )))),