@codingame/monaco-vscode-api 22.1.9 → 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 +8 -9
  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
@@ -171,7 +171,7 @@ export interface ICodeEditorViewState {
171
171
  cursorState: ICursorState[];
172
172
  viewState: IViewState;
173
173
  contributionsState: {
174
- [id: string]: any;
174
+ [id: string]: unknown;
175
175
  };
176
176
  }
177
177
  /**
@@ -234,7 +234,7 @@ export interface IEditorDecorationsCollection {
234
234
  * An event emitted when decorations change in the editor,
235
235
  * but the change is not caused by us setting or clearing the collection.
236
236
  */
237
- onDidChange: Event<IModelDecorationsChangedEvent>;
237
+ readonly onDidChange: Event<IModelDecorationsChangedEvent>;
238
238
  /**
239
239
  * Get the decorations count.
240
240
  */
@@ -275,11 +275,11 @@ export interface IEditorContribution {
275
275
  /**
276
276
  * Store view state.
277
277
  */
278
- saveViewState?(): any;
278
+ saveViewState?(): unknown;
279
279
  /**
280
280
  * Restore view state.
281
281
  */
282
- restoreViewState?(state: any): void;
282
+ restoreViewState?(state: unknown): void;
283
283
  }
284
284
  /**
285
285
  * A diff editor contribution that gets created every time a new diffeditor gets created and gets disposed when the diff editor gets disposed.
@@ -294,7 +294,7 @@ export interface IDiffEditorContribution {
294
294
  /**
295
295
  * @internal
296
296
  */
297
- export declare function isThemeColor(o: any): o is ThemeColor;
297
+ export declare function isThemeColor(o: unknown): o is ThemeColor;
298
298
  /**
299
299
  * @internal
300
300
  */
@@ -6,7 +6,7 @@ var ScrollType;
6
6
  ScrollType[ScrollType["Immediate"] = 1] = "Immediate";
7
7
  })(ScrollType || (ScrollType = {}));
8
8
  function isThemeColor(o) {
9
- return o && typeof o.id === 'string';
9
+ return !!o && typeof o.id === 'string';
10
10
  }
11
11
  const EditorType = {
12
12
  ICodeEditor: 'vs.editor.ICodeEditor',
@@ -17,6 +17,7 @@ export declare namespace EditorContextKeys {
17
17
  const readOnly: RawContextKey<boolean>;
18
18
  const inDiffEditor: RawContextKey<boolean>;
19
19
  const isEmbeddedDiffEditor: RawContextKey<boolean>;
20
+ const inMultiDiffEditor: RawContextKey<boolean>;
20
21
  const multiDiffEditorAllCollapsed: RawContextKey<boolean>;
21
22
  const hasChanges: RawContextKey<boolean>;
22
23
  const comparingMovedCode: RawContextKey<boolean>;
@@ -5,73 +5,74 @@ import { RawContextKey } from '../../platform/contextkey/common/contextkey.js';
5
5
  var EditorContextKeys;
6
6
  (function (EditorContextKeys) {
7
7
  EditorContextKeys.editorSimpleInput = ( new RawContextKey('editorSimpleInput', false, true));
8
- EditorContextKeys.editorTextFocus = ( new RawContextKey('editorTextFocus', false, ( localize(745, "Whether the editor text has focus (cursor is blinking)"))));
8
+ EditorContextKeys.editorTextFocus = ( new RawContextKey('editorTextFocus', false, ( localize(743, "Whether the editor text has focus (cursor is blinking)"))));
9
9
  EditorContextKeys.focus = ( new RawContextKey('editorFocus', false, ( localize(
10
- 746,
10
+ 744,
11
11
  "Whether the editor or an editor widget has focus (e.g. focus is in the find widget)"
12
12
  ))));
13
13
  EditorContextKeys.textInputFocus = ( new RawContextKey('textInputFocus', false, ( localize(
14
- 747,
14
+ 745,
15
15
  "Whether an editor or a rich text input has focus (cursor is blinking)"
16
16
  ))));
17
- EditorContextKeys.readOnly = ( new RawContextKey('editorReadonly', false, ( localize(748, "Whether the editor is read-only"))));
18
- EditorContextKeys.inDiffEditor = ( new RawContextKey('inDiffEditor', false, ( localize(749, "Whether the context is a diff editor"))));
19
- EditorContextKeys.isEmbeddedDiffEditor = ( new RawContextKey('isEmbeddedDiffEditor', false, ( localize(750, "Whether the context is an embedded diff editor"))));
20
- EditorContextKeys.multiDiffEditorAllCollapsed = ( new RawContextKey('multiDiffEditorAllCollapsed', undefined, ( localize(751, "Whether all files in multi diff editor are collapsed"))));
21
- EditorContextKeys.hasChanges = ( new RawContextKey('diffEditorHasChanges', false, ( localize(752, "Whether the diff editor has changes"))));
22
- EditorContextKeys.comparingMovedCode = ( new RawContextKey('comparingMovedCode', false, ( localize(753, "Whether a moved code block is selected for comparison"))));
23
- EditorContextKeys.accessibleDiffViewerVisible = ( new RawContextKey('accessibleDiffViewerVisible', false, ( localize(754, "Whether the accessible diff viewer is visible"))));
17
+ EditorContextKeys.readOnly = ( new RawContextKey('editorReadonly', false, ( localize(746, "Whether the editor is read-only"))));
18
+ EditorContextKeys.inDiffEditor = ( new RawContextKey('inDiffEditor', false, ( localize(747, "Whether the context is a diff editor"))));
19
+ EditorContextKeys.isEmbeddedDiffEditor = ( new RawContextKey('isEmbeddedDiffEditor', false, ( localize(748, "Whether the context is an embedded diff editor"))));
20
+ EditorContextKeys.inMultiDiffEditor = ( new RawContextKey('inMultiDiffEditor', false, ( localize(749, "Whether the context is a multi diff editor"))));
21
+ EditorContextKeys.multiDiffEditorAllCollapsed = ( new RawContextKey('multiDiffEditorAllCollapsed', undefined, ( localize(750, "Whether all files in multi diff editor are collapsed"))));
22
+ EditorContextKeys.hasChanges = ( new RawContextKey('diffEditorHasChanges', false, ( localize(751, "Whether the diff editor has changes"))));
23
+ EditorContextKeys.comparingMovedCode = ( new RawContextKey('comparingMovedCode', false, ( localize(752, "Whether a moved code block is selected for comparison"))));
24
+ EditorContextKeys.accessibleDiffViewerVisible = ( new RawContextKey('accessibleDiffViewerVisible', false, ( localize(753, "Whether the accessible diff viewer is visible"))));
24
25
  EditorContextKeys.diffEditorRenderSideBySideInlineBreakpointReached = ( new RawContextKey('diffEditorRenderSideBySideInlineBreakpointReached', false, ( localize(
25
- 755,
26
+ 754,
26
27
  "Whether the diff editor render side by side inline breakpoint is reached"
27
28
  ))));
28
- EditorContextKeys.diffEditorInlineMode = ( new RawContextKey('diffEditorInlineMode', false, ( localize(756, "Whether inline mode is active"))));
29
- EditorContextKeys.diffEditorOriginalWritable = ( new RawContextKey('diffEditorOriginalWritable', false, ( localize(757, "Whether modified is writable in the diff editor"))));
30
- EditorContextKeys.diffEditorModifiedWritable = ( new RawContextKey('diffEditorModifiedWritable', false, ( localize(758, "Whether modified is writable in the diff editor"))));
31
- EditorContextKeys.diffEditorOriginalUri = ( new RawContextKey('diffEditorOriginalUri', '', ( localize(759, "The uri of the original document"))));
32
- EditorContextKeys.diffEditorModifiedUri = ( new RawContextKey('diffEditorModifiedUri', '', ( localize(760, "The uri of the modified document"))));
33
- EditorContextKeys.columnSelection = ( new RawContextKey('editorColumnSelection', false, ( localize(761, "Whether `editor.columnSelection` is enabled"))));
29
+ EditorContextKeys.diffEditorInlineMode = ( new RawContextKey('diffEditorInlineMode', false, ( localize(755, "Whether inline mode is active"))));
30
+ EditorContextKeys.diffEditorOriginalWritable = ( new RawContextKey('diffEditorOriginalWritable', false, ( localize(756, "Whether modified is writable in the diff editor"))));
31
+ EditorContextKeys.diffEditorModifiedWritable = ( new RawContextKey('diffEditorModifiedWritable', false, ( localize(757, "Whether modified is writable in the diff editor"))));
32
+ EditorContextKeys.diffEditorOriginalUri = ( new RawContextKey('diffEditorOriginalUri', '', ( localize(758, "The uri of the original document"))));
33
+ EditorContextKeys.diffEditorModifiedUri = ( new RawContextKey('diffEditorModifiedUri', '', ( localize(759, "The uri of the modified document"))));
34
+ EditorContextKeys.columnSelection = ( new RawContextKey('editorColumnSelection', false, ( localize(760, "Whether `editor.columnSelection` is enabled"))));
34
35
  EditorContextKeys.writable = ( EditorContextKeys.readOnly.toNegated());
35
- EditorContextKeys.hasNonEmptySelection = ( new RawContextKey('editorHasSelection', false, ( localize(762, "Whether the editor has text selected"))));
36
+ EditorContextKeys.hasNonEmptySelection = ( new RawContextKey('editorHasSelection', false, ( localize(761, "Whether the editor has text selected"))));
36
37
  EditorContextKeys.hasOnlyEmptySelection = ( EditorContextKeys.hasNonEmptySelection.toNegated());
37
- EditorContextKeys.hasMultipleSelections = ( new RawContextKey('editorHasMultipleSelections', false, ( localize(763, "Whether the editor has multiple selections"))));
38
+ EditorContextKeys.hasMultipleSelections = ( new RawContextKey('editorHasMultipleSelections', false, ( localize(762, "Whether the editor has multiple selections"))));
38
39
  EditorContextKeys.hasSingleSelection = ( EditorContextKeys.hasMultipleSelections.toNegated());
39
- EditorContextKeys.tabMovesFocus = ( new RawContextKey('editorTabMovesFocus', false, ( localize(764, "Whether `Tab` will move focus out of the editor"))));
40
+ EditorContextKeys.tabMovesFocus = ( new RawContextKey('editorTabMovesFocus', false, ( localize(763, "Whether `Tab` will move focus out of the editor"))));
40
41
  EditorContextKeys.tabDoesNotMoveFocus = ( EditorContextKeys.tabMovesFocus.toNegated());
41
42
  EditorContextKeys.isInEmbeddedEditor = ( new RawContextKey('isInEmbeddedEditor', false, true));
42
43
  EditorContextKeys.canUndo = ( new RawContextKey('canUndo', false, true));
43
44
  EditorContextKeys.canRedo = ( new RawContextKey('canRedo', false, true));
44
- EditorContextKeys.hoverVisible = ( new RawContextKey('editorHoverVisible', false, ( localize(765, "Whether the editor hover is visible"))));
45
- EditorContextKeys.hoverFocused = ( new RawContextKey('editorHoverFocused', false, ( localize(766, "Whether the editor hover is focused"))));
46
- EditorContextKeys.stickyScrollFocused = ( new RawContextKey('stickyScrollFocused', false, ( localize(767, "Whether the sticky scroll is focused"))));
47
- EditorContextKeys.stickyScrollVisible = ( new RawContextKey('stickyScrollVisible', false, ( localize(768, "Whether the sticky scroll is visible"))));
48
- EditorContextKeys.standaloneColorPickerVisible = ( new RawContextKey('standaloneColorPickerVisible', false, ( localize(769, "Whether the standalone color picker is visible"))));
49
- EditorContextKeys.standaloneColorPickerFocused = ( new RawContextKey('standaloneColorPickerFocused', false, ( localize(770, "Whether the standalone color picker is focused"))));
50
- EditorContextKeys.inCompositeEditor = ( new RawContextKey('inCompositeEditor', undefined, ( localize(771, "Whether the editor is part of a larger editor (e.g. notebooks)"))));
45
+ EditorContextKeys.hoverVisible = ( new RawContextKey('editorHoverVisible', false, ( localize(764, "Whether the editor hover is visible"))));
46
+ EditorContextKeys.hoverFocused = ( new RawContextKey('editorHoverFocused', false, ( localize(765, "Whether the editor hover is focused"))));
47
+ EditorContextKeys.stickyScrollFocused = ( new RawContextKey('stickyScrollFocused', false, ( localize(766, "Whether the sticky scroll is focused"))));
48
+ EditorContextKeys.stickyScrollVisible = ( new RawContextKey('stickyScrollVisible', false, ( localize(767, "Whether the sticky scroll is visible"))));
49
+ EditorContextKeys.standaloneColorPickerVisible = ( new RawContextKey('standaloneColorPickerVisible', false, ( localize(768, "Whether the standalone color picker is visible"))));
50
+ EditorContextKeys.standaloneColorPickerFocused = ( new RawContextKey('standaloneColorPickerFocused', false, ( localize(769, "Whether the standalone color picker is focused"))));
51
+ EditorContextKeys.inCompositeEditor = ( new RawContextKey('inCompositeEditor', undefined, ( localize(770, "Whether the editor is part of a larger editor (e.g. notebooks)"))));
51
52
  EditorContextKeys.notInCompositeEditor = ( EditorContextKeys.inCompositeEditor.toNegated());
52
- EditorContextKeys.languageId = ( new RawContextKey('editorLangId', '', ( localize(772, "The language identifier of the editor"))));
53
- EditorContextKeys.hasCompletionItemProvider = ( new RawContextKey('editorHasCompletionItemProvider', false, ( localize(773, "Whether the editor has a completion item provider"))));
54
- EditorContextKeys.hasCodeActionsProvider = ( new RawContextKey('editorHasCodeActionsProvider', false, ( localize(774, "Whether the editor has a code actions provider"))));
55
- EditorContextKeys.hasCodeLensProvider = ( new RawContextKey('editorHasCodeLensProvider', false, ( localize(775, "Whether the editor has a code lens provider"))));
56
- EditorContextKeys.hasDefinitionProvider = ( new RawContextKey('editorHasDefinitionProvider', false, ( localize(776, "Whether the editor has a definition provider"))));
57
- EditorContextKeys.hasDeclarationProvider = ( new RawContextKey('editorHasDeclarationProvider', false, ( localize(777, "Whether the editor has a declaration provider"))));
58
- EditorContextKeys.hasImplementationProvider = ( new RawContextKey('editorHasImplementationProvider', false, ( localize(778, "Whether the editor has an implementation provider"))));
59
- EditorContextKeys.hasTypeDefinitionProvider = ( new RawContextKey('editorHasTypeDefinitionProvider', false, ( localize(779, "Whether the editor has a type definition provider"))));
60
- EditorContextKeys.hasHoverProvider = ( new RawContextKey('editorHasHoverProvider', false, ( localize(780, "Whether the editor has a hover provider"))));
61
- EditorContextKeys.hasDocumentHighlightProvider = ( new RawContextKey('editorHasDocumentHighlightProvider', false, ( localize(781, "Whether the editor has a document highlight provider"))));
62
- EditorContextKeys.hasDocumentSymbolProvider = ( new RawContextKey('editorHasDocumentSymbolProvider', false, ( localize(782, "Whether the editor has a document symbol provider"))));
63
- EditorContextKeys.hasReferenceProvider = ( new RawContextKey('editorHasReferenceProvider', false, ( localize(783, "Whether the editor has a reference provider"))));
64
- EditorContextKeys.hasRenameProvider = ( new RawContextKey('editorHasRenameProvider', false, ( localize(784, "Whether the editor has a rename provider"))));
65
- EditorContextKeys.hasSignatureHelpProvider = ( new RawContextKey('editorHasSignatureHelpProvider', false, ( localize(785, "Whether the editor has a signature help provider"))));
66
- EditorContextKeys.hasInlayHintsProvider = ( new RawContextKey('editorHasInlayHintsProvider', false, ( localize(786, "Whether the editor has an inline hints provider"))));
67
- EditorContextKeys.hasDocumentFormattingProvider = ( new RawContextKey('editorHasDocumentFormattingProvider', false, ( localize(787, "Whether the editor has a document formatting provider"))));
68
- EditorContextKeys.hasDocumentSelectionFormattingProvider = ( new RawContextKey('editorHasDocumentSelectionFormattingProvider', false, ( localize(788, "Whether the editor has a document selection formatting provider"))));
69
- EditorContextKeys.hasMultipleDocumentFormattingProvider = ( new RawContextKey('editorHasMultipleDocumentFormattingProvider', false, ( localize(789, "Whether the editor has multiple document formatting providers"))));
53
+ EditorContextKeys.languageId = ( new RawContextKey('editorLangId', '', ( localize(771, "The language identifier of the editor"))));
54
+ EditorContextKeys.hasCompletionItemProvider = ( new RawContextKey('editorHasCompletionItemProvider', false, ( localize(772, "Whether the editor has a completion item provider"))));
55
+ EditorContextKeys.hasCodeActionsProvider = ( new RawContextKey('editorHasCodeActionsProvider', false, ( localize(773, "Whether the editor has a code actions provider"))));
56
+ EditorContextKeys.hasCodeLensProvider = ( new RawContextKey('editorHasCodeLensProvider', false, ( localize(774, "Whether the editor has a code lens provider"))));
57
+ EditorContextKeys.hasDefinitionProvider = ( new RawContextKey('editorHasDefinitionProvider', false, ( localize(775, "Whether the editor has a definition provider"))));
58
+ EditorContextKeys.hasDeclarationProvider = ( new RawContextKey('editorHasDeclarationProvider', false, ( localize(776, "Whether the editor has a declaration provider"))));
59
+ EditorContextKeys.hasImplementationProvider = ( new RawContextKey('editorHasImplementationProvider', false, ( localize(777, "Whether the editor has an implementation provider"))));
60
+ EditorContextKeys.hasTypeDefinitionProvider = ( new RawContextKey('editorHasTypeDefinitionProvider', false, ( localize(778, "Whether the editor has a type definition provider"))));
61
+ EditorContextKeys.hasHoverProvider = ( new RawContextKey('editorHasHoverProvider', false, ( localize(779, "Whether the editor has a hover provider"))));
62
+ EditorContextKeys.hasDocumentHighlightProvider = ( new RawContextKey('editorHasDocumentHighlightProvider', false, ( localize(780, "Whether the editor has a document highlight provider"))));
63
+ EditorContextKeys.hasDocumentSymbolProvider = ( new RawContextKey('editorHasDocumentSymbolProvider', false, ( localize(781, "Whether the editor has a document symbol provider"))));
64
+ EditorContextKeys.hasReferenceProvider = ( new RawContextKey('editorHasReferenceProvider', false, ( localize(782, "Whether the editor has a reference provider"))));
65
+ EditorContextKeys.hasRenameProvider = ( new RawContextKey('editorHasRenameProvider', false, ( localize(783, "Whether the editor has a rename provider"))));
66
+ EditorContextKeys.hasSignatureHelpProvider = ( new RawContextKey('editorHasSignatureHelpProvider', false, ( localize(784, "Whether the editor has a signature help provider"))));
67
+ EditorContextKeys.hasInlayHintsProvider = ( new RawContextKey('editorHasInlayHintsProvider', false, ( localize(785, "Whether the editor has an inline hints provider"))));
68
+ EditorContextKeys.hasDocumentFormattingProvider = ( new RawContextKey('editorHasDocumentFormattingProvider', false, ( localize(786, "Whether the editor has a document formatting provider"))));
69
+ EditorContextKeys.hasDocumentSelectionFormattingProvider = ( new RawContextKey('editorHasDocumentSelectionFormattingProvider', false, ( localize(787, "Whether the editor has a document selection formatting provider"))));
70
+ EditorContextKeys.hasMultipleDocumentFormattingProvider = ( new RawContextKey('editorHasMultipleDocumentFormattingProvider', false, ( localize(788, "Whether the editor has multiple document formatting providers"))));
70
71
  EditorContextKeys.hasMultipleDocumentSelectionFormattingProvider = ( new RawContextKey(
71
72
  'editorHasMultipleDocumentSelectionFormattingProvider',
72
73
  false,
73
74
  ( localize(
74
- 790,
75
+ 789,
75
76
  "Whether the editor has multiple document selection formatting providers"
76
77
  ))
77
78
  ));
@@ -18,7 +18,7 @@ export interface ILanguageService {
18
18
  * **Note**: Basic language features refers to language configuration related features.
19
19
  * **Note**: This event is a superset of `onDidRequestRichLanguageFeatures`
20
20
  */
21
- onDidRequestBasicLanguageFeatures: Event<string>;
21
+ readonly onDidRequestBasicLanguageFeatures: Event<string>;
22
22
  /**
23
23
  * An event emitted when rich language features are requested for the first time.
24
24
  * This event is emitted when a language is associated to a text model.
@@ -26,11 +26,11 @@ export interface ILanguageService {
26
26
  * **Note**: Rich language features refers to tokenizers, language features based on providers, etc.
27
27
  * **Note**: This event is a subset of `onDidRequestRichLanguageFeatures`
28
28
  */
29
- onDidRequestRichLanguageFeatures: Event<string>;
29
+ readonly onDidRequestRichLanguageFeatures: Event<string>;
30
30
  /**
31
31
  * An event emitted when languages have changed.
32
32
  */
33
- onDidChange: Event<void>;
33
+ readonly onDidChange: Event<void>;
34
34
  /**
35
35
  * Register a language.
36
36
  */
@@ -5,7 +5,7 @@ import { LanguageConfigurationServiceChangeEvent, ResolvedLanguageConfiguration
5
5
  export declare const ILanguageConfigurationService: import("../../../platform/instantiation/common/instantiation.js").ServiceIdentifier<ILanguageConfigurationService>;
6
6
  export interface ILanguageConfigurationService {
7
7
  readonly _serviceBrand: undefined;
8
- onDidChange: Event<LanguageConfigurationServiceChangeEvent>;
8
+ readonly onDidChange: Event<LanguageConfigurationServiceChangeEvent>;
9
9
  /**
10
10
  * @param priority Use a higher number for higher priority
11
11
  */
@@ -41,7 +41,7 @@ const PLAINTEXT_EXTENSION = '.txt';
41
41
  ModesRegistry.registerLanguage({
42
42
  id: PLAINTEXT_LANGUAGE_ID,
43
43
  extensions: [PLAINTEXT_EXTENSION],
44
- aliases: [( localize(847, "Plain Text")), 'text'],
44
+ aliases: [( localize(846, "Plain Text")), 'text'],
45
45
  mimetypes: [Mimes.text]
46
46
  });
47
47
  ( Registry.as(Extensions$1.Configuration))
@@ -1,6 +1,6 @@
1
1
 
2
2
  import { CharCode } from '../../../base/common/charCode.js';
3
- import { splitLines, escape } from '../../../base/common/strings.js';
3
+ import { isFullWidthCharacter, splitLines, escape } from '../../../base/common/strings.js';
4
4
  import { LineTokens } from '../tokens/lineTokens.js';
5
5
  import { TokenizationRegistry } from '../languages.js';
6
6
  import { LanguageId } from '../encodedTokenAttributes.js';
@@ -22,22 +22,30 @@ async function tokenizeToString(languageService, text, languageId) {
22
22
  }
23
23
  function tokenizeLineToHTML(text, viewLineTokens, colorMap, startOffset, endOffset, tabSize, useNbsp) {
24
24
  let result = `<div>`;
25
- let charIndex = startOffset;
26
- let tabsCharDelta = 0;
25
+ let charIndex = 0;
26
+ let width = 0;
27
27
  let prevIsSpace = true;
28
28
  for (let tokenIndex = 0, tokenCount = viewLineTokens.getCount(); tokenIndex < tokenCount; tokenIndex++) {
29
29
  const tokenEndIndex = viewLineTokens.getEndOffset(tokenIndex);
30
- if (tokenEndIndex <= startOffset) {
31
- continue;
32
- }
33
30
  let partContent = '';
34
31
  for (; charIndex < tokenEndIndex && charIndex < endOffset; charIndex++) {
35
32
  const charCode = text.charCodeAt(charIndex);
33
+ const isTab = charCode === CharCode.Tab;
34
+ width += isFullWidthCharacter(charCode) ? 2 : (isTab ? 0 : 1);
35
+ if (charIndex < startOffset) {
36
+ if (isTab) {
37
+ const remainder = width % tabSize;
38
+ width += remainder === 0 ? tabSize : tabSize - remainder;
39
+ }
40
+ continue;
41
+ }
36
42
  switch (charCode) {
37
43
  case CharCode.Tab: {
38
- let insertSpacesCount = tabSize - (charIndex + tabsCharDelta) % tabSize;
39
- tabsCharDelta += insertSpacesCount - 1;
40
- while (insertSpacesCount > 0) {
44
+ const remainder = width % tabSize;
45
+ const insertSpacesCount = remainder === 0 ? tabSize : tabSize - remainder;
46
+ width += insertSpacesCount;
47
+ let spacesRemaining = insertSpacesCount;
48
+ while (spacesRemaining > 0) {
41
49
  if (useNbsp && prevIsSpace) {
42
50
  partContent += '&#160;';
43
51
  prevIsSpace = false;
@@ -46,7 +54,7 @@ function tokenizeLineToHTML(text, viewLineTokens, colorMap, startOffset, endOffs
46
54
  partContent += ' ';
47
55
  prevIsSpace = true;
48
56
  }
49
- insertSpacesCount--;
57
+ spacesRemaining--;
50
58
  }
51
59
  break;
52
60
  }
@@ -92,8 +100,11 @@ function tokenizeLineToHTML(text, viewLineTokens, colorMap, startOffset, endOffs
92
100
  prevIsSpace = false;
93
101
  }
94
102
  }
103
+ if (tokenEndIndex <= startOffset) {
104
+ continue;
105
+ }
95
106
  result += `<span style="${viewLineTokens.getInlineStyle(tokenIndex, colorMap)}">${partContent}</span>`;
96
- if (tokenEndIndex > endOffset || charIndex >= endOffset) {
107
+ if (tokenEndIndex > endOffset || charIndex >= endOffset || startOffset >= endOffset) {
97
108
  break;
98
109
  }
99
110
  }
@@ -594,25 +594,29 @@ export interface InlineCompletion {
594
594
  */
595
595
  readonly insertText: string | {
596
596
  snippet: string;
597
- };
597
+ } | undefined;
598
598
  /**
599
- * A text that is used to decide if this inline completion should be shown.
600
- * An inline completion is shown if the text to replace is a subword of the filter text.
601
- */
602
- readonly filterText?: string;
599
+ * The range to replace.
600
+ * Must begin and end on the same line.
601
+ * Refers to the current document or `uri` if provided.
602
+ */
603
+ readonly range?: IRange;
603
604
  /**
604
605
  * An optional array of additional text edits that are applied when
605
606
  * selecting this completion. Edits must not overlap with the main edit
606
607
  * nor with themselves.
608
+ * Refers to the current document or `uri` if provided.
607
609
  */
608
610
  readonly additionalTextEdits?: ISingleEditOperation[];
609
611
  /**
610
- * The range to replace.
611
- * Must begin and end on the same line.
612
+ * The file for which the edit applies to.
613
+ */
614
+ readonly uri?: UriComponents;
615
+ /**
616
+ * A command that is run upon acceptance of this item.
612
617
  */
613
- readonly range?: IRange;
614
618
  readonly command?: Command;
615
- readonly action?: Command;
619
+ readonly gutterMenuLinkAction?: Command;
616
620
  /**
617
621
  * Is called the first time an inline completion is shown.
618
622
  * @deprecated. Use `onDidShow` of the provider instead.
@@ -625,9 +629,10 @@ export interface InlineCompletion {
625
629
  readonly completeBracketPairs?: boolean;
626
630
  readonly isInlineEdit?: boolean;
627
631
  readonly showInlineEditMenu?: boolean;
632
+ /** Only show the inline suggestion when the cursor is in the showRange. */
628
633
  readonly showRange?: IRange;
629
634
  readonly warning?: InlineCompletionWarning;
630
- readonly displayLocation?: InlineCompletionDisplayLocation;
635
+ readonly hint?: InlineCompletionHint;
631
636
  /**
632
637
  * Used for telemetry.
633
638
  */
@@ -637,18 +642,17 @@ export interface InlineCompletionWarning {
637
642
  message: IMarkdownString | string;
638
643
  icon?: IconPath;
639
644
  }
640
- export declare enum InlineCompletionDisplayLocationKind {
645
+ export declare enum InlineCompletionHintStyle {
641
646
  Code = 1,
642
647
  Label = 2
643
648
  }
644
- export interface InlineCompletionDisplayLocation {
649
+ export interface InlineCompletionHint {
650
+ /** Refers to the current document. */
645
651
  range: IRange;
646
- kind: InlineCompletionDisplayLocationKind;
647
- label: string;
652
+ style: InlineCompletionHintStyle;
653
+ content: string;
654
+ jumpToEdit: boolean;
648
655
  }
649
- /**
650
- * TODO: add `| URI | { light: URI; dark: URI }`.
651
- */
652
656
  export type IconPath = ThemeIcon;
653
657
  export interface InlineCompletions<TItem extends InlineCompletion = InlineCompletion> {
654
658
  readonly items: readonly TItem[];
@@ -718,6 +722,7 @@ export declare class ProviderId {
718
722
  static fromExtensionId(extensionId: string | undefined): ProviderId;
719
723
  constructor(extensionId: string | undefined, extensionVersion: string | undefined, providerId: string | undefined);
720
724
  toString(): string;
725
+ toStringWithoutVersion(): string;
721
726
  }
722
727
  /** @internal */
723
728
  export declare class VersionedExtensionId {
@@ -760,7 +765,6 @@ export type LifetimeSummary = {
760
765
  notShownReason: string | undefined;
761
766
  editorType: string;
762
767
  viewKind: string | undefined;
763
- error: string | undefined;
764
768
  preceeded: boolean;
765
769
  languageId: string;
766
770
  requestReason: string;
@@ -1125,11 +1129,11 @@ export interface LocationLink {
1125
1129
  /**
1126
1130
  * @internal
1127
1131
  */
1128
- export declare function isLocationLink(thing: any): thing is LocationLink;
1132
+ export declare function isLocationLink(thing: unknown): thing is LocationLink;
1129
1133
  /**
1130
1134
  * @internal
1131
1135
  */
1132
- export declare function isLocation(thing: any): thing is Location;
1136
+ export declare function isLocation(thing: unknown): thing is Location;
1133
1137
  export type Definition = Location | Location[] | LocationLink[];
1134
1138
  /**
1135
1139
  * The definition provider interface defines the contract between extensions and
@@ -1259,7 +1263,7 @@ export interface TextEdit {
1259
1263
  /** @internal */
1260
1264
  export declare abstract class TextEdit {
1261
1265
  static asEditOperation(edit: TextEdit): ISingleEditOperation;
1262
- static isTextEdit(thing: any): thing is TextEdit;
1266
+ static isTextEdit(thing: unknown): thing is TextEdit;
1263
1267
  }
1264
1268
  /**
1265
1269
  * Interface used to format a model
@@ -1575,7 +1579,7 @@ export interface Command {
1575
1579
  id: string;
1576
1580
  title: string;
1577
1581
  tooltip?: string;
1578
- arguments?: any[];
1582
+ arguments?: unknown[];
1579
1583
  }
1580
1584
  /**
1581
1585
  * @internal
@@ -1584,7 +1588,7 @@ export declare namespace Command {
1584
1588
  /**
1585
1589
  * @internal
1586
1590
  */
1587
- function is(obj: any): obj is Command;
1591
+ function is(obj: unknown): obj is Command;
1588
1592
  }
1589
1593
  /**
1590
1594
  * @internal
@@ -1645,7 +1649,7 @@ export interface CommentWidget {
1645
1649
  commentThread: CommentThread;
1646
1650
  comment?: Comment;
1647
1651
  input: string;
1648
- onDidChangeInput: Event<string>;
1652
+ readonly onDidChangeInput: Event<string>;
1649
1653
  }
1650
1654
  /**
1651
1655
  * @internal
@@ -1672,19 +1676,19 @@ export interface CommentThread<T = IRange> {
1672
1676
  label: string | undefined;
1673
1677
  contextValue: string | undefined;
1674
1678
  comments: ReadonlyArray<Comment> | undefined;
1675
- onDidChangeComments: Event<readonly Comment[] | undefined>;
1679
+ readonly onDidChangeComments: Event<readonly Comment[] | undefined>;
1676
1680
  collapsibleState?: CommentThreadCollapsibleState;
1677
1681
  initialCollapsibleState?: CommentThreadCollapsibleState;
1678
- onDidChangeInitialCollapsibleState: Event<CommentThreadCollapsibleState | undefined>;
1682
+ readonly onDidChangeInitialCollapsibleState: Event<CommentThreadCollapsibleState | undefined>;
1679
1683
  state?: CommentThreadState;
1680
1684
  applicability?: CommentThreadApplicability;
1681
1685
  canReply: boolean | CommentAuthorInformation;
1682
1686
  input?: CommentInput;
1683
- onDidChangeInput: Event<CommentInput | undefined>;
1684
- onDidChangeLabel: Event<string | undefined>;
1685
- onDidChangeCollapsibleState: Event<CommentThreadCollapsibleState | undefined>;
1686
- onDidChangeState: Event<CommentThreadState | undefined>;
1687
- onDidChangeCanReply: Event<boolean>;
1687
+ readonly onDidChangeInput: Event<CommentInput | undefined>;
1688
+ readonly onDidChangeLabel: Event<string | undefined>;
1689
+ readonly onDidChangeCollapsibleState: Event<CommentThreadCollapsibleState | undefined>;
1690
+ readonly onDidChangeState: Event<CommentThreadState | undefined>;
1691
+ readonly onDidChangeCanReply: Event<boolean>;
1688
1692
  isDisposed: boolean;
1689
1693
  isTemplate: boolean;
1690
1694
  }
@@ -1851,12 +1855,13 @@ export interface SemanticTokensEdits {
1851
1855
  readonly edits: SemanticTokensEdit[];
1852
1856
  }
1853
1857
  export interface DocumentSemanticTokensProvider {
1854
- onDidChange?: Event<void>;
1858
+ readonly onDidChange?: Event<void>;
1855
1859
  getLegend(): SemanticTokensLegend;
1856
1860
  provideDocumentSemanticTokens(model: model.ITextModel, lastResultId: string | null, token: CancellationToken): ProviderResult<SemanticTokens | SemanticTokensEdits>;
1857
1861
  releaseDocumentSemanticTokens(resultId: string | undefined): void;
1858
1862
  }
1859
1863
  export interface DocumentRangeSemanticTokensProvider {
1864
+ readonly onDidChange?: Event<void>;
1860
1865
  getLegend(): SemanticTokensLegend;
1861
1866
  provideDocumentRangeSemanticTokens(model: model.ITextModel, range: Range, token: CancellationToken): ProviderResult<SemanticTokens>;
1862
1867
  }
@@ -1892,7 +1897,7 @@ export interface ITokenizationRegistry<TSupport> {
1892
1897
  * - a tokenization support is registered, unregistered or changed.
1893
1898
  * - the color map is changed.
1894
1899
  */
1895
- onDidChange: Event<ITokenizationSupportChangedEvent>;
1900
+ readonly onDidChange: Event<ITokenizationSupportChangedEvent>;
1896
1901
  /**
1897
1902
  * Fire a change event for a language.
1898
1903
  * This is useful for languages that embed other languages.