@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
@@ -30,56 +30,235 @@ export declare const DEFAULT_EDITOR_ASSOCIATION: {
30
30
  displayName: string;
31
31
  providerDisplayName: string;
32
32
  };
33
+ /**
34
+ * Side by side editor id.
35
+ */
33
36
  export declare const SIDE_BY_SIDE_EDITOR_ID = "workbench.editor.sidebysideEditor";
37
+ /**
38
+ * Text diff editor id.
39
+ */
34
40
  export declare const TEXT_DIFF_EDITOR_ID = "workbench.editors.textDiffEditor";
41
+ /**
42
+ * Binary diff editor id.
43
+ */
35
44
  export declare const BINARY_DIFF_EDITOR_ID = "workbench.editors.binaryResourceDiffEditor";
36
45
  export interface IEditorDescriptor<T extends IEditorPane> {
46
+ /**
47
+ * The unique type identifier of the editor. All instances
48
+ * of the same `IEditorPane` should have the same type
49
+ * identifier.
50
+ */
37
51
  readonly typeId: string;
52
+ /**
53
+ * The display name of the editor.
54
+ */
38
55
  readonly name: string;
56
+ /**
57
+ * Instantiates the editor pane using the provided services.
58
+ */
39
59
  instantiate(instantiationService: IInstantiationService, group: IEditorGroup): T;
60
+ /**
61
+ * Whether the descriptor is for the provided editor pane.
62
+ */
40
63
  describes(editorPane: T): boolean;
41
64
  }
65
+ /**
66
+ * The editor pane is the container for workbench editors.
67
+ */
42
68
  export interface IEditorPane extends IComposite {
69
+ /**
70
+ * An event to notify when the `IEditorControl` in this
71
+ * editor pane changes.
72
+ *
73
+ * This can be used for editor panes that are a compound
74
+ * of multiple editor controls to signal that the active
75
+ * editor control has changed when the user clicks around.
76
+ */
43
77
  readonly onDidChangeControl: Event<void>;
78
+ /**
79
+ * An optional event to notify when the selection inside the editor
80
+ * pane changed in case the editor has a selection concept.
81
+ *
82
+ * For example, in a text editor pane, the selection changes whenever
83
+ * the cursor is set to a new location.
84
+ */
44
85
  readonly onDidChangeSelection?: Event<IEditorPaneSelectionChangeEvent>;
86
+ /**
87
+ * An optional event to notify when the editor inside the pane scrolled
88
+ */
45
89
  readonly onDidChangeScroll?: Event<void>;
90
+ /**
91
+ * The assigned input of this editor.
92
+ */
46
93
  readonly input: EditorInput | undefined;
94
+ /**
95
+ * The assigned options of the editor.
96
+ */
47
97
  readonly options: IEditorOptions | undefined;
98
+ /**
99
+ * The assigned group this editor is showing in.
100
+ */
48
101
  readonly group: IEditorGroup;
102
+ /**
103
+ * The minimum width of this editor.
104
+ */
49
105
  readonly minimumWidth: number;
106
+ /**
107
+ * The maximum width of this editor.
108
+ */
50
109
  readonly maximumWidth: number;
110
+ /**
111
+ * The minimum height of this editor.
112
+ */
51
113
  readonly minimumHeight: number;
114
+ /**
115
+ * The maximum height of this editor.
116
+ */
52
117
  readonly maximumHeight: number;
118
+ /**
119
+ * An event to notify whenever minimum/maximum width/height changes.
120
+ */
53
121
  readonly onDidChangeSizeConstraints: Event<{
54
122
  width: number;
55
123
  height: number;
56
124
  } | undefined>;
125
+ /**
126
+ * The context key service for this editor. Should be overridden by
127
+ * editors that have their own ScopedContextKeyService
128
+ */
57
129
  readonly scopedContextKeyService: IContextKeyService | undefined;
130
+ /**
131
+ * Returns the underlying control of this editor. Callers need to cast
132
+ * the control to a specific instance as needed, e.g. by using the
133
+ * `isCodeEditor` helper method to access the text code editor.
134
+ *
135
+ * Use the `onDidChangeControl` event to track whenever the control
136
+ * changes.
137
+ */
58
138
  getControl(): IEditorControl | undefined;
139
+ /**
140
+ * Returns the current view state of the editor if any.
141
+ *
142
+ * This method is optional to override for the editor pane
143
+ * and should only be overridden when the pane can deal with
144
+ * `IEditorOptions.viewState` to be applied when opening.
145
+ */
59
146
  getViewState(): object | undefined;
147
+ /**
148
+ * An optional method to return the current selection in
149
+ * the editor pane in case the editor pane has a selection
150
+ * concept.
151
+ *
152
+ * Clients of this method will typically react to the
153
+ * `onDidChangeSelection` event to receive the current
154
+ * selection as needed.
155
+ */
60
156
  getSelection?(): IEditorPaneSelection | undefined;
157
+ /**
158
+ * An optional method to return the current scroll position
159
+ * of an editor inside the pane.
160
+ *
161
+ * Clients of this method will typically react to the
162
+ * `onDidChangeScroll` event to receive the current
163
+ * scroll position as needed.
164
+ */
61
165
  getScrollPosition?(): IEditorPaneScrollPosition;
166
+ /**
167
+ * An optional method to set the current scroll position
168
+ * of an editor inside the pane.
169
+ */
62
170
  setScrollPosition?(scrollPosition: IEditorPaneScrollPosition): void;
171
+ /**
172
+ * Finds out if this editor is visible or not.
173
+ */
63
174
  isVisible(): boolean;
64
175
  }
65
176
  export interface IEditorPaneSelectionChangeEvent {
177
+ /**
178
+ * More details for how the selection was made.
179
+ */
66
180
  reason: EditorPaneSelectionChangeReason;
67
181
  }
68
182
  export declare enum EditorPaneSelectionChangeReason {
183
+ /**
184
+ * The selection was changed as a result of a programmatic
185
+ * method invocation.
186
+ *
187
+ * For a text editor pane, this for example can be a selection
188
+ * being restored from previous view state automatically.
189
+ */
69
190
  PROGRAMMATIC = 1,
191
+ /**
192
+ * The selection was changed by the user.
193
+ *
194
+ * This typically means the user changed the selection
195
+ * with mouse or keyboard.
196
+ */
70
197
  USER = 2,
198
+ /**
199
+ * The selection was changed as a result of editing in
200
+ * the editor pane.
201
+ *
202
+ * For a text editor pane, this for example can be typing
203
+ * in the text of the editor pane.
204
+ */
71
205
  EDIT = 3,
206
+ /**
207
+ * The selection was changed as a result of a navigation
208
+ * action.
209
+ *
210
+ * For a text editor pane, this for example can be a result
211
+ * of selecting an entry from a text outline view.
212
+ */
72
213
  NAVIGATION = 4,
214
+ /**
215
+ * The selection was changed as a result of a jump action
216
+ * from within the editor pane.
217
+ *
218
+ * For a text editor pane, this for example can be a result
219
+ * of invoking "Go to definition" from a symbol.
220
+ */
73
221
  JUMP = 5
74
222
  }
75
223
  export interface IEditorPaneSelection {
224
+ /**
225
+ * Asks to compare this selection to another selection.
226
+ */
76
227
  compare(otherSelection: IEditorPaneSelection): EditorPaneSelectionCompareResult;
228
+ /**
229
+ * Asks to massage the provided `options` in a way
230
+ * that the selection can be restored when the editor
231
+ * is opened again.
232
+ *
233
+ * For a text editor this means to apply the selected
234
+ * line and column as text editor options.
235
+ */
77
236
  restore(options: IEditorOptions): IEditorOptions;
237
+ /**
238
+ * Only used for logging to print more info about the selection.
239
+ */
78
240
  log?(): string;
79
241
  }
80
242
  export declare enum EditorPaneSelectionCompareResult {
243
+ /**
244
+ * The selections are identical.
245
+ */
81
246
  IDENTICAL = 1,
247
+ /**
248
+ * The selections are similar.
249
+ *
250
+ * For a text editor this can mean that the one
251
+ * selection is in close proximity to the other
252
+ * selection.
253
+ *
254
+ * Upstream clients may decide in this case to
255
+ * not treat the selection different from the
256
+ * previous one because it is not distinct enough.
257
+ */
82
258
  SIMILAR = 2,
259
+ /**
260
+ * The selections are entirely different.
261
+ */
83
262
  DIFFERENT = 3
84
263
  }
85
264
  export interface IEditorPaneWithSelection extends IEditorPane {
@@ -93,60 +272,190 @@ export interface IEditorPaneWithScrolling extends IEditorPane {
93
272
  setScrollPosition(position: IEditorPaneScrollPosition): void;
94
273
  }
95
274
  export declare function isEditorPaneWithScrolling(editorPane: IEditorPane | undefined): editorPane is IEditorPaneWithScrolling;
275
+ /**
276
+ * Scroll position of a pane
277
+ */
96
278
  export interface IEditorPaneScrollPosition {
97
279
  readonly scrollTop: number;
98
280
  readonly scrollLeft?: number;
99
281
  }
282
+ /**
283
+ * Try to retrieve the view state for the editor pane that
284
+ * has the provided editor input opened, if at all.
285
+ *
286
+ * This method will return `undefined` if the editor input
287
+ * is not visible in any of the opened editor panes.
288
+ */
100
289
  export declare function findViewStateForEditor(input: EditorInput, group: GroupIdentifier, editorService: IEditorService): object | undefined;
290
+ /**
291
+ * Overrides `IEditorPane` where `input` and `group` are known to be set.
292
+ */
101
293
  export interface IVisibleEditorPane extends IEditorPane {
102
294
  readonly input: EditorInput;
103
295
  }
296
+ /**
297
+ * The text editor pane is the container for workbench text editors.
298
+ */
104
299
  export interface ITextEditorPane extends IEditorPane {
300
+ /**
301
+ * Returns the underlying text editor widget of this editor.
302
+ */
105
303
  getControl(): IEditor | undefined;
106
304
  }
305
+ /**
306
+ * The text editor pane is the container for workbench text diff editors.
307
+ */
107
308
  export interface ITextDiffEditorPane extends IEditorPane {
309
+ /**
310
+ * Returns the underlying text diff editor widget of this editor.
311
+ */
108
312
  getControl(): IDiffEditor | undefined;
109
313
  }
314
+ /**
315
+ * Marker interface for the control inside an editor pane. Callers
316
+ * have to cast the control to work with it, e.g. via methods
317
+ * such as `isCodeEditor(control)`.
318
+ */
110
319
  export interface IEditorControl extends ICompositeControl {
111
320
  }
112
321
  export interface IFileEditorFactory {
322
+ /**
323
+ * The type identifier of the file editor.
324
+ */
113
325
  typeId: string;
326
+ /**
327
+ * Creates new editor capable of showing files.
328
+ */
114
329
  createFileEditor(resource: URI, preferredResource: URI | undefined, preferredName: string | undefined, preferredDescription: string | undefined, preferredEncoding: string | undefined, preferredLanguageId: string | undefined, preferredContents: string | undefined, instantiationService: IInstantiationService): IFileEditorInput;
330
+ /**
331
+ * Check if the provided object is a file editor.
332
+ */
115
333
  isFileEditor(obj: unknown): obj is IFileEditorInput;
116
334
  }
117
335
  export interface IEditorFactoryRegistry {
336
+ /**
337
+ * Registers the file editor factory to use for file editors.
338
+ */
118
339
  registerFileEditorFactory(factory: IFileEditorFactory): void;
340
+ /**
341
+ * Returns the file editor factory to use for file editors.
342
+ */
119
343
  getFileEditorFactory(): IFileEditorFactory;
344
+ /**
345
+ * Registers a editor serializer for the given editor to the registry.
346
+ * An editor serializer is capable of serializing and deserializing editor
347
+ * from string data.
348
+ *
349
+ * @param editorTypeId the type identifier of the editor
350
+ * @param serializer the editor serializer for serialization/deserialization
351
+ */
120
352
  registerEditorSerializer<Services extends BrandedService[]>(editorTypeId: string, ctor: {
121
353
  new (...Services: Services): IEditorSerializer;
122
354
  }): IDisposable;
355
+ /**
356
+ * Returns the editor serializer for the given editor.
357
+ */
123
358
  getEditorSerializer(editor: EditorInput): IEditorSerializer | undefined;
124
359
  getEditorSerializer(editorTypeId: string): IEditorSerializer | undefined;
360
+ /**
361
+ * Starts the registry by providing the required services.
362
+ */
125
363
  start(accessor: ServicesAccessor): void;
126
364
  }
127
365
  export interface IEditorSerializer {
366
+ /**
367
+ * Determines whether the given editor can be serialized by the serializer.
368
+ */
128
369
  canSerialize(editor: EditorInput): boolean;
370
+ /**
371
+ * Returns a string representation of the provided editor that contains enough information
372
+ * to deserialize back to the original editor from the deserialize() method.
373
+ */
129
374
  serialize(editor: EditorInput): string | undefined;
375
+ /**
376
+ * Returns an editor from the provided serialized form of the editor. This form matches
377
+ * the value returned from the serialize() method.
378
+ */
130
379
  deserialize(instantiationService: IInstantiationService, serializedEditor: string): EditorInput | undefined;
131
380
  }
132
381
  export interface IUntitledTextResourceEditorInput extends IBaseTextResourceEditorInput {
382
+ /**
383
+ * Optional resource for the untitled editor. Depending on the value, the editor:
384
+ * - should get a unique name if `undefined` (for example `Untitled-1`)
385
+ * - should use the resource directly if the scheme is `untitled:`
386
+ * - should change the scheme to `untitled:` otherwise and assume an associated path
387
+ *
388
+ * Untitled editors with associated path behave slightly different from other untitled
389
+ * editors:
390
+ * - they are dirty right when opening
391
+ * - they will not ask for a file path when saving but use the associated path
392
+ */
133
393
  readonly resource: URI | undefined;
134
394
  }
395
+ /**
396
+ * A resource side by side editor input shows 2 editors side by side but
397
+ * without highlighting any differences.
398
+ *
399
+ * Note: both sides will be resolved as editor individually. As such, it is
400
+ * possible to show 2 different editors side by side.
401
+ *
402
+ * @see {@link IResourceDiffEditorInput} for a variant that compares 2 editors.
403
+ */
135
404
  export interface IResourceSideBySideEditorInput extends IBaseUntypedEditorInput {
405
+ /**
406
+ * The right hand side editor to open inside a side-by-side editor.
407
+ */
136
408
  readonly primary: Omit<IResourceEditorInput, "options"> | Omit<ITextResourceEditorInput, "options"> | Omit<IUntitledTextResourceEditorInput, "options">;
409
+ /**
410
+ * The left hand side editor to open inside a side-by-side editor.
411
+ */
137
412
  readonly secondary: Omit<IResourceEditorInput, "options"> | Omit<ITextResourceEditorInput, "options"> | Omit<IUntitledTextResourceEditorInput, "options">;
138
413
  }
414
+ /**
415
+ * A resource diff editor input compares 2 editors side by side
416
+ * highlighting the differences.
417
+ *
418
+ * Note: both sides must be resolvable to the same editor, or
419
+ * a text based presentation will be used as fallback.
420
+ */
139
421
  export interface IResourceDiffEditorInput extends IBaseUntypedEditorInput {
422
+ /**
423
+ * The left hand side editor to open inside a diff editor.
424
+ */
140
425
  readonly original: Omit<IResourceEditorInput, "options"> | Omit<ITextResourceEditorInput, "options"> | Omit<IUntitledTextResourceEditorInput, "options">;
426
+ /**
427
+ * The right hand side editor to open inside a diff editor.
428
+ */
141
429
  readonly modified: Omit<IResourceEditorInput, "options"> | Omit<ITextResourceEditorInput, "options"> | Omit<IUntitledTextResourceEditorInput, "options">;
142
430
  }
143
431
  export interface ITextResourceDiffEditorInput extends IBaseTextResourceEditorInput {
432
+ /**
433
+ * The left hand side text editor to open inside a diff editor.
434
+ */
144
435
  readonly original: Omit<ITextResourceEditorInput, "options"> | Omit<IUntitledTextResourceEditorInput, "options">;
436
+ /**
437
+ * The right hand side text editor to open inside a diff editor.
438
+ */
145
439
  readonly modified: Omit<ITextResourceEditorInput, "options"> | Omit<IUntitledTextResourceEditorInput, "options">;
146
440
  }
441
+ /**
442
+ * A resource list diff editor input compares multiple resources side by side
443
+ * highlighting the differences.
444
+ */
147
445
  export interface IResourceMultiDiffEditorInput extends IBaseUntypedEditorInput {
446
+ /**
447
+ * A unique identifier of this multi diff editor input.
448
+ * If a second multi diff editor with the same uri is opened, the existing one is revealed instead (even if the resources list is different!).
449
+ */
148
450
  readonly multiDiffSource?: URI;
451
+ /**
452
+ * The list of resources to compare.
453
+ * If not set, the resources are dynamically derived from the {@link multiDiffSource}.
454
+ */
149
455
  readonly resources?: IMultiDiffEditorResource[];
456
+ /**
457
+ * Whether the editor should be serialized and stored for subsequent sessions.
458
+ */
150
459
  readonly isTransient?: boolean;
151
460
  }
152
461
  export interface IMultiDiffEditorResource extends IResourceDiffEditorInput {
@@ -155,10 +464,29 @@ export interface IMultiDiffEditorResource extends IResourceDiffEditorInput {
155
464
  export type IResourceMergeEditorInputSide = (Omit<IResourceEditorInput, "options"> | Omit<ITextResourceEditorInput, "options">) & {
156
465
  detail?: string;
157
466
  };
467
+ /**
468
+ * A resource merge editor input compares multiple editors
469
+ * highlighting the differences for merging.
470
+ *
471
+ * Note: all sides must be resolvable to the same editor, or
472
+ * a text based presentation will be used as fallback.
473
+ */
158
474
  export interface IResourceMergeEditorInput extends IBaseUntypedEditorInput {
475
+ /**
476
+ * The one changed version of the file.
477
+ */
159
478
  readonly input1: IResourceMergeEditorInputSide;
479
+ /**
480
+ * The second changed version of the file.
481
+ */
160
482
  readonly input2: IResourceMergeEditorInputSide;
483
+ /**
484
+ * The base common ancestor of the file to merge.
485
+ */
161
486
  readonly base: Omit<IResourceEditorInput, "options"> | Omit<ITextResourceEditorInput, "options">;
487
+ /**
488
+ * The resulting output of the merge.
489
+ */
162
490
  readonly result: Omit<IResourceEditorInput, "options"> | Omit<ITextResourceEditorInput, "options">;
163
491
  }
164
492
  export declare function isResourceEditorInput(editor: unknown): editor is IResourceEditorInput;
@@ -173,27 +501,72 @@ export declare enum Verbosity {
173
501
  LONG = 2
174
502
  }
175
503
  export declare enum SaveReason {
504
+ /**
505
+ * Explicit user gesture.
506
+ */
176
507
  EXPLICIT = 1,
508
+ /**
509
+ * Auto save after a timeout.
510
+ */
177
511
  AUTO = 2,
512
+ /**
513
+ * Auto save after editor focus change.
514
+ */
178
515
  FOCUS_CHANGE = 3,
516
+ /**
517
+ * Auto save after window change.
518
+ */
179
519
  WINDOW_CHANGE = 4
180
520
  }
181
521
  export type SaveSource = string;
182
522
  declare class SaveSourceFactory {
183
523
  private readonly mapIdToSaveSource;
524
+ /**
525
+ * Registers a `SaveSource` with an identifier and label
526
+ * to the registry so that it can be used in save operations.
527
+ */
184
528
  registerSource(id: string, label: string): SaveSource;
185
529
  getSourceLabel(source: SaveSource): string;
186
530
  }
187
531
  export declare const SaveSourceRegistry: SaveSourceFactory;
188
532
  export interface ISaveOptions {
533
+ /**
534
+ * An indicator how the save operation was triggered.
535
+ */
189
536
  reason?: SaveReason;
537
+ /**
538
+ * An indicator about the source of the save operation.
539
+ *
540
+ * Must use `SaveSourceRegistry.registerSource()` to obtain.
541
+ */
190
542
  readonly source?: SaveSource;
543
+ /**
544
+ * Forces to save the contents of the working copy
545
+ * again even if the working copy is not dirty.
546
+ */
191
547
  readonly force?: boolean;
548
+ /**
549
+ * Instructs the save operation to skip any save participants.
550
+ */
192
551
  readonly skipSaveParticipants?: boolean;
552
+ /**
553
+ * A hint as to which file systems should be available for saving.
554
+ */
193
555
  readonly availableFileSystems?: string[];
194
556
  }
195
557
  export interface IRevertOptions {
558
+ /**
559
+ * Forces to load the contents of the working copy
560
+ * again even if the working copy is not dirty.
561
+ */
196
562
  readonly force?: boolean;
563
+ /**
564
+ * A soft revert will clear dirty state of a working copy
565
+ * but will not attempt to load it from its persisted state.
566
+ *
567
+ * This option may be used in scenarios where an editor is
568
+ * closed and where we do not require to load the contents.
569
+ */
197
570
  readonly soft?: boolean;
198
571
  }
199
572
  export interface IMoveResult {
@@ -201,15 +574,53 @@ export interface IMoveResult {
201
574
  options?: IEditorOptions;
202
575
  }
203
576
  export declare enum EditorInputCapabilities {
577
+ /**
578
+ * Signals no specific capability for the input.
579
+ */
204
580
  None = 0,
581
+ /**
582
+ * Signals that the input is readonly.
583
+ */
205
584
  Readonly = 2,
585
+ /**
586
+ * Signals that the input is untitled.
587
+ */
206
588
  Untitled = 4,
589
+ /**
590
+ * Signals that the input can only be shown in one group
591
+ * and not be split into multiple groups.
592
+ */
207
593
  Singleton = 8,
594
+ /**
595
+ * Signals that the input requires workspace trust.
596
+ */
208
597
  RequiresTrust = 16,
598
+ /**
599
+ * Signals that the editor can split into 2 in the same
600
+ * editor group.
601
+ */
209
602
  CanSplitInGroup = 32,
603
+ /**
604
+ * Signals that the editor wants its description to be
605
+ * visible when presented to the user. By default, a UI
606
+ * component may decide to hide the description portion
607
+ * for brevity.
608
+ */
210
609
  ForceDescription = 64,
610
+ /**
611
+ * Signals that the editor supports dropping into the
612
+ * editor by holding shift.
613
+ */
211
614
  CanDropIntoEditor = 128,
615
+ /**
616
+ * Signals that the editor is composed of multiple editors
617
+ * within.
618
+ */
212
619
  MultipleEditors = 256,
620
+ /**
621
+ * Signals that the editor cannot be in a dirty state
622
+ * and may still have unsaved changes
623
+ */
213
624
  Scratchpad = 512
214
625
  }
215
626
  export type IUntypedEditorInput = IResourceEditorInput | ITextResourceEditorInput | IUntitledTextResourceEditorInput | IResourceDiffEditorInput | IResourceMultiDiffEditorInput | IResourceSideBySideEditorInput | IResourceMergeEditorInput;
@@ -217,33 +628,111 @@ export declare abstract class AbstractEditorInput extends Disposable {
217
628
  }
218
629
  export declare function isEditorInput(editor: unknown): editor is EditorInput;
219
630
  export interface EditorInputWithPreferredResource {
631
+ /**
632
+ * An editor may provide an additional preferred resource alongside
633
+ * the `resource` property. While the `resource` property serves as
634
+ * unique identifier of the editor that should be used whenever we
635
+ * compare to other editors, the `preferredResource` should be used
636
+ * in places where e.g. the resource is shown to the user.
637
+ *
638
+ * For example: on Windows and macOS, the same URI with different
639
+ * casing may point to the same file. The editor may chose to
640
+ * "normalize" the URIs so that only one editor opens for different
641
+ * URIs. But when displaying the editor label to the user, the
642
+ * preferred URI should be used.
643
+ *
644
+ * Not all editors have a `preferredResource`. The `EditorResourceAccessor`
645
+ * utility can be used to always get the right resource without having
646
+ * to do instanceof checks.
647
+ */
220
648
  readonly preferredResource: URI;
221
649
  }
222
650
  export interface ISideBySideEditorInput extends EditorInput {
651
+ /**
652
+ * The primary editor input is shown on the right hand side.
653
+ */
223
654
  primary: EditorInput;
655
+ /**
656
+ * The secondary editor input is shown on the left hand side.
657
+ */
224
658
  secondary: EditorInput;
225
659
  }
226
660
  export declare function isSideBySideEditorInput(editor: unknown): editor is ISideBySideEditorInput;
227
661
  export interface IDiffEditorInput extends EditorInput {
662
+ /**
663
+ * The modified (primary) editor input is shown on the right hand side.
664
+ */
228
665
  modified: EditorInput;
666
+ /**
667
+ * The original (secondary) editor input is shown on the left hand side.
668
+ */
229
669
  original: EditorInput;
230
670
  }
231
671
  export declare function isDiffEditorInput(editor: unknown): editor is IDiffEditorInput;
232
672
  export interface IUntypedFileEditorInput extends ITextResourceEditorInput {
673
+ /**
674
+ * A marker to create a `IFileEditorInput` from this untyped input.
675
+ */
233
676
  forceFile: true;
234
677
  }
678
+ /**
679
+ * This is a tagging interface to declare an editor input being capable of dealing with files. It is only used in the editor registry
680
+ * to register this kind of input to the platform.
681
+ */
235
682
  export interface IFileEditorInput extends EditorInput, IEncodingSupport, ILanguageSupport, EditorInputWithPreferredResource {
683
+ /**
684
+ * Gets the resource this file input is about. This will always be the
685
+ * canonical form of the resource, so it may differ from the original
686
+ * resource that was provided to create the input. Use `preferredResource`
687
+ * for the form as it was created.
688
+ */
236
689
  readonly resource: URI;
690
+ /**
691
+ * Sets the preferred resource to use for this file input.
692
+ */
237
693
  setPreferredResource(preferredResource: URI): void;
694
+ /**
695
+ * Sets the preferred name to use for this file input.
696
+ *
697
+ * Note: for certain file schemes the input may decide to ignore this
698
+ * name and use our standard naming. Specifically for schemes we own,
699
+ * we do not let others override the name.
700
+ */
238
701
  setPreferredName(name: string): void;
702
+ /**
703
+ * Sets the preferred description to use for this file input.
704
+ *
705
+ * Note: for certain file schemes the input may decide to ignore this
706
+ * description and use our standard naming. Specifically for schemes we own,
707
+ * we do not let others override the description.
708
+ */
239
709
  setPreferredDescription(description: string): void;
710
+ /**
711
+ * Sets the preferred encoding to use for this file input.
712
+ */
240
713
  setPreferredEncoding(encoding: string): void;
714
+ /**
715
+ * Sets the preferred language id to use for this file input.
716
+ */
241
717
  setPreferredLanguageId(languageId: string): void;
718
+ /**
719
+ * Sets the preferred contents to use for this file input.
720
+ */
242
721
  setPreferredContents(contents: string): void;
722
+ /**
723
+ * Forces this file input to open as binary instead of text.
724
+ */
243
725
  setForceOpenAsBinary(): void;
726
+ /**
727
+ * Figure out if the file input has been resolved or not.
728
+ */
244
729
  isResolved(): boolean;
245
730
  }
246
731
  export interface IFileLimitedEditorInputOptions extends IEditorOptions {
732
+ /**
733
+ * If provided, the size of the file will be checked against the limits
734
+ * and an error will be thrown if any limit is exceeded.
735
+ */
247
736
  readonly limits?: IFileReadLimits;
248
737
  }
249
738
  export interface IFileEditorInputOptions extends ITextEditorOptions, IFileLimitedEditorInputOptions {
@@ -258,7 +747,18 @@ export interface EditorInputWithOptionsAndGroup extends EditorInputWithOptions {
258
747
  }
259
748
  export declare function isEditorInputWithOptions(editor: unknown): editor is EditorInputWithOptions;
260
749
  export declare function isEditorInputWithOptionsAndGroup(editor: unknown): editor is EditorInputWithOptionsAndGroup;
750
+ /**
751
+ * Context passed into `EditorPane#setInput` to give additional
752
+ * context information around why the editor was opened.
753
+ */
261
754
  export interface IEditorOpenContext {
755
+ /**
756
+ * An indicator if the editor input is new for the group the editor is in.
757
+ * An editor is new for a group if it was not part of the group before and
758
+ * otherwise was already opened in the group and just became the active editor.
759
+ *
760
+ * This hint can e.g. be used to decide whether to restore view state or not.
761
+ */
262
762
  newInGroup?: boolean;
263
763
  }
264
764
  export interface IEditorIdentifier {
@@ -266,32 +766,73 @@ export interface IEditorIdentifier {
266
766
  editor: EditorInput;
267
767
  }
268
768
  export declare function isEditorIdentifier(identifier: unknown): identifier is IEditorIdentifier;
769
+ /**
770
+ * The editor commands context is used for editor commands (e.g. in the editor title)
771
+ * and we must ensure that the context is serializable because it potentially travels
772
+ * to the extension host!
773
+ */
269
774
  export interface IEditorCommandsContext {
270
775
  groupId: GroupIdentifier;
271
776
  editorIndex?: number;
272
777
  preserveFocus?: boolean;
273
778
  }
274
779
  export declare function isEditorCommandsContext(context: unknown): context is IEditorCommandsContext;
780
+ /**
781
+ * More information around why an editor was closed in the model.
782
+ */
275
783
  export declare enum EditorCloseContext {
784
+ /**
785
+ * No specific context for closing (e.g. explicit user gesture).
786
+ */
276
787
  UNKNOWN = 0,
788
+ /**
789
+ * The editor closed because it was replaced with another editor.
790
+ * This can either happen via explicit replace call or when an
791
+ * editor is in preview mode and another editor opens.
792
+ */
277
793
  REPLACE = 1,
794
+ /**
795
+ * The editor closed as a result of moving it to another group.
796
+ */
278
797
  MOVE = 2,
798
+ /**
799
+ * The editor closed because another editor turned into preview
800
+ * and this used to be the preview editor before.
801
+ */
279
802
  UNPIN = 3
280
803
  }
281
804
  export interface IEditorCloseEvent extends IEditorIdentifier {
805
+ /**
806
+ * More information around why the editor was closed.
807
+ */
282
808
  readonly context: EditorCloseContext;
809
+ /**
810
+ * The index of the editor before closing.
811
+ */
283
812
  readonly index: number;
813
+ /**
814
+ * Whether the editor was sticky or not.
815
+ */
284
816
  readonly sticky: boolean;
285
817
  }
286
818
  export interface IActiveEditorChangeEvent {
819
+ /**
820
+ * The new active editor or `undefined` if the group is empty.
821
+ */
287
822
  editor: EditorInput | undefined;
288
823
  }
289
824
  export interface IEditorWillMoveEvent extends IEditorIdentifier {
825
+ /**
826
+ * The target group of the move operation.
827
+ */
290
828
  readonly target: GroupIdentifier;
291
829
  }
292
830
  export interface IEditorWillOpenEvent extends IEditorIdentifier {
293
831
  }
294
832
  export interface IWillInstantiateEditorPaneEvent {
833
+ /**
834
+ * @see {@link IEditorDescriptor.typeId}
835
+ */
295
836
  readonly typeId: string;
296
837
  }
297
838
  export type GroupIdentifier = number;
@@ -388,18 +929,61 @@ export declare enum SideBySideEditor {
388
929
  ANY = 4
389
930
  }
390
931
  export interface IFindEditorOptions {
932
+ /**
933
+ * Whether to consider any or both side by side editor as matching.
934
+ * By default, side by side editors will not be considered
935
+ * as matching, even if the editor is opened in one of the sides.
936
+ */
391
937
  supportSideBySide?: SideBySideEditor.PRIMARY | SideBySideEditor.SECONDARY | SideBySideEditor.ANY;
938
+ /**
939
+ * The order in which to consider editors for finding.
940
+ */
392
941
  order?: EditorsOrder;
393
942
  }
394
943
  export interface IMatchEditorOptions {
944
+ /**
945
+ * Whether to consider a side by side editor as matching.
946
+ * By default, side by side editors will not be considered
947
+ * as matching, even if the editor is opened in one of the sides.
948
+ */
395
949
  supportSideBySide?: SideBySideEditor.ANY | SideBySideEditor.BOTH;
950
+ /**
951
+ * Only consider an editor to match when the
952
+ * `candidate === editor` but not when
953
+ * `candidate.matches(editor)`.
954
+ */
396
955
  strictEquals?: boolean;
397
956
  }
398
957
  export interface IEditorResourceAccessorOptions {
958
+ /**
959
+ * Allows to access the `resource(s)` of side by side editors. If not
960
+ * specified, a `resource` for a side by side editor will always be
961
+ * `undefined`.
962
+ */
399
963
  supportSideBySide?: SideBySideEditor;
964
+ /**
965
+ * Allows to filter the scheme to consider. A resource scheme that does
966
+ * not match a filter will not be considered.
967
+ */
400
968
  filterByScheme?: string | string[];
401
969
  }
402
970
  declare class EditorResourceAccessorImpl {
971
+ /**
972
+ * The original URI of an editor is the URI that was used originally to open
973
+ * the editor and should be used whenever the URI is presented to the user,
974
+ * e.g. as a label together with utility methods such as `ResourceLabel` or
975
+ * `ILabelService` that can turn this original URI into the best form for
976
+ * presenting.
977
+ *
978
+ * In contrast, the canonical URI (#getCanonicalUri) may be different and should
979
+ * be used whenever the URI is used to e.g. compare with other editors or when
980
+ * caching certain data based on the URI.
981
+ *
982
+ * For example: on Windows and macOS, the same file URI with different casing may
983
+ * point to the same file. The editor may chose to "normalize" the URI into a canonical
984
+ * form so that only one editor opens for same file URIs with different casing. As
985
+ * such, the original URI and the canonical URI can be different.
986
+ */
403
987
  getOriginalUri(editor: EditorInput | IUntypedEditorInput | undefined | null): URI | undefined;
404
988
  getOriginalUri(editor: EditorInput | IUntypedEditorInput | undefined | null, options: IEditorResourceAccessorOptions & {
405
989
  supportSideBySide?: SideBySideEditor.PRIMARY | SideBySideEditor.SECONDARY | SideBySideEditor.ANY;
@@ -415,6 +999,19 @@ declare class EditorResourceAccessorImpl {
415
999
  secondary?: URI;
416
1000
  } | undefined;
417
1001
  private getSideEditors;
1002
+ /**
1003
+ * The canonical URI of an editor is the true unique identifier of the editor
1004
+ * and should be used whenever the URI is used e.g. to compare with other
1005
+ * editors or when caching certain data based on the URI.
1006
+ *
1007
+ * In contrast, the original URI (#getOriginalUri) may be different and should
1008
+ * be used whenever the URI is presented to the user, e.g. as a label.
1009
+ *
1010
+ * For example: on Windows and macOS, the same file URI with different casing may
1011
+ * point to the same file. The editor may chose to "normalize" the URI into a canonical
1012
+ * form so that only one editor opens for same file URIs with different casing. As
1013
+ * such, the original URI and the canonical URI can be different.
1014
+ */
418
1015
  getCanonicalUri(editor: EditorInput | IUntypedEditorInput | undefined | null): URI | undefined;
419
1016
  getCanonicalUri(editor: EditorInput | IUntypedEditorInput | undefined | null, options: IEditorResourceAccessorOptions & {
420
1017
  supportSideBySide?: SideBySideEditor.PRIMARY | SideBySideEditor.SECONDARY | SideBySideEditor.ANY;
@@ -455,13 +1052,33 @@ export interface IEditorMemento<T> {
455
1052
  }
456
1053
  export declare function pathsToEditors(paths: IPathData[] | undefined, fileService: IFileService, logService: ILogService): Promise<ReadonlyArray<IResourceEditorInput | IUntitledTextResourceEditorInput | undefined>>;
457
1054
  export declare enum EditorsOrder {
1055
+ /**
1056
+ * Editors sorted by most recent activity (most recent active first)
1057
+ */
458
1058
  MOST_RECENTLY_ACTIVE = 0,
1059
+ /**
1060
+ * Editors sorted by sequential order
1061
+ */
459
1062
  SEQUENTIAL = 1
460
1063
  }
461
1064
  export declare function isTextEditorViewState(candidate: unknown): candidate is IEditorViewState;
462
1065
  export interface IEditorOpenErrorOptions {
1066
+ /**
1067
+ * If set to true, the message will be taken
1068
+ * from the error message entirely and not be
1069
+ * composed with more text.
1070
+ */
463
1071
  forceMessage?: boolean;
1072
+ /**
1073
+ * If set, will override the severity of the error.
1074
+ */
464
1075
  forceSeverity?: Severity;
1076
+ /**
1077
+ * If set to true, the error may be shown in a dialog
1078
+ * to the user if the editor opening was triggered by
1079
+ * user action. Otherwise and by default, the error will
1080
+ * be shown as place holder in the editor area.
1081
+ */
465
1082
  allowDialog?: boolean;
466
1083
  }
467
1084
  export interface IEditorOpenError extends IErrorWithActions, IEditorOpenErrorOptions {