@codingame/monaco-vscode-api 22.1.8 → 23.0.0

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 (835) hide show
  1. package/extensions.d.ts +1 -1
  2. package/extensions.js +4 -3
  3. package/external/vscode-semver/semver.js +43 -43
  4. package/missing-services.js +170 -43
  5. package/package.json +10 -10
  6. package/services.d.ts +4 -4
  7. package/services.js +3 -4
  8. package/vscode/product.json.js +1 -1
  9. package/vscode/src/vs/base/browser/browser.d.ts +7 -0
  10. package/vscode/src/vs/base/browser/browser.js +5 -2
  11. package/vscode/src/vs/base/browser/dom.d.ts +11 -9
  12. package/vscode/src/vs/base/browser/dom.js +13 -6
  13. package/vscode/src/vs/base/browser/domSanitize.d.ts +1 -1
  14. package/vscode/src/vs/base/browser/domSanitize.js +29 -21
  15. package/vscode/src/vs/base/browser/formattedTextRenderer.js +2 -2
  16. package/vscode/src/vs/base/browser/history.d.ts +2 -2
  17. package/vscode/src/vs/base/browser/keyboardEvent.d.ts +6 -0
  18. package/vscode/src/vs/base/browser/keyboardEvent.js +4 -1
  19. package/vscode/src/vs/base/browser/markdownRenderer.d.ts +5 -4
  20. package/vscode/src/vs/base/browser/markdownRenderer.js +49 -2
  21. package/vscode/src/vs/base/browser/trustedTypes.d.ts +3 -1
  22. package/vscode/src/vs/base/browser/trustedTypes.js +2 -1
  23. package/vscode/src/vs/base/browser/ui/button/button.js +2 -8
  24. package/vscode/src/vs/base/browser/ui/codicons/codicon/codicon.ttf +0 -0
  25. package/vscode/src/vs/base/browser/ui/countBadge/countBadge.css +1 -1
  26. package/vscode/src/vs/base/browser/ui/findinput/findInput.d.ts +2 -0
  27. package/vscode/src/vs/base/browser/ui/findinput/findInput.js +4 -5
  28. package/vscode/src/vs/base/browser/ui/findinput/findInputToggles.d.ts +2 -2
  29. package/vscode/src/vs/base/browser/ui/findinput/findInputToggles.js +3 -4
  30. package/vscode/src/vs/base/browser/ui/findinput/replaceInput.d.ts +2 -0
  31. package/vscode/src/vs/base/browser/ui/findinput/replaceInput.js +2 -2
  32. package/vscode/src/vs/base/browser/ui/highlightedlabel/highlightedLabel.d.ts +1 -6
  33. package/vscode/src/vs/base/browser/ui/highlightedlabel/highlightedLabel.js +6 -7
  34. package/vscode/src/vs/base/browser/ui/hover/hover.d.ts +14 -0
  35. package/vscode/src/vs/base/browser/ui/hover/hover.js +6 -1
  36. package/vscode/src/vs/base/browser/ui/iconLabel/iconLabel.d.ts +4 -1
  37. package/vscode/src/vs/base/browser/ui/iconLabel/iconLabel.js +20 -13
  38. package/vscode/src/vs/base/browser/ui/iconLabel/iconlabel.css +7 -3
  39. package/vscode/src/vs/base/browser/ui/list/listPaging.d.ts +3 -2
  40. package/vscode/src/vs/base/browser/ui/list/listPaging.js +5 -1
  41. package/vscode/src/vs/base/browser/ui/list/listView.d.ts +2 -1
  42. package/vscode/src/vs/base/browser/ui/list/listView.js +4 -3
  43. package/vscode/src/vs/base/browser/ui/list/listWidget.d.ts +1 -1
  44. package/vscode/src/vs/base/browser/ui/list/listWidget.js +5 -5
  45. package/vscode/src/vs/base/browser/ui/progressbar/progressAccessibilitySignal.d.ts +2 -2
  46. package/vscode/src/vs/base/browser/ui/progressbar/progressAccessibilitySignal.js +3 -3
  47. package/vscode/src/vs/base/browser/ui/progressbar/progressbar.js +2 -2
  48. package/vscode/src/vs/base/browser/ui/sash/sash.css +1 -1
  49. package/vscode/src/vs/base/browser/ui/scrollbar/media/scrollbars.css +4 -0
  50. package/vscode/src/vs/base/browser/ui/scrollbar/scrollableElement.js +1 -1
  51. package/vscode/src/vs/base/browser/ui/selectBox/selectBoxCustom.d.ts +1 -0
  52. package/vscode/src/vs/base/browser/ui/selectBox/selectBoxCustom.js +6 -3
  53. package/vscode/src/vs/base/browser/ui/table/table.css +2 -2
  54. package/vscode/src/vs/base/browser/ui/toggle/toggle.d.ts +7 -7
  55. package/vscode/src/vs/base/browser/ui/toggle/toggle.js +12 -9
  56. package/vscode/src/vs/base/browser/ui/toolbar/toolbar.css +7 -0
  57. package/vscode/src/vs/base/browser/ui/toolbar/toolbar.d.ts +10 -0
  58. package/vscode/src/vs/base/browser/ui/toolbar/toolbar.js +91 -13
  59. package/vscode/src/vs/base/browser/ui/tree/abstractTree.d.ts +12 -12
  60. package/vscode/src/vs/base/browser/ui/tree/abstractTree.js +11 -10
  61. package/vscode/src/vs/base/browser/ui/tree/asyncDataTree.js +6 -4
  62. package/vscode/src/vs/base/browser/ui/tree/dataTree.d.ts +1 -1
  63. package/vscode/src/vs/base/browser/ui/tree/indexTreeModel.js +1 -1
  64. package/vscode/src/vs/base/browser/ui/tree/media/tree.css +2 -2
  65. package/vscode/src/vs/base/browser/ui/tree/objectTree.d.ts +2 -2
  66. package/vscode/src/vs/base/browser/ui/tree/tree.d.ts +1 -1
  67. package/vscode/src/vs/base/browser/webWorkerFactory.js +2 -1
  68. package/vscode/src/vs/base/common/actions.d.ts +5 -0
  69. package/vscode/src/vs/base/common/arrays.d.ts +2 -0
  70. package/vscode/src/vs/base/common/arrays.js +11 -1
  71. package/vscode/src/vs/base/common/arraysFind.d.ts +6 -3
  72. package/vscode/src/vs/base/common/arraysFind.js +18 -2
  73. package/vscode/src/vs/base/common/async.d.ts +13 -3
  74. package/vscode/src/vs/base/common/async.js +15 -7
  75. package/vscode/src/vs/base/common/cache.d.ts +11 -0
  76. package/vscode/src/vs/base/common/codicons.d.ts +26 -4
  77. package/vscode/src/vs/base/common/codiconsLibrary.d.ts +26 -4
  78. package/vscode/src/vs/base/common/codiconsLibrary.js +26 -4
  79. package/vscode/src/vs/base/common/collections.d.ts +1 -1
  80. package/vscode/src/vs/base/common/decorators/cancelPreviousCalls.d.ts +1 -1
  81. package/vscode/src/vs/base/common/extpath.js +4 -4
  82. package/vscode/src/vs/base/common/glob.d.ts +7 -3
  83. package/vscode/src/vs/base/common/glob.js +40 -32
  84. package/vscode/src/vs/base/common/history.d.ts +2 -2
  85. package/vscode/src/vs/base/common/htmlContent.d.ts +4 -0
  86. package/vscode/src/vs/base/common/htmlContent.js +5 -1
  87. package/vscode/src/vs/base/common/jsonSchema.d.ts +45 -17
  88. package/vscode/src/vs/base/common/lifecycle.d.ts +18 -3
  89. package/vscode/src/vs/base/common/lifecycle.js +3 -1
  90. package/vscode/src/vs/base/common/network.d.ts +6 -2
  91. package/vscode/src/vs/base/common/network.js +2 -1
  92. package/vscode/src/vs/base/common/oauth.d.ts +128 -3
  93. package/vscode/src/vs/base/common/oauth.js +83 -18
  94. package/vscode/src/vs/base/common/observableInternal/observables/derived.d.ts +2 -2
  95. package/vscode/src/vs/base/common/observableInternal/observables/derived.js +3 -1
  96. package/vscode/src/vs/base/common/observableInternal/utils/promise.d.ts +1 -0
  97. package/vscode/src/vs/base/common/observableInternal/utils/promise.js +3 -0
  98. package/vscode/src/vs/base/common/platform.d.ts +1 -0
  99. package/vscode/src/vs/base/common/policy.d.ts +33 -2
  100. package/vscode/src/vs/base/common/policy.js +13 -0
  101. package/vscode/src/vs/base/common/product.d.ts +2 -0
  102. package/vscode/src/vs/base/common/strings.d.ts +2 -0
  103. package/vscode/src/vs/base/common/strings.js +9 -7
  104. package/vscode/src/vs/base/common/themables.d.ts +8 -0
  105. package/vscode/src/vs/base/common/themables.js +8 -0
  106. package/vscode/src/vs/base/common/types.d.ts +37 -0
  107. package/vscode/src/vs/base/common/types.js +14 -3
  108. package/vscode/src/vs/base/common/validation.d.ts +62 -0
  109. package/vscode/src/vs/base/common/validation.js +182 -0
  110. package/vscode/src/vs/base/common/worker/webWorker.d.ts +15 -14
  111. package/vscode/src/vs/base/common/worker/webWorker.js +28 -14
  112. package/vscode/src/vs/base/parts/storage/common/storage.js +1 -1
  113. package/vscode/src/vs/editor/browser/config/editorConfiguration.js +2 -2
  114. package/vscode/src/vs/editor/browser/config/migrateOptions.d.ts +5 -5
  115. package/vscode/src/vs/editor/browser/config/migrateOptions.js +1 -1
  116. package/vscode/src/vs/editor/browser/controller/editContext/native/nativeEditContext.d.ts +5 -2
  117. package/vscode/src/vs/editor/browser/controller/editContext/native/nativeEditContext.js +19 -12
  118. package/vscode/src/vs/editor/browser/controller/editContext/native/nativeEditContextUtils.d.ts +1 -1
  119. package/vscode/src/vs/editor/browser/controller/mouseHandler.js +2 -1
  120. package/vscode/src/vs/editor/browser/controller/mouseTarget.js +1 -1
  121. package/vscode/src/vs/editor/browser/coreCommands.js +4 -2
  122. package/vscode/src/vs/editor/browser/editorBrowser.d.ts +17 -9
  123. package/vscode/src/vs/editor/browser/editorExtensions.d.ts +17 -15
  124. package/vscode/src/vs/editor/browser/editorExtensions.js +5 -0
  125. package/vscode/src/vs/editor/browser/services/abstractCodeEditorService.d.ts +7 -7
  126. package/vscode/src/vs/editor/browser/services/bulkEditService.d.ts +2 -2
  127. package/vscode/src/vs/editor/browser/services/codeEditorService.service.d.ts +5 -5
  128. package/vscode/src/vs/editor/browser/services/editorWorkerService.d.ts +2 -2
  129. package/vscode/src/vs/editor/browser/services/inlineCompletionsService.js +12 -12
  130. package/vscode/src/vs/editor/browser/services/inlineCompletionsService.service.d.ts +1 -1
  131. package/vscode/src/vs/editor/browser/triggerInlineEditCommandsRegistry.d.ts +8 -0
  132. package/vscode/src/vs/editor/browser/triggerInlineEditCommandsRegistry.js +13 -0
  133. package/vscode/src/vs/editor/browser/view/viewLayer.js +1 -1
  134. package/vscode/src/vs/editor/browser/view.d.ts +1 -1
  135. package/vscode/src/vs/editor/browser/viewParts/viewZones/viewZones.d.ts +1 -1
  136. package/vscode/src/vs/editor/browser/viewParts/viewZones/viewZones.js +1 -0
  137. package/vscode/src/vs/editor/browser/widget/codeEditor/codeEditorContributions.d.ts +2 -2
  138. package/vscode/src/vs/editor/browser/widget/codeEditor/codeEditorWidget.d.ts +6 -7
  139. package/vscode/src/vs/editor/browser/widget/codeEditor/codeEditorWidget.js +6 -3
  140. package/vscode/src/vs/editor/browser/widget/diffEditor/commands.js +12 -12
  141. package/vscode/src/vs/editor/browser/widget/diffEditor/components/accessibleDiffViewer.d.ts +1 -3
  142. package/vscode/src/vs/editor/browser/widget/diffEditor/components/accessibleDiffViewer.js +18 -18
  143. package/vscode/src/vs/editor/browser/widget/diffEditor/components/diffEditorEditors.js +1 -1
  144. package/vscode/src/vs/editor/browser/widget/diffEditor/components/diffEditorViewZones/copySelection.d.ts +18 -0
  145. package/vscode/src/vs/editor/browser/widget/diffEditor/components/diffEditorViewZones/copySelection.js +44 -0
  146. package/vscode/src/vs/editor/browser/widget/diffEditor/components/diffEditorViewZones/diffEditorViewZones.js +4 -3
  147. package/vscode/src/vs/editor/browser/widget/diffEditor/components/diffEditorViewZones/inlineDiffDeletedCodeMargin.d.ts +4 -2
  148. package/vscode/src/vs/editor/browser/widget/diffEditor/components/diffEditorViewZones/inlineDiffDeletedCodeMargin.js +24 -27
  149. package/vscode/src/vs/editor/browser/widget/diffEditor/components/diffEditorViewZones/renderLines.d.ts +21 -4
  150. package/vscode/src/vs/editor/browser/widget/diffEditor/components/diffEditorViewZones/renderLines.js +75 -10
  151. package/vscode/src/vs/editor/browser/widget/diffEditor/delegatingEditorImpl.d.ts +2 -2
  152. package/vscode/src/vs/editor/browser/widget/diffEditor/diffEditor.contribution.js +5 -5
  153. package/vscode/src/vs/editor/browser/widget/diffEditor/diffEditorViewModel.js +1 -1
  154. package/vscode/src/vs/editor/browser/widget/diffEditor/diffEditorWidget.d.ts +2 -1
  155. package/vscode/src/vs/editor/browser/widget/diffEditor/diffEditorWidget.js +13 -3
  156. package/vscode/src/vs/editor/browser/widget/diffEditor/features/hideUnchangedRegionsFeature.js +8 -8
  157. package/vscode/src/vs/editor/browser/widget/diffEditor/features/movedBlocksLinesFeature.js +4 -4
  158. package/vscode/src/vs/editor/browser/widget/diffEditor/features/revertButtonsFeature.js +2 -2
  159. package/vscode/src/vs/editor/browser/widget/diffEditor/registrations.contribution.js +5 -5
  160. package/vscode/src/vs/editor/browser/widget/diffEditor/style.css +11 -0
  161. package/vscode/src/vs/editor/browser/widget/markdownRenderer/browser/editorMarkdownCodeBlockRenderer.d.ts +14 -0
  162. package/vscode/src/vs/editor/browser/widget/markdownRenderer/browser/editorMarkdownCodeBlockRenderer.js +68 -0
  163. package/vscode/src/vs/editor/common/config/editorConfiguration.d.ts +2 -2
  164. package/vscode/src/vs/editor/common/config/editorConfigurationSchema.js +54 -54
  165. package/vscode/src/vs/editor/common/config/editorOptions.d.ts +15 -25
  166. package/vscode/src/vs/editor/common/config/editorOptions.js +530 -473
  167. package/vscode/src/vs/editor/common/config/editorZoom.d.ts +1 -1
  168. package/vscode/src/vs/editor/common/config/fontInfo.d.ts +31 -17
  169. package/vscode/src/vs/editor/common/config/fontInfo.js +16 -25
  170. package/vscode/src/vs/editor/common/config/fontInfoFromSettings.d.ts +11 -0
  171. package/vscode/src/vs/editor/common/config/fontInfoFromSettings.js +26 -0
  172. package/vscode/src/vs/editor/common/core/editorColorRegistry.js +71 -71
  173. package/vscode/src/vs/editor/common/core/position.d.ts +1 -1
  174. package/vscode/src/vs/editor/common/core/position.js +1 -1
  175. package/vscode/src/vs/editor/common/core/range.d.ts +1 -1
  176. package/vscode/src/vs/editor/common/core/range.js +1 -1
  177. package/vscode/src/vs/editor/common/core/selection.d.ts +1 -1
  178. package/vscode/src/vs/editor/common/core/selection.js +1 -1
  179. package/vscode/src/vs/editor/common/core/text/abstractText.d.ts +3 -2
  180. package/vscode/src/vs/editor/common/core/text/abstractText.js +4 -1
  181. package/vscode/src/vs/editor/common/cursor/cursorMoveCommands.d.ts +2 -0
  182. package/vscode/src/vs/editor/common/cursor/cursorMoveCommands.js +10 -1
  183. package/vscode/src/vs/editor/common/cursor/cursorWordOperations.js +8 -0
  184. package/vscode/src/vs/editor/common/editorCommon.d.ts +5 -5
  185. package/vscode/src/vs/editor/common/editorCommon.js +1 -1
  186. package/vscode/src/vs/editor/common/editorContextKeys.d.ts +1 -0
  187. package/vscode/src/vs/editor/common/editorContextKeys.js +47 -46
  188. package/vscode/src/vs/editor/common/languages/language.service.d.ts +3 -3
  189. package/vscode/src/vs/editor/common/languages/languageConfigurationRegistry.service.d.ts +1 -1
  190. package/vscode/src/vs/editor/common/languages/modesRegistry.js +1 -1
  191. package/vscode/src/vs/editor/common/languages/textToHtmlTokenizer.js +22 -11
  192. package/vscode/src/vs/editor/common/languages.d.ts +38 -33
  193. package/vscode/src/vs/editor/common/languages.js +74 -64
  194. package/vscode/src/vs/editor/common/model/decorationProvider.d.ts +1 -1
  195. package/vscode/src/vs/editor/common/model/editStack.js +1 -1
  196. package/vscode/src/vs/editor/common/model/textModel.d.ts +2 -2
  197. package/vscode/src/vs/editor/common/model/textModel.js +4 -3
  198. package/vscode/src/vs/editor/common/model/tokens/treeSitter/tokenStore.d.ts +2 -2
  199. package/vscode/src/vs/editor/common/model/tokens/treeSitter/tokenStore.js +1 -1
  200. package/vscode/src/vs/editor/common/model/tokens/treeSitter/treeSitterSyntaxTokenBackend.js +1 -1
  201. package/vscode/src/vs/editor/common/model.d.ts +2 -2
  202. package/vscode/src/vs/editor/common/model.js +1 -1
  203. package/vscode/src/vs/editor/common/services/editorWebWorker.d.ts +3 -3
  204. package/vscode/src/vs/editor/common/services/editorWebWorker.js +1 -0
  205. package/vscode/src/vs/editor/common/services/editorWorkerHost.d.ts +2 -2
  206. package/vscode/src/vs/editor/common/services/markerDecorations.service.d.ts +1 -1
  207. package/vscode/src/vs/editor/common/services/modelService.d.ts +5 -5
  208. package/vscode/src/vs/editor/common/services/modelService.js +16 -23
  209. package/vscode/src/vs/editor/common/services/textModelSync/textModelSync.impl.d.ts +1 -1
  210. package/vscode/src/vs/editor/common/services/textResourceConfiguration.service.d.ts +1 -1
  211. package/vscode/src/vs/editor/common/services/treeSitter/treeSitterLibraryService.service.d.ts +38 -7
  212. package/vscode/src/vs/editor/common/standalone/standaloneEnums.d.ts +4 -4
  213. package/vscode/src/vs/editor/common/standalone/standaloneEnums.js +6 -6
  214. package/vscode/src/vs/editor/common/standaloneStrings.js +48 -48
  215. package/vscode/src/vs/editor/common/textModelBracketPairs.d.ts +1 -1
  216. package/vscode/src/vs/editor/common/textModelEditSource.d.ts +3 -1
  217. package/vscode/src/vs/editor/common/textModelEditSource.js +3 -2
  218. package/vscode/src/vs/editor/common/tokens/sparseMultilineTokens.js +3 -0
  219. package/vscode/src/vs/editor/common/tokens/sparseTokensStore.js +6 -1
  220. package/vscode/src/vs/editor/common/viewLayout/viewLineRenderer.d.ts +24 -0
  221. package/vscode/src/vs/editor/common/viewLayout/viewLineRenderer.js +39 -3
  222. package/vscode/src/vs/editor/common/viewModel/monospaceLineBreaksComputer.js +25 -13
  223. package/vscode/src/vs/editor/common/viewModel/viewModelImpl.js +2 -1
  224. package/vscode/src/vs/editor/contrib/anchorSelect/browser/anchorSelect.js +6 -6
  225. package/vscode/src/vs/editor/contrib/bracketMatching/browser/bracketMatching.js +8 -7
  226. package/vscode/src/vs/editor/contrib/caretOperations/browser/caretOperations.js +2 -2
  227. package/vscode/src/vs/editor/contrib/caretOperations/browser/transpose.js +1 -1
  228. package/vscode/src/vs/editor/contrib/clipboard/browser/clipboard.js +17 -17
  229. package/vscode/src/vs/editor/contrib/codeAction/browser/codeAction.js +1 -1
  230. package/vscode/src/vs/editor/contrib/codeAction/browser/codeActionCommands.d.ts +42 -3
  231. package/vscode/src/vs/editor/contrib/codeAction/browser/codeActionCommands.js +29 -29
  232. package/vscode/src/vs/editor/contrib/codeAction/browser/codeActionContributions.js +3 -3
  233. package/vscode/src/vs/editor/contrib/codeAction/browser/codeActionController.js +4 -4
  234. package/vscode/src/vs/editor/contrib/codeAction/browser/codeActionMenu.js +8 -8
  235. package/vscode/src/vs/editor/contrib/codeAction/browser/lightBulbWidget.js +9 -9
  236. package/vscode/src/vs/editor/contrib/codelens/browser/codelensController.js +4 -3
  237. package/vscode/src/vs/editor/contrib/colorPicker/browser/colorPickerContribution.js +3 -0
  238. package/vscode/src/vs/editor/contrib/colorPicker/browser/colorPickerParts/colorPickerCloseButton.js +1 -1
  239. package/vscode/src/vs/editor/contrib/colorPicker/browser/colorPickerParts/colorPickerHeader.js +1 -1
  240. package/vscode/src/vs/editor/contrib/colorPicker/browser/hoverColorPicker/hoverColorPickerParticipant.js +1 -1
  241. package/vscode/src/vs/editor/contrib/colorPicker/browser/standaloneColorPicker/standaloneColorPickerActions.js +7 -7
  242. package/vscode/src/vs/editor/contrib/colorPicker/browser/standaloneColorPicker/standaloneColorPickerWidget.js +2 -2
  243. package/vscode/src/vs/editor/contrib/comment/browser/comment.js +17 -13
  244. package/vscode/src/vs/editor/contrib/contextmenu/browser/contextmenu.js +13 -13
  245. package/vscode/src/vs/editor/contrib/cursorUndo/browser/cursorUndo.d.ts +2 -2
  246. package/vscode/src/vs/editor/contrib/cursorUndo/browser/cursorUndo.js +2 -2
  247. package/vscode/src/vs/editor/contrib/dropOrPasteInto/browser/copyPasteContribution.js +7 -5
  248. package/vscode/src/vs/editor/contrib/dropOrPasteInto/browser/copyPasteController.js +9 -9
  249. package/vscode/src/vs/editor/contrib/dropOrPasteInto/browser/defaultProviders.js +8 -8
  250. package/vscode/src/vs/editor/contrib/dropOrPasteInto/browser/dropIntoEditorController.js +3 -3
  251. package/vscode/src/vs/editor/contrib/dropOrPasteInto/browser/postEditWidget.js +2 -2
  252. package/vscode/src/vs/editor/contrib/editorState/browser/keybindingCancellation.js +1 -1
  253. package/vscode/src/vs/editor/contrib/find/browser/findController.d.ts +2 -8
  254. package/vscode/src/vs/editor/contrib/find/browser/findController.js +69 -76
  255. package/vscode/src/vs/editor/contrib/find/browser/findOptionsWidget.js +4 -5
  256. package/vscode/src/vs/editor/contrib/find/browser/findWidget.css +5 -5
  257. package/vscode/src/vs/editor/contrib/find/browser/findWidget.d.ts +2 -2
  258. package/vscode/src/vs/editor/contrib/find/browser/findWidget.js +41 -38
  259. package/vscode/src/vs/editor/contrib/folding/browser/folding.css +4 -4
  260. package/vscode/src/vs/editor/contrib/folding/browser/folding.js +20 -20
  261. package/vscode/src/vs/editor/contrib/folding/browser/foldingDecorations.d.ts +1 -1
  262. package/vscode/src/vs/editor/contrib/folding/browser/foldingDecorations.js +9 -9
  263. package/vscode/src/vs/editor/contrib/fontZoom/browser/fontZoom.js +3 -3
  264. package/vscode/src/vs/editor/contrib/format/browser/format.js +7 -0
  265. package/vscode/src/vs/editor/contrib/format/browser/formatActions.js +2 -2
  266. package/vscode/src/vs/editor/contrib/gotoError/browser/gotoError.js +8 -8
  267. package/vscode/src/vs/editor/contrib/gotoError/browser/gotoErrorWidget.js +14 -14
  268. package/vscode/src/vs/editor/contrib/gotoSymbol/browser/goToCommands.js +39 -39
  269. package/vscode/src/vs/editor/contrib/gotoSymbol/browser/link/goToDefinitionAtPosition.js +2 -2
  270. package/vscode/src/vs/editor/contrib/gotoSymbol/browser/peek/referencesController.js +3 -3
  271. package/vscode/src/vs/editor/contrib/gotoSymbol/browser/peek/referencesTree.js +3 -3
  272. package/vscode/src/vs/editor/contrib/gotoSymbol/browser/peek/referencesWidget.css +2 -1
  273. package/vscode/src/vs/editor/contrib/gotoSymbol/browser/peek/referencesWidget.d.ts +2 -2
  274. package/vscode/src/vs/editor/contrib/gotoSymbol/browser/peek/referencesWidget.js +3 -3
  275. package/vscode/src/vs/editor/contrib/gotoSymbol/browser/referencesModel.js +8 -8
  276. package/vscode/src/vs/editor/contrib/gotoSymbol/browser/symbolNavigation.js +3 -3
  277. package/vscode/src/vs/editor/contrib/gpu/browser/gpuActions.js +4 -4
  278. package/vscode/src/vs/editor/contrib/hover/browser/contentHoverRendered.d.ts +2 -1
  279. package/vscode/src/vs/editor/contrib/hover/browser/contentHoverRendered.js +34 -11
  280. package/vscode/src/vs/editor/contrib/hover/browser/contentHoverWidgetWrapper.d.ts +3 -1
  281. package/vscode/src/vs/editor/contrib/hover/browser/contentHoverWidgetWrapper.js +7 -3
  282. package/vscode/src/vs/editor/contrib/hover/browser/glyphHoverWidget.d.ts +4 -4
  283. package/vscode/src/vs/editor/contrib/hover/browser/glyphHoverWidget.js +26 -12
  284. package/vscode/src/vs/editor/contrib/hover/browser/hover.css +37 -0
  285. package/vscode/src/vs/editor/contrib/hover/browser/hoverAccessibleViews.js +2 -2
  286. package/vscode/src/vs/editor/contrib/hover/browser/hoverActionIds.js +2 -2
  287. package/vscode/src/vs/editor/contrib/hover/browser/hoverActions.js +24 -24
  288. package/vscode/src/vs/editor/contrib/hover/browser/hoverCopyButton.d.ts +15 -0
  289. package/vscode/src/vs/editor/contrib/hover/browser/hoverCopyButton.js +40 -0
  290. package/vscode/src/vs/editor/contrib/hover/browser/markdownHoverParticipant.d.ts +4 -6
  291. package/vscode/src/vs/editor/contrib/hover/browser/markdownHoverParticipant.js +27 -33
  292. package/vscode/src/vs/editor/contrib/hover/browser/markerHoverParticipant.js +5 -5
  293. package/vscode/src/vs/editor/contrib/inPlaceReplace/browser/inPlaceReplace.js +2 -2
  294. package/vscode/src/vs/editor/contrib/indentation/browser/indentation.d.ts +1 -1
  295. package/vscode/src/vs/editor/contrib/indentation/browser/indentation.js +29 -27
  296. package/vscode/src/vs/editor/contrib/inlayHints/browser/inlayHintsController.js +29 -16
  297. package/vscode/src/vs/editor/contrib/inlayHints/browser/inlayHintsHover.d.ts +2 -3
  298. package/vscode/src/vs/editor/contrib/inlayHints/browser/inlayHintsHover.js +18 -20
  299. package/vscode/src/vs/editor/contrib/inlineCompletions/browser/controller/commands.d.ts +5 -12
  300. package/vscode/src/vs/editor/contrib/inlineCompletions/browser/controller/commands.js +64 -53
  301. package/vscode/src/vs/editor/contrib/inlineCompletions/browser/controller/inlineCompletionContextKeys.js +12 -12
  302. package/vscode/src/vs/editor/contrib/inlineCompletions/browser/controller/inlineCompletionsController.js +17 -10
  303. package/vscode/src/vs/editor/contrib/inlineCompletions/browser/hintsWidget/hoverParticipant.d.ts +3 -5
  304. package/vscode/src/vs/editor/contrib/inlineCompletions/browser/hintsWidget/hoverParticipant.js +11 -15
  305. package/vscode/src/vs/editor/contrib/inlineCompletions/browser/hintsWidget/inlineCompletionsHintsWidget.js +6 -6
  306. package/vscode/src/vs/editor/contrib/inlineCompletions/browser/inlineCompletions.contribution.js +2 -4
  307. package/vscode/src/vs/editor/contrib/inlineCompletions/browser/model/inlineCompletionsModel.d.ts +4 -1
  308. package/vscode/src/vs/editor/contrib/inlineCompletions/browser/model/inlineCompletionsModel.js +36 -32
  309. package/vscode/src/vs/editor/contrib/inlineCompletions/browser/model/inlineCompletionsSource.js +5 -4
  310. package/vscode/src/vs/editor/contrib/inlineCompletions/browser/model/inlineSuggestionItem.d.ts +18 -13
  311. package/vscode/src/vs/editor/contrib/inlineCompletions/browser/model/inlineSuggestionItem.js +43 -28
  312. package/vscode/src/vs/editor/contrib/inlineCompletions/browser/model/provideInlineCompletions.d.ts +5 -10
  313. package/vscode/src/vs/editor/contrib/inlineCompletions/browser/model/provideInlineCompletions.js +17 -21
  314. package/vscode/src/vs/editor/contrib/inlineCompletions/browser/telemetry.d.ts +0 -5
  315. package/vscode/src/vs/editor/contrib/inlineCompletions/browser/view/ghostText/ghostTextView.d.ts +1 -3
  316. package/vscode/src/vs/editor/contrib/inlineCompletions/browser/view/ghostText/ghostTextView.js +2 -4
  317. package/vscode/src/vs/editor/contrib/inlineCompletions/browser/view/inlineEdits/components/gutterIndicatorMenu.js +12 -5
  318. package/vscode/src/vs/editor/contrib/inlineCompletions/browser/view/inlineEdits/components/gutterIndicatorView.d.ts +1 -1
  319. package/vscode/src/vs/editor/contrib/inlineCompletions/browser/view/inlineEdits/components/gutterIndicatorView.js +1 -1
  320. package/vscode/src/vs/editor/contrib/inlineCompletions/browser/view/inlineEdits/inlineEditWithChanges.d.ts +4 -3
  321. package/vscode/src/vs/editor/contrib/inlineCompletions/browser/view/inlineEdits/inlineEditWithChanges.js +5 -1
  322. package/vscode/src/vs/editor/contrib/inlineCompletions/browser/view/inlineEdits/inlineEditsModel.d.ts +3 -4
  323. package/vscode/src/vs/editor/contrib/inlineCompletions/browser/view/inlineEdits/inlineEditsModel.js +3 -8
  324. package/vscode/src/vs/editor/contrib/inlineCompletions/browser/view/inlineEdits/inlineEditsView.d.ts +1 -0
  325. package/vscode/src/vs/editor/contrib/inlineCompletions/browser/view/inlineEdits/inlineEditsView.js +40 -10
  326. package/vscode/src/vs/editor/contrib/inlineCompletions/browser/view/inlineEdits/inlineEditsViewInterface.d.ts +4 -4
  327. package/vscode/src/vs/editor/contrib/inlineCompletions/browser/view/inlineEdits/inlineEditsViewProducer.js +3 -4
  328. package/vscode/src/vs/editor/contrib/inlineCompletions/browser/view/inlineEdits/inlineEditsViews/inlineEditsCustomView.d.ts +2 -2
  329. package/vscode/src/vs/editor/contrib/inlineCompletions/browser/view/inlineEdits/inlineEditsViews/inlineEditsCustomView.js +6 -6
  330. package/vscode/src/vs/editor/contrib/inlineCompletions/browser/view/inlineEdits/inlineEditsViews/inlineEditsLineReplacementView.js +1 -1
  331. package/vscode/src/vs/editor/contrib/inlineCompletions/browser/view/inlineEdits/theme.js +20 -20
  332. package/vscode/src/vs/editor/contrib/inlineCompletions/browser/view/inlineEdits/utils/utils.d.ts +3 -3
  333. package/vscode/src/vs/editor/contrib/inlineCompletions/browser/view/inlineEdits/utils/utils.js +9 -6
  334. package/vscode/src/vs/editor/contrib/insertFinalNewLine/browser/insertFinalNewLine.d.ts +1 -1
  335. package/vscode/src/vs/editor/contrib/insertFinalNewLine/browser/insertFinalNewLine.js +1 -1
  336. package/vscode/src/vs/editor/contrib/lineSelection/browser/lineSelection.d.ts +5 -1
  337. package/vscode/src/vs/editor/contrib/lineSelection/browser/lineSelection.js +1 -1
  338. package/vscode/src/vs/editor/contrib/linesOperations/browser/linesOperations.d.ts +8 -2
  339. package/vscode/src/vs/editor/contrib/linesOperations/browser/linesOperations.js +104 -69
  340. package/vscode/src/vs/editor/contrib/linkedEditing/browser/linkedEditing.d.ts +2 -2
  341. package/vscode/src/vs/editor/contrib/linkedEditing/browser/linkedEditing.js +2 -2
  342. package/vscode/src/vs/editor/contrib/links/browser/links.js +10 -10
  343. package/vscode/src/vs/editor/contrib/message/browser/messageController.js +2 -2
  344. package/vscode/src/vs/editor/contrib/multicursor/browser/multicursor.d.ts +12 -4
  345. package/vscode/src/vs/editor/contrib/multicursor/browser/multicursor.js +22 -22
  346. package/vscode/src/vs/editor/contrib/parameterHints/browser/parameterHints.js +1 -1
  347. package/vscode/src/vs/editor/contrib/parameterHints/browser/parameterHintsWidget.d.ts +3 -4
  348. package/vscode/src/vs/editor/contrib/parameterHints/browser/parameterHintsWidget.js +12 -13
  349. package/vscode/src/vs/editor/contrib/peekView/browser/peekView.js +18 -18
  350. package/vscode/src/vs/editor/contrib/placeholderText/browser/placeholderText.contribution.js +1 -1
  351. package/vscode/src/vs/editor/contrib/readOnlyMessage/browser/contribution.js +2 -2
  352. package/vscode/src/vs/editor/contrib/rename/browser/rename.js +13 -12
  353. package/vscode/src/vs/editor/contrib/rename/browser/renameWidget.js +8 -10
  354. package/vscode/src/vs/editor/contrib/semanticTokens/browser/viewportSemanticTokens.d.ts +3 -0
  355. package/vscode/src/vs/editor/contrib/semanticTokens/browser/viewportSemanticTokens.js +33 -1
  356. package/vscode/src/vs/editor/contrib/semanticTokens/common/getSemanticTokens.d.ts +2 -2
  357. package/vscode/src/vs/editor/contrib/smartSelect/browser/smartSelect.js +7 -6
  358. package/vscode/src/vs/editor/contrib/snippet/browser/snippetController2.js +4 -4
  359. package/vscode/src/vs/editor/contrib/snippet/browser/snippetParser.d.ts +1 -1
  360. package/vscode/src/vs/editor/contrib/snippet/browser/snippetVariables.js +11 -4
  361. package/vscode/src/vs/editor/contrib/stickyScroll/browser/stickyScrollActions.js +11 -11
  362. package/vscode/src/vs/editor/contrib/stickyScroll/browser/stickyScrollController.d.ts +1 -1
  363. package/vscode/src/vs/editor/contrib/stickyScroll/browser/stickyScrollProvider.d.ts +1 -1
  364. package/vscode/src/vs/editor/contrib/stickyScroll/browser/stickyScrollWidget.js +2 -2
  365. package/vscode/src/vs/editor/contrib/suggest/browser/suggest.js +8 -8
  366. package/vscode/src/vs/editor/contrib/suggest/browser/suggestAlternatives.d.ts +1 -1
  367. package/vscode/src/vs/editor/contrib/suggest/browser/suggestCommitCharacters.d.ts +1 -1
  368. package/vscode/src/vs/editor/contrib/suggest/browser/suggestController.d.ts +1 -1
  369. package/vscode/src/vs/editor/contrib/suggest/browser/suggestController.js +10 -10
  370. package/vscode/src/vs/editor/contrib/suggest/browser/suggestInlineCompletions.d.ts +2 -2
  371. package/vscode/src/vs/editor/contrib/suggest/browser/suggestInlineCompletions.js +2 -2
  372. package/vscode/src/vs/editor/contrib/suggest/browser/suggestWidget.d.ts +0 -1
  373. package/vscode/src/vs/editor/contrib/suggest/browser/suggestWidget.js +18 -24
  374. package/vscode/src/vs/editor/contrib/suggest/browser/suggestWidgetDetails.d.ts +5 -6
  375. package/vscode/src/vs/editor/contrib/suggest/browser/suggestWidgetDetails.js +16 -19
  376. package/vscode/src/vs/editor/contrib/suggest/browser/suggestWidgetRenderer.js +2 -2
  377. package/vscode/src/vs/editor/contrib/suggest/browser/wordContextKey.js +1 -1
  378. package/vscode/src/vs/editor/contrib/symbolIcons/browser/symbolIcons.css +2 -0
  379. package/vscode/src/vs/editor/contrib/symbolIcons/browser/symbolIcons.js +33 -33
  380. package/vscode/src/vs/editor/contrib/toggleTabFocusMode/browser/toggleTabFocusMode.js +4 -4
  381. package/vscode/src/vs/editor/contrib/tokenization/browser/tokenization.js +1 -1
  382. package/vscode/src/vs/editor/contrib/unicodeHighlighter/browser/bannerController.js +7 -6
  383. package/vscode/src/vs/editor/contrib/unicodeHighlighter/browser/unicodeHighlighter.d.ts +3 -5
  384. package/vscode/src/vs/editor/contrib/unicodeHighlighter/browser/unicodeHighlighter.js +29 -32
  385. package/vscode/src/vs/editor/contrib/unusualLineTerminators/browser/unusualLineTerminators.js +5 -5
  386. package/vscode/src/vs/editor/contrib/wordHighlighter/browser/highlightDecorations.js +9 -9
  387. package/vscode/src/vs/editor/contrib/wordHighlighter/browser/wordHighlighter.js +3 -3
  388. package/vscode/src/vs/editor/contrib/wordOperations/browser/wordOperations.d.ts +5 -5
  389. package/vscode/src/vs/editor/contrib/wordOperations/browser/wordOperations.js +11 -11
  390. package/vscode/src/vs/editor/standalone/browser/standaloneCodeEditor.d.ts +4 -3
  391. package/vscode/src/vs/editor/standalone/browser/standaloneCodeEditor.js +10 -5
  392. package/vscode/src/vs/editor/standalone/browser/standaloneServices.d.ts +5 -4
  393. package/vscode/src/vs/editor/standalone/browser/standaloneServices.js +2 -2
  394. package/vscode/src/vs/editor/standalone/browser/standaloneTreeSitterLibraryService.d.ts +3 -11
  395. package/vscode/src/vs/editor/standalone/browser/standaloneTreeSitterLibraryService.js +8 -2
  396. package/vscode/src/vs/platform/accessibility/browser/accessibilityService.js +2 -2
  397. package/vscode/src/vs/platform/accessibility/browser/accessibleView.d.ts +3 -3
  398. package/vscode/src/vs/platform/accessibilitySignal/browser/accessibilitySignalService.js +62 -62
  399. package/vscode/src/vs/platform/action/common/action.d.ts +1 -1
  400. package/vscode/src/vs/platform/action/common/action.js +1 -1
  401. package/vscode/src/vs/platform/action/common/actionCommonCategories.js +6 -6
  402. package/vscode/src/vs/platform/actionWidget/browser/actionList.d.ts +1 -1
  403. package/vscode/src/vs/platform/actionWidget/browser/actionList.js +4 -4
  404. package/vscode/src/vs/platform/actionWidget/browser/actionWidget.js +7 -7
  405. package/vscode/src/vs/platform/actions/browser/actionViewItemService.service.d.ts +1 -1
  406. package/vscode/src/vs/platform/actions/browser/menuEntryActionViewItem.d.ts +4 -2
  407. package/vscode/src/vs/platform/actions/browser/menuEntryActionViewItem.js +29 -18
  408. package/vscode/src/vs/platform/actions/browser/toolbar.js +2 -2
  409. package/vscode/src/vs/platform/actions/common/actions.d.ts +29 -9
  410. package/vscode/src/vs/platform/actions/common/actions.js +7 -3
  411. package/vscode/src/vs/platform/actions/common/menuResetAction.js +1 -1
  412. package/vscode/src/vs/platform/actions/common/menuService.js +2 -2
  413. package/vscode/src/vs/platform/commands/common/commands.d.ts +8 -10
  414. package/vscode/src/vs/platform/commands/common/commands.service.d.ts +3 -3
  415. package/vscode/src/vs/platform/configuration/common/configuration.service.d.ts +2 -1
  416. package/vscode/src/vs/platform/configuration/common/configurationModels.d.ts +1 -0
  417. package/vscode/src/vs/platform/configuration/common/configurationModels.js +1 -0
  418. package/vscode/src/vs/platform/configuration/common/configurationRegistry.d.ts +8 -1
  419. package/vscode/src/vs/platform/configuration/common/configurationRegistry.js +28 -14
  420. package/vscode/src/vs/platform/contextkey/browser/contextKeyService.js +1 -1
  421. package/vscode/src/vs/platform/contextkey/common/contextkey.js +11 -11
  422. package/vscode/src/vs/platform/contextkey/common/contextkey.service.d.ts +1 -1
  423. package/vscode/src/vs/platform/contextkey/common/contextkeys.js +9 -9
  424. package/vscode/src/vs/platform/contextkey/common/scanner.js +5 -5
  425. package/vscode/src/vs/platform/dataChannel/browser/forwardingTelemetryService.js +1 -1
  426. package/vscode/src/vs/platform/dialogs/common/dialogs.service.d.ts +3 -3
  427. package/vscode/src/vs/platform/dnd/browser/dnd.js +2 -2
  428. package/vscode/src/vs/platform/environment/common/argv.d.ts +1 -0
  429. package/vscode/src/vs/platform/environment/common/environment.service.d.ts +1 -0
  430. package/vscode/src/vs/platform/extensionManagement/common/extensionManagement.d.ts +1 -0
  431. package/vscode/src/vs/platform/extensionManagement/common/extensionManagement.js +31 -23
  432. package/vscode/src/vs/platform/extensionManagement/common/extensionManagement.service.d.ts +1 -1
  433. package/vscode/src/vs/platform/extensionManagement/common/extensionNls.js +1 -1
  434. package/vscode/src/vs/platform/extensionManagement/common/extensionsScannerService.js +7 -7
  435. package/vscode/src/vs/platform/extensions/common/extensionValidator.js +20 -20
  436. package/vscode/src/vs/platform/extensions/common/extensionsApiProposals.d.ts +27 -7
  437. package/vscode/src/vs/platform/extensions/common/extensionsApiProposals.js +31 -11
  438. package/vscode/src/vs/platform/files/browser/htmlFileSystemProvider.js +2 -2
  439. package/vscode/src/vs/platform/files/browser/webFileSystemAccess.d.ts +8 -2
  440. package/vscode/src/vs/platform/files/common/files.js +6 -6
  441. package/vscode/src/vs/platform/history/browser/contextScopedHistoryWidget.js +1 -1
  442. package/vscode/src/vs/{editor/browser/services/hoverService → platform/hover/browser}/hover.css +33 -31
  443. package/vscode/src/vs/{editor/browser/services/hoverService → platform/hover/browser}/hoverService.d.ts +10 -10
  444. package/vscode/src/vs/{editor/browser/services/hoverService → platform/hover/browser}/hoverService.js +47 -40
  445. package/vscode/src/vs/{editor/browser/services/hoverService → platform/hover/browser}/hoverWidget.d.ts +10 -12
  446. package/vscode/src/vs/{editor/browser/services/hoverService → platform/hover/browser}/hoverWidget.js +44 -37
  447. package/vscode/src/vs/{editor/browser/services/hoverService → platform/hover/browser}/updatableHoverWidget.d.ts +3 -3
  448. package/vscode/src/vs/{editor/browser/services/hoverService → platform/hover/browser}/updatableHoverWidget.js +8 -8
  449. package/vscode/src/vs/platform/instantiation/common/descriptors.d.ts +2 -2
  450. package/vscode/src/vs/platform/instantiation/common/instantiation.d.ts +8 -1
  451. package/vscode/src/vs/platform/keybinding/common/abstractKeybindingService.js +4 -4
  452. package/vscode/src/vs/platform/keybinding/common/keybinding.service.d.ts +1 -1
  453. package/vscode/src/vs/platform/keybinding/common/keybindingsRegistry.d.ts +3 -3
  454. package/vscode/src/vs/platform/label/common/label.service.d.ts +1 -1
  455. package/vscode/src/vs/platform/languagePacks/common/languagePacks.service.d.ts +1 -1
  456. package/vscode/src/vs/platform/list/browser/listService.js +29 -29
  457. package/vscode/src/vs/platform/log/common/log.d.ts +42 -42
  458. package/vscode/src/vs/platform/log/common/log.js +6 -6
  459. package/vscode/src/vs/platform/log/common/logService.d.ts +5 -5
  460. package/vscode/src/vs/platform/markdown/browser/markdownRenderer.d.ts +32 -0
  461. package/vscode/src/vs/platform/markdown/browser/markdownRenderer.js +61 -0
  462. package/vscode/src/vs/platform/markdown/browser/markdownRenderer.service.d.ts +17 -0
  463. package/vscode/src/vs/platform/markdown/browser/markdownRenderer.service.js +6 -0
  464. package/vscode/src/vs/platform/markers/common/markerService.js +2 -2
  465. package/vscode/src/vs/platform/markers/common/markers.js +6 -6
  466. package/vscode/src/vs/platform/mcp/common/mcpGalleryManifest.d.ts +4 -3
  467. package/vscode/src/vs/platform/mcp/common/mcpGalleryManifest.js +3 -2
  468. package/vscode/src/vs/platform/mcp/common/mcpManagement.service.d.ts +7 -6
  469. package/vscode/src/vs/platform/notification/common/notification.js +3 -3
  470. package/vscode/src/vs/platform/product/common/product.js +3 -3
  471. package/vscode/src/vs/platform/quickinput/browser/quickInput.d.ts +7 -4
  472. package/vscode/src/vs/platform/quickinput/browser/quickInput.js +34 -19
  473. package/vscode/src/vs/platform/quickinput/browser/quickInputActions.js +6 -6
  474. package/vscode/src/vs/platform/quickinput/browser/quickInputController.js +15 -8
  475. package/vscode/src/vs/platform/quickinput/browser/quickInputList.d.ts +4 -4
  476. package/vscode/src/vs/platform/quickinput/browser/quickInputList.js +1 -1
  477. package/vscode/src/vs/platform/quickinput/browser/quickInputUtils.js +1 -1
  478. package/vscode/src/vs/platform/quickinput/browser/tree/quickInputTree.d.ts +1 -1
  479. package/vscode/src/vs/platform/quickinput/browser/tree/quickInputTree.js +9 -9
  480. package/vscode/src/vs/platform/quickinput/browser/tree/quickInputTreeAccessibilityProvider.d.ts +2 -1
  481. package/vscode/src/vs/platform/quickinput/browser/tree/quickInputTreeAccessibilityProvider.js +2 -2
  482. package/vscode/src/vs/platform/quickinput/browser/tree/quickInputTreeController.d.ts +5 -2
  483. package/vscode/src/vs/platform/quickinput/browser/tree/quickInputTreeController.js +14 -25
  484. package/vscode/src/vs/platform/quickinput/browser/tree/quickInputTreeSorter.d.ts +9 -0
  485. package/vscode/src/vs/platform/quickinput/browser/tree/quickInputTreeSorter.js +43 -0
  486. package/vscode/src/vs/platform/quickinput/browser/tree/quickTree.d.ts +7 -2
  487. package/vscode/src/vs/platform/quickinput/browser/tree/quickTree.js +14 -3
  488. package/vscode/src/vs/platform/quickinput/common/quickInput.d.ts +40 -11
  489. package/vscode/src/vs/platform/quickinput/common/quickInput.js +1 -0
  490. package/vscode/src/vs/platform/request/common/request.js +34 -19
  491. package/vscode/src/vs/platform/secrets/common/secrets.service.d.ts +1 -1
  492. package/vscode/src/vs/platform/telemetry/common/telemetryUtils.js +1 -1
  493. package/vscode/src/vs/platform/terminal/common/terminal.d.ts +33 -17
  494. package/vscode/src/vs/platform/terminal/common/terminal.js +2 -1
  495. package/vscode/src/vs/platform/terminal/common/terminal.service.d.ts +2 -1
  496. package/vscode/src/vs/platform/terminal/common/terminalProcess.d.ts +1 -0
  497. package/vscode/src/vs/platform/theme/browser/defaultStyles.d.ts +1 -1
  498. package/vscode/src/vs/platform/theme/common/colorUtils.js +2 -2
  499. package/vscode/src/vs/platform/theme/common/colors/baseColors.js +18 -18
  500. package/vscode/src/vs/platform/theme/common/colors/chartsColors.js +8 -8
  501. package/vscode/src/vs/platform/theme/common/colors/editorColors.js +95 -95
  502. package/vscode/src/vs/platform/theme/common/colors/inputColors.js +47 -47
  503. package/vscode/src/vs/platform/theme/common/colors/listColors.js +36 -36
  504. package/vscode/src/vs/platform/theme/common/colors/menuColors.js +7 -7
  505. package/vscode/src/vs/platform/theme/common/colors/minimapColors.js +11 -11
  506. package/vscode/src/vs/platform/theme/common/colors/miscColors.d.ts +1 -0
  507. package/vscode/src/vs/platform/theme/common/colors/miscColors.js +16 -15
  508. package/vscode/src/vs/platform/theme/common/colors/quickpickColors.js +9 -9
  509. package/vscode/src/vs/platform/theme/common/colors/searchColors.js +3 -3
  510. package/vscode/src/vs/platform/theme/common/iconRegistry.js +6 -6
  511. package/vscode/src/vs/platform/tunnel/common/tunnel.d.ts +3 -2
  512. package/vscode/src/vs/platform/tunnel/common/tunnel.js +5 -1
  513. package/vscode/src/vs/platform/undoRedo/common/undoRedoService.js +20 -20
  514. package/vscode/src/vs/platform/userDataProfile/common/userDataProfile.js +1 -1
  515. package/vscode/src/vs/platform/userDataSync/common/userDataSync.js +5 -5
  516. package/vscode/src/vs/platform/webContentExtractor/common/webContentExtractor.d.ts +18 -1
  517. package/vscode/src/vs/platform/webContentExtractor/common/webContentExtractor.service.d.ts +2 -1
  518. package/vscode/src/vs/platform/window/common/window.d.ts +1 -1
  519. package/vscode/src/vs/platform/workspace/common/workspace.js +1 -1
  520. package/vscode/src/vs/platform/workspace/common/workspaceTrust.service.d.ts +2 -2
  521. package/vscode/src/vs/workbench/api/browser/statusBarService.d.ts +1 -1
  522. package/vscode/src/vs/workbench/api/common/extHost.api.impl.js +37 -15
  523. package/vscode/src/vs/workbench/api/common/extHost.protocol.d.ts +127 -62
  524. package/vscode/src/vs/workbench/api/common/extHost.protocol.js +2 -0
  525. package/vscode/src/vs/workbench/api/common/extHostAuthentication.js +25 -6
  526. package/vscode/src/vs/workbench/api/common/extHostChatAgents2.d.ts +6 -6
  527. package/vscode/src/vs/workbench/api/common/extHostChatAgents2.js +29 -6
  528. package/vscode/src/vs/workbench/api/common/extHostChatContext.d.ts +22 -0
  529. package/vscode/src/vs/workbench/api/common/extHostChatContext.js +99 -0
  530. package/vscode/src/vs/workbench/api/common/extHostChatSessions.d.ts +26 -10
  531. package/vscode/src/vs/workbench/api/common/extHostChatSessions.js +120 -47
  532. package/vscode/src/vs/workbench/api/common/extHostCommands.d.ts +2 -2
  533. package/vscode/src/vs/workbench/api/common/extHostCustomEditors.d.ts +1 -1
  534. package/vscode/src/vs/workbench/api/common/extHostDebugService.d.ts +6 -6
  535. package/vscode/src/vs/workbench/api/common/extHostDiagnostics.js +4 -3
  536. package/vscode/src/vs/workbench/api/common/extHostExtensionActivator.js +2 -2
  537. package/vscode/src/vs/workbench/api/common/extHostExtensionService.d.ts +1 -1
  538. package/vscode/src/vs/workbench/api/common/extHostExtensionService.js +2 -2
  539. package/vscode/src/vs/workbench/api/common/extHostLanguageFeatures.js +21 -13
  540. package/vscode/src/vs/workbench/api/common/extHostLanguageModelTools.js +3 -3
  541. package/vscode/src/vs/workbench/api/common/extHostLanguageModels.d.ts +7 -1
  542. package/vscode/src/vs/workbench/api/common/extHostLanguageModels.js +45 -5
  543. package/vscode/src/vs/workbench/api/common/extHostLogService.js +1 -1
  544. package/vscode/src/vs/workbench/api/common/extHostMcp.d.ts +9 -4
  545. package/vscode/src/vs/workbench/api/common/extHostMcp.js +136 -79
  546. package/vscode/src/vs/workbench/api/common/extHostNotebook.d.ts +3 -3
  547. package/vscode/src/vs/workbench/api/common/extHostNotebook.js +2 -2
  548. package/vscode/src/vs/workbench/api/common/extHostNotebookKernels.d.ts +1 -1
  549. package/vscode/src/vs/workbench/api/common/extHostProfileContentHandler.d.ts +1 -1
  550. package/vscode/src/vs/workbench/api/common/extHostQuickOpen.js +50 -60
  551. package/vscode/src/vs/workbench/api/common/extHostSCM.d.ts +3 -1
  552. package/vscode/src/vs/workbench/api/common/extHostSCM.js +52 -3
  553. package/vscode/src/vs/workbench/api/common/extHostStatusBar.js +2 -2
  554. package/vscode/src/vs/workbench/api/common/extHostTask.d.ts +6 -6
  555. package/vscode/src/vs/workbench/api/common/extHostTelemetry.js +2 -2
  556. package/vscode/src/vs/workbench/api/common/extHostTerminalService.d.ts +2 -2
  557. package/vscode/src/vs/workbench/api/common/extHostTerminalService.js +12 -8
  558. package/vscode/src/vs/workbench/api/common/extHostTerminalShellIntegration.d.ts +3 -3
  559. package/vscode/src/vs/workbench/api/common/extHostTerminalShellIntegration.js +12 -5
  560. package/vscode/src/vs/workbench/api/common/extHostTreeViews.js +26 -13
  561. package/vscode/src/vs/workbench/api/common/extHostTunnelService.js +2 -2
  562. package/vscode/src/vs/workbench/api/common/extHostTypeConverters.d.ts +31 -11
  563. package/vscode/src/vs/workbench/api/common/extHostTypeConverters.js +153 -36
  564. package/vscode/src/vs/workbench/api/common/extHostTypes/diagnostic.d.ts +8 -2
  565. package/vscode/src/vs/workbench/api/common/extHostTypes/location.d.ts +1 -1
  566. package/vscode/src/vs/workbench/api/common/extHostTypes/markdownString.d.ts +3 -1
  567. package/vscode/src/vs/workbench/api/common/extHostTypes/markdownString.js +10 -1
  568. package/vscode/src/vs/workbench/api/common/extHostTypes/notebooks.d.ts +13 -13
  569. package/vscode/src/vs/workbench/api/common/extHostTypes/position.d.ts +5 -2
  570. package/vscode/src/vs/workbench/api/common/extHostTypes/range.d.ts +2 -2
  571. package/vscode/src/vs/workbench/api/common/extHostTypes/range.js +1 -1
  572. package/vscode/src/vs/workbench/api/common/extHostTypes/selection.d.ts +1 -1
  573. package/vscode/src/vs/workbench/api/common/extHostTypes/selection.js +1 -1
  574. package/vscode/src/vs/workbench/api/common/extHostTypes/snippetString.d.ts +3 -3
  575. package/vscode/src/vs/workbench/api/common/extHostTypes/snippetString.js +1 -1
  576. package/vscode/src/vs/workbench/api/common/extHostTypes/snippetTextEdit.d.ts +1 -1
  577. package/vscode/src/vs/workbench/api/common/extHostTypes/symbolInformation.d.ts +6 -1
  578. package/vscode/src/vs/workbench/api/common/extHostTypes/textEdit.d.ts +6 -2
  579. package/vscode/src/vs/workbench/api/common/extHostTypes/textEdit.js +1 -1
  580. package/vscode/src/vs/workbench/api/common/extHostTypes/workspaceEdit.d.ts +4 -1
  581. package/vscode/src/vs/workbench/api/common/extHostTypes.d.ts +54 -38
  582. package/vscode/src/vs/workbench/api/common/extHostTypes.js +32 -21
  583. package/vscode/src/vs/workbench/api/common/extHostWebviewPanels.d.ts +1 -1
  584. package/vscode/src/vs/workbench/api/common/extHostWorkspace.js +11 -2
  585. package/vscode/src/vs/workbench/api/common/jsonValidationExtensionPoint.js +12 -12
  586. package/vscode/src/vs/workbench/browser/actions/developerActions.js +35 -35
  587. package/vscode/src/vs/workbench/browser/actions/media/actions.css +4 -4
  588. package/vscode/src/vs/workbench/browser/actions/textInputActions.js +6 -6
  589. package/vscode/src/vs/workbench/browser/codeeditor.d.ts +1 -1
  590. package/vscode/src/vs/workbench/browser/parts/editor/breadcrumbs.service.d.ts +1 -1
  591. package/vscode/src/vs/workbench/browser/web.api.d.ts +5 -5
  592. package/vscode/src/vs/workbench/common/configuration.d.ts +3 -2
  593. package/vscode/src/vs/workbench/common/configuration.js +9 -9
  594. package/vscode/src/vs/workbench/common/contextkeys.js +73 -73
  595. package/vscode/src/vs/workbench/common/editor/diffEditorInput.js +1 -1
  596. package/vscode/src/vs/workbench/common/editor/editorInput.d.ts +2 -2
  597. package/vscode/src/vs/workbench/common/editor/sideBySideEditorInput.js +1 -1
  598. package/vscode/src/vs/workbench/common/editor/textEditorModel.js +1 -1
  599. package/vscode/src/vs/workbench/common/editor.d.ts +1 -1
  600. package/vscode/src/vs/workbench/common/editor.js +7 -7
  601. package/vscode/src/vs/workbench/common/theme.js +160 -160
  602. package/vscode/src/vs/workbench/common/views.d.ts +7 -8
  603. package/vscode/src/vs/workbench/common/views.js +4 -4
  604. package/vscode/src/vs/workbench/contrib/accessibility/browser/accessibilityConfiguration.d.ts +1 -1
  605. package/vscode/src/vs/workbench/contrib/accessibility/browser/accessibilityConfiguration.js +165 -161
  606. package/vscode/src/vs/workbench/contrib/accessibility/browser/accessibleViewActions.js +12 -12
  607. package/vscode/src/vs/workbench/contrib/chat/browser/chat.service.d.ts +5 -3
  608. package/vscode/src/vs/workbench/contrib/chat/browser/chatAttachmentResolveService.service.d.ts +1 -1
  609. package/vscode/src/vs/workbench/contrib/chat/browser/chatContentParts/chatContentParts.d.ts +2 -2
  610. package/vscode/src/vs/workbench/contrib/chat/browser/chatContentParts/chatMarkdownAnchorService.service.d.ts +1 -1
  611. package/vscode/src/vs/workbench/contrib/chat/browser/chatContextPickService.service.d.ts +1 -1
  612. package/vscode/src/vs/workbench/contrib/chat/browser/chatContextService.service.d.ts +4 -0
  613. package/vscode/src/vs/workbench/contrib/chat/browser/chatContextService.service.js +6 -0
  614. package/vscode/src/vs/workbench/contrib/chat/browser/chatEditing/chatEditingEditorContextKeys.d.ts +1 -0
  615. package/vscode/src/vs/workbench/contrib/chat/browser/chatEditing/chatEditingEditorContextKeys.js +9 -8
  616. package/vscode/src/vs/workbench/contrib/chat/common/chatActions.d.ts +3 -2
  617. package/vscode/src/vs/workbench/contrib/chat/common/chatActions.js +2 -1
  618. package/vscode/src/vs/workbench/contrib/chat/common/chatAgents.service.d.ts +1 -1
  619. package/vscode/src/vs/workbench/contrib/chat/common/chatContextKeys.d.ts +5 -0
  620. package/vscode/src/vs/workbench/contrib/chat/common/chatContextKeys.js +70 -50
  621. package/vscode/src/vs/workbench/contrib/chat/common/chatEditingService.d.ts +30 -8
  622. package/vscode/src/vs/workbench/contrib/chat/common/chatEditingService.js +4 -3
  623. package/vscode/src/vs/workbench/contrib/chat/common/chatEditingService.service.d.ts +7 -3
  624. package/vscode/src/vs/workbench/contrib/chat/common/chatModes.service.d.ts +2 -2
  625. package/vscode/src/vs/workbench/contrib/chat/common/chatService.d.ts +112 -40
  626. package/vscode/src/vs/workbench/contrib/chat/common/chatService.js +143 -1
  627. package/vscode/src/vs/workbench/contrib/chat/common/chatService.service.d.ts +27 -28
  628. package/vscode/src/vs/workbench/contrib/chat/common/chatSessionsService.d.ts +50 -11
  629. package/vscode/src/vs/workbench/contrib/chat/common/chatSessionsService.js +2 -1
  630. package/vscode/src/vs/workbench/contrib/chat/common/chatSessionsService.service.d.ts +43 -12
  631. package/vscode/src/vs/workbench/contrib/chat/common/chatTodoListService.service.d.ts +5 -2
  632. package/vscode/src/vs/workbench/contrib/chat/common/chatUri.d.ts +25 -0
  633. package/vscode/src/vs/workbench/contrib/chat/common/chatUri.js +51 -0
  634. package/vscode/src/vs/workbench/contrib/chat/common/chatVariableEntries.d.ts +29 -3
  635. package/vscode/src/vs/workbench/contrib/chat/common/chatVariableEntries.js +19 -4
  636. package/vscode/src/vs/workbench/contrib/chat/common/chatVariables.d.ts +3 -3
  637. package/vscode/src/vs/workbench/contrib/chat/common/chatVariables.service.d.ts +3 -2
  638. package/vscode/src/vs/workbench/contrib/chat/common/chatWidgetHistoryService.service.d.ts +1 -1
  639. package/vscode/src/vs/workbench/contrib/chat/common/constants.d.ts +14 -8
  640. package/vscode/src/vs/workbench/contrib/chat/common/constants.js +33 -9
  641. package/vscode/src/vs/workbench/contrib/chat/common/languageModelToolsConfirmationService.d.ts +49 -0
  642. package/vscode/src/vs/workbench/contrib/chat/common/languageModelToolsConfirmationService.service.d.ts +31 -0
  643. package/vscode/src/vs/workbench/contrib/chat/common/languageModelToolsConfirmationService.service.js +6 -0
  644. package/vscode/src/vs/workbench/contrib/chat/common/languageModelToolsService.d.ts +26 -3
  645. package/vscode/src/vs/workbench/contrib/chat/common/languageModelToolsService.js +39 -10
  646. package/vscode/src/vs/workbench/contrib/chat/common/languageModelToolsService.service.d.ts +10 -6
  647. package/vscode/src/vs/workbench/contrib/chat/common/languageModels.d.ts +45 -9
  648. package/vscode/src/vs/workbench/contrib/chat/common/languageModels.js +37 -16
  649. package/vscode/src/vs/workbench/contrib/chat/common/languageModels.service.d.ts +1 -1
  650. package/vscode/src/vs/workbench/contrib/chat/common/modelPicker/modelPickerWidget.js +1 -1
  651. package/vscode/src/vs/workbench/contrib/chat/common/promptSyntax/service/promptsService.service.d.ts +43 -7
  652. package/vscode/src/vs/workbench/contrib/chat/common/tools/confirmationTool.js +1 -1
  653. package/vscode/src/vs/workbench/contrib/chat/common/tools/editFileTool.js +2 -1
  654. package/vscode/src/vs/workbench/contrib/chat/common/tools/manageTodoListTool.js +34 -30
  655. package/vscode/src/vs/workbench/contrib/chat/common/tools/runSubagentTool.d.ts +25 -0
  656. package/vscode/src/vs/workbench/contrib/chat/common/tools/runSubagentTool.js +203 -0
  657. package/vscode/src/vs/workbench/contrib/chat/common/tools/toolHelpers.d.ts +5 -0
  658. package/vscode/src/vs/workbench/contrib/chat/common/tools/toolHelpers.js +12 -0
  659. package/vscode/src/vs/workbench/contrib/chat/common/tools/tools.js +3 -0
  660. package/vscode/src/vs/workbench/contrib/codeActions/browser/codeActionsContribution.js +13 -13
  661. package/vscode/src/vs/workbench/contrib/codeEditor/browser/dictation/editorDictation.js +4 -4
  662. package/vscode/src/vs/workbench/contrib/codeEditor/browser/diffEditorAccessibilityHelp.js +5 -5
  663. package/vscode/src/vs/workbench/contrib/codeEditor/browser/diffEditorHelper.js +3 -3
  664. package/vscode/src/vs/workbench/contrib/codeEditor/browser/largeFileOptimizations.js +3 -3
  665. package/vscode/src/vs/workbench/contrib/codeEditor/browser/saveParticipants.js +4 -4
  666. package/vscode/src/vs/workbench/contrib/codeEditor/browser/toggleMinimap.js +2 -2
  667. package/vscode/src/vs/workbench/contrib/codeEditor/browser/toggleMultiCursorModifier.js +4 -4
  668. package/vscode/src/vs/workbench/contrib/codeEditor/browser/toggleRenderControlCharacter.js +2 -2
  669. package/vscode/src/vs/workbench/contrib/codeEditor/browser/toggleRenderWhitespace.js +2 -2
  670. package/vscode/src/vs/workbench/contrib/codeEditor/browser/toggleWordWrap.js +5 -5
  671. package/vscode/src/vs/workbench/contrib/comments/browser/commentService.service.d.ts +1 -1
  672. package/vscode/src/vs/workbench/contrib/comments/browser/commentsAccessibility.js +12 -12
  673. package/vscode/src/vs/workbench/contrib/comments/common/commentContextKeys.js +11 -11
  674. package/vscode/src/vs/workbench/contrib/debug/common/abstractDebugAdapter.js +1 -1
  675. package/vscode/src/vs/workbench/contrib/debug/common/debug.d.ts +37 -33
  676. package/vscode/src/vs/workbench/contrib/debug/common/debug.js +65 -65
  677. package/vscode/src/vs/workbench/contrib/debug/common/debug.service.d.ts +9 -9
  678. package/vscode/src/vs/workbench/contrib/debug/common/debugUtils.d.ts +6 -0
  679. package/vscode/src/vs/workbench/contrib/debug/common/debugUtils.js +16 -2
  680. package/vscode/src/vs/workbench/contrib/dropOrPasteInto/browser/commands.js +2 -2
  681. package/vscode/src/vs/workbench/contrib/dropOrPasteInto/browser/configurationSchema.js +4 -4
  682. package/vscode/src/vs/workbench/contrib/editTelemetry/browser/randomService.service.d.ts +6 -0
  683. package/vscode/src/vs/workbench/contrib/editTelemetry/browser/randomService.service.js +6 -0
  684. package/vscode/src/vs/workbench/contrib/editTelemetry/browser/telemetry/aiEditTelemetry/aiEditTelemetryService.d.ts +38 -4
  685. package/vscode/src/vs/workbench/contrib/extensions/common/extensions.d.ts +2 -2
  686. package/vscode/src/vs/workbench/contrib/extensions/common/extensions.js +1 -1
  687. package/vscode/src/vs/workbench/contrib/extensions/common/extensions.service.d.ts +1 -1
  688. package/vscode/src/vs/workbench/contrib/extensions/common/searchExtensionsTool.js +4 -4
  689. package/vscode/src/vs/workbench/contrib/files/browser/fileConstants.js +6 -6
  690. package/vscode/src/vs/workbench/contrib/files/browser/files.service.d.ts +2 -2
  691. package/vscode/src/vs/workbench/contrib/folding/browser/folding.contribution.js +3 -3
  692. package/vscode/src/vs/workbench/contrib/format/browser/formatActionsMultiple.js +20 -20
  693. package/vscode/src/vs/workbench/contrib/format/browser/formatActionsNone.js +4 -4
  694. package/vscode/src/vs/workbench/contrib/format/browser/formatModified.js +1 -1
  695. package/vscode/src/vs/workbench/contrib/inlayHints/browser/inlayHintsAccessibilty.js +4 -4
  696. package/vscode/src/vs/workbench/contrib/inlineChat/browser/inlineChatSessionService.service.d.ts +7 -8
  697. package/vscode/src/vs/workbench/contrib/interactive/browser/interactiveDocumentService.service.d.ts +2 -2
  698. package/vscode/src/vs/workbench/contrib/list/browser/listResizeColumnAction.js +2 -2
  699. package/vscode/src/vs/workbench/contrib/list/browser/tableColumnResizeQuickPick.js +5 -5
  700. package/vscode/src/vs/workbench/contrib/mcp/common/mcpTypes.d.ts +42 -8
  701. package/vscode/src/vs/workbench/contrib/mcp/common/mcpTypes.js +18 -7
  702. package/vscode/src/vs/workbench/contrib/mcp/common/mcpTypes.service.d.ts +7 -4
  703. package/vscode/src/vs/workbench/contrib/mcp/common/modelContextProtocol.d.ts +8 -0
  704. package/vscode/src/vs/workbench/contrib/multiDiffEditor/browser/multiDiffSourceResolverService.service.d.ts +1 -1
  705. package/vscode/src/vs/workbench/contrib/notebook/browser/services/notebookEditorService.service.d.ts +5 -3
  706. package/vscode/src/vs/workbench/contrib/notebook/browser/viewModel/notebookOutlineDataSourceFactory.service.d.ts +1 -1
  707. package/vscode/src/vs/workbench/contrib/notebook/browser/viewModel/notebookOutlineEntryFactory.service.d.ts +1 -1
  708. package/vscode/src/vs/workbench/contrib/notebook/common/notebookCommon.d.ts +17 -17
  709. package/vscode/src/vs/workbench/contrib/notebook/common/notebookCommon.js +8 -8
  710. package/vscode/src/vs/workbench/contrib/notebook/common/notebookExecutionStateService.service.d.ts +2 -2
  711. package/vscode/src/vs/workbench/contrib/notebook/common/notebookKernelService.d.ts +2 -2
  712. package/vscode/src/vs/workbench/contrib/notebook/common/notebookLoggingService.service.d.ts +1 -0
  713. package/vscode/src/vs/workbench/contrib/notebook/common/notebookRendererMessagingService.service.d.ts +1 -1
  714. package/vscode/src/vs/workbench/contrib/notebook/common/notebookService.service.d.ts +2 -2
  715. package/vscode/src/vs/workbench/contrib/scm/common/artifact.d.ts +37 -0
  716. package/vscode/src/vs/workbench/contrib/scm/common/quickDiff.service.d.ts +1 -1
  717. package/vscode/src/vs/workbench/contrib/scm/common/quickDiffService.d.ts +1 -1
  718. package/vscode/src/vs/workbench/contrib/scm/common/scm.d.ts +171 -0
  719. package/vscode/src/vs/workbench/contrib/scm/common/scm.js +35 -0
  720. package/vscode/src/vs/workbench/contrib/scm/common/scm.service.d.ts +13 -3
  721. package/vscode/src/vs/workbench/contrib/search/common/searchHistoryService.service.d.ts +1 -1
  722. package/vscode/src/vs/workbench/contrib/snippets/browser/snippetCompletionProvider.js +3 -3
  723. package/vscode/src/vs/workbench/contrib/snippets/browser/snippetsFile.js +3 -3
  724. package/vscode/src/vs/workbench/contrib/snippets/browser/snippetsService.js +9 -9
  725. package/vscode/src/vs/workbench/contrib/speech/common/speechService.js +29 -29
  726. package/vscode/src/vs/workbench/contrib/tasks/common/constants.js +1 -1
  727. package/vscode/src/vs/workbench/contrib/tasks/common/taskDefinitionRegistry.d.ts +1 -1
  728. package/vscode/src/vs/workbench/contrib/tasks/common/taskDefinitionRegistry.js +5 -5
  729. package/vscode/src/vs/workbench/contrib/tasks/common/taskService.service.d.ts +7 -6
  730. package/vscode/src/vs/workbench/contrib/tasks/common/tasks.d.ts +12 -0
  731. package/vscode/src/vs/workbench/contrib/tasks/common/tasks.js +4 -4
  732. package/vscode/src/vs/workbench/contrib/terminal/browser/terminal.d.ts +43 -44
  733. package/vscode/src/vs/workbench/contrib/terminal/browser/terminal.service.d.ts +69 -6
  734. package/vscode/src/vs/workbench/contrib/terminal/browser/terminal.service.js +2 -1
  735. package/vscode/src/vs/workbench/contrib/terminal/common/environmentVariable.service.d.ts +1 -1
  736. package/vscode/src/vs/workbench/contrib/terminal/common/terminal.service.d.ts +3 -2
  737. package/vscode/src/vs/workbench/contrib/terminal/common/terminalExtensionPoints.service.d.ts +4 -0
  738. package/vscode/src/vs/workbench/contrib/terminalContrib/quickFix/browser/quickFix.service.d.ts +3 -3
  739. package/vscode/src/vs/workbench/contrib/terminalContrib/suggest/browser/terminalCompletionService.service.d.ts +1 -1
  740. package/vscode/src/vs/workbench/contrib/testing/common/constants.d.ts +2 -0
  741. package/vscode/src/vs/workbench/contrib/testing/common/constants.js +13 -11
  742. package/vscode/src/vs/workbench/contrib/testing/common/testTypes.js +3 -3
  743. package/vscode/src/vs/workbench/contrib/testing/common/testingContinuousRunService.service.d.ts +1 -1
  744. package/vscode/src/vs/workbench/contrib/testing/common/testingDecorations.service.d.ts +1 -1
  745. package/vscode/src/vs/workbench/contrib/timeline/common/timeline.d.ts +1 -1
  746. package/vscode/src/vs/workbench/contrib/timeline/common/timeline.service.d.ts +3 -3
  747. package/vscode/src/vs/workbench/contrib/url/browser/trustedDomainService.service.d.ts +1 -1
  748. package/vscode/src/vs/workbench/contrib/webview/browser/webview.service.d.ts +1 -1
  749. package/vscode/src/vs/workbench/contrib/webviewPanel/browser/webviewWorkbenchService.service.d.ts +3 -8
  750. package/vscode/src/vs/workbench/services/accounts/common/defaultAccount.d.ts +6 -0
  751. package/vscode/src/vs/workbench/services/accounts/common/defaultAccount.js +137 -34
  752. package/vscode/src/vs/workbench/services/activity/common/activity.service.d.ts +1 -1
  753. package/vscode/src/vs/workbench/services/assignment/common/assignmentService.d.ts +36 -0
  754. package/vscode/src/vs/workbench/services/assignment/common/assignmentService.service.d.ts +2 -0
  755. package/vscode/src/vs/workbench/services/authentication/browser/authenticationMcpService.service.d.ts +1 -1
  756. package/vscode/src/vs/workbench/services/authentication/common/authentication.service.d.ts +1 -1
  757. package/vscode/src/vs/workbench/services/chat/common/chatContext.d.ts +19 -0
  758. package/vscode/src/vs/workbench/services/chat/common/chatEntitlementService.d.ts +2 -1
  759. package/vscode/src/vs/workbench/services/chat/common/chatEntitlementService.js +35 -19
  760. package/vscode/src/vs/workbench/services/configurationResolver/common/variableResolver.js +16 -16
  761. package/vscode/src/vs/workbench/services/editor/common/editorGroupsService.d.ts +1 -1
  762. package/vscode/src/vs/workbench/services/editor/common/editorResolverService.js +2 -2
  763. package/vscode/src/vs/workbench/services/editor/common/editorResolverService.service.d.ts +1 -1
  764. package/vscode/src/vs/workbench/services/editor/common/editorService.d.ts +1 -1
  765. package/vscode/src/vs/workbench/services/extensionManagement/common/extensionManagement.d.ts +5 -4
  766. package/vscode/src/vs/workbench/services/extensionManagement/common/extensionManagement.js +5 -4
  767. package/vscode/src/vs/workbench/services/extensionRecommendations/common/extensionRecommendations.service.d.ts +2 -2
  768. package/vscode/src/vs/workbench/services/extensionRecommendations/common/workspaceExtensionsConfig.service.d.ts +1 -1
  769. package/vscode/src/vs/workbench/services/extensions/common/extensions.d.ts +5 -5
  770. package/vscode/src/vs/workbench/services/extensions/common/extensions.service.d.ts +6 -6
  771. package/vscode/src/vs/workbench/services/extensions/common/extensionsRegistry.js +87 -87
  772. package/vscode/src/vs/workbench/services/filesConfiguration/common/filesConfigurationService.service.d.ts +1 -1
  773. package/vscode/src/vs/workbench/services/host/browser/host.service.d.ts +1 -1
  774. package/vscode/src/vs/workbench/services/inlineCompletions/common/inlineCompletionsUnification.service.d.ts +1 -1
  775. package/vscode/src/vs/workbench/services/language/common/languageService.js +28 -28
  776. package/vscode/src/vs/workbench/services/languageStatus/common/languageStatusService.service.d.ts +1 -1
  777. package/vscode/src/vs/workbench/services/localization/common/locale.service.d.ts +1 -1
  778. package/vscode/src/vs/workbench/services/log/common/logConstants.js +1 -1
  779. package/vscode/src/vs/workbench/services/outline/browser/outline.service.d.ts +2 -2
  780. package/vscode/src/vs/workbench/services/output/common/output.service.d.ts +3 -2
  781. package/vscode/src/vs/workbench/services/preferences/common/preferences.service.d.ts +1 -1
  782. package/vscode/src/vs/workbench/services/remote/common/remoteExplorerService.js +8 -8
  783. package/vscode/src/vs/workbench/services/remote/common/remoteExplorerService.service.d.ts +4 -4
  784. package/vscode/src/vs/workbench/services/remote/common/tunnelModel.js +7 -7
  785. package/vscode/src/vs/workbench/services/search/common/queryBuilder.d.ts +9 -0
  786. package/vscode/src/vs/workbench/services/search/common/queryBuilder.js +4 -4
  787. package/vscode/src/vs/workbench/services/textfile/common/encoding.js +1 -1
  788. package/vscode/src/vs/workbench/services/textfile/common/textfiles.d.ts +1 -1
  789. package/vscode/src/vs/workbench/services/themes/common/colorExtensionPoint.js +22 -22
  790. package/vscode/src/vs/workbench/services/themes/common/iconExtensionPoint.js +13 -13
  791. package/vscode/src/vs/workbench/services/themes/common/workbenchThemeService.service.d.ts +3 -3
  792. package/vscode/src/vs/workbench/services/userDataProfile/common/userDataProfile.service.d.ts +1 -1
  793. package/vscode/src/vs/workbench/services/userDataProfile/common/userDataProfileService.d.ts +1 -1
  794. package/vscode/src/vs/workbench/services/userDataSync/common/userDataSync.js +13 -13
  795. package/vscode/src/vs/workbench/services/workingCopy/common/workingCopyBackup.d.ts +1 -1
  796. package/vscode/src/vs/workbench/services/workingCopy/common/workingCopyBackup.service.d.ts +1 -1
  797. package/vscode/src/vs/workbench/services/workingCopy/common/workingCopyEditorService.service.d.ts +1 -1
  798. package/vscode/src/vs/workbench/services/workingCopy/common/workingCopyFileService.service.d.ts +2 -2
  799. package/vscode/src/vs/workbench/services/workingCopy/common/workingCopyHistory.service.d.ts +6 -6
  800. package/vscode/src/vs/workbench/services/workingCopy/common/workingCopyService.service.d.ts +1 -1
  801. package/vscode/src/vs/workbench/services/workspaces/common/workspaceIdentityService.service.d.ts +1 -1
  802. package/vscode-dts/vscode.d.ts +88 -18
  803. package/vscode-dts/vscode.proposed.chatContextProvider.d.ts +58 -0
  804. package/vscode-dts/vscode.proposed.chatParticipantAdditions.d.ts +27 -4
  805. package/vscode-dts/vscode.proposed.chatParticipantPrivate.d.ts +24 -2
  806. package/vscode-dts/vscode.proposed.chatSessionsProvider.d.ts +103 -21
  807. package/vscode-dts/{vscode.proposed.idToken.d.ts → vscode.proposed.contribSourceControlArtifactGroupMenu.d.ts} +2 -11
  808. package/vscode-dts/{vscode.proposed.contribSecondarySidebar.d.ts → vscode.proposed.contribSourceControlArtifactMenu.d.ts} +2 -1
  809. package/vscode-dts/vscode.proposed.d.ts +10 -3
  810. package/vscode-dts/vscode.proposed.dataChannels.d.ts +1 -1
  811. package/vscode-dts/vscode.proposed.inlineCompletionsAdditions.d.ts +32 -21
  812. package/vscode-dts/vscode.proposed.languageModelProxy.d.ts +31 -0
  813. package/vscode-dts/vscode.proposed.languageModelThinkingPart.d.ts +62 -0
  814. package/vscode-dts/vscode.proposed.markdownAlertSyntax.d.ts +29 -0
  815. package/vscode-dts/vscode.proposed.mcpToolDefinitions.d.ts +89 -0
  816. package/vscode-dts/vscode.proposed.notebookKernelSource.d.ts +1 -1
  817. package/vscode-dts/vscode.proposed.notebookVariableProvider.d.ts +1 -1
  818. package/vscode-dts/vscode.proposed.quickInputButtonLocation.d.ts +14 -1
  819. package/vscode-dts/vscode.proposed.quickPickItemResource.d.ts +21 -0
  820. package/vscode-dts/vscode.proposed.quickPickPrompt.d.ts +25 -0
  821. package/vscode-dts/vscode.proposed.resolvers.d.ts +4 -4
  822. package/vscode-dts/vscode.proposed.scmArtifactProvider.d.ts +32 -0
  823. package/vscode-dts/vscode.proposed.scmHistoryProvider.d.ts +3 -2
  824. package/vscode-dts/vscode.proposed.terminalCompletionProvider.d.ts +142 -63
  825. package/vscode-dts/vscode.proposed.textSearchProvider2.d.ts +3 -3
  826. package/vscode-dts/vscode.proposed.timeline.d.ts +1 -1
  827. package/vscode-dts/vscode.proposed.treeItemMarkdownLabel.d.ts +23 -0
  828. package/vscode-dts/vscode.proposed.tunnels.d.ts +1 -1
  829. package/vscode/src/vs/editor/browser/widget/markdownRenderer/browser/markdownRenderer.d.ts +0 -29
  830. package/vscode/src/vs/editor/browser/widget/markdownRenderer/browser/markdownRenderer.js +0 -97
  831. package/vscode/src/vs/workbench/contrib/contextmenu/browser/contextmenu.contribution.d.ts +0 -1
  832. package/vscode/src/vs/workbench/contrib/contextmenu/browser/contextmenu.contribution.js +0 -23
  833. package/vscode/src/vs/workbench/contrib/inlineChat/browser/inlineChatSessionService.d.ts +0 -23
  834. package/vscode/src/vs/workbench/contrib/scm/common/history.d.ts +0 -102
  835. package/vscode-dts/vscode.proposed.languageModelDataPart.d.ts +0 -164
