@codingame/monaco-vscode-api 20.1.1 → 20.2.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (763) hide show
  1. package/package.json +8 -8
  2. package/services.js +3 -3
  3. package/vscode/src/vs/base/browser/browser.d.ts +2 -0
  4. package/vscode/src/vs/base/browser/canIUse.d.ts +3 -0
  5. package/vscode/src/vs/base/browser/contextmenu.d.ts +14 -0
  6. package/vscode/src/vs/base/browser/cssValue.d.ts +8 -0
  7. package/vscode/src/vs/base/browser/dnd.d.ts +21 -0
  8. package/vscode/src/vs/base/browser/dom.d.ts +178 -0
  9. package/vscode/src/vs/base/browser/domSanitize.d.ts +26 -0
  10. package/vscode/src/vs/base/browser/domStylesheets.d.ts +3 -0
  11. package/vscode/src/vs/base/browser/dompurify/dompurify.d.ts +19 -0
  12. package/vscode/src/vs/base/browser/fonts.d.ts +8 -0
  13. package/vscode/src/vs/base/browser/iframe.d.ts +10 -0
  14. package/vscode/src/vs/base/browser/keyboardEvent.d.ts +3 -0
  15. package/vscode/src/vs/base/browser/markdownRenderer.d.ts +18 -0
  16. package/vscode/src/vs/base/browser/performance.d.ts +22 -0
  17. package/vscode/src/vs/base/browser/pixelRatio.d.ts +7 -0
  18. package/vscode/src/vs/base/browser/ui/actionbar/actionbar.css +29 -2
  19. package/vscode/src/vs/base/browser/ui/actionbar/actionbar.d.ts +5 -0
  20. package/vscode/src/vs/base/browser/ui/aria/aria.css +6 -1
  21. package/vscode/src/vs/base/browser/ui/aria/aria.d.ts +6 -0
  22. package/vscode/src/vs/base/browser/ui/button/button.css +36 -1
  23. package/vscode/src/vs/base/browser/ui/button/button.d.ts +9 -0
  24. package/vscode/src/vs/base/browser/ui/codicons/codicon/codicon-modifiers.css +11 -0
  25. package/vscode/src/vs/base/browser/ui/codicons/codicon/codicon.css +8 -0
  26. package/vscode/src/vs/base/browser/ui/contextview/contextview.css +6 -0
  27. package/vscode/src/vs/base/browser/ui/contextview/contextview.d.ts +14 -0
  28. package/vscode/src/vs/base/browser/ui/countBadge/countBadge.css +6 -0
  29. package/vscode/src/vs/base/browser/ui/dnd/dnd.css +12 -0
  30. package/vscode/src/vs/base/browser/ui/dropdown/dropdown.css +11 -0
  31. package/vscode/src/vs/base/browser/ui/findinput/findInput.css +20 -0
  32. package/vscode/src/vs/base/browser/ui/highlightedlabel/highlightedLabel.d.ts +27 -0
  33. package/vscode/src/vs/base/browser/ui/hover/hover.d.ts +258 -0
  34. package/vscode/src/vs/base/browser/ui/hover/hoverDelegate.d.ts +37 -0
  35. package/vscode/src/vs/base/browser/ui/hover/hoverDelegate2.d.ts +10 -0
  36. package/vscode/src/vs/base/browser/ui/hover/hoverWidget.css +54 -0
  37. package/vscode/src/vs/base/browser/ui/iconLabel/iconlabel.css +34 -6
  38. package/vscode/src/vs/base/browser/ui/inputbox/inputBox.css +27 -2
  39. package/vscode/src/vs/base/browser/ui/keybindingLabel/keybindingLabel.css +10 -0
  40. package/vscode/src/vs/base/browser/ui/keybindingLabel/keybindingLabel.d.ts +3 -0
  41. package/vscode/src/vs/base/browser/ui/list/list.css +21 -0
  42. package/vscode/src/vs/base/browser/ui/list/list.d.ts +9 -0
  43. package/vscode/src/vs/base/browser/ui/list/listView.d.ts +17 -3
  44. package/vscode/src/vs/base/browser/ui/list/listWidget.d.ts +26 -0
  45. package/vscode/src/vs/base/browser/ui/list/rangeMap.d.ts +29 -0
  46. package/vscode/src/vs/base/browser/ui/list/rowCache.d.ts +12 -0
  47. package/vscode/src/vs/base/browser/ui/mouseCursor/mouseCursor.css +5 -0
  48. package/vscode/src/vs/base/browser/ui/progressbar/progressbar.css +29 -1
  49. package/vscode/src/vs/base/browser/ui/progressbar/progressbar.d.ts +33 -0
  50. package/vscode/src/vs/base/browser/ui/sash/sash.css +31 -0
  51. package/vscode/src/vs/base/browser/ui/sash/sash.d.ts +125 -0
  52. package/vscode/src/vs/base/browser/ui/scrollbar/abstractScrollbar.d.ts +6 -0
  53. package/vscode/src/vs/base/browser/ui/scrollbar/media/scrollbars.css +16 -0
  54. package/vscode/src/vs/base/browser/ui/scrollbar/scrollableElement.d.ts +22 -0
  55. package/vscode/src/vs/base/browser/ui/scrollbar/scrollableElementOptions.d.ts +98 -0
  56. package/vscode/src/vs/base/browser/ui/scrollbar/scrollbarArrow.d.ts +3 -0
  57. package/vscode/src/vs/base/browser/ui/scrollbar/scrollbarState.d.ts +43 -0
  58. package/vscode/src/vs/base/browser/ui/selectBox/selectBox.css +11 -0
  59. package/vscode/src/vs/base/browser/ui/selectBox/selectBoxCustom.css +29 -1
  60. package/vscode/src/vs/base/browser/ui/severityIcon/media/severityIcon.css +7 -0
  61. package/vscode/src/vs/base/browser/ui/splitview/splitview.css +16 -0
  62. package/vscode/src/vs/base/browser/ui/splitview/splitview.d.ts +289 -0
  63. package/vscode/src/vs/base/browser/ui/table/table.css +12 -0
  64. package/vscode/src/vs/base/browser/ui/toggle/toggle.css +14 -0
  65. package/vscode/src/vs/base/browser/ui/toolbar/toolbar.css +6 -0
  66. package/vscode/src/vs/base/browser/ui/toolbar/toolbar.d.ts +12 -0
  67. package/vscode/src/vs/base/browser/ui/tree/abstractTree.d.ts +12 -0
  68. package/vscode/src/vs/base/browser/ui/tree/asyncDataTree.d.ts +19 -0
  69. package/vscode/src/vs/base/browser/ui/tree/indexTreeModel.d.ts +18 -0
  70. package/vscode/src/vs/base/browser/ui/tree/media/tree.css +38 -3
  71. package/vscode/src/vs/base/browser/ui/tree/objectTree.d.ts +12 -0
  72. package/vscode/src/vs/base/browser/ui/tree/tree.d.ts +43 -0
  73. package/vscode/src/vs/base/common/actions.d.ts +3 -0
  74. package/vscode/src/vs/base/common/arrays.d.ts +193 -1
  75. package/vscode/src/vs/base/common/arraysFind.d.ts +46 -0
  76. package/vscode/src/vs/base/common/assert.d.ts +28 -0
  77. package/vscode/src/vs/base/common/async.d.ts +361 -0
  78. package/vscode/src/vs/base/common/buffer.d.ts +31 -0
  79. package/vscode/src/vs/base/common/cache.d.ts +11 -0
  80. package/vscode/src/vs/base/common/cancellation.d.ts +11 -0
  81. package/vscode/src/vs/base/common/charCode.d.ts +319 -186
  82. package/vscode/src/vs/base/common/codicons.d.ts +14 -0
  83. package/vscode/src/vs/base/common/codiconsUtil.d.ts +3 -0
  84. package/vscode/src/vs/base/common/collections.d.ts +19 -0
  85. package/vscode/src/vs/base/common/color.d.ts +115 -0
  86. package/vscode/src/vs/base/common/comparers.d.ts +10 -0
  87. package/vscode/src/vs/base/common/dataTransfer.d.ts +38 -0
  88. package/vscode/src/vs/base/common/date.d.ts +15 -0
  89. package/vscode/src/vs/base/common/diff/diff.d.ts +90 -0
  90. package/vscode/src/vs/base/common/diff/diffChange.d.ts +29 -0
  91. package/vscode/src/vs/base/common/equals.d.ts +26 -0
  92. package/vscode/src/vs/base/common/errorMessage.d.ts +6 -0
  93. package/vscode/src/vs/base/common/errors.d.ts +26 -0
  94. package/vscode/src/vs/base/common/event.d.ts +356 -0
  95. package/vscode/src/vs/base/common/extpath.d.ts +34 -0
  96. package/vscode/src/vs/base/common/filters.d.ts +22 -0
  97. package/vscode/src/vs/base/common/functional.d.ts +3 -0
  98. package/vscode/src/vs/base/common/glob.d.ts +39 -0
  99. package/vscode/src/vs/base/common/hash.d.ts +12 -0
  100. package/vscode/src/vs/base/common/history.d.ts +7 -0
  101. package/vscode/src/vs/base/common/hotReload.d.ts +6 -0
  102. package/vscode/src/vs/base/common/htmlContent.d.ts +3 -0
  103. package/vscode/src/vs/base/common/iconLabels.d.ts +9 -0
  104. package/vscode/src/vs/base/common/ime.d.ts +6 -0
  105. package/vscode/src/vs/base/common/iterator.d.ts +7 -0
  106. package/vscode/src/vs/base/common/json.d.ts +98 -0
  107. package/vscode/src/vs/base/common/jsonSchema.d.ts +5 -0
  108. package/vscode/src/vs/base/common/keyCodes.d.ts +95 -18
  109. package/vscode/src/vs/base/common/keybindingLabels.d.ts +13 -0
  110. package/vscode/src/vs/base/common/keybindings.d.ts +54 -0
  111. package/vscode/src/vs/base/common/labels.d.ts +41 -0
  112. package/vscode/src/vs/base/common/lazy.d.ts +12 -0
  113. package/vscode/src/vs/base/common/lifecycle.d.ts +126 -0
  114. package/vscode/src/vs/base/common/map.d.ts +33 -0
  115. package/vscode/src/vs/base/common/marked/marked.d.ts +137 -0
  116. package/vscode/src/vs/base/common/naturalLanguage/korean.d.ts +8 -0
  117. package/vscode/src/vs/base/common/network.d.ts +85 -0
  118. package/vscode/src/vs/base/common/numbers.d.ts +45 -0
  119. package/vscode/src/vs/base/common/oauth.d.ts +369 -0
  120. package/vscode/src/vs/base/common/objects.d.ts +19 -0
  121. package/vscode/src/vs/base/common/observableInternal/base.d.ts +128 -0
  122. package/vscode/src/vs/base/common/observableInternal/changeTracker.d.ts +11 -0
  123. package/vscode/src/vs/base/common/observableInternal/debugName.d.ts +16 -0
  124. package/vscode/src/vs/base/common/observableInternal/experimental/reducer.d.ts +21 -0
  125. package/vscode/src/vs/base/common/observableInternal/experimental/utils.d.ts +11 -0
  126. package/vscode/src/vs/base/common/observableInternal/observables/baseObservable.d.ts +15 -0
  127. package/vscode/src/vs/base/common/observableInternal/observables/constObservable.d.ts +3 -0
  128. package/vscode/src/vs/base/common/observableInternal/observables/derived.d.ts +25 -0
  129. package/vscode/src/vs/base/common/observableInternal/observables/derivedImpl.d.ts +15 -0
  130. package/vscode/src/vs/base/common/observableInternal/observables/lazyObservableValue.d.ts +3 -0
  131. package/vscode/src/vs/base/common/observableInternal/observables/observableSignal.d.ts +5 -0
  132. package/vscode/src/vs/base/common/observableInternal/observables/observableValue.d.ts +10 -0
  133. package/vscode/src/vs/base/common/observableInternal/reactions/autorun.d.ts +27 -0
  134. package/vscode/src/vs/base/common/observableInternal/reactions/autorunImpl.d.ts +7 -0
  135. package/vscode/src/vs/base/common/observableInternal/transaction.d.ts +9 -0
  136. package/vscode/src/vs/base/common/observableInternal/utils/promise.d.ts +47 -1
  137. package/vscode/src/vs/base/common/observableInternal/utils/utils.d.ts +15 -0
  138. package/vscode/src/vs/base/common/observableInternal/utils/utilsCancellation.d.ts +3 -0
  139. package/vscode/src/vs/base/common/performance.d.ts +3 -0
  140. package/vscode/src/vs/base/common/platform.d.ts +37 -0
  141. package/vscode/src/vs/base/common/prefixTree.d.ts +23 -0
  142. package/vscode/src/vs/base/common/process.d.ts +23 -0
  143. package/vscode/src/vs/base/common/range.d.ts +4 -0
  144. package/vscode/src/vs/base/common/resources.d.ts +115 -0
  145. package/vscode/src/vs/base/common/scrollable.d.ts +17 -0
  146. package/vscode/src/vs/base/common/severity.d.ts +4 -0
  147. package/vscode/src/vs/base/common/skipList.d.ts +4 -0
  148. package/vscode/src/vs/base/common/sseParser.d.ts +51 -0
  149. package/vscode/src/vs/base/common/stream.d.ts +148 -0
  150. package/vscode/src/vs/base/common/strings.d.ts +134 -0
  151. package/vscode/src/vs/base/common/symbols.d.ts +3 -0
  152. package/vscode/src/vs/base/common/ternarySearchTree.d.ts +6 -0
  153. package/vscode/src/vs/base/common/types.d.ts +135 -0
  154. package/vscode/src/vs/base/common/uint.d.ts +24 -3
  155. package/vscode/src/vs/base/common/uri.d.ts +131 -0
  156. package/vscode/src/vs/base/common/worker/webWorker.d.ts +6 -0
  157. package/vscode/src/vs/base/parts/sandbox/common/electronTypes.d.ts +179 -0
  158. package/vscode/src/vs/base/parts/sandbox/common/sandboxTypes.d.ts +39 -0
  159. package/vscode/src/vs/base/parts/storage/common/storage.d.ts +11 -0
  160. package/vscode/src/vs/editor/browser/config/editorConfiguration.d.ts +20 -0
  161. package/vscode/src/vs/editor/browser/config/fontMeasurements.d.ts +15 -0
  162. package/vscode/src/vs/editor/browser/config/migrateOptions.d.ts +3 -0
  163. package/vscode/src/vs/editor/browser/config/tabFocus.d.ts +6 -0
  164. package/vscode/src/vs/editor/browser/controller/dragScrolling.d.ts +9 -0
  165. package/vscode/src/vs/editor/browser/controller/editContext/clipboardUtils.d.ts +5 -0
  166. package/vscode/src/vs/editor/browser/controller/editContext/native/editContextFactory.d.ts +3 -0
  167. package/vscode/src/vs/editor/browser/controller/editContext/native/nativeEditContext.css +11 -0
  168. package/vscode/src/vs/editor/browser/controller/editContext/native/screenReaderUtils.d.ts +18 -0
  169. package/vscode/src/vs/editor/browser/controller/editContext/screenReaderUtils.d.ts +5 -0
  170. package/vscode/src/vs/editor/browser/controller/editContext/textArea/textAreaEditContext.css +19 -0
  171. package/vscode/src/vs/editor/browser/controller/editContext/textArea/textAreaEditContext.d.ts +7 -0
  172. package/vscode/src/vs/editor/browser/controller/editContext/textArea/textAreaEditContextInput.d.ts +8 -0
  173. package/vscode/src/vs/editor/browser/controller/editContext/textArea/textAreaEditContextState.d.ts +13 -1
  174. package/vscode/src/vs/editor/browser/controller/mouseHandler.d.ts +9 -0
  175. package/vscode/src/vs/editor/browser/controller/mouseTarget.d.ts +6 -0
  176. package/vscode/src/vs/editor/browser/controller/pointerHandler.d.ts +3 -0
  177. package/vscode/src/vs/editor/browser/coreCommands.d.ts +24 -0
  178. package/vscode/src/vs/editor/browser/editorBrowser.d.ts +439 -0
  179. package/vscode/src/vs/editor/browser/editorDom.d.ts +39 -0
  180. package/vscode/src/vs/editor/browser/editorExtensions.d.ts +51 -0
  181. package/vscode/src/vs/editor/browser/gpu/atlas/atlas.d.ts +65 -0
  182. package/vscode/src/vs/editor/browser/gpu/atlas/textureAtlas.d.ts +23 -1
  183. package/vscode/src/vs/editor/browser/gpu/atlas/textureAtlasPage.d.ts +4 -0
  184. package/vscode/src/vs/editor/browser/gpu/atlas/textureAtlasShelfAllocator.d.ts +5 -0
  185. package/vscode/src/vs/editor/browser/gpu/atlas/textureAtlasSlabAllocator.d.ts +10 -0
  186. package/vscode/src/vs/editor/browser/gpu/bufferDirtyTracker.d.ts +20 -0
  187. package/vscode/src/vs/editor/browser/gpu/contentSegmenter.d.ts +6 -0
  188. package/vscode/src/vs/editor/browser/gpu/css/decorationCssRuleExtractor.d.ts +3 -0
  189. package/vscode/src/vs/editor/browser/gpu/css/decorationStyleCache.d.ts +12 -0
  190. package/vscode/src/vs/editor/browser/gpu/css/media/decorationCssRuleExtractor.css +5 -0
  191. package/vscode/src/vs/editor/browser/gpu/gpu.d.ts +3 -0
  192. package/vscode/src/vs/editor/browser/gpu/objectCollectionBuffer.d.ts +33 -0
  193. package/vscode/src/vs/editor/browser/gpu/raster/glyphRasterizer.d.ts +4 -0
  194. package/vscode/src/vs/editor/browser/gpu/raster/raster.d.ts +47 -0
  195. package/vscode/src/vs/editor/browser/gpu/renderStrategy/fullFileRenderStrategy.d.ts +20 -0
  196. package/vscode/src/vs/editor/browser/gpu/renderStrategy/viewportRenderStrategy.d.ts +10 -0
  197. package/vscode/src/vs/editor/browser/gpu/taskQueue.d.ts +33 -0
  198. package/vscode/src/vs/editor/browser/gpu/viewGpuContext.d.ts +22 -0
  199. package/vscode/src/vs/editor/browser/observableCodeEditor.d.ts +6 -0
  200. package/vscode/src/vs/editor/browser/services/codeEditorService.service.d.ts +3 -0
  201. package/vscode/src/vs/editor/browser/services/hoverService/hover.css +32 -0
  202. package/vscode/src/vs/editor/browser/services/hoverService/hoverWidget.d.ts +4 -0
  203. package/vscode/src/vs/editor/browser/services/inlineCompletionsService.service.d.ts +16 -0
  204. package/vscode/src/vs/editor/browser/view/renderingContext.d.ts +17 -1
  205. package/vscode/src/vs/editor/browser/view/viewController.d.ts +3 -0
  206. package/vscode/src/vs/editor/browser/view/viewLayer.d.ts +19 -0
  207. package/vscode/src/vs/editor/browser/viewParts/blockDecorations/blockDecorations.css +6 -0
  208. package/vscode/src/vs/editor/browser/viewParts/contentWidgets/contentWidgets.d.ts +5 -0
  209. package/vscode/src/vs/editor/browser/viewParts/currentLineHighlight/currentLineHighlight.css +7 -0
  210. package/vscode/src/vs/editor/browser/viewParts/currentLineHighlight/currentLineHighlight.d.ts +9 -0
  211. package/vscode/src/vs/editor/browser/viewParts/decorations/decorations.css +9 -0
  212. package/vscode/src/vs/editor/browser/viewParts/editorScrollbar/editorScrollbar.d.ts +4 -0
  213. package/vscode/src/vs/editor/browser/viewParts/glyphMargin/glyphMargin.css +16 -0
  214. package/vscode/src/vs/editor/browser/viewParts/glyphMargin/glyphMargin.d.ts +20 -0
  215. package/vscode/src/vs/editor/browser/viewParts/gpuMark/gpuMark.css +6 -0
  216. package/vscode/src/vs/editor/browser/viewParts/gpuMark/gpuMark.d.ts +3 -0
  217. package/vscode/src/vs/editor/browser/viewParts/indentGuides/indentGuides.css +5 -0
  218. package/vscode/src/vs/editor/browser/viewParts/indentGuides/indentGuides.d.ts +4 -0
  219. package/vscode/src/vs/editor/browser/viewParts/lineNumbers/lineNumbers.css +9 -0
  220. package/vscode/src/vs/editor/browser/viewParts/lineNumbers/lineNumbers.d.ts +3 -0
  221. package/vscode/src/vs/editor/browser/viewParts/linesDecorations/linesDecorations.css +9 -0
  222. package/vscode/src/vs/editor/browser/viewParts/margin/margin.css +5 -0
  223. package/vscode/src/vs/editor/browser/viewParts/margin/margin.d.ts +5 -0
  224. package/vscode/src/vs/editor/browser/viewParts/marginDecorations/marginDecorations.css +9 -0
  225. package/vscode/src/vs/editor/browser/viewParts/minimap/minimap.css +10 -0
  226. package/vscode/src/vs/editor/browser/viewParts/minimap/minimap.d.ts +31 -0
  227. package/vscode/src/vs/editor/browser/viewParts/minimap/minimapCharRendererFactory.d.ts +16 -0
  228. package/vscode/src/vs/editor/browser/viewParts/minimap/minimapCharSheet.d.ts +3 -3
  229. package/vscode/src/vs/editor/browser/viewParts/minimap/minimapPreBaked.d.ts +5 -0
  230. package/vscode/src/vs/editor/browser/viewParts/overlayWidgets/overlayWidgets.css +4 -0
  231. package/vscode/src/vs/editor/browser/viewParts/overviewRuler/overviewRuler.d.ts +4 -0
  232. package/vscode/src/vs/editor/browser/viewParts/rulers/rulers.css +5 -0
  233. package/vscode/src/vs/editor/browser/viewParts/rulers/rulers.d.ts +4 -0
  234. package/vscode/src/vs/editor/browser/viewParts/rulersGpu/rulersGpu.d.ts +4 -0
  235. package/vscode/src/vs/editor/browser/viewParts/scrollDecoration/scrollDecoration.css +5 -0
  236. package/vscode/src/vs/editor/browser/viewParts/selections/selections.css +14 -0
  237. package/vscode/src/vs/editor/browser/viewParts/selections/selections.d.ts +3 -0
  238. package/vscode/src/vs/editor/browser/viewParts/viewCursors/viewCursor.d.ts +4 -0
  239. package/vscode/src/vs/editor/browser/viewParts/viewCursors/viewCursors.css +19 -0
  240. package/vscode/src/vs/editor/browser/viewParts/viewCursors/viewCursors.d.ts +4 -0
  241. package/vscode/src/vs/editor/browser/viewParts/viewLines/rangeUtil.d.ts +5 -0
  242. package/vscode/src/vs/editor/browser/viewParts/viewLines/viewLines.css +34 -0
  243. package/vscode/src/vs/editor/browser/viewParts/viewLines/viewLines.d.ts +19 -0
  244. package/vscode/src/vs/editor/browser/viewParts/viewLinesGpu/viewLinesGpu.d.ts +3 -0
  245. package/vscode/src/vs/editor/browser/viewParts/viewZones/viewZones.d.ts +5 -0
  246. package/vscode/src/vs/editor/browser/viewParts/whitespace/whitespace.css +5 -0
  247. package/vscode/src/vs/editor/browser/viewParts/whitespace/whitespace.d.ts +4 -0
  248. package/vscode/src/vs/editor/browser/widget/codeEditor/codeEditorContributions.d.ts +12 -0
  249. package/vscode/src/vs/editor/browser/widget/codeEditor/codeEditorWidget.d.ts +32 -0
  250. package/vscode/src/vs/editor/browser/widget/codeEditor/editor.css +27 -0
  251. package/vscode/src/vs/editor/browser/widget/diffEditor/commands.d.ts +4 -0
  252. package/vscode/src/vs/editor/browser/widget/diffEditor/components/accessibleDiffViewer.css +20 -0
  253. package/vscode/src/vs/editor/browser/widget/diffEditor/components/accessibleDiffViewer.d.ts +6 -0
  254. package/vscode/src/vs/editor/browser/widget/diffEditor/components/diffEditorSash.d.ts +1 -0
  255. package/vscode/src/vs/editor/browser/widget/diffEditor/components/diffEditorViewZones/diffEditorViewZones.d.ts +7 -0
  256. package/vscode/src/vs/editor/browser/widget/diffEditor/diffEditorWidget.d.ts +10 -0
  257. package/vscode/src/vs/editor/browser/widget/diffEditor/features/gutterFeature.d.ts +3 -0
  258. package/vscode/src/vs/editor/browser/widget/diffEditor/features/hideUnchangedRegionsFeature.d.ts +3 -0
  259. package/vscode/src/vs/editor/browser/widget/diffEditor/features/revertButtonsFeature.d.ts +6 -0
  260. package/vscode/src/vs/editor/browser/widget/diffEditor/style.css +92 -1
  261. package/vscode/src/vs/editor/browser/widget/markdownRenderer/browser/markdownRenderer.d.ts +4 -0
  262. package/vscode/src/vs/editor/browser/widget/markdownRenderer/browser/renderedMarkdown.css +6 -0
  263. package/vscode/src/vs/editor/common/commands/surroundSelectionCommand.d.ts +3 -0
  264. package/vscode/src/vs/editor/common/commands/trimTrailingWhitespaceCommand.d.ts +3 -0
  265. package/vscode/src/vs/editor/common/config/editorConfiguration.d.ts +41 -0
  266. package/vscode/src/vs/editor/common/config/editorOptions.d.ts +862 -0
  267. package/vscode/src/vs/editor/common/config/fontInfo.d.ts +34 -0
  268. package/vscode/src/vs/editor/common/coordinatesConverter.d.ts +7 -0
  269. package/vscode/src/vs/editor/common/core/characterClassifier.d.ts +9 -0
  270. package/vscode/src/vs/editor/common/core/cursorColumns.d.ts +44 -0
  271. package/vscode/src/vs/editor/common/core/editOperation.d.ts +14 -0
  272. package/vscode/src/vs/editor/common/core/editorColorRegistry.d.ts +3 -0
  273. package/vscode/src/vs/editor/common/core/edits/edit.d.ts +55 -1
  274. package/vscode/src/vs/editor/common/core/edits/lengthEdit.d.ts +6 -0
  275. package/vscode/src/vs/editor/common/core/edits/lineEdit.d.ts +9 -1
  276. package/vscode/src/vs/editor/common/core/edits/stringEdit.d.ts +37 -0
  277. package/vscode/src/vs/editor/common/core/edits/textEdit.d.ts +3 -0
  278. package/vscode/src/vs/editor/common/core/misc/rgba.d.ts +16 -0
  279. package/vscode/src/vs/editor/common/core/position.d.ts +67 -0
  280. package/vscode/src/vs/editor/common/core/range.d.ts +140 -0
  281. package/vscode/src/vs/editor/common/core/ranges/columnRange.d.ts +8 -1
  282. package/vscode/src/vs/editor/common/core/ranges/lineRange.d.ts +57 -1
  283. package/vscode/src/vs/editor/common/core/ranges/offsetRange.d.ts +30 -0
  284. package/vscode/src/vs/editor/common/core/ranges/rangeSingleLine.d.ts +7 -1
  285. package/vscode/src/vs/editor/common/core/selection.d.ts +83 -0
  286. package/vscode/src/vs/editor/common/core/stringBuilder.d.ts +6 -0
  287. package/vscode/src/vs/editor/common/core/text/positionToOffsetImpl.d.ts +1 -0
  288. package/vscode/src/vs/editor/common/core/text/textLength.d.ts +3 -0
  289. package/vscode/src/vs/editor/common/core/wordHelper.d.ts +12 -0
  290. package/vscode/src/vs/editor/common/cursor/cursorAtomicMoveOperations.d.ts +15 -0
  291. package/vscode/src/vs/editor/common/cursor/cursorCollection.d.ts +7 -0
  292. package/vscode/src/vs/editor/common/cursor/cursorMoveCommands.d.ts +15 -0
  293. package/vscode/src/vs/editor/common/cursor/cursorMoveOperations.d.ts +7 -0
  294. package/vscode/src/vs/editor/common/cursor/cursorTypeEditOperations.d.ts +14 -0
  295. package/vscode/src/vs/editor/common/cursor/cursorTypeOperations.d.ts +3 -0
  296. package/vscode/src/vs/editor/common/cursor/oneCursor.d.ts +3 -0
  297. package/vscode/src/vs/editor/common/cursorCommon.d.ts +25 -0
  298. package/vscode/src/vs/editor/common/cursorEvents.d.ts +63 -0
  299. package/vscode/src/vs/editor/common/diff/defaultLinesDiffComputer/algorithms/diffAlgorithm.d.ts +23 -1
  300. package/vscode/src/vs/editor/common/diff/defaultLinesDiffComputer/algorithms/dynamicProgrammingDiffing.d.ts +4 -0
  301. package/vscode/src/vs/editor/common/diff/defaultLinesDiffComputer/algorithms/myersDiffAlgorithm.d.ts +3 -0
  302. package/vscode/src/vs/editor/common/diff/defaultLinesDiffComputer/linesSliceCharSequence.d.ts +4 -0
  303. package/vscode/src/vs/editor/common/diff/legacyLinesDiffComputer.d.ts +16 -0
  304. package/vscode/src/vs/editor/common/diff/linesDiffComputer.d.ts +24 -1
  305. package/vscode/src/vs/editor/common/diff/rangeMapping.d.ts +41 -0
  306. package/vscode/src/vs/editor/common/editorCommon.d.ts +218 -0
  307. package/vscode/src/vs/editor/common/editorContextKeys.d.ts +14 -0
  308. package/vscode/src/vs/editor/common/editorFeatures.d.ts +7 -0
  309. package/vscode/src/vs/editor/common/encodedTokenAttributes.d.ts +38 -0
  310. package/vscode/src/vs/editor/common/inputMode.d.ts +3 -0
  311. package/vscode/src/vs/editor/common/languageSelector.d.ts +6 -0
  312. package/vscode/src/vs/editor/common/languages/autoIndent.d.ts +16 -0
  313. package/vscode/src/vs/editor/common/languages/defaultDocumentColorsComputer.d.ts +3 -0
  314. package/vscode/src/vs/editor/common/languages/language.d.ts +3 -0
  315. package/vscode/src/vs/editor/common/languages/language.service.d.ts +77 -0
  316. package/vscode/src/vs/editor/common/languages/languageConfiguration.d.ts +195 -0
  317. package/vscode/src/vs/editor/common/languages/languageConfigurationRegistry.d.ts +9 -0
  318. package/vscode/src/vs/editor/common/languages/languageConfigurationRegistry.service.d.ts +3 -0
  319. package/vscode/src/vs/editor/common/languages/linkComputer.d.ts +5 -0
  320. package/vscode/src/vs/editor/common/languages/supports/electricCharacter.d.ts +4 -0
  321. package/vscode/src/vs/editor/common/languages/supports/indentationLineProcessor.d.ts +27 -0
  322. package/vscode/src/vs/editor/common/languages/supports/languageBracketsConfiguration.d.ts +22 -1
  323. package/vscode/src/vs/editor/common/languages/supports/richEditBrackets.d.ts +80 -0
  324. package/vscode/src/vs/editor/common/languages/supports/tokenization.d.ts +12 -0
  325. package/vscode/src/vs/editor/common/languages.d.ts +955 -1
  326. package/vscode/src/vs/editor/common/model/bracketPairsTextModelPart/bracketPairsImpl.d.ts +4 -0
  327. package/vscode/src/vs/editor/common/model/bracketPairsTextModelPart/bracketPairsTree/ast.d.ts +55 -0
  328. package/vscode/src/vs/editor/common/model/bracketPairsTextModelPart/bracketPairsTree/beforeEditPositionMapper.d.ts +10 -0
  329. package/vscode/src/vs/editor/common/model/bracketPairsTextModelPart/bracketPairsTree/bracketPairsTree.d.ts +3 -0
  330. package/vscode/src/vs/editor/common/model/bracketPairsTextModelPart/bracketPairsTree/brackets.d.ts +3 -0
  331. package/vscode/src/vs/editor/common/model/bracketPairsTextModelPart/bracketPairsTree/concat23Trees.d.ts +6 -0
  332. package/vscode/src/vs/editor/common/model/bracketPairsTextModelPart/bracketPairsTree/length.d.ts +16 -0
  333. package/vscode/src/vs/editor/common/model/bracketPairsTextModelPart/bracketPairsTree/nodeReader.d.ts +8 -0
  334. package/vscode/src/vs/editor/common/model/bracketPairsTextModelPart/bracketPairsTree/parser.d.ts +3 -0
  335. package/vscode/src/vs/editor/common/model/bracketPairsTextModelPart/bracketPairsTree/smallImmutableSet.d.ts +7 -0
  336. package/vscode/src/vs/editor/common/model/bracketPairsTextModelPart/bracketPairsTree/tokenizer.d.ts +23 -1
  337. package/vscode/src/vs/editor/common/model/decorationProvider.d.ts +13 -0
  338. package/vscode/src/vs/editor/common/model/fixedArray.d.ts +4 -0
  339. package/vscode/src/vs/editor/common/model/indentationGuesser.d.ts +9 -0
  340. package/vscode/src/vs/editor/common/model/intervalTree.d.ts +13 -0
  341. package/vscode/src/vs/editor/common/model/mirrorTextModel.d.ts +18 -0
  342. package/vscode/src/vs/editor/common/model/pieceTreeTextBuffer/pieceTreeBase.d.ts +29 -0
  343. package/vscode/src/vs/editor/common/model/pieceTreeTextBuffer/pieceTreeTextBuffer.d.ts +7 -0
  344. package/vscode/src/vs/editor/common/model/prefixSumComputer.d.ts +34 -0
  345. package/vscode/src/vs/editor/common/model/textModel.d.ts +17 -0
  346. package/vscode/src/vs/editor/common/model/textModelSearch.d.ts +4 -0
  347. package/vscode/src/vs/editor/common/model/textModelTokens.d.ts +19 -0
  348. package/vscode/src/vs/editor/common/model/tokens/abstractSyntaxTokenBackend.d.ts +8 -0
  349. package/vscode/src/vs/editor/common/model/tokens/tokenizationTextModelPart.d.ts +3 -0
  350. package/vscode/src/vs/editor/common/model/tokens/tokenizerSyntaxTokenBackend.d.ts +1 -0
  351. package/vscode/src/vs/editor/common/model/tokens/treeSitter/tokenStore.d.ts +22 -0
  352. package/vscode/src/vs/editor/common/model/tokens/treeSitter/treeSitterTokenizationImpl.d.ts +10 -0
  353. package/vscode/src/vs/editor/common/model/tokens/treeSitter/treeSitterTree.d.ts +4 -1
  354. package/vscode/src/vs/editor/common/model/utils.d.ts +5 -0
  355. package/vscode/src/vs/editor/common/model.d.ts +440 -0
  356. package/vscode/src/vs/editor/common/modelLineProjectionData.d.ts +52 -1
  357. package/vscode/src/vs/editor/common/services/editorWebWorker.d.ts +19 -0
  358. package/vscode/src/vs/editor/common/services/findSectionHeaders.d.ts +19 -0
  359. package/vscode/src/vs/editor/common/services/languagesAssociations.d.ts +23 -0
  360. package/vscode/src/vs/editor/common/services/modelService.d.ts +6 -0
  361. package/vscode/src/vs/editor/common/services/resolverService.service.d.ts +10 -0
  362. package/vscode/src/vs/editor/common/services/textModelSync/textModelSync.impl.d.ts +3 -0
  363. package/vscode/src/vs/editor/common/services/textResourceConfiguration.d.ts +11 -0
  364. package/vscode/src/vs/editor/common/services/textResourceConfiguration.service.d.ts +35 -0
  365. package/vscode/src/vs/editor/common/services/treeSitter/treeSitterLibraryService.service.d.ts +10 -0
  366. package/vscode/src/vs/editor/common/standalone/standaloneEnums.d.ts +377 -18
  367. package/vscode/src/vs/editor/common/textModelBracketPairs.d.ts +56 -3
  368. package/vscode/src/vs/editor/common/textModelEditSource.d.ts +4 -0
  369. package/vscode/src/vs/editor/common/textModelEvents.d.ts +210 -0
  370. package/vscode/src/vs/editor/common/textModelGuides.d.ts +28 -1
  371. package/vscode/src/vs/editor/common/tokenizationTextModelPart.d.ts +53 -0
  372. package/vscode/src/vs/editor/common/tokens/contiguousMultilineTokens.d.ts +24 -0
  373. package/vscode/src/vs/editor/common/tokens/contiguousTokensStore.d.ts +3 -0
  374. package/vscode/src/vs/editor/common/tokens/lineTokens.d.ts +20 -0
  375. package/vscode/src/vs/editor/common/tokens/sparseMultilineTokens.d.ts +9 -0
  376. package/vscode/src/vs/editor/common/tokens/sparseTokensStore.d.ts +3 -0
  377. package/vscode/src/vs/editor/common/tokens/tokenWithTextArray.d.ts +11 -0
  378. package/vscode/src/vs/editor/common/viewEvents.d.ts +85 -2
  379. package/vscode/src/vs/editor/common/viewLayout/lineDecorations.d.ts +3 -0
  380. package/vscode/src/vs/editor/common/viewLayout/lineHeights.d.ts +26 -0
  381. package/vscode/src/vs/editor/common/viewLayout/linePart.d.ts +8 -1
  382. package/vscode/src/vs/editor/common/viewLayout/linesLayout.d.ts +130 -0
  383. package/vscode/src/vs/editor/common/viewLayout/viewLineRenderer.d.ts +10 -0
  384. package/vscode/src/vs/editor/common/viewLayout/viewLinesViewportData.d.ts +21 -0
  385. package/vscode/src/vs/editor/common/viewModel/modelLineProjection.d.ts +3 -0
  386. package/vscode/src/vs/editor/common/viewModel/overviewZoneManager.d.ts +6 -0
  387. package/vscode/src/vs/editor/common/viewModel/viewModelDecorations.d.ts +12 -0
  388. package/vscode/src/vs/editor/common/viewModel/viewModelImpl.d.ts +15 -0
  389. package/vscode/src/vs/editor/common/viewModel/viewModelLines.d.ts +10 -0
  390. package/vscode/src/vs/editor/common/viewModel.d.ts +104 -1
  391. package/vscode/src/vs/editor/contrib/anchorSelect/browser/anchorSelect.css +5 -0
  392. package/vscode/src/vs/editor/contrib/bracketMatching/browser/bracketMatching.css +5 -0
  393. package/vscode/src/vs/editor/contrib/codeAction/browser/codeAction.d.ts +1 -1
  394. package/vscode/src/vs/editor/contrib/codeAction/browser/lightBulbWidget.css +16 -0
  395. package/vscode/src/vs/editor/contrib/codelens/browser/codelensWidget.css +15 -1
  396. package/vscode/src/vs/editor/contrib/colorPicker/browser/colorPicker.css +40 -0
  397. package/vscode/src/vs/editor/contrib/colorPicker/browser/hoverColorPicker/hoverColorPickerParticipant.d.ts +4 -0
  398. package/vscode/src/vs/editor/contrib/comment/browser/lineCommentCommand.d.ts +26 -0
  399. package/vscode/src/vs/editor/contrib/dnd/browser/dnd.css +9 -3
  400. package/vscode/src/vs/editor/contrib/dropOrPasteInto/browser/copyPasteController.d.ts +12 -0
  401. package/vscode/src/vs/editor/contrib/dropOrPasteInto/browser/dropIntoEditorController.d.ts +5 -0
  402. package/vscode/src/vs/editor/contrib/dropOrPasteInto/browser/edit.d.ts +4 -0
  403. package/vscode/src/vs/editor/contrib/dropOrPasteInto/browser/postEditWidget.css +8 -0
  404. package/vscode/src/vs/editor/contrib/editorState/browser/editorState.d.ts +8 -0
  405. package/vscode/src/vs/editor/contrib/find/browser/findDecorations.d.ts +1 -0
  406. package/vscode/src/vs/editor/contrib/find/browser/findOptionsWidget.css +5 -0
  407. package/vscode/src/vs/editor/contrib/find/browser/findWidget.css +62 -1
  408. package/vscode/src/vs/editor/contrib/find/browser/findWidget.d.ts +4 -0
  409. package/vscode/src/vs/editor/contrib/find/browser/replacePattern.d.ts +18 -0
  410. package/vscode/src/vs/editor/contrib/folding/browser/folding.css +10 -1
  411. package/vscode/src/vs/editor/contrib/folding/browser/folding.d.ts +6 -0
  412. package/vscode/src/vs/editor/contrib/folding/browser/foldingModel.d.ts +67 -0
  413. package/vscode/src/vs/editor/contrib/folding/browser/foldingRanges.d.ts +13 -0
  414. package/vscode/src/vs/editor/contrib/gotoError/browser/media/gotoErrorWidget.css +20 -0
  415. package/vscode/src/vs/editor/contrib/gotoSymbol/browser/link/clickLinkGesture.d.ts +9 -0
  416. package/vscode/src/vs/editor/contrib/gotoSymbol/browser/link/goToDefinitionAtPosition.css +5 -0
  417. package/vscode/src/vs/editor/contrib/gotoSymbol/browser/peek/referencesWidget.css +22 -0
  418. package/vscode/src/vs/editor/contrib/gotoSymbol/browser/peek/referencesWidget.d.ts +3 -0
  419. package/vscode/src/vs/editor/contrib/hover/browser/contentHoverWidgetWrapper.d.ts +3 -0
  420. package/vscode/src/vs/editor/contrib/hover/browser/hover.css +19 -0
  421. package/vscode/src/vs/editor/contrib/hover/browser/hoverOperation.d.ts +16 -0
  422. package/vscode/src/vs/editor/contrib/hover/browser/hoverTypes.d.ts +54 -0
  423. package/vscode/src/vs/editor/contrib/inPlaceReplace/browser/inPlaceReplace.css +6 -0
  424. package/vscode/src/vs/editor/contrib/inlineCompletions/browser/controller/inlineCompletionsController.d.ts +3 -0
  425. package/vscode/src/vs/editor/contrib/inlineCompletions/browser/hintsWidget/inlineCompletionsHintsWidget.css +12 -0
  426. package/vscode/src/vs/editor/contrib/inlineCompletions/browser/model/computeGhostText.d.ts +12 -0
  427. package/vscode/src/vs/editor/contrib/inlineCompletions/browser/model/ghostText.d.ts +11 -1
  428. package/vscode/src/vs/editor/contrib/inlineCompletions/browser/model/graph.d.ts +3 -0
  429. package/vscode/src/vs/editor/contrib/inlineCompletions/browser/model/inlineCompletionsSource.d.ts +3 -0
  430. package/vscode/src/vs/editor/contrib/inlineCompletions/browser/model/inlineSuggestionItem.d.ts +12 -0
  431. package/vscode/src/vs/editor/contrib/inlineCompletions/browser/model/provideInlineCompletions.d.ts +13 -0
  432. package/vscode/src/vs/editor/contrib/inlineCompletions/browser/model/typingSpeed.d.ts +13 -0
  433. package/vscode/src/vs/editor/contrib/inlineCompletions/browser/structuredLogger.d.ts +3 -0
  434. package/vscode/src/vs/editor/contrib/inlineCompletions/browser/view/ghostText/ghostTextView.css +16 -0
  435. package/vscode/src/vs/editor/contrib/inlineCompletions/browser/view/inlineEdits/inlineEditsViews/inlineEditsWordReplacementView.d.ts +4 -1
  436. package/vscode/src/vs/editor/contrib/inlineCompletions/browser/view/inlineEdits/view.css +58 -7
  437. package/vscode/src/vs/editor/contrib/inlineProgress/browser/inlineProgress.d.ts +1 -0
  438. package/vscode/src/vs/editor/contrib/inlineProgress/browser/inlineProgressWidget.css +9 -0
  439. package/vscode/src/vs/editor/contrib/insertFinalNewLine/browser/insertFinalNewLineCommand.d.ts +4 -0
  440. package/vscode/src/vs/editor/contrib/linesOperations/browser/linesOperations.d.ts +3 -0
  441. package/vscode/src/vs/editor/contrib/linesOperations/browser/moveLinesCommand.d.ts +9 -0
  442. package/vscode/src/vs/editor/contrib/linkedEditing/browser/linkedEditing.css +7 -0
  443. package/vscode/src/vs/editor/contrib/links/browser/links.css +5 -0
  444. package/vscode/src/vs/editor/contrib/message/browser/messageController.css +18 -0
  445. package/vscode/src/vs/editor/contrib/middleScroll/browser/middleScroll.css +7 -0
  446. package/vscode/src/vs/editor/contrib/parameterHints/browser/parameterHints.css +29 -0
  447. package/vscode/src/vs/editor/contrib/peekView/browser/media/peekViewWidget.css +18 -0
  448. package/vscode/src/vs/editor/contrib/placeholderText/browser/placeholderText.css +6 -0
  449. package/vscode/src/vs/editor/contrib/placeholderText/browser/placeholderTextContribution.d.ts +3 -0
  450. package/vscode/src/vs/editor/contrib/rename/browser/renameWidget.css +16 -2
  451. package/vscode/src/vs/editor/contrib/rename/browser/renameWidget.d.ts +27 -0
  452. package/vscode/src/vs/editor/contrib/snippet/browser/snippetParser.d.ts +4 -0
  453. package/vscode/src/vs/editor/contrib/snippet/browser/snippetSession.css +6 -0
  454. package/vscode/src/vs/editor/contrib/snippet/browser/snippetSession.d.ts +4 -0
  455. package/vscode/src/vs/editor/contrib/stickyScroll/browser/stickyScroll.css +15 -0
  456. package/vscode/src/vs/editor/contrib/stickyScroll/browser/stickyScrollElement.d.ts +22 -1
  457. package/vscode/src/vs/editor/contrib/stickyScroll/browser/stickyScrollModelProvider.d.ts +5 -0
  458. package/vscode/src/vs/editor/contrib/stickyScroll/browser/stickyScrollProvider.d.ts +42 -0
  459. package/vscode/src/vs/editor/contrib/stickyScroll/browser/stickyScrollWidget.d.ts +19 -0
  460. package/vscode/src/vs/editor/contrib/suggest/browser/completionModel.d.ts +3 -0
  461. package/vscode/src/vs/editor/contrib/suggest/browser/media/suggest.css +118 -0
  462. package/vscode/src/vs/editor/contrib/suggest/browser/suggest.d.ts +7 -0
  463. package/vscode/src/vs/editor/contrib/suggest/browser/suggestModel.d.ts +4 -0
  464. package/vscode/src/vs/editor/contrib/suggest/browser/suggestWidgetRenderer.d.ts +8 -0
  465. package/vscode/src/vs/editor/contrib/symbolIcons/browser/symbolIcons.css +5 -0
  466. package/vscode/src/vs/editor/contrib/unicodeHighlighter/browser/bannerController.css +19 -0
  467. package/vscode/src/vs/editor/contrib/unicodeHighlighter/browser/unicodeHighlighter.css +5 -0
  468. package/vscode/src/vs/editor/contrib/wordHighlighter/browser/highlightDecorations.css +8 -0
  469. package/vscode/src/vs/editor/contrib/zoneWidget/browser/zoneWidget.css +6 -0
  470. package/vscode/src/vs/editor/contrib/zoneWidget/browser/zoneWidget.d.ts +1 -0
  471. package/vscode/src/vs/editor/editor.worker.start.d.ts +5 -0
  472. package/vscode/src/vs/editor/standalone/browser/iPadShowKeyboard/iPadShowKeyboard.css +6 -0
  473. package/vscode/src/vs/editor/standalone/browser/quickInput/standaloneQuickInput.css +14 -0
  474. package/vscode/src/vs/editor/standalone/browser/standaloneCodeEditor.d.ts +73 -0
  475. package/vscode/src/vs/editor/standalone/browser/standaloneServices.d.ts +10 -0
  476. package/vscode/src/vs/editor/standalone/browser/standaloneTreeSitterLibraryService.d.ts +10 -0
  477. package/vscode/src/vs/nls.d.ts +96 -0
  478. package/vscode/src/vs/platform/accessibility/browser/accessibleView.d.ts +31 -0
  479. package/vscode/src/vs/platform/accessibility/browser/accessibleView.service.d.ts +4 -0
  480. package/vscode/src/vs/platform/accessibility/browser/accessibleViewRegistry.d.ts +3 -0
  481. package/vscode/src/vs/platform/accessibility/common/accessibility.d.ts +3 -0
  482. package/vscode/src/vs/platform/accessibilitySignal/browser/accessibilitySignalService.d.ts +16 -0
  483. package/vscode/src/vs/platform/accessibilitySignal/browser/accessibilitySignalService.service.d.ts +7 -0
  484. package/vscode/src/vs/platform/action/common/action.d.ts +32 -0
  485. package/vscode/src/vs/platform/actionWidget/browser/actionWidget.css +36 -0
  486. package/vscode/src/vs/platform/actions/browser/floatingMenu.d.ts +4 -0
  487. package/vscode/src/vs/platform/actions/browser/menuEntryActionViewItem.css +14 -0
  488. package/vscode/src/vs/platform/actions/browser/menuEntryActionViewItem.d.ts +3 -0
  489. package/vscode/src/vs/platform/actions/browser/toolbar.d.ts +67 -0
  490. package/vscode/src/vs/platform/actions/common/actions.d.ts +40 -0
  491. package/vscode/src/vs/platform/actions/common/actions.service.d.ts +20 -0
  492. package/vscode/src/vs/platform/clipboard/common/clipboardService.service.d.ts +33 -0
  493. package/vscode/src/vs/platform/commands/common/commands.d.ts +7 -0
  494. package/vscode/src/vs/platform/configuration/common/configuration.d.ts +9 -0
  495. package/vscode/src/vs/platform/configuration/common/configuration.service.d.ts +26 -0
  496. package/vscode/src/vs/platform/configuration/common/configurationRegistry.d.ts +126 -0
  497. package/vscode/src/vs/platform/contextkey/common/contextkey.d.ts +30 -0
  498. package/vscode/src/vs/platform/contextkey/common/scanner.d.ts +21 -1
  499. package/vscode/src/vs/platform/contextview/browser/contextView.d.ts +18 -0
  500. package/vscode/src/vs/platform/dialogs/common/dialogs.service.d.ts +87 -0
  501. package/vscode/src/vs/platform/dnd/browser/dnd.d.ts +22 -0
  502. package/vscode/src/vs/platform/editor/common/editor.d.ts +231 -0
  503. package/vscode/src/vs/platform/environment/common/argv.d.ts +3 -0
  504. package/vscode/src/vs/platform/environment/common/environment.d.ts +5 -0
  505. package/vscode/src/vs/platform/environment/common/environment.service.d.ts +16 -0
  506. package/vscode/src/vs/platform/extensionManagement/common/extensionManagement.d.ts +25 -22
  507. package/vscode/src/vs/platform/extensionManagement/common/extensionManagement.service.d.ts +4 -0
  508. package/vscode/src/vs/platform/extensionManagement/common/extensionsProfileScannerService.d.ts +6 -0
  509. package/vscode/src/vs/platform/extensionManagement/common/extensionsScannerService.d.ts +7 -0
  510. package/vscode/src/vs/platform/extensionManagement/common/implicitActivationEvents.d.ts +8 -0
  511. package/vscode/src/vs/platform/extensionResourceLoader/common/extensionResourceLoader.service.d.ts +15 -0
  512. package/vscode/src/vs/platform/extensions/common/extensions.d.ts +944 -0
  513. package/vscode/src/vs/platform/files/browser/webFileSystemAccess.d.ts +25 -0
  514. package/vscode/src/vs/platform/files/common/files.d.ts +408 -0
  515. package/vscode/src/vs/platform/files/common/files.service.d.ts +168 -0
  516. package/vscode/src/vs/platform/files/common/watcher.d.ts +83 -0
  517. package/vscode/src/vs/platform/imageResize/common/imageResizeService.service.d.ts +3 -0
  518. package/vscode/src/vs/platform/instantiation/common/extensions.d.ts +8 -0
  519. package/vscode/src/vs/platform/instantiation/common/graph.d.ts +4 -0
  520. package/vscode/src/vs/platform/instantiation/common/instantiation.d.ts +31 -0
  521. package/vscode/src/vs/platform/jsonschemas/common/jsonContributionRegistry.d.ts +18 -0
  522. package/vscode/src/vs/platform/keybinding/common/abstractKeybindingService.d.ts +7 -0
  523. package/vscode/src/vs/platform/keybinding/common/keybinding.service.d.ts +27 -0
  524. package/vscode/src/vs/platform/keybinding/common/keybindingResolver.d.ts +24 -1
  525. package/vscode/src/vs/platform/keybinding/common/keybindingsRegistry.d.ts +3 -0
  526. package/vscode/src/vs/platform/keybinding/common/usLayoutResolvedKeybinding.d.ts +6 -0
  527. package/vscode/src/vs/platform/label/common/label.service.d.ts +12 -0
  528. package/vscode/src/vs/platform/layout/browser/layoutService.d.ts +6 -0
  529. package/vscode/src/vs/platform/layout/browser/layoutService.service.d.ts +51 -0
  530. package/vscode/src/vs/platform/list/browser/listService.service.d.ts +3 -0
  531. package/vscode/src/vs/platform/log/common/log.d.ts +30 -0
  532. package/vscode/src/vs/platform/log/common/log.service.d.ts +52 -0
  533. package/vscode/src/vs/platform/markers/common/markerService.d.ts +3 -0
  534. package/vscode/src/vs/platform/markers/common/markers.d.ts +6 -0
  535. package/vscode/src/vs/platform/notification/common/notification.d.ts +185 -0
  536. package/vscode/src/vs/platform/notification/common/notification.service.d.ts +63 -0
  537. package/vscode/src/vs/platform/observable/common/platformObservableUtils.d.ts +2 -0
  538. package/vscode/src/vs/platform/observable/common/wrapInHotClass.d.ts +10 -0
  539. package/vscode/src/vs/platform/observable/common/wrapInReloadableClass.d.ts +10 -0
  540. package/vscode/src/vs/platform/opener/browser/link.css +7 -0
  541. package/vscode/src/vs/platform/opener/common/opener.d.ts +33 -0
  542. package/vscode/src/vs/platform/opener/common/opener.service.d.ts +27 -0
  543. package/vscode/src/vs/platform/product/common/product.d.ts +5 -0
  544. package/vscode/src/vs/platform/product/common/product.js +1 -1
  545. package/vscode/src/vs/platform/progress/common/progress.d.ts +15 -0
  546. package/vscode/src/vs/platform/progress/common/progress.service.d.ts +6 -0
  547. package/vscode/src/vs/platform/quickinput/browser/media/quickInput.css +115 -0
  548. package/vscode/src/vs/platform/quickinput/browser/quickInput.d.ts +4 -0
  549. package/vscode/src/vs/platform/quickinput/browser/quickInputList.d.ts +14 -0
  550. package/vscode/src/vs/platform/quickinput/browser/tree/quickInputDelegate.d.ts +3 -0
  551. package/vscode/src/vs/platform/quickinput/browser/tree/quickInputTreeAccessibilityProvider.d.ts +3 -0
  552. package/vscode/src/vs/platform/quickinput/browser/tree/quickInputTreeController.d.ts +3 -0
  553. package/vscode/src/vs/platform/quickinput/browser/tree/quickTree.d.ts +4 -0
  554. package/vscode/src/vs/platform/quickinput/common/quickAccess.d.ts +121 -0
  555. package/vscode/src/vs/platform/quickinput/common/quickInput.d.ts +574 -0
  556. package/vscode/src/vs/platform/quickinput/common/quickInput.service.d.ts +63 -0
  557. package/vscode/src/vs/platform/registry/common/platform.d.ts +14 -0
  558. package/vscode/src/vs/platform/remote/common/remoteAuthorityResolver.service.d.ts +7 -0
  559. package/vscode/src/vs/platform/remote/common/remoteExtensionsScanner.service.d.ts +3 -0
  560. package/vscode/src/vs/platform/remote/common/remoteSocketFactoryService.service.d.ts +6 -0
  561. package/vscode/src/vs/platform/storage/common/storage.d.ts +45 -0
  562. package/vscode/src/vs/platform/storage/common/storage.service.d.ts +120 -0
  563. package/vscode/src/vs/platform/telemetry/common/telemetry.service.d.ts +13 -0
  564. package/vscode/src/vs/platform/telemetry/common/telemetryUtils.d.ts +40 -0
  565. package/vscode/src/vs/platform/terminal/common/terminal.d.ts +342 -1
  566. package/vscode/src/vs/platform/terminal/common/terminal.service.d.ts +28 -0
  567. package/vscode/src/vs/platform/terminal/common/terminalProcess.d.ts +4 -0
  568. package/vscode/src/vs/platform/theme/common/colorUtils.d.ts +37 -0
  569. package/vscode/src/vs/platform/theme/common/iconRegistry.d.ts +32 -0
  570. package/vscode/src/vs/platform/theme/common/theme.d.ts +3 -0
  571. package/vscode/src/vs/platform/theme/common/themeService.d.ts +30 -0
  572. package/vscode/src/vs/platform/tunnel/common/tunnel.d.ts +13 -1
  573. package/vscode/src/vs/platform/undoRedo/common/undoRedo.d.ts +32 -0
  574. package/vscode/src/vs/platform/undoRedo/common/undoRedo.service.d.ts +32 -0
  575. package/vscode/src/vs/platform/update/common/update.d.ts +17 -0
  576. package/vscode/src/vs/platform/uriIdentity/common/uriIdentity.service.d.ts +26 -0
  577. package/vscode/src/vs/platform/url/common/url.d.ts +6 -0
  578. package/vscode/src/vs/platform/url/common/url.service.d.ts +5 -0
  579. package/vscode/src/vs/platform/userDataProfile/common/userDataProfile.d.ts +3 -0
  580. package/vscode/src/vs/platform/userDataProfile/common/userDataProfileStorageService.service.d.ts +16 -0
  581. package/vscode/src/vs/platform/userDataSync/common/userDataSync.d.ts +12 -12
  582. package/vscode/src/vs/platform/userDataSync/common/userDataSync.service.d.ts +4 -0
  583. package/vscode/src/vs/platform/webContentExtractor/common/webContentExtractor.d.ts +5 -0
  584. package/vscode/src/vs/platform/window/common/window.d.ts +39 -0
  585. package/vscode/src/vs/platform/workspace/common/workspace.d.ts +71 -1
  586. package/vscode/src/vs/platform/workspace/common/workspace.service.d.ts +36 -0
  587. package/vscode/src/vs/workbench/api/common/extHost.api.impl.d.ts +3 -0
  588. package/vscode/src/vs/workbench/api/common/extHost.protocol.d.ts +93 -3
  589. package/vscode/src/vs/workbench/api/common/extHostAuthentication.d.ts +9 -0
  590. package/vscode/src/vs/workbench/api/common/extHostConsoleForwarder.d.ts +9 -0
  591. package/vscode/src/vs/workbench/api/common/extHostExtensionActivator.d.ts +13 -0
  592. package/vscode/src/vs/workbench/api/common/extHostExtensionService.d.ts +7 -0
  593. package/vscode/src/vs/workbench/api/common/extHostLanguageModelTools.d.ts +2 -0
  594. package/vscode/src/vs/workbench/api/common/extHostMcp.d.ts +1 -0
  595. package/vscode/src/vs/workbench/api/common/extHostNotebook.d.ts +11 -0
  596. package/vscode/src/vs/workbench/api/common/extHostTerminalService.d.ts +7 -0
  597. package/vscode/src/vs/workbench/api/common/extHostTestItem.d.ts +3 -0
  598. package/vscode/src/vs/workbench/api/common/extHostTesting.d.ts +96 -2
  599. package/vscode/src/vs/workbench/api/common/extHostTestingPrivateApi.d.ts +5 -0
  600. package/vscode/src/vs/workbench/api/common/extHostTunnelService.d.ts +8 -0
  601. package/vscode/src/vs/workbench/api/common/extHostTypes.d.ts +123 -0
  602. package/vscode/src/vs/workbench/api/common/extHostWorkspace.d.ts +3 -0
  603. package/vscode/src/vs/workbench/browser/actions/media/actions.css +12 -0
  604. package/vscode/src/vs/workbench/browser/parts/editor/editor.d.ts +69 -0
  605. package/vscode/src/vs/workbench/common/composite.d.ts +24 -0
  606. package/vscode/src/vs/workbench/common/contributions.d.ts +62 -0
  607. package/vscode/src/vs/workbench/common/editor/diffEditorInput.d.ts +4 -0
  608. package/vscode/src/vs/workbench/common/editor/diffEditorModel.d.ts +4 -0
  609. package/vscode/src/vs/workbench/common/editor/editorInput.d.ts +181 -0
  610. package/vscode/src/vs/workbench/common/editor/editorModel.d.ts +17 -0
  611. package/vscode/src/vs/workbench/common/editor/sideBySideEditorInput.d.ts +3 -0
  612. package/vscode/src/vs/workbench/common/editor/textDiffEditorModel.d.ts +4 -0
  613. package/vscode/src/vs/workbench/common/editor/textEditorModel.d.ts +15 -0
  614. package/vscode/src/vs/workbench/common/editor.d.ts +617 -0
  615. package/vscode/src/vs/workbench/common/panecomposite.d.ts +3 -0
  616. package/vscode/src/vs/workbench/common/views.d.ts +74 -0
  617. package/vscode/src/vs/workbench/contrib/accessibility/browser/accessibilityConfiguration.d.ts +4 -0
  618. package/vscode/src/vs/workbench/contrib/chat/browser/chat.service.d.ts +3 -0
  619. package/vscode/src/vs/workbench/contrib/chat/browser/chatContentParts/chatContentParts.d.ts +11 -0
  620. package/vscode/src/vs/workbench/contrib/chat/browser/chatContentParts/chatMarkdownAnchorService.service.d.ts +3 -0
  621. package/vscode/src/vs/workbench/contrib/chat/browser/chatContextPickService.service.d.ts +5 -0
  622. package/vscode/src/vs/workbench/contrib/chat/common/chatAgents.service.d.ts +9 -0
  623. package/vscode/src/vs/workbench/contrib/chat/common/chatContextKeys.d.ts +3 -0
  624. package/vscode/src/vs/workbench/contrib/chat/common/chatEditingService.d.ts +58 -0
  625. package/vscode/src/vs/workbench/contrib/chat/common/chatEditingService.service.d.ts +6 -0
  626. package/vscode/src/vs/workbench/contrib/chat/common/chatService.d.ts +19 -0
  627. package/vscode/src/vs/workbench/contrib/chat/common/chatService.service.d.ts +3 -0
  628. package/vscode/src/vs/workbench/contrib/chat/common/chatSlashCommands.service.d.ts +3 -0
  629. package/vscode/src/vs/workbench/contrib/chat/common/chatVariableEntries.d.ts +18 -0
  630. package/vscode/src/vs/workbench/contrib/chat/common/constants.d.ts +3 -0
  631. package/vscode/src/vs/workbench/contrib/chat/common/languageModelToolsService.d.ts +11 -0
  632. package/vscode/src/vs/workbench/contrib/chat/common/languageModels.d.ts +12 -0
  633. package/vscode/src/vs/workbench/contrib/chat/common/languageModels.service.d.ts +5 -0
  634. package/vscode/src/vs/workbench/contrib/chat/common/promptSyntax/contentProviders/types.d.ts +34 -0
  635. package/vscode/src/vs/workbench/contrib/chat/common/promptSyntax/parsers/types.d.ts +64 -0
  636. package/vscode/src/vs/workbench/contrib/chat/common/promptSyntax/service/promptsService.d.ts +78 -0
  637. package/vscode/src/vs/workbench/contrib/chat/common/promptSyntax/service/promptsService.service.d.ts +40 -0
  638. package/vscode/src/vs/workbench/contrib/chat/common/tools/promptTsxTypes.d.ts +10 -0
  639. package/vscode/src/vs/workbench/contrib/codeEditor/browser/dictation/editorDictation.css +9 -0
  640. package/vscode/src/vs/workbench/contrib/codeEditor/browser/editorLineNumberMenu.d.ts +6 -0
  641. package/vscode/src/vs/workbench/contrib/codeEditor/browser/largeFileOptimizations.d.ts +3 -0
  642. package/vscode/src/vs/workbench/contrib/codeEditor/browser/menuPreventer.d.ts +3 -0
  643. package/vscode/src/vs/workbench/contrib/codeEditor/browser/saveParticipants.d.ts +3 -0
  644. package/vscode/src/vs/workbench/contrib/codeEditor/browser/toggleWordWrap.d.ts +9 -0
  645. package/vscode/src/vs/workbench/contrib/comments/common/commentContextKeys.d.ts +33 -0
  646. package/vscode/src/vs/workbench/contrib/debug/common/abstractDebugAdapter.d.ts +26 -0
  647. package/vscode/src/vs/workbench/contrib/debug/common/debug.d.ts +161 -0
  648. package/vscode/src/vs/workbench/contrib/debug/common/debug.service.d.ts +130 -0
  649. package/vscode/src/vs/workbench/contrib/debug/common/debugUtils.d.ts +11 -0
  650. package/vscode/src/vs/workbench/contrib/debug/common/debugVisualizers.service.d.ts +18 -0
  651. package/vscode/src/vs/workbench/contrib/externalUriOpener/common/externalUriOpenerService.service.d.ts +7 -0
  652. package/vscode/src/vs/workbench/contrib/files/browser/files.service.d.ts +4 -0
  653. package/vscode/src/vs/workbench/contrib/logs/common/defaultLogLevels.service.d.ts +3 -0
  654. package/vscode/src/vs/workbench/contrib/mcp/common/mcpRegistryTypes.d.ts +14 -0
  655. package/vscode/src/vs/workbench/contrib/mcp/common/mcpRegistryTypes.service.d.ts +9 -0
  656. package/vscode/src/vs/workbench/contrib/mcp/common/mcpTypes.d.ts +124 -0
  657. package/vscode/src/vs/workbench/contrib/mcp/common/mcpTypes.service.d.ts +15 -0
  658. package/vscode/src/vs/workbench/contrib/mcp/common/modelContextProtocol.d.ts +787 -0
  659. package/vscode/src/vs/workbench/contrib/notebook/common/notebookCommon.d.ts +71 -0
  660. package/vscode/src/vs/workbench/contrib/notebook/common/notebookEditorModelResolverService.d.ts +19 -0
  661. package/vscode/src/vs/workbench/contrib/notebook/common/notebookKernelService.service.d.ts +13 -0
  662. package/vscode/src/vs/workbench/contrib/notebook/common/notebookRendererMessagingService.d.ts +7 -0
  663. package/vscode/src/vs/workbench/contrib/notebook/common/notebookRendererMessagingService.service.d.ts +12 -0
  664. package/vscode/src/vs/workbench/contrib/notebook/common/notebookService.service.d.ts +2 -0
  665. package/vscode/src/vs/workbench/contrib/scm/browser/quickDiffModel.service.d.ts +6 -0
  666. package/vscode/src/vs/workbench/contrib/scm/common/scm.service.d.ts +3 -0
  667. package/vscode/src/vs/workbench/contrib/search/browser/replace.service.d.ts +14 -0
  668. package/vscode/src/vs/workbench/contrib/speech/common/speechService.service.d.ts +14 -0
  669. package/vscode/src/vs/workbench/contrib/tags/common/workspaceTags.service.d.ts +4 -0
  670. package/vscode/src/vs/workbench/contrib/tasks/common/taskService.service.d.ts +8 -0
  671. package/vscode/src/vs/workbench/contrib/tasks/common/tasks.d.ts +224 -0
  672. package/vscode/src/vs/workbench/contrib/terminal/browser/terminal.d.ts +508 -13
  673. package/vscode/src/vs/workbench/contrib/terminal/browser/terminal.service.d.ts +92 -0
  674. package/vscode/src/vs/workbench/contrib/terminal/browser/xterm-private.d.ts +4 -0
  675. package/vscode/src/vs/workbench/contrib/terminal/common/environmentVariable.service.d.ts +21 -0
  676. package/vscode/src/vs/workbench/contrib/terminal/common/terminal.service.d.ts +3 -0
  677. package/vscode/src/vs/workbench/contrib/testing/common/testCoverageService.service.d.ts +16 -0
  678. package/vscode/src/vs/workbench/contrib/testing/common/testExplorerFilterState.service.d.ts +31 -0
  679. package/vscode/src/vs/workbench/contrib/testing/common/testId.d.ts +79 -0
  680. package/vscode/src/vs/workbench/contrib/testing/common/testItemCollection.d.ts +49 -0
  681. package/vscode/src/vs/workbench/contrib/testing/common/testProfileService.service.d.ts +36 -0
  682. package/vscode/src/vs/workbench/contrib/testing/common/testResultService.service.d.ts +24 -0
  683. package/vscode/src/vs/workbench/contrib/testing/common/testResultStorage.service.d.ts +6 -0
  684. package/vscode/src/vs/workbench/contrib/testing/common/testService.service.d.ts +62 -0
  685. package/vscode/src/vs/workbench/contrib/testing/common/testTypes.d.ts +150 -0
  686. package/vscode/src/vs/workbench/contrib/testing/common/testingContinuousRunService.service.d.ts +36 -0
  687. package/vscode/src/vs/workbench/contrib/testing/common/testingDecorations.service.d.ts +19 -0
  688. package/vscode/src/vs/workbench/contrib/testing/common/testingPeekOpener.d.ts +2 -0
  689. package/vscode/src/vs/workbench/contrib/testing/common/testingPeekOpener.service.d.ts +18 -0
  690. package/vscode/src/vs/workbench/contrib/timeline/common/timeline.d.ts +29 -0
  691. package/vscode/src/vs/workbench/contrib/webview/browser/webview.service.d.ts +18 -0
  692. package/vscode/src/vs/workbench/contrib/webview/common/webview.d.ts +19 -0
  693. package/vscode/src/vs/workbench/contrib/webviewPanel/browser/webviewWorkbenchService.service.d.ts +31 -0
  694. package/vscode/src/vs/workbench/contrib/webviewView/browser/webviewViewService.service.d.ts +10 -0
  695. package/vscode/src/vs/workbench/services/activity/common/activity.service.d.ts +21 -0
  696. package/vscode/src/vs/workbench/services/authentication/browser/authenticationAccessService.service.d.ts +8 -0
  697. package/vscode/src/vs/workbench/services/authentication/browser/authenticationMcpAccessService.service.d.ts +8 -0
  698. package/vscode/src/vs/workbench/services/authentication/browser/authenticationMcpService.service.d.ts +41 -0
  699. package/vscode/src/vs/workbench/services/authentication/browser/authenticationMcpUsageService.service.d.ts +24 -0
  700. package/vscode/src/vs/workbench/services/authentication/browser/authenticationUsageService.service.d.ts +24 -0
  701. package/vscode/src/vs/workbench/services/authentication/common/authentication.d.ts +107 -0
  702. package/vscode/src/vs/workbench/services/authentication/common/authentication.service.d.ts +124 -0
  703. package/vscode/src/vs/workbench/services/authentication/common/authenticationQuery.d.ts +267 -0
  704. package/vscode/src/vs/workbench/services/authentication/common/authenticationQuery.service.d.ts +33 -0
  705. package/vscode/src/vs/workbench/services/authentication/common/dynamicAuthenticationProviderStorage.d.ts +3 -0
  706. package/vscode/src/vs/workbench/services/authentication/common/dynamicAuthenticationProviderStorage.service.d.ts +39 -0
  707. package/vscode/src/vs/workbench/services/configurationResolver/common/configurationResolver.service.d.ts +20 -0
  708. package/vscode/src/vs/workbench/services/configurationResolver/common/configurationResolverExpression.d.ts +29 -0
  709. package/vscode/src/vs/workbench/services/editor/common/editorGroupsService.d.ts +511 -0
  710. package/vscode/src/vs/workbench/services/editor/common/editorGroupsService.service.d.ts +49 -0
  711. package/vscode/src/vs/workbench/services/editor/common/editorPaneService.service.d.ts +6 -0
  712. package/vscode/src/vs/workbench/services/editor/common/editorResolverService.d.ts +12 -0
  713. package/vscode/src/vs/workbench/services/editor/common/editorResolverService.service.d.ts +41 -0
  714. package/vscode/src/vs/workbench/services/editor/common/editorService.d.ts +45 -0
  715. package/vscode/src/vs/workbench/services/editor/common/editorService.service.d.ts +174 -0
  716. package/vscode/src/vs/workbench/services/environment/common/environmentService.service.d.ts +4 -0
  717. package/vscode/src/vs/workbench/services/extensionManagement/common/extensionManagement.service.d.ts +44 -0
  718. package/vscode/src/vs/workbench/services/extensions/common/extensionHostProtocol.d.ts +3 -0
  719. package/vscode/src/vs/workbench/services/extensions/common/extensionHostProxy.d.ts +3 -0
  720. package/vscode/src/vs/workbench/services/extensions/common/extensions.d.ts +64 -0
  721. package/vscode/src/vs/workbench/services/extensions/common/extensions.service.d.ts +94 -0
  722. package/vscode/src/vs/workbench/services/extensions/common/extensionsRegistry.d.ts +4 -0
  723. package/vscode/src/vs/workbench/services/extensions/common/proxyIdentifier.d.ts +18 -0
  724. package/vscode/src/vs/workbench/services/files/common/elevatedFileService.service.d.ts +7 -0
  725. package/vscode/src/vs/workbench/services/history/common/history.d.ts +28 -0
  726. package/vscode/src/vs/workbench/services/history/common/history.service.d.ts +51 -0
  727. package/vscode/src/vs/workbench/services/host/browser/host.service.d.ts +69 -0
  728. package/vscode/src/vs/workbench/services/keybinding/common/fallbackKeyboardMapper.d.ts +3 -0
  729. package/vscode/src/vs/workbench/services/languageDetection/common/languageDetectionWorkerService.service.d.ts +9 -0
  730. package/vscode/src/vs/workbench/services/layout/browser/layoutService.service.d.ts +119 -0
  731. package/vscode/src/vs/workbench/services/lifecycle/common/lifecycle.d.ts +116 -0
  732. package/vscode/src/vs/workbench/services/lifecycle/common/lifecycle.service.d.ts +54 -0
  733. package/vscode/src/vs/workbench/services/lifecycle/common/lifecycleService.d.ts +3 -0
  734. package/vscode/src/vs/workbench/services/output/common/output.d.ts +57 -0
  735. package/vscode/src/vs/workbench/services/output/common/output.service.d.ts +45 -0
  736. package/vscode/src/vs/workbench/services/panecomposite/browser/panecomposite.service.d.ts +30 -0
  737. package/vscode/src/vs/workbench/services/path/common/pathService.service.d.ts +42 -0
  738. package/vscode/src/vs/workbench/services/remote/common/remoteAgentService.service.d.ts +16 -0
  739. package/vscode/src/vs/workbench/services/search/common/folderQuerySearchTree.d.ts +4 -0
  740. package/vscode/src/vs/workbench/services/search/common/queryBuilder.d.ts +28 -0
  741. package/vscode/src/vs/workbench/services/search/common/search.d.ts +32 -0
  742. package/vscode/src/vs/workbench/services/search/common/search.service.d.ts +3 -0
  743. package/vscode/src/vs/workbench/services/search/common/searchExtConversionTypes.d.ts +273 -0
  744. package/vscode/src/vs/workbench/services/search/common/searchExtTypes.d.ts +327 -0
  745. package/vscode/src/vs/workbench/services/search/common/textSearchManager.d.ts +6 -0
  746. package/vscode/src/vs/workbench/services/statusbar/browser/statusbar.d.ts +91 -0
  747. package/vscode/src/vs/workbench/services/statusbar/browser/statusbar.service.d.ts +10 -0
  748. package/vscode/src/vs/workbench/services/terminal/common/embedderTerminalService.service.d.ts +3 -0
  749. package/vscode/src/vs/workbench/services/textfile/common/encoding.d.ts +9 -0
  750. package/vscode/src/vs/workbench/services/textfile/common/textEditorService.service.d.ts +17 -0
  751. package/vscode/src/vs/workbench/services/textfile/common/textfiles.d.ts +179 -0
  752. package/vscode/src/vs/workbench/services/textfile/common/textfiles.service.d.ts +74 -0
  753. package/vscode/src/vs/workbench/services/timer/browser/timerService.service.d.ts +31 -0
  754. package/vscode/src/vs/workbench/services/title/browser/titleService.service.d.ts +6 -0
  755. package/vscode/src/vs/workbench/services/untitled/common/untitledTextEditorService.service.d.ts +46 -0
  756. package/vscode/src/vs/workbench/services/userActivity/common/userActivityService.service.d.ts +14 -0
  757. package/vscode/src/vs/workbench/services/workingCopy/common/workingCopyBackup.d.ts +11 -0
  758. package/vscode/src/vs/workbench/services/workingCopy/common/workingCopyBackup.service.d.ts +32 -0
  759. package/vscode/src/vs/workbench/services/workingCopy/common/workingCopyEditorService.service.d.ts +9 -0
  760. package/vscode/src/vs/workbench/services/workingCopy/common/workingCopyFileService.service.d.ts +84 -0
  761. package/vscode/src/vs/workbench/services/workingCopy/common/workingCopyHistory.service.d.ts +43 -0
  762. package/vscode/src/vs/workbench/services/workingCopy/common/workingCopyService.service.d.ts +63 -0
  763. package/vscode/src/vs/workbench/services/workspaces/common/workspaceEditing.service.d.ts +28 -0
