@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
@@ -7,23 +7,91 @@ import { IFileSystemProviderRegistrationEvent, IFileSystemProviderCapabilitiesCh
7
7
  export declare const IFileService: import("../../instantiation/common/instantiation.js").ServiceIdentifier<IFileService>;
8
8
  export interface IFileService {
9
9
  readonly _serviceBrand: undefined;
10
+ /**
11
+ * An event that is fired when a file system provider is added or removed
12
+ */
10
13
  readonly onDidChangeFileSystemProviderRegistrations: Event<IFileSystemProviderRegistrationEvent>;
14
+ /**
15
+ * An event that is fired when a registered file system provider changes its capabilities.
16
+ */
11
17
  readonly onDidChangeFileSystemProviderCapabilities: Event<IFileSystemProviderCapabilitiesChangeEvent>;
18
+ /**
19
+ * An event that is fired when a file system provider is about to be activated. Listeners
20
+ * can join this event with a long running promise to help in the activation process.
21
+ */
12
22
  readonly onWillActivateFileSystemProvider: Event<IFileSystemProviderActivationEvent>;
23
+ /**
24
+ * Registers a file system provider for a certain scheme.
25
+ */
13
26
  registerProvider(scheme: string, provider: IFileSystemProvider): IDisposable;
27
+ /**
28
+ * Returns a file system provider for a certain scheme.
29
+ */
14
30
  getProvider(scheme: string): IFileSystemProvider | undefined;
31
+ /**
32
+ * Tries to activate a provider with the given scheme.
33
+ */
15
34
  activateProvider(scheme: string): Promise<void>;
35
+ /**
36
+ * Checks if this file service can handle the given resource by
37
+ * first activating any extension that wants to be activated
38
+ * on the provided resource scheme to include extensions that
39
+ * contribute file system providers for the given resource.
40
+ */
16
41
  canHandleResource(resource: URI): Promise<boolean>;
42
+ /**
43
+ * Checks if the file service has a registered provider for the
44
+ * provided resource.
45
+ *
46
+ * Note: this does NOT account for contributed providers from
47
+ * extensions that have not been activated yet. To include those,
48
+ * consider to call `await fileService.canHandleResource(resource)`.
49
+ */
17
50
  hasProvider(resource: URI): boolean;
51
+ /**
52
+ * Checks if the provider for the provided resource has the provided file system capability.
53
+ */
18
54
  hasCapability(resource: URI, capability: FileSystemProviderCapabilities): boolean;
55
+ /**
56
+ * List the schemes and capabilities for registered file system providers
57
+ */
19
58
  listCapabilities(): Iterable<{
20
59
  scheme: string;
21
60
  capabilities: FileSystemProviderCapabilities;
22
61
  }>;
62
+ /**
63
+ * Allows to listen for file changes. The event will fire for every file within the opened workspace
64
+ * (if any) as well as all files that have been watched explicitly using the #watch() API.
65
+ */
23
66
  readonly onDidFilesChange: Event<FileChangesEvent>;
67
+ /**
68
+ * An event that is fired upon successful completion of a certain file operation.
69
+ */
24
70
  readonly onDidRunOperation: Event<FileOperationEvent>;
71
+ /**
72
+ * Resolve the properties of a file/folder identified by the resource. For a folder, children
73
+ * information is resolved as well depending on the provided options. Use `stat()` method if
74
+ * you do not need children information.
75
+ *
76
+ * If the optional parameter "resolveTo" is specified in options, the stat service is asked
77
+ * to provide a stat object that should contain the full graph of folders up to all of the
78
+ * target resources.
79
+ *
80
+ * If the optional parameter "resolveSingleChildDescendants" is specified in options,
81
+ * the stat service is asked to automatically resolve child folders that only
82
+ * contain a single element.
83
+ *
84
+ * If the optional parameter "resolveMetadata" is specified in options,
85
+ * the stat will contain metadata information such as size, mtime and etag.
86
+ */
25
87
  resolve(resource: URI, options: IResolveMetadataFileOptions): Promise<IFileStatWithMetadata>;
26
88
  resolve(resource: URI, options?: IResolveFileOptions): Promise<IFileStat>;
89
+ /**
90
+ * Same as `resolve()` but supports resolving multiple resources in parallel.
91
+ *
92
+ * If one of the resolve targets fails to resolve returns a fake `IFileStat` instead of
93
+ * making the whole call fail.
94
+ */
27
95
  resolveAll(toResolve: {
28
96
  resource: URI;
29
97
  options: IResolveMetadataFileOptions;
@@ -32,26 +100,126 @@ export interface IFileService {
32
100
  resource: URI;
33
101
  options?: IResolveFileOptions;
34
102
  }[]): Promise<IFileStatResult[]>;
103
+ /**
104
+ * Same as `resolve()` but without resolving the children of a folder if the
105
+ * resource is pointing to a folder.
106
+ */
35
107
  stat(resource: URI): Promise<IFileStatWithPartialMetadata>;
108
+ /**
109
+ * Attempts to resolve the real path of the provided resource. The real path can be
110
+ * different from the resource path for example when it is a symlink.
111
+ *
112
+ * Will return `undefined` if the real path cannot be resolved.
113
+ */
36
114
  realpath(resource: URI): Promise<URI | undefined>;
115
+ /**
116
+ * Finds out if a file/folder identified by the resource exists.
117
+ */
37
118
  exists(resource: URI): Promise<boolean>;
119
+ /**
120
+ * Read the contents of the provided resource unbuffered.
121
+ */
38
122
  readFile(resource: URI, options?: IReadFileOptions, token?: CancellationToken): Promise<IFileContent>;
123
+ /**
124
+ * Read the contents of the provided resource buffered as stream.
125
+ */
39
126
  readFileStream(resource: URI, options?: IReadFileStreamOptions, token?: CancellationToken): Promise<IFileStreamContent>;
127
+ /**
128
+ * Updates the content replacing its previous value.
129
+ *
130
+ * Emits a `FileOperation.WRITE` file operation event when successful.
131
+ */
40
132
  writeFile(resource: URI, bufferOrReadableOrStream: VSBuffer | VSBufferReadable | VSBufferReadableStream, options?: IWriteFileOptions): Promise<IFileStatWithMetadata>;
133
+ /**
134
+ * Moves the file/folder to a new path identified by the resource.
135
+ *
136
+ * The optional parameter overwrite can be set to replace an existing file at the location.
137
+ *
138
+ * Emits a `FileOperation.MOVE` file operation event when successful.
139
+ */
41
140
  move(source: URI, target: URI, overwrite?: boolean): Promise<IFileStatWithMetadata>;
141
+ /**
142
+ * Find out if a move operation is possible given the arguments. No changes on disk will
143
+ * be performed. Returns an Error if the operation cannot be done.
144
+ */
42
145
  canMove(source: URI, target: URI, overwrite?: boolean): Promise<Error | true>;
146
+ /**
147
+ * Copies the file/folder to a path identified by the resource. A folder is copied
148
+ * recursively.
149
+ *
150
+ * Emits a `FileOperation.COPY` file operation event when successful.
151
+ */
43
152
  copy(source: URI, target: URI, overwrite?: boolean): Promise<IFileStatWithMetadata>;
153
+ /**
154
+ * Find out if a copy operation is possible given the arguments. No changes on disk will
155
+ * be performed. Returns an Error if the operation cannot be done.
156
+ */
44
157
  canCopy(source: URI, target: URI, overwrite?: boolean): Promise<Error | true>;
158
+ /**
159
+ * Clones a file to a path identified by the resource. Folders are not supported.
160
+ *
161
+ * If the target path exists, it will be overwritten.
162
+ */
45
163
  cloneFile(source: URI, target: URI): Promise<void>;
164
+ /**
165
+ * Creates a new file with the given path and optional contents. The returned promise
166
+ * will have the stat model object as a result.
167
+ *
168
+ * The optional parameter content can be used as value to fill into the new file.
169
+ *
170
+ * Emits a `FileOperation.CREATE` file operation event when successful.
171
+ */
46
172
  createFile(resource: URI, bufferOrReadableOrStream?: VSBuffer | VSBufferReadable | VSBufferReadableStream, options?: ICreateFileOptions): Promise<IFileStatWithMetadata>;
173
+ /**
174
+ * Find out if a file create operation is possible given the arguments. No changes on disk will
175
+ * be performed. Returns an Error if the operation cannot be done.
176
+ */
47
177
  canCreateFile(resource: URI, options?: ICreateFileOptions): Promise<Error | true>;
178
+ /**
179
+ * Creates a new folder with the given path. The returned promise
180
+ * will have the stat model object as a result.
181
+ *
182
+ * Emits a `FileOperation.CREATE` file operation event when successful.
183
+ */
48
184
  createFolder(resource: URI): Promise<IFileStatWithMetadata>;
185
+ /**
186
+ * Deletes the provided file. The optional useTrash parameter allows to
187
+ * move the file to trash. The optional recursive parameter allows to delete
188
+ * non-empty folders recursively.
189
+ *
190
+ * Emits a `FileOperation.DELETE` file operation event when successful.
191
+ */
49
192
  del(resource: URI, options?: Partial<IFileDeleteOptions>): Promise<void>;
193
+ /**
194
+ * Find out if a delete operation is possible given the arguments. No changes on disk will
195
+ * be performed. Returns an Error if the operation cannot be done.
196
+ */
50
197
  canDelete(resource: URI, options?: Partial<IFileDeleteOptions>): Promise<Error | true>;
198
+ /**
199
+ * An event that signals an error when watching for file changes.
200
+ */
51
201
  readonly onDidWatchError: Event<Error>;
202
+ /**
203
+ * Allows to start a watcher that reports file/folder change events on the provided resource.
204
+ *
205
+ * The watcher runs correlated and thus, file events will be reported on the returned
206
+ * `IFileSystemWatcher` and not on the generic `IFileService.onDidFilesChange` event.
207
+ *
208
+ * Note: only non-recursive file watching supports event correlation for now.
209
+ */
52
210
  createWatcher(resource: URI, options: IWatchOptionsWithoutCorrelation & {
53
211
  recursive: false;
54
212
  }): IFileSystemWatcher;
213
+ /**
214
+ * Allows to start a watcher that reports file/folder change events on the provided resource.
215
+ *
216
+ * The watcher runs uncorrelated and thus will report all events from `IFileService.onDidFilesChange`.
217
+ * This means, most listeners in the application will receive your events. It is encouraged to
218
+ * use correlated watchers (via `IWatchOptionsWithCorrelation`) to limit events to your listener.
219
+ */
55
220
  watch(resource: URI, options?: IWatchOptionsWithoutCorrelation): IDisposable;
221
+ /**
222
+ * Frees up any resources occupied by this service.
223
+ */
56
224
  dispose(): void;
57
225
  }
@@ -3,11 +3,37 @@ import { IRelativePattern, ParsedPattern } from "../../../base/common/glob.js";
3
3
  import { Disposable, DisposableStore, IDisposable } from "../../../base/common/lifecycle.js";
4
4
  import { FileChangeFilter, IFileChange } from "./files.js";
5
5
  interface IWatchRequest {
6
+ /**
7
+ * The path to watch.
8
+ */
6
9
  readonly path: string;
10
+ /**
11
+ * Whether to watch recursively or not.
12
+ */
7
13
  readonly recursive: boolean;
14
+ /**
15
+ * A set of glob patterns or paths to exclude from watching.
16
+ */
8
17
  readonly excludes: string[];
18
+ /**
19
+ * An optional set of glob patterns or paths to include for
20
+ * watching. If not provided, all paths are considered for
21
+ * events.
22
+ */
9
23
  readonly includes?: Array<string | IRelativePattern>;
24
+ /**
25
+ * If provided, file change events from the watcher that
26
+ * are a result of this watch request will carry the same
27
+ * id.
28
+ */
10
29
  readonly correlationId?: number;
30
+ /**
31
+ * If provided, allows to filter the events that the watcher should consider
32
+ * for emitting. If not provided, all events are emitted.
33
+ *
34
+ * For example, to emit added and updated events, set to:
35
+ * `FileChangeFilter.ADDED | FileChangeFilter.UPDATED`.
36
+ */
11
37
  readonly filter?: FileChangeFilter;
12
38
  }
13
39
  export interface IWatchRequestWithCorrelation extends IWatchRequest {
@@ -15,10 +41,20 @@ export interface IWatchRequestWithCorrelation extends IWatchRequest {
15
41
  }
16
42
  export declare function isWatchRequestWithCorrelation(request: IWatchRequest): request is IWatchRequestWithCorrelation;
17
43
  export interface INonRecursiveWatchRequest extends IWatchRequest {
44
+ /**
45
+ * The watcher will be non-recursive.
46
+ */
18
47
  readonly recursive: false;
19
48
  }
20
49
  export interface IRecursiveWatchRequest extends IWatchRequest {
50
+ /**
51
+ * The watcher will be recursive.
52
+ */
21
53
  readonly recursive: true;
54
+ /**
55
+ * @deprecated this only exists for WSL1 support and should never
56
+ * be used in any other case.
57
+ */
22
58
  pollingInterval?: number;
23
59
  }
24
60
  export declare function isRecursiveWatchRequest(request: IWatchRequest): request is IRecursiveWatchRequest;
@@ -28,21 +64,68 @@ export interface IWatcherErrorEvent {
28
64
  readonly request?: IUniversalWatchRequest;
29
65
  }
30
66
  export interface IWatcher {
67
+ /**
68
+ * A normalized file change event from the raw events
69
+ * the watcher emits.
70
+ */
31
71
  readonly onDidChangeFile: Event<IFileChange[]>;
72
+ /**
73
+ * An event to indicate a message that should get logged.
74
+ */
32
75
  readonly onDidLogMessage: Event<ILogMessage>;
76
+ /**
77
+ * An event to indicate an error occurred from the watcher
78
+ * that is unrecoverable. Listeners should restart the
79
+ * watcher if possible.
80
+ */
33
81
  readonly onDidError: Event<IWatcherErrorEvent>;
82
+ /**
83
+ * Configures the watcher to watch according to the
84
+ * requests. Any existing watched path that is not
85
+ * in the array, will be removed from watching and
86
+ * any new path will be added to watching.
87
+ */
34
88
  watch(requests: IWatchRequest[]): Promise<void>;
89
+ /**
90
+ * Enable verbose logging in the watcher.
91
+ */
35
92
  setVerboseLogging(enabled: boolean): Promise<void>;
93
+ /**
94
+ * Stop all watchers.
95
+ */
36
96
  stop(): Promise<void>;
37
97
  }
38
98
  export interface IRecursiveWatcher extends IWatcher {
39
99
  watch(requests: IRecursiveWatchRequest[]): Promise<void>;
40
100
  }
41
101
  export interface IRecursiveWatcherWithSubscribe extends IRecursiveWatcher {
102
+ /**
103
+ * Subscribe to file events for the given path. The callback is called
104
+ * whenever a file event occurs for the path. If the watcher failed,
105
+ * the error parameter is set to `true`.
106
+ *
107
+ * @returns an `IDisposable` to stop listening to events or `undefined`
108
+ * if no events can be watched for the path given the current set of
109
+ * recursive watch requests.
110
+ */
42
111
  subscribe(path: string, callback: (error: true | null, change?: IFileChange) => void): IDisposable | undefined;
43
112
  }
44
113
  export interface IRecursiveWatcherOptions {
114
+ /**
115
+ * If `true`, will enable polling for all watchers, otherwise
116
+ * will enable it for paths included in the string array.
117
+ *
118
+ * @deprecated this only exists for WSL1 support and should never
119
+ * be used in any other case.
120
+ */
45
121
  readonly usePolling: boolean | string[];
122
+ /**
123
+ * If polling is enabled (via `usePolling`), defines the duration
124
+ * in which the watcher will poll for changes.
125
+ *
126
+ * @deprecated this only exists for WSL1 support and should never
127
+ * be used in any other case.
128
+ */
46
129
  readonly pollingInterval?: number;
47
130
  }
48
131
  export interface INonRecursiveWatcher extends IWatcher {
@@ -1,5 +1,8 @@
1
1
  export declare const IImageResizeService: import("../../instantiation/common/instantiation.js").ServiceIdentifier<IImageResizeService>;
2
2
  export interface IImageResizeService {
3
3
  readonly _serviceBrand: undefined;
4
+ /**
5
+ * Resizes an image to a maximum dimension of 768px while maintaining aspect ratio.
6
+ */
4
7
  resizeImage(data: Uint8Array | string, mimeType?: string): Promise<Uint8Array>;
5
8
  }
@@ -4,7 +4,15 @@ import './vscode-dts/vscode.d.ts'
4
4
  import { SyncDescriptor } from "./descriptors.js";
5
5
  import { BrandedService, ServiceIdentifier } from "./instantiation.js";
6
6
  export declare enum InstantiationType {
7
+ /**
8
+ * Instantiate this service as soon as a consumer depends on it. _Note_ that this
9
+ * is more costly as some upfront work is done that is likely not needed
10
+ */
7
11
  Eager = 0,
12
+ /**
13
+ * Instantiate this service as soon as a consumer uses it. This is the _better_
14
+ * way of registering a service.
15
+ */
8
16
  Delayed = 1
9
17
  }
10
18
  export declare function registerSingleton<T, Services extends BrandedService[]>(id: ServiceIdentifier<T>, ctor: new (...services: Services) => T, supportsDelayedInstantiation: InstantiationType): void;
@@ -16,6 +16,10 @@ export declare class Graph<T> {
16
16
  lookup(data: T): Node<T> | undefined;
17
17
  isEmpty(): boolean;
18
18
  toString(): string;
19
+ /**
20
+ * This is brute force and slow and **only** be used
21
+ * to trouble shoot.
22
+ */
19
23
  findCycleSlow(): string | undefined;
20
24
  private _findCycle;
21
25
  }
@@ -24,6 +24,10 @@ export interface ServicesAccessor {
24
24
  get<T>(id: ServiceIdentifier<T>): T;
25
25
  }
26
26
  export declare const IInstantiationService: ServiceIdentifier<IInstantiationService>;
27
+ /**
28
+ * Given a list of arguments as a tuple, attempt to extract the leading, non-service arguments
29
+ * to their own tuple.
30
+ */
27
31
  export type GetLeadingNonServiceArgs<TArgs extends any[]> = TArgs extends [
28
32
  ] ? [
29
33
  ] : TArgs extends [
@@ -32,16 +36,43 @@ export type GetLeadingNonServiceArgs<TArgs extends any[]> = TArgs extends [
32
36
  ] ? GetLeadingNonServiceArgs<TFirst> : TArgs;
33
37
  export interface IInstantiationService {
34
38
  readonly _serviceBrand: undefined;
39
+ /**
40
+ * Synchronously creates an instance that is denoted by the descriptor
41
+ */
35
42
  createInstance<T>(descriptor: descriptors.SyncDescriptor0<T>): T;
36
43
  createInstance<Ctor extends new (...args: any[]) => unknown, R extends InstanceType<Ctor>>(ctor: Ctor, ...args: GetLeadingNonServiceArgs<ConstructorParameters<Ctor>>): R;
44
+ /**
45
+ * Calls a function with a service accessor.
46
+ */
37
47
  invokeFunction<R, TS extends any[] = [
38
48
  ]>(fn: (accessor: ServicesAccessor, ...args: TS) => R, ...args: TS): R;
49
+ /**
50
+ * Creates a child of this service which inherits all current services
51
+ * and adds/overwrites the given services.
52
+ *
53
+ * NOTE that the returned child is `disposable` and should be disposed when not used
54
+ * anymore. This will also dispose all the services that this service has created.
55
+ */
39
56
  createChild(services: ServiceCollection, store?: DisposableStore): IInstantiationService;
57
+ /**
58
+ * Disposes this instantiation service.
59
+ *
60
+ * - Will dispose all services that this instantiation service has created.
61
+ * - Will dispose all its children but not its parent.
62
+ * - Will NOT dispose services-instances that this service has been created with
63
+ * - Will NOT dispose consumer-instances this service has created
64
+ */
40
65
  dispose(): void;
41
66
  }
67
+ /**
68
+ * Identifies a service of type `T`.
69
+ */
42
70
  export interface ServiceIdentifier<T> {
43
71
  (...args: any[]): void;
44
72
  type: T;
45
73
  }
74
+ /**
75
+ * The *only* valid way to create a {{ServiceIdentifier}}.
76
+ */
46
77
  export declare function createDecorator<T>(serviceId: string): ServiceIdentifier<T>;
47
78
  export declare function refineServiceDecorator<T1, T extends T1>(serviceIdentifier: ServiceIdentifier<T1>): ServiceIdentifier<T>;
@@ -12,13 +12,31 @@ export interface ISchemaContributions {
12
12
  export interface IJSONContributionRegistry {
13
13
  readonly onDidChangeSchema: Event<string>;
14
14
  readonly onDidChangeSchemaAssociations: Event<void>;
15
+ /**
16
+ * Register a schema to the registry.
17
+ */
15
18
  registerSchema(uri: string, unresolvedSchemaContent: IJSONSchema, store?: DisposableStore): void;
16
19
  registerSchemaAssociation(uri: string, glob: string): IDisposable;
20
+ /**
21
+ * Notifies all listeners that the content of the given schema has changed.
22
+ * @param uri The id of the schema
23
+ */
17
24
  notifySchemaChanged(uri: string): void;
25
+ /**
26
+ * Get all schemas
27
+ */
18
28
  getSchemaContributions(): ISchemaContributions;
19
29
  getSchemaAssociations(): {
20
30
  [uri: string]: string[];
21
31
  };
32
+ /**
33
+ * Gets the (compressed) content of the schema with the given schema ID (if any)
34
+ * @param uri The id of the schema
35
+ */
22
36
  getSchemaContent(uri: string): string | undefined;
37
+ /**
38
+ * Returns true if there's a schema that matches the given schema ID
39
+ * @param uri The id of the schema
40
+ */
23
41
  hasSchemaContent(uri: string): boolean;
24
42
  }
@@ -20,6 +20,13 @@ export declare abstract class AbstractKeybindingService extends Disposable imple
20
20
  _serviceBrand: undefined;
21
21
  protected readonly _onDidUpdateKeybindings: Emitter<void>;
22
22
  get onDidUpdateKeybindings(): Event<void>;
23
+ /** recently recorded keypresses that can trigger a keybinding;
24
+ *
25
+ * example: say, there's "cmd+k cmd+i" keybinding;
26
+ * the user pressed "cmd+k" (before they press "cmd+i")
27
+ * "cmd+k" would be stored in this array, when on pressing "cmd+i", the service
28
+ * would invoke the command bound by the keybinding
29
+ */
23
30
  private _currentChords;
24
31
  private _currentChordChecker;
25
32
  private _currentChordStatusMessage;
@@ -12,19 +12,46 @@ export interface IKeybindingService {
12
12
  readonly inChordMode: boolean;
13
13
  registerContainer(container: HTMLElement): IDisposable;
14
14
  onDidUpdateKeybindings: Event<void>;
15
+ /**
16
+ * Returns none, one or many (depending on keyboard layout)!
17
+ */
15
18
  resolveKeybinding(keybinding: Keybinding): ResolvedKeybinding[];
16
19
  resolveKeyboardEvent(keyboardEvent: IKeyboardEvent): ResolvedKeybinding;
17
20
  resolveUserBinding(userBinding: string): ResolvedKeybinding[];
21
+ /**
22
+ * Resolve and dispatch `keyboardEvent` and invoke the command.
23
+ */
18
24
  dispatchEvent(e: IKeyboardEvent, target: IContextKeyServiceTarget): boolean;
25
+ /**
26
+ * Resolve and dispatch `keyboardEvent`, but do not invoke the command or change inner state.
27
+ */
19
28
  softDispatch(keyboardEvent: IKeyboardEvent, target: IContextKeyServiceTarget): ResolutionResult;
29
+ /**
30
+ * Enable hold mode for this command. This is only possible if the command is current being dispatched, meaning
31
+ * we are after its keydown and before is keyup event.
32
+ *
33
+ * @returns A promise that resolves when hold stops, returns undefined if hold mode could not be enabled.
34
+ */
20
35
  enableKeybindingHoldMode(commandId: string): Promise<void> | undefined;
21
36
  dispatchByUserSettingsLabel(userSettingsLabel: string, target: IContextKeyServiceTarget): void;
37
+ /**
38
+ * Look up keybindings for a command.
39
+ * Use `lookupKeybinding` if you are interested in the preferred keybinding.
40
+ */
22
41
  lookupKeybindings(commandId: string): ResolvedKeybinding[];
42
+ /**
43
+ * Look up the preferred (last defined) keybinding for a command.
44
+ * @returns The preferred keybinding or null if the command is not bound.
45
+ */
23
46
  lookupKeybinding(commandId: string, context?: IContextKeyService, enforceContextCheck?: boolean): ResolvedKeybinding | undefined;
24
47
  getDefaultKeybindingsContent(): string;
25
48
  getDefaultKeybindings(): readonly ResolvedKeybindingItem[];
26
49
  getKeybindings(): readonly ResolvedKeybindingItem[];
27
50
  customKeybindingsCount(): number;
51
+ /**
52
+ * Will the given key event produce a character that's rendered on screen, e.g. in a
53
+ * text box. *Note* that the results of this function can be incorrect.
54
+ */
28
55
  mightProducePrintableCharacter(event: IKeyboardEvent): boolean;
29
56
  registerSchemaContribution(contribution: KeybindingsSchemaContribution): IDisposable;
30
57
  toggleLogging(): boolean;
@@ -2,8 +2,11 @@ import { ContextKeyExpression, IContext } from "../../contextkey/common/contextk
2
2
  import { IContextKeyService } from "../../contextkey/common/contextkey.service.js";
3
3
  import { ResolvedKeybindingItem } from "./resolvedKeybindingItem.js";
4
4
  export declare enum ResultKind {
5
+ /** No keybinding found this sequence of chords */
5
6
  NoMatchingKb = 0,
7
+ /** There're several keybindings that have the given sequence of chords as a prefix */
6
8
  MoreChordsNeeded = 1,
9
+ /** A single keybinding found to be dispatched/invoked */
7
10
  KbFound = 2
8
11
  }
9
12
  export type ResolutionResult = {
@@ -17,6 +20,10 @@ export type ResolutionResult = {
17
20
  isBubble: boolean;
18
21
  };
19
22
  export declare const NoMatchingKb: ResolutionResult;
23
+ /**
24
+ * Stores mappings from keybindings to commands and from commands to keybindings.
25
+ * Given a sequence of chords, `resolve`s which keybinding it matches
26
+ */
20
27
  export declare class KeybindingResolver {
21
28
  private readonly _log;
22
29
  private readonly _defaultKeybindings;
@@ -24,18 +31,34 @@ export declare class KeybindingResolver {
24
31
  private readonly _defaultBoundCommands;
25
32
  private readonly _map;
26
33
  private readonly _lookupMap;
27
- constructor(defaultKeybindings: ResolvedKeybindingItem[], overrides: ResolvedKeybindingItem[], log: (str: string) => void);
34
+ constructor(
35
+ /** built-in and extension-provided keybindings */
36
+ defaultKeybindings: ResolvedKeybindingItem[],
37
+ /** user's keybindings */
38
+ overrides: ResolvedKeybindingItem[], log: (str: string) => void);
28
39
  private static _isTargetedForRemoval;
40
+ /**
41
+ * Looks for rules containing "-commandId" and removes them.
42
+ */
29
43
  static handleRemovals(rules: ResolvedKeybindingItem[]): ResolvedKeybindingItem[];
30
44
  private _addKeyPress;
31
45
  private _addToLookupMap;
32
46
  private _removeFromLookupMap;
47
+ /**
48
+ * Returns true if it is provable `a` implies `b`.
49
+ */
33
50
  static whenIsEntirelyIncluded(a: ContextKeyExpression | null | undefined, b: ContextKeyExpression | null | undefined): boolean;
34
51
  getDefaultBoundCommands(): Map<string, boolean>;
35
52
  getDefaultKeybindings(): readonly ResolvedKeybindingItem[];
36
53
  getKeybindings(): readonly ResolvedKeybindingItem[];
37
54
  lookupKeybindings(commandId: string): ResolvedKeybindingItem[];
38
55
  lookupPrimaryKeybinding(commandId: string, context: IContextKeyService, enforceContextCheck?: boolean): ResolvedKeybindingItem | null;
56
+ /**
57
+ * Looks up a keybinding trigged as a result of pressing a sequence of chords - `[...currentChords, keypress]`
58
+ *
59
+ * Example: resolving 3 chords pressed sequentially - `cmd+k cmd+p cmd+i`:
60
+ * `currentChords = [ 'cmd+k' , 'cmd+p' ]` and `keypress = `cmd+i` - last pressed chord
61
+ */
39
62
  resolve(context: IContext, currentChords: string[], keypress: string): ResolutionResult;
40
63
  private _findCommand;
41
64
  private static _contextMatchesRules;
@@ -32,6 +32,9 @@ export interface IKeybindingRule extends IKeybindings {
32
32
  id: string;
33
33
  weight: number;
34
34
  args?: any;
35
+ /**
36
+ * Keybinding is disabled if expression returns false.
37
+ */
35
38
  when?: ContextKeyExpression | null | undefined;
36
39
  }
37
40
  export interface IExtensionKeybindingRule {
@@ -1,6 +1,9 @@
1
1
  import { SingleModifierChord, KeyCodeChord, Keybinding } from "../../../base/common/keybindings.js";
2
2
  import { OperatingSystem } from "../../../base/common/platform.js";
3
3
  import { BaseResolvedKeybinding } from "./baseResolvedKeybinding.js";
4
+ /**
5
+ * Do not instantiate. Use KeybindingService to get a ResolvedKeybinding seeded with information about the current kb layout.
6
+ */
4
7
  export declare class USLayoutResolvedKeybinding extends BaseResolvedKeybinding<KeyCodeChord> {
5
8
  constructor(chords: KeyCodeChord[], os: OperatingSystem);
6
9
  private _keyCodeToUILabel;
@@ -12,6 +15,9 @@ export declare class USLayoutResolvedKeybinding extends BaseResolvedKeybinding<K
12
15
  protected _getChordDispatch(chord: KeyCodeChord): string | null;
13
16
  static getDispatchStr(chord: KeyCodeChord): string | null;
14
17
  protected _getSingleModifierChordDispatch(keybinding: KeyCodeChord): SingleModifierChord | null;
18
+ /**
19
+ * *NOTE*: Check return value for `KeyCode.Unknown`.
20
+ */
15
21
  private static _scanCodeToKeyCode;
16
22
  private static _toKeyCodeChord;
17
23
  static resolveKeybinding(keybinding: Keybinding, os: OperatingSystem): USLayoutResolvedKeybinding[];
@@ -6,6 +6,13 @@ import { Verbosity, ResourceLabelFormatter, IFormatterChangeEvent } from "@codin
6
6
  export declare const ILabelService: import("../../instantiation/common/instantiation.js").ServiceIdentifier<ILabelService>;
7
7
  export interface ILabelService {
8
8
  readonly _serviceBrand: undefined;
9
+ /**
10
+ * Gets the human readable label for a uri.
11
+ * If `relative` is passed returns a label relative to the workspace root that the uri belongs to.
12
+ * If `noPrefix` is passed does not tildify the label and also does not prepand the root name for relative labels in a multi root scenario.
13
+ * If `separator` is passed, will use that over the defined path separator of the formatter.
14
+ * If `appendWorkspaceSuffix` is passed, will append the name of the workspace to the label.
15
+ */
9
16
  getUriLabel(resource: URI, options?: {
10
17
  relative?: boolean;
11
18
  noPrefix?: boolean;
@@ -21,5 +28,10 @@ export interface ILabelService {
21
28
  getSeparator(scheme: string, authority?: string): "/" | "\\";
22
29
  registerFormatter(formatter: ResourceLabelFormatter): IDisposable;
23
30
  onDidChangeFormatters: Event<IFormatterChangeEvent>;
31
+ /**
32
+ * Registers a formatter that's cached for the machine beyond the lifecycle
33
+ * of the current window. Disposing the formatter _will not_ remove it from
34
+ * the cache.
35
+ */
24
36
  registerCachedFormatter(formatter: ResourceLabelFormatter): IDisposable;
25
37
  }
@@ -1,4 +1,10 @@
1
1
  export interface ILayoutOffsetInfo {
2
+ /**
3
+ * Generic top offset
4
+ */
2
5
  readonly top: number;
6
+ /**
7
+ * Quick pick specific top offset.
8
+ */
3
9
  readonly quickPickTop: number;
4
10
  }