@@ -1,9 +1,10 @@
1
1
 
2
2
  import { equals } from '../../../base/common/arrays.js';
3
3
  import { equals as equals$1 } from '../../../base/common/objects.js';
4
- import { isMacintosh, isWindows, isLinux, isChrome, isEdge, isNative } from '../../../base/common/platform.js';
4
+ import { isMacintosh, isLinux, isChrome, isEdge, isNative } from '../../../base/common/platform.js';
5
5
  import { ScrollbarVisibility } from '../../../base/common/scrollable.js';
6
6
  import { Constants } from '../../../base/common/uint.js';
7
+ import { FONT_VARIATION_OFF, FONT_VARIATION_TRANSLATE, FontInfo, EDITOR_FONT_DEFAULTS } from './fontInfo.js';
7
8
  import { EDITOR_MODEL_DEFAULTS } from '../core/misc/textModelDefaults.js';
8
9
  import { USUAL_WORD_SEPARATORS } from '../core/wordHelper.js';
9
10
  import { localize } from '../../../nls.js';
@@ -74,11 +75,11 @@ function applyUpdate(value, update) {
74
75
  return ( new ApplyUpdateResult(value, didChange));
75
76
  }
76
77
  class ComputedEditorOption {
77
- constructor(id) {
78
+ constructor(id, defaultValue) {
78
79
  this.schema = undefined;
79
80
  this.id = id;
80
81
  this.name = '_never_';
81
- this.defaultValue = undefined;
82
+ this.defaultValue = defaultValue;
82
83
  }
83
84
  applyUpdate(value, update) {
84
85
  return applyUpdate(value, update);
@@ -97,12 +98,6 @@ class SimpleEditorOption {
97
98
  applyUpdate(value, update) {
98
99
  return applyUpdate(value, update);
99
100
  }
100
- validate(input) {
101
- if (typeof input === 'undefined') {
102
- return this.defaultValue;
103
- }
104
- return input;
105
- }
106
101
  compute(env, options, value) {
107
102
  return value;
108
103
  }
@@ -129,13 +124,13 @@ class EditorBooleanOption extends SimpleEditorOption {
129
124
  }
130
125
  }
131
126
  function clampedInt(value, defaultValue, minimum, maximum) {
132
- if (typeof value === 'undefined') {
133
- return defaultValue;
127
+ if (typeof value === 'string') {
128
+ value = parseInt(value, 10);
134
129
  }
135
- let r = parseInt(value, 10);
136
- if (isNaN(r)) {
130
+ if (typeof value !== 'number' || isNaN(value)) {
137
131
  return defaultValue;
138
132
  }
133
+ let r = value;
139
134
  r = Math.max(minimum, r);
140
135
  r = Math.min(maximum, r);
141
136
  return r | 0;
@@ -177,14 +172,13 @@ class EditorFloatOption extends SimpleEditorOption {
177
172
  return n;
178
173
  }
179
174
  static float(value, defaultValue) {
180
- if (typeof value === 'number') {
181
- return value;
175
+ if (typeof value === 'string') {
176
+ value = parseFloat(value);
182
177
  }
183
- if (typeof value === 'undefined') {
178
+ if (typeof value !== 'number' || isNaN(value)) {
184
179
  return defaultValue;
185
180
  }
186
- const r = parseFloat(value);
187
- return (isNaN(r) ? defaultValue : r);
181
+ return value;
188
182
  }
189
183
  constructor(id, name, defaultValue, validationFn, schema, minimum, maximum) {
190
184
  if (typeof schema !== 'undefined') {
@@ -236,7 +230,7 @@ class EditorStringEnumOption extends SimpleEditorOption {
236
230
  constructor(id, name, defaultValue, allowedValues, schema = undefined) {
237
231
  if (typeof schema !== 'undefined') {
238
232
  schema.type = 'string';
239
- schema.enum = allowedValues;
233
+ schema.enum = allowedValues.slice(0);
240
234
  schema.default = defaultValue;
241
235
  }
242
236
  super(id, name, defaultValue, schema);
@@ -282,14 +276,14 @@ class EditorAccessibilitySupport extends BaseEditorOption {
282
276
  type: 'string',
283
277
  enum: ['auto', 'on', 'off'],
284
278
  enumDescriptions: [
285
- ( localize(266, "Use platform APIs to detect when a Screen Reader is attached.")),
286
- ( localize(267, "Optimize for usage with a Screen Reader.")),
287
- ( localize(268, "Assume a screen reader is not attached.")),
279
+ ( localize(264, "Use platform APIs to detect when a Screen Reader is attached.")),
280
+ ( localize(265, "Optimize for usage with a Screen Reader.")),
281
+ ( localize(266, "Assume a screen reader is not attached.")),
288
282
  ],
289
283
  default: 'auto',
290
284
  tags: ['accessibility'],
291
285
  description: ( localize(
292
- 269,
286
+ 267,
293
287
  "Controls if the UI should run in a mode where it is optimized for screen readers."
294
288
  ))
295
289
  });
@@ -319,13 +313,13 @@ class EditorComments extends BaseEditorOption {
319
313
  'editor.comments.insertSpace': {
320
314
  type: 'boolean',
321
315
  default: defaults.insertSpace,
322
- description: ( localize(270, "Controls whether a space character is inserted when commenting."))
316
+ description: ( localize(268, "Controls whether a space character is inserted when commenting."))
323
317
  },
324
318
  'editor.comments.ignoreEmptyLines': {
325
319
  type: 'boolean',
326
320
  default: defaults.ignoreEmptyLines,
327
321
  description: ( localize(
328
- 271,
322
+ 269,
329
323
  'Controls if empty lines should be ignored with toggle, add or remove actions for line comments.'
330
324
  ))
331
325
  },
@@ -391,7 +385,7 @@ function cursorStyleFromString(cursorStyle) {
391
385
  }
392
386
  class EditorClassName extends ComputedEditorOption {
393
387
  constructor() {
394
- super(EditorOption.editorClassName);
388
+ super(EditorOption.editorClassName, '');
395
389
  }
396
390
  compute(env, options, _) {
397
391
  const classNames = ['monaco-editor'];
@@ -419,7 +413,7 @@ class EditorClassName extends ComputedEditorOption {
419
413
  class EditorEmptySelectionClipboard extends EditorBooleanOption {
420
414
  constructor() {
421
415
  super(EditorOption.emptySelectionClipboard, 'emptySelectionClipboard', true, { description: ( localize(
422
- 272,
416
+ 270,
423
417
  "Controls whether copying without a selection copies the current line."
424
418
  )) });
425
419
  }
@@ -445,7 +439,7 @@ class EditorFind extends BaseEditorOption {
445
439
  type: 'boolean',
446
440
  default: defaults.cursorMoveOnType,
447
441
  description: ( localize(
448
- 273,
442
+ 271,
449
443
  "Controls whether the cursor should jump to find matches while typing."
450
444
  ))
451
445
  },
@@ -454,15 +448,15 @@ class EditorFind extends BaseEditorOption {
454
448
  enum: ['never', 'always', 'selection'],
455
449
  default: defaults.seedSearchStringFromSelection,
456
450
  enumDescriptions: [
457
- ( localize(274, 'Never seed search string from the editor selection.')),
451
+ ( localize(272, 'Never seed search string from the editor selection.')),
458
452
  ( localize(
459
- 275,
453
+ 273,
460
454
  'Always seed search string from the editor selection, including word at cursor position.'
461
455
  )),
462
- ( localize(276, 'Only seed search string from the editor selection.'))
456
+ ( localize(274, 'Only seed search string from the editor selection.'))
463
457
  ],
464
458
  description: ( localize(
465
- 277,
459
+ 275,
466
460
  "Controls whether the search string in the Find Widget is seeded from the editor selection."
467
461
  ))
468
462
  },
@@ -471,15 +465,15 @@ class EditorFind extends BaseEditorOption {
471
465
  enum: ['never', 'always', 'multiline'],
472
466
  default: defaults.autoFindInSelection,
473
467
  enumDescriptions: [
474
- ( localize(278, 'Never turn on Find in Selection automatically (default).')),
475
- ( localize(279, 'Always turn on Find in Selection automatically.')),
468
+ ( localize(276, 'Never turn on Find in Selection automatically (default).')),
469
+ ( localize(277, 'Always turn on Find in Selection automatically.')),
476
470
  ( localize(
477
- 280,
471
+ 278,
478
472
  'Turn on Find in Selection automatically when multiple lines of content are selected.'
479
473
  ))
480
474
  ],
481
475
  description: ( localize(
482
- 281,
476
+ 279,
483
477
  "Controls the condition for turning on Find in Selection automatically."
484
478
  ))
485
479
  },
@@ -487,7 +481,7 @@ class EditorFind extends BaseEditorOption {
487
481
  type: 'boolean',
488
482
  default: defaults.globalFindClipboard,
489
483
  description: ( localize(
490
- 282,
484
+ 280,
491
485
  "Controls whether the Find Widget should read or modify the shared find clipboard on macOS."
492
486
  )),
493
487
  included: isMacintosh
@@ -496,7 +490,7 @@ class EditorFind extends BaseEditorOption {
496
490
  type: 'boolean',
497
491
  default: defaults.addExtraSpaceOnTop,
498
492
  description: ( localize(
499
- 283,
493
+ 281,
500
494
  "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."
501
495
  ))
502
496
  },
@@ -504,7 +498,7 @@ class EditorFind extends BaseEditorOption {
504
498
  type: 'boolean',
505
499
  default: defaults.loop,
506
500
  description: ( localize(
507
- 284,
501
+ 282,
508
502
  "Controls whether the search automatically restarts from the beginning (or the end) when no further matches can be found."
509
503
  ))
510
504
  },
@@ -513,25 +507,25 @@ class EditorFind extends BaseEditorOption {
513
507
  enum: ['never', 'workspace'],
514
508
  default: 'workspace',
515
509
  enumDescriptions: [
516
- ( localize(285, 'Do not store search history from the find widget.')),
517
- ( localize(286, 'Store search history across the active workspace')),
510
+ ( localize(283, 'Do not store search history from the find widget.')),
511
+ ( localize(284, 'Store search history across the active workspace')),
518
512
  ],
519
- description: ( localize(287, "Controls how the find widget history should be stored"))
513
+ description: ( localize(285, "Controls how the find widget history should be stored"))
520
514
  },
521
515
  'editor.find.replaceHistory': {
522
516
  type: 'string',
523
517
  enum: ['never', 'workspace'],
524
518
  default: 'workspace',
525
519
  enumDescriptions: [
526
- ( localize(288, 'Do not store history from the replace widget.')),
527
- ( localize(289, 'Store replace history across the active workspace')),
520
+ ( localize(286, 'Do not store history from the replace widget.')),
521
+ ( localize(287, 'Store replace history across the active workspace')),
528
522
  ],
529
- description: ( localize(290, "Controls how the replace widget history should be stored"))
523
+ description: ( localize(288, "Controls how the replace widget history should be stored"))
530
524
  },
531
525
  'editor.find.findOnType': {
532
526
  type: 'boolean',
533
527
  default: defaults.findOnType,
534
- description: ( localize(291, "Controls whether the Find Widget should search as you type."))
528
+ description: ( localize(289, "Controls whether the Find Widget should search as you type."))
535
529
  },
536
530
  });
537
531
  }
@@ -543,11 +537,11 @@ class EditorFind extends BaseEditorOption {
543
537
  return {
544
538
  cursorMoveOnType: boolean(input.cursorMoveOnType, this.defaultValue.cursorMoveOnType),
545
539
  findOnType: boolean(input.findOnType, this.defaultValue.findOnType),
546
- seedSearchStringFromSelection: typeof _input.seedSearchStringFromSelection === 'boolean'
547
- ? (_input.seedSearchStringFromSelection ? 'always' : 'never')
540
+ seedSearchStringFromSelection: typeof input.seedSearchStringFromSelection === 'boolean'
541
+ ? (input.seedSearchStringFromSelection ? 'always' : 'never')
548
542
  : stringSet(input.seedSearchStringFromSelection, this.defaultValue.seedSearchStringFromSelection, ['never', 'always', 'selection']),
549
- autoFindInSelection: typeof _input.autoFindInSelection === 'boolean'
550
- ? (_input.autoFindInSelection ? 'always' : 'never')
543
+ autoFindInSelection: typeof input.autoFindInSelection === 'boolean'
544
+ ? (input.autoFindInSelection ? 'always' : 'never')
551
545
  : stringSet(input.autoFindInSelection, this.defaultValue.autoFindInSelection, ['never', 'always', 'multiline']),
552
546
  globalFindClipboard: boolean(input.globalFindClipboard, this.defaultValue.globalFindClipboard),
553
547
  addExtraSpaceOnTop: boolean(input.addExtraSpaceOnTop, this.defaultValue.addExtraSpaceOnTop),
@@ -566,20 +560,20 @@ class EditorFontLigatures extends BaseEditorOption {
566
560
  {
567
561
  type: 'boolean',
568
562
  description: ( localize(
569
- 292,
563
+ 290,
570
564
  "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."
571
565
  )),
572
566
  },
573
567
  {
574
568
  type: 'string',
575
569
  description: ( localize(
576
- 293,
570
+ 291,
577
571
  "Explicit 'font-feature-settings' CSS property. A boolean can be passed instead if one only needs to turn on/off ligatures."
578
572
  ))
579
573
  }
580
574
  ],
581
575
  description: ( localize(
582
- 294,
576
+ 292,
583
577
  "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."
584
578
  )),
585
579
  default: false
@@ -605,28 +599,28 @@ class EditorFontLigatures extends BaseEditorOption {
605
599
  }
606
600
  }
607
601
  class EditorFontVariations extends BaseEditorOption {
608
- static { this.OFF = 'normal'; }
609
- static { this.TRANSLATE = 'translate'; }
602
+ static { this.OFF = FONT_VARIATION_OFF; }
603
+ static { this.TRANSLATE = FONT_VARIATION_TRANSLATE; }
610
604
  constructor() {
611
605
  super(EditorOption.fontVariations, 'fontVariations', EditorFontVariations.OFF, {
612
606
  anyOf: [
613
607
  {
614
608
  type: 'boolean',
615
609
  description: ( localize(
616
- 295,
610
+ 293,
617
611
  "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."
618
612
  )),
619
613
  },
620
614
  {
621
615
  type: 'string',
622
616
  description: ( localize(
623
- 296,
617
+ 294,
624
618
  "Explicit 'font-variation-settings' CSS property. A boolean can be passed instead if one only needs to translate font-weight to font-variation-settings."
625
619
  ))
626
620
  }
627
621
  ],
628
622
  description: ( localize(
629
- 297,
623
+ 295,
630
624
  "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."
631
625
  )),
632
626
  default: false
@@ -656,7 +650,24 @@ class EditorFontVariations extends BaseEditorOption {
656
650
  }
657
651
  class EditorFontInfo extends ComputedEditorOption {
658
652
  constructor() {
659
- super(EditorOption.fontInfo);
653
+ super(EditorOption.fontInfo, ( new FontInfo({
654
+ pixelRatio: 0,
655
+ fontFamily: '',
656
+ fontWeight: '',
657
+ fontSize: 0,
658
+ fontFeatureSettings: '',
659
+ fontVariationSettings: '',
660
+ lineHeight: 0,
661
+ letterSpacing: 0,
662
+ isMonospace: false,
663
+ typicalHalfwidthCharacterWidth: 0,
664
+ typicalFullwidthCharacterWidth: 0,
665
+ canUseHalfwidthRightwardsArrow: false,
666
+ spaceWidth: 0,
667
+ middotWidth: 0,
668
+ wsmiddotWidth: 0,
669
+ maxDigitWidth: 0,
670
+ }, false)));
660
671
  }
661
672
  compute(env, options, _) {
662
673
  return env.fontInfo;
@@ -664,7 +675,7 @@ class EditorFontInfo extends ComputedEditorOption {
664
675
  }
665
676
  class EffectiveCursorStyle extends ComputedEditorOption {
666
677
  constructor() {
667
- super(EditorOption.effectiveCursorStyle);
678
+ super(EditorOption.effectiveCursorStyle, TextEditorCursorStyle.Line);
668
679
  }
669
680
  compute(env, options, _) {
670
681
  return env.inputMode === 'overtype' ?
@@ -674,7 +685,7 @@ class EffectiveCursorStyle extends ComputedEditorOption {
674
685
  }
675
686
  class EffectiveEditContextEnabled extends ComputedEditorOption {
676
687
  constructor() {
677
- super(EditorOption.effectiveEditContext);
688
+ super(EditorOption.effectiveEditContext, false);
678
689
  }
679
690
  compute(env, options) {
680
691
  return env.editContextSupported && options.get(EditorOption.editContext);
@@ -682,7 +693,7 @@ class EffectiveEditContextEnabled extends ComputedEditorOption {
682
693
  }
683
694
  class EffectiveAllowVariableFonts extends ComputedEditorOption {
684
695
  constructor() {
685
- super(EditorOption.effectiveAllowVariableFonts);
696
+ super(EditorOption.effectiveAllowVariableFonts, false);
686
697
  }
687
698
  compute(env, options) {
688
699
  const accessibilitySupport = env.accessibilitySupport;
@@ -701,7 +712,7 @@ class EditorFontSize extends SimpleEditorOption {
701
712
  minimum: 6,
702
713
  maximum: 100,
703
714
  default: EDITOR_FONT_DEFAULTS.fontSize,
704
- description: ( localize(298, "Controls the font size in pixels."))
715
+ description: ( localize(296, "Controls the font size in pixels."))
705
716
  });
706
717
  }
707
718
  validate(input) {
@@ -727,7 +738,7 @@ class EditorFontWeight extends BaseEditorOption {
727
738
  minimum: EditorFontWeight.MINIMUM_VALUE,
728
739
  maximum: EditorFontWeight.MAXIMUM_VALUE,
729
740
  errorMessage: ( localize(
730
- 299,
741
+ 297,
731
742
  "Only \"normal\" and \"bold\" keywords or numbers between 1 and 1000 are allowed."
732
743
  ))
733
744
  },
@@ -741,7 +752,7 @@ class EditorFontWeight extends BaseEditorOption {
741
752
  ],
742
753
  default: EDITOR_FONT_DEFAULTS.fontWeight,
743
754
  description: ( localize(
744
- 300,
755
+ 298,
745
756
  "Controls the font weight. Accepts \"normal\" and \"bold\" keywords or numbers between 1 and 1000."
746
757
  ))
747
758
  });
@@ -775,50 +786,50 @@ class EditorGoToLocation extends BaseEditorOption {
775
786
  enum: ['peek', 'gotoAndPeek', 'goto'],
776
787
  default: defaults.multiple,
777
788
  enumDescriptions: [
778
- ( localize(301, 'Show Peek view of the results (default)')),
779
- ( localize(302, 'Go to the primary result and show a Peek view')),
780
- ( localize(303, 'Go to the primary result and enable Peek-less navigation to others'))
789
+ ( localize(299, 'Show Peek view of the results (default)')),
790
+ ( localize(300, 'Go to the primary result and show a Peek view')),
791
+ ( localize(301, 'Go to the primary result and enable Peek-less navigation to others'))
781
792
  ]
782
793
  };
783
794
  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'];
784
795
  super(EditorOption.gotoLocation, 'gotoLocation', defaults, {
785
796
  'editor.gotoLocation.multiple': {
786
797
  deprecationMessage: ( localize(
787
- 304,
798
+ 302,
788
799
  "This setting is deprecated, please use separate settings like 'editor.editor.gotoLocation.multipleDefinitions' or 'editor.editor.gotoLocation.multipleImplementations' instead."
789
800
  )),
790
801
  },
791
802
  'editor.gotoLocation.multipleDefinitions': {
792
803
  description: ( localize(
793
- 305,
804
+ 303,
794
805
  "Controls the behavior the 'Go to Definition'-command when multiple target locations exist."
795
806
  )),
796
807
  ...jsonSubset,
797
808
  },
798
809
  'editor.gotoLocation.multipleTypeDefinitions': {
799
810
  description: ( localize(
800
- 306,
811
+ 304,
801
812
  "Controls the behavior the 'Go to Type Definition'-command when multiple target locations exist."
802
813
  )),
803
814
  ...jsonSubset,
804
815
  },
805
816
  'editor.gotoLocation.multipleDeclarations': {
806
817
  description: ( localize(
807
- 307,
818
+ 305,
808
819
  "Controls the behavior the 'Go to Declaration'-command when multiple target locations exist."
809
820
  )),
810
821
  ...jsonSubset,
811
822
  },
812
823
  'editor.gotoLocation.multipleImplementations': {
813
824
  description: ( localize(
814
- 308,
825
+ 306,
815
826
  "Controls the behavior the 'Go to Implementations'-command when multiple target locations exist."
816
827
  )),
817
828
  ...jsonSubset,
818
829
  },
819
830
  'editor.gotoLocation.multipleReferences': {
820
831
  description: ( localize(
821
- 309,
832
+ 307,
822
833
  "Controls the behavior the 'Go to References'-command when multiple target locations exist."
823
834
  )),
824
835
  ...jsonSubset,
@@ -828,7 +839,7 @@ class EditorGoToLocation extends BaseEditorOption {
828
839
  default: defaults.alternativeDefinitionCommand,
829
840
  enum: alternativeCommandOptions,
830
841
  description: ( localize(
831
- 310,
842
+ 308,
832
843
  "Alternative command id that is being executed when the result of 'Go to Definition' is the current location."
833
844
  ))
834
845
  },
@@ -837,7 +848,7 @@ class EditorGoToLocation extends BaseEditorOption {
837
848
  default: defaults.alternativeTypeDefinitionCommand,
838
849
  enum: alternativeCommandOptions,
839
850
  description: ( localize(
840
- 311,
851
+ 309,
841
852
  "Alternative command id that is being executed when the result of 'Go to Type Definition' is the current location."
842
853
  ))
843
854
  },
@@ -846,7 +857,7 @@ class EditorGoToLocation extends BaseEditorOption {
846
857
  default: defaults.alternativeDeclarationCommand,
847
858
  enum: alternativeCommandOptions,
848
859
  description: ( localize(
849
- 312,
860
+ 310,
850
861
  "Alternative command id that is being executed when the result of 'Go to Declaration' is the current location."
851
862
  ))
852
863
  },
@@ -855,7 +866,7 @@ class EditorGoToLocation extends BaseEditorOption {
855
866
  default: defaults.alternativeImplementationCommand,
856
867
  enum: alternativeCommandOptions,
857
868
  description: ( localize(
858
- 313,
869
+ 311,
859
870
  "Alternative command id that is being executed when the result of 'Go to Implementation' is the current location."
860
871
  ))
861
872
  },
@@ -864,7 +875,7 @@ class EditorGoToLocation extends BaseEditorOption {
864
875
  default: defaults.alternativeReferenceCommand,
865
876
  enum: alternativeCommandOptions,
866
877
  description: ( localize(
867
- 314,
878
+ 312,
868
879
  "Alternative command id that is being executed when the result of 'Go to Reference' is the current location."
869
880
  ))
870
881
  },
@@ -877,12 +888,12 @@ class EditorGoToLocation extends BaseEditorOption {
877
888
  const input = _input;
878
889
  return {
879
890
  multiple: stringSet(input.multiple, this.defaultValue.multiple, ['peek', 'gotoAndPeek', 'goto']),
880
- multipleDefinitions: input.multipleDefinitions ?? stringSet(input.multipleDefinitions, 'peek', ['peek', 'gotoAndPeek', 'goto']),
881
- multipleTypeDefinitions: input.multipleTypeDefinitions ?? stringSet(input.multipleTypeDefinitions, 'peek', ['peek', 'gotoAndPeek', 'goto']),
882
- multipleDeclarations: input.multipleDeclarations ?? stringSet(input.multipleDeclarations, 'peek', ['peek', 'gotoAndPeek', 'goto']),
883
- multipleImplementations: input.multipleImplementations ?? stringSet(input.multipleImplementations, 'peek', ['peek', 'gotoAndPeek', 'goto']),
884
- multipleReferences: input.multipleReferences ?? stringSet(input.multipleReferences, 'peek', ['peek', 'gotoAndPeek', 'goto']),
885
- multipleTests: input.multipleTests ?? stringSet(input.multipleTests, 'peek', ['peek', 'gotoAndPeek', 'goto']),
891
+ multipleDefinitions: stringSet(input.multipleDefinitions, 'peek', ['peek', 'gotoAndPeek', 'goto']),
892
+ multipleTypeDefinitions: stringSet(input.multipleTypeDefinitions, 'peek', ['peek', 'gotoAndPeek', 'goto']),
893
+ multipleDeclarations: stringSet(input.multipleDeclarations, 'peek', ['peek', 'gotoAndPeek', 'goto']),
894
+ multipleImplementations: stringSet(input.multipleImplementations, 'peek', ['peek', 'gotoAndPeek', 'goto']),
895
+ multipleReferences: stringSet(input.multipleReferences, 'peek', ['peek', 'gotoAndPeek', 'goto']),
896
+ multipleTests: stringSet(input.multipleTests, 'peek', ['peek', 'gotoAndPeek', 'goto']),
886
897
  alternativeDefinitionCommand: EditorStringOption.string(input.alternativeDefinitionCommand, this.defaultValue.alternativeDefinitionCommand),
887
898
  alternativeTypeDefinitionCommand: EditorStringOption.string(input.alternativeTypeDefinitionCommand, this.defaultValue.alternativeTypeDefinitionCommand),
888
899
  alternativeDeclarationCommand: EditorStringOption.string(input.alternativeDeclarationCommand, this.defaultValue.alternativeDeclarationCommand),
@@ -905,20 +916,20 @@ class EditorHover extends BaseEditorOption {
905
916
  'editor.hover.enabled': {
906
917
  type: 'boolean',
907
918
  default: defaults.enabled,
908
- description: ( localize(315, "Controls whether the hover is shown."))
919
+ description: ( localize(313, "Controls whether the hover is shown."))
909
920
  },
910
921
  'editor.hover.delay': {
911
922
  type: 'number',
912
923
  default: defaults.delay,
913
924
  minimum: 0,
914
925
  maximum: 10000,
915
- description: ( localize(316, "Controls the delay in milliseconds after which the hover is shown."))
926
+ description: ( localize(314, "Controls the delay in milliseconds after which the hover is shown."))
916
927
  },
917
928
  'editor.hover.sticky': {
918
929
  type: 'boolean',
919
930
  default: defaults.sticky,
920
931
  description: ( localize(
921
- 317,
932
+ 315,
922
933
  "Controls whether the hover should remain visible when mouse is moved over it."
923
934
  ))
924
935
  },
@@ -927,14 +938,14 @@ class EditorHover extends BaseEditorOption {
927
938
  minimum: 0,
928
939
  default: defaults.hidingDelay,
929
940
  markdownDescription: ( localize(
930
- 318,
941
+ 316,
931
942
  "Controls the delay in milliseconds after which the hover is hidden. Requires `#editor.hover.sticky#` to be enabled."
932
943
  ))
933
944
  },
934
945
  'editor.hover.above': {
935
946
  type: 'boolean',
936
947
  default: defaults.above,
937
- description: ( localize(319, "Prefer showing hovers above the line, if there's space."))
948
+ description: ( localize(317, "Prefer showing hovers above the line, if there's space."))
938
949
  },
939
950
  });
940
951
  }
@@ -960,7 +971,44 @@ var RenderMinimap;
960
971
  })(RenderMinimap || (RenderMinimap = {}));
961
972
  class EditorLayoutInfoComputer extends ComputedEditorOption {
962
973
  constructor() {
963
- super(EditorOption.layoutInfo);
974
+ super(EditorOption.layoutInfo, {
975
+ width: 0,
976
+ height: 0,
977
+ glyphMarginLeft: 0,
978
+ glyphMarginWidth: 0,
979
+ glyphMarginDecorationLaneCount: 0,
980
+ lineNumbersLeft: 0,
981
+ lineNumbersWidth: 0,
982
+ decorationsLeft: 0,
983
+ decorationsWidth: 0,
984
+ contentLeft: 0,
985
+ contentWidth: 0,
986
+ minimap: {
987
+ renderMinimap: RenderMinimap.None,
988
+ minimapLeft: 0,
989
+ minimapWidth: 0,
990
+ minimapHeightIsEditorHeight: false,
991
+ minimapIsSampling: false,
992
+ minimapScale: 1,
993
+ minimapLineHeight: 1,
994
+ minimapCanvasInnerWidth: 0,
995
+ minimapCanvasInnerHeight: 0,
996
+ minimapCanvasOuterWidth: 0,
997
+ minimapCanvasOuterHeight: 0,
998
+ },
999
+ viewportColumn: 0,
1000
+ isWordWrapMinified: false,
1001
+ isViewportWrapping: false,
1002
+ wrappingColumn: -1,
1003
+ verticalScrollbarWidth: 0,
1004
+ horizontalScrollbarHeight: 0,
1005
+ overviewRuler: {
1006
+ top: 0,
1007
+ width: 0,
1008
+ height: 0,
1009
+ right: 0
1010
+ }
1011
+ });
964
1012
  }
965
1013
  compute(env, options, _) {
966
1014
  return EditorLayoutInfoComputer.computeLayout(options, {
@@ -1244,11 +1292,11 @@ class WrappingStrategy extends BaseEditorOption {
1244
1292
  'editor.wrappingStrategy': {
1245
1293
  enumDescriptions: [
1246
1294
  ( localize(
1247
- 320,
1295
+ 318,
1248
1296
  "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."
1249
1297
  )),
1250
1298
  ( localize(
1251
- 321,
1299
+ 319,
1252
1300
  "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."
1253
1301
  ))
1254
1302
  ],
@@ -1256,7 +1304,7 @@ class WrappingStrategy extends BaseEditorOption {
1256
1304
  enum: ['simple', 'advanced'],
1257
1305
  default: 'simple',
1258
1306
  description: ( localize(
1259
- 322,
1307
+ 320,
1260
1308
  "Controls the algorithm that computes wrapping points. Note that when in accessibility mode, advanced will be used for the best experience."
1261
1309
  ))
1262
1310
  }
@@ -1288,14 +1336,14 @@ class EditorLightbulb extends BaseEditorOption {
1288
1336
  enum: [ShowLightbulbIconMode.Off, ShowLightbulbIconMode.OnCode, ShowLightbulbIconMode.On],
1289
1337
  default: defaults.enabled,
1290
1338
  enumDescriptions: [
1291
- ( localize(323, 'Disable the code action menu.')),
1292
- ( localize(324, 'Show the code action menu when the cursor is on lines with code.')),
1339
+ ( localize(321, 'Disable the code action menu.')),
1340
+ ( localize(322, 'Show the code action menu when the cursor is on lines with code.')),
1293
1341
  ( localize(
1294
- 325,
1342
+ 323,
1295
1343
  'Show the code action menu when the cursor is on lines with code or on empty lines.'
1296
1344
  )),
1297
1345
  ],
1298
- description: ( localize(326, "Enables the Code Action lightbulb in the editor."))
1346
+ description: ( localize(324, "Enables the Code Action lightbulb in the editor."))
1299
1347
  }
1300
1348
  });
1301
1349
  }
@@ -1317,7 +1365,7 @@ class EditorStickyScroll extends BaseEditorOption {
1317
1365
  type: 'boolean',
1318
1366
  default: defaults.enabled,
1319
1367
  description: ( localize(
1320
- 327,
1368
+ 325,
1321
1369
  "Shows the nested current scopes during the scroll at the top of the editor."
1322
1370
  ))
1323
1371
  },
@@ -1326,14 +1374,14 @@ class EditorStickyScroll extends BaseEditorOption {
1326
1374
  default: defaults.maxLineCount,
1327
1375
  minimum: 1,
1328
1376
  maximum: 20,
1329
- description: ( localize(328, "Defines the maximum number of sticky lines to show."))
1377
+ description: ( localize(326, "Defines the maximum number of sticky lines to show."))
1330
1378
  },
1331
1379
  'editor.stickyScroll.defaultModel': {
1332
1380
  type: 'string',
1333
1381
  enum: ['outlineModel', 'foldingProviderModel', 'indentationModel'],
1334
1382
  default: defaults.defaultModel,
1335
1383
  description: ( localize(
1336
- 329,
1384
+ 327,
1337
1385
  "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."
1338
1386
  ))
1339
1387
  },
@@ -1341,7 +1389,7 @@ class EditorStickyScroll extends BaseEditorOption {
1341
1389
  type: 'boolean',
1342
1390
  default: defaults.scrollWithEditor,
1343
1391
  description: ( localize(
1344
- 330,
1392
+ 328,
1345
1393
  "Enable scrolling of Sticky Scroll with the editor's horizontal scrollbar."
1346
1394
  ))
1347
1395
  },
@@ -1367,28 +1415,28 @@ class EditorInlayHints extends BaseEditorOption {
1367
1415
  'editor.inlayHints.enabled': {
1368
1416
  type: 'string',
1369
1417
  default: defaults.enabled,
1370
- description: ( localize(331, "Enables the inlay hints in the editor.")),
1418
+ description: ( localize(329, "Enables the inlay hints in the editor.")),
1371
1419
  enum: ['on', 'onUnlessPressed', 'offUnlessPressed', 'off'],
1372
1420
  markdownEnumDescriptions: [
1373
- ( localize(332, "Inlay hints are enabled")),
1421
+ ( localize(330, "Inlay hints are enabled")),
1374
1422
  ( localize(
1375
- 333,
1423
+ 331,
1376
1424
  "Inlay hints are showing by default and hide when holding {0}",
1377
1425
  isMacintosh ? `Ctrl+Option` : `Ctrl+Alt`
1378
1426
  )),
1379
1427
  ( localize(
1380
- 334,
1428
+ 332,
1381
1429
  "Inlay hints are hidden by default and show when holding {0}",
1382
1430
  isMacintosh ? `Ctrl+Option` : `Ctrl+Alt`
1383
1431
  )),
1384
- ( localize(335, "Inlay hints are disabled")),
1432
+ ( localize(333, "Inlay hints are disabled")),
1385
1433
  ],
1386
1434
  },
1387
1435
  'editor.inlayHints.fontSize': {
1388
1436
  type: 'number',
1389
1437
  default: defaults.fontSize,
1390
1438
  markdownDescription: ( localize(
1391
- 336,
1439
+ 334,
1392
1440
  "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.",
1393
1441
  '`#editor.fontSize#`',
1394
1442
  '`5`'
@@ -1398,7 +1446,7 @@ class EditorInlayHints extends BaseEditorOption {
1398
1446
  type: 'string',
1399
1447
  default: defaults.fontFamily,
1400
1448
  markdownDescription: ( localize(
1401
- 337,
1449
+ 335,
1402
1450
  "Controls font family of inlay hints in the editor. When set to empty, the {0} is used.",
1403
1451
  '`#editor.fontFamily#`'
1404
1452
  ))
@@ -1406,13 +1454,13 @@ class EditorInlayHints extends BaseEditorOption {
1406
1454
  'editor.inlayHints.padding': {
1407
1455
  type: 'boolean',
1408
1456
  default: defaults.padding,
1409
- description: ( localize(338, "Enables the padding around the inlay hints in the editor."))
1457
+ description: ( localize(336, "Enables the padding around the inlay hints in the editor."))
1410
1458
  },
1411
1459
  'editor.inlayHints.maximumLength': {
1412
1460
  type: 'number',
1413
1461
  default: defaults.maximumLength,
1414
1462
  markdownDescription: ( localize(
1415
- 339,
1463
+ 337,
1416
1464
  "Maximum overall length of inlay hints, for a single line, before they get truncated by the editor. Set to `0` to never truncate"
1417
1465
  ))
1418
1466
  }
@@ -1460,7 +1508,7 @@ class EditorLineDecorationsWidth extends BaseEditorOption {
1460
1508
  class EditorLineHeight extends EditorFloatOption {
1461
1509
  constructor() {
1462
1510
  super(EditorOption.lineHeight, 'lineHeight', EDITOR_FONT_DEFAULTS.lineHeight, x => EditorFloatOption.clamp(x, 0, 150), { markdownDescription: ( localize(
1463
- 340,
1511
+ 338,
1464
1512
  "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."
1465
1513
  )) }, 0, 150);
1466
1514
  }
@@ -1489,53 +1537,53 @@ class EditorMinimap extends BaseEditorOption {
1489
1537
  'editor.minimap.enabled': {
1490
1538
  type: 'boolean',
1491
1539
  default: defaults.enabled,
1492
- description: ( localize(341, "Controls whether the minimap is shown."))
1540
+ description: ( localize(339, "Controls whether the minimap is shown."))
1493
1541
  },
1494
1542
  'editor.minimap.autohide': {
1495
1543
  type: 'string',
1496
1544
  enum: ['none', 'mouseover', 'scroll'],
1497
1545
  enumDescriptions: [
1498
- ( localize(342, "The minimap is always shown.")),
1546
+ ( localize(340, "The minimap is always shown.")),
1499
1547
  ( localize(
1500
- 343,
1548
+ 341,
1501
1549
  "The minimap is hidden when mouse is not over the minimap and shown when mouse is over the minimap."
1502
1550
  )),
1503
- ( localize(344, "The minimap is only shown when the editor is scrolled")),
1551
+ ( localize(342, "The minimap is only shown when the editor is scrolled")),
1504
1552
  ],
1505
1553
  default: defaults.autohide,
1506
- description: ( localize(345, "Controls whether the minimap is hidden automatically."))
1554
+ description: ( localize(343, "Controls whether the minimap is hidden automatically."))
1507
1555
  },
1508
1556
  'editor.minimap.size': {
1509
1557
  type: 'string',
1510
1558
  enum: ['proportional', 'fill', 'fit'],
1511
1559
  enumDescriptions: [
1512
1560
  ( localize(
1513
- 346,
1561
+ 344,
1514
1562
  "The minimap has the same size as the editor contents (and might scroll)."
1515
1563
  )),
1516
1564
  ( localize(
1517
- 347,
1565
+ 345,
1518
1566
  "The minimap will stretch or shrink as necessary to fill the height of the editor (no scrolling)."
1519
1567
  )),
1520
1568
  ( localize(
1521
- 348,
1569
+ 346,
1522
1570
  "The minimap will shrink as necessary to never be larger than the editor (no scrolling)."
1523
1571
  )),
1524
1572
  ],
1525
1573
  default: defaults.size,
1526
- description: ( localize(349, "Controls the size of the minimap."))
1574
+ description: ( localize(347, "Controls the size of the minimap."))
1527
1575
  },
1528
1576
  'editor.minimap.side': {
1529
1577
  type: 'string',
1530
1578
  enum: ['left', 'right'],
1531
1579
  default: defaults.side,
1532
- description: ( localize(350, "Controls the side where to render the minimap."))
1580
+ description: ( localize(348, "Controls the side where to render the minimap."))
1533
1581
  },
1534
1582
  'editor.minimap.showSlider': {
1535
1583
  type: 'string',
1536
1584
  enum: ['always', 'mouseover'],
1537
1585
  default: defaults.showSlider,
1538
- description: ( localize(351, "Controls when the minimap slider is shown."))
1586
+ description: ( localize(349, "Controls when the minimap slider is shown."))
1539
1587
  },
1540
1588
  'editor.minimap.scale': {
1541
1589
  type: 'number',
@@ -1543,18 +1591,18 @@ class EditorMinimap extends BaseEditorOption {
1543
1591
  minimum: 1,
1544
1592
  maximum: 3,
1545
1593
  enum: [1, 2, 3],
1546
- description: ( localize(352, "Scale of content drawn in the minimap: 1, 2 or 3."))
1594
+ description: ( localize(350, "Scale of content drawn in the minimap: 1, 2 or 3."))
1547
1595
  },
1548
1596
  'editor.minimap.renderCharacters': {
1549
1597
  type: 'boolean',
1550
1598
  default: defaults.renderCharacters,
1551
- description: ( localize(353, "Render the actual characters on a line as opposed to color blocks."))
1599
+ description: ( localize(351, "Render the actual characters on a line as opposed to color blocks."))
1552
1600
  },
1553
1601
  'editor.minimap.maxColumn': {
1554
1602
  type: 'number',
1555
1603
  default: defaults.maxColumn,
1556
1604
  description: ( localize(
1557
- 354,
1605
+ 352,
1558
1606
  "Limit the width of the minimap to render at most a certain number of columns."
1559
1607
  ))
1560
1608
  },
@@ -1562,7 +1610,7 @@ class EditorMinimap extends BaseEditorOption {
1562
1610
  type: 'boolean',
1563
1611
  default: defaults.showRegionSectionHeaders,
1564
1612
  description: ( localize(
1565
- 355,
1613
+ 353,
1566
1614
  "Controls whether named regions are shown as section headers in the minimap."
1567
1615
  ))
1568
1616
  },
@@ -1570,7 +1618,7 @@ class EditorMinimap extends BaseEditorOption {
1570
1618
  type: 'boolean',
1571
1619
  default: defaults.showMarkSectionHeaders,
1572
1620
  description: ( localize(
1573
- 356,
1621
+ 354,
1574
1622
  "Controls whether MARK: comments are shown as section headers in the minimap."
1575
1623
  ))
1576
1624
  },
@@ -1578,20 +1626,20 @@ class EditorMinimap extends BaseEditorOption {
1578
1626
  type: 'string',
1579
1627
  default: defaults.markSectionHeaderRegex,
1580
1628
  description: ( localize(
1581
- 357,
1629
+ 355,
1582
1630
  "Defines the regular expression used to find section headers in comments. The regex must contain a named match group `label` (written as `(?<label>.+)`) that encapsulates the section header, otherwise it will not work. Optionally you can include another match group named `separator`. Use \\n in the pattern to match multi-line headers."
1583
1631
  )),
1584
1632
  },
1585
1633
  'editor.minimap.sectionHeaderFontSize': {
1586
1634
  type: 'number',
1587
1635
  default: defaults.sectionHeaderFontSize,
1588
- description: ( localize(358, "Controls the font size of section headers in the minimap."))
1636
+ description: ( localize(356, "Controls the font size of section headers in the minimap."))
1589
1637
  },
1590
1638
  'editor.minimap.sectionHeaderLetterSpacing': {
1591
1639
  type: 'number',
1592
1640
  default: defaults.sectionHeaderLetterSpacing,
1593
1641
  description: ( localize(
1594
- 359,
1642
+ 357,
1595
1643
  "Controls the amount of space (in pixels) between characters of section header. This helps the readability of the header in small font sizes."
1596
1644
  ))
1597
1645
  }
@@ -1603,7 +1651,7 @@ class EditorMinimap extends BaseEditorOption {
1603
1651
  }
1604
1652
  const input = _input;
1605
1653
  let markSectionHeaderRegex = this.defaultValue.markSectionHeaderRegex;
1606
- const inputRegex = _input.markSectionHeaderRegex;
1654
+ const inputRegex = input.markSectionHeaderRegex;
1607
1655
  if (typeof inputRegex === 'string') {
1608
1656
  try {
1609
1657
  ( new RegExp(inputRegex, 'd'));
@@ -1623,8 +1671,8 @@ class EditorMinimap extends BaseEditorOption {
1623
1671
  showRegionSectionHeaders: boolean(input.showRegionSectionHeaders, this.defaultValue.showRegionSectionHeaders),
1624
1672
  showMarkSectionHeaders: boolean(input.showMarkSectionHeaders, this.defaultValue.showMarkSectionHeaders),
1625
1673
  markSectionHeaderRegex: markSectionHeaderRegex,
1626
- sectionHeaderFontSize: EditorFloatOption.clamp(input.sectionHeaderFontSize ?? this.defaultValue.sectionHeaderFontSize, 4, 32),
1627
- sectionHeaderLetterSpacing: EditorFloatOption.clamp(input.sectionHeaderLetterSpacing ?? this.defaultValue.sectionHeaderLetterSpacing, 0, 5),
1674
+ sectionHeaderFontSize: EditorFloatOption.clamp(EditorFloatOption.float(input.sectionHeaderFontSize, this.defaultValue.sectionHeaderFontSize), 4, 32),
1675
+ sectionHeaderLetterSpacing: EditorFloatOption.clamp(EditorFloatOption.float(input.sectionHeaderLetterSpacing, this.defaultValue.sectionHeaderLetterSpacing), 0, 5),
1628
1676
  };
1629
1677
  }
1630
1678
  }
@@ -1643,7 +1691,7 @@ class EditorPadding extends BaseEditorOption {
1643
1691
  minimum: 0,
1644
1692
  maximum: 1000,
1645
1693
  description: ( localize(
1646
- 360,
1694
+ 358,
1647
1695
  "Controls the amount of space between the top edge of the editor and the first line."
1648
1696
  ))
1649
1697
  },
@@ -1653,7 +1701,7 @@ class EditorPadding extends BaseEditorOption {
1653
1701
  minimum: 0,
1654
1702
  maximum: 1000,
1655
1703
  description: ( localize(
1656
- 361,
1704
+ 359,
1657
1705
  "Controls the amount of space between the bottom edge of the editor and the last line."
1658
1706
  ))
1659
1707
  }
@@ -1681,7 +1729,7 @@ class EditorParameterHints extends BaseEditorOption {
1681
1729
  type: 'boolean',
1682
1730
  default: defaults.enabled,
1683
1731
  description: ( localize(
1684
- 362,
1732
+ 360,
1685
1733
  "Enables a pop-up that shows parameter documentation and type information as you type."
1686
1734
  ))
1687
1735
  },
@@ -1689,7 +1737,7 @@ class EditorParameterHints extends BaseEditorOption {
1689
1737
  type: 'boolean',
1690
1738
  default: defaults.cycle,
1691
1739
  description: ( localize(
1692
- 363,
1740
+ 361,
1693
1741
  "Controls whether the parameter hints menu cycles or closes when reaching the end of the list."
1694
1742
  ))
1695
1743
  },
@@ -1708,7 +1756,7 @@ class EditorParameterHints extends BaseEditorOption {
1708
1756
  }
1709
1757
  class EditorPixelRatio extends ComputedEditorOption {
1710
1758
  constructor() {
1711
- super(EditorOption.pixelRatio);
1759
+ super(EditorOption.pixelRatio, 1);
1712
1760
  }
1713
1761
  compute(env, options, _) {
1714
1762
  return env.pixelRatio;
@@ -1740,7 +1788,7 @@ class EditorQuickSuggestions extends BaseEditorOption {
1740
1788
  {
1741
1789
  type: 'string',
1742
1790
  enum: ['on', 'inline', 'off'],
1743
- enumDescriptions: [( localize(364, "Quick suggestions show inside the suggest widget")), ( localize(365, "Quick suggestions show as ghost text")), ( localize(366, "Quick suggestions are disabled"))]
1791
+ enumDescriptions: [( localize(362, "Quick suggestions show inside the suggest widget")), ( localize(363, "Quick suggestions show as ghost text")), ( localize(364, "Quick suggestions are disabled"))]
1744
1792
  }
1745
1793
  ];
1746
1794
  super(EditorOption.quickSuggestions, 'quickSuggestions', defaults, {
@@ -1750,22 +1798,22 @@ class EditorQuickSuggestions extends BaseEditorOption {
1750
1798
  strings: {
1751
1799
  anyOf: types,
1752
1800
  default: defaults.strings,
1753
- description: ( localize(367, "Enable quick suggestions inside strings."))
1801
+ description: ( localize(365, "Enable quick suggestions inside strings."))
1754
1802
  },
1755
1803
  comments: {
1756
1804
  anyOf: types,
1757
1805
  default: defaults.comments,
1758
- description: ( localize(368, "Enable quick suggestions inside comments."))
1806
+ description: ( localize(366, "Enable quick suggestions inside comments."))
1759
1807
  },
1760
1808
  other: {
1761
1809
  anyOf: types,
1762
1810
  default: defaults.other,
1763
- description: ( localize(369, "Enable quick suggestions outside of strings and comments."))
1811
+ description: ( localize(367, "Enable quick suggestions outside of strings and comments."))
1764
1812
  },
1765
1813
  },
1766
1814
  default: defaults,
1767
1815
  markdownDescription: ( localize(
1768
- 370,
1816
+ 368,
1769
1817
  "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.",
1770
1818
  '`#editor.suggestOnTriggerCharacters#`'
1771
1819
  ))
@@ -1824,13 +1872,13 @@ class EditorRenderLineNumbersOption extends BaseEditorOption {
1824
1872
  type: 'string',
1825
1873
  enum: ['off', 'on', 'relative', 'interval'],
1826
1874
  enumDescriptions: [
1827
- ( localize(371, "Line numbers are not rendered.")),
1828
- ( localize(372, "Line numbers are rendered as absolute number.")),
1829
- ( localize(373, "Line numbers are rendered as distance in lines to cursor position.")),
1830
- ( localize(374, "Line numbers are rendered every 10 lines."))
1875
+ ( localize(369, "Line numbers are not rendered.")),
1876
+ ( localize(370, "Line numbers are rendered as absolute number.")),
1877
+ ( localize(371, "Line numbers are rendered as distance in lines to cursor position.")),
1878
+ ( localize(372, "Line numbers are rendered every 10 lines."))
1831
1879
  ],
1832
1880
  default: 'on',
1833
- description: ( localize(375, "Controls the display of line numbers."))
1881
+ description: ( localize(373, "Controls the display of line numbers."))
1834
1882
  });
1835
1883
  }
1836
1884
  validate(lineNumbers) {
@@ -1874,7 +1922,7 @@ class EditorRulers extends BaseEditorOption {
1874
1922
  constructor() {
1875
1923
  const defaults = [];
1876
1924
  const columnSchema = { type: 'number', description: ( localize(
1877
- 376,
1925
+ 374,
1878
1926
  "Number of monospace characters at which this editor ruler will render."
1879
1927
  )) };
1880
1928
  super(EditorOption.rulers, 'rulers', defaults, {
@@ -1890,7 +1938,7 @@ class EditorRulers extends BaseEditorOption {
1890
1938
  column: columnSchema,
1891
1939
  color: {
1892
1940
  type: 'string',
1893
- description: ( localize(377, "Color of this editor ruler.")),
1941
+ description: ( localize(375, "Color of this editor ruler.")),
1894
1942
  format: 'color-hex'
1895
1943
  }
1896
1944
  }
@@ -1899,7 +1947,7 @@ class EditorRulers extends BaseEditorOption {
1899
1947
  },
1900
1948
  default: defaults,
1901
1949
  description: ( localize(
1902
- 378,
1950
+ 376,
1903
1951
  "Render vertical rulers after a certain number of monospace characters. Use multiple values for multiple rulers. No rulers are drawn if array is empty."
1904
1952
  ))
1905
1953
  });
@@ -1973,44 +2021,44 @@ class EditorScrollbar extends BaseEditorOption {
1973
2021
  type: 'string',
1974
2022
  enum: ['auto', 'visible', 'hidden'],
1975
2023
  enumDescriptions: [
1976
- ( localize(379, "The vertical scrollbar will be visible only when necessary.")),
1977
- ( localize(380, "The vertical scrollbar will always be visible.")),
1978
- ( localize(381, "The vertical scrollbar will always be hidden.")),
2024
+ ( localize(377, "The vertical scrollbar will be visible only when necessary.")),
2025
+ ( localize(378, "The vertical scrollbar will always be visible.")),
2026
+ ( localize(379, "The vertical scrollbar will always be hidden.")),
1979
2027
  ],
1980
2028
  default: 'auto',
1981
- description: ( localize(382, "Controls the visibility of the vertical scrollbar."))
2029
+ description: ( localize(380, "Controls the visibility of the vertical scrollbar."))
1982
2030
  },
1983
2031
  'editor.scrollbar.horizontal': {
1984
2032
  type: 'string',
1985
2033
  enum: ['auto', 'visible', 'hidden'],
1986
2034
  enumDescriptions: [
1987
- ( localize(383, "The horizontal scrollbar will be visible only when necessary.")),
1988
- ( localize(384, "The horizontal scrollbar will always be visible.")),
1989
- ( localize(385, "The horizontal scrollbar will always be hidden.")),
2035
+ ( localize(381, "The horizontal scrollbar will be visible only when necessary.")),
2036
+ ( localize(382, "The horizontal scrollbar will always be visible.")),
2037
+ ( localize(383, "The horizontal scrollbar will always be hidden.")),
1990
2038
  ],
1991
2039
  default: 'auto',
1992
- description: ( localize(386, "Controls the visibility of the horizontal scrollbar."))
2040
+ description: ( localize(384, "Controls the visibility of the horizontal scrollbar."))
1993
2041
  },
1994
2042
  'editor.scrollbar.verticalScrollbarSize': {
1995
2043
  type: 'number',
1996
2044
  default: defaults.verticalScrollbarSize,
1997
- description: ( localize(387, "The width of the vertical scrollbar."))
2045
+ description: ( localize(385, "The width of the vertical scrollbar."))
1998
2046
  },
1999
2047
  'editor.scrollbar.horizontalScrollbarSize': {
2000
2048
  type: 'number',
2001
2049
  default: defaults.horizontalScrollbarSize,
2002
- description: ( localize(388, "The height of the horizontal scrollbar."))
2050
+ description: ( localize(386, "The height of the horizontal scrollbar."))
2003
2051
  },
2004
2052
  'editor.scrollbar.scrollByPage': {
2005
2053
  type: 'boolean',
2006
2054
  default: defaults.scrollByPage,
2007
- description: ( localize(389, "Controls whether clicks scroll by page or jump to click position."))
2055
+ description: ( localize(387, "Controls whether clicks scroll by page or jump to click position."))
2008
2056
  },
2009
2057
  'editor.scrollbar.ignoreHorizontalScrollbarInContentHeight': {
2010
2058
  type: 'boolean',
2011
2059
  default: defaults.ignoreHorizontalScrollbarInContentHeight,
2012
2060
  description: ( localize(
2013
- 390,
2061
+ 388,
2014
2062
  "When set, the horizontal scrollbar will not increase the size of the editor's content."
2015
2063
  ))
2016
2064
  }
@@ -2069,7 +2117,7 @@ class UnicodeHighlight extends BaseEditorOption {
2069
2117
  enum: [true, false, inUntrustedWorkspace],
2070
2118
  default: defaults.nonBasicASCII,
2071
2119
  description: ( localize(
2072
- 391,
2120
+ 389,
2073
2121
  "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."
2074
2122
  ))
2075
2123
  },
@@ -2078,7 +2126,7 @@ class UnicodeHighlight extends BaseEditorOption {
2078
2126
  type: 'boolean',
2079
2127
  default: defaults.invisibleCharacters,
2080
2128
  description: ( localize(
2081
- 392,
2129
+ 390,
2082
2130
  "Controls whether characters that just reserve space or have no width at all are highlighted."
2083
2131
  ))
2084
2132
  },
@@ -2087,7 +2135,7 @@ class UnicodeHighlight extends BaseEditorOption {
2087
2135
  type: 'boolean',
2088
2136
  default: defaults.ambiguousCharacters,
2089
2137
  description: ( localize(
2090
- 393,
2138
+ 391,
2091
2139
  "Controls whether characters are highlighted that can be confused with basic ASCII characters, except those that are common in the current user locale."
2092
2140
  ))
2093
2141
  },
@@ -2097,7 +2145,7 @@ class UnicodeHighlight extends BaseEditorOption {
2097
2145
  enum: [true, false, inUntrustedWorkspace],
2098
2146
  default: defaults.includeComments,
2099
2147
  description: ( localize(
2100
- 394,
2148
+ 392,
2101
2149
  "Controls whether characters in comments should also be subject to Unicode highlighting."
2102
2150
  ))
2103
2151
  },
@@ -2107,7 +2155,7 @@ class UnicodeHighlight extends BaseEditorOption {
2107
2155
  enum: [true, false, inUntrustedWorkspace],
2108
2156
  default: defaults.includeStrings,
2109
2157
  description: ( localize(
2110
- 395,
2158
+ 393,
2111
2159
  "Controls whether characters in strings should also be subject to Unicode highlighting."
2112
2160
  ))
2113
2161
  },
@@ -2115,7 +2163,7 @@ class UnicodeHighlight extends BaseEditorOption {
2115
2163
  restricted: true,
2116
2164
  type: 'object',
2117
2165
  default: defaults.allowedCharacters,
2118
- description: ( localize(396, "Defines allowed characters that are not being highlighted.")),
2166
+ description: ( localize(394, "Defines allowed characters that are not being highlighted.")),
2119
2167
  additionalProperties: {
2120
2168
  type: 'boolean'
2121
2169
  }
@@ -2128,7 +2176,7 @@ class UnicodeHighlight extends BaseEditorOption {
2128
2176
  },
2129
2177
  default: defaults.allowedLocales,
2130
2178
  description: ( localize(
2131
- 397,
2179
+ 395,
2132
2180
  "Unicode characters that are common in allowed locales are not being highlighted."
2133
2181
  ))
2134
2182
  },
@@ -2165,8 +2213,8 @@ class UnicodeHighlight extends BaseEditorOption {
2165
2213
  ambiguousCharacters: boolean(input.ambiguousCharacters, this.defaultValue.ambiguousCharacters),
2166
2214
  includeComments: primitiveSet(input.includeComments, inUntrustedWorkspace, [true, false, inUntrustedWorkspace]),
2167
2215
  includeStrings: primitiveSet(input.includeStrings, inUntrustedWorkspace, [true, false, inUntrustedWorkspace]),
2168
- allowedCharacters: this.validateBooleanMap(_input.allowedCharacters, this.defaultValue.allowedCharacters),
2169
- allowedLocales: this.validateBooleanMap(_input.allowedLocales, this.defaultValue.allowedLocales),
2216
+ allowedCharacters: this.validateBooleanMap(input.allowedCharacters, this.defaultValue.allowedCharacters),
2217
+ allowedLocales: this.validateBooleanMap(input.allowedLocales, this.defaultValue.allowedLocales),
2170
2218
  };
2171
2219
  }
2172
2220
  validateBooleanMap(map, defaultValue) {
@@ -2200,7 +2248,7 @@ class InlineEditorSuggest extends BaseEditorOption {
2200
2248
  renderSideBySide: 'auto',
2201
2249
  allowCodeShifting: 'always',
2202
2250
  },
2203
- triggerCommandOnProviderChange: true,
2251
+ triggerCommandOnProviderChange: false,
2204
2252
  experimental: {
2205
2253
  suppressInlineSuggestions: '',
2206
2254
  showOnSuggestConflict: 'never',
@@ -2212,7 +2260,7 @@ class InlineEditorSuggest extends BaseEditorOption {
2212
2260
  type: 'boolean',
2213
2261
  default: defaults.enabled,
2214
2262
  description: ( localize(
2215
- 398,
2263
+ 396,
2216
2264
  "Controls whether to automatically show inline suggestions in the editor."
2217
2265
  ))
2218
2266
  },
@@ -2222,22 +2270,22 @@ class InlineEditorSuggest extends BaseEditorOption {
2222
2270
  enum: ['always', 'onHover', 'never'],
2223
2271
  enumDescriptions: [
2224
2272
  ( localize(
2225
- 399,
2273
+ 397,
2226
2274
  "Show the inline suggestion toolbar whenever an inline suggestion is shown."
2227
2275
  )),
2228
2276
  ( localize(
2229
- 400,
2277
+ 398,
2230
2278
  "Show the inline suggestion toolbar when hovering over an inline suggestion."
2231
2279
  )),
2232
- ( localize(401, "Never show the inline suggestion toolbar.")),
2280
+ ( localize(399, "Never show the inline suggestion toolbar.")),
2233
2281
  ],
2234
- description: ( localize(402, "Controls when to show the inline suggestion toolbar.")),
2282
+ description: ( localize(400, "Controls when to show the inline suggestion toolbar.")),
2235
2283
  },
2236
2284
  'editor.inlineSuggest.syntaxHighlightingEnabled': {
2237
2285
  type: 'boolean',
2238
2286
  default: defaults.syntaxHighlightingEnabled,
2239
2287
  description: ( localize(
2240
- 403,
2288
+ 401,
2241
2289
  "Controls whether to show syntax highlighting for inline suggestions in the editor."
2242
2290
  )),
2243
2291
  },
@@ -2245,7 +2293,7 @@ class InlineEditorSuggest extends BaseEditorOption {
2245
2293
  type: 'boolean',
2246
2294
  default: defaults.suppressSuggestions,
2247
2295
  description: ( localize(
2248
- 404,
2296
+ 402,
2249
2297
  "Controls how inline suggestions interact with the suggest widget. If enabled, the suggest widget is not shown automatically when inline suggestions are available."
2250
2298
  ))
2251
2299
  },
@@ -2253,7 +2301,7 @@ class InlineEditorSuggest extends BaseEditorOption {
2253
2301
  type: 'boolean',
2254
2302
  default: defaults.suppressInSnippetMode,
2255
2303
  description: ( localize(
2256
- 405,
2304
+ 403,
2257
2305
  "Controls whether inline suggestions are suppressed when in snippet mode."
2258
2306
  )),
2259
2307
  },
@@ -2263,7 +2311,7 @@ class InlineEditorSuggest extends BaseEditorOption {
2263
2311
  minimum: 0,
2264
2312
  maximum: 10000,
2265
2313
  description: ( localize(
2266
- 406,
2314
+ 404,
2267
2315
  "Controls the minimal delay in milliseconds after which inline suggestions are shown after typing."
2268
2316
  )),
2269
2317
  },
@@ -2272,7 +2320,7 @@ class InlineEditorSuggest extends BaseEditorOption {
2272
2320
  default: defaults.experimental.suppressInlineSuggestions,
2273
2321
  tags: ['experimental'],
2274
2322
  description: ( localize(
2275
- 407,
2323
+ 405,
2276
2324
  "Suppresses inline completions for specified extension IDs -- comma separated."
2277
2325
  )),
2278
2326
  experiment: {
@@ -2284,7 +2332,7 @@ class InlineEditorSuggest extends BaseEditorOption {
2284
2332
  default: defaults.experimental.emptyResponseInformation,
2285
2333
  tags: ['experimental'],
2286
2334
  description: ( localize(
2287
- 408,
2335
+ 406,
2288
2336
  "Controls whether to send request information from the inline suggestion provider."
2289
2337
  )),
2290
2338
  experiment: {
@@ -2296,7 +2344,7 @@ class InlineEditorSuggest extends BaseEditorOption {
2296
2344
  default: defaults.triggerCommandOnProviderChange,
2297
2345
  tags: ['experimental'],
2298
2346
  description: ( localize(
2299
- 409,
2347
+ 407,
2300
2348
  "Controls whether to trigger a command when the inline suggestion provider changes."
2301
2349
  )),
2302
2350
  experiment: {
@@ -2309,7 +2357,7 @@ class InlineEditorSuggest extends BaseEditorOption {
2309
2357
  tags: ['experimental'],
2310
2358
  enum: ['always', 'never', 'whenSuggestListIsIncomplete'],
2311
2359
  description: ( localize(
2312
- 410,
2360
+ 408,
2313
2361
  "Controls whether to show inline suggestions when there is a suggest conflict."
2314
2362
  )),
2315
2363
  experiment: {
@@ -2319,13 +2367,13 @@ class InlineEditorSuggest extends BaseEditorOption {
2319
2367
  'editor.inlineSuggest.fontFamily': {
2320
2368
  type: 'string',
2321
2369
  default: defaults.fontFamily,
2322
- description: ( localize(411, "Controls the font family of the inline suggestions."))
2370
+ description: ( localize(409, "Controls the font family of the inline suggestions."))
2323
2371
  },
2324
2372
  'editor.inlineSuggest.edits.allowCodeShifting': {
2325
2373
  type: 'string',
2326
2374
  default: defaults.edits.allowCodeShifting,
2327
2375
  description: ( localize(
2328
- 412,
2376
+ 410,
2329
2377
  "Controls whether showing a suggestion will shift the code to make space for the suggestion inline."
2330
2378
  )),
2331
2379
  enum: ['always', 'horizontal', 'never'],
@@ -2334,15 +2382,15 @@ class InlineEditorSuggest extends BaseEditorOption {
2334
2382
  'editor.inlineSuggest.edits.renderSideBySide': {
2335
2383
  type: 'string',
2336
2384
  default: defaults.edits.renderSideBySide,
2337
- description: ( localize(413, "Controls whether larger suggestions can be shown side by side.")),
2385
+ description: ( localize(411, "Controls whether larger suggestions can be shown side by side.")),
2338
2386
  enum: ['auto', 'never'],
2339
2387
  enumDescriptions: [
2340
2388
  ( localize(
2341
- 414,
2389
+ 412,
2342
2390
  "Larger suggestions will show side by side if there is enough space, otherwise they will be shown below."
2343
2391
  )),
2344
2392
  ( localize(
2345
- 415,
2393
+ 413,
2346
2394
  "Larger suggestions are never shown side by side and will always be shown below."
2347
2395
  )),
2348
2396
  ],
@@ -2352,7 +2400,7 @@ class InlineEditorSuggest extends BaseEditorOption {
2352
2400
  type: 'boolean',
2353
2401
  default: defaults.edits.showCollapsed,
2354
2402
  description: ( localize(
2355
- 416,
2403
+ 414,
2356
2404
  "Controls whether the suggestion will show as collapsed until jumping to it."
2357
2405
  )),
2358
2406
  tags: ['nextEditSuggestions']
@@ -2374,18 +2422,32 @@ class InlineEditorSuggest extends BaseEditorOption {
2374
2422
  syntaxHighlightingEnabled: boolean(input.syntaxHighlightingEnabled, this.defaultValue.syntaxHighlightingEnabled),
2375
2423
  minShowDelay: EditorIntOption.clampedInt(input.minShowDelay, 0, 0, 10000),
2376
2424
  suppressInSnippetMode: boolean(input.suppressInSnippetMode, this.defaultValue.suppressInSnippetMode),
2377
- edits: {
2378
- enabled: boolean(input.edits?.enabled, this.defaultValue.edits.enabled),
2379
- showCollapsed: boolean(input.edits?.showCollapsed, this.defaultValue.edits.showCollapsed),
2380
- allowCodeShifting: stringSet(input.edits?.allowCodeShifting, this.defaultValue.edits.allowCodeShifting, ['always', 'horizontal', 'never']),
2381
- renderSideBySide: stringSet(input.edits?.renderSideBySide, this.defaultValue.edits.renderSideBySide, ['never', 'auto']),
2382
- },
2425
+ edits: this._validateEdits(input.edits),
2383
2426
  triggerCommandOnProviderChange: boolean(input.triggerCommandOnProviderChange, this.defaultValue.triggerCommandOnProviderChange),
2384
- experimental: {
2385
- suppressInlineSuggestions: EditorStringOption.string(input.experimental?.suppressInlineSuggestions, this.defaultValue.experimental.suppressInlineSuggestions),
2386
- showOnSuggestConflict: stringSet(input.experimental?.showOnSuggestConflict, this.defaultValue.experimental.showOnSuggestConflict, ['always', 'never', 'whenSuggestListIsIncomplete']),
2387
- emptyResponseInformation: boolean(input.experimental?.emptyResponseInformation, this.defaultValue.experimental.emptyResponseInformation),
2388
- },
2427
+ experimental: this._validateExperimental(input.experimental),
2428
+ };
2429
+ }
2430
+ _validateEdits(_input) {
2431
+ if (!_input || typeof _input !== 'object') {
2432
+ return this.defaultValue.edits;
2433
+ }
2434
+ const input = _input;
2435
+ return {
2436
+ enabled: boolean(input.enabled, this.defaultValue.edits.enabled),
2437
+ showCollapsed: boolean(input.showCollapsed, this.defaultValue.edits.showCollapsed),
2438
+ allowCodeShifting: stringSet(input.allowCodeShifting, this.defaultValue.edits.allowCodeShifting, ['always', 'horizontal', 'never']),
2439
+ renderSideBySide: stringSet(input.renderSideBySide, this.defaultValue.edits.renderSideBySide, ['never', 'auto']),
2440
+ };
2441
+ }
2442
+ _validateExperimental(_input) {
2443
+ if (!_input || typeof _input !== 'object') {
2444
+ return this.defaultValue.experimental;
2445
+ }
2446
+ const input = _input;
2447
+ return {
2448
+ suppressInlineSuggestions: EditorStringOption.string(input.suppressInlineSuggestions, this.defaultValue.experimental.suppressInlineSuggestions),
2449
+ showOnSuggestConflict: stringSet(input.showOnSuggestConflict, this.defaultValue.experimental.showOnSuggestConflict, ['always', 'never', 'whenSuggestListIsIncomplete']),
2450
+ emptyResponseInformation: boolean(input.emptyResponseInformation, this.defaultValue.experimental.emptyResponseInformation),
2389
2451
  };
2390
2452
  }
2391
2453
  }
@@ -2400,7 +2462,7 @@ class BracketPairColorization extends BaseEditorOption {
2400
2462
  type: 'boolean',
2401
2463
  default: defaults.enabled,
2402
2464
  markdownDescription: ( localize(
2403
- 417,
2465
+ 415,
2404
2466
  "Controls whether bracket pair colorization is enabled or not. Use {0} to override the bracket highlight colors.",
2405
2467
  '`#workbench.colorCustomizations#`'
2406
2468
  ))
@@ -2409,7 +2471,7 @@ class BracketPairColorization extends BaseEditorOption {
2409
2471
  type: 'boolean',
2410
2472
  default: defaults.independentColorPoolPerBracketType,
2411
2473
  description: ( localize(
2412
- 418,
2474
+ 416,
2413
2475
  "Controls whether each bracket type has its own independent color pool."
2414
2476
  ))
2415
2477
  },
@@ -2440,54 +2502,54 @@ class GuideOptions extends BaseEditorOption {
2440
2502
  type: ['boolean', 'string'],
2441
2503
  enum: [true, 'active', false],
2442
2504
  enumDescriptions: [
2443
- ( localize(419, "Enables bracket pair guides.")),
2444
- ( localize(420, "Enables bracket pair guides only for the active bracket pair.")),
2445
- ( localize(421, "Disables bracket pair guides.")),
2505
+ ( localize(417, "Enables bracket pair guides.")),
2506
+ ( localize(418, "Enables bracket pair guides only for the active bracket pair.")),
2507
+ ( localize(419, "Disables bracket pair guides.")),
2446
2508
  ],
2447
2509
  default: defaults.bracketPairs,
2448
- description: ( localize(422, "Controls whether bracket pair guides are enabled or not."))
2510
+ description: ( localize(420, "Controls whether bracket pair guides are enabled or not."))
2449
2511
  },
2450
2512
  'editor.guides.bracketPairsHorizontal': {
2451
2513
  type: ['boolean', 'string'],
2452
2514
  enum: [true, 'active', false],
2453
2515
  enumDescriptions: [
2454
2516
  ( localize(
2455
- 423,
2517
+ 421,
2456
2518
  "Enables horizontal guides as addition to vertical bracket pair guides."
2457
2519
  )),
2458
- ( localize(424, "Enables horizontal guides only for the active bracket pair.")),
2459
- ( localize(425, "Disables horizontal bracket pair guides.")),
2520
+ ( localize(422, "Enables horizontal guides only for the active bracket pair.")),
2521
+ ( localize(423, "Disables horizontal bracket pair guides.")),
2460
2522
  ],
2461
2523
  default: defaults.bracketPairsHorizontal,
2462
- description: ( localize(426, "Controls whether horizontal bracket pair guides are enabled or not."))
2524
+ description: ( localize(424, "Controls whether horizontal bracket pair guides are enabled or not."))
2463
2525
  },
2464
2526
  'editor.guides.highlightActiveBracketPair': {
2465
2527
  type: 'boolean',
2466
2528
  default: defaults.highlightActiveBracketPair,
2467
2529
  description: ( localize(
2468
- 427,
2530
+ 425,
2469
2531
  "Controls whether the editor should highlight the active bracket pair."
2470
2532
  ))
2471
2533
  },
2472
2534
  'editor.guides.indentation': {
2473
2535
  type: 'boolean',
2474
2536
  default: defaults.indentation,
2475
- description: ( localize(428, "Controls whether the editor should render indent guides."))
2537
+ description: ( localize(426, "Controls whether the editor should render indent guides."))
2476
2538
  },
2477
2539
  'editor.guides.highlightActiveIndentation': {
2478
2540
  type: ['boolean', 'string'],
2479
2541
  enum: [true, 'always', false],
2480
2542
  enumDescriptions: [
2481
- ( localize(429, "Highlights the active indent guide.")),
2543
+ ( localize(427, "Highlights the active indent guide.")),
2482
2544
  ( localize(
2483
- 430,
2545
+ 428,
2484
2546
  "Highlights the active indent guide even if bracket guides are highlighted."
2485
2547
  )),
2486
- ( localize(431, "Do not highlight the active indent guide.")),
2548
+ ( localize(429, "Do not highlight the active indent guide.")),
2487
2549
  ],
2488
2550
  default: defaults.highlightActiveIndentation,
2489
2551
  description: ( localize(
2490
- 432,
2552
+ 430,
2491
2553
  "Controls whether the editor should highlight the active indent guide."
2492
2554
  ))
2493
2555
  }
@@ -2563,12 +2625,12 @@ class EditorSuggest extends BaseEditorOption {
2563
2625
  type: 'string',
2564
2626
  enum: ['insert', 'replace'],
2565
2627
  enumDescriptions: [
2566
- ( localize(433, "Insert suggestion without overwriting text right of the cursor.")),
2567
- ( localize(434, "Insert suggestion and overwrite text right of the cursor.")),
2628
+ ( localize(431, "Insert suggestion without overwriting text right of the cursor.")),
2629
+ ( localize(432, "Insert suggestion and overwrite text right of the cursor.")),
2568
2630
  ],
2569
2631
  default: defaults.insertMode,
2570
2632
  description: ( localize(
2571
- 435,
2633
+ 433,
2572
2634
  "Controls whether words are overwritten when accepting completions. Note that this depends on extensions opting into this feature."
2573
2635
  ))
2574
2636
  },
@@ -2576,7 +2638,7 @@ class EditorSuggest extends BaseEditorOption {
2576
2638
  type: 'boolean',
2577
2639
  default: defaults.filterGraceful,
2578
2640
  description: ( localize(
2579
- 436,
2641
+ 434,
2580
2642
  "Controls whether filtering and sorting suggestions accounts for small typos."
2581
2643
  ))
2582
2644
  },
@@ -2584,7 +2646,7 @@ class EditorSuggest extends BaseEditorOption {
2584
2646
  type: 'boolean',
2585
2647
  default: defaults.localityBonus,
2586
2648
  description: ( localize(
2587
- 437,
2649
+ 435,
2588
2650
  "Controls whether sorting favors words that appear close to the cursor."
2589
2651
  ))
2590
2652
  },
@@ -2592,7 +2654,7 @@ class EditorSuggest extends BaseEditorOption {
2592
2654
  type: 'boolean',
2593
2655
  default: defaults.shareSuggestSelections,
2594
2656
  markdownDescription: ( localize(
2595
- 438,
2657
+ 436,
2596
2658
  "Controls whether remembered suggestion selections are shared between multiple workspaces and windows (needs `#editor.suggestSelection#`)."
2597
2659
  ))
2598
2660
  },
@@ -2601,22 +2663,22 @@ class EditorSuggest extends BaseEditorOption {
2601
2663
  enum: ['always', 'never', 'whenTriggerCharacter', 'whenQuickSuggestion'],
2602
2664
  enumDescriptions: [
2603
2665
  ( localize(
2604
- 439,
2666
+ 437,
2605
2667
  "Always select a suggestion when automatically triggering IntelliSense."
2606
2668
  )),
2607
2669
  ( localize(
2608
- 440,
2670
+ 438,
2609
2671
  "Never select a suggestion when automatically triggering IntelliSense."
2610
2672
  )),
2611
2673
  ( localize(
2612
- 441,
2674
+ 439,
2613
2675
  "Select a suggestion only when triggering IntelliSense from a trigger character."
2614
2676
  )),
2615
- ( localize(442, "Select a suggestion only when triggering IntelliSense as you type.")),
2677
+ ( localize(440, "Select a suggestion only when triggering IntelliSense as you type.")),
2616
2678
  ],
2617
2679
  default: defaults.selectionMode,
2618
2680
  markdownDescription: ( localize(
2619
- 443,
2681
+ 441,
2620
2682
  "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`.",
2621
2683
  '`#editor.quickSuggestions#`',
2622
2684
  '`#editor.suggestOnTriggerCharacters#`'
@@ -2625,197 +2687,197 @@ class EditorSuggest extends BaseEditorOption {
2625
2687
  'editor.suggest.snippetsPreventQuickSuggestions': {
2626
2688
  type: 'boolean',
2627
2689
  default: defaults.snippetsPreventQuickSuggestions,
2628
- description: ( localize(444, "Controls whether an active snippet prevents quick suggestions."))
2690
+ description: ( localize(442, "Controls whether an active snippet prevents quick suggestions."))
2629
2691
  },
2630
2692
  'editor.suggest.showIcons': {
2631
2693
  type: 'boolean',
2632
2694
  default: defaults.showIcons,
2633
- description: ( localize(445, "Controls whether to show or hide icons in suggestions."))
2695
+ description: ( localize(443, "Controls whether to show or hide icons in suggestions."))
2634
2696
  },
2635
2697
  'editor.suggest.showStatusBar': {
2636
2698
  type: 'boolean',
2637
2699
  default: defaults.showStatusBar,
2638
2700
  description: ( localize(
2639
- 446,
2701
+ 444,
2640
2702
  "Controls the visibility of the status bar at the bottom of the suggest widget."
2641
2703
  ))
2642
2704
  },
2643
2705
  'editor.suggest.preview': {
2644
2706
  type: 'boolean',
2645
2707
  default: defaults.preview,
2646
- description: ( localize(447, "Controls whether to preview the suggestion outcome in the editor."))
2708
+ description: ( localize(445, "Controls whether to preview the suggestion outcome in the editor."))
2647
2709
  },
2648
2710
  'editor.suggest.showInlineDetails': {
2649
2711
  type: 'boolean',
2650
2712
  default: defaults.showInlineDetails,
2651
2713
  description: ( localize(
2652
- 448,
2714
+ 446,
2653
2715
  "Controls whether suggest details show inline with the label or only in the details widget."
2654
2716
  ))
2655
2717
  },
2656
2718
  'editor.suggest.maxVisibleSuggestions': {
2657
2719
  type: 'number',
2658
- deprecationMessage: ( localize(449, "This setting is deprecated. The suggest widget can now be resized.")),
2720
+ deprecationMessage: ( localize(447, "This setting is deprecated. The suggest widget can now be resized.")),
2659
2721
  },
2660
2722
  'editor.suggest.filteredTypes': {
2661
2723
  type: 'object',
2662
2724
  deprecationMessage: ( localize(
2663
- 450,
2725
+ 448,
2664
2726
  "This setting is deprecated, please use separate settings like 'editor.suggest.showKeywords' or 'editor.suggest.showSnippets' instead."
2665
2727
  ))
2666
2728
  },
2667
2729
  'editor.suggest.showMethods': {
2668
2730
  type: 'boolean',
2669
2731
  default: true,
2670
- markdownDescription: ( localize(451, "When enabled IntelliSense shows `method`-suggestions."))
2732
+ markdownDescription: ( localize(449, "When enabled IntelliSense shows `method`-suggestions."))
2671
2733
  },
2672
2734
  'editor.suggest.showFunctions': {
2673
2735
  type: 'boolean',
2674
2736
  default: true,
2675
- markdownDescription: ( localize(452, "When enabled IntelliSense shows `function`-suggestions."))
2737
+ markdownDescription: ( localize(450, "When enabled IntelliSense shows `function`-suggestions."))
2676
2738
  },
2677
2739
  'editor.suggest.showConstructors': {
2678
2740
  type: 'boolean',
2679
2741
  default: true,
2680
- markdownDescription: ( localize(453, "When enabled IntelliSense shows `constructor`-suggestions."))
2742
+ markdownDescription: ( localize(451, "When enabled IntelliSense shows `constructor`-suggestions."))
2681
2743
  },
2682
2744
  'editor.suggest.showDeprecated': {
2683
2745
  type: 'boolean',
2684
2746
  default: true,
2685
- markdownDescription: ( localize(454, "When enabled IntelliSense shows `deprecated`-suggestions."))
2747
+ markdownDescription: ( localize(452, "When enabled IntelliSense shows `deprecated`-suggestions."))
2686
2748
  },
2687
2749
  'editor.suggest.matchOnWordStartOnly': {
2688
2750
  type: 'boolean',
2689
2751
  default: true,
2690
2752
  markdownDescription: ( localize(
2691
- 455,
2753
+ 453,
2692
2754
  "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."
2693
2755
  ))
2694
2756
  },
2695
2757
  'editor.suggest.showFields': {
2696
2758
  type: 'boolean',
2697
2759
  default: true,
2698
- markdownDescription: ( localize(456, "When enabled IntelliSense shows `field`-suggestions."))
2760
+ markdownDescription: ( localize(454, "When enabled IntelliSense shows `field`-suggestions."))
2699
2761
  },
2700
2762
  'editor.suggest.showVariables': {
2701
2763
  type: 'boolean',
2702
2764
  default: true,
2703
- markdownDescription: ( localize(457, "When enabled IntelliSense shows `variable`-suggestions."))
2765
+ markdownDescription: ( localize(455, "When enabled IntelliSense shows `variable`-suggestions."))
2704
2766
  },
2705
2767
  'editor.suggest.showClasses': {
2706
2768
  type: 'boolean',
2707
2769
  default: true,
2708
- markdownDescription: ( localize(458, "When enabled IntelliSense shows `class`-suggestions."))
2770
+ markdownDescription: ( localize(456, "When enabled IntelliSense shows `class`-suggestions."))
2709
2771
  },
2710
2772
  'editor.suggest.showStructs': {
2711
2773
  type: 'boolean',
2712
2774
  default: true,
2713
- markdownDescription: ( localize(459, "When enabled IntelliSense shows `struct`-suggestions."))
2775
+ markdownDescription: ( localize(457, "When enabled IntelliSense shows `struct`-suggestions."))
2714
2776
  },
2715
2777
  'editor.suggest.showInterfaces': {
2716
2778
  type: 'boolean',
2717
2779
  default: true,
2718
- markdownDescription: ( localize(460, "When enabled IntelliSense shows `interface`-suggestions."))
2780
+ markdownDescription: ( localize(458, "When enabled IntelliSense shows `interface`-suggestions."))
2719
2781
  },
2720
2782
  'editor.suggest.showModules': {
2721
2783
  type: 'boolean',
2722
2784
  default: true,
2723
- markdownDescription: ( localize(461, "When enabled IntelliSense shows `module`-suggestions."))
2785
+ markdownDescription: ( localize(459, "When enabled IntelliSense shows `module`-suggestions."))
2724
2786
  },
2725
2787
  'editor.suggest.showProperties': {
2726
2788
  type: 'boolean',
2727
2789
  default: true,
2728
- markdownDescription: ( localize(462, "When enabled IntelliSense shows `property`-suggestions."))
2790
+ markdownDescription: ( localize(460, "When enabled IntelliSense shows `property`-suggestions."))
2729
2791
  },
2730
2792
  'editor.suggest.showEvents': {
2731
2793
  type: 'boolean',
2732
2794
  default: true,
2733
- markdownDescription: ( localize(463, "When enabled IntelliSense shows `event`-suggestions."))
2795
+ markdownDescription: ( localize(461, "When enabled IntelliSense shows `event`-suggestions."))
2734
2796
  },
2735
2797
  'editor.suggest.showOperators': {
2736
2798
  type: 'boolean',
2737
2799
  default: true,
2738
- markdownDescription: ( localize(464, "When enabled IntelliSense shows `operator`-suggestions."))
2800
+ markdownDescription: ( localize(462, "When enabled IntelliSense shows `operator`-suggestions."))
2739
2801
  },
2740
2802
  'editor.suggest.showUnits': {
2741
2803
  type: 'boolean',
2742
2804
  default: true,
2743
- markdownDescription: ( localize(465, "When enabled IntelliSense shows `unit`-suggestions."))
2805
+ markdownDescription: ( localize(463, "When enabled IntelliSense shows `unit`-suggestions."))
2744
2806
  },
2745
2807
  'editor.suggest.showValues': {
2746
2808
  type: 'boolean',
2747
2809
  default: true,
2748
- markdownDescription: ( localize(466, "When enabled IntelliSense shows `value`-suggestions."))
2810
+ markdownDescription: ( localize(464, "When enabled IntelliSense shows `value`-suggestions."))
2749
2811
  },
2750
2812
  'editor.suggest.showConstants': {
2751
2813
  type: 'boolean',
2752
2814
  default: true,
2753
- markdownDescription: ( localize(467, "When enabled IntelliSense shows `constant`-suggestions."))
2815
+ markdownDescription: ( localize(465, "When enabled IntelliSense shows `constant`-suggestions."))
2754
2816
  },
2755
2817
  'editor.suggest.showEnums': {
2756
2818
  type: 'boolean',
2757
2819
  default: true,
2758
- markdownDescription: ( localize(468, "When enabled IntelliSense shows `enum`-suggestions."))
2820
+ markdownDescription: ( localize(466, "When enabled IntelliSense shows `enum`-suggestions."))
2759
2821
  },
2760
2822
  'editor.suggest.showEnumMembers': {
2761
2823
  type: 'boolean',
2762
2824
  default: true,
2763
- markdownDescription: ( localize(469, "When enabled IntelliSense shows `enumMember`-suggestions."))
2825
+ markdownDescription: ( localize(467, "When enabled IntelliSense shows `enumMember`-suggestions."))
2764
2826
  },
2765
2827
  'editor.suggest.showKeywords': {
2766
2828
  type: 'boolean',
2767
2829
  default: true,
2768
- markdownDescription: ( localize(470, "When enabled IntelliSense shows `keyword`-suggestions."))
2830
+ markdownDescription: ( localize(468, "When enabled IntelliSense shows `keyword`-suggestions."))
2769
2831
  },
2770
2832
  'editor.suggest.showWords': {
2771
2833
  type: 'boolean',
2772
2834
  default: true,
2773
- markdownDescription: ( localize(471, "When enabled IntelliSense shows `text`-suggestions."))
2835
+ markdownDescription: ( localize(469, "When enabled IntelliSense shows `text`-suggestions."))
2774
2836
  },
2775
2837
  'editor.suggest.showColors': {
2776
2838
  type: 'boolean',
2777
2839
  default: true,
2778
- markdownDescription: ( localize(472, "When enabled IntelliSense shows `color`-suggestions."))
2840
+ markdownDescription: ( localize(470, "When enabled IntelliSense shows `color`-suggestions."))
2779
2841
  },
2780
2842
  'editor.suggest.showFiles': {
2781
2843
  type: 'boolean',
2782
2844
  default: true,
2783
- markdownDescription: ( localize(473, "When enabled IntelliSense shows `file`-suggestions."))
2845
+ markdownDescription: ( localize(471, "When enabled IntelliSense shows `file`-suggestions."))
2784
2846
  },
2785
2847
  'editor.suggest.showReferences': {
2786
2848
  type: 'boolean',
2787
2849
  default: true,
2788
- markdownDescription: ( localize(474, "When enabled IntelliSense shows `reference`-suggestions."))
2850
+ markdownDescription: ( localize(472, "When enabled IntelliSense shows `reference`-suggestions."))
2789
2851
  },
2790
2852
  'editor.suggest.showCustomcolors': {
2791
2853
  type: 'boolean',
2792
2854
  default: true,
2793
- markdownDescription: ( localize(475, "When enabled IntelliSense shows `customcolor`-suggestions."))
2855
+ markdownDescription: ( localize(473, "When enabled IntelliSense shows `customcolor`-suggestions."))
2794
2856
  },
2795
2857
  'editor.suggest.showFolders': {
2796
2858
  type: 'boolean',
2797
2859
  default: true,
2798
- markdownDescription: ( localize(476, "When enabled IntelliSense shows `folder`-suggestions."))
2860
+ markdownDescription: ( localize(474, "When enabled IntelliSense shows `folder`-suggestions."))
2799
2861
  },
2800
2862
  'editor.suggest.showTypeParameters': {
2801
2863
  type: 'boolean',
2802
2864
  default: true,
2803
- markdownDescription: ( localize(477, "When enabled IntelliSense shows `typeParameter`-suggestions."))
2865
+ markdownDescription: ( localize(475, "When enabled IntelliSense shows `typeParameter`-suggestions."))
2804
2866
  },
2805
2867
  'editor.suggest.showSnippets': {
2806
2868
  type: 'boolean',
2807
2869
  default: true,
2808
- markdownDescription: ( localize(478, "When enabled IntelliSense shows `snippet`-suggestions."))
2870
+ markdownDescription: ( localize(476, "When enabled IntelliSense shows `snippet`-suggestions."))
2809
2871
  },
2810
2872
  'editor.suggest.showUsers': {
2811
2873
  type: 'boolean',
2812
2874
  default: true,
2813
- markdownDescription: ( localize(479, "When enabled IntelliSense shows `user`-suggestions."))
2875
+ markdownDescription: ( localize(477, "When enabled IntelliSense shows `user`-suggestions."))
2814
2876
  },
2815
2877
  'editor.suggest.showIssues': {
2816
2878
  type: 'boolean',
2817
2879
  default: true,
2818
- markdownDescription: ( localize(480, "When enabled IntelliSense shows `issues`-suggestions."))
2880
+ markdownDescription: ( localize(478, "When enabled IntelliSense shows `issues`-suggestions."))
2819
2881
  }
2820
2882
  });
2821
2883
  }
@@ -2875,13 +2937,13 @@ class SmartSelect extends BaseEditorOption {
2875
2937
  selectSubwords: true,
2876
2938
  }, {
2877
2939
  'editor.smartSelect.selectLeadingAndTrailingWhitespace': {
2878
- description: ( localize(481, "Whether leading and trailing whitespace should always be selected.")),
2940
+ description: ( localize(479, "Whether leading and trailing whitespace should always be selected.")),
2879
2941
  default: true,
2880
2942
  type: 'boolean'
2881
2943
  },
2882
2944
  'editor.smartSelect.selectSubwords': {
2883
2945
  description: ( localize(
2884
- 482,
2946
+ 480,
2885
2947
  "Whether subwords (like 'foo' in 'fooBar' or 'foo_bar') should be selected."
2886
2948
  )),
2887
2949
  default: true,
@@ -2914,7 +2976,7 @@ class WordSegmenterLocales extends BaseEditorOption {
2914
2976
  }
2915
2977
  ],
2916
2978
  description: ( localize(
2917
- 483,
2979
+ 481,
2918
2980
  "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.)."
2919
2981
  )),
2920
2982
  type: 'array',
@@ -2960,12 +3022,12 @@ class WrappingIndentOption extends BaseEditorOption {
2960
3022
  type: 'string',
2961
3023
  enum: ['none', 'same', 'indent', 'deepIndent'],
2962
3024
  enumDescriptions: [
2963
- ( localize(484, "No indentation. Wrapped lines begin at column 1.")),
2964
- ( localize(485, "Wrapped lines get the same indentation as the parent.")),
2965
- ( localize(486, "Wrapped lines get +1 indentation toward the parent.")),
2966
- ( localize(487, "Wrapped lines get +2 indentation toward the parent.")),
3025
+ ( localize(482, "No indentation. Wrapped lines begin at column 1.")),
3026
+ ( localize(483, "Wrapped lines get the same indentation as the parent.")),
3027
+ ( localize(484, "Wrapped lines get +1 indentation toward the parent.")),
3028
+ ( localize(485, "Wrapped lines get +2 indentation toward the parent.")),
2967
3029
  ],
2968
- description: ( localize(488, "Controls the indentation of wrapped lines.")),
3030
+ description: ( localize(486, "Controls the indentation of wrapped lines.")),
2969
3031
  default: 'same'
2970
3032
  }
2971
3033
  });
@@ -2989,7 +3051,12 @@ class WrappingIndentOption extends BaseEditorOption {
2989
3051
  }
2990
3052
  class EditorWrappingInfoComputer extends ComputedEditorOption {
2991
3053
  constructor() {
2992
- super(EditorOption.wrappingInfo);
3054
+ super(EditorOption.wrappingInfo, {
3055
+ isDominatedByLongLines: false,
3056
+ isWordWrapMinified: false,
3057
+ isViewportWrapping: false,
3058
+ wrappingColumn: -1
3059
+ });
2993
3060
  }
2994
3061
  compute(env, options, _) {
2995
3062
  const layoutInfo = options.get(EditorOption.layoutInfo);
@@ -3009,14 +3076,14 @@ class EditorDropIntoEditor extends BaseEditorOption {
3009
3076
  type: 'boolean',
3010
3077
  default: defaults.enabled,
3011
3078
  markdownDescription: ( localize(
3012
- 489,
3079
+ 487,
3013
3080
  "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)."
3014
3081
  )),
3015
3082
  },
3016
3083
  'editor.dropIntoEditor.showDropSelector': {
3017
3084
  type: 'string',
3018
3085
  markdownDescription: ( localize(
3019
- 490,
3086
+ 488,
3020
3087
  "Controls if a widget is shown when dropping files into the editor. This widget lets you control how the file is dropped."
3021
3088
  )),
3022
3089
  enum: [
@@ -3025,11 +3092,11 @@ class EditorDropIntoEditor extends BaseEditorOption {
3025
3092
  ],
3026
3093
  enumDescriptions: [
3027
3094
  ( localize(
3028
- 491,
3095
+ 489,
3029
3096
  "Show the drop selector widget after a file is dropped into the editor."
3030
3097
  )),
3031
3098
  ( localize(
3032
- 492,
3099
+ 490,
3033
3100
  "Never show the drop selector widget. Instead the default drop provider is always used."
3034
3101
  )),
3035
3102
  ],
@@ -3055,12 +3122,12 @@ class EditorPasteAs extends BaseEditorOption {
3055
3122
  'editor.pasteAs.enabled': {
3056
3123
  type: 'boolean',
3057
3124
  default: defaults.enabled,
3058
- markdownDescription: ( localize(493, "Controls whether you can paste content in different ways.")),
3125
+ markdownDescription: ( localize(491, "Controls whether you can paste content in different ways.")),
3059
3126
  },
3060
3127
  'editor.pasteAs.showPasteSelector': {
3061
3128
  type: 'string',
3062
3129
  markdownDescription: ( localize(
3063
- 494,
3130
+ 492,
3064
3131
  "Controls if a widget is shown when pasting content in to the editor. This widget lets you control how the file is pasted."
3065
3132
  )),
3066
3133
  enum: [
@@ -3069,11 +3136,11 @@ class EditorPasteAs extends BaseEditorOption {
3069
3136
  ],
3070
3137
  enumDescriptions: [
3071
3138
  ( localize(
3072
- 495,
3139
+ 493,
3073
3140
  "Show the paste selector widget after content is pasted into the editor."
3074
3141
  )),
3075
3142
  ( localize(
3076
- 496,
3143
+ 494,
3077
3144
  "Never show the paste selector widget. Instead the default pasting behavior is always used."
3078
3145
  )),
3079
3146
  ],
@@ -3092,16 +3159,6 @@ class EditorPasteAs extends BaseEditorOption {
3092
3159
  };
3093
3160
  }
3094
3161
  }
3095
- const DEFAULT_WINDOWS_FONT_FAMILY = 'Consolas, \'Courier New\', monospace';
3096
- const DEFAULT_MAC_FONT_FAMILY = 'Menlo, Monaco, \'Courier New\', monospace';
3097
- const DEFAULT_LINUX_FONT_FAMILY = '\'Droid Sans Mono\', \'monospace\', monospace';
3098
- const EDITOR_FONT_DEFAULTS = {
3099
- fontFamily: (isMacintosh ? DEFAULT_MAC_FONT_FAMILY : (isWindows ? DEFAULT_WINDOWS_FONT_FAMILY : DEFAULT_LINUX_FONT_FAMILY)),
3100
- fontWeight: 'normal',
3101
- fontSize: (isMacintosh ? 12 : 14),
3102
- lineHeight: 0,
3103
- letterSpacing: 0,
3104
- };
3105
3162
  const editorOptionsRegistry = [];
3106
3163
  function register(option) {
3107
3164
  editorOptionsRegistry[option.id] = option;
@@ -3289,7 +3346,7 @@ const EditorOptions = {
3289
3346
  'acceptSuggestionOnCommitCharacter',
3290
3347
  true,
3291
3348
  { markdownDescription: ( localize(
3292
- 497,
3349
+ 495,
3293
3350
  "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."
3294
3351
  )) }
3295
3352
  ))),
@@ -3302,13 +3359,13 @@ const EditorOptions = {
3302
3359
  markdownEnumDescriptions: [
3303
3360
  '',
3304
3361
  ( localize(
3305
- 498,
3362
+ 496,
3306
3363
  "Only accept a suggestion with `Enter` when it makes a textual change."
3307
3364
  )),
3308
3365
  ''
3309
3366
  ],
3310
3367
  markdownDescription: ( localize(
3311
- 499,
3368
+ 497,
3312
3369
  "Controls whether suggestions should be accepted on `Enter`, in addition to `Tab`. Helps to avoid ambiguity between inserting new lines or accepting suggestions."
3313
3370
  ))
3314
3371
  }
@@ -3322,7 +3379,7 @@ const EditorOptions = {
3322
3379
  Constants.MAX_SAFE_SMALL_INTEGER,
3323
3380
  {
3324
3381
  description: ( localize(
3325
- 500,
3382
+ 498,
3326
3383
  "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."
3327
3384
  )),
3328
3385
  tags: ['accessibility']
@@ -3331,12 +3388,12 @@ const EditorOptions = {
3331
3388
  allowOverflow: register(( new EditorBooleanOption(EditorOption.allowOverflow, 'allowOverflow', true))),
3332
3389
  allowVariableLineHeights: register(( new EditorBooleanOption(EditorOption.allowVariableLineHeights, 'allowVariableLineHeights', true, {
3333
3390
  description: ( localize(
3334
- 501,
3391
+ 499,
3335
3392
  "Controls whether to allow using variable line heights in the editor."
3336
3393
  ))
3337
3394
  }))),
3338
3395
  allowVariableFonts: register(( new EditorBooleanOption(EditorOption.allowVariableFonts, 'allowVariableFonts', true, {
3339
- description: ( localize(502, "Controls whether to allow using variable fonts in the editor."))
3396
+ description: ( localize(500, "Controls whether to allow using variable fonts in the editor."))
3340
3397
  }))),
3341
3398
  allowVariableFontsInAccessibilityMode: register(( new EditorBooleanOption(
3342
3399
  EditorOption.allowVariableFontsInAccessibilityMode,
@@ -3344,13 +3401,13 @@ const EditorOptions = {
3344
3401
  false,
3345
3402
  {
3346
3403
  description: ( localize(
3347
- 503,
3404
+ 501,
3348
3405
  "Controls whether to allow using variable fonts in the editor in the accessibility mode."
3349
3406
  )),
3350
3407
  tags: ['accessibility']
3351
3408
  }
3352
3409
  ))),
3353
- ariaLabel: register(( new EditorStringOption(EditorOption.ariaLabel, 'ariaLabel', ( localize(504, "Editor content"))))),
3410
+ ariaLabel: register(( new EditorStringOption(EditorOption.ariaLabel, 'ariaLabel', ( localize(502, "Editor content"))))),
3354
3411
  ariaRequired: register(( new EditorBooleanOption(EditorOption.ariaRequired, 'ariaRequired', false, undefined))),
3355
3412
  screenReaderAnnounceInlineSuggestion: register(( new EditorBooleanOption(
3356
3413
  EditorOption.screenReaderAnnounceInlineSuggestion,
@@ -3358,7 +3415,7 @@ const EditorOptions = {
3358
3415
  true,
3359
3416
  {
3360
3417
  description: ( localize(
3361
- 505,
3418
+ 503,
3362
3419
  "Control whether inline suggestions are announced by a screen reader."
3363
3420
  )),
3364
3421
  tags: ['accessibility']
@@ -3373,17 +3430,17 @@ const EditorOptions = {
3373
3430
  enumDescriptions: [
3374
3431
  '',
3375
3432
  ( localize(
3376
- 506,
3433
+ 504,
3377
3434
  "Use language configurations to determine when to autoclose brackets."
3378
3435
  )),
3379
3436
  ( localize(
3380
- 507,
3437
+ 505,
3381
3438
  "Autoclose brackets only when the cursor is to the left of whitespace."
3382
3439
  )),
3383
3440
  '',
3384
3441
  ],
3385
3442
  description: ( localize(
3386
- 508,
3443
+ 506,
3387
3444
  "Controls whether the editor should automatically close brackets after the user adds an opening bracket."
3388
3445
  ))
3389
3446
  }
@@ -3397,17 +3454,17 @@ const EditorOptions = {
3397
3454
  enumDescriptions: [
3398
3455
  '',
3399
3456
  ( localize(
3400
- 509,
3457
+ 507,
3401
3458
  "Use language configurations to determine when to autoclose comments."
3402
3459
  )),
3403
3460
  ( localize(
3404
- 510,
3461
+ 508,
3405
3462
  "Autoclose comments only when the cursor is to the left of whitespace."
3406
3463
  )),
3407
3464
  '',
3408
3465
  ],
3409
3466
  description: ( localize(
3410
- 511,
3467
+ 509,
3411
3468
  "Controls whether the editor should automatically close comments after the user adds an opening comment."
3412
3469
  ))
3413
3470
  }
@@ -3421,13 +3478,13 @@ const EditorOptions = {
3421
3478
  enumDescriptions: [
3422
3479
  '',
3423
3480
  ( localize(
3424
- 512,
3481
+ 510,
3425
3482
  "Remove adjacent closing quotes or brackets only if they were automatically inserted."
3426
3483
  )),
3427
3484
  '',
3428
3485
  ],
3429
3486
  description: ( localize(
3430
- 513,
3487
+ 511,
3431
3488
  "Controls whether the editor should remove adjacent closing quotes or brackets when deleting."
3432
3489
  ))
3433
3490
  }
@@ -3441,13 +3498,13 @@ const EditorOptions = {
3441
3498
  enumDescriptions: [
3442
3499
  '',
3443
3500
  ( localize(
3444
- 514,
3501
+ 512,
3445
3502
  "Type over closing quotes or brackets only if they were automatically inserted."
3446
3503
  )),
3447
3504
  '',
3448
3505
  ],
3449
3506
  description: ( localize(
3450
- 515,
3507
+ 513,
3451
3508
  "Controls whether the editor should type over closing quotes or brackets."
3452
3509
  ))
3453
3510
  }
@@ -3460,12 +3517,12 @@ const EditorOptions = {
3460
3517
  {
3461
3518
  enumDescriptions: [
3462
3519
  '',
3463
- ( localize(516, "Use language configurations to determine when to autoclose quotes.")),
3464
- ( localize(517, "Autoclose quotes only when the cursor is to the left of whitespace.")),
3520
+ ( localize(514, "Use language configurations to determine when to autoclose quotes.")),
3521
+ ( localize(515, "Autoclose quotes only when the cursor is to the left of whitespace.")),
3465
3522
  '',
3466
3523
  ],
3467
3524
  description: ( localize(
3468
- 518,
3525
+ 516,
3469
3526
  "Controls whether the editor should automatically close quotes after the user adds an opening quote."
3470
3527
  ))
3471
3528
  }
@@ -3479,23 +3536,23 @@ const EditorOptions = {
3479
3536
  _autoIndentFromString,
3480
3537
  {
3481
3538
  enumDescriptions: [
3482
- ( localize(519, "The editor will not insert indentation automatically.")),
3483
- ( localize(520, "The editor will keep the current line's indentation.")),
3539
+ ( localize(517, "The editor will not insert indentation automatically.")),
3540
+ ( localize(518, "The editor will keep the current line's indentation.")),
3484
3541
  ( localize(
3485
- 521,
3542
+ 519,
3486
3543
  "The editor will keep the current line's indentation and honor language defined brackets."
3487
3544
  )),
3488
3545
  ( localize(
3489
- 522,
3546
+ 520,
3490
3547
  "The editor will keep the current line's indentation, honor language defined brackets and invoke special onEnterRules defined by languages."
3491
3548
  )),
3492
3549
  ( localize(
3493
- 523,
3550
+ 521,
3494
3551
  "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."
3495
3552
  )),
3496
3553
  ],
3497
3554
  description: ( localize(
3498
- 524,
3555
+ 522,
3499
3556
  "Controls whether the editor should automatically adjust the indentation when users type, paste, move or indent lines."
3500
3557
  ))
3501
3558
  }
@@ -3505,7 +3562,7 @@ const EditorOptions = {
3505
3562
  'autoIndentOnPaste',
3506
3563
  false,
3507
3564
  { description: ( localize(
3508
- 525,
3565
+ 523,
3509
3566
  "Controls whether the editor should automatically auto-indent the pasted content."
3510
3567
  )) }
3511
3568
  ))),
@@ -3514,7 +3571,7 @@ const EditorOptions = {
3514
3571
  'autoIndentOnPasteWithinString',
3515
3572
  true,
3516
3573
  { description: ( localize(
3517
- 526,
3574
+ 524,
3518
3575
  "Controls whether the editor should automatically auto-indent the pasted content when pasted within a string. This takes effect when autoIndentOnPaste is true."
3519
3576
  )) }
3520
3577
  ))),
@@ -3527,15 +3584,15 @@ const EditorOptions = {
3527
3584
  {
3528
3585
  enumDescriptions: [
3529
3586
  ( localize(
3530
- 527,
3587
+ 525,
3531
3588
  "Use language configurations to determine when to automatically surround selections."
3532
3589
  )),
3533
- ( localize(528, "Surround with quotes but not brackets.")),
3534
- ( localize(529, "Surround with brackets but not quotes.")),
3590
+ ( localize(526, "Surround with quotes but not brackets.")),
3591
+ ( localize(527, "Surround with brackets but not quotes.")),
3535
3592
  ''
3536
3593
  ],
3537
3594
  description: ( localize(
3538
- 530,
3595
+ 528,
3539
3596
  "Controls whether the editor should automatically surround selections when typing quotes or brackets."
3540
3597
  ))
3541
3598
  }
@@ -3547,16 +3604,16 @@ const EditorOptions = {
3547
3604
  'stickyTabStops',
3548
3605
  false,
3549
3606
  { description: ( localize(
3550
- 531,
3607
+ 529,
3551
3608
  "Emulate selection behavior of tab characters when using spaces for indentation. Selection will stick to tab stops."
3552
3609
  )) }
3553
3610
  ))),
3554
- codeLens: register(( new EditorBooleanOption(EditorOption.codeLens, 'codeLens', true, { description: ( localize(532, "Controls whether the editor shows CodeLens.")) }))),
3611
+ codeLens: register(( new EditorBooleanOption(EditorOption.codeLens, 'codeLens', true, { description: ( localize(530, "Controls whether the editor shows CodeLens.")) }))),
3555
3612
  codeLensFontFamily: register(( new EditorStringOption(
3556
3613
  EditorOption.codeLensFontFamily,
3557
3614
  'codeLensFontFamily',
3558
3615
  '',
3559
- { description: ( localize(533, "Controls the font family for CodeLens.")) }
3616
+ { description: ( localize(531, "Controls the font family for CodeLens.")) }
3560
3617
  ))),
3561
3618
  codeLensFontSize: register(( new EditorIntOption(EditorOption.codeLensFontSize, 'codeLensFontSize', 0, 0, 100, {
3562
3619
  type: 'number',
@@ -3564,7 +3621,7 @@ const EditorOptions = {
3564
3621
  minimum: 0,
3565
3622
  maximum: 100,
3566
3623
  markdownDescription: ( localize(
3567
- 534,
3624
+ 532,
3568
3625
  "Controls the font size in pixels for CodeLens. When set to 0, 90% of `#editor.fontSize#` is used."
3569
3626
  ))
3570
3627
  }))),
@@ -3573,7 +3630,7 @@ const EditorOptions = {
3573
3630
  'colorDecorators',
3574
3631
  true,
3575
3632
  { description: ( localize(
3576
- 535,
3633
+ 533,
3577
3634
  "Controls whether the editor should render the inline color decorators and color picker."
3578
3635
  )) }
3579
3636
  ))),
@@ -3585,14 +3642,14 @@ const EditorOptions = {
3585
3642
  {
3586
3643
  enumDescriptions: [
3587
3644
  ( localize(
3588
- 536,
3645
+ 534,
3589
3646
  "Make the color picker appear both on click and hover of the color decorator"
3590
3647
  )),
3591
- ( localize(537, "Make the color picker appear on hover of the color decorator")),
3592
- ( localize(538, "Make the color picker appear on click of the color decorator"))
3648
+ ( localize(535, "Make the color picker appear on hover of the color decorator")),
3649
+ ( localize(536, "Make the color picker appear on click of the color decorator"))
3593
3650
  ],
3594
3651
  description: ( localize(
3595
- 539,
3652
+ 537,
3596
3653
  "Controls the condition to make a color picker appear from a color decorator."
3597
3654
  ))
3598
3655
  }
@@ -3605,7 +3662,7 @@ const EditorOptions = {
3605
3662
  1000000,
3606
3663
  {
3607
3664
  markdownDescription: ( localize(
3608
- 540,
3665
+ 538,
3609
3666
  "Controls the max number of color decorators that can be rendered in an editor at once."
3610
3667
  ))
3611
3668
  }
@@ -3615,7 +3672,7 @@ const EditorOptions = {
3615
3672
  'columnSelection',
3616
3673
  false,
3617
3674
  { description: ( localize(
3618
- 541,
3675
+ 539,
3619
3676
  "Enable that the selection with the mouse and keys is doing column selection."
3620
3677
  )) }
3621
3678
  ))),
@@ -3626,7 +3683,7 @@ const EditorOptions = {
3626
3683
  'copyWithSyntaxHighlighting',
3627
3684
  true,
3628
3685
  { description: ( localize(
3629
- 542,
3686
+ 540,
3630
3687
  "Controls whether syntax highlighting should be copied into the clipboard."
3631
3688
  )) }
3632
3689
  ))),
@@ -3637,7 +3694,7 @@ const EditorOptions = {
3637
3694
  'blink',
3638
3695
  ['blink', 'smooth', 'phase', 'expand', 'solid'],
3639
3696
  cursorBlinkingStyleFromString,
3640
- { description: ( localize(543, "Control the cursor animation style.")) }
3697
+ { description: ( localize(541, "Control the cursor animation style.")) }
3641
3698
  ))),
3642
3699
  cursorSmoothCaretAnimation: register(( new EditorStringEnumOption(
3643
3700
  EditorOption.cursorSmoothCaretAnimation,
@@ -3646,14 +3703,14 @@ const EditorOptions = {
3646
3703
  ['off', 'explicit', 'on'],
3647
3704
  {
3648
3705
  enumDescriptions: [
3649
- ( localize(544, "Smooth caret animation is disabled.")),
3706
+ ( localize(542, "Smooth caret animation is disabled.")),
3650
3707
  ( localize(
3651
- 545,
3708
+ 543,
3652
3709
  "Smooth caret animation is enabled only when the user moves the cursor with an explicit gesture."
3653
3710
  )),
3654
- ( localize(546, "Smooth caret animation is always enabled."))
3711
+ ( localize(544, "Smooth caret animation is always enabled."))
3655
3712
  ],
3656
- description: ( localize(547, "Controls whether the smooth caret animation should be enabled."))
3713
+ description: ( localize(545, "Controls whether the smooth caret animation should be enabled."))
3657
3714
  }
3658
3715
  ))),
3659
3716
  cursorStyle: register(( new EditorEnumOption(
@@ -3663,7 +3720,7 @@ const EditorOptions = {
3663
3720
  'line',
3664
3721
  ['line', 'block', 'underline', 'line-thin', 'block-outline', 'underline-thin'],
3665
3722
  cursorStyleFromString,
3666
- { description: ( localize(548, "Controls the cursor style in insert input mode.")) }
3723
+ { description: ( localize(546, "Controls the cursor style in insert input mode.")) }
3667
3724
  ))),
3668
3725
  overtypeCursorStyle: register(( new EditorEnumOption(
3669
3726
  EditorOption.overtypeCursorStyle,
@@ -3672,7 +3729,7 @@ const EditorOptions = {
3672
3729
  'block',
3673
3730
  ['line', 'block', 'underline', 'line-thin', 'block-outline', 'underline-thin'],
3674
3731
  cursorStyleFromString,
3675
- { description: ( localize(549, "Controls the cursor style in overtype input mode.")) }
3732
+ { description: ( localize(547, "Controls the cursor style in overtype input mode.")) }
3676
3733
  ))),
3677
3734
  cursorSurroundingLines: register(( new EditorIntOption(
3678
3735
  EditorOption.cursorSurroundingLines,
@@ -3681,7 +3738,7 @@ const EditorOptions = {
3681
3738
  0,
3682
3739
  Constants.MAX_SAFE_SMALL_INTEGER,
3683
3740
  { description: ( localize(
3684
- 550,
3741
+ 548,
3685
3742
  "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."
3686
3743
  )) }
3687
3744
  ))),
@@ -3693,12 +3750,12 @@ const EditorOptions = {
3693
3750
  {
3694
3751
  enumDescriptions: [
3695
3752
  ( localize(
3696
- 551,
3753
+ 549,
3697
3754
  "`cursorSurroundingLines` is enforced only when triggered via the keyboard or API."
3698
3755
  )),
3699
- ( localize(552, "`cursorSurroundingLines` is enforced always."))
3756
+ ( localize(550, "`cursorSurroundingLines` is enforced always."))
3700
3757
  ],
3701
- markdownDescription: ( localize(553, "Controls when `#editor.cursorSurroundingLines#` should be enforced."))
3758
+ markdownDescription: ( localize(551, "Controls when `#editor.cursorSurroundingLines#` should be enforced."))
3702
3759
  }
3703
3760
  ))),
3704
3761
  cursorWidth: register(( new EditorIntOption(
@@ -3708,7 +3765,7 @@ const EditorOptions = {
3708
3765
  0,
3709
3766
  Constants.MAX_SAFE_SMALL_INTEGER,
3710
3767
  { markdownDescription: ( localize(
3711
- 554,
3768
+ 552,
3712
3769
  "Controls the width of the cursor when `#editor.cursorStyle#` is set to `line`."
3713
3770
  )) }
3714
3771
  ))),
@@ -3719,7 +3776,7 @@ const EditorOptions = {
3719
3776
  0,
3720
3777
  Constants.MAX_SAFE_SMALL_INTEGER,
3721
3778
  { markdownDescription: ( localize(
3722
- 555,
3779
+ 553,
3723
3780
  "Controls the height of the cursor when `#editor.cursorStyle#` is set to `line`. Cursor's max height depends on line height."
3724
3781
  )) }
3725
3782
  ))),
@@ -3735,7 +3792,7 @@ const EditorOptions = {
3735
3792
  'dragAndDrop',
3736
3793
  true,
3737
3794
  { description: ( localize(
3738
- 556,
3795
+ 554,
3739
3796
  "Controls whether the editor should allow moving selections via drag and drop."
3740
3797
  )) }
3741
3798
  ))),
@@ -3743,7 +3800,7 @@ const EditorOptions = {
3743
3800
  dropIntoEditor: register(( new EditorDropIntoEditor())),
3744
3801
  editContext: register(( new EditorBooleanOption(EditorOption.editContext, 'editContext', true, {
3745
3802
  description: ( localize(
3746
- 557,
3803
+ 555,
3747
3804
  "Sets whether the EditContext API should be used instead of the text area to power input in the editor."
3748
3805
  )),
3749
3806
  included: isChrome || isEdge || isNative
@@ -3754,7 +3811,7 @@ const EditorOptions = {
3754
3811
  false,
3755
3812
  {
3756
3813
  markdownDescription: ( localize(
3757
- 558,
3814
+ 556,
3758
3815
  "Whether to render rich screen reader content when the `#editor.editContext#` setting is enabled."
3759
3816
  )),
3760
3817
  }
@@ -3768,11 +3825,11 @@ const EditorOptions = {
3768
3825
  {
3769
3826
  tags: ['experimental'],
3770
3827
  enumDescriptions: [
3771
- ( localize(559, "Use regular DOM-based rendering.")),
3772
- ( localize(560, "Use GPU acceleration.")),
3828
+ ( localize(557, "Use regular DOM-based rendering.")),
3829
+ ( localize(558, "Use GPU acceleration.")),
3773
3830
  ],
3774
3831
  description: ( localize(
3775
- 561,
3832
+ 559,
3776
3833
  "Controls whether to use the experimental GPU acceleration to render the editor."
3777
3834
  ))
3778
3835
  }
@@ -3784,12 +3841,12 @@ const EditorOptions = {
3784
3841
  ['svg', 'font', 'off'],
3785
3842
  {
3786
3843
  enumDescriptions: [
3787
- ( localize(562, "Use a new rendering method with svgs.")),
3788
- ( localize(563, "Use a new rendering method with font characters.")),
3789
- ( localize(564, "Use the stable rendering method.")),
3844
+ ( localize(560, "Use a new rendering method with svgs.")),
3845
+ ( localize(561, "Use a new rendering method with font characters.")),
3846
+ ( localize(562, "Use the stable rendering method.")),
3790
3847
  ],
3791
3848
  description: ( localize(
3792
- 565,
3849
+ 563,
3793
3850
  "Controls whether whitespace is rendered with a new, experimental method."
3794
3851
  ))
3795
3852
  }
@@ -3800,11 +3857,11 @@ const EditorOptions = {
3800
3857
  'fastScrollSensitivity',
3801
3858
  5,
3802
3859
  x => (x <= 0 ? 5 : x),
3803
- { markdownDescription: ( localize(566, "Scrolling speed multiplier when pressing `Alt`.")) }
3860
+ { markdownDescription: ( localize(564, "Scrolling speed multiplier when pressing `Alt`.")) }
3804
3861
  ))),
3805
3862
  find: register(( new EditorFind())),
3806
3863
  fixedOverflowWidgets: register(( new EditorBooleanOption(EditorOption.fixedOverflowWidgets, 'fixedOverflowWidgets', false))),
3807
- folding: register(( new EditorBooleanOption(EditorOption.folding, 'folding', true, { description: ( localize(567, "Controls whether the editor has code folding enabled.")) }))),
3864
+ folding: register(( new EditorBooleanOption(EditorOption.folding, 'folding', true, { description: ( localize(565, "Controls whether the editor has code folding enabled.")) }))),
3808
3865
  foldingStrategy: register(( new EditorStringEnumOption(
3809
3866
  EditorOption.foldingStrategy,
3810
3867
  'foldingStrategy',
@@ -3813,25 +3870,25 @@ const EditorOptions = {
3813
3870
  {
3814
3871
  enumDescriptions: [
3815
3872
  ( localize(
3816
- 568,
3873
+ 566,
3817
3874
  "Use a language-specific folding strategy if available, else the indentation-based one."
3818
3875
  )),
3819
- ( localize(569, "Use the indentation-based folding strategy.")),
3876
+ ( localize(567, "Use the indentation-based folding strategy.")),
3820
3877
  ],
3821
- description: ( localize(570, "Controls the strategy for computing folding ranges."))
3878
+ description: ( localize(568, "Controls the strategy for computing folding ranges."))
3822
3879
  }
3823
3880
  ))),
3824
3881
  foldingHighlight: register(( new EditorBooleanOption(
3825
3882
  EditorOption.foldingHighlight,
3826
3883
  'foldingHighlight',
3827
3884
  true,
3828
- { description: ( localize(571, "Controls whether the editor should highlight folded ranges.")) }
3885
+ { description: ( localize(569, "Controls whether the editor should highlight folded ranges.")) }
3829
3886
  ))),
3830
3887
  foldingImportsByDefault: register(( new EditorBooleanOption(
3831
3888
  EditorOption.foldingImportsByDefault,
3832
3889
  'foldingImportsByDefault',
3833
3890
  false,
3834
- { description: ( localize(572, "Controls whether the editor automatically collapses import ranges.")) }
3891
+ { description: ( localize(570, "Controls whether the editor automatically collapses import ranges.")) }
3835
3892
  ))),
3836
3893
  foldingMaximumRegions: register(( new EditorIntOption(
3837
3894
  EditorOption.foldingMaximumRegions,
@@ -3840,7 +3897,7 @@ const EditorOptions = {
3840
3897
  10,
3841
3898
  65000,
3842
3899
  { description: ( localize(
3843
- 573,
3900
+ 571,
3844
3901
  "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."
3845
3902
  )) }
3846
3903
  ))),
@@ -3849,7 +3906,7 @@ const EditorOptions = {
3849
3906
  'unfoldOnClickAfterEndOfLine',
3850
3907
  false,
3851
3908
  { description: ( localize(
3852
- 574,
3909
+ 572,
3853
3910
  "Controls whether clicking on the empty content after a folded line will unfold the line."
3854
3911
  )) }
3855
3912
  ))),
@@ -3857,7 +3914,7 @@ const EditorOptions = {
3857
3914
  EditorOption.fontFamily,
3858
3915
  'fontFamily',
3859
3916
  EDITOR_FONT_DEFAULTS.fontFamily,
3860
- { description: ( localize(575, "Controls the font family.")) }
3917
+ { description: ( localize(573, "Controls the font family.")) }
3861
3918
  ))),
3862
3919
  fontInfo: register(( new EditorFontInfo())),
3863
3920
  fontLigatures2: register(( new EditorFontLigatures())),
@@ -3869,7 +3926,7 @@ const EditorOptions = {
3869
3926
  'formatOnPaste',
3870
3927
  false,
3871
3928
  { description: ( localize(
3872
- 576,
3929
+ 574,
3873
3930
  "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."
3874
3931
  )) }
3875
3932
  ))),
@@ -3878,7 +3935,7 @@ const EditorOptions = {
3878
3935
  'formatOnType',
3879
3936
  false,
3880
3937
  { description: ( localize(
3881
- 577,
3938
+ 575,
3882
3939
  "Controls whether the editor should automatically format the line after typing."
3883
3940
  )) }
3884
3941
  ))),
@@ -3887,7 +3944,7 @@ const EditorOptions = {
3887
3944
  'glyphMargin',
3888
3945
  true,
3889
3946
  { description: ( localize(
3890
- 578,
3947
+ 576,
3891
3948
  "Controls whether the editor should render the vertical glyph margin. Glyph margin is mostly used for debugging."
3892
3949
  )) }
3893
3950
  ))),
@@ -3896,7 +3953,7 @@ const EditorOptions = {
3896
3953
  EditorOption.hideCursorInOverviewRuler,
3897
3954
  'hideCursorInOverviewRuler',
3898
3955
  false,
3899
- { description: ( localize(579, "Controls whether the cursor should be hidden in the overview ruler.")) }
3956
+ { description: ( localize(577, "Controls whether the cursor should be hidden in the overview ruler.")) }
3900
3957
  ))),
3901
3958
  hover: register(( new EditorHover())),
3902
3959
  inDiffEditor: register(( new EditorBooleanOption(EditorOption.inDiffEditor, 'inDiffEditor', false))),
@@ -3904,14 +3961,14 @@ const EditorOptions = {
3904
3961
  EditorOption.inertialScroll,
3905
3962
  'inertialScroll',
3906
3963
  false,
3907
- { description: ( localize(580, "Make scrolling inertial - mostly useful with touchpad on linux.")) }
3964
+ { description: ( localize(578, "Make scrolling inertial - mostly useful with touchpad on linux.")) }
3908
3965
  ))),
3909
3966
  letterSpacing: register(( new EditorFloatOption(
3910
3967
  EditorOption.letterSpacing,
3911
3968
  'letterSpacing',
3912
3969
  EDITOR_FONT_DEFAULTS.letterSpacing,
3913
3970
  x => EditorFloatOption.clamp(x, -5, 20),
3914
- { description: ( localize(581, "Controls the letter spacing in pixels.")) }
3971
+ { description: ( localize(579, "Controls the letter spacing in pixels.")) }
3915
3972
  ))),
3916
3973
  lightbulb: register(( new EditorLightbulb())),
3917
3974
  lineDecorationsWidth: register(( new EditorLineDecorationsWidth())),
@@ -3923,12 +3980,12 @@ const EditorOptions = {
3923
3980
  'linkedEditing',
3924
3981
  false,
3925
3982
  { description: ( localize(
3926
- 582,
3983
+ 580,
3927
3984
  "Controls whether the editor has linked editing enabled. Depending on the language, related symbols such as HTML tags, are updated while editing."
3928
3985
  )) }
3929
3986
  ))),
3930
3987
  links: register(( new EditorBooleanOption(EditorOption.links, 'links', true, { description: ( localize(
3931
- 583,
3988
+ 581,
3932
3989
  "Controls whether the editor should detect links and make them clickable."
3933
3990
  )) }))),
3934
3991
  matchBrackets: register(( new EditorStringEnumOption(
@@ -3936,7 +3993,7 @@ const EditorOptions = {
3936
3993
  'matchBrackets',
3937
3994
  'always',
3938
3995
  ['always', 'near', 'never'],
3939
- { description: ( localize(584, "Highlight matching brackets.")) }
3996
+ { description: ( localize(582, "Highlight matching brackets.")) }
3940
3997
  ))),
3941
3998
  minimap: register(( new EditorMinimap())),
3942
3999
  mouseStyle: register(( new EditorStringEnumOption(EditorOption.mouseStyle, 'mouseStyle', 'text', ['text', 'default', 'copy']))),
@@ -3946,18 +4003,18 @@ const EditorOptions = {
3946
4003
  1,
3947
4004
  x => (x === 0 ? 1 : x),
3948
4005
  { markdownDescription: ( localize(
3949
- 585,
4006
+ 583,
3950
4007
  "A multiplier to be used on the `deltaX` and `deltaY` of mouse wheel scroll events."
3951
4008
  )) }
3952
4009
  ))),
3953
4010
  mouseWheelZoom: register(( new EditorBooleanOption(EditorOption.mouseWheelZoom, 'mouseWheelZoom', false, {
3954
4011
  markdownDescription: isMacintosh
3955
4012
  ? ( localize(
3956
- 586,
4013
+ 584,
3957
4014
  "Zoom the font of the editor when using mouse wheel and holding `Cmd`."
3958
4015
  ))
3959
4016
  : ( localize(
3960
- 587,
4017
+ 585,
3961
4018
  "Zoom the font of the editor when using mouse wheel and holding `Ctrl`."
3962
4019
  ))
3963
4020
  }))),
@@ -3965,7 +4022,7 @@ const EditorOptions = {
3965
4022
  EditorOption.multiCursorMergeOverlapping,
3966
4023
  'multiCursorMergeOverlapping',
3967
4024
  true,
3968
- { description: ( localize(588, "Merge multiple cursors when they are overlapping.")) }
4025
+ { description: ( localize(586, "Merge multiple cursors when they are overlapping.")) }
3969
4026
  ))),
3970
4027
  multiCursorModifier: register(( new EditorEnumOption(
3971
4028
  EditorOption.multiCursorModifier,
@@ -3976,11 +4033,11 @@ const EditorOptions = {
3976
4033
  _multiCursorModifierFromString,
3977
4034
  {
3978
4035
  markdownEnumDescriptions: [
3979
- ( localize(589, "Maps to `Control` on Windows and Linux and to `Command` on macOS.")),
3980
- ( localize(590, "Maps to `Alt` on Windows and Linux and to `Option` on macOS."))
4036
+ ( localize(587, "Maps to `Control` on Windows and Linux and to `Command` on macOS.")),
4037
+ ( localize(588, "Maps to `Alt` on Windows and Linux and to `Option` on macOS."))
3981
4038
  ],
3982
4039
  markdownDescription: ( localize(
3983
- 591,
4040
+ 589,
3984
4041
  "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)."
3985
4042
  ))
3986
4043
  }
@@ -3991,7 +4048,7 @@ const EditorOptions = {
3991
4048
  'default',
3992
4049
  ['default', 'openLink', 'ctrlLeftClick'],
3993
4050
  { description: ( localize(
3994
- 592,
4051
+ 590,
3995
4052
  "Controls what happens when middle mouse button is clicked in the editor."
3996
4053
  )) }
3997
4054
  ))),
@@ -4002,18 +4059,18 @@ const EditorOptions = {
4002
4059
  ['spread', 'full'],
4003
4060
  {
4004
4061
  markdownEnumDescriptions: [
4005
- ( localize(593, "Each cursor pastes a single line of the text.")),
4006
- ( localize(594, "Each cursor pastes the full text."))
4062
+ ( localize(591, "Each cursor pastes a single line of the text.")),
4063
+ ( localize(592, "Each cursor pastes the full text."))
4007
4064
  ],
4008
4065
  markdownDescription: ( localize(
4009
- 595,
4066
+ 593,
4010
4067
  "Controls pasting when the line count of the pasted text matches the cursor count."
4011
4068
  ))
4012
4069
  }
4013
4070
  ))),
4014
4071
  multiCursorLimit: register(( new EditorIntOption(EditorOption.multiCursorLimit, 'multiCursorLimit', 10000, 1, 100000, {
4015
4072
  markdownDescription: ( localize(
4016
- 596,
4073
+ 594,
4017
4074
  "Controls the max number of cursors that can be in an active editor at once."
4018
4075
  ))
4019
4076
  }))),
@@ -4024,12 +4081,12 @@ const EditorOptions = {
4024
4081
  ['off', 'singleFile', 'multiFile'],
4025
4082
  {
4026
4083
  markdownEnumDescriptions: [
4027
- ( localize(597, "Does not highlight occurrences.")),
4028
- ( localize(598, "Highlights occurrences only in the current file.")),
4029
- ( localize(599, "Experimental: Highlights occurrences across all valid open files."))
4084
+ ( localize(595, "Does not highlight occurrences.")),
4085
+ ( localize(596, "Highlights occurrences only in the current file.")),
4086
+ ( localize(597, "Experimental: Highlights occurrences across all valid open files."))
4030
4087
  ],
4031
4088
  markdownDescription: ( localize(
4032
- 600,
4089
+ 598,
4033
4090
  "Controls whether occurrences should be highlighted across open files."
4034
4091
  ))
4035
4092
  }
@@ -4042,7 +4099,7 @@ const EditorOptions = {
4042
4099
  2000,
4043
4100
  {
4044
4101
  description: ( localize(
4045
- 601,
4102
+ 599,
4046
4103
  "Controls the delay in milliseconds after which occurrences are highlighted."
4047
4104
  )),
4048
4105
  tags: ['preview']
@@ -4052,14 +4109,14 @@ const EditorOptions = {
4052
4109
  EditorOption.overtypeOnPaste,
4053
4110
  'overtypeOnPaste',
4054
4111
  true,
4055
- { description: ( localize(602, "Controls whether pasting should overtype.")) }
4112
+ { description: ( localize(600, "Controls whether pasting should overtype.")) }
4056
4113
  ))),
4057
4114
  overviewRulerBorder: register(( new EditorBooleanOption(
4058
4115
  EditorOption.overviewRulerBorder,
4059
4116
  'overviewRulerBorder',
4060
4117
  true,
4061
4118
  { description: ( localize(
4062
- 603,
4119
+ 601,
4063
4120
  "Controls whether a border should be drawn around the overview ruler."
4064
4121
  )) }
4065
4122
  ))),
@@ -4074,11 +4131,11 @@ const EditorOptions = {
4074
4131
  ['tree', 'editor'],
4075
4132
  {
4076
4133
  enumDescriptions: [
4077
- ( localize(604, "Focus the tree when opening peek")),
4078
- ( localize(605, "Focus the editor when opening peek"))
4134
+ ( localize(602, "Focus the tree when opening peek")),
4135
+ ( localize(603, "Focus the editor when opening peek"))
4079
4136
  ],
4080
4137
  description: ( localize(
4081
- 606,
4138
+ 604,
4082
4139
  "Controls whether to focus the inline editor or the tree in the peek widget."
4083
4140
  ))
4084
4141
  }
@@ -4089,7 +4146,7 @@ const EditorOptions = {
4089
4146
  'definitionLinkOpensInPeek',
4090
4147
  false,
4091
4148
  { description: ( localize(
4092
- 607,
4149
+ 605,
4093
4150
  "Controls whether the Go to Definition mouse gesture always opens the peek widget."
4094
4151
  )) }
4095
4152
  ))),
@@ -4102,7 +4159,7 @@ const EditorOptions = {
4102
4159
  Constants.MAX_SAFE_SMALL_INTEGER,
4103
4160
  {
4104
4161
  description: ( localize(
4105
- 608,
4162
+ 606,
4106
4163
  "Controls the delay in milliseconds after which quick suggestions will show up."
4107
4164
  )),
4108
4165
  experiment: {
@@ -4116,20 +4173,20 @@ const EditorOptions = {
4116
4173
  EditorOption.renameOnType,
4117
4174
  'renameOnType',
4118
4175
  false,
4119
- { description: ( localize(609, "Controls whether the editor auto renames on type.")), markdownDeprecationMessage: ( localize(610, "Deprecated, use `#editor.linkedEditing#` instead.")) }
4176
+ { description: ( localize(607, "Controls whether the editor auto renames on type.")), markdownDeprecationMessage: ( localize(608, "Deprecated, use `#editor.linkedEditing#` instead.")) }
4120
4177
  ))),
4121
4178
  renderControlCharacters: register(( new EditorBooleanOption(
4122
4179
  EditorOption.renderControlCharacters,
4123
4180
  'renderControlCharacters',
4124
4181
  true,
4125
- { description: ( localize(611, "Controls whether the editor should render control characters.")), restricted: true }
4182
+ { description: ( localize(609, "Controls whether the editor should render control characters.")), restricted: true }
4126
4183
  ))),
4127
4184
  renderFinalNewline: register(( new EditorStringEnumOption(
4128
4185
  EditorOption.renderFinalNewline,
4129
4186
  'renderFinalNewline',
4130
4187
  (isLinux ? 'dimmed' : 'on'),
4131
4188
  ['off', 'on', 'dimmed'],
4132
- { description: ( localize(612, "Render last line number when the file ends with a newline.")) }
4189
+ { description: ( localize(610, "Render last line number when the file ends with a newline.")) }
4133
4190
  ))),
4134
4191
  renderLineHighlight: register(( new EditorStringEnumOption(
4135
4192
  EditorOption.renderLineHighlight,
@@ -4141,9 +4198,9 @@ const EditorOptions = {
4141
4198
  '',
4142
4199
  '',
4143
4200
  '',
4144
- ( localize(613, "Highlights both the gutter and the current line.")),
4201
+ ( localize(611, "Highlights both the gutter and the current line.")),
4145
4202
  ],
4146
- description: ( localize(614, "Controls how the editor should render the current line highlight."))
4203
+ description: ( localize(612, "Controls how the editor should render the current line highlight."))
4147
4204
  }
4148
4205
  ))),
4149
4206
  renderLineHighlightOnlyWhenFocus: register(( new EditorBooleanOption(
@@ -4151,7 +4208,7 @@ const EditorOptions = {
4151
4208
  'renderLineHighlightOnlyWhenFocus',
4152
4209
  false,
4153
4210
  { description: ( localize(
4154
- 615,
4211
+ 613,
4155
4212
  "Controls if the editor should render the current line highlight only when the editor is focused."
4156
4213
  )) }
4157
4214
  ))),
@@ -4170,14 +4227,14 @@ const EditorOptions = {
4170
4227
  enumDescriptions: [
4171
4228
  '',
4172
4229
  ( localize(
4173
- 616,
4230
+ 614,
4174
4231
  "Render whitespace characters except for single spaces between words."
4175
4232
  )),
4176
- ( localize(617, "Render whitespace characters only on selected text.")),
4177
- ( localize(618, "Render only trailing whitespace characters.")),
4233
+ ( localize(615, "Render whitespace characters only on selected text.")),
4234
+ ( localize(616, "Render only trailing whitespace characters.")),
4178
4235
  ''
4179
4236
  ],
4180
- description: ( localize(619, "Controls how the editor should render whitespace characters."))
4237
+ description: ( localize(617, "Controls how the editor should render whitespace characters."))
4181
4238
  }
4182
4239
  ))),
4183
4240
  revealHorizontalRightPadding: register(( new EditorIntOption(
@@ -4191,7 +4248,7 @@ const EditorOptions = {
4191
4248
  EditorOption.roundedSelection,
4192
4249
  'roundedSelection',
4193
4250
  true,
4194
- { description: ( localize(620, "Controls whether selections should have rounded corners.")) }
4251
+ { description: ( localize(618, "Controls whether selections should have rounded corners.")) }
4195
4252
  ))),
4196
4253
  rulers: register(( new EditorRulers())),
4197
4254
  scrollbar: register(( new EditorScrollbar())),
@@ -4202,7 +4259,7 @@ const EditorOptions = {
4202
4259
  0,
4203
4260
  Constants.MAX_SAFE_SMALL_INTEGER,
4204
4261
  { description: ( localize(
4205
- 621,
4262
+ 619,
4206
4263
  "Controls the number of extra characters beyond which the editor will scroll horizontally."
4207
4264
  )) }
4208
4265
  ))),
@@ -4210,14 +4267,14 @@ const EditorOptions = {
4210
4267
  EditorOption.scrollBeyondLastLine,
4211
4268
  'scrollBeyondLastLine',
4212
4269
  true,
4213
- { description: ( localize(622, "Controls whether the editor will scroll beyond the last line.")) }
4270
+ { description: ( localize(620, "Controls whether the editor will scroll beyond the last line.")) }
4214
4271
  ))),
4215
4272
  scrollOnMiddleClick: register(( new EditorBooleanOption(
4216
4273
  EditorOption.scrollOnMiddleClick,
4217
4274
  'scrollOnMiddleClick',
4218
4275
  false,
4219
4276
  { description: ( localize(
4220
- 623,
4277
+ 621,
4221
4278
  "Controls whether the editor will scroll when the middle button is pressed."
4222
4279
  )) }
4223
4280
  ))),
@@ -4226,12 +4283,12 @@ const EditorOptions = {
4226
4283
  'scrollPredominantAxis',
4227
4284
  true,
4228
4285
  { description: ( localize(
4229
- 624,
4286
+ 622,
4230
4287
  "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."
4231
4288
  )) }
4232
4289
  ))),
4233
4290
  selectionClipboard: register(( new EditorBooleanOption(EditorOption.selectionClipboard, 'selectionClipboard', true, {
4234
- description: ( localize(625, "Controls whether the Linux primary clipboard should be supported.")),
4291
+ description: ( localize(623, "Controls whether the Linux primary clipboard should be supported.")),
4235
4292
  included: isLinux
4236
4293
  }))),
4237
4294
  selectionHighlight: register(( new EditorBooleanOption(
@@ -4239,7 +4296,7 @@ const EditorOptions = {
4239
4296
  'selectionHighlight',
4240
4297
  true,
4241
4298
  { description: ( localize(
4242
- 626,
4299
+ 624,
4243
4300
  "Controls whether the editor should highlight matches similar to the selection."
4244
4301
  )) }
4245
4302
  ))),
@@ -4250,7 +4307,7 @@ const EditorOptions = {
4250
4307
  0,
4251
4308
  Constants.MAX_SAFE_SMALL_INTEGER,
4252
4309
  { description: ( localize(
4253
- 627,
4310
+ 625,
4254
4311
  "Controls how many characters can be in the selection before similiar matches are not highlighted. Set to zero for unlimited."
4255
4312
  )) }
4256
4313
  ))),
@@ -4259,7 +4316,7 @@ const EditorOptions = {
4259
4316
  'selectionHighlightMultiline',
4260
4317
  false,
4261
4318
  { description: ( localize(
4262
- 628,
4319
+ 626,
4263
4320
  "Controls whether the editor should highlight selection matches that span multiple lines."
4264
4321
  )) }
4265
4322
  ))),
@@ -4271,19 +4328,19 @@ const EditorOptions = {
4271
4328
  ['always', 'never', 'mouseover'],
4272
4329
  {
4273
4330
  enumDescriptions: [
4274
- ( localize(629, "Always show the folding controls.")),
4275
- ( localize(630, "Never show the folding controls and reduce the gutter size.")),
4276
- ( localize(631, "Only show the folding controls when the mouse is over the gutter.")),
4331
+ ( localize(627, "Always show the folding controls.")),
4332
+ ( localize(628, "Never show the folding controls and reduce the gutter size.")),
4333
+ ( localize(629, "Only show the folding controls when the mouse is over the gutter.")),
4277
4334
  ],
4278
- description: ( localize(632, "Controls when the folding controls on the gutter are shown."))
4335
+ description: ( localize(630, "Controls when the folding controls on the gutter are shown."))
4279
4336
  }
4280
4337
  ))),
4281
- showUnused: register(( new EditorBooleanOption(EditorOption.showUnused, 'showUnused', true, { description: ( localize(633, "Controls fading out of unused code.")) }))),
4338
+ showUnused: register(( new EditorBooleanOption(EditorOption.showUnused, 'showUnused', true, { description: ( localize(631, "Controls fading out of unused code.")) }))),
4282
4339
  showDeprecated: register(( new EditorBooleanOption(
4283
4340
  EditorOption.showDeprecated,
4284
4341
  'showDeprecated',
4285
4342
  true,
4286
- { description: ( localize(634, "Controls strikethrough deprecated variables.")) }
4343
+ { description: ( localize(632, "Controls strikethrough deprecated variables.")) }
4287
4344
  ))),
4288
4345
  inlayHints: register(( new EditorInlayHints())),
4289
4346
  snippetSuggestions: register(( new EditorStringEnumOption(
@@ -4293,13 +4350,13 @@ const EditorOptions = {
4293
4350
  ['top', 'bottom', 'inline', 'none'],
4294
4351
  {
4295
4352
  enumDescriptions: [
4296
- ( localize(635, "Show snippet suggestions on top of other suggestions.")),
4297
- ( localize(636, "Show snippet suggestions below other suggestions.")),
4298
- ( localize(637, "Show snippets suggestions with other suggestions.")),
4299
- ( localize(638, "Do not show snippet suggestions.")),
4353
+ ( localize(633, "Show snippet suggestions on top of other suggestions.")),
4354
+ ( localize(634, "Show snippet suggestions below other suggestions.")),
4355
+ ( localize(635, "Show snippets suggestions with other suggestions.")),
4356
+ ( localize(636, "Do not show snippet suggestions.")),
4300
4357
  ],
4301
4358
  description: ( localize(
4302
- 639,
4359
+ 637,
4303
4360
  "Controls whether snippets are shown with other suggestions and how they are sorted."
4304
4361
  ))
4305
4362
  }
@@ -4309,7 +4366,7 @@ const EditorOptions = {
4309
4366
  EditorOption.smoothScrolling,
4310
4367
  'smoothScrolling',
4311
4368
  false,
4312
- { description: ( localize(640, "Controls whether the editor will scroll using an animation.")) }
4369
+ { description: ( localize(638, "Controls whether the editor will scroll using an animation.")) }
4313
4370
  ))),
4314
4371
  stopRenderingLineAfter: register(( new EditorIntOption(
4315
4372
  EditorOption.stopRenderingLineAfter,
@@ -4325,7 +4382,7 @@ const EditorOptions = {
4325
4382
  'inlineCompletionsAccessibilityVerbose',
4326
4383
  false,
4327
4384
  { description: ( localize(
4328
- 641,
4385
+ 639,
4329
4386
  "Controls whether the accessibility hint should be provided to screen reader users when an inline completion is shown."
4330
4387
  )) }
4331
4388
  ))),
@@ -4336,7 +4393,7 @@ const EditorOptions = {
4336
4393
  0,
4337
4394
  1000,
4338
4395
  { markdownDescription: ( localize(
4339
- 642,
4396
+ 640,
4340
4397
  "Font size for the suggest widget. When set to {0}, the value of {1} is used.",
4341
4398
  '`0`',
4342
4399
  '`#editor.fontSize#`'
@@ -4349,7 +4406,7 @@ const EditorOptions = {
4349
4406
  0,
4350
4407
  1000,
4351
4408
  { markdownDescription: ( localize(
4352
- 643,
4409
+ 641,
4353
4410
  "Line height for the suggest widget. When set to {0}, the value of {1} is used. The minimum value is 8.",
4354
4411
  '`0`',
4355
4412
  '`#editor.lineHeight#`'
@@ -4360,7 +4417,7 @@ const EditorOptions = {
4360
4417
  'suggestOnTriggerCharacters',
4361
4418
  true,
4362
4419
  { description: ( localize(
4363
- 644,
4420
+ 642,
4364
4421
  "Controls whether suggestions should automatically show up when typing trigger characters."
4365
4422
  )) }
4366
4423
  ))),
@@ -4371,18 +4428,18 @@ const EditorOptions = {
4371
4428
  ['first', 'recentlyUsed', 'recentlyUsedByPrefix'],
4372
4429
  {
4373
4430
  markdownEnumDescriptions: [
4374
- ( localize(645, "Always select the first suggestion.")),
4431
+ ( localize(643, "Always select the first suggestion.")),
4375
4432
  ( localize(
4376
- 646,
4433
+ 644,
4377
4434
  "Select recent suggestions unless further typing selects one, e.g. `console.| -> console.log` because `log` has been completed recently."
4378
4435
  )),
4379
4436
  ( localize(
4380
- 647,
4437
+ 645,
4381
4438
  "Select suggestions based on previous prefixes that have completed those suggestions, e.g. `co -> console` and `con -> const`."
4382
4439
  )),
4383
4440
  ],
4384
4441
  description: ( localize(
4385
- 648,
4442
+ 646,
4386
4443
  "Controls how suggestions are pre-selected when showing the suggest list."
4387
4444
  ))
4388
4445
  }
@@ -4395,16 +4452,16 @@ const EditorOptions = {
4395
4452
  {
4396
4453
  enumDescriptions: [
4397
4454
  ( localize(
4398
- 649,
4455
+ 647,
4399
4456
  "Tab complete will insert the best matching suggestion when pressing tab."
4400
4457
  )),
4401
- ( localize(650, "Disable tab completions.")),
4458
+ ( localize(648, "Disable tab completions.")),
4402
4459
  ( localize(
4403
- 651,
4460
+ 649,
4404
4461
  "Tab complete snippets when their prefix match. Works best when 'quickSuggestions' aren't enabled."
4405
4462
  )),
4406
4463
  ],
4407
- description: ( localize(652, "Enables tab completions."))
4464
+ description: ( localize(650, "Enables tab completions."))
4408
4465
  }
4409
4466
  ))),
4410
4467
  tabIndex: register(( new EditorIntOption(EditorOption.tabIndex, 'tabIndex', 0, -1, Constants.MAX_SAFE_SMALL_INTEGER))),
@@ -4413,7 +4470,7 @@ const EditorOptions = {
4413
4470
  'trimWhitespaceOnDelete',
4414
4471
  false,
4415
4472
  { description: ( localize(
4416
- 653,
4473
+ 651,
4417
4474
  "Controls whether the editor will also delete the next line's indentation whitespace when deleting a newline."
4418
4475
  )) }
4419
4476
  ))),
@@ -4425,11 +4482,11 @@ const EditorOptions = {
4425
4482
  ['auto', 'off', 'prompt'],
4426
4483
  {
4427
4484
  enumDescriptions: [
4428
- ( localize(654, "Unusual line terminators are automatically removed.")),
4429
- ( localize(655, "Unusual line terminators are ignored.")),
4430
- ( localize(656, "Unusual line terminators prompt to be removed.")),
4485
+ ( localize(652, "Unusual line terminators are automatically removed.")),
4486
+ ( localize(653, "Unusual line terminators are ignored.")),
4487
+ ( localize(654, "Unusual line terminators prompt to be removed.")),
4431
4488
  ],
4432
- description: ( localize(657, "Remove unusual line terminators that might cause problems."))
4489
+ description: ( localize(655, "Remove unusual line terminators that might cause problems."))
4433
4490
  }
4434
4491
  ))),
4435
4492
  useShadowDOM: register(( new EditorBooleanOption(EditorOption.useShadowDOM, 'useShadowDOM', true))),
@@ -4438,20 +4495,20 @@ const EditorOptions = {
4438
4495
  'useTabStops',
4439
4496
  true,
4440
4497
  { description: ( localize(
4441
- 658,
4498
+ 656,
4442
4499
  "Spaces and tabs are inserted and deleted in alignment with tab stops."
4443
4500
  )) }
4444
4501
  ))),
4445
4502
  wordBreak: register(( new EditorStringEnumOption(EditorOption.wordBreak, 'wordBreak', 'normal', ['normal', 'keepAll'], {
4446
4503
  markdownEnumDescriptions: [
4447
- ( localize(659, "Use the default line break rule.")),
4504
+ ( localize(657, "Use the default line break rule.")),
4448
4505
  ( localize(
4449
- 660,
4506
+ 658,
4450
4507
  "Word breaks should not be used for Chinese/Japanese/Korean (CJK) text. Non-CJK text behavior is the same as for normal."
4451
4508
  )),
4452
4509
  ],
4453
4510
  description: ( localize(
4454
- 661,
4511
+ 659,
4455
4512
  "Controls the word break rules used for Chinese/Japanese/Korean (CJK) text."
4456
4513
  ))
4457
4514
  }))),
@@ -4461,7 +4518,7 @@ const EditorOptions = {
4461
4518
  'wordSeparators',
4462
4519
  USUAL_WORD_SEPARATORS,
4463
4520
  { description: ( localize(
4464
- 662,
4521
+ 660,
4465
4522
  "Characters that will be used as word separators when doing word related navigations or operations."
4466
4523
  )) }
4467
4524
  ))),
@@ -4472,15 +4529,15 @@ const EditorOptions = {
4472
4529
  ['off', 'on', 'wordWrapColumn', 'bounded'],
4473
4530
  {
4474
4531
  markdownEnumDescriptions: [
4475
- ( localize(663, "Lines will never wrap.")),
4476
- ( localize(664, "Lines will wrap at the viewport width.")),
4477
- ( localize(665, "Lines will wrap at `#editor.wordWrapColumn#`.")),
4532
+ ( localize(661, "Lines will never wrap.")),
4533
+ ( localize(662, "Lines will wrap at the viewport width.")),
4534
+ ( localize(663, "Lines will wrap at `#editor.wordWrapColumn#`.")),
4478
4535
  ( localize(
4479
- 666,
4536
+ 664,
4480
4537
  "Lines will wrap at the minimum of viewport and `#editor.wordWrapColumn#`."
4481
4538
  )),
4482
4539
  ],
4483
- description: ( localize(667, "Controls how lines should wrap."))
4540
+ description: ( localize(665, "Controls how lines should wrap."))
4484
4541
  }
4485
4542
  ))),
4486
4543
  wordWrapBreakAfterCharacters: register(( new EditorStringOption(
@@ -4501,7 +4558,7 @@ const EditorOptions = {
4501
4558
  Constants.MAX_SAFE_SMALL_INTEGER,
4502
4559
  {
4503
4560
  markdownDescription: ( localize(
4504
- 668,
4561
+ 666,
4505
4562
  "Controls the wrapping column of the editor when `#editor.wordWrap#` is `wordWrapColumn` or `bounded`."
4506
4563
  ))
4507
4564
  }
@@ -4523,7 +4580,7 @@ const EditorOptions = {
4523
4580
  'wrapOnEscapedLineFeeds',
4524
4581
  false,
4525
4582
  { markdownDescription: ( localize(
4526
- 669,
4583
+ 667,
4527
4584
  "Controls whether literal `\\n` shall trigger a wordWrap when `#editor.wordWrap#` is enabled.\n\nFor example:\n```c\nchar* str=\"hello\\nworld\"\n```\nwill be displayed as\n```c\nchar* str=\"hello\\n\n world\"\n```"
4528
4585
  )) }
4529
4586
  ))),
@@ -4537,14 +4594,14 @@ const EditorOptions = {
4537
4594
  {
4538
4595
  enumDescriptions: [
4539
4596
  ( localize(
4540
- 670,
4597
+ 668,
4541
4598
  "Show default color decorators only when no extension provides colors decorators."
4542
4599
  )),
4543
- ( localize(671, "Always show default color decorators.")),
4544
- ( localize(672, "Never show default color decorators.")),
4600
+ ( localize(669, "Always show default color decorators.")),
4601
+ ( localize(670, "Never show default color decorators.")),
4545
4602
  ],
4546
4603
  description: ( localize(
4547
- 673,
4604
+ 671,
4548
4605
  "Controls whether inline color decorations should be shown using the default document color provider."
4549
4606
  ))
4550
4607
  }
@@ -4555,7 +4612,7 @@ const EditorOptions = {
4555
4612
  'tabFocusMode',
4556
4613
  false,
4557
4614
  { markdownDescription: ( localize(
4558
- 674,
4615
+ 672,
4559
4616
  "Controls whether the editor receives tabs or defers them to the workbench for navigation."
4560
4617
  )) }
4561
4618
  ))),
@@ -4567,4 +4624,4 @@ const EditorOptions = {
4567
4624
  effectiveAllowVariableFonts: register(( new EffectiveAllowVariableFonts()))
4568
4625
  };
4569
4626
 
4570
- export { ApplyUpdateResult, ComputeOptionsMemory, ConfigurationChangedEvent, EDITOR_FONT_DEFAULTS, EditorAutoIndentStrategy, EditorFontLigatures, EditorFontVariations, EditorLayoutInfoComputer, EditorOption, EditorOptions, MINIMAP_GUTTER_WIDTH, RenderLineNumbersType, RenderMinimap, ShowLightbulbIconMode, TextEditorCursorBlinkingStyle, TextEditorCursorStyle, WrappingIndent, boolean, clampedFloat, clampedInt, cursorBlinkingStyleFromString, cursorStyleFromString, cursorStyleToString, editorOptionsRegistry, filterFontDecorations, filterValidationDecorations, inUntrustedWorkspace, stringSet, unicodeHighlightConfigKeys };
4627
+ export { ApplyUpdateResult, ComputeOptionsMemory, ConfigurationChangedEvent, EditorAutoIndentStrategy, EditorFontLigatures, EditorFontVariations, EditorLayoutInfoComputer, EditorOption, EditorOptions, MINIMAP_GUTTER_WIDTH, RenderLineNumbersType, RenderMinimap, ShowLightbulbIconMode, TextEditorCursorBlinkingStyle, TextEditorCursorStyle, WrappingIndent, boolean, clampedFloat, clampedInt, cursorBlinkingStyleFromString, cursorStyleFromString, cursorStyleToString, editorOptionsRegistry, filterFontDecorations, filterValidationDecorations, inUntrustedWorkspace, stringSet, unicodeHighlightConfigKeys };