@@ -18,6 +18,9 @@ import * as model from "./model.js";
18
18
  import { ContiguousMultilineTokens } from "./tokens/contiguousMultilineTokens.js";
19
19
  import { ExtensionIdentifier } from "../../platform/extensions/common/extensions.js";
20
20
  import { IMarkerData } from "../../platform/markers/common/markers.js";
21
+ /**
22
+ * @internal
23
+ */
21
24
  export interface ILanguageIdCodec {
22
25
  encodeLanguageId(languageId: string): LanguageId;
23
26
  decodeLanguageId(languageId: LanguageId): string;
@@ -30,17 +33,36 @@ export declare class Token {
30
33
  constructor(offset: number, type: string, language: string);
31
34
  toString(): string;
32
35
  }
36
+ /**
37
+ * @internal
38
+ */
33
39
  export declare class TokenizationResult {
34
40
  readonly tokens: Token[];
35
41
  readonly endState: IState;
36
42
  _tokenizationResultBrand: void;
37
43
  constructor(tokens: Token[], endState: IState);
38
44
  }
45
+ /**
46
+ * @internal
47
+ */
39
48
  export declare class EncodedTokenizationResult {
49
+ /**
50
+ * The tokens in binary format. Each token occupies two array indices. For token i:
51
+ * - at offset 2*i => startIndex
52
+ * - at offset 2*i + 1 => metadata
53
+ *
54
+ */
40
55
  readonly tokens: Uint32Array;
41
56
  readonly endState: IState;
42
57
  _encodedTokenizationResultBrand: void;
43
- constructor(tokens: Uint32Array, endState: IState);
58
+ constructor(
59
+ /**
60
+ * The tokens in binary format. Each token occupies two array indices. For token i:
61
+ * - at offset 2*i => startIndex
62
+ * - at offset 2*i + 1 => metadata
63
+ *
64
+ */
65
+ tokens: Uint32Array, endState: IState);
44
66
  }
45
67
  export interface SyntaxNode {
46
68
  startIndex: number;
@@ -54,77 +76,213 @@ export interface QueryCapture {
54
76
  node: SyntaxNode;
55
77
  encodedLanguageId: number;
56
78
  }
79
+ /**
80
+ * @internal
81
+ */
57
82
  export interface ITokenizationSupport {
83
+ /**
84
+ * If true, the background tokenizer will only be used to verify tokens against the default background tokenizer.
85
+ * Used for debugging.
86
+ */
58
87
  readonly backgroundTokenizerShouldOnlyVerifyTokens?: boolean;
59
88
  getInitialState(): IState;
60
89
  tokenize(line: string, hasEOL: boolean, state: IState): TokenizationResult;
61
90
  tokenizeEncoded(line: string, hasEOL: boolean, state: IState): EncodedTokenizationResult;
91
+ /**
92
+ * Can be/return undefined if default background tokenization should be used.
93
+ */
62
94
  createBackgroundTokenizer?(textModel: model.ITextModel, store: IBackgroundTokenizationStore): IBackgroundTokenizer | undefined;
63
95
  }
96
+ /**
97
+ * @internal
98
+ */
64
99
  export interface IBackgroundTokenizer extends IDisposable {
100
+ /**
101
+ * Instructs the background tokenizer to set the tokens for the given range again.
102
+ *
103
+ * This might be necessary if the renderer overwrote those tokens with heuristically computed ones for some viewport,
104
+ * when the change does not even propagate to that viewport.
105
+ */
65
106
  requestTokens(startLineNumber: number, endLineNumberExclusive: number): void;
66
107
  reportMismatchingTokens?(lineNumber: number): void;
67
108
  }
109
+ /**
110
+ * @internal
111
+ */
68
112
  export interface IBackgroundTokenizationStore {
69
113
  setTokens(tokens: ContiguousMultilineTokens[]): void;
70
114
  setEndState(lineNumber: number, state: IState): void;
115
+ /**
116
+ * Should be called to indicate that the background tokenization has finished for now.
117
+ * (This triggers bracket pair colorization to re-parse the bracket pairs with token information)
118
+ */
71
119
  backgroundTokenizationFinished(): void;
72
120
  }
121
+ /**
122
+ * The state of the tokenizer between two lines.
123
+ * It is useful to store flags such as in multiline comment, etc.
124
+ * The model will clone the previous line's state and pass it in to tokenize the next line.
125
+ */
73
126
  export interface IState {
74
127
  clone(): IState;
75
128
  equals(other: IState): boolean;
76
129
  }
130
+ /**
131
+ * A provider result represents the values a provider, like the {@link HoverProvider},
132
+ * may return. For once this is the actual result type `T`, like `Hover`, or a thenable that resolves
133
+ * to that type `T`. In addition, `null` and `undefined` can be returned - either directly or from a
134
+ * thenable.
135
+ */
77
136
  export type ProviderResult<T> = T | undefined | null | Thenable<T | undefined | null>;
137
+ /**
138
+ * A hover represents additional information for a symbol or word. Hovers are
139
+ * rendered in a tooltip-like widget.
140
+ */
78
141
  export interface Hover {
142
+ /**
143
+ * The contents of this hover.
144
+ */
79
145
  contents: IMarkdownString[];
146
+ /**
147
+ * The range to which this hover applies. When missing, the
148
+ * editor will use the range at the current position or the
149
+ * current position itself.
150
+ */
80
151
  range?: IRange;
152
+ /**
153
+ * Can increase the verbosity of the hover
154
+ */
81
155
  canIncreaseVerbosity?: boolean;
156
+ /**
157
+ * Can decrease the verbosity of the hover
158
+ */
82
159
  canDecreaseVerbosity?: boolean;
83
160
  }
161
+ /**
162
+ * The hover provider interface defines the contract between extensions and
163
+ * the [hover](https://code.visualstudio.com/docs/editor/intellisense)-feature.
164
+ */
84
165
  export interface HoverProvider<THover = Hover> {
166
+ /**
167
+ * Provide a hover for the given position, context and document. Multiple hovers at the same
168
+ * position will be merged by the editor. A hover can have a range which defaults
169
+ * to the word range at the position when omitted.
170
+ */
85
171
  provideHover(model: model.ITextModel, position: Position, token: CancellationToken, context?: HoverContext<THover>): ProviderResult<THover>;
86
172
  }
87
173
  export interface HoverContext<THover = Hover> {
174
+ /**
175
+ * Hover verbosity request
176
+ */
88
177
  verbosityRequest?: HoverVerbosityRequest<THover>;
89
178
  }
90
179
  export interface HoverVerbosityRequest<THover = Hover> {
180
+ /**
181
+ * The delta by which to increase/decrease the hover verbosity level
182
+ */
91
183
  verbosityDelta: number;
184
+ /**
185
+ * The previous hover for the same position
186
+ */
92
187
  previousHover: THover;
93
188
  }
94
189
  export declare enum HoverVerbosityAction {
190
+ /**
191
+ * Increase the verbosity of the hover
192
+ */
95
193
  Increase = 0,
194
+ /**
195
+ * Decrease the verbosity of the hover
196
+ */
96
197
  Decrease = 1
97
198
  }
199
+ /**
200
+ * An evaluatable expression represents additional information for an expression in a document. Evaluatable expressions are
201
+ * evaluated by a debugger or runtime and their result is rendered in a tooltip-like widget.
202
+ * @internal
203
+ */
98
204
  export interface EvaluatableExpression {
205
+ /**
206
+ * The range to which this expression applies.
207
+ */
99
208
  range: IRange;
209
+ /**
210
+ * This expression overrides the expression extracted from the range.
211
+ */
100
212
  expression?: string;
101
213
  }
214
+ /**
215
+ * The evaluatable expression provider interface defines the contract between extensions and
216
+ * the debug hover.
217
+ * @internal
218
+ */
102
219
  export interface EvaluatableExpressionProvider {
220
+ /**
221
+ * Provide a hover for the given position and document. Multiple hovers at the same
222
+ * position will be merged by the editor. A hover can have a range which defaults
223
+ * to the word range at the position when omitted.
224
+ */
103
225
  provideEvaluatableExpression(model: model.ITextModel, position: Position, token: CancellationToken): ProviderResult<EvaluatableExpression>;
104
226
  }
227
+ /**
228
+ * A value-object that contains contextual information when requesting inline values from a InlineValuesProvider.
229
+ * @internal
230
+ */
105
231
  export interface InlineValueContext {
106
232
  frameId: number;
107
233
  stoppedLocation: Range;
108
234
  }
235
+ /**
236
+ * Provide inline value as text.
237
+ * @internal
238
+ */
109
239
  export interface InlineValueText {
110
240
  type: "text";
111
241
  range: IRange;
112
242
  text: string;
113
243
  }
244
+ /**
245
+ * Provide inline value through a variable lookup.
246
+ * @internal
247
+ */
114
248
  export interface InlineValueVariableLookup {
115
249
  type: "variable";
116
250
  range: IRange;
117
251
  variableName?: string;
118
252
  caseSensitiveLookup: boolean;
119
253
  }
254
+ /**
255
+ * Provide inline value through an expression evaluation.
256
+ * @internal
257
+ */
120
258
  export interface InlineValueExpression {
121
259
  type: "expression";
122
260
  range: IRange;
123
261
  expression?: string;
124
262
  }
263
+ /**
264
+ * Inline value information can be provided by different means:
265
+ * - directly as a text value (class InlineValueText).
266
+ * - as a name to use for a variable lookup (class InlineValueVariableLookup)
267
+ * - as an evaluatable expression (class InlineValueEvaluatableExpression)
268
+ * The InlineValue types combines all inline value types into one type.
269
+ * @internal
270
+ */
125
271
  export type InlineValue = InlineValueText | InlineValueVariableLookup | InlineValueExpression;
272
+ /**
273
+ * The inline values provider interface defines the contract between extensions and
274
+ * the debugger's inline values feature.
275
+ * @internal
276
+ */
126
277
  export interface InlineValuesProvider {
278
+ /**
279
+ */
127
280
  onDidChangeInlineValues?: Event<void> | undefined;
281
+ /**
282
+ * Provide the "inline values" for the given range and document. Multiple hovers at the same
283
+ * position will be merged by the editor. A hover can have a range which defaults
284
+ * to the word range at the position when omitted.
285
+ */
128
286
  provideInlineValues(model: model.ITextModel, viewPort: Range, context: InlineValueContext, token: CancellationToken): ProviderResult<InlineValue[]>;
129
287
  }
130
288
  export declare enum CompletionItemKind {
@@ -158,10 +316,25 @@ export declare enum CompletionItemKind {
158
316
  Tool = 27,
159
317
  Snippet = 28
160
318
  }
319
+ /**
320
+ * @internal
321
+ */
161
322
  export declare namespace CompletionItemKinds {
323
+ /**
324
+ * @internal
325
+ */
162
326
  function toIcon(kind: CompletionItemKind): ThemeIcon;
327
+ /**
328
+ * @internal
329
+ */
163
330
  function toLabel(kind: CompletionItemKind): string;
331
+ /**
332
+ * @internal
333
+ */
164
334
  function fromString(value: string): CompletionItemKind;
335
+ /**
336
+ * @internal
337
+ */
165
338
  function fromString(value: string, strict: true): CompletionItemKind | undefined;
166
339
  }
167
340
  export interface CompletionItemLabel {
@@ -174,30 +347,112 @@ export declare enum CompletionItemTag {
174
347
  }
175
348
  export declare enum CompletionItemInsertTextRule {
176
349
  None = 0,
350
+ /**
351
+ * Adjust whitespace/indentation of multiline insert texts to
352
+ * match the current line indentation.
353
+ */
177
354
  KeepWhitespace = 1,
355
+ /**
356
+ * `insertText` is a snippet.
357
+ */
178
358
  InsertAsSnippet = 4
179
359
  }
180
360
  export interface CompletionItemRanges {
181
361
  insert: IRange;
182
362
  replace: IRange;
183
363
  }
364
+ /**
365
+ * A completion item represents a text snippet that is
366
+ * proposed to complete text that is being typed.
367
+ */
184
368
  export interface CompletionItem {
369
+ /**
370
+ * The label of this completion item. By default
371
+ * this is also the text that is inserted when selecting
372
+ * this completion.
373
+ */
185
374
  label: string | CompletionItemLabel;
375
+ /**
376
+ * The kind of this completion item. Based on the kind
377
+ * an icon is chosen by the editor.
378
+ */
186
379
  kind: CompletionItemKind;
380
+ /**
381
+ * A modifier to the `kind` which affect how the item
382
+ * is rendered, e.g. Deprecated is rendered with a strikeout
383
+ */
187
384
  tags?: ReadonlyArray<CompletionItemTag>;
385
+ /**
386
+ * A human-readable string with additional information
387
+ * about this item, like type or symbol information.
388
+ */
188
389
  detail?: string;
390
+ /**
391
+ * A human-readable string that represents a doc-comment.
392
+ */
189
393
  documentation?: string | IMarkdownString;
394
+ /**
395
+ * A string that should be used when comparing this item
396
+ * with other items. When `falsy` the {@link CompletionItem.label label}
397
+ * is used.
398
+ */
190
399
  sortText?: string;
400
+ /**
401
+ * A string that should be used when filtering a set of
402
+ * completion items. When `falsy` the {@link CompletionItem.label label}
403
+ * is used.
404
+ */
191
405
  filterText?: string;
406
+ /**
407
+ * Select this item when showing. *Note* that only one completion item can be selected and
408
+ * that the editor decides which item that is. The rule is that the *first* item of those
409
+ * that match best is selected.
410
+ */
192
411
  preselect?: boolean;
412
+ /**
413
+ * A string or snippet that should be inserted in a document when selecting
414
+ * this completion.
415
+ */
193
416
  insertText: string;
417
+ /**
418
+ * Additional rules (as bitmask) that should be applied when inserting
419
+ * this completion.
420
+ */
194
421
  insertTextRules?: CompletionItemInsertTextRule;
422
+ /**
423
+ * A range of text that should be replaced by this completion item.
424
+ *
425
+ * *Note:* The range must be a {@link Range.isSingleLine single line} and it must
426
+ * {@link Range.contains contain} the position at which completion has been {@link CompletionItemProvider.provideCompletionItems requested}.
427
+ */
195
428
  range: IRange | CompletionItemRanges;
429
+ /**
430
+ * An optional set of characters that when pressed while this completion is active will accept it first and
431
+ * then type that character. *Note* that all commit characters should have `length=1` and that superfluous
432
+ * characters will be ignored.
433
+ */
196
434
  commitCharacters?: string[];
435
+ /**
436
+ * An optional array of additional text edits that are applied when
437
+ * selecting this completion. Edits must not overlap with the main edit
438
+ * nor with themselves.
439
+ */
197
440
  additionalTextEdits?: ISingleEditOperation[];
441
+ /**
442
+ * A command that should be run upon acceptance of this item.
443
+ */
198
444
  command?: Command;
445
+ /**
446
+ * A command that should be run upon acceptance of this item.
447
+ */
199
448
  action?: Command;
449
+ /**
450
+ * @internal
451
+ */
200
452
  extensionId?: ExtensionIdentifier;
453
+ /**
454
+ * @internal
455
+ */
201
456
  _id?: [
202
457
  number,
203
458
  number
@@ -207,40 +462,112 @@ export interface CompletionList {
207
462
  suggestions: CompletionItem[];
208
463
  incomplete?: boolean;
209
464
  dispose?(): void;
465
+ /**
466
+ * @internal
467
+ */
210
468
  duration?: number;
211
469
  }
470
+ /**
471
+ * Info provided on partial acceptance.
472
+ */
212
473
  export interface PartialAcceptInfo {
213
474
  kind: PartialAcceptTriggerKind;
214
475
  acceptedLength: number;
215
476
  }
477
+ /**
478
+ * How a partial acceptance was triggered.
479
+ */
216
480
  export declare enum PartialAcceptTriggerKind {
217
481
  Word = 0,
218
482
  Line = 1,
219
483
  Suggest = 2
220
484
  }
485
+ /**
486
+ * How a suggest provider was triggered.
487
+ */
221
488
  export declare enum CompletionTriggerKind {
222
489
  Invoke = 0,
223
490
  TriggerCharacter = 1,
224
491
  TriggerForIncompleteCompletions = 2
225
492
  }
493
+ /**
494
+ * Contains additional information about the context in which
495
+ * {@link CompletionItemProvider.provideCompletionItems completion provider} is triggered.
496
+ */
226
497
  export interface CompletionContext {
498
+ /**
499
+ * How the completion was triggered.
500
+ */
227
501
  triggerKind: CompletionTriggerKind;
502
+ /**
503
+ * Character that triggered the completion item provider.
504
+ *
505
+ * `undefined` if provider was not triggered by a character.
506
+ */
228
507
  triggerCharacter?: string;
229
508
  }
509
+ /**
510
+ * The completion item provider interface defines the contract between extensions and
511
+ * the [IntelliSense](https://code.visualstudio.com/docs/editor/intellisense).
512
+ *
513
+ * When computing *complete* completion items is expensive, providers can optionally implement
514
+ * the `resolveCompletionItem`-function. In that case it is enough to return completion
515
+ * items with a {@link CompletionItem.label label} from the
516
+ * {@link CompletionItemProvider.provideCompletionItems provideCompletionItems}-function. Subsequently,
517
+ * when a completion item is shown in the UI and gains focus this provider is asked to resolve
518
+ * the item, like adding {@link CompletionItem.documentation doc-comment} or {@link CompletionItem.detail details}.
519
+ */
230
520
  export interface CompletionItemProvider {
521
+ /**
522
+ * Used to identify completions in the (debug) UI and telemetry. This isn't the extension identifier because extensions
523
+ * often contribute multiple completion item providers.
524
+ *
525
+ * @internal
526
+ */
231
527
  _debugDisplayName: string;
232
528
  triggerCharacters?: string[];
529
+ /**
530
+ * Provide completion items for the given position and document.
531
+ */
233
532
  provideCompletionItems(model: model.ITextModel, position: Position, context: CompletionContext, token: CancellationToken): ProviderResult<CompletionList>;
533
+ /**
534
+ * Given a completion item fill in more data, like {@link CompletionItem.documentation doc-comment}
535
+ * or {@link CompletionItem.detail details}.
536
+ *
537
+ * The editor will only resolve a completion item once.
538
+ */
234
539
  resolveCompletionItem?(item: CompletionItem, token: CancellationToken): ProviderResult<CompletionItem>;
235
540
  }
541
+ /**
542
+ * How an {@link InlineCompletionsProvider inline completion provider} was triggered.
543
+ */
236
544
  export declare enum InlineCompletionTriggerKind {
545
+ /**
546
+ * Completion was triggered automatically while editing.
547
+ * It is sufficient to return a single completion item in this case.
548
+ */
237
549
  Automatic = 0,
550
+ /**
551
+ * Completion was triggered explicitly by a user gesture.
552
+ * Return multiple completion items to enable cycling through them.
553
+ */
238
554
  Explicit = 1
239
555
  }
240
556
  export interface InlineCompletionContext {
557
+ /**
558
+ * How the completion was triggered.
559
+ */
241
560
  readonly triggerKind: InlineCompletionTriggerKind;
242
561
  readonly selectedSuggestionInfo: SelectedSuggestionInfo | undefined;
562
+ /**
563
+ * @experimental
564
+ * @internal
565
+ */
243
566
  readonly userPrompt?: string | undefined;
567
+ /**
568
+ * @experimental
569
+ * @internal
570
+ */
244
571
  readonly requestUuid: string;
245
572
  readonly includeInlineEdits: boolean;
246
573
  readonly includeInlineCompletions: boolean;
@@ -255,15 +582,44 @@ export declare class SelectedSuggestionInfo {
255
582
  equals(other: SelectedSuggestionInfo): boolean;
256
583
  }
257
584
  export interface InlineCompletion {
585
+ /**
586
+ * The text to insert.
587
+ * If the text contains a line break, the range must end at the end of a line.
588
+ * If existing text should be replaced, the existing text must be a prefix of the text to insert.
589
+ *
590
+ * The text can also be a snippet. In that case, a preview with default parameters is shown.
591
+ * When accepting the suggestion, the full snippet is inserted.
592
+ */
258
593
  readonly insertText: string | {
259
594
  snippet: string;
260
595
  };
596
+ /**
597
+ * A text that is used to decide if this inline completion should be shown.
598
+ * An inline completion is shown if the text to replace is a subword of the filter text.
599
+ */
261
600
  readonly filterText?: string;
601
+ /**
602
+ * An optional array of additional text edits that are applied when
603
+ * selecting this completion. Edits must not overlap with the main edit
604
+ * nor with themselves.
605
+ */
262
606
  readonly additionalTextEdits?: ISingleEditOperation[];
607
+ /**
608
+ * The range to replace.
609
+ * Must begin and end on the same line.
610
+ */
263
611
  readonly range?: IRange;
264
612
  readonly command?: Command;
265
613
  readonly action?: Command;
614
+ /**
615
+ * Is called the first time an inline completion is shown.
616
+ * @deprecated. Use `onDidShow` of the provider instead.
617
+ */
266
618
  readonly shownCommand?: Command;
619
+ /**
620
+ * If set to `true`, unopened closing brackets are removed and unclosed opening brackets are closed.
621
+ * Defaults to `false`.
622
+ */
267
623
  readonly completeBracketPairs?: boolean;
268
624
  readonly isInlineEdit?: boolean;
269
625
  readonly showInlineEditMenu?: boolean;
@@ -279,11 +635,20 @@ export interface InlineCompletionDisplayLocation {
279
635
  range: IRange;
280
636
  label: string;
281
637
  }
638
+ /**
639
+ * TODO: add `| URI | { light: URI; dark: URI }`.
640
+ */
282
641
  export type IconPath = ThemeIcon;
283
642
  export interface InlineCompletions<TItem extends InlineCompletion = InlineCompletion> {
284
643
  readonly items: readonly TItem[];
644
+ /**
645
+ * A list of commands associated with the inline completions of this list.
646
+ */
285
647
  readonly commands?: InlineCompletionCommand[];
286
648
  readonly suppressSuggestions?: boolean | undefined;
649
+ /**
650
+ * When set and the user types a suggestion without derivating from it, the inline suggestion is not updated.
651
+ */
287
652
  readonly enableForwardStability?: boolean | undefined;
288
653
  }
289
654
  export type InlineCompletionCommand = {
@@ -293,19 +658,47 @@ export type InlineCompletionCommand = {
293
658
  export type InlineCompletionProviderGroupId = string;
294
659
  export interface InlineCompletionsProvider<T extends InlineCompletions = InlineCompletions> {
295
660
  provideInlineCompletions(model: model.ITextModel, position: Position, context: InlineCompletionContext, token: CancellationToken): ProviderResult<T>;
661
+ /**
662
+ * Will be called when an item is shown.
663
+ * @param updatedInsertText Is useful to understand bracket completion.
664
+ */
296
665
  handleItemDidShow?(completions: T, item: T["items"][number], updatedInsertText: string): void;
666
+ /**
667
+ * Will be called when an item is partially accepted. TODO: also handle full acceptance here!
668
+ * @param acceptedCharacters Deprecated. Use `info.acceptedCharacters` instead.
669
+ */
297
670
  handlePartialAccept?(completions: T, item: T["items"][number], acceptedCharacters: number, info: PartialAcceptInfo): void;
671
+ /**
672
+ * @deprecated Use `handleEndOfLifetime` instead.
673
+ */
298
674
  handleRejection?(completions: T, item: T["items"][number]): void;
675
+ /**
676
+ * Is called when an inline completion item is no longer being used.
677
+ * Provides a reason of why it is not used anymore.
678
+ */
299
679
  handleEndOfLifetime?(completions: T, item: T["items"][number], reason: InlineCompletionEndOfLifeReason<T["items"][number]>, lifetimeSummary: LifetimeSummary): void;
680
+ /**
681
+ * Will be called when a completions list is no longer in use and can be garbage-collected.
682
+ */
300
683
  disposeInlineCompletions(completions: T, reason: InlineCompletionsDisposeReason): void;
301
684
  onDidChangeInlineCompletions?: Event<void>;
685
+ /**
686
+ * Only used for {@link yieldsToGroupIds}.
687
+ * Multiple providers can have the same group id.
688
+ */
302
689
  groupId?: InlineCompletionProviderGroupId;
690
+ /** @internal */
303
691
  providerId?: ProviderId;
692
+ /**
693
+ * Returns a list of preferred provider {@link groupId}s.
694
+ * The current provider is only requested for completions if no provider with a preferred group id returned a result.
695
+ */
304
696
  yieldsToGroupIds?: InlineCompletionProviderGroupId[];
305
697
  displayName?: string;
306
698
  debounceDelayMs?: number;
307
699
  toString?(): string;
308
700
  }
701
+ /** @internal */
309
702
  export declare class ProviderId {
310
703
  readonly extensionId: string | undefined;
311
704
  readonly extensionVersion: string | undefined;
@@ -314,6 +707,7 @@ export declare class ProviderId {
314
707
  constructor(extensionId: string | undefined, extensionVersion: string | undefined, providerId: string | undefined);
315
708
  toString(): string;
316
709
  }
710
+ /** @internal */
317
711
  export declare class VersionedExtensionId {
318
712
  readonly extensionId: string;
319
713
  readonly version: string;
@@ -376,6 +770,9 @@ export declare enum CodeActionTriggerType {
376
770
  Invoke = 1,
377
771
  Auto = 2
378
772
  }
773
+ /**
774
+ * @internal
775
+ */
379
776
  export interface CodeActionContext {
380
777
  only?: string;
381
778
  trigger: CodeActionTriggerType;
@@ -383,18 +780,38 @@ export interface CodeActionContext {
383
780
  export interface CodeActionList extends IDisposable {
384
781
  readonly actions: ReadonlyArray<CodeAction>;
385
782
  }
783
+ /**
784
+ * The code action interface defines the contract between extensions and
785
+ * the [light bulb](https://code.visualstudio.com/docs/editor/editingevolved#_code-action) feature.
786
+ * @internal
787
+ */
386
788
  export interface CodeActionProvider {
387
789
  displayName?: string;
388
790
  extensionId?: string;
791
+ /**
792
+ * Provide commands for the given document and range.
793
+ */
389
794
  provideCodeActions(model: model.ITextModel, range: Range | Selection, context: CodeActionContext, token: CancellationToken): ProviderResult<CodeActionList>;
795
+ /**
796
+ * Given a code action fill in the edit. Will only invoked when missing.
797
+ */
390
798
  resolveCodeAction?(codeAction: CodeAction, token: CancellationToken): ProviderResult<CodeAction>;
799
+ /**
800
+ * Optional list of CodeActionKinds that this provider returns.
801
+ */
391
802
  readonly providedCodeActionKinds?: ReadonlyArray<string>;
392
803
  readonly documentation?: ReadonlyArray<{
393
804
  readonly kind: string;
394
805
  readonly command: Command;
395
806
  }>;
807
+ /**
808
+ * @internal
809
+ */
396
810
  _getAdditionalMenuItems?(context: CodeActionContext, actions: readonly CodeAction[]): Command[];
397
811
  }
812
+ /**
813
+ * @internal
814
+ */
398
815
  export interface DocumentPasteEdit {
399
816
  readonly title: string;
400
817
  readonly kind: HierarchicalKind;
@@ -405,18 +822,30 @@ export interface DocumentPasteEdit {
405
822
  };
406
823
  additionalEdit?: WorkspaceEdit;
407
824
  }
825
+ /**
826
+ * @internal
827
+ */
408
828
  export declare enum DocumentPasteTriggerKind {
409
829
  Automatic = 0,
410
830
  PasteAs = 1
411
831
  }
832
+ /**
833
+ * @internal
834
+ */
412
835
  export interface DocumentPasteContext {
413
836
  readonly only?: HierarchicalKind;
414
837
  readonly triggerKind: DocumentPasteTriggerKind;
415
838
  }
839
+ /**
840
+ * @internal
841
+ */
416
842
  export interface DocumentPasteEditsSession {
417
843
  edits: readonly DocumentPasteEdit[];
418
844
  dispose(): void;
419
845
  }
846
+ /**
847
+ * @internal
848
+ */
420
849
  export interface DocumentPasteEditProvider {
421
850
  readonly id?: string;
422
851
  readonly copyMimeTypes: readonly string[];
@@ -426,22 +855,69 @@ export interface DocumentPasteEditProvider {
426
855
  provideDocumentPasteEdits?(model: model.ITextModel, ranges: readonly IRange[], dataTransfer: IReadonlyVSDataTransfer, context: DocumentPasteContext, token: CancellationToken): Promise<DocumentPasteEditsSession | undefined>;
427
856
  resolveDocumentPasteEdit?(edit: DocumentPasteEdit, token: CancellationToken): Promise<DocumentPasteEdit>;
428
857
  }
858
+ /**
859
+ * Represents a parameter of a callable-signature. A parameter can
860
+ * have a label and a doc-comment.
861
+ */
429
862
  export interface ParameterInformation {
863
+ /**
864
+ * The label of this signature. Will be shown in
865
+ * the UI.
866
+ */
430
867
  label: string | [
431
868
  number,
432
869
  number
433
870
  ];
871
+ /**
872
+ * The human-readable doc-comment of this signature. Will be shown
873
+ * in the UI but can be omitted.
874
+ */
434
875
  documentation?: string | IMarkdownString;
435
876
  }
877
+ /**
878
+ * Represents the signature of something callable. A signature
879
+ * can have a label, like a function-name, a doc-comment, and
880
+ * a set of parameters.
881
+ */
436
882
  export interface SignatureInformation {
883
+ /**
884
+ * The label of this signature. Will be shown in
885
+ * the UI.
886
+ */
437
887
  label: string;
888
+ /**
889
+ * The human-readable doc-comment of this signature. Will be shown
890
+ * in the UI but can be omitted.
891
+ */
438
892
  documentation?: string | IMarkdownString;
893
+ /**
894
+ * The parameters of this signature.
895
+ */
439
896
  parameters: ParameterInformation[];
897
+ /**
898
+ * Index of the active parameter.
899
+ *
900
+ * If provided, this is used in place of `SignatureHelp.activeSignature`.
901
+ */
440
902
  activeParameter?: number;
441
903
  }
904
+ /**
905
+ * Signature help represents the signature of something
906
+ * callable. There can be multiple signatures but only one
907
+ * active and only one active parameter.
908
+ */
442
909
  export interface SignatureHelp {
910
+ /**
911
+ * One or more signatures.
912
+ */
443
913
  signatures: SignatureInformation[];
914
+ /**
915
+ * The active signature.
916
+ */
444
917
  activeSignature: number;
918
+ /**
919
+ * The active parameter of the active signature.
920
+ */
445
921
  activeParameter: number;
446
922
  }
447
923
  export interface SignatureHelpResult extends IDisposable {
@@ -458,69 +934,226 @@ export interface SignatureHelpContext {
458
934
  readonly isRetrigger: boolean;
459
935
  readonly activeSignatureHelp?: SignatureHelp;
460
936
  }
937
+ /**
938
+ * The signature help provider interface defines the contract between extensions and
939
+ * the [parameter hints](https://code.visualstudio.com/docs/editor/intellisense)-feature.
940
+ */
461
941
  export interface SignatureHelpProvider {
462
942
  readonly signatureHelpTriggerCharacters?: ReadonlyArray<string>;
463
943
  readonly signatureHelpRetriggerCharacters?: ReadonlyArray<string>;
944
+ /**
945
+ * Provide help for the signature at the given position and document.
946
+ */
464
947
  provideSignatureHelp(model: model.ITextModel, position: Position, token: CancellationToken, context: SignatureHelpContext): ProviderResult<SignatureHelpResult>;
465
948
  }
949
+ /**
950
+ * A document highlight kind.
951
+ */
466
952
  export declare enum DocumentHighlightKind {
953
+ /**
954
+ * A textual occurrence.
955
+ */
467
956
  Text = 0,
957
+ /**
958
+ * Read-access of a symbol, like reading a variable.
959
+ */
468
960
  Read = 1,
961
+ /**
962
+ * Write-access of a symbol, like writing to a variable.
963
+ */
469
964
  Write = 2
470
965
  }
966
+ /**
967
+ * A document highlight is a range inside a text document which deserves
968
+ * special attention. Usually a document highlight is visualized by changing
969
+ * the background color of its range.
970
+ */
471
971
  export interface DocumentHighlight {
972
+ /**
973
+ * The range this highlight applies to.
974
+ */
472
975
  range: IRange;
976
+ /**
977
+ * The highlight kind, default is {@link DocumentHighlightKind.Text text}.
978
+ */
473
979
  kind?: DocumentHighlightKind;
474
980
  }
981
+ /**
982
+ * Represents a set of document highlights for a specific URI.
983
+ */
475
984
  export interface MultiDocumentHighlight {
985
+ /**
986
+ * The URI of the document that the highlights belong to.
987
+ */
476
988
  uri: URI;
989
+ /**
990
+ * The set of highlights for the document.
991
+ */
477
992
  highlights: DocumentHighlight[];
478
993
  }
994
+ /**
995
+ * The document highlight provider interface defines the contract between extensions and
996
+ * the word-highlight-feature.
997
+ */
479
998
  export interface DocumentHighlightProvider {
999
+ /**
1000
+ * Provide a set of document highlights, like all occurrences of a variable or
1001
+ * all exit-points of a function.
1002
+ */
480
1003
  provideDocumentHighlights(model: model.ITextModel, position: Position, token: CancellationToken): ProviderResult<DocumentHighlight[]>;
481
1004
  }
1005
+ /**
1006
+ * A provider that can provide document highlights across multiple documents.
1007
+ */
482
1008
  export interface MultiDocumentHighlightProvider {
483
1009
  readonly selector: LanguageSelector;
1010
+ /**
1011
+ * Provide a Map of URI --> document highlights, like all occurrences of a variable or
1012
+ * all exit-points of a function.
1013
+ *
1014
+ * Used in cases such as split view, notebooks, etc. where there can be multiple documents
1015
+ * with shared symbols.
1016
+ *
1017
+ * @param primaryModel The primary text model.
1018
+ * @param position The position at which to provide document highlights.
1019
+ * @param otherModels The other text models to search for document highlights.
1020
+ * @param token A cancellation token.
1021
+ * @returns A map of URI to document highlights.
1022
+ */
484
1023
  provideMultiDocumentHighlights(primaryModel: model.ITextModel, position: Position, otherModels: model.ITextModel[], token: CancellationToken): ProviderResult<Map<URI, DocumentHighlight[]>>;
485
1024
  }
1025
+ /**
1026
+ * The linked editing range provider interface defines the contract between extensions and
1027
+ * the linked editing feature.
1028
+ */
486
1029
  export interface LinkedEditingRangeProvider {
1030
+ /**
1031
+ * Provide a list of ranges that can be edited together.
1032
+ */
487
1033
  provideLinkedEditingRanges(model: model.ITextModel, position: Position, token: CancellationToken): ProviderResult<LinkedEditingRanges>;
488
1034
  }
1035
+ /**
1036
+ * Represents a list of ranges that can be edited together along with a word pattern to describe valid contents.
1037
+ */
489
1038
  export interface LinkedEditingRanges {
1039
+ /**
1040
+ * A list of ranges that can be edited together. The ranges must have
1041
+ * identical length and text content. The ranges cannot overlap
1042
+ */
490
1043
  ranges: IRange[];
1044
+ /**
1045
+ * An optional word pattern that describes valid contents for the given ranges.
1046
+ * If no pattern is provided, the language configuration's word pattern will be used.
1047
+ */
491
1048
  wordPattern?: RegExp;
492
1049
  }
1050
+ /**
1051
+ * Value-object that contains additional information when
1052
+ * requesting references.
1053
+ */
493
1054
  export interface ReferenceContext {
1055
+ /**
1056
+ * Include the declaration of the current symbol.
1057
+ */
494
1058
  includeDeclaration: boolean;
495
1059
  }
1060
+ /**
1061
+ * The reference provider interface defines the contract between extensions and
1062
+ * the [find references](https://code.visualstudio.com/docs/editor/editingevolved#_peek)-feature.
1063
+ */
496
1064
  export interface ReferenceProvider {
1065
+ /**
1066
+ * Provide a set of project-wide references for the given position and document.
1067
+ */
497
1068
  provideReferences(model: model.ITextModel, position: Position, context: ReferenceContext, token: CancellationToken): ProviderResult<Location[]>;
498
1069
  }
1070
+ /**
1071
+ * Represents a location inside a resource, such as a line
1072
+ * inside a text file.
1073
+ */
499
1074
  export interface Location {
1075
+ /**
1076
+ * The resource identifier of this location.
1077
+ */
500
1078
  uri: URI;
1079
+ /**
1080
+ * The document range of this locations.
1081
+ */
501
1082
  range: IRange;
502
1083
  }
503
1084
  export interface LocationLink {
1085
+ /**
1086
+ * A range to select where this link originates from.
1087
+ */
504
1088
  originSelectionRange?: IRange;
1089
+ /**
1090
+ * The target uri this link points to.
1091
+ */
505
1092
  uri: URI;
1093
+ /**
1094
+ * The full range this link points to.
1095
+ */
506
1096
  range: IRange;
1097
+ /**
1098
+ * A range to select this link points to. Must be contained
1099
+ * in `LocationLink.range`.
1100
+ */
507
1101
  targetSelectionRange?: IRange;
508
1102
  }
1103
+ /**
1104
+ * @internal
1105
+ */
509
1106
  export declare function isLocationLink(thing: any): thing is LocationLink;
1107
+ /**
1108
+ * @internal
1109
+ */
510
1110
  export declare function isLocation(thing: any): thing is Location;
511
1111
  export type Definition = Location | Location[] | LocationLink[];
1112
+ /**
1113
+ * The definition provider interface defines the contract between extensions and
1114
+ * the [go to definition](https://code.visualstudio.com/docs/editor/editingevolved#_go-to-definition)
1115
+ * and peek definition features.
1116
+ */
512
1117
  export interface DefinitionProvider {
1118
+ /**
1119
+ * Provide the definition of the symbol at the given position and document.
1120
+ */
513
1121
  provideDefinition(model: model.ITextModel, position: Position, token: CancellationToken): ProviderResult<Definition | LocationLink[]>;
514
1122
  }
1123
+ /**
1124
+ * The definition provider interface defines the contract between extensions and
1125
+ * the [go to definition](https://code.visualstudio.com/docs/editor/editingevolved#_go-to-definition)
1126
+ * and peek definition features.
1127
+ */
515
1128
  export interface DeclarationProvider {
1129
+ /**
1130
+ * Provide the declaration of the symbol at the given position and document.
1131
+ */
516
1132
  provideDeclaration(model: model.ITextModel, position: Position, token: CancellationToken): ProviderResult<Definition | LocationLink[]>;
517
1133
  }
1134
+ /**
1135
+ * The implementation provider interface defines the contract between extensions and
1136
+ * the go to implementation feature.
1137
+ */
518
1138
  export interface ImplementationProvider {
1139
+ /**
1140
+ * Provide the implementation of the symbol at the given position and document.
1141
+ */
519
1142
  provideImplementation(model: model.ITextModel, position: Position, token: CancellationToken): ProviderResult<Definition | LocationLink[]>;
520
1143
  }
1144
+ /**
1145
+ * The type definition provider interface defines the contract between extensions and
1146
+ * the go to type definition feature.
1147
+ */
521
1148
  export interface TypeDefinitionProvider {
1149
+ /**
1150
+ * Provide the type definition of the symbol at the given position and document.
1151
+ */
522
1152
  provideTypeDefinition(model: model.ITextModel, position: Position, token: CancellationToken): ProviderResult<Definition | LocationLink[]>;
523
1153
  }
1154
+ /**
1155
+ * A symbol kind.
1156
+ */
524
1157
  export declare enum SymbolKind {
525
1158
  File = 0,
526
1159
  Module = 1,
@@ -549,15 +1182,30 @@ export declare enum SymbolKind {
549
1182
  Operator = 24,
550
1183
  TypeParameter = 25
551
1184
  }
1185
+ /**
1186
+ * @internal
1187
+ */
552
1188
  export declare const symbolKindNames: {
553
1189
  [symbol: number]: string;
554
1190
  };
1191
+ /**
1192
+ * @internal
1193
+ */
555
1194
  export declare function getAriaLabelForSymbol(symbolName: string, kind: SymbolKind): string;
556
1195
  export declare enum SymbolTag {
557
1196
  Deprecated = 1
558
1197
  }
1198
+ /**
1199
+ * @internal
1200
+ */
559
1201
  export declare namespace SymbolKinds {
1202
+ /**
1203
+ * @internal
1204
+ */
560
1205
  function toIcon(kind: SymbolKind): ThemeIcon;
1206
+ /**
1207
+ * @internal
1208
+ */
561
1209
  function toCompletionKind(kind: SymbolKind): CompletionItemKind;
562
1210
  }
563
1211
  export interface DocumentSymbol {
@@ -570,8 +1218,15 @@ export interface DocumentSymbol {
570
1218
  selectionRange: IRange;
571
1219
  children?: DocumentSymbol[];
572
1220
  }
1221
+ /**
1222
+ * The document symbol provider interface defines the contract between extensions and
1223
+ * the [go to symbol](https://code.visualstudio.com/docs/editor/editingevolved#_go-to-symbol)-feature.
1224
+ */
573
1225
  export interface DocumentSymbolProvider {
574
1226
  displayName?: string;
1227
+ /**
1228
+ * Provide symbol information for the given document.
1229
+ */
575
1230
  provideDocumentSymbols(model: model.ITextModel, token: CancellationToken): ProviderResult<DocumentSymbol[]>;
576
1231
  }
577
1232
  export interface TextEdit {
@@ -579,34 +1234,88 @@ export interface TextEdit {
579
1234
  text: string;
580
1235
  eol?: model.EndOfLineSequence;
581
1236
  }
1237
+ /** @internal */
582
1238
  export declare abstract class TextEdit {
583
1239
  static asEditOperation(edit: TextEdit): ISingleEditOperation;
584
1240
  static isTextEdit(thing: any): thing is TextEdit;
585
1241
  }
1242
+ /**
1243
+ * Interface used to format a model
1244
+ */
586
1245
  export interface FormattingOptions {
1246
+ /**
1247
+ * Size of a tab in spaces.
1248
+ */
587
1249
  tabSize: number;
1250
+ /**
1251
+ * Prefer spaces over tabs.
1252
+ */
588
1253
  insertSpaces: boolean;
589
1254
  }
1255
+ /**
1256
+ * The document formatting provider interface defines the contract between extensions and
1257
+ * the formatting-feature.
1258
+ */
590
1259
  export interface DocumentFormattingEditProvider {
1260
+ /**
1261
+ * @internal
1262
+ */
591
1263
  readonly extensionId?: ExtensionIdentifier;
592
1264
  readonly displayName?: string;
1265
+ /**
1266
+ * Provide formatting edits for a whole document.
1267
+ */
593
1268
  provideDocumentFormattingEdits(model: model.ITextModel, options: FormattingOptions, token: CancellationToken): ProviderResult<TextEdit[]>;
594
1269
  }
1270
+ /**
1271
+ * The document formatting provider interface defines the contract between extensions and
1272
+ * the formatting-feature.
1273
+ */
595
1274
  export interface DocumentRangeFormattingEditProvider {
1275
+ /**
1276
+ * @internal
1277
+ */
596
1278
  readonly extensionId?: ExtensionIdentifier;
597
1279
  readonly displayName?: string;
1280
+ /**
1281
+ * Provide formatting edits for a range in a document.
1282
+ *
1283
+ * The given range is a hint and providers can decide to format a smaller
1284
+ * or larger range. Often this is done by adjusting the start and end
1285
+ * of the range to full syntax nodes.
1286
+ */
598
1287
  provideDocumentRangeFormattingEdits(model: model.ITextModel, range: Range, options: FormattingOptions, token: CancellationToken): ProviderResult<TextEdit[]>;
599
1288
  provideDocumentRangesFormattingEdits?(model: model.ITextModel, ranges: Range[], options: FormattingOptions, token: CancellationToken): ProviderResult<TextEdit[]>;
600
1289
  }
1290
+ /**
1291
+ * The document formatting provider interface defines the contract between extensions and
1292
+ * the formatting-feature.
1293
+ */
601
1294
  export interface OnTypeFormattingEditProvider {
1295
+ /**
1296
+ * @internal
1297
+ */
602
1298
  readonly extensionId?: ExtensionIdentifier;
603
1299
  autoFormatTriggerCharacters: string[];
1300
+ /**
1301
+ * Provide formatting edits after a character has been typed.
1302
+ *
1303
+ * The given position and character should hint to the provider
1304
+ * what range the position to expand to, like find the matching `{`
1305
+ * when `}` has been entered.
1306
+ */
604
1307
  provideOnTypeFormattingEdits(model: model.ITextModel, position: Position, ch: string, options: FormattingOptions, token: CancellationToken): ProviderResult<TextEdit[]>;
605
1308
  }
1309
+ /**
1310
+ * @internal
1311
+ */
606
1312
  export interface IInplaceReplaceSupportResult {
607
1313
  value: string;
608
1314
  range: IRange;
609
1315
  }
1316
+ /**
1317
+ * A link inside the editor.
1318
+ */
610
1319
  export interface ILink {
611
1320
  range: IRange;
612
1321
  url?: URI | string;
@@ -616,59 +1325,161 @@ export interface ILinksList {
616
1325
  links: ILink[];
617
1326
  dispose?(): void;
618
1327
  }
1328
+ /**
1329
+ * A provider of links.
1330
+ */
619
1331
  export interface LinkProvider {
620
1332
  provideLinks(model: model.ITextModel, token: CancellationToken): ProviderResult<ILinksList>;
621
1333
  resolveLink?: (link: ILink, token: CancellationToken) => ProviderResult<ILink>;
622
1334
  }
1335
+ /**
1336
+ * A color in RGBA format.
1337
+ */
623
1338
  export interface IColor {
1339
+ /**
1340
+ * The red component in the range [0-1].
1341
+ */
624
1342
  readonly red: number;
1343
+ /**
1344
+ * The green component in the range [0-1].
1345
+ */
625
1346
  readonly green: number;
1347
+ /**
1348
+ * The blue component in the range [0-1].
1349
+ */
626
1350
  readonly blue: number;
1351
+ /**
1352
+ * The alpha component in the range [0-1].
1353
+ */
627
1354
  readonly alpha: number;
628
1355
  }
1356
+ /**
1357
+ * String representations for a color
1358
+ */
629
1359
  export interface IColorPresentation {
1360
+ /**
1361
+ * The label of this color presentation. It will be shown on the color
1362
+ * picker header. By default this is also the text that is inserted when selecting
1363
+ * this color presentation.
1364
+ */
630
1365
  label: string;
1366
+ /**
1367
+ * An {@link TextEdit edit} which is applied to a document when selecting
1368
+ * this presentation for the color.
1369
+ */
631
1370
  textEdit?: TextEdit;
1371
+ /**
1372
+ * An optional array of additional {@link TextEdit text edits} that are applied when
1373
+ * selecting this color presentation.
1374
+ */
632
1375
  additionalTextEdits?: TextEdit[];
633
1376
  }
1377
+ /**
1378
+ * A color range is a range in a text model which represents a color.
1379
+ */
634
1380
  export interface IColorInformation {
1381
+ /**
1382
+ * The range within the model.
1383
+ */
635
1384
  range: IRange;
1385
+ /**
1386
+ * The color represented in this range.
1387
+ */
636
1388
  color: IColor;
637
1389
  }
1390
+ /**
1391
+ * A provider of colors for editor models.
1392
+ */
638
1393
  export interface DocumentColorProvider {
1394
+ /**
1395
+ * Provides the color ranges for a specific model.
1396
+ */
639
1397
  provideDocumentColors(model: model.ITextModel, token: CancellationToken): ProviderResult<IColorInformation[]>;
1398
+ /**
1399
+ * Provide the string representations for a color.
1400
+ */
640
1401
  provideColorPresentations(model: model.ITextModel, colorInfo: IColorInformation, token: CancellationToken): ProviderResult<IColorPresentation[]>;
641
1402
  }
642
1403
  export interface SelectionRange {
643
1404
  range: IRange;
644
1405
  }
645
1406
  export interface SelectionRangeProvider {
1407
+ /**
1408
+ * Provide ranges that should be selected from the given position.
1409
+ */
646
1410
  provideSelectionRanges(model: model.ITextModel, positions: Position[], token: CancellationToken): ProviderResult<SelectionRange[][]>;
647
1411
  }
648
1412
  export interface FoldingContext {
649
1413
  }
1414
+ /**
1415
+ * A provider of folding ranges for editor models.
1416
+ */
650
1417
  export interface FoldingRangeProvider {
1418
+ /**
1419
+ * @internal
1420
+ */
651
1421
  readonly id?: string;
1422
+ /**
1423
+ * An optional event to signal that the folding ranges from this provider have changed.
1424
+ */
652
1425
  onDidChange?: Event<this>;
1426
+ /**
1427
+ * Provides the folding ranges for a specific model.
1428
+ */
653
1429
  provideFoldingRanges(model: model.ITextModel, context: FoldingContext, token: CancellationToken): ProviderResult<FoldingRange[]>;
654
1430
  }
655
1431
  export interface FoldingRange {
1432
+ /**
1433
+ * The one-based start line of the range to fold. The folded area starts after the line's last character.
1434
+ */
656
1435
  start: number;
1436
+ /**
1437
+ * The one-based end line of the range to fold. The folded area ends with the line's last character.
1438
+ */
657
1439
  end: number;
1440
+ /**
1441
+ * Describes the {@link FoldingRangeKind Kind} of the folding range such as {@link FoldingRangeKind.Comment Comment} or
1442
+ * {@link FoldingRangeKind.Region Region}. The kind is used to categorize folding ranges and used by commands
1443
+ * like 'Fold all comments'. See
1444
+ * {@link FoldingRangeKind} for an enumeration of standardized kinds.
1445
+ */
658
1446
  kind?: FoldingRangeKind;
659
1447
  }
660
1448
  export declare class FoldingRangeKind {
661
1449
  value: string;
1450
+ /**
1451
+ * Kind for folding range representing a comment. The value of the kind is 'comment'.
1452
+ */
662
1453
  static readonly Comment: FoldingRangeKind;
1454
+ /**
1455
+ * Kind for folding range representing a import. The value of the kind is 'imports'.
1456
+ */
663
1457
  static readonly Imports: FoldingRangeKind;
1458
+ /**
1459
+ * Kind for folding range representing regions (for example marked by `#region`, `#endregion`).
1460
+ * The value of the kind is 'region'.
1461
+ */
664
1462
  static readonly Region: FoldingRangeKind;
1463
+ /**
1464
+ * Returns a {@link FoldingRangeKind} for the given value.
1465
+ *
1466
+ * @param value of the kind.
1467
+ */
665
1468
  static fromValue(value: string): FoldingRangeKind;
1469
+ /**
1470
+ * Creates a new {@link FoldingRangeKind}.
1471
+ *
1472
+ * @param value of the kind.
1473
+ */
666
1474
  constructor(value: string);
667
1475
  }
668
1476
  export interface WorkspaceEditMetadata {
669
1477
  needsConfirmation: boolean;
670
1478
  label: string;
671
1479
  description?: string;
1480
+ /**
1481
+ * @internal
1482
+ */
672
1483
  iconPath?: ThemeIcon | URI | {
673
1484
  light: URI;
674
1485
  dark: URI;
@@ -683,6 +1494,9 @@ export interface WorkspaceFileEditOptions {
683
1494
  folder?: boolean;
684
1495
  skipTrashBin?: boolean;
685
1496
  maxSize?: number;
1497
+ /**
1498
+ * @internal
1499
+ */
686
1500
  contents?: Promise<VSBuffer>;
687
1501
  }
688
1502
  export interface IWorkspaceFileEdit {
@@ -741,9 +1555,18 @@ export interface Command {
741
1555
  tooltip?: string;
742
1556
  arguments?: any[];
743
1557
  }
1558
+ /**
1559
+ * @internal
1560
+ */
744
1561
  export declare namespace Command {
1562
+ /**
1563
+ * @internal
1564
+ */
745
1565
  function is(obj: any): obj is Command;
746
1566
  }
1567
+ /**
1568
+ * @internal
1569
+ */
747
1570
  export interface CommentThreadTemplate {
748
1571
  controllerHandle: number;
749
1572
  label: string;
@@ -751,33 +1574,60 @@ export interface CommentThreadTemplate {
751
1574
  additionalCommands?: Command[];
752
1575
  deleteCommand?: Command;
753
1576
  }
1577
+ /**
1578
+ * @internal
1579
+ */
754
1580
  export interface CommentInfo<T = IRange> {
755
1581
  extensionId?: string;
756
1582
  threads: CommentThread<T>[];
757
1583
  pendingCommentThreads?: PendingCommentThread[];
758
1584
  commentingRanges: CommentingRanges;
759
1585
  }
1586
+ /**
1587
+ * @internal
1588
+ */
760
1589
  export interface CommentingRangeResourceHint {
761
1590
  schemes: readonly string[];
762
1591
  }
1592
+ /**
1593
+ * @internal
1594
+ */
763
1595
  export declare enum CommentThreadCollapsibleState {
1596
+ /**
1597
+ * Determines an item is collapsed
1598
+ */
764
1599
  Collapsed = 0,
1600
+ /**
1601
+ * Determines an item is expanded
1602
+ */
765
1603
  Expanded = 1
766
1604
  }
1605
+ /**
1606
+ * @internal
1607
+ */
767
1608
  export declare enum CommentThreadState {
768
1609
  Unresolved = 0,
769
1610
  Resolved = 1
770
1611
  }
1612
+ /**
1613
+ * @internal
1614
+ */
771
1615
  export declare enum CommentThreadApplicability {
772
1616
  Current = 0,
773
1617
  Outdated = 1
774
1618
  }
1619
+ /**
1620
+ * @internal
1621
+ */
775
1622
  export interface CommentWidget {
776
1623
  commentThread: CommentThread;
777
1624
  comment?: Comment;
778
1625
  input: string;
779
1626
  onDidChangeInput: Event<string>;
780
1627
  }
1628
+ /**
1629
+ * @internal
1630
+ */
781
1631
  export interface CommentInput {
782
1632
  value: string;
783
1633
  uri: URI;
@@ -786,6 +1636,9 @@ export interface CommentThreadRevealOptions {
786
1636
  preserveFocus: boolean;
787
1637
  focusReply: boolean;
788
1638
  }
1639
+ /**
1640
+ * @internal
1641
+ */
789
1642
  export interface CommentThread<T = IRange> {
790
1643
  isDocumentCommentThread(): this is CommentThread<IRange>;
791
1644
  commentThreadHandle: number;
@@ -813,9 +1666,15 @@ export interface CommentThread<T = IRange> {
813
1666
  isDisposed: boolean;
814
1667
  isTemplate: boolean;
815
1668
  }
1669
+ /**
1670
+ * @internal
1671
+ */
816
1672
  export interface AddedCommentThread<T = IRange> extends CommentThread<T> {
817
1673
  editorId?: string;
818
1674
  }
1675
+ /**
1676
+ * @internal
1677
+ */
819
1678
  export interface CommentingRanges {
820
1679
  readonly resource: URI;
821
1680
  ranges: IRange[];
@@ -825,6 +1684,9 @@ export interface CommentAuthorInformation {
825
1684
  name: string;
826
1685
  iconPath?: UriComponents;
827
1686
  }
1687
+ /**
1688
+ * @internal
1689
+ */
828
1690
  export interface CommentReaction {
829
1691
  readonly label?: string;
830
1692
  readonly iconPath?: UriComponents;
@@ -833,18 +1695,36 @@ export interface CommentReaction {
833
1695
  readonly canEdit?: boolean;
834
1696
  readonly reactors?: readonly string[];
835
1697
  }
1698
+ /**
1699
+ * @internal
1700
+ */
836
1701
  export interface CommentOptions {
1702
+ /**
1703
+ * An optional string to show on the comment input box when it's collapsed.
1704
+ */
837
1705
  prompt?: string;
1706
+ /**
1707
+ * An optional string to show as placeholder in the comment input box when it's focused.
1708
+ */
838
1709
  placeHolder?: string;
839
1710
  }
1711
+ /**
1712
+ * @internal
1713
+ */
840
1714
  export declare enum CommentMode {
841
1715
  Editing = 0,
842
1716
  Preview = 1
843
1717
  }
1718
+ /**
1719
+ * @internal
1720
+ */
844
1721
  export declare enum CommentState {
845
1722
  Published = 0,
846
1723
  Draft = 1
847
1724
  }
1725
+ /**
1726
+ * @internal
1727
+ */
848
1728
  export interface Comment {
849
1729
  readonly uniqueIdInThread: number;
850
1730
  readonly body: string | IMarkdownString;
@@ -867,10 +1747,25 @@ export interface PendingComment {
867
1747
  body: string;
868
1748
  cursor: IPosition;
869
1749
  }
1750
+ /**
1751
+ * @internal
1752
+ */
870
1753
  export interface CommentThreadChangedEvent<T> {
1754
+ /**
1755
+ * Pending comment threads.
1756
+ */
871
1757
  readonly pending: PendingCommentThread[];
1758
+ /**
1759
+ * Added comment threads.
1760
+ */
872
1761
  readonly added: AddedCommentThread<T>[];
1762
+ /**
1763
+ * Removed comment threads.
1764
+ */
873
1765
  readonly removed: CommentThread<T>[];
1766
+ /**
1767
+ * Changed comment threads.
1768
+ */
874
1769
  readonly changed: CommentThread<T>[];
875
1770
  }
876
1771
  export interface CodeLens {
@@ -943,13 +1838,22 @@ export interface DocumentRangeSemanticTokensProvider {
943
1838
  getLegend(): SemanticTokensLegend;
944
1839
  provideDocumentRangeSemanticTokens(model: model.ITextModel, range: Range, token: CancellationToken): ProviderResult<SemanticTokens>;
945
1840
  }
1841
+ /**
1842
+ * @internal
1843
+ */
946
1844
  export interface ITokenizationSupportChangedEvent {
947
1845
  changedLanguages: string[];
948
1846
  changedColorMap: boolean;
949
1847
  }
1848
+ /**
1849
+ * @internal
1850
+ */
950
1851
  export interface ILazyTokenizationSupport<TSupport> {
951
1852
  get tokenizationSupport(): Promise<TSupport | null>;
952
1853
  }
1854
+ /**
1855
+ * @internal
1856
+ */
953
1857
  export declare class LazyTokenizationSupport<TSupport = ITokenizationSupport> implements IDisposable, ILazyTokenizationSupport<TSupport> {
954
1858
  private readonly createSupport;
955
1859
  private _tokenizationSupport;
@@ -957,30 +1861,74 @@ export declare class LazyTokenizationSupport<TSupport = ITokenizationSupport> im
957
1861
  dispose(): void;
958
1862
  get tokenizationSupport(): Promise<TSupport | null>;
959
1863
  }
1864
+ /**
1865
+ * @internal
1866
+ */
960
1867
  export interface ITokenizationRegistry<TSupport> {
1868
+ /**
1869
+ * An event triggered when:
1870
+ * - a tokenization support is registered, unregistered or changed.
1871
+ * - the color map is changed.
1872
+ */
961
1873
  onDidChange: Event<ITokenizationSupportChangedEvent>;
1874
+ /**
1875
+ * Fire a change event for a language.
1876
+ * This is useful for languages that embed other languages.
1877
+ */
962
1878
  handleChange(languageIds: string[]): void;
1879
+ /**
1880
+ * Register a tokenization support.
1881
+ */
963
1882
  register(languageId: string, support: TSupport): IDisposable;
1883
+ /**
1884
+ * Register a tokenization support factory.
1885
+ */
964
1886
  registerFactory(languageId: string, factory: ILazyTokenizationSupport<TSupport>): IDisposable;
1887
+ /**
1888
+ * Get or create the tokenization support for a language.
1889
+ * Returns `null` if not found.
1890
+ */
965
1891
  getOrCreate(languageId: string): Promise<TSupport | null>;
1892
+ /**
1893
+ * Get the tokenization support for a language.
1894
+ * Returns `null` if not found.
1895
+ */
966
1896
  get(languageId: string): TSupport | null;
1897
+ /**
1898
+ * Returns false if a factory is still pending.
1899
+ */
967
1900
  isResolved(languageId: string): boolean;
1901
+ /**
1902
+ * Set the new color map that all tokens will use in their ColorId binary encoded bits for foreground and background.
1903
+ */
968
1904
  setColorMap(colorMap: Color[]): void;
969
1905
  getColorMap(): Color[] | null;
970
1906
  getDefaultBackground(): Color | null;
971
1907
  }
1908
+ /**
1909
+ * @internal
1910
+ */
972
1911
  export declare const TokenizationRegistry: ITokenizationRegistry<ITokenizationSupport>;
1912
+ /**
1913
+ * @internal
1914
+ */
973
1915
  export declare enum ExternalUriOpenerPriority {
974
1916
  None = 0,
975
1917
  Option = 1,
976
1918
  Default = 2,
977
1919
  Preferred = 3
978
1920
  }
1921
+ /**
1922
+ * @internal
1923
+ */
979
1924
  export type DropYieldTo = {
980
1925
  readonly kind: HierarchicalKind;
981
1926
  } | {
982
1927
  readonly mimeType: string;
983
1928
  };
1929
+ /**
1930
+ * @internal
1931
+ */
984
1932
  export interface DocumentDropEdit {
985
1933
  readonly title: string;
986
1934
  readonly kind: HierarchicalKind | undefined;
@@ -991,10 +1939,16 @@ export interface DocumentDropEdit {
991
1939
  };
992
1940
  additionalEdit?: WorkspaceEdit;
993
1941
  }
1942
+ /**
1943
+ * @internal
1944
+ */
994
1945
  export interface DocumentDropEditsSession {
995
1946
  edits: readonly DocumentDropEdit[];
996
1947
  dispose(): void;
997
1948
  }
1949
+ /**
1950
+ * @internal
1951
+ */
998
1952
  export interface DocumentDropEditProvider {
999
1953
  readonly id?: string;
1000
1954
  readonly dropMimeTypes?: readonly string[];