@codingame/monaco-vscode-api 4.4.1 → 4.5.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (1116) hide show
  1. package/README.md +2 -8
  2. package/extensions.js +4 -4
  3. package/lifecycle.js +2 -2
  4. package/localExtensionHost.js +9 -8
  5. package/missing-services.js +200 -194
  6. package/monaco.d.ts +1 -1
  7. package/monaco.js +8 -8
  8. package/package.json +8 -8
  9. package/service-override/tools/editor.d.ts +13 -13
  10. package/service-override/tools/editor.js +10 -10
  11. package/service-override/tools/views.js +6 -6
  12. package/services.d.ts +69 -58
  13. package/services.js +62 -59
  14. package/tools/l10n.js +2 -2
  15. package/vscode/src/vs/base/common/labels.js +2 -2
  16. package/vscode/src/vs/base/common/worker/simpleWorker.js +2 -6
  17. package/vscode/src/vs/editor/browser/config/editorConfiguration.js +1 -1
  18. package/vscode/src/vs/editor/browser/controller/textAreaHandler.js +1 -1
  19. package/vscode/src/vs/editor/browser/controller/textAreaInput.js +2 -2
  20. package/vscode/src/vs/editor/browser/editorExtensions.d.ts +1 -1
  21. package/vscode/src/vs/editor/browser/editorExtensions.js +4 -3
  22. package/vscode/src/vs/editor/browser/services/abstractCodeEditorService.js +1 -1
  23. package/vscode/src/vs/editor/browser/services/editorWorkerService.js +1 -1
  24. package/vscode/src/vs/editor/browser/services/hoverService/hoverService.d.ts +6 -5
  25. package/vscode/src/vs/editor/browser/services/hoverService/hoverService.js +5 -5
  26. package/vscode/src/vs/editor/browser/services/hoverService/hoverWidget.js +4 -4
  27. package/vscode/src/vs/editor/browser/services/openerService.js +1 -1
  28. package/vscode/src/vs/editor/browser/widget/codeEditor/codeEditorWidget.js +9 -6
  29. package/vscode/src/vs/editor/browser/widget/codeEditor/embeddedCodeEditorWidget.js +5 -5
  30. package/vscode/src/vs/editor/browser/widget/diffEditor/commands.js +1 -1
  31. package/vscode/src/vs/editor/browser/widget/diffEditor/components/accessibleDiffViewer.js +2 -1
  32. package/vscode/src/vs/editor/browser/widget/diffEditor/components/diffEditorEditors.js +1 -1
  33. package/vscode/src/vs/editor/browser/widget/diffEditor/components/diffEditorViewZones/diffEditorViewZones.js +2 -2
  34. package/vscode/src/vs/editor/browser/widget/diffEditor/diffEditorOptions.js +1 -1
  35. package/vscode/src/vs/editor/browser/widget/diffEditor/diffEditorWidget.js +4 -3
  36. package/vscode/src/vs/editor/browser/widget/diffEditor/diffProviderFactoryService.js +1 -1
  37. package/vscode/src/vs/editor/browser/widget/diffEditor/embeddedDiffEditorWidget.js +3 -3
  38. package/vscode/src/vs/editor/browser/widget/diffEditor/features/gutterFeature.js +3 -2
  39. package/vscode/src/vs/editor/browser/widget/diffEditor/features/overviewRulerFeature.js +1 -1
  40. package/vscode/src/vs/editor/browser/widget/markdownRenderer/browser/markdownRenderer.js +1 -1
  41. package/vscode/src/vs/editor/browser/widget/multiDiffEditor/multiDiffEditorWidgetImpl.js +1 -1
  42. package/vscode/src/vs/editor/common/languages/languageConfigurationRegistry.js +1 -1
  43. package/vscode/src/vs/editor/common/languages/nullTokenize.js +1 -1
  44. package/vscode/src/vs/editor/common/model/textModel.js +1 -1
  45. package/vscode/src/vs/editor/common/services/languageFeatureDebounce.js +2 -2
  46. package/vscode/src/vs/editor/common/services/markerDecorationsService.js +2 -1
  47. package/vscode/src/vs/editor/common/services/modelService.js +2 -2
  48. package/vscode/src/vs/editor/common/services/semanticTokensProviderStyling.js +3 -2
  49. package/vscode/src/vs/editor/common/services/semanticTokensStylingService.js +2 -2
  50. package/vscode/src/vs/editor/common/standaloneStrings.js +17 -1
  51. package/vscode/src/vs/editor/contrib/anchorSelect/browser/anchorSelect.js +2 -1
  52. package/vscode/src/vs/editor/contrib/clipboard/browser/clipboard.js +1 -1
  53. package/vscode/src/vs/editor/contrib/codeAction/browser/codeAction.js +4 -3
  54. package/vscode/src/vs/editor/contrib/codeAction/browser/codeActionController.js +5 -5
  55. package/vscode/src/vs/editor/contrib/codeAction/browser/codeActionKeybindingResolver.js +1 -1
  56. package/vscode/src/vs/editor/contrib/codeAction/browser/lightBulbWidget.js +2 -2
  57. package/vscode/src/vs/editor/contrib/codelens/browser/codeLensCache.js +2 -1
  58. package/vscode/src/vs/editor/contrib/codelens/browser/codelensController.js +3 -3
  59. package/vscode/src/vs/editor/contrib/colorPicker/browser/color.js +1 -1
  60. package/vscode/src/vs/editor/contrib/colorPicker/browser/colorDetector.js +1 -1
  61. package/vscode/src/vs/editor/contrib/colorPicker/browser/colorHoverParticipant.js +1 -1
  62. package/vscode/src/vs/editor/contrib/colorPicker/browser/standaloneColorPickerWidget.js +2 -2
  63. package/vscode/src/vs/editor/contrib/contextmenu/browser/contextmenu.js +8 -6
  64. package/vscode/src/vs/editor/contrib/dropOrPasteInto/browser/copyPasteController.js +3 -3
  65. package/vscode/src/vs/editor/contrib/dropOrPasteInto/browser/defaultProviders.js +1 -1
  66. package/vscode/src/vs/editor/contrib/dropOrPasteInto/browser/dropIntoEditorController.js +1 -1
  67. package/vscode/src/vs/editor/contrib/dropOrPasteInto/browser/postEditWidget.js +3 -3
  68. package/vscode/src/vs/editor/contrib/editorState/browser/keybindingCancellation.js +2 -1
  69. package/vscode/src/vs/editor/contrib/find/browser/findController.js +13 -9
  70. package/vscode/src/vs/editor/contrib/folding/browser/folding.d.ts +2 -2
  71. package/vscode/src/vs/editor/contrib/folding/browser/folding.js +4 -3
  72. package/vscode/src/vs/editor/contrib/format/browser/format.js +3 -2
  73. package/vscode/src/vs/editor/contrib/format/browser/formatActions.js +6 -3
  74. package/vscode/src/vs/editor/contrib/gotoError/browser/gotoError.js +2 -1
  75. package/vscode/src/vs/editor/contrib/gotoError/browser/gotoErrorWidget.js +6 -5
  76. package/vscode/src/vs/editor/contrib/gotoError/browser/markerNavigationService.js +3 -2
  77. package/vscode/src/vs/editor/contrib/gotoSymbol/browser/goToCommands.js +4 -3
  78. package/vscode/src/vs/editor/contrib/gotoSymbol/browser/link/goToDefinitionAtPosition.js +1 -1
  79. package/vscode/src/vs/editor/contrib/gotoSymbol/browser/peek/referencesController.js +7 -5
  80. package/vscode/src/vs/editor/contrib/gotoSymbol/browser/peek/referencesTree.js +2 -2
  81. package/vscode/src/vs/editor/contrib/gotoSymbol/browser/peek/referencesWidget.js +4 -4
  82. package/vscode/src/vs/editor/contrib/gotoSymbol/browser/symbolNavigation.js +4 -3
  83. package/vscode/src/vs/editor/contrib/hover/browser/contentHover.js +4 -4
  84. package/vscode/src/vs/editor/contrib/hover/browser/hover.js +2 -2
  85. package/vscode/src/vs/editor/contrib/hover/browser/markdownHoverParticipant.js +2 -2
  86. package/vscode/src/vs/editor/contrib/hover/browser/markerHoverParticipant.js +1 -1
  87. package/vscode/src/vs/editor/contrib/indentation/browser/indentation.js +1 -1
  88. package/vscode/src/vs/editor/contrib/inlayHints/browser/inlayHintsController.js +6 -3
  89. package/vscode/src/vs/editor/contrib/inlayHints/browser/inlayHintsHover.js +2 -2
  90. package/vscode/src/vs/editor/contrib/inlayHints/browser/inlayHintsLocations.js +7 -5
  91. package/vscode/src/vs/editor/contrib/inlineCompletions/browser/commands.js +1 -1
  92. package/vscode/src/vs/editor/contrib/inlineCompletions/browser/hoverParticipant.js +3 -3
  93. package/vscode/src/vs/editor/contrib/inlineCompletions/browser/inlineCompletionsController.js +6 -5
  94. package/vscode/src/vs/editor/contrib/inlineCompletions/browser/inlineCompletionsHintsWidget.js +7 -6
  95. package/vscode/src/vs/editor/contrib/inlineCompletions/browser/inlineCompletionsModel.js +1 -1
  96. package/vscode/src/vs/editor/contrib/inlineEdit/browser/hoverParticipant.js +1 -1
  97. package/vscode/src/vs/editor/contrib/inlineEdit/browser/inlineEditController.js +4 -3
  98. package/vscode/src/vs/editor/contrib/inlineEdit/browser/inlineEditHintsWidget.js +6 -5
  99. package/vscode/src/vs/editor/contrib/linesOperations/browser/linesOperations.js +1 -1
  100. package/vscode/src/vs/editor/contrib/linkedEditing/browser/linkedEditing.js +2 -1
  101. package/vscode/src/vs/editor/contrib/links/browser/links.js +2 -2
  102. package/vscode/src/vs/editor/contrib/message/browser/messageController.js +3 -2
  103. package/vscode/src/vs/editor/contrib/parameterHints/browser/parameterHintsWidget.js +2 -2
  104. package/vscode/src/vs/editor/contrib/peekView/browser/peekView.js +2 -1
  105. package/vscode/src/vs/editor/contrib/rename/browser/rename.js +4 -4
  106. package/vscode/src/vs/editor/contrib/rename/browser/renameWidget.js +5 -4
  107. package/vscode/src/vs/editor/contrib/semanticTokens/browser/documentSemanticTokens.js +2 -2
  108. package/vscode/src/vs/editor/contrib/semanticTokens/browser/viewportSemanticTokens.js +2 -2
  109. package/vscode/src/vs/editor/contrib/semanticTokens/common/getSemanticTokens.js +2 -1
  110. package/vscode/src/vs/editor/contrib/snippet/browser/snippetController2.js +3 -2
  111. package/vscode/src/vs/editor/contrib/snippet/browser/snippetSession.js +2 -2
  112. package/vscode/src/vs/editor/contrib/stickyScroll/browser/stickyScrollActions.js +1 -1
  113. package/vscode/src/vs/editor/contrib/stickyScroll/browser/stickyScrollController.js +2 -2
  114. package/vscode/src/vs/editor/contrib/suggest/browser/suggestAlternatives.js +2 -1
  115. package/vscode/src/vs/editor/contrib/suggest/browser/suggestController.js +6 -4
  116. package/vscode/src/vs/editor/contrib/suggest/browser/suggestInlineCompletions.js +1 -1
  117. package/vscode/src/vs/editor/contrib/suggest/browser/suggestMemory.js +3 -2
  118. package/vscode/src/vs/editor/contrib/suggest/browser/suggestModel.js +6 -6
  119. package/vscode/src/vs/editor/contrib/suggest/browser/suggestWidget.js +3 -3
  120. package/vscode/src/vs/editor/contrib/suggest/browser/suggestWidgetRenderer.js +1 -1
  121. package/vscode/src/vs/editor/contrib/suggest/browser/suggestWidgetStatus.js +3 -2
  122. package/vscode/src/vs/editor/contrib/suggest/browser/wordContextKey.js +2 -1
  123. package/vscode/src/vs/editor/contrib/unicodeHighlighter/browser/unicodeHighlighter.js +4 -4
  124. package/vscode/src/vs/editor/contrib/unusualLineTerminators/browser/unusualLineTerminators.js +1 -2
  125. package/vscode/src/vs/editor/contrib/wordHighlighter/browser/wordHighlighter.js +3 -2
  126. package/vscode/src/vs/editor/editor.api.d.ts +80 -22
  127. package/vscode/src/vs/editor/standalone/browser/quickInput/standaloneQuickInputService.js +3 -3
  128. package/vscode/src/vs/editor/standalone/browser/standaloneCodeEditor.js +13 -11
  129. package/vscode/src/vs/editor/standalone/browser/standaloneCodeEditorService.js +2 -2
  130. package/vscode/src/vs/editor/standalone/browser/standaloneLayoutService.js +1 -1
  131. package/vscode/src/vs/editor/standalone/browser/standaloneServices.js +31 -26
  132. package/vscode/src/vs/platform/accessibility/browser/accessibilityService.js +3 -3
  133. package/vscode/src/vs/platform/accessibility/common/accessibility.d.ts +1 -17
  134. package/vscode/src/vs/platform/accessibility/common/accessibility.js +1 -3
  135. package/vscode/src/vs/platform/accessibility/common/accessibility.service.d.ts +19 -0
  136. package/vscode/src/vs/platform/accessibility/common/accessibility.service.js +3 -0
  137. package/vscode/src/vs/platform/accessibilitySignal/browser/accessibilitySignalService.d.ts +1 -20
  138. package/vscode/src/vs/platform/accessibilitySignal/browser/accessibilitySignalService.js +4 -6
  139. package/vscode/src/vs/platform/accessibilitySignal/browser/accessibilitySignalService.service.d.ts +22 -0
  140. package/vscode/src/vs/platform/accessibilitySignal/browser/accessibilitySignalService.service.js +3 -0
  141. package/vscode/src/vs/platform/actionWidget/browser/actionList.js +2 -2
  142. package/vscode/src/vs/platform/actionWidget/browser/actionWidget.js +3 -2
  143. package/vscode/src/vs/platform/actions/browser/buttonbar.js +6 -5
  144. package/vscode/src/vs/platform/actions/browser/dropdownWithPrimaryActionViewItem.js +5 -5
  145. package/vscode/src/vs/platform/actions/browser/floatingMenu.js +2 -2
  146. package/vscode/src/vs/platform/actions/browser/menuEntryActionViewItem.js +9 -8
  147. package/vscode/src/vs/platform/actions/browser/toolbar.js +6 -5
  148. package/vscode/src/vs/platform/actions/common/actions.d.ts +8 -24
  149. package/vscode/src/vs/platform/actions/common/actions.js +5 -5
  150. package/vscode/src/vs/platform/actions/common/actions.service.d.ts +25 -0
  151. package/vscode/src/vs/platform/actions/common/actions.service.js +3 -0
  152. package/vscode/src/vs/platform/actions/common/menuService.js +3 -3
  153. package/vscode/src/vs/platform/clipboard/browser/clipboardService.js +2 -2
  154. package/vscode/src/vs/platform/clipboard/common/{clipboardService.d.ts → clipboardService.service.d.ts} +14 -14
  155. package/vscode/src/vs/platform/commands/common/commands.d.ts +2 -10
  156. package/vscode/src/vs/platform/commands/common/commands.js +2 -3
  157. package/vscode/src/vs/platform/commands/common/commands.service.d.ts +13 -0
  158. package/vscode/src/vs/platform/commands/common/commands.service.js +3 -0
  159. package/vscode/src/vs/platform/configuration/common/configuration.d.ts +10 -57
  160. package/vscode/src/vs/platform/configuration/common/configuration.js +1 -3
  161. package/vscode/src/vs/platform/configuration/common/configuration.service.d.ts +56 -0
  162. package/vscode/src/vs/platform/configuration/common/configuration.service.js +3 -0
  163. package/vscode/src/vs/platform/configuration/common/configurations.js +2 -2
  164. package/vscode/src/vs/platform/contextkey/browser/contextKeyService.js +3 -2
  165. package/vscode/src/vs/platform/contextkey/common/contextkey.d.ts +2 -16
  166. package/vscode/src/vs/platform/contextkey/common/contextkey.js +1 -3
  167. package/vscode/src/vs/platform/contextkey/common/contextkey.service.d.ts +22 -0
  168. package/vscode/src/vs/platform/contextkey/common/contextkey.service.js +3 -0
  169. package/vscode/src/vs/platform/contextview/browser/contextMenuService.js +7 -6
  170. package/vscode/src/vs/platform/contextview/browser/contextView.d.ts +3 -21
  171. package/vscode/src/vs/platform/contextview/browser/contextView.service.d.ts +25 -0
  172. package/vscode/src/vs/platform/contextview/browser/contextViewService.js +1 -1
  173. package/vscode/src/vs/platform/diagnostics/common/diagnostics.js +1 -3
  174. package/vscode/src/vs/platform/diagnostics/common/diagnostics.service.js +4 -0
  175. package/vscode/src/vs/platform/dialogs/common/dialogs.d.ts +1 -121
  176. package/vscode/src/vs/platform/dialogs/common/dialogs.js +7 -4
  177. package/vscode/src/vs/platform/dialogs/common/dialogs.service.d.ts +125 -0
  178. package/vscode/src/vs/platform/dialogs/common/dialogs.service.js +4 -0
  179. package/vscode/src/vs/platform/dnd/browser/dnd.js +3 -3
  180. package/vscode/src/vs/platform/environment/common/environment.d.ts +1 -41
  181. package/vscode/src/vs/platform/environment/common/environment.service.d.ts +45 -0
  182. package/vscode/src/vs/platform/extensionManagement/common/extensionEnablementService.js +3 -2
  183. package/vscode/src/vs/platform/extensionManagement/common/extensionManagement.d.ts +2 -33
  184. package/vscode/src/vs/platform/extensionManagement/common/extensionManagement.js +1 -6
  185. package/vscode/src/vs/platform/extensionManagement/common/extensionManagement.service.d.ts +37 -0
  186. package/vscode/src/vs/platform/extensionManagement/common/extensionManagement.service.js +6 -0
  187. package/vscode/src/vs/platform/extensionManagement/common/extensionStorage.js +4 -6
  188. package/vscode/src/vs/platform/extensionManagement/common/extensionStorage.service.js +3 -0
  189. package/vscode/src/vs/platform/extensionManagement/common/extensionsProfileScannerService.service.js +3 -0
  190. package/vscode/src/vs/platform/extensionManagement/common/extensionsScannerService.service.js +3 -0
  191. package/vscode/src/vs/platform/extensionRecommendations/common/extensionRecommendations.service.js +3 -0
  192. package/vscode/src/vs/platform/extensionResourceLoader/common/extensionResourceLoader.js +1 -3
  193. package/vscode/src/vs/platform/extensionResourceLoader/common/{extensionResourceLoader.d.ts → extensionResourceLoader.service.d.ts} +10 -10
  194. package/vscode/src/vs/platform/extensionResourceLoader/common/extensionResourceLoader.service.js +3 -0
  195. package/vscode/src/vs/platform/extensions/common/extensions.js +1 -3
  196. package/vscode/src/vs/platform/extensions/common/extensions.service.js +3 -0
  197. package/vscode/src/vs/platform/files/common/files.d.ts +2 -211
  198. package/vscode/src/vs/platform/files/common/files.js +1 -3
  199. package/vscode/src/vs/platform/files/common/files.service.d.ts +218 -0
  200. package/vscode/src/vs/platform/files/common/files.service.js +3 -0
  201. package/vscode/src/vs/platform/history/browser/contextScopedHistoryWidget.js +2 -1
  202. package/vscode/src/vs/platform/hover/browser/hover.d.ts +1 -35
  203. package/vscode/src/vs/platform/hover/browser/hover.js +3 -4
  204. package/vscode/src/vs/platform/hover/browser/hover.service.d.ts +38 -0
  205. package/vscode/src/vs/platform/hover/browser/hover.service.js +3 -0
  206. package/vscode/src/vs/platform/keybinding/common/keybinding.d.ts +1 -57
  207. package/vscode/src/vs/platform/keybinding/common/keybinding.service.d.ts +62 -0
  208. package/vscode/src/vs/platform/keybinding/common/keybindingResolver.d.ts +2 -1
  209. package/vscode/src/vs/platform/keyboardLayout/common/keyboardLayout.js +1 -3
  210. package/vscode/src/vs/platform/keyboardLayout/common/keyboardLayout.service.js +3 -0
  211. package/vscode/src/vs/platform/label/common/label.d.ts +1 -37
  212. package/vscode/src/vs/platform/label/common/label.service.d.ts +39 -0
  213. package/vscode/src/vs/platform/languagePacks/common/languagePacks.d.ts +1 -10
  214. package/vscode/src/vs/platform/languagePacks/common/languagePacks.js +2 -4
  215. package/vscode/src/vs/platform/languagePacks/common/languagePacks.service.d.ts +13 -0
  216. package/vscode/src/vs/platform/languagePacks/common/languagePacks.service.js +3 -0
  217. package/vscode/src/vs/platform/layout/browser/layoutService.d.ts +1 -83
  218. package/vscode/src/vs/platform/layout/browser/layoutService.service.d.ts +84 -0
  219. package/vscode/src/vs/platform/list/browser/listService.js +8 -7
  220. package/vscode/src/vs/platform/list/browser/listService.service.js +3 -0
  221. package/vscode/src/vs/platform/log/common/log.d.ts +1 -77
  222. package/vscode/src/vs/platform/log/common/log.js +1 -4
  223. package/vscode/src/vs/platform/log/common/log.service.d.ts +87 -0
  224. package/vscode/src/vs/platform/log/common/log.service.js +4 -0
  225. package/vscode/src/vs/platform/markers/common/markers.d.ts +1 -19
  226. package/vscode/src/vs/platform/markers/common/markers.js +1 -3
  227. package/vscode/src/vs/platform/markers/common/markers.service.d.ts +22 -0
  228. package/vscode/src/vs/platform/markers/common/markers.service.js +3 -0
  229. package/vscode/src/vs/platform/notification/common/notification.d.ts +2 -91
  230. package/vscode/src/vs/platform/notification/common/notification.js +2 -5
  231. package/vscode/src/vs/platform/notification/common/notification.service.d.ts +94 -0
  232. package/vscode/src/vs/platform/notification/common/notification.service.js +3 -0
  233. package/vscode/src/vs/platform/opener/browser/link.js +1 -1
  234. package/vscode/src/vs/platform/opener/common/opener.d.ts +1 -41
  235. package/vscode/src/vs/platform/opener/common/opener.js +1 -3
  236. package/vscode/src/vs/platform/opener/common/opener.service.d.ts +45 -0
  237. package/vscode/src/vs/platform/opener/common/opener.service.js +3 -0
  238. package/vscode/src/vs/platform/policy/common/policy.js +1 -3
  239. package/vscode/src/vs/platform/policy/common/policy.service.js +3 -0
  240. package/vscode/src/vs/platform/product/common/productService.js +1 -3
  241. package/vscode/src/vs/platform/product/common/productService.service.js +3 -0
  242. package/vscode/src/vs/platform/progress/common/progress.js +2 -4
  243. package/vscode/src/vs/platform/progress/common/progress.service.js +4 -0
  244. package/vscode/src/vs/platform/quickinput/browser/quickAccess.js +2 -1
  245. package/vscode/src/vs/platform/quickinput/browser/quickInput.js +3 -2
  246. package/vscode/src/vs/platform/quickinput/browser/quickInputController.js +1 -1
  247. package/vscode/src/vs/platform/quickinput/browser/quickInputService.js +7 -5
  248. package/vscode/src/vs/platform/quickinput/browser/quickInputTree.js +1 -1
  249. package/vscode/src/vs/platform/quickinput/common/quickInput.d.ts +13 -81
  250. package/vscode/src/vs/platform/quickinput/common/quickInput.js +1 -3
  251. package/vscode/src/vs/platform/quickinput/common/quickInput.service.d.ts +82 -0
  252. package/vscode/src/vs/platform/quickinput/common/quickInput.service.js +3 -0
  253. package/vscode/src/vs/platform/remote/common/remoteAuthorityResolver.d.ts +1 -26
  254. package/vscode/src/vs/platform/remote/common/remoteAuthorityResolver.js +1 -3
  255. package/vscode/src/vs/platform/remote/common/remoteAuthorityResolver.service.d.ts +27 -0
  256. package/vscode/src/vs/platform/remote/common/remoteAuthorityResolver.service.js +3 -0
  257. package/vscode/src/vs/platform/remote/common/{remoteExtensionsScanner.js → remoteExtensionsScanner.service.js} +1 -2
  258. package/vscode/src/vs/platform/remote/common/remoteSocketFactoryService.d.ts +2 -16
  259. package/vscode/src/vs/platform/remote/common/remoteSocketFactoryService.service.d.ts +20 -0
  260. package/vscode/src/vs/platform/remote/common/remoteSocketFactoryService.service.js +3 -0
  261. package/vscode/src/vs/platform/request/common/request.js +1 -3
  262. package/vscode/src/vs/platform/request/common/request.service.js +3 -0
  263. package/vscode/src/vs/platform/secrets/common/secrets.d.ts +1 -10
  264. package/vscode/src/vs/platform/secrets/common/secrets.service.d.ts +11 -0
  265. package/vscode/src/vs/platform/secrets/common/secrets.service.js +3 -0
  266. package/vscode/src/vs/platform/sign/common/sign.js +1 -3
  267. package/vscode/src/vs/platform/sign/common/sign.service.js +4 -0
  268. package/vscode/src/vs/platform/storage/common/storage.d.ts +3 -151
  269. package/vscode/src/vs/platform/storage/common/storage.js +1 -3
  270. package/vscode/src/vs/platform/storage/common/storage.service.d.ts +158 -0
  271. package/vscode/src/vs/platform/storage/common/storage.service.js +3 -0
  272. package/vscode/src/vs/platform/telemetry/common/telemetry.d.ts +1 -34
  273. package/vscode/src/vs/platform/telemetry/common/telemetry.js +1 -4
  274. package/vscode/src/vs/platform/telemetry/common/telemetry.service.d.ts +35 -0
  275. package/vscode/src/vs/platform/telemetry/common/telemetry.service.js +4 -0
  276. package/vscode/src/vs/platform/terminal/common/terminal.d.ts +1 -12
  277. package/vscode/src/vs/platform/terminal/common/terminal.js +1 -3
  278. package/vscode/src/vs/platform/terminal/common/terminal.service.d.ts +14 -0
  279. package/vscode/src/vs/platform/terminal/common/terminal.service.js +3 -0
  280. package/vscode/src/vs/platform/theme/common/themeService.d.ts +2 -14
  281. package/vscode/src/vs/platform/theme/common/themeService.js +1 -3
  282. package/vscode/src/vs/platform/theme/common/themeService.service.d.ts +16 -0
  283. package/vscode/src/vs/platform/theme/common/themeService.service.js +3 -0
  284. package/vscode/src/vs/platform/tunnel/common/tunnel.d.ts +1 -31
  285. package/vscode/src/vs/platform/tunnel/common/tunnel.js +3 -5
  286. package/vscode/src/vs/platform/tunnel/common/tunnel.service.d.ts +34 -0
  287. package/vscode/src/vs/platform/tunnel/common/tunnel.service.js +3 -0
  288. package/vscode/src/vs/platform/undoRedo/common/undoRedo.js +1 -3
  289. package/vscode/src/vs/platform/undoRedo/common/undoRedo.service.js +3 -0
  290. package/vscode/src/vs/platform/undoRedo/common/undoRedoService.js +4 -4
  291. package/vscode/src/vs/platform/update/common/update.js +1 -3
  292. package/vscode/src/vs/platform/update/common/update.service.js +3 -0
  293. package/vscode/src/vs/platform/uriIdentity/common/uriIdentity.service.d.ts +38 -0
  294. package/vscode/src/vs/platform/uriIdentity/common/uriIdentityService.js +1 -1
  295. package/vscode/src/vs/platform/userDataProfile/common/userDataProfile.d.ts +1 -23
  296. package/vscode/src/vs/platform/userDataProfile/common/userDataProfile.js +6 -7
  297. package/vscode/src/vs/platform/userDataProfile/common/userDataProfile.service.d.ts +27 -0
  298. package/vscode/src/vs/platform/userDataProfile/common/userDataProfile.service.js +3 -0
  299. package/vscode/src/vs/platform/userDataSync/common/abstractSynchronizer.js +11 -9
  300. package/vscode/src/vs/platform/userDataSync/common/ignoredExtensions.service.js +3 -0
  301. package/vscode/src/vs/platform/userDataSync/common/userDataSync.js +1 -11
  302. package/vscode/src/vs/platform/userDataSync/common/userDataSync.service.js +11 -0
  303. package/vscode/src/vs/platform/userDataSync/common/userDataSyncAccount.service.js +3 -0
  304. package/vscode/src/vs/platform/userDataSync/common/userDataSyncMachines.js +6 -8
  305. package/vscode/src/vs/platform/userDataSync/common/userDataSyncMachines.service.js +3 -0
  306. package/vscode/src/vs/platform/userDataSync/common/userDataSyncStoreService.js +9 -7
  307. package/vscode/src/vs/platform/workspace/common/editSessions.js +1 -3
  308. package/vscode/src/vs/platform/workspace/common/editSessions.service.js +3 -0
  309. package/vscode/src/vs/platform/workspace/common/workspace.d.ts +1 -53
  310. package/vscode/src/vs/platform/workspace/common/workspace.js +1 -3
  311. package/vscode/src/vs/platform/workspace/common/workspace.service.d.ts +57 -0
  312. package/vscode/src/vs/platform/workspace/common/workspace.service.js +3 -0
  313. package/vscode/src/vs/platform/workspace/common/workspaceTrust.d.ts +1 -42
  314. package/vscode/src/vs/platform/workspace/common/workspaceTrust.service.d.ts +46 -0
  315. package/vscode/src/vs/platform/workspace/common/workspaceTrust.service.js +5 -0
  316. package/vscode/src/vs/platform/workspaces/common/workspaces.js +1 -3
  317. package/vscode/src/vs/platform/workspaces/common/workspaces.service.js +3 -0
  318. package/vscode/src/vs/workbench/api/browser/statusBarService.js +1 -1
  319. package/vscode/src/vs/workbench/api/common/extHost.api.impl.js +2 -1
  320. package/vscode/src/vs/workbench/api/common/extHost.common.services.js +1 -1
  321. package/vscode/src/vs/workbench/api/common/extHostApiDeprecationService.js +1 -1
  322. package/vscode/src/vs/workbench/api/common/extHostCommands.js +1 -1
  323. package/vscode/src/vs/workbench/api/common/extHostConfiguration.js +1 -1
  324. package/vscode/src/vs/workbench/api/common/extHostDecorations.js +1 -1
  325. package/vscode/src/vs/workbench/api/common/extHostDiagnostics.js +1 -1
  326. package/vscode/src/vs/workbench/api/common/extHostDocumentsAndEditors.js +1 -1
  327. package/vscode/src/vs/workbench/api/common/extHostExtensionActivator.js +1 -1
  328. package/vscode/src/vs/workbench/api/common/extHostExtensionService.js +1 -1
  329. package/vscode/src/vs/workbench/api/common/extHostLanguageModels.js +1 -1
  330. package/vscode/src/vs/workbench/api/common/extHostLocalizationService.js +1 -1
  331. package/vscode/src/vs/workbench/api/common/extHostLogService.js +1 -1
  332. package/vscode/src/vs/workbench/api/common/extHostMessageService.js +1 -1
  333. package/vscode/src/vs/workbench/api/common/extHostNotebookEditors.js +1 -1
  334. package/vscode/src/vs/workbench/api/common/extHostNotebookKernels.js +1 -1
  335. package/vscode/src/vs/workbench/api/common/extHostOutput.js +2 -1
  336. package/vscode/src/vs/workbench/api/common/extHostRequireInterceptor.js +1 -1
  337. package/vscode/src/vs/workbench/api/common/extHostSCM.js +1 -1
  338. package/vscode/src/vs/workbench/api/common/extHostSearch.js +1 -1
  339. package/vscode/src/vs/workbench/api/common/extHostStoragePaths.js +1 -1
  340. package/vscode/src/vs/workbench/api/common/extHostTask.js +1 -1
  341. package/vscode/src/vs/workbench/api/common/extHostTelemetry.js +2 -1
  342. package/vscode/src/vs/workbench/api/common/extHostTesting.js +1 -1
  343. package/vscode/src/vs/workbench/api/common/extHostTunnelService.js +1 -1
  344. package/vscode/src/vs/workbench/api/common/extHostWorkspace.js +4 -3
  345. package/vscode/src/vs/workbench/api/common/extensionHostMain.js +1 -1
  346. package/vscode/src/vs/workbench/browser/actions/developerActions.js +15 -15
  347. package/vscode/src/vs/workbench/browser/actions/layoutActions.js +13 -11
  348. package/vscode/src/vs/workbench/browser/actions/textInputActions.js +3 -3
  349. package/vscode/src/vs/workbench/browser/actions/widgetNavigationCommands.js +2 -1
  350. package/vscode/src/vs/workbench/browser/actions/windowActions.js +9 -9
  351. package/vscode/src/vs/workbench/browser/actions/workspaceActions.js +9 -9
  352. package/vscode/src/vs/workbench/browser/actions/workspaceCommands.js +10 -9
  353. package/vscode/src/vs/workbench/browser/actions.d.ts +3 -2
  354. package/vscode/src/vs/workbench/browser/actions.js +3 -2
  355. package/vscode/src/vs/workbench/browser/codeeditor.js +5 -4
  356. package/vscode/src/vs/workbench/browser/composite.d.ts +3 -3
  357. package/vscode/src/vs/workbench/browser/dnd.js +9 -8
  358. package/vscode/src/vs/workbench/browser/editor.js +3 -3
  359. package/vscode/src/vs/workbench/browser/labels.js +7 -7
  360. package/vscode/src/vs/workbench/browser/panecomposite.d.ts +6 -6
  361. package/vscode/src/vs/workbench/browser/panecomposite.js +6 -6
  362. package/vscode/src/vs/workbench/browser/part.d.ts +4 -3
  363. package/vscode/src/vs/workbench/browser/parts/auxiliarybar/auxiliaryBarActions.js +2 -2
  364. package/vscode/src/vs/workbench/browser/parts/compositeBarActions.js +6 -6
  365. package/vscode/src/vs/workbench/browser/parts/editor/binaryDiffEditor.js +6 -6
  366. package/vscode/src/vs/workbench/browser/parts/editor/binaryEditor.js +1 -1
  367. package/vscode/src/vs/workbench/browser/parts/editor/breadcrumbs.js +2 -3
  368. package/vscode/src/vs/workbench/browser/parts/editor/breadcrumbs.service.js +3 -0
  369. package/vscode/src/vs/workbench/browser/parts/editor/breadcrumbsControl.js +15 -10
  370. package/vscode/src/vs/workbench/browser/parts/editor/breadcrumbsModel.js +3 -3
  371. package/vscode/src/vs/workbench/browser/parts/editor/breadcrumbsPicker.js +8 -5
  372. package/vscode/src/vs/workbench/browser/parts/editor/diffEditorCommands.js +2 -2
  373. package/vscode/src/vs/workbench/browser/parts/editor/editor.d.ts +1 -1
  374. package/vscode/src/vs/workbench/browser/parts/editor/editorActions.js +15 -14
  375. package/vscode/src/vs/workbench/browser/parts/editor/editorAutoSave.js +8 -8
  376. package/vscode/src/vs/workbench/browser/parts/editor/editorCommands.js +14 -11
  377. package/vscode/src/vs/workbench/browser/parts/editor/editorGroupView.js +16 -15
  378. package/vscode/src/vs/workbench/browser/parts/editor/editorGroupWatermark.js +5 -4
  379. package/vscode/src/vs/workbench/browser/parts/editor/editorPane.d.ts +6 -5
  380. package/vscode/src/vs/workbench/browser/parts/editor/editorPanes.js +7 -7
  381. package/vscode/src/vs/workbench/browser/parts/editor/editorPlaceholder.js +8 -8
  382. package/vscode/src/vs/workbench/browser/parts/editor/editorQuickAccess.js +2 -2
  383. package/vscode/src/vs/workbench/browser/parts/editor/editorStatus.js +17 -13
  384. package/vscode/src/vs/workbench/browser/parts/editor/editorTabsControl.js +9 -8
  385. package/vscode/src/vs/workbench/browser/parts/editor/editorTitleControl.js +2 -1
  386. package/vscode/src/vs/workbench/browser/parts/editor/editorWithViewState.js +5 -5
  387. package/vscode/src/vs/workbench/browser/parts/editor/editorsObserver.js +2 -2
  388. package/vscode/src/vs/workbench/browser/parts/editor/multiEditorTabsControl.js +11 -10
  389. package/vscode/src/vs/workbench/browser/parts/editor/sideBySideEditor.js +6 -6
  390. package/vscode/src/vs/workbench/browser/parts/editor/textCodeEditor.js +1 -1
  391. package/vscode/src/vs/workbench/browser/parts/editor/textDiffEditor.js +9 -8
  392. package/vscode/src/vs/workbench/browser/parts/editor/textEditor.js +6 -6
  393. package/vscode/src/vs/workbench/browser/parts/editor/textResourceEditor.js +6 -6
  394. package/vscode/src/vs/workbench/browser/parts/globalCompositeBar.js +20 -18
  395. package/vscode/src/vs/workbench/browser/parts/notifications/notificationsActions.js +2 -2
  396. package/vscode/src/vs/workbench/browser/parts/notifications/notificationsAlerts.js +5 -4
  397. package/vscode/src/vs/workbench/browser/parts/notifications/notificationsCenter.js +11 -8
  398. package/vscode/src/vs/workbench/browser/parts/notifications/notificationsCommands.js +8 -5
  399. package/vscode/src/vs/workbench/browser/parts/notifications/notificationsList.js +3 -3
  400. package/vscode/src/vs/workbench/browser/parts/notifications/notificationsStatus.js +3 -2
  401. package/vscode/src/vs/workbench/browser/parts/notifications/notificationsTelemetry.js +3 -2
  402. package/vscode/src/vs/workbench/browser/parts/notifications/notificationsToasts.js +13 -11
  403. package/vscode/src/vs/workbench/browser/parts/notifications/notificationsViewer.js +9 -7
  404. package/vscode/src/vs/workbench/browser/parts/panel/panelActions.js +7 -5
  405. package/vscode/src/vs/workbench/browser/parts/titlebar/menubarControl.js +20 -16
  406. package/vscode/src/vs/workbench/browser/parts/titlebar/windowTitle.js +9 -9
  407. package/vscode/src/vs/workbench/browser/parts/views/treeView.js +25 -18
  408. package/vscode/src/vs/workbench/browser/parts/views/viewFilter.d.ts +3 -3
  409. package/vscode/src/vs/workbench/browser/parts/views/viewFilter.js +4 -3
  410. package/vscode/src/vs/workbench/browser/parts/views/viewPane.d.ts +9 -8
  411. package/vscode/src/vs/workbench/browser/parts/views/viewPane.js +10 -9
  412. package/vscode/src/vs/workbench/browser/parts/views/viewPaneContainer.d.ts +10 -9
  413. package/vscode/src/vs/workbench/browser/parts/views/viewPaneContainer.js +15 -12
  414. package/vscode/src/vs/workbench/browser/parts/views/viewsViewlet.js +9 -9
  415. package/vscode/src/vs/workbench/browser/quickaccess.js +4 -4
  416. package/vscode/src/vs/workbench/common/component.d.ts +4 -2
  417. package/vscode/src/vs/workbench/common/configuration.js +3 -3
  418. package/vscode/src/vs/workbench/common/contextkeys.js +3 -2
  419. package/vscode/src/vs/workbench/common/contributions.js +4 -4
  420. package/vscode/src/vs/workbench/common/editor/binaryEditorModel.js +1 -1
  421. package/vscode/src/vs/workbench/common/editor/diffEditorInput.js +1 -1
  422. package/vscode/src/vs/workbench/common/editor/editorGroupModel.js +1 -1
  423. package/vscode/src/vs/workbench/common/editor/resourceEditorInput.d.ts +5 -4
  424. package/vscode/src/vs/workbench/common/editor/resourceEditorInput.js +5 -4
  425. package/vscode/src/vs/workbench/common/editor/sideBySideEditorInput.js +1 -1
  426. package/vscode/src/vs/workbench/common/editor/textEditorModel.js +3 -2
  427. package/vscode/src/vs/workbench/common/editor/textResourceEditorInput.d.ts +7 -6
  428. package/vscode/src/vs/workbench/common/editor/textResourceEditorInput.js +6 -6
  429. package/vscode/src/vs/workbench/common/editor/textResourceEditorModel.js +2 -2
  430. package/vscode/src/vs/workbench/common/editor.d.ts +1 -1
  431. package/vscode/src/vs/workbench/common/notifications.js +5 -4
  432. package/vscode/src/vs/workbench/common/resources.js +2 -2
  433. package/vscode/src/vs/workbench/common/views.d.ts +2 -50
  434. package/vscode/src/vs/workbench/common/views.js +1 -3
  435. package/vscode/src/vs/workbench/common/views.service.d.ts +53 -0
  436. package/vscode/src/vs/workbench/common/views.service.js +3 -0
  437. package/vscode/src/vs/workbench/contrib/accessibility/browser/accessibilityConfiguration.js +2 -1
  438. package/vscode/src/vs/workbench/contrib/accessibility/browser/accessibilityContributions.js +8 -6
  439. package/vscode/src/vs/workbench/contrib/accessibility/browser/accessibleView.service.js +3 -0
  440. package/vscode/src/vs/workbench/contrib/accessibility/browser/accessibleViewActions.js +1 -1
  441. package/vscode/src/vs/workbench/contrib/accessibility/browser/editorAccessibilityHelp.js +4 -4
  442. package/vscode/src/vs/workbench/contrib/accessibilitySignals/browser/accessibilitySignal.contribution.js +1 -0
  443. package/vscode/src/vs/workbench/contrib/accessibilitySignals/browser/accessibilitySignalDebuggerContribution.js +3 -2
  444. package/vscode/src/vs/workbench/contrib/accessibilitySignals/browser/accessibilitySignalLineFeatureContribution.js +7 -5
  445. package/vscode/src/vs/workbench/contrib/accessibilitySignals/browser/commands.js +6 -5
  446. package/vscode/src/vs/workbench/contrib/bulkEdit/browser/bulkCellEdits.js +2 -2
  447. package/vscode/src/vs/workbench/contrib/chat/browser/actions/chatAccessibilityHelp.js +3 -3
  448. package/vscode/src/vs/workbench/contrib/chat/browser/actions/chatActions.js +8 -8
  449. package/vscode/src/vs/workbench/contrib/chat/browser/actions/chatExecuteActions.js +2 -2
  450. package/vscode/src/vs/workbench/contrib/chat/browser/actions/chatQuickInputActions.js +1 -1
  451. package/vscode/src/vs/workbench/contrib/chat/browser/chat.js +1 -6
  452. package/vscode/src/vs/workbench/contrib/chat/browser/chat.service.js +6 -0
  453. package/vscode/src/vs/workbench/contrib/chat/browser/chatAccessibilityProvider.js +1 -1
  454. package/vscode/src/vs/workbench/contrib/chat/browser/chatEditorInput.js +1 -1
  455. package/vscode/src/vs/workbench/contrib/chat/browser/chatFollowups.js +3 -2
  456. package/vscode/src/vs/workbench/contrib/chat/browser/chatInputPart.js +12 -10
  457. package/vscode/src/vs/workbench/contrib/chat/browser/chatListRenderer.js +7 -7
  458. package/vscode/src/vs/workbench/contrib/chat/browser/chatMarkdownDecorationsRenderer.js +3 -3
  459. package/vscode/src/vs/workbench/contrib/chat/browser/chatOptions.js +3 -3
  460. package/vscode/src/vs/workbench/contrib/chat/browser/chatWidget.js +10 -10
  461. package/vscode/src/vs/workbench/contrib/chat/browser/codeBlockPart.js +3 -3
  462. package/vscode/src/vs/workbench/contrib/chat/browser/contrib/chatDynamicVariables.js +4 -4
  463. package/vscode/src/vs/workbench/contrib/chat/common/chatAgents.js +3 -4
  464. package/vscode/src/vs/workbench/contrib/chat/common/chatAgents.service.js +3 -0
  465. package/vscode/src/vs/workbench/contrib/chat/common/chatModel.js +3 -2
  466. package/vscode/src/vs/workbench/contrib/chat/common/chatRequestParser.js +4 -3
  467. package/vscode/src/vs/workbench/contrib/chat/common/chatService.js +1 -3
  468. package/vscode/src/vs/workbench/contrib/chat/common/chatService.service.js +3 -0
  469. package/vscode/src/vs/workbench/contrib/chat/common/chatSlashCommands.service.js +3 -0
  470. package/vscode/src/vs/workbench/contrib/chat/common/chatViewModel.js +1 -1
  471. package/vscode/src/vs/workbench/contrib/chat/common/chatWidgetHistoryService.service.js +3 -0
  472. package/vscode/src/vs/workbench/contrib/chat/common/languageModels.service.js +3 -0
  473. package/vscode/src/vs/workbench/contrib/codeActions/browser/codeActionsContribution.js +1 -1
  474. package/vscode/src/vs/workbench/contrib/codeActions/browser/documentationContribution.js +2 -1
  475. package/vscode/src/vs/workbench/contrib/codeEditor/browser/dictation/editorDictation.js +5 -3
  476. package/vscode/src/vs/workbench/contrib/codeEditor/browser/diffEditorHelper.js +10 -7
  477. package/vscode/src/vs/workbench/contrib/codeEditor/browser/editorLineNumberMenu.js +4 -3
  478. package/vscode/src/vs/workbench/contrib/codeEditor/browser/largeFileOptimizations.js +5 -3
  479. package/vscode/src/vs/workbench/contrib/codeEditor/browser/quickaccess/gotoSymbolQuickAccess.js +6 -5
  480. package/vscode/src/vs/workbench/contrib/codeEditor/browser/saveParticipants.js +2 -2
  481. package/vscode/src/vs/workbench/contrib/codeEditor/browser/suggestEnabledInput/suggestEnabledInput.js +2 -2
  482. package/vscode/src/vs/workbench/contrib/codeEditor/browser/toggleMinimap.js +1 -1
  483. package/vscode/src/vs/workbench/contrib/codeEditor/browser/toggleMultiCursorModifier.js +3 -2
  484. package/vscode/src/vs/workbench/contrib/codeEditor/browser/toggleRenderControlCharacter.js +1 -1
  485. package/vscode/src/vs/workbench/contrib/codeEditor/browser/toggleRenderWhitespace.js +1 -1
  486. package/vscode/src/vs/workbench/contrib/codeEditor/browser/toggleWordWrap.js +3 -2
  487. package/vscode/src/vs/workbench/contrib/codeEditor/browser/workbenchReferenceSearch.js +4 -4
  488. package/vscode/src/vs/workbench/contrib/comments/browser/commentNode.js +7 -7
  489. package/vscode/src/vs/workbench/contrib/comments/browser/commentReply.js +4 -4
  490. package/vscode/src/vs/workbench/contrib/comments/browser/commentService.service.js +3 -0
  491. package/vscode/src/vs/workbench/contrib/comments/browser/commentThreadAdditionalActions.js +1 -1
  492. package/vscode/src/vs/workbench/contrib/comments/browser/commentThreadBody.js +2 -2
  493. package/vscode/src/vs/workbench/contrib/comments/browser/commentThreadWidget.js +4 -4
  494. package/vscode/src/vs/workbench/contrib/comments/browser/commentThreadZoneWidget.js +4 -4
  495. package/vscode/src/vs/workbench/contrib/comments/browser/commentsAccessibility.js +2 -2
  496. package/vscode/src/vs/workbench/contrib/comments/browser/commentsController.js +10 -9
  497. package/vscode/src/vs/workbench/contrib/comments/browser/commentsTreeViewer.js +11 -9
  498. package/vscode/src/vs/workbench/contrib/comments/browser/commentsView.js +13 -12
  499. package/vscode/src/vs/workbench/contrib/comments/browser/simpleCommentEditor.js +4 -4
  500. package/vscode/src/vs/workbench/contrib/contextmenu/browser/contextmenu.contribution.js +2 -2
  501. package/vscode/src/vs/workbench/contrib/customEditor/browser/customEditorInput.js +13 -13
  502. package/vscode/src/vs/workbench/contrib/customEditor/common/customEditor.service.js +3 -0
  503. package/vscode/src/vs/workbench/contrib/debug/browser/baseDebugView.js +3 -3
  504. package/vscode/src/vs/workbench/contrib/debug/browser/breakpointEditorContribution.js +7 -7
  505. package/vscode/src/vs/workbench/contrib/debug/browser/breakpointWidget.js +10 -9
  506. package/vscode/src/vs/workbench/contrib/debug/browser/breakpointWidget.service.js +3 -0
  507. package/vscode/src/vs/workbench/contrib/debug/browser/breakpointsView.js +19 -15
  508. package/vscode/src/vs/workbench/contrib/debug/browser/callStackEditorContribution.js +3 -3
  509. package/vscode/src/vs/workbench/contrib/debug/common/debug.d.ts +3 -193
  510. package/vscode/src/vs/workbench/contrib/debug/common/debug.js +1 -3
  511. package/vscode/src/vs/workbench/contrib/debug/common/debug.service.d.ts +198 -0
  512. package/vscode/src/vs/workbench/contrib/debug/common/debug.service.js +3 -0
  513. package/vscode/src/vs/workbench/contrib/debug/common/debugModel.js +3 -3
  514. package/vscode/src/vs/workbench/contrib/debug/common/debugSource.d.ts +3 -3
  515. package/vscode/src/vs/workbench/contrib/debug/common/debugVisualizers.service.js +3 -0
  516. package/vscode/src/vs/workbench/contrib/editSessions/common/editSessions.service.js +4 -0
  517. package/vscode/src/vs/workbench/contrib/extensions/browser/extensionsActions.js +51 -44
  518. package/vscode/src/vs/workbench/contrib/extensions/common/extensions.js +2 -3
  519. package/vscode/src/vs/workbench/contrib/extensions/common/extensions.service.js +3 -0
  520. package/vscode/src/vs/workbench/contrib/extensions/common/extensionsUtils.js +8 -6
  521. package/vscode/src/vs/workbench/contrib/externalUriOpener/common/externalUriOpenerService.js +6 -8
  522. package/vscode/src/vs/workbench/contrib/externalUriOpener/common/externalUriOpenerService.service.js +3 -0
  523. package/vscode/src/vs/workbench/contrib/files/browser/editors/binaryFileEditor.js +4 -4
  524. package/vscode/src/vs/workbench/contrib/files/browser/editors/fileEditorHandler.js +3 -3
  525. package/vscode/src/vs/workbench/contrib/files/browser/editors/fileEditorInput.js +7 -7
  526. package/vscode/src/vs/workbench/contrib/files/browser/editors/textFileEditor.js +17 -16
  527. package/vscode/src/vs/workbench/contrib/files/browser/editors/textFileEditorTracker.js +6 -6
  528. package/vscode/src/vs/workbench/contrib/files/browser/editors/textFileSaveErrorHandler.js +13 -10
  529. package/vscode/src/vs/workbench/contrib/files/browser/explorerViewlet.js +13 -11
  530. package/vscode/src/vs/workbench/contrib/files/browser/fileActions.js +30 -26
  531. package/vscode/src/vs/workbench/contrib/files/browser/fileCommands.save.js +8 -6
  532. package/vscode/src/vs/workbench/contrib/files/browser/fileImportExport.js +17 -14
  533. package/vscode/src/vs/workbench/contrib/files/browser/files.d.ts +1 -38
  534. package/vscode/src/vs/workbench/contrib/files/browser/files.editorPane.contribution.js +1 -1
  535. package/vscode/src/vs/workbench/contrib/files/browser/files.js +1 -3
  536. package/vscode/src/vs/workbench/contrib/files/browser/files.service.d.ts +43 -0
  537. package/vscode/src/vs/workbench/contrib/files/browser/files.service.js +3 -0
  538. package/vscode/src/vs/workbench/contrib/files/browser/views/emptyView.js +11 -10
  539. package/vscode/src/vs/workbench/contrib/files/browser/views/explorerDecorationsProvider.js +2 -2
  540. package/vscode/src/vs/workbench/contrib/files/browser/views/explorerView.js +24 -22
  541. package/vscode/src/vs/workbench/contrib/files/browser/views/explorerViewer.js +23 -19
  542. package/vscode/src/vs/workbench/contrib/files/browser/views/openEditorsView.js +13 -12
  543. package/vscode/src/vs/workbench/contrib/files/browser/workspaceWatcher.js +11 -9
  544. package/vscode/src/vs/workbench/contrib/files/common/dirtyFilesIndicator.js +4 -3
  545. package/vscode/src/vs/workbench/contrib/files/common/explorerModel.d.ts +4 -3
  546. package/vscode/src/vs/workbench/contrib/files/common/files.js +2 -2
  547. package/vscode/src/vs/workbench/contrib/folding/browser/folding.contribution.js +2 -2
  548. package/vscode/src/vs/workbench/contrib/format/browser/formatActionsMultiple.js +14 -12
  549. package/vscode/src/vs/workbench/contrib/format/browser/formatActionsNone.js +4 -5
  550. package/vscode/src/vs/workbench/contrib/format/browser/formatModified.js +1 -1
  551. package/vscode/src/vs/workbench/contrib/inlayHints/browser/inlayHintsAccessibilty.js +4 -2
  552. package/vscode/src/vs/workbench/contrib/inlineChat/browser/inlineChatActions.js +7 -6
  553. package/vscode/src/vs/workbench/contrib/inlineChat/browser/inlineChatContentWidget.js +1 -1
  554. package/vscode/src/vs/workbench/contrib/inlineChat/browser/inlineChatController.js +11 -11
  555. package/vscode/src/vs/workbench/contrib/inlineChat/browser/inlineChatFileCreationWidget.js +3 -3
  556. package/vscode/src/vs/workbench/contrib/inlineChat/browser/inlineChatSession.js +4 -4
  557. package/vscode/src/vs/workbench/contrib/inlineChat/browser/inlineChatSessionServiceImpl.js +8 -6
  558. package/vscode/src/vs/workbench/contrib/inlineChat/browser/inlineChatStrategies.js +3 -3
  559. package/vscode/src/vs/workbench/contrib/inlineChat/browser/inlineChatWidget.js +6 -6
  560. package/vscode/src/vs/workbench/contrib/inlineChat/browser/inlineChatZoneWidget.js +1 -1
  561. package/vscode/src/vs/workbench/contrib/inlineChat/common/inlineChat.js +1 -3
  562. package/vscode/src/vs/workbench/contrib/inlineChat/common/inlineChat.service.js +3 -0
  563. package/vscode/src/vs/workbench/contrib/interactive/browser/interactiveDocumentService.service.js +3 -0
  564. package/vscode/src/vs/workbench/contrib/interactive/browser/interactiveEditorInput.js +5 -6
  565. package/vscode/src/vs/workbench/contrib/interactive/browser/interactiveHistoryService.service.js +3 -0
  566. package/vscode/src/vs/workbench/contrib/list/browser/list.contribution.js +1 -1
  567. package/vscode/src/vs/workbench/contrib/logs/common/defaultLogLevels.service.js +3 -0
  568. package/vscode/src/vs/workbench/contrib/mergeEditor/browser/mergeEditorInput.js +7 -7
  569. package/vscode/src/vs/workbench/contrib/mergeEditor/browser/mergeEditorInputModel.js +4 -5
  570. package/vscode/src/vs/workbench/contrib/mergeEditor/browser/model/diffComputer.js +1 -1
  571. package/vscode/src/vs/workbench/contrib/mergeEditor/browser/model/mergeEditorModel.js +2 -1
  572. package/vscode/src/vs/workbench/contrib/mergeEditor/browser/telemetry.js +1 -1
  573. package/vscode/src/vs/workbench/contrib/mergeEditor/browser/utils.js +1 -1
  574. package/vscode/src/vs/workbench/contrib/multiDiffEditor/browser/multiDiffEditorInput.js +5 -3
  575. package/vscode/src/vs/workbench/contrib/multiDiffEditor/browser/multiDiffSourceResolverService.js +1 -3
  576. package/vscode/src/vs/workbench/contrib/multiDiffEditor/browser/multiDiffSourceResolverService.service.js +3 -0
  577. package/vscode/src/vs/workbench/contrib/notebook/browser/contrib/cellCommands/cellCommands.js +2 -2
  578. package/vscode/src/vs/workbench/contrib/notebook/browser/contrib/cellDiagnostics/cellDiagnostics.js +5 -4
  579. package/vscode/src/vs/workbench/contrib/notebook/browser/contrib/cellStatusBar/executionStatusBarItemController.js +4 -3
  580. package/vscode/src/vs/workbench/contrib/notebook/browser/contrib/find/findModel.js +1 -1
  581. package/vscode/src/vs/workbench/contrib/notebook/browser/contrib/find/notebookFindReplaceWidget.js +3 -3
  582. package/vscode/src/vs/workbench/contrib/notebook/browser/contrib/find/notebookFindWidget.js +4 -4
  583. package/vscode/src/vs/workbench/contrib/notebook/browser/controller/cellOutputActions.js +3 -3
  584. package/vscode/src/vs/workbench/contrib/notebook/browser/controller/chat/notebookChatController.js +7 -6
  585. package/vscode/src/vs/workbench/contrib/notebook/browser/controller/coreActions.js +3 -3
  586. package/vscode/src/vs/workbench/contrib/notebook/browser/controller/editActions.js +8 -9
  587. package/vscode/src/vs/workbench/contrib/notebook/browser/controller/foldingController.js +1 -1
  588. package/vscode/src/vs/workbench/contrib/notebook/browser/controller/notebookIndentationActions.js +5 -5
  589. package/vscode/src/vs/workbench/contrib/notebook/browser/notebookEditor.js +16 -15
  590. package/vscode/src/vs/workbench/contrib/notebook/browser/notebookEditorWidget.js +16 -15
  591. package/vscode/src/vs/workbench/contrib/notebook/browser/view/cellParts/cellActionView.js +3 -3
  592. package/vscode/src/vs/workbench/contrib/notebook/browser/view/cellParts/cellComments.js +4 -4
  593. package/vscode/src/vs/workbench/contrib/notebook/browser/view/cellParts/cellContextKeys.js +3 -2
  594. package/vscode/src/vs/workbench/contrib/notebook/browser/view/cellParts/cellEditorOptions.js +1 -1
  595. package/vscode/src/vs/workbench/contrib/notebook/browser/view/cellParts/cellExecution.js +1 -1
  596. package/vscode/src/vs/workbench/contrib/notebook/browser/view/cellParts/cellOutput.js +8 -7
  597. package/vscode/src/vs/workbench/contrib/notebook/browser/view/cellParts/cellProgressBar.js +1 -1
  598. package/vscode/src/vs/workbench/contrib/notebook/browser/view/cellParts/cellStatusPart.js +6 -6
  599. package/vscode/src/vs/workbench/contrib/notebook/browser/view/cellParts/cellToolbars.js +5 -4
  600. package/vscode/src/vs/workbench/contrib/notebook/browser/view/cellParts/codeCell.js +4 -4
  601. package/vscode/src/vs/workbench/contrib/notebook/browser/view/cellParts/codeCellExecutionIcon.js +2 -1
  602. package/vscode/src/vs/workbench/contrib/notebook/browser/view/cellParts/codeCellRunToolbar.js +4 -3
  603. package/vscode/src/vs/workbench/contrib/notebook/browser/view/cellParts/collapsedCellOutput.js +1 -1
  604. package/vscode/src/vs/workbench/contrib/notebook/browser/view/cellParts/foldedCellHint.js +1 -1
  605. package/vscode/src/vs/workbench/contrib/notebook/browser/view/cellParts/markupCell.js +4 -4
  606. package/vscode/src/vs/workbench/contrib/notebook/browser/view/notebookCellList.js +4 -3
  607. package/vscode/src/vs/workbench/contrib/notebook/browser/view/renderers/backLayerWebView.js +19 -18
  608. package/vscode/src/vs/workbench/contrib/notebook/browser/view/renderers/cellRenderer.js +7 -7
  609. package/vscode/src/vs/workbench/contrib/notebook/browser/viewModel/codeCellViewModel.js +3 -3
  610. package/vscode/src/vs/workbench/contrib/notebook/browser/viewModel/markupCellViewModel.js +2 -2
  611. package/vscode/src/vs/workbench/contrib/notebook/browser/viewModel/notebookOutlineProvider.js +5 -4
  612. package/vscode/src/vs/workbench/contrib/notebook/browser/viewModel/notebookViewModelImpl.js +3 -2
  613. package/vscode/src/vs/workbench/contrib/notebook/browser/viewParts/notebookEditorStickyScroll.js +1 -1
  614. package/vscode/src/vs/workbench/contrib/notebook/browser/viewParts/notebookEditorToolbar.js +7 -6
  615. package/vscode/src/vs/workbench/contrib/notebook/browser/viewParts/notebookEditorWidgetContextKeys.js +5 -4
  616. package/vscode/src/vs/workbench/contrib/notebook/browser/viewParts/notebookKernelQuickPickStrategy.js +11 -10
  617. package/vscode/src/vs/workbench/contrib/notebook/browser/viewParts/notebookKernelView.js +2 -2
  618. package/vscode/src/vs/workbench/contrib/notebook/browser/viewParts/notebookOverviewRuler.js +2 -1
  619. package/vscode/src/vs/workbench/contrib/notebook/browser/viewParts/notebookTopCellToolbar.js +3 -2
  620. package/vscode/src/vs/workbench/contrib/notebook/common/notebookEditorInput.js +10 -10
  621. package/vscode/src/vs/workbench/contrib/notebook/common/notebookEditorModel.js +4 -3
  622. package/vscode/src/vs/workbench/contrib/notebook/common/notebookExecutionService.js +1 -3
  623. package/vscode/src/vs/workbench/contrib/notebook/common/notebookExecutionService.service.js +3 -0
  624. package/vscode/src/vs/workbench/contrib/notebook/common/notebookExecutionStateService.js +1 -3
  625. package/vscode/src/vs/workbench/contrib/notebook/common/notebookExecutionStateService.service.js +3 -0
  626. package/vscode/src/vs/workbench/contrib/notebook/common/notebookKernelService.js +1 -4
  627. package/vscode/src/vs/workbench/contrib/notebook/common/notebookKernelService.service.js +4 -0
  628. package/vscode/src/vs/workbench/contrib/notebook/common/notebookService.js +1 -3
  629. package/vscode/src/vs/workbench/contrib/notebook/common/notebookService.service.js +3 -0
  630. package/vscode/src/vs/workbench/contrib/notebook/common/services/notebookWorkerService.js +1 -3
  631. package/vscode/src/vs/workbench/contrib/notebook/common/services/notebookWorkerService.service.js +4 -0
  632. package/vscode/src/vs/workbench/contrib/output/common/outputChannelModelService.service.js +3 -0
  633. package/vscode/src/vs/workbench/contrib/preferences/browser/keybindingWidgets.js +3 -3
  634. package/vscode/src/vs/workbench/contrib/preferences/browser/preferencesWidgets.js +7 -6
  635. package/vscode/src/vs/workbench/contrib/preferences/browser/settingsTreeModels.js +5 -4
  636. package/vscode/src/vs/workbench/contrib/preferences/common/preferences.d.ts +1 -8
  637. package/vscode/src/vs/workbench/contrib/preferences/common/preferences.js +1 -3
  638. package/vscode/src/vs/workbench/contrib/preferences/common/preferences.service.d.ts +11 -0
  639. package/vscode/src/vs/workbench/contrib/preferences/common/preferences.service.js +3 -0
  640. package/vscode/src/vs/workbench/contrib/remote/browser/remoteExplorer.js +20 -17
  641. package/vscode/src/vs/workbench/contrib/remote/browser/tunnelView.js +32 -25
  642. package/vscode/src/vs/workbench/contrib/scm/browser/dirtyDiffSwitcher.js +2 -2
  643. package/vscode/src/vs/workbench/contrib/scm/browser/dirtydiffDecorator.js +17 -12
  644. package/vscode/src/vs/workbench/contrib/scm/common/scm.js +1 -4
  645. package/vscode/src/vs/workbench/contrib/scm/common/scm.service.js +4 -0
  646. package/vscode/src/vs/workbench/contrib/search/browser/notebookSearch/notebookSearchService.js +8 -7
  647. package/vscode/src/vs/workbench/contrib/search/browser/searchActionsFind.js +12 -11
  648. package/vscode/src/vs/workbench/contrib/search/browser/searchModel.js +13 -13
  649. package/vscode/src/vs/workbench/contrib/search/browser/searchModel.service.js +3 -0
  650. package/vscode/src/vs/workbench/contrib/search/common/search.js +3 -3
  651. package/vscode/src/vs/workbench/contrib/search/common/searchHistoryService.service.js +3 -0
  652. package/vscode/src/vs/workbench/contrib/snippets/browser/commands/fileTemplateSnippets.js +3 -3
  653. package/vscode/src/vs/workbench/contrib/snippets/browser/snippetCompletionProvider.js +1 -1
  654. package/vscode/src/vs/workbench/contrib/snippets/browser/snippets.d.ts +1 -15
  655. package/vscode/src/vs/workbench/contrib/snippets/browser/snippets.service.d.ts +16 -0
  656. package/vscode/src/vs/workbench/contrib/snippets/browser/snippetsFile.d.ts +2 -2
  657. package/vscode/src/vs/workbench/contrib/snippets/browser/snippetsService.js +9 -9
  658. package/vscode/src/vs/workbench/contrib/snippets/browser/tabCompletion.js +4 -3
  659. package/vscode/src/vs/workbench/contrib/speech/common/speechService.js +1 -3
  660. package/vscode/src/vs/workbench/contrib/speech/common/speechService.service.js +3 -0
  661. package/vscode/src/vs/workbench/contrib/tags/browser/workspaceTagsService.js +0 -2
  662. package/vscode/src/vs/workbench/contrib/tags/common/{workspaceTags.js → workspaceTags.service.js} +0 -2
  663. package/vscode/src/vs/workbench/contrib/tasks/common/taskService.js +16 -18
  664. package/vscode/src/vs/workbench/contrib/tasks/common/taskService.service.js +3 -0
  665. package/vscode/src/vs/workbench/contrib/terminal/browser/terminal.js +1 -6
  666. package/vscode/src/vs/workbench/contrib/terminal/browser/terminal.service.js +6 -0
  667. package/vscode/src/vs/workbench/contrib/terminal/browser/terminalEditorInput.js +7 -7
  668. package/vscode/src/vs/workbench/contrib/terminal/browser/terminalIcon.js +1 -1
  669. package/vscode/src/vs/workbench/contrib/terminal/browser/terminalProcessExtHostProxy.js +1 -1
  670. package/vscode/src/vs/workbench/contrib/terminal/common/terminal.js +1 -4
  671. package/vscode/src/vs/workbench/contrib/terminal/common/terminal.service.js +4 -0
  672. package/vscode/src/vs/workbench/contrib/terminal/common/terminalExtensionPoints.service.js +3 -0
  673. package/vscode/src/vs/workbench/contrib/terminalContrib/quickFix/browser/quickFix.js +1 -3
  674. package/vscode/src/vs/workbench/contrib/terminalContrib/quickFix/browser/quickFix.service.js +3 -0
  675. package/vscode/src/vs/workbench/contrib/testing/common/testCoverageService.service.js +3 -0
  676. package/vscode/src/vs/workbench/contrib/testing/common/testExplorerFilterState.service.js +3 -0
  677. package/vscode/src/vs/workbench/contrib/testing/common/testProfileService.service.js +3 -0
  678. package/vscode/src/vs/workbench/contrib/testing/common/testResultService.service.js +3 -0
  679. package/vscode/src/vs/workbench/contrib/testing/common/testResultStorage.service.js +3 -0
  680. package/vscode/src/vs/workbench/contrib/testing/common/testService.service.js +3 -0
  681. package/vscode/src/vs/workbench/contrib/testing/common/testingContinuousRunService.service.js +3 -0
  682. package/vscode/src/vs/workbench/contrib/testing/common/testingDecorations.service.js +3 -0
  683. package/vscode/src/vs/workbench/contrib/timeline/common/timeline.js +1 -3
  684. package/vscode/src/vs/workbench/contrib/timeline/common/timeline.service.js +4 -0
  685. package/vscode/src/vs/workbench/contrib/webview/browser/webview.contribution.js +2 -2
  686. package/vscode/src/vs/workbench/contrib/webview/browser/webview.js +2 -4
  687. package/vscode/src/vs/workbench/contrib/webview/browser/webview.service.js +3 -0
  688. package/vscode/src/vs/workbench/contrib/webviewPanel/browser/webviewEditor.js +9 -8
  689. package/vscode/src/vs/workbench/contrib/webviewPanel/browser/webviewIconManager.js +2 -2
  690. package/vscode/src/vs/workbench/contrib/webviewPanel/browser/webviewWorkbenchService.js +6 -6
  691. package/vscode/src/vs/workbench/contrib/webviewPanel/browser/webviewWorkbenchService.service.js +3 -0
  692. package/vscode/src/vs/workbench/contrib/webviewView/browser/webviewViewService.service.js +3 -0
  693. package/vscode/src/vs/workbench/contrib/welcomeGettingStarted/browser/gettingStartedService.service.js +3 -0
  694. package/vscode/src/vs/workbench/services/activity/common/activity.d.ts +1 -38
  695. package/vscode/src/vs/workbench/services/activity/common/activity.js +1 -3
  696. package/vscode/src/vs/workbench/services/activity/common/activity.service.d.ts +40 -0
  697. package/vscode/src/vs/workbench/services/activity/common/activity.service.js +3 -0
  698. package/vscode/src/vs/workbench/services/aiEmbeddingVector/common/aiEmbeddingVectorService.service.js +3 -0
  699. package/vscode/src/vs/workbench/services/aiRelatedInformation/common/aiRelatedInformation.js +1 -3
  700. package/vscode/src/vs/workbench/services/aiRelatedInformation/common/aiRelatedInformation.service.js +3 -0
  701. package/vscode/src/vs/workbench/services/assignment/common/assignmentService.service.js +3 -0
  702. package/vscode/src/vs/workbench/services/authentication/browser/authenticationAccessService.service.js +3 -0
  703. package/vscode/src/vs/workbench/services/authentication/browser/authenticationService.js +2 -2
  704. package/vscode/src/vs/workbench/services/authentication/browser/authenticationUsageService.service.js +3 -0
  705. package/vscode/src/vs/workbench/services/authentication/common/authentication.js +1 -4
  706. package/vscode/src/vs/workbench/services/authentication/common/authentication.service.js +4 -0
  707. package/vscode/src/vs/workbench/services/auxiliaryWindow/browser/auxiliaryWindowService.service.js +3 -0
  708. package/vscode/src/vs/workbench/services/banner/browser/bannerService.d.ts +1 -11
  709. package/vscode/src/vs/workbench/services/banner/browser/bannerService.service.d.ts +14 -0
  710. package/vscode/src/vs/workbench/services/configuration/common/configuration.js +1 -4
  711. package/vscode/src/vs/workbench/services/configuration/common/configuration.service.js +4 -0
  712. package/vscode/src/vs/workbench/services/configuration/common/jsonEditing.service.js +3 -0
  713. package/vscode/src/vs/workbench/services/configurationResolver/common/configurationResolver.js +1 -3
  714. package/vscode/src/vs/workbench/services/configurationResolver/common/configurationResolver.service.js +3 -0
  715. package/vscode/src/vs/workbench/services/editor/browser/codeEditorService.js +4 -3
  716. package/vscode/src/vs/workbench/services/editor/browser/editorService.d.ts +12 -10
  717. package/vscode/src/vs/workbench/services/editor/browser/editorService.js +11 -9
  718. package/vscode/src/vs/workbench/services/editor/common/customEditorLabelService.js +4 -5
  719. package/vscode/src/vs/workbench/services/editor/common/customEditorLabelService.service.js +3 -0
  720. package/vscode/src/vs/workbench/services/editor/common/editorGroupFinder.js +3 -2
  721. package/vscode/src/vs/workbench/services/editor/common/editorGroupsService.d.ts +4 -48
  722. package/vscode/src/vs/workbench/services/editor/common/editorGroupsService.js +1 -3
  723. package/vscode/src/vs/workbench/services/editor/common/editorGroupsService.service.d.ts +50 -0
  724. package/vscode/src/vs/workbench/services/editor/common/editorGroupsService.service.js +3 -0
  725. package/vscode/src/vs/workbench/services/editor/common/editorResolverService.d.ts +2 -62
  726. package/vscode/src/vs/workbench/services/editor/common/editorResolverService.js +1 -3
  727. package/vscode/src/vs/workbench/services/editor/common/editorResolverService.service.d.ts +65 -0
  728. package/vscode/src/vs/workbench/services/editor/common/editorResolverService.service.js +3 -0
  729. package/vscode/src/vs/workbench/services/editor/common/editorService.d.ts +3 -211
  730. package/vscode/src/vs/workbench/services/editor/common/editorService.js +1 -3
  731. package/vscode/src/vs/workbench/services/editor/common/editorService.service.d.ts +214 -0
  732. package/vscode/src/vs/workbench/services/editor/common/editorService.service.js +3 -0
  733. package/vscode/src/vs/workbench/services/environment/browser/{environmentService.d.ts → environmentService.service.d.ts} +8 -8
  734. package/vscode/src/vs/workbench/services/environment/browser/environmentService.service.js +4 -0
  735. package/vscode/src/vs/workbench/services/environment/common/{environmentService.d.ts → environmentService.service.d.ts} +4 -4
  736. package/vscode/src/vs/workbench/services/environment/common/{environmentService.js → environmentService.service.js} +1 -1
  737. package/vscode/src/vs/workbench/services/extensionManagement/browser/extensionBisect.service.js +3 -0
  738. package/vscode/src/vs/workbench/services/extensionManagement/common/extensionFeatures.js +1 -3
  739. package/vscode/src/vs/workbench/services/extensionManagement/common/extensionFeatures.service.js +3 -0
  740. package/vscode/src/vs/workbench/services/extensionManagement/common/extensionManagement.js +1 -8
  741. package/vscode/src/vs/workbench/services/extensionManagement/common/extensionManagement.service.js +8 -0
  742. package/vscode/src/vs/workbench/services/extensionRecommendations/common/workspaceExtensionsConfig.js +8 -7
  743. package/vscode/src/vs/workbench/services/extensionRecommendations/common/workspaceExtensionsConfig.service.js +3 -0
  744. package/vscode/src/vs/workbench/services/extensions/browser/extensionUrlHandler.service.js +3 -0
  745. package/vscode/src/vs/workbench/services/extensions/common/extensionManifestPropertiesService.js +6 -7
  746. package/vscode/src/vs/workbench/services/extensions/common/extensionManifestPropertiesService.service.js +3 -0
  747. package/vscode/src/vs/workbench/services/extensions/common/extensions.d.ts +6 -131
  748. package/vscode/src/vs/workbench/services/extensions/common/extensions.js +1 -3
  749. package/vscode/src/vs/workbench/services/extensions/common/extensions.service.d.ts +135 -0
  750. package/vscode/src/vs/workbench/services/extensions/common/extensions.service.js +3 -0
  751. package/vscode/src/vs/workbench/services/extensions/common/workspaceContains.js +1 -1
  752. package/vscode/src/vs/workbench/services/filesConfiguration/common/filesConfigurationService.d.ts +2 -27
  753. package/vscode/src/vs/workbench/services/filesConfiguration/common/filesConfigurationService.js +12 -10
  754. package/vscode/src/vs/workbench/services/filesConfiguration/common/filesConfigurationService.service.d.ts +30 -0
  755. package/vscode/src/vs/workbench/services/filesConfiguration/common/filesConfigurationService.service.js +3 -0
  756. package/vscode/src/vs/workbench/services/history/common/history.d.ts +1 -76
  757. package/vscode/src/vs/workbench/services/history/common/history.js +1 -3
  758. package/vscode/src/vs/workbench/services/history/common/history.service.d.ts +77 -0
  759. package/vscode/src/vs/workbench/services/history/common/history.service.js +3 -0
  760. package/vscode/src/vs/workbench/services/host/browser/host.service.d.ts +102 -0
  761. package/vscode/src/vs/workbench/services/issue/browser/issueTroubleshoot.service.js +3 -0
  762. package/vscode/src/vs/workbench/services/keybinding/common/{keybindingEditing.d.ts → keybindingEditing.service.d.ts} +0 -1
  763. package/vscode/src/vs/workbench/services/keybinding/common/keybindingEditing.service.js +3 -0
  764. package/vscode/src/vs/workbench/services/language/common/languageService.js +4 -4
  765. package/vscode/src/vs/workbench/services/languageDetection/common/languageDetectionWorkerService.js +1 -3
  766. package/vscode/src/vs/workbench/services/languageDetection/common/languageDetectionWorkerService.service.js +3 -0
  767. package/vscode/src/vs/workbench/services/languageStatus/common/languageStatusService.d.ts +3 -13
  768. package/vscode/src/vs/workbench/services/languageStatus/common/languageStatusService.service.d.ts +15 -0
  769. package/vscode/src/vs/workbench/services/languageStatus/common/languageStatusService.service.js +3 -0
  770. package/vscode/src/vs/workbench/services/layout/browser/layoutService.d.ts +1 -160
  771. package/vscode/src/vs/workbench/services/layout/browser/layoutService.js +1 -4
  772. package/vscode/src/vs/workbench/services/layout/browser/layoutService.service.d.ts +161 -0
  773. package/vscode/src/vs/workbench/services/layout/browser/layoutService.service.js +4 -0
  774. package/vscode/src/vs/workbench/services/lifecycle/common/lifecycle.d.ts +1 -68
  775. package/vscode/src/vs/workbench/services/lifecycle/common/lifecycle.js +1 -3
  776. package/vscode/src/vs/workbench/services/lifecycle/common/lifecycle.service.d.ts +70 -0
  777. package/vscode/src/vs/workbench/services/lifecycle/common/lifecycle.service.js +3 -0
  778. package/vscode/src/vs/workbench/services/lifecycle/common/lifecycleService.js +3 -2
  779. package/vscode/src/vs/workbench/services/notebook/common/notebookDocumentService.js +2 -3
  780. package/vscode/src/vs/workbench/services/notebook/common/notebookDocumentService.service.js +3 -0
  781. package/vscode/src/vs/workbench/services/output/common/output.d.ts +1 -36
  782. package/vscode/src/vs/workbench/services/output/common/output.js +1 -3
  783. package/vscode/src/vs/workbench/services/output/common/output.service.d.ts +39 -0
  784. package/vscode/src/vs/workbench/services/output/common/output.service.js +3 -0
  785. package/vscode/src/vs/workbench/services/panecomposite/browser/{panecomposite.d.ts → panecomposite.service.d.ts} +18 -18
  786. package/vscode/src/vs/workbench/services/path/common/pathService.service.d.ts +65 -0
  787. package/vscode/src/vs/workbench/services/path/common/pathService.service.js +3 -0
  788. package/vscode/src/vs/workbench/services/preferences/browser/keybindingsEditorModel.js +2 -2
  789. package/vscode/src/vs/workbench/services/preferences/common/preferences.d.ts +2 -31
  790. package/vscode/src/vs/workbench/services/preferences/common/preferences.js +1 -3
  791. package/vscode/src/vs/workbench/services/preferences/common/preferences.service.d.ts +35 -0
  792. package/vscode/src/vs/workbench/services/preferences/common/preferences.service.js +3 -0
  793. package/vscode/src/vs/workbench/services/preferences/common/preferencesEditorInput.js +1 -1
  794. package/vscode/src/vs/workbench/services/preferences/common/preferencesModels.d.ts +2 -1
  795. package/vscode/src/vs/workbench/services/preferences/common/preferencesModels.js +2 -2
  796. package/vscode/src/vs/workbench/services/remote/common/remoteAgentService.d.ts +2 -31
  797. package/vscode/src/vs/workbench/services/remote/common/remoteAgentService.service.d.ts +34 -0
  798. package/vscode/src/vs/workbench/services/remote/common/remoteAgentService.service.js +3 -0
  799. package/vscode/src/vs/workbench/services/remote/common/remoteExplorerService.js +4 -5
  800. package/vscode/src/vs/workbench/services/remote/common/remoteExplorerService.service.js +3 -0
  801. package/vscode/src/vs/workbench/services/remote/common/tunnelModel.js +12 -11
  802. package/vscode/src/vs/workbench/services/search/common/queryBuilder.js +6 -5
  803. package/vscode/src/vs/workbench/services/search/common/search.js +1 -3
  804. package/vscode/src/vs/workbench/services/search/common/search.service.js +3 -0
  805. package/vscode/src/vs/workbench/services/statusbar/browser/statusbar.d.ts +2 -21
  806. package/vscode/src/vs/workbench/services/statusbar/browser/statusbar.js +1 -3
  807. package/vscode/src/vs/workbench/services/statusbar/browser/statusbar.service.d.ts +23 -0
  808. package/vscode/src/vs/workbench/services/statusbar/browser/statusbar.service.js +3 -0
  809. package/vscode/src/vs/workbench/services/terminal/common/embedderTerminalService.service.js +3 -0
  810. package/vscode/src/vs/workbench/services/textfile/common/encoding.js +4 -4
  811. package/vscode/src/vs/workbench/services/textfile/common/textEditorService.js +7 -7
  812. package/vscode/src/vs/workbench/services/textfile/common/{textEditorService.d.ts → textEditorService.service.d.ts} +14 -15
  813. package/vscode/src/vs/workbench/services/textfile/common/textEditorService.service.js +3 -0
  814. package/vscode/src/vs/workbench/services/textfile/common/textFileEditorModel.js +12 -11
  815. package/vscode/src/vs/workbench/services/textfile/common/textfiles.d.ts +4 -97
  816. package/vscode/src/vs/workbench/services/textfile/common/textfiles.js +1 -3
  817. package/vscode/src/vs/workbench/services/textfile/common/textfiles.service.d.ts +102 -0
  818. package/vscode/src/vs/workbench/services/textfile/common/textfiles.service.js +3 -0
  819. package/vscode/src/vs/workbench/services/themes/common/workbenchThemeService.js +1 -4
  820. package/vscode/src/vs/workbench/services/themes/common/workbenchThemeService.service.js +4 -0
  821. package/vscode/src/vs/workbench/services/timer/browser/timerService.service.js +3 -0
  822. package/vscode/src/vs/workbench/services/title/browser/{titleService.d.ts → titleService.service.d.ts} +4 -4
  823. package/vscode/src/vs/workbench/services/untitled/common/untitledTextEditorInput.js +8 -8
  824. package/vscode/src/vs/workbench/services/untitled/common/untitledTextEditorModel.js +7 -7
  825. package/vscode/src/vs/workbench/services/untitled/common/untitledTextEditorService.service.js +3 -0
  826. package/vscode/src/vs/workbench/services/userActivity/common/userActivityService.service.js +3 -0
  827. package/vscode/src/vs/workbench/services/userData/browser/userDataInit.service.js +3 -0
  828. package/vscode/src/vs/workbench/services/userDataProfile/common/remoteUserDataProfiles.service.js +3 -0
  829. package/vscode/src/vs/workbench/services/userDataProfile/common/userDataProfile.d.ts +1 -11
  830. package/vscode/src/vs/workbench/services/userDataProfile/common/userDataProfile.js +1 -5
  831. package/vscode/src/vs/workbench/services/userDataProfile/common/userDataProfile.service.d.ts +15 -0
  832. package/vscode/src/vs/workbench/services/userDataProfile/common/userDataProfile.service.js +5 -0
  833. package/vscode/src/vs/workbench/services/userDataSync/common/userDataSync.js +1 -3
  834. package/vscode/src/vs/workbench/services/userDataSync/common/userDataSync.service.js +3 -0
  835. package/vscode/src/vs/workbench/services/views/browser/viewsService.js +14 -13
  836. package/vscode/src/vs/workbench/services/workingCopy/common/resourceWorkingCopy.js +1 -1
  837. package/vscode/src/vs/workbench/services/workingCopy/common/storedFileWorkingCopy.d.ts +1 -1
  838. package/vscode/src/vs/workbench/services/workingCopy/common/storedFileWorkingCopy.js +14 -11
  839. package/vscode/src/vs/workbench/services/workingCopy/common/workingCopy.d.ts +1 -1
  840. package/vscode/src/vs/workbench/services/workingCopy/common/workingCopyEditorService.service.js +3 -0
  841. package/vscode/src/vs/workbench/services/workingCopy/common/workingCopyFileService.d.ts +4 -109
  842. package/vscode/src/vs/workbench/services/workingCopy/common/workingCopyFileService.service.d.ts +114 -0
  843. package/vscode/src/vs/workbench/services/workingCopy/common/workingCopyFileService.service.js +3 -0
  844. package/vscode/src/vs/workbench/services/workingCopy/common/{workingCopyHistory.js → workingCopyHistory.service.js} +1 -2
  845. package/vscode/src/vs/workbench/services/workingCopy/common/workingCopyService.service.js +3 -0
  846. package/vscode/src/vs/workbench/services/workspaces/common/workspaceIdentityService.service.js +3 -0
  847. package/vscode/src/vs/workbench/services/workspaces/common/workspaceTrust.js +9 -8
  848. package/override/iconv.js +0 -43
  849. package/override/jschardet.js +0 -7
  850. package/override/vs/platform/dialogs/common/dialogs.js +0 -8
  851. package/service-override/tools/editorAssets.js +0 -3
  852. package/vscode/src/vs/base/browser/deviceAccess.js +0 -60
  853. package/vscode/src/vs/base/browser/ui/centered/centeredViewLayout.js +0 -178
  854. package/vscode/src/vs/base/browser/ui/grid/grid.js +0 -492
  855. package/vscode/src/vs/base/browser/ui/grid/gridview.css.js +0 -4
  856. package/vscode/src/vs/base/browser/ui/grid/gridview.js +0 -1110
  857. package/vscode/src/vs/platform/environment/common/environmentService.js +0 -8
  858. package/vscode/src/vs/platform/extensionManagement/common/extensionsProfileScannerService.js +0 -333
  859. package/vscode/src/vs/platform/extensionManagement/common/extensionsScannerService.js +0 -901
  860. package/vscode/src/vs/platform/extensionRecommendations/common/extensionRecommendations.js +0 -10
  861. package/vscode/src/vs/platform/languagePacks/common/localizedStrings.js +0 -10
  862. package/vscode/src/vs/platform/remote/common/remoteExtensionsScanner.d.ts +0 -13
  863. package/vscode/src/vs/platform/remote/common/remoteSocketFactoryService.js +0 -30
  864. package/vscode/src/vs/platform/secrets/common/secrets.js +0 -127
  865. package/vscode/src/vs/platform/terminal/common/capabilities/bufferMarkCapability.js +0 -41
  866. package/vscode/src/vs/platform/terminal/common/capabilities/commandDetection/terminalCommand.js +0 -272
  867. package/vscode/src/vs/platform/terminal/common/capabilities/commandDetectionCapability.js +0 -709
  868. package/vscode/src/vs/platform/terminal/common/capabilities/cwdDetectionCapability.js +0 -29
  869. package/vscode/src/vs/platform/terminal/common/capabilities/partialCommandDetectionCapability.js +0 -48
  870. package/vscode/src/vs/platform/terminal/common/capabilities/terminalCapabilityStore.js +0 -94
  871. package/vscode/src/vs/platform/terminal/common/terminalEnvironment.js +0 -40
  872. package/vscode/src/vs/platform/terminal/common/xterm/shellIntegrationAddon.js +0 -319
  873. package/vscode/src/vs/platform/uriIdentity/common/uriIdentity.d.ts +0 -38
  874. package/vscode/src/vs/platform/userDataProfile/common/userDataProfileIpc.js +0 -65
  875. package/vscode/src/vs/platform/userDataSync/common/ignoredExtensions.js +0 -65
  876. package/vscode/src/vs/platform/userDataSync/common/userDataSyncAccount.js +0 -45
  877. package/vscode/src/vs/platform/webview/common/mimeTypes.js +0 -22
  878. package/vscode/src/vs/platform/webview/common/webviewPortMapping.js +0 -62
  879. package/vscode/src/vs/platform/workspace/common/workspaceTrust.js +0 -18
  880. package/vscode/src/vs/workbench/api/browser/viewsExtensionPoint.js +0 -904
  881. package/vscode/src/vs/workbench/browser/actions/listCommands.js +0 -762
  882. package/vscode/src/vs/workbench/browser/actions/navigationActions.js +0 -300
  883. package/vscode/src/vs/workbench/browser/media/style.css.js +0 -4
  884. package/vscode/src/vs/workbench/browser/parts/activitybar/activitybarPart.js +0 -665
  885. package/vscode/src/vs/workbench/browser/parts/activitybar/media/activityaction.css.js +0 -4
  886. package/vscode/src/vs/workbench/browser/parts/activitybar/media/activitybarpart.css.js +0 -4
  887. package/vscode/src/vs/workbench/browser/parts/auxiliarybar/auxiliaryBarPart.js +0 -226
  888. package/vscode/src/vs/workbench/browser/parts/auxiliarybar/media/auxiliaryBarPart.css.js +0 -4
  889. package/vscode/src/vs/workbench/browser/parts/banner/bannerPart.d.ts +0 -45
  890. package/vscode/src/vs/workbench/browser/parts/compositeBar.js +0 -604
  891. package/vscode/src/vs/workbench/browser/parts/compositePart.js +0 -344
  892. package/vscode/src/vs/workbench/browser/parts/editor/auxiliaryEditorPart.js +0 -243
  893. package/vscode/src/vs/workbench/browser/parts/editor/editor.contribution.js +0 -1402
  894. package/vscode/src/vs/workbench/browser/parts/editor/editorConfiguration.js +0 -185
  895. package/vscode/src/vs/workbench/browser/parts/editor/editorDropTarget.js +0 -519
  896. package/vscode/src/vs/workbench/browser/parts/editor/editorPart.js +0 -1028
  897. package/vscode/src/vs/workbench/browser/parts/editor/editorParts.js +0 -390
  898. package/vscode/src/vs/workbench/browser/parts/editor/media/editordroptarget.css.js +0 -4
  899. package/vscode/src/vs/workbench/browser/parts/media/compositepart.css.js +0 -4
  900. package/vscode/src/vs/workbench/browser/parts/media/paneCompositePart.css.js +0 -4
  901. package/vscode/src/vs/workbench/browser/parts/paneCompositeBar.js +0 -640
  902. package/vscode/src/vs/workbench/browser/parts/paneCompositePart.js +0 -469
  903. package/vscode/src/vs/workbench/browser/parts/paneCompositePartService.js +0 -66
  904. package/vscode/src/vs/workbench/browser/parts/panel/panelPart.js +0 -157
  905. package/vscode/src/vs/workbench/browser/parts/sidebar/media/sidebarpart.css.js +0 -4
  906. package/vscode/src/vs/workbench/browser/parts/sidebar/sidebarActions.js +0 -37
  907. package/vscode/src/vs/workbench/browser/parts/sidebar/sidebarPart.js +0 -235
  908. package/vscode/src/vs/workbench/browser/style.js +0 -53
  909. package/vscode/src/vs/workbench/browser/window.js +0 -380
  910. package/vscode/src/vs/workbench/contrib/accessibility/browser/accessibleView.js +0 -878
  911. package/vscode/src/vs/workbench/contrib/callHierarchy/browser/callHierarchy.contribution.js +0 -298
  912. package/vscode/src/vs/workbench/contrib/callHierarchy/browser/callHierarchyPeek.js +0 -363
  913. package/vscode/src/vs/workbench/contrib/callHierarchy/browser/callHierarchyTree.js +0 -133
  914. package/vscode/src/vs/workbench/contrib/callHierarchy/browser/media/callHierarchy.css.js +0 -4
  915. package/vscode/src/vs/workbench/contrib/chat/common/chatSlashCommands.js +0 -54
  916. package/vscode/src/vs/workbench/contrib/chat/common/chatWidgetHistoryService.js +0 -37
  917. package/vscode/src/vs/workbench/contrib/chat/common/languageModels.js +0 -41
  918. package/vscode/src/vs/workbench/contrib/codeEditor/browser/inspectEditorTokens/inspectEditorTokens.css.js +0 -4
  919. package/vscode/src/vs/workbench/contrib/codeEditor/browser/inspectEditorTokens/inspectEditorTokens.js +0 -503
  920. package/vscode/src/vs/workbench/contrib/comments/browser/commentMenus.js +0 -43
  921. package/vscode/src/vs/workbench/contrib/comments/browser/commentService.js +0 -354
  922. package/vscode/src/vs/workbench/contrib/customEditor/browser/customEditor.contribution.js +0 -21
  923. package/vscode/src/vs/workbench/contrib/customEditor/browser/customEditorInputFactory.js +0 -144
  924. package/vscode/src/vs/workbench/contrib/customEditor/browser/customEditors.js +0 -212
  925. package/vscode/src/vs/workbench/contrib/customEditor/browser/media/customEditor.css.js +0 -4
  926. package/vscode/src/vs/workbench/contrib/customEditor/common/contributedCustomEditors.js +0 -76
  927. package/vscode/src/vs/workbench/contrib/customEditor/common/customEditor.js +0 -56
  928. package/vscode/src/vs/workbench/contrib/customEditor/common/customEditorModelManager.js +0 -61
  929. package/vscode/src/vs/workbench/contrib/customEditor/common/extensionPoint.js +0 -181
  930. package/vscode/src/vs/workbench/contrib/debug/common/debugContext.js +0 -14
  931. package/vscode/src/vs/workbench/contrib/debug/common/debugVisualizers.js +0 -211
  932. package/vscode/src/vs/workbench/contrib/editSessions/common/editSessions.js +0 -59
  933. package/vscode/src/vs/workbench/contrib/externalUriOpener/common/externalUriOpener.contribution.js +0 -6
  934. package/vscode/src/vs/workbench/contrib/interactive/browser/interactiveDocumentService.js +0 -27
  935. package/vscode/src/vs/workbench/contrib/interactive/browser/interactiveHistoryService.js +0 -49
  936. package/vscode/src/vs/workbench/contrib/languageStatus/browser/languageStatus.contribution.js +0 -406
  937. package/vscode/src/vs/workbench/contrib/languageStatus/browser/media/languageStatus.css.js +0 -4
  938. package/vscode/src/vs/workbench/contrib/limitIndicator/browser/limitIndicator.contribution.js +0 -145
  939. package/vscode/src/vs/workbench/contrib/logs/common/defaultLogLevels.js +0 -155
  940. package/vscode/src/vs/workbench/contrib/logs/common/logsActions.js +0 -236
  941. package/vscode/src/vs/workbench/contrib/mergeEditor/browser/commands/commands.js +0 -634
  942. package/vscode/src/vs/workbench/contrib/mergeEditor/browser/commands/devCommands.js +0 -229
  943. package/vscode/src/vs/workbench/contrib/mergeEditor/browser/mergeEditor.contribution.js +0 -74
  944. package/vscode/src/vs/workbench/contrib/mergeEditor/browser/mergeEditorSerializer.js +0 -40
  945. package/vscode/src/vs/workbench/contrib/mergeEditor/browser/view/colors.js +0 -79
  946. package/vscode/src/vs/workbench/contrib/mergeEditor/browser/view/conflictActions.js +0 -348
  947. package/vscode/src/vs/workbench/contrib/mergeEditor/browser/view/editorGutter.js +0 -98
  948. package/vscode/src/vs/workbench/contrib/mergeEditor/browser/view/editors/baseCodeEditorView.js +0 -146
  949. package/vscode/src/vs/workbench/contrib/mergeEditor/browser/view/editors/codeEditorView.js +0 -104
  950. package/vscode/src/vs/workbench/contrib/mergeEditor/browser/view/editors/inputCodeEditorView.js +0 -401
  951. package/vscode/src/vs/workbench/contrib/mergeEditor/browser/view/editors/resultCodeEditorView.js +0 -197
  952. package/vscode/src/vs/workbench/contrib/mergeEditor/browser/view/fixedZoneWidget.js +0 -39
  953. package/vscode/src/vs/workbench/contrib/mergeEditor/browser/view/lineAlignment.js +0 -126
  954. package/vscode/src/vs/workbench/contrib/mergeEditor/browser/view/media/mergeEditor.css.js +0 -4
  955. package/vscode/src/vs/workbench/contrib/mergeEditor/browser/view/mergeEditor.js +0 -616
  956. package/vscode/src/vs/workbench/contrib/mergeEditor/browser/view/scrollSynchronizer.js +0 -159
  957. package/vscode/src/vs/workbench/contrib/mergeEditor/browser/view/viewModel.js +0 -264
  958. package/vscode/src/vs/workbench/contrib/mergeEditor/browser/view/viewZones.js +0 -171
  959. package/vscode/src/vs/workbench/contrib/output/common/outputChannelModel.js +0 -326
  960. package/vscode/src/vs/workbench/contrib/output/common/outputChannelModelService.js +0 -31
  961. package/vscode/src/vs/workbench/contrib/preferences/browser/keyboardLayoutPicker.js +0 -192
  962. package/vscode/src/vs/workbench/contrib/sash/browser/sash.contribution.js +0 -37
  963. package/vscode/src/vs/workbench/contrib/sash/browser/sash.js +0 -39
  964. package/vscode/src/vs/workbench/contrib/search/common/searchHistoryService.js +0 -44
  965. package/vscode/src/vs/workbench/contrib/terminal/browser/detachedTerminal.js +0 -92
  966. package/vscode/src/vs/workbench/contrib/terminal/browser/terminal.d.ts +0 -934
  967. package/vscode/src/vs/workbench/contrib/terminal/browser/terminalConfigHelper.d.ts +0 -48
  968. package/vscode/src/vs/workbench/contrib/terminal/browser/terminalExtensions.js +0 -25
  969. package/vscode/src/vs/workbench/contrib/terminal/browser/terminalIcons.js +0 -64
  970. package/vscode/src/vs/workbench/contrib/terminal/browser/terminalStatusList.d.ts +0 -25
  971. package/vscode/src/vs/workbench/contrib/terminal/browser/widgets/widgetManager.js +0 -36
  972. package/vscode/src/vs/workbench/contrib/terminal/browser/xterm/decorationAddon.js +0 -537
  973. package/vscode/src/vs/workbench/contrib/terminal/browser/xterm/decorationStyles.js +0 -141
  974. package/vscode/src/vs/workbench/contrib/terminal/browser/xterm/markNavigationAddon.d.ts +0 -8
  975. package/vscode/src/vs/workbench/contrib/terminal/browser/xterm/markNavigationAddon.js +0 -571
  976. package/vscode/src/vs/workbench/contrib/terminal/browser/xterm/xtermTerminal.d.ts +0 -166
  977. package/vscode/src/vs/workbench/contrib/terminal/browser/xterm/xtermTerminal.js +0 -804
  978. package/vscode/src/vs/workbench/contrib/terminal/browser/xterm-private.d.ts +0 -55
  979. package/vscode/src/vs/workbench/contrib/terminal/common/environmentVariable.d.ts +0 -9
  980. package/vscode/src/vs/workbench/contrib/terminal/common/terminal.d.ts +0 -238
  981. package/vscode/src/vs/workbench/contrib/terminal/common/terminalExtensionPoints.js +0 -27
  982. package/vscode/src/vs/workbench/contrib/testing/common/storedValue.js +0 -36
  983. package/vscode/src/vs/workbench/contrib/testing/common/testCoverageService.js +0 -62
  984. package/vscode/src/vs/workbench/contrib/testing/common/testExplorerFilterState.js +0 -116
  985. package/vscode/src/vs/workbench/contrib/testing/common/testProfileService.js +0 -194
  986. package/vscode/src/vs/workbench/contrib/testing/common/testResultService.js +0 -158
  987. package/vscode/src/vs/workbench/contrib/testing/common/testResultStorage.js +0 -160
  988. package/vscode/src/vs/workbench/contrib/testing/common/testService.js +0 -102
  989. package/vscode/src/vs/workbench/contrib/testing/common/testingContextKeys.js +0 -196
  990. package/vscode/src/vs/workbench/contrib/testing/common/testingContinuousRunService.js +0 -127
  991. package/vscode/src/vs/workbench/contrib/testing/common/testingDecorations.js +0 -29
  992. package/vscode/src/vs/workbench/contrib/typeHierarchy/browser/media/typeHierarchy.css.js +0 -4
  993. package/vscode/src/vs/workbench/contrib/typeHierarchy/browser/typeHierarchy.contribution.js +0 -281
  994. package/vscode/src/vs/workbench/contrib/typeHierarchy/browser/typeHierarchyPeek.js +0 -358
  995. package/vscode/src/vs/workbench/contrib/typeHierarchy/browser/typeHierarchyTree.js +0 -131
  996. package/vscode/src/vs/workbench/contrib/webview/browser/overlayWebview.js +0 -311
  997. package/vscode/src/vs/workbench/contrib/webview/browser/resourceLoading.js +0 -94
  998. package/vscode/src/vs/workbench/contrib/webview/browser/themeing.js +0 -96
  999. package/vscode/src/vs/workbench/contrib/webview/browser/webviewElement.js +0 -654
  1000. package/vscode/src/vs/workbench/contrib/webview/browser/webviewFindWidget.js +0 -63
  1001. package/vscode/src/vs/workbench/contrib/webview/browser/webviewService.js +0 -57
  1002. package/vscode/src/vs/workbench/contrib/webviewPanel/browser/webviewCommands.js +0 -140
  1003. package/vscode/src/vs/workbench/contrib/webviewPanel/browser/webviewEditorInputSerializer.js +0 -119
  1004. package/vscode/src/vs/workbench/contrib/webviewPanel/browser/webviewPanel.contribution.js +0 -65
  1005. package/vscode/src/vs/workbench/contrib/webviewView/browser/webviewViewPane.js +0 -230
  1006. package/vscode/src/vs/workbench/contrib/webviewView/browser/webviewViewService.js +0 -45
  1007. package/vscode/src/vs/workbench/contrib/welcomeGettingStarted/browser/gettingStartedExtensionPoint.js +0 -375
  1008. package/vscode/src/vs/workbench/contrib/welcomeGettingStarted/browser/gettingStartedService.js +0 -525
  1009. package/vscode/src/vs/workbench/contrib/welcomeGettingStarted/common/gettingStartedContent.js +0 -934
  1010. package/vscode/src/vs/workbench/services/activity/browser/activityService.d.ts +0 -26
  1011. package/vscode/src/vs/workbench/services/activity/browser/activityService.js +0 -143
  1012. package/vscode/src/vs/workbench/services/aiEmbeddingVector/common/aiEmbeddingVectorService.js +0 -75
  1013. package/vscode/src/vs/workbench/services/assignment/common/assignmentService.js +0 -31
  1014. package/vscode/src/vs/workbench/services/authentication/browser/authenticationAccessService.js +0 -69
  1015. package/vscode/src/vs/workbench/services/authentication/browser/authenticationUsageService.js +0 -50
  1016. package/vscode/src/vs/workbench/services/auxiliaryWindow/browser/auxiliaryWindowService.js +0 -341
  1017. package/vscode/src/vs/workbench/services/configuration/common/jsonEditing.js +0 -9
  1018. package/vscode/src/vs/workbench/services/driver/browser/driver.js +0 -184
  1019. package/vscode/src/vs/workbench/services/editor/browser/editorPaneService.js +0 -11
  1020. package/vscode/src/vs/workbench/services/editor/browser/editorResolverService.js +0 -672
  1021. package/vscode/src/vs/workbench/services/environment/browser/environmentService.js +0 -378
  1022. package/vscode/src/vs/workbench/services/extensionManagement/browser/extensionBisect.js +0 -396
  1023. package/vscode/src/vs/workbench/services/extensionManagement/common/extensionManagement.d.ts +0 -150
  1024. package/vscode/src/vs/workbench/services/extensions/browser/extensionService.d.ts +0 -44
  1025. package/vscode/src/vs/workbench/services/extensions/browser/extensionUrlHandler.js +0 -339
  1026. package/vscode/src/vs/workbench/services/extensions/browser/webWorkerExtensionHost.d.ts +0 -11
  1027. package/vscode/src/vs/workbench/services/extensions/common/abstractExtensionService.d.ts +0 -160
  1028. package/vscode/src/vs/workbench/services/extensions/common/extensionDescriptionRegistry.d.ts +0 -18
  1029. package/vscode/src/vs/workbench/services/extensions/common/extensionHostManagers.d.ts +0 -39
  1030. package/vscode/src/vs/workbench/services/extensions/common/extensionHostProxy.d.ts +0 -17
  1031. package/vscode/src/vs/workbench/services/extensions/common/extensionManifestPropertiesService.d.ts +0 -20
  1032. package/vscode/src/vs/workbench/services/extensions/common/extensionRunningLocationTracker.d.ts +0 -45
  1033. package/vscode/src/vs/workbench/services/extensions/common/extensionsProposedApi.d.ts +0 -17
  1034. package/vscode/src/vs/workbench/services/extensions/common/rpcProtocol.d.ts +0 -6
  1035. package/vscode/src/vs/workbench/services/history/browser/historyService.js +0 -1511
  1036. package/vscode/src/vs/workbench/services/host/browser/host.d.ts +0 -102
  1037. package/vscode/src/vs/workbench/services/issue/browser/issueTroubleshoot.js +0 -418
  1038. package/vscode/src/vs/workbench/services/keybinding/common/keybindingEditing.js +0 -267
  1039. package/vscode/src/vs/workbench/services/languageStatus/common/languageStatusService.js +0 -26
  1040. package/vscode/src/vs/workbench/services/path/common/pathService.d.ts +0 -65
  1041. package/vscode/src/vs/workbench/services/path/common/pathService.js +0 -108
  1042. package/vscode/src/vs/workbench/services/progress/browser/media/progressService.css.js +0 -4
  1043. package/vscode/src/vs/workbench/services/progress/browser/progressService.js +0 -521
  1044. package/vscode/src/vs/workbench/services/remote/common/remoteAgentService.js +0 -59
  1045. package/vscode/src/vs/workbench/services/remote/common/remoteExplorerService.d.ts +0 -83
  1046. package/vscode/src/vs/workbench/services/remote/common/tunnelModel.d.ts +0 -182
  1047. package/vscode/src/vs/workbench/services/terminal/common/embedderTerminalService.js +0 -77
  1048. package/vscode/src/vs/workbench/services/textMate/common/TMHelper.js +0 -107
  1049. package/vscode/src/vs/workbench/services/timer/browser/timerService.js +0 -243
  1050. package/vscode/src/vs/workbench/services/untitled/common/untitledTextEditorHandler.js +0 -100
  1051. package/vscode/src/vs/workbench/services/untitled/common/untitledTextEditorService.js +0 -132
  1052. package/vscode/src/vs/workbench/services/userActivity/common/userActivityRegistry.js +0 -15
  1053. package/vscode/src/vs/workbench/services/userActivity/common/userActivityService.js +0 -37
  1054. package/vscode/src/vs/workbench/services/userData/browser/userDataInit.d.ts +0 -15
  1055. package/vscode/src/vs/workbench/services/userData/browser/userDataInit.js +0 -60
  1056. package/vscode/src/vs/workbench/services/userDataProfile/common/remoteUserDataProfiles.js +0 -150
  1057. package/vscode/src/vs/workbench/services/views/browser/viewDescriptorService.js +0 -708
  1058. package/vscode/src/vs/workbench/services/views/common/viewContainerModel.js +0 -601
  1059. package/vscode/src/vs/workbench/services/workingCopy/common/storedFileWorkingCopySaveParticipant.js +0 -62
  1060. package/vscode/src/vs/workbench/services/workingCopy/common/workingCopyEditorService.js +0 -40
  1061. package/vscode/src/vs/workbench/services/workingCopy/common/workingCopyFileOperationParticipant.js +0 -40
  1062. package/vscode/src/vs/workbench/services/workingCopy/common/workingCopyFileService.js +0 -181
  1063. package/vscode/src/vs/workbench/services/workingCopy/common/workingCopyService.js +0 -126
  1064. package/vscode/src/vs/workbench/services/workspaces/common/workspaceIdentityService.js +0 -102
  1065. /package/vscode/src/vs/platform/clipboard/common/{clipboardService.js → clipboardService.service.js} +0 -0
  1066. /package/vscode/src/vs/platform/contextview/browser/{contextView.js → contextView.service.js} +0 -0
  1067. /package/vscode/src/vs/platform/debug/common/{extensionHostDebug.js → extensionHostDebug.service.js} +0 -0
  1068. /package/vscode/src/vs/platform/download/common/{download.js → download.service.js} +0 -0
  1069. /package/vscode/src/vs/platform/encryption/common/{encryptionService.js → encryptionService.service.js} +0 -0
  1070. /package/vscode/src/vs/platform/environment/common/{environment.js → environment.service.js} +0 -0
  1071. /package/vscode/src/vs/platform/keybinding/common/{keybinding.js → keybinding.service.js} +0 -0
  1072. /package/vscode/src/vs/platform/label/common/{label.js → label.service.js} +0 -0
  1073. /package/vscode/src/vs/platform/layout/browser/{layoutService.js → layoutService.service.js} +0 -0
  1074. /package/vscode/src/vs/platform/product/common/{productService.d.ts → productService.service.d.ts} +0 -0
  1075. /package/vscode/src/vs/platform/uriIdentity/common/{uriIdentity.js → uriIdentity.service.js} +0 -0
  1076. /package/vscode/src/vs/platform/url/common/{url.js → url.service.js} +0 -0
  1077. /package/vscode/src/vs/platform/workspace/common/{canonicalUri.js → canonicalUri.service.js} +0 -0
  1078. /package/vscode/src/vs/workbench/browser/parts/editor/{breadcrumbs.d.ts → breadcrumbs.service.d.ts} +0 -0
  1079. /package/vscode/src/vs/workbench/contrib/chat/common/{chatContributionService.js → chatContributionService.service.js} +0 -0
  1080. /package/vscode/src/vs/workbench/contrib/chat/common/{chatVariables.js → chatVariables.service.js} +0 -0
  1081. /package/vscode/src/vs/workbench/contrib/inlineChat/browser/{inlineChatSavingService.js → inlineChatSavingService.service.js} +0 -0
  1082. /package/vscode/src/vs/workbench/contrib/inlineChat/browser/{inlineChatSessionService.js → inlineChatSessionService.service.js} +0 -0
  1083. /package/vscode/src/vs/workbench/contrib/notebook/browser/services/{notebookEditorService.js → notebookEditorService.service.js} +0 -0
  1084. /package/vscode/src/vs/workbench/contrib/notebook/common/{notebookCellStatusBarService.js → notebookCellStatusBarService.service.js} +0 -0
  1085. /package/vscode/src/vs/workbench/contrib/notebook/common/{notebookEditorModelResolverService.js → notebookEditorModelResolverService.service.js} +0 -0
  1086. /package/vscode/src/vs/workbench/contrib/notebook/common/{notebookKeymapService.js → notebookKeymapService.service.js} +0 -0
  1087. /package/vscode/src/vs/workbench/contrib/notebook/common/{notebookLoggingService.js → notebookLoggingService.service.js} +0 -0
  1088. /package/vscode/src/vs/workbench/contrib/notebook/common/{notebookRendererMessagingService.js → notebookRendererMessagingService.service.js} +0 -0
  1089. /package/vscode/src/vs/workbench/contrib/scm/common/{quickDiff.js → quickDiff.service.js} +0 -0
  1090. /package/vscode/src/vs/workbench/contrib/search/browser/{replace.js → replace.service.js} +0 -0
  1091. /package/vscode/src/vs/workbench/contrib/search/common/{notebookSearch.js → notebookSearch.service.js} +0 -0
  1092. /package/vscode/src/vs/workbench/contrib/share/common/{share.js → share.service.js} +0 -0
  1093. /package/vscode/src/vs/workbench/contrib/snippets/browser/{snippets.js → snippets.service.js} +0 -0
  1094. /package/vscode/src/vs/workbench/contrib/terminal/common/{environmentVariable.js → environmentVariable.service.js} +0 -0
  1095. /package/vscode/src/vs/workbench/contrib/terminalContrib/links/browser/{links.js → links.service.js} +0 -0
  1096. /package/vscode/src/vs/workbench/contrib/testing/common/{testingPeekOpener.js → testingPeekOpener.service.js} +0 -0
  1097. /package/vscode/src/vs/workbench/services/banner/browser/{bannerService.js → bannerService.service.js} +0 -0
  1098. /package/vscode/src/vs/workbench/services/decorations/common/{decorations.js → decorations.service.js} +0 -0
  1099. /package/vscode/src/vs/workbench/services/editor/common/{customEditorLabelService.d.ts → customEditorLabelService.service.d.ts} +0 -0
  1100. /package/vscode/src/vs/workbench/services/editor/common/{editorPaneService.js → editorPaneService.service.js} +0 -0
  1101. /package/vscode/src/vs/workbench/services/extensionRecommendations/common/{extensionRecommendations.js → extensionRecommendations.service.js} +0 -0
  1102. /package/vscode/src/vs/workbench/services/files/common/{elevatedFileService.js → elevatedFileService.service.js} +0 -0
  1103. /package/vscode/src/vs/workbench/services/host/browser/{host.js → host.service.js} +0 -0
  1104. /package/vscode/src/vs/workbench/services/issue/common/{issue.js → issue.service.js} +0 -0
  1105. /package/vscode/src/vs/workbench/services/localization/common/{locale.d.ts → locale.service.d.ts} +0 -0
  1106. /package/vscode/src/vs/workbench/services/localization/common/{locale.js → locale.service.js} +0 -0
  1107. /package/vscode/src/vs/workbench/services/outline/browser/{outline.js → outline.service.js} +0 -0
  1108. /package/vscode/src/vs/workbench/services/panecomposite/browser/{panecomposite.js → panecomposite.service.js} +0 -0
  1109. /package/vscode/src/vs/workbench/services/textMate/browser/{textMateTokenizationFeature.js → textMateTokenizationFeature.service.js} +0 -0
  1110. /package/vscode/src/vs/workbench/services/themes/common/{hostColorSchemeService.js → hostColorSchemeService.service.js} +0 -0
  1111. /package/vscode/src/vs/workbench/services/title/browser/{titleService.js → titleService.service.js} +0 -0
  1112. /package/vscode/src/vs/workbench/services/views/browser/{treeViewsService.js → treeViewsService.service.js} +0 -0
  1113. /package/vscode/src/vs/workbench/services/views/common/{viewsService.d.ts → viewsService.service.d.ts} +0 -0
  1114. /package/vscode/src/vs/workbench/services/views/common/{viewsService.js → viewsService.service.js} +0 -0
  1115. /package/vscode/src/vs/workbench/services/workingCopy/common/{workingCopyBackup.js → workingCopyBackup.service.js} +0 -0
  1116. /package/vscode/src/vs/workbench/services/workspaces/common/{workspaceEditing.js → workspaceEditing.service.js} +0 -0
@@ -1,934 +0,0 @@
1
- import { ServiceIdentifier } from '../../../../platform/instantiation/common/instantiation.js';
2
- import { IDimension } from '../../../../base/browser/dom.js';
3
- import { Orientation } from '../../../../base/browser/ui/sash/sash.js';
4
- import { Color } from '../../../../base/common/color.js';
5
- import { Event, IDynamicListEventMultiplexer } from '../../../../base/common/event.js';
6
- import { DisposableStore, IDisposable } from '../../../../base/common/lifecycle.js';
7
- import { OperatingSystem } from '../../../../base/common/platform.js';
8
- import { URI } from '../../../../base/common/uri.js';
9
- import { TerminalCapability, ITerminalCapabilityImplMap, IMarkProperties, ITerminalCommand, ITerminalCapabilityStore } from '../../../../platform/terminal/common/capabilities/capabilities.js';
10
- import { IMergedEnvironmentVariableCollection } from '../../../../platform/terminal/common/environmentVariable.js';
11
- import { IShellLaunchConfig, ITerminalProfile, TerminalLocation, ITerminalBackend, ITerminalLaunchError, IExtensionTerminalProfile, TerminalIcon, IReconnectionProperties, WaitOnExitValue, TerminalExitReason, TitleEventSource, TerminalShellType, ITerminalDimensions, ITerminalTabLayoutInfoById, IShellIntegration } from '../../../../platform/terminal/common/terminal.js';
12
- import { IColorTheme } from '../../../../platform/theme/common/themeService.js';
13
- import { IWorkspaceFolder } from '../../../../platform/workspace/common/workspace.js';
14
- import { GroupIdentifier } from '../../../common/editor.js';
15
- import { IEditableData } from '../../../common/views.js';
16
- import { ITerminalStatusList } from './terminalStatusList.js';
17
- import { XtermTerminal } from './xterm/xtermTerminal.js';
18
- import { IStartExtensionTerminalRequest, ITerminalProcessExtHostProxy, IRemoteTerminalAttachTarget, ITerminalConfiguration, ITerminalFont, ITerminalProcessInfo } from '../common/terminal.js';
19
- import { IContextKeyService } from '../../../../platform/contextkey/common/contextkey.js';
20
- import { IMarker, IBufferRange, ITheme, Terminal } from '@xterm/xterm';
21
- import { ScrollPosition } from './xterm/markNavigationAddon.js';
22
- import { SIDE_GROUP_TYPE, ACTIVE_GROUP_TYPE, AUX_WINDOW_GROUP_TYPE } from '../../../services/editor/common/editorService.js';
23
- import { ICurrentPartialCommand } from '../../../../platform/terminal/common/capabilities/commandDetection/terminalCommand.js';
24
-
25
- /**
26
- * A terminal contribution that gets created whenever a terminal is created. A contribution has
27
- * access to the process manager through the constructor and provides a method for when xterm.js has
28
- * been initialized.
29
- */
30
- interface ITerminalContribution extends IDisposable {
31
- layout?(xterm: IXtermTerminal & {
32
- raw: Terminal;
33
- }, dimension: IDimension): void;
34
- xtermOpen?(xterm: IXtermTerminal & {
35
- raw: Terminal;
36
- }): void;
37
- xtermReady?(xterm: IXtermTerminal & {
38
- raw: Terminal;
39
- }): void;
40
- }
41
- declare const ITerminalInstanceService: ServiceIdentifier<ITerminalInstanceService>;
42
- /**
43
- * A service used to create instances or fetch backends, this services allows services that
44
- * ITerminalService depends on to also create instances.
45
- *
46
- * **This service is intended to only be used within the terminal contrib.**
47
- */
48
- interface ITerminalInstanceService {
49
- readonly _serviceBrand: undefined;
50
- /**
51
- * An event that's fired when a terminal instance is created.
52
- */
53
- onDidCreateInstance: Event<ITerminalInstance>;
54
- /**
55
- * Helper function to convert a shell launch config, a profile or undefined into its equivalent
56
- * shell launch config.
57
- * @param shellLaunchConfigOrProfile A shell launch config, a profile or undefined
58
- * @param cwd A cwd to override.
59
- */
60
- convertProfileToShellLaunchConfig(shellLaunchConfigOrProfile?: IShellLaunchConfig | ITerminalProfile, cwd?: string | URI): IShellLaunchConfig;
61
- /**
62
- * Create a new terminal instance.
63
- * @param launchConfig The shell launch config.
64
- * @param target The target of the terminal.
65
- */
66
- createInstance(launchConfig: IShellLaunchConfig, target: TerminalLocation): ITerminalInstance;
67
- /**
68
- * Gets the registered backend for a remote authority (undefined = local). This is a convenience
69
- * method to avoid using the more verbose fetching from the registry.
70
- * @param remoteAuthority The remote authority of the backend.
71
- */
72
- getBackend(remoteAuthority?: string): Promise<ITerminalBackend | undefined>;
73
- getRegisteredBackends(): IterableIterator<ITerminalBackend>;
74
- didRegisterBackend(remoteAuthority?: string): void;
75
- }
76
- interface ITerminalConfigHelper {
77
- config: ITerminalConfiguration;
78
- panelContainer: HTMLElement | undefined;
79
- configFontIsMonospace(): boolean;
80
- getFont(w: Window): ITerminalFont;
81
- showRecommendations(shellLaunchConfig: IShellLaunchConfig): void;
82
- }
83
- declare const enum Direction {
84
- Left = 0,
85
- Right = 1,
86
- Up = 2,
87
- Down = 3
88
- }
89
- interface IMarkTracker {
90
- scrollToPreviousMark(scrollPosition?: ScrollPosition, retainSelection?: boolean, skipEmptyCommands?: boolean): void;
91
- scrollToNextMark(): void;
92
- selectToPreviousMark(): void;
93
- selectToNextMark(): void;
94
- selectToPreviousLine(): void;
95
- selectToNextLine(): void;
96
- clear(): void;
97
- scrollToClosestMarker(startMarkerId: string, endMarkerId?: string, highlight?: boolean | undefined): void;
98
- scrollToLine(line: number, position: ScrollPosition): void;
99
- revealCommand(command: ITerminalCommand | ICurrentPartialCommand, position?: ScrollPosition): void;
100
- revealRange(range: IBufferRange): void;
101
- registerTemporaryDecoration(marker: IMarker, endMarker: IMarker | undefined, showOutline: boolean): void;
102
- showCommandGuide(command: ITerminalCommand | undefined): void;
103
- saveScrollState(): void;
104
- restoreScrollState(): void;
105
- }
106
- interface ITerminalGroup {
107
- activeInstance: ITerminalInstance | undefined;
108
- terminalInstances: ITerminalInstance[];
109
- title: string;
110
- readonly onDidDisposeInstance: Event<ITerminalInstance>;
111
- readonly onDisposed: Event<ITerminalGroup>;
112
- readonly onInstancesChanged: Event<void>;
113
- readonly onPanelOrientationChanged: Event<Orientation>;
114
- focusPreviousPane(): void;
115
- focusNextPane(): void;
116
- resizePane(direction: Direction): void;
117
- resizePanes(relativeSizes: number[]): void;
118
- setActiveInstanceByIndex(index: number, force?: boolean): void;
119
- attachToElement(element: HTMLElement): void;
120
- addInstance(instance: ITerminalInstance): void;
121
- removeInstance(instance: ITerminalInstance): void;
122
- moveInstance(instance: ITerminalInstance, index: number): void;
123
- setVisible(visible: boolean): void;
124
- layout(width: number, height: number): void;
125
- addDisposable(disposable: IDisposable): void;
126
- split(shellLaunchConfig: IShellLaunchConfig): ITerminalInstance;
127
- getLayoutInfo(isActive: boolean): ITerminalTabLayoutInfoById;
128
- }
129
- declare const enum TerminalConnectionState {
130
- Connecting = 0,
131
- Connected = 1
132
- }
133
- interface IDetachedXTermOptions {
134
- cols: number;
135
- rows: number;
136
- colorProvider: IXtermColorProvider;
137
- capabilities?: ITerminalCapabilityStore;
138
- readonly?: boolean;
139
- processInfo: ITerminalProcessInfo;
140
- }
141
- /**
142
- * A generic interface implemented in both the {@link ITerminalInstance} (an
143
- * interface used for terminals attached to the terminal panel or editor) and
144
- * {@link IDetachedTerminalInstance} (a terminal used elsewhere in VS Code UI).
145
- */
146
- interface IBaseTerminalInstance {
147
- readonly capabilities: ITerminalCapabilityStore;
148
- /**
149
- * DOM element the terminal is mounted in.
150
- */
151
- readonly domElement?: HTMLElement;
152
- /**
153
- * Current selection in the terminal.
154
- */
155
- readonly selection: string | undefined;
156
- /**
157
- * Check if anything is selected in terminal.
158
- */
159
- hasSelection(): boolean;
160
- /**
161
- * Clear current selection.
162
- */
163
- clearSelection(): void;
164
- /**
165
- * Focuses the terminal instance if it's able to (the xterm.js instance must exist).
166
- *
167
- * @param force Force focus even if there is a selection.
168
- */
169
- focus(force?: boolean): void;
170
- /**
171
- * Force the scroll bar to be visible until {@link resetScrollbarVisibility} is called.
172
- */
173
- forceScrollbarVisibility(): void;
174
- /**
175
- * Resets the scroll bar to only be visible when needed, this does nothing unless
176
- * {@link forceScrollbarVisibility} was called.
177
- */
178
- resetScrollbarVisibility(): void;
179
- /**
180
- * Gets a terminal contribution by its ID.
181
- */
182
- getContribution<T extends ITerminalContribution>(id: string): T | null;
183
- }
184
- /**
185
- * A {@link ITerminalInstance}-like object that emulates a subset of
186
- * capabilities. This instance is returned from {@link ITerminalService.createDetachedTerminal}
187
- * to represent terminals that appear in other parts of the VS Code UI outside
188
- * of the "Terminal" view or editors.
189
- */
190
- interface IDetachedTerminalInstance extends IDisposable, IBaseTerminalInstance {
191
- readonly xterm: IDetachedXtermTerminal;
192
- /**
193
- * Attached the terminal to the given element. This should be preferred over
194
- * calling {@link IXtermTerminal.attachToElement} so that extra DOM elements
195
- * for contributions are initialized.
196
- *
197
- * @param container Container the terminal will be rendered in
198
- * @param options Additional options for mounting the terminal in an element
199
- */
200
- attachToElement(container: HTMLElement, options?: Partial<IXtermAttachToElementOptions>): void;
201
- }
202
-
203
- declare const ITerminalService: ServiceIdentifier<ITerminalService>;
204
- interface ITerminalService extends ITerminalInstanceHost {
205
- readonly _serviceBrand: undefined;
206
- /** Gets all terminal instances, including editor and terminal view (group) instances. */
207
- readonly instances: readonly ITerminalInstance[];
208
- /** Gets detached terminal instances created via {@link createDetachedXterm}. */
209
- readonly detachedInstances: Iterable<IDetachedTerminalInstance>;
210
- readonly configHelper: ITerminalConfigHelper;
211
- readonly defaultLocation: TerminalLocation;
212
- readonly isProcessSupportRegistered: boolean;
213
- readonly connectionState: TerminalConnectionState;
214
- readonly whenConnected: Promise<void>;
215
- /** The number of restored terminal groups on startup. */
216
- readonly restoredGroupCount: number;
217
- readonly onDidCreateInstance: Event<ITerminalInstance>;
218
- readonly onDidChangeInstanceDimensions: Event<ITerminalInstance>;
219
- readonly onDidRequestStartExtensionTerminal: Event<IStartExtensionTerminalRequest>;
220
- readonly onDidRegisterProcessSupport: Event<void>;
221
- readonly onDidChangeConnectionState: Event<void>;
222
- readonly onDidChangeActiveGroup: Event<ITerminalGroup | undefined>;
223
- readonly onAnyInstanceData: Event<{
224
- instance: ITerminalInstance;
225
- data: string;
226
- }>;
227
- readonly onAnyInstanceDataInput: Event<ITerminalInstance>;
228
- readonly onAnyInstanceIconChange: Event<{
229
- instance: ITerminalInstance;
230
- userInitiated: boolean;
231
- }>;
232
- readonly onAnyInstanceMaximumDimensionsChange: Event<ITerminalInstance>;
233
- readonly onAnyInstancePrimaryStatusChange: Event<ITerminalInstance>;
234
- readonly onAnyInstanceProcessIdReady: Event<ITerminalInstance>;
235
- readonly onAnyInstanceSelectionChange: Event<ITerminalInstance>;
236
- readonly onAnyInstanceTitleChange: Event<ITerminalInstance>;
237
- /**
238
- * Creates a terminal.
239
- * @param options The options to create the terminal with, when not specified the default
240
- * profile will be used at the default target.
241
- */
242
- createTerminal(options?: ICreateTerminalOptions): Promise<ITerminalInstance>;
243
- /**
244
- * Creates a detached xterm instance which is not attached to the DOM or
245
- * tracked as a terminal instance.
246
- * @params options The options to create the terminal with
247
- */
248
- createDetachedTerminal(options: IDetachedXTermOptions): Promise<IDetachedTerminalInstance>;
249
- /**
250
- * Creates a raw terminal instance, this should not be used outside of the terminal part.
251
- */
252
- getInstanceFromId(terminalId: number): ITerminalInstance | undefined;
253
- getInstanceFromIndex(terminalIndex: number): ITerminalInstance;
254
- /**
255
- * An owner of terminals might be created after reconnection has occurred,
256
- * so store them to be requested/adopted later
257
- */
258
- getReconnectedTerminals(reconnectionOwner: string): ITerminalInstance[] | undefined;
259
- getActiveOrCreateInstance(options?: {
260
- acceptsInput?: boolean;
261
- }): Promise<ITerminalInstance>;
262
- revealActiveTerminal(preserveFocus?: boolean): Promise<void>;
263
- moveToEditor(source: ITerminalInstance, group?: GroupIdentifier | SIDE_GROUP_TYPE | ACTIVE_GROUP_TYPE | AUX_WINDOW_GROUP_TYPE): void;
264
- moveIntoNewEditor(source: ITerminalInstance): void;
265
- moveToTerminalView(source: ITerminalInstance | URI): Promise<void>;
266
- getPrimaryBackend(): ITerminalBackend | undefined;
267
- /**
268
- * Fire the onActiveTabChanged event, this will trigger the terminal dropdown to be updated,
269
- * among other things.
270
- */
271
- refreshActiveGroup(): void;
272
- registerProcessSupport(isSupported: boolean): void;
273
- showProfileQuickPick(type: 'setDefault' | 'createInstance', cwd?: string | URI): Promise<ITerminalInstance | undefined>;
274
- setContainers(panelContainer: HTMLElement, terminalContainer: HTMLElement): void;
275
- requestStartExtensionTerminal(proxy: ITerminalProcessExtHostProxy, cols: number, rows: number): Promise<ITerminalLaunchError | undefined>;
276
- isAttachedToTerminal(remoteTerm: IRemoteTerminalAttachTarget): boolean;
277
- getEditableData(instance: ITerminalInstance): IEditableData | undefined;
278
- setEditable(instance: ITerminalInstance, data: IEditableData | null): void;
279
- isEditable(instance: ITerminalInstance | undefined): boolean;
280
- safeDisposeTerminal(instance: ITerminalInstance): Promise<void>;
281
- getDefaultInstanceHost(): ITerminalInstanceHost;
282
- getInstanceHost(target: ITerminalLocationOptions | undefined): Promise<ITerminalInstanceHost>;
283
- resolveLocation(location?: ITerminalLocationOptions): Promise<TerminalLocation | undefined>;
284
- setNativeDelegate(nativeCalls: ITerminalServiceNativeDelegate): void;
285
- getEditingTerminal(): ITerminalInstance | undefined;
286
- setEditingTerminal(instance: ITerminalInstance | undefined): void;
287
- /**
288
- * Creates an instance event listener that listens to all instances, dynamically adding new
289
- * instances and removing old instances as needed.
290
- * @param getEvent Maps the instance to the event.
291
- */
292
- createOnInstanceEvent<T>(getEvent: (instance: ITerminalInstance) => Event<T>): Event<T>;
293
- /**
294
- * Creates a capability event listener that listens to capabilities on all instances,
295
- * dynamically adding and removing instances and capabilities as needed.
296
- * @param capabilityId The capability type to listen to an event on.
297
- * @param getEvent Maps the capability to the event.
298
- */
299
- createOnInstanceCapabilityEvent<T extends TerminalCapability, K>(capabilityId: T, getEvent: (capability: ITerminalCapabilityImplMap[T]) => Event<K>): IDynamicListEventMultiplexer<{
300
- instance: ITerminalInstance;
301
- data: K;
302
- }>;
303
- }
304
- interface ITerminalServiceNativeDelegate {
305
- getWindowCount(): Promise<number>;
306
- }
307
- type ITerminalLocationOptions = TerminalLocation | TerminalEditorLocation | {
308
- parentTerminal: Promise<ITerminalInstance> | ITerminalInstance;
309
- } | {
310
- splitActiveTerminal: boolean;
311
- };
312
- interface ICreateTerminalOptions {
313
- /**
314
- * The shell launch config or profile to launch with, when not specified the default terminal
315
- * profile will be used.
316
- */
317
- config?: IShellLaunchConfig | ITerminalProfile | IExtensionTerminalProfile;
318
- /**
319
- * The current working directory to start with, this will override IShellLaunchConfig.cwd if
320
- * specified.
321
- */
322
- cwd?: string | URI;
323
- /**
324
- * The terminal's resource, passed when the terminal has moved windows.
325
- */
326
- resource?: URI;
327
- /**
328
- * The terminal's location (editor or panel), it's terminal parent (split to the right), or editor group
329
- */
330
- location?: ITerminalLocationOptions;
331
- }
332
- interface TerminalEditorLocation {
333
- viewColumn: GroupIdentifier | SIDE_GROUP_TYPE | ACTIVE_GROUP_TYPE | AUX_WINDOW_GROUP_TYPE;
334
- preserveFocus?: boolean;
335
- }
336
- /**
337
- * An interface that indicates the implementer hosts terminal instances, exposing a common set of
338
- * properties and events.
339
- */
340
- interface ITerminalInstanceHost {
341
- readonly activeInstance: ITerminalInstance | undefined;
342
- readonly instances: readonly ITerminalInstance[];
343
- readonly onDidDisposeInstance: Event<ITerminalInstance>;
344
- readonly onDidFocusInstance: Event<ITerminalInstance>;
345
- readonly onDidChangeActiveInstance: Event<ITerminalInstance | undefined>;
346
- readonly onDidChangeInstances: Event<void>;
347
- readonly onDidChangeInstanceCapability: Event<ITerminalInstance>;
348
- setActiveInstance(instance: ITerminalInstance): void;
349
- /**
350
- * Reveal and focus the active instance, regardless of its location.
351
- */
352
- focusActiveInstance(): Promise<void>;
353
- /**
354
- * Gets an instance from a resource if it exists. This MUST be used instead of getInstanceFromId
355
- * when you only know about a terminal's URI. (a URI's instance ID may not be this window's instance ID)
356
- */
357
- getInstanceFromResource(resource: URI | undefined): ITerminalInstance | undefined;
358
- }
359
- interface ISearchOptions {
360
- /** Whether the find should be done as a regex. */
361
- regex?: boolean;
362
- /** Whether only whole words should match. */
363
- wholeWord?: boolean;
364
- /** Whether find should pay attention to case. */
365
- caseSensitive?: boolean;
366
- /** Whether the search should start at the current search position (not the next row). */
367
- incremental?: boolean;
368
- }
369
- interface ITerminalInstance extends IBaseTerminalInstance {
370
- /**
371
- * The ID of the terminal instance, this is an arbitrary number only used to uniquely identify
372
- * terminal instances within a window.
373
- */
374
- readonly instanceId: number;
375
- /**
376
- * A unique URI for this terminal instance with the following encoding:
377
- * path: /<workspace ID>/<instance ID>
378
- * fragment: Title
379
- * Note that when dragging terminals across windows, this will retain the original workspace ID /instance ID
380
- * from the other window.
381
- */
382
- readonly resource: URI;
383
- readonly cols: number;
384
- readonly rows: number;
385
- readonly maxCols: number;
386
- readonly maxRows: number;
387
- readonly fixedCols?: number;
388
- readonly fixedRows?: number;
389
- readonly domElement: HTMLElement;
390
- readonly icon?: TerminalIcon;
391
- readonly color?: string;
392
- readonly reconnectionProperties?: IReconnectionProperties;
393
- readonly processName: string;
394
- readonly sequence?: string;
395
- readonly staticTitle?: string;
396
- readonly workspaceFolder?: IWorkspaceFolder;
397
- readonly cwd?: string;
398
- readonly initialCwd?: string;
399
- readonly os?: OperatingSystem;
400
- readonly usedShellIntegrationInjection: boolean;
401
- readonly injectedArgs: string[] | undefined;
402
- readonly extEnvironmentVariableCollection: IMergedEnvironmentVariableCollection | undefined;
403
- /**
404
- * The underlying disposable store, allowing objects who share the same lifecycle as the
405
- * terminal instance but are created externally to be managed by the instance.
406
- */
407
- readonly store: DisposableStore;
408
- readonly statusList: ITerminalStatusList;
409
- /**
410
- * The process ID of the shell process, this is undefined when there is no process associated
411
- * with this terminal.
412
- */
413
- processId: number | undefined;
414
- /**
415
- * The position of the terminal.
416
- */
417
- target?: TerminalLocation;
418
- /**
419
- * The id of a persistent process. This is defined if this is a terminal created by a pty host
420
- * that supports reconnection.
421
- */
422
- readonly persistentProcessId: number | undefined;
423
- /**
424
- * Whether the process should be persisted across reloads.
425
- */
426
- readonly shouldPersist: boolean;
427
- readonly isDisposed: boolean;
428
- /**
429
- * Whether the terminal's pty is hosted on a remote.
430
- */
431
- readonly isRemote: boolean;
432
- /**
433
- * The remote authority of the terminal's pty.
434
- */
435
- readonly remoteAuthority: string | undefined;
436
- /**
437
- * Whether an element within this terminal is focused.
438
- */
439
- readonly hasFocus: boolean;
440
- /**
441
- * Get or set the behavior of the terminal when it closes. This was indented only to be called
442
- * after reconnecting to a terminal.
443
- */
444
- waitOnExit: WaitOnExitValue | undefined;
445
- /**
446
- * An event that fires when the terminal instance's title changes.
447
- */
448
- onTitleChanged: Event<ITerminalInstance>;
449
- /**
450
- * An event that fires when the terminal instance's icon changes.
451
- */
452
- onIconChanged: Event<{
453
- instance: ITerminalInstance;
454
- userInitiated: boolean;
455
- }>;
456
- /**
457
- * An event that fires when the terminal instance is disposed.
458
- */
459
- onDisposed: Event<ITerminalInstance>;
460
- onProcessIdReady: Event<ITerminalInstance>;
461
- onProcessReplayComplete: Event<void>;
462
- onRequestExtHostProcess: Event<ITerminalInstance>;
463
- onDimensionsChanged: Event<void>;
464
- onMaximumDimensionsChanged: Event<void>;
465
- onDidChangeHasChildProcesses: Event<boolean>;
466
- onDidFocus: Event<ITerminalInstance>;
467
- onDidRequestFocus: Event<void>;
468
- onDidBlur: Event<ITerminalInstance>;
469
- onDidInputData: Event<ITerminalInstance>;
470
- onDidChangeSelection: Event<ITerminalInstance>;
471
- onDidExecuteText: Event<void>;
472
- onDidChangeTarget: Event<TerminalLocation | undefined>;
473
- onDidSendText: Event<string>;
474
- /**
475
- * An event that fires when a terminal is dropped on this instance via drag and drop.
476
- */
477
- onRequestAddInstanceToGroup: Event<IRequestAddInstanceToGroupEvent>;
478
- /**
479
- * Attach a listener to the raw data stream coming from the pty, including ANSI escape
480
- * sequences.
481
- */
482
- onData: Event<string>;
483
- /**
484
- * Attach a listener to the binary data stream coming from xterm and going to pty
485
- */
486
- onBinary: Event<string>;
487
- /**
488
- * Attach a listener to listen for new lines added to this terminal instance.
489
- *
490
- * @param listener The listener function which takes new line strings added to the terminal,
491
- * excluding ANSI escape sequences. The line event will fire when an LF character is added to
492
- * the terminal (ie. the line is not wrapped). Note that this means that the line data will
493
- * not fire for the last line, until either the line is ended with a LF character of the process
494
- * is exited. The lineData string will contain the fully wrapped line, not containing any LF/CR
495
- * characters.
496
- */
497
- onLineData: Event<string>;
498
- /**
499
- * Attach a listener that fires when the terminal's pty process exits. The number in the event
500
- * is the processes' exit code, an exit code of undefined means the process was killed as a result of
501
- * the ITerminalInstance being disposed.
502
- */
503
- onExit: Event<number | ITerminalLaunchError | undefined>;
504
- /**
505
- * The exit code or undefined when the terminal process hasn't yet exited or
506
- * the process exit code could not be determined. Use {@link exitReason} to see
507
- * why the process has exited.
508
- */
509
- readonly exitCode: number | undefined;
510
- /**
511
- * The reason the terminal process exited, this will be undefined if the process is still
512
- * running.
513
- */
514
- readonly exitReason: TerminalExitReason | undefined;
515
- /**
516
- * The xterm.js instance for this terminal.
517
- */
518
- readonly xterm?: XtermTerminal;
519
- /**
520
- * Returns an array of data events that have fired within the first 10 seconds. If this is
521
- * called 10 seconds after the terminal has existed the result will be undefined. This is useful
522
- * when objects that depend on the data events have delayed initialization, like extension
523
- * hosts.
524
- */
525
- readonly initialDataEvents: string[] | undefined;
526
- /** A promise that resolves when the terminal's pty/process have been created. */
527
- readonly processReady: Promise<void>;
528
- /** Whether the terminal's process has child processes (ie. is dirty/busy). */
529
- readonly hasChildProcesses: boolean;
530
- /**
531
- * The title of the terminal. This is either title or the process currently running or an
532
- * explicit name given to the terminal instance through the extension API.
533
- */
534
- readonly title: string;
535
- /**
536
- * How the current title was set.
537
- */
538
- readonly titleSource: TitleEventSource;
539
- /**
540
- * The shell type of the terminal.
541
- */
542
- readonly shellType: TerminalShellType | undefined;
543
- /**
544
- * The focus state of the terminal before exiting.
545
- */
546
- readonly hadFocusOnExit: boolean;
547
- /**
548
- * False when the title is set by an API or the user. We check this to make sure we
549
- * do not override the title when the process title changes in the terminal.
550
- */
551
- isTitleSetByProcess: boolean;
552
- /**
553
- * The shell launch config used to launch the shell.
554
- */
555
- readonly shellLaunchConfig: IShellLaunchConfig;
556
- /**
557
- * Whether to disable layout for the terminal. This is useful when the size of the terminal is
558
- * being manipulating (e.g. adding a split pane) and we want the terminal to ignore particular
559
- * resize events.
560
- */
561
- disableLayout: boolean;
562
- /**
563
- * The description of the terminal, this is typically displayed next to {@link title}.
564
- */
565
- description: string | undefined;
566
- /**
567
- * The remote-aware $HOME directory (or Windows equivalent) of the terminal.
568
- */
569
- userHome: string | undefined;
570
- /**
571
- * The nonce used to verify commands coming from shell integration.
572
- */
573
- shellIntegrationNonce: string;
574
- /**
575
- * Registers and returns a marker
576
- * @param the y offset from the cursor
577
- */
578
- registerMarker(offset?: number): IMarker | undefined;
579
- /**
580
- * Adds a marker to the buffer, mapping it to an ID if provided.
581
- */
582
- addBufferMarker(properties: IMarkProperties): void;
583
- /**
584
- *
585
- * @param startMarkId The ID for the start marker
586
- * @param endMarkId The ID for the end marker
587
- * @param highlight Whether the buffer from startMarker to endMarker
588
- * should be highlighted
589
- */
590
- scrollToMark(startMarkId: string, endMarkId?: string, highlight?: boolean): void;
591
- /**
592
- * Dispose the terminal instance, removing it from the panel/service and freeing up resources.
593
- *
594
- * @param reason The reason why the terminal is being disposed
595
- */
596
- dispose(reason?: TerminalExitReason): void;
597
- /**
598
- * Informs the process that the terminal is now detached and
599
- * then disposes the terminal.
600
- *
601
- * @param reason The reason why the terminal is being disposed
602
- */
603
- detachProcessAndDispose(reason: TerminalExitReason): Promise<void>;
604
- /**
605
- * Copies the terminal selection to the clipboard.
606
- */
607
- copySelection(asHtml?: boolean, command?: ITerminalCommand): Promise<void>;
608
- /**
609
- * When the panel is hidden or a terminal in the editor area becomes inactive, reset the focus context key
610
- * to avoid issues like #147180.
611
- */
612
- resetFocusContextKey(): void;
613
- /**
614
- * Focuses the terminal instance when it's ready (the xterm.js instance much exist). This is the
615
- * best focus call when the terminal is being shown for example.
616
- * when the terminal is being shown.
617
- *
618
- * @param force Force focus even if there is a selection.
619
- */
620
- focusWhenReady(force?: boolean): Promise<void>;
621
- /**
622
- * Focuses and pastes the contents of the clipboard into the terminal instance.
623
- */
624
- paste(): Promise<void>;
625
- /**
626
- * Focuses and pastes the contents of the selection clipboard into the terminal instance.
627
- */
628
- pasteSelection(): Promise<void>;
629
- /**
630
- * Override the copy on selection feature with a custom value.
631
- * @param value Whether to enable copySelection.
632
- */
633
- overrideCopyOnSelection(value: boolean): IDisposable;
634
- /**
635
- * Send text to the terminal instance. The text is written to the stdin of the underlying pty
636
- * process (shell) of the terminal instance.
637
- *
638
- * @param text The text to send.
639
- * @param shouldExecute Indicates that the text being sent should be executed rather than just inserted in the terminal.
640
- * The character(s) added are \n or \r\n, depending on the platform. This defaults to `true`.
641
- * @param bracketedPasteMode Whether to wrap the text in the bracketed paste mode sequence when
642
- * it's enabled. When true, the shell will treat the text as if it were pasted into the shell,
643
- * this may for example select the text and it will also ensure that the text will not be
644
- * interpreted as a shell keybinding.
645
- */
646
- sendText(text: string, shouldExecute: boolean, bracketedPasteMode?: boolean): Promise<void>;
647
- /**
648
- * Sends a path to the terminal instance, preparing it as needed based on the detected shell
649
- * running within the terminal. The text is written to the stdin of the underlying pty process
650
- * (shell) of the terminal instance.
651
- *
652
- * @param originalPath The path to send.
653
- * @param shouldExecute Indicates that the text being sent should be executed rather than just inserted in the terminal.
654
- * The character(s) added are \n or \r\n, depending on the platform. This defaults to `true`.
655
- */
656
- sendPath(originalPath: string | URI, shouldExecute: boolean): Promise<void>;
657
- runCommand(command: string, shouldExecute?: boolean): void;
658
- /**
659
- * Takes a path and returns the properly escaped path to send to a given shell. On Windows, this
660
- * includes trying to prepare the path for WSL if needed.
661
- *
662
- * @param originalPath The path to be escaped and formatted.
663
- */
664
- preparePathForShell(originalPath: string): Promise<string>;
665
- /** Scroll the terminal buffer down 1 line. */ scrollDownLine(): void;
666
- /** Scroll the terminal buffer down 1 page. */ scrollDownPage(): void;
667
- /** Scroll the terminal buffer to the bottom. */ scrollToBottom(): void;
668
- /** Scroll the terminal buffer up 1 line. */ scrollUpLine(): void;
669
- /** Scroll the terminal buffer up 1 page. */ scrollUpPage(): void;
670
- /** Scroll the terminal buffer to the top. */ scrollToTop(): void;
671
- /**
672
- * Clears the terminal buffer, leaving only the prompt line and moving it to the top of the
673
- * viewport.
674
- */
675
- clearBuffer(): void;
676
- /**
677
- * Attaches the terminal instance to an element on the DOM, before this is called the terminal
678
- * instance process may run in the background but cannot be displayed on the UI.
679
- *
680
- * @param container The element to attach the terminal instance to.
681
- */
682
- attachToElement(container: HTMLElement): void;
683
- /**
684
- * Detaches the terminal instance from the terminal editor DOM element.
685
- */
686
- detachFromElement(): void;
687
- /**
688
- * Layout the terminal instance.
689
- *
690
- * @param dimension The dimensions of the container.
691
- */
692
- layout(dimension: {
693
- width: number;
694
- height: number;
695
- }): void;
696
- /**
697
- * Sets whether the terminal instance's element is visible in the DOM.
698
- *
699
- * @param visible Whether the element is visible.
700
- */
701
- setVisible(visible: boolean): void;
702
- /**
703
- * Immediately kills the terminal's current pty process and launches a new one to replace it.
704
- *
705
- * @param shell The new launch configuration.
706
- */
707
- reuseTerminal(shell: IShellLaunchConfig): Promise<void>;
708
- /**
709
- * Relaunches the terminal, killing it and reusing the launch config used initially. Any
710
- * environment variable changes will be recalculated when this happens.
711
- */
712
- relaunch(): void;
713
- /**
714
- * Sets the terminal instance's dimensions to the values provided via the onDidOverrideDimensions event,
715
- * which allows overriding the the regular dimensions (fit to the size of the panel).
716
- */
717
- setOverrideDimensions(dimensions: ITerminalDimensions): void;
718
- /**
719
- * Sets the terminal instance's dimensions to the values provided via quick input.
720
- */
721
- setFixedDimensions(): Promise<void>;
722
- /**
723
- * Toggles terminal line wrapping.
724
- */
725
- toggleSizeToContentWidth(): Promise<void>;
726
- /**
727
- * Gets the initial current working directory, fetching it from the backend if required.
728
- */
729
- getInitialCwd(): Promise<string>;
730
- /**
731
- * Gets the current working directory from cwd detection capabilities if available, otherwise
732
- * from the backend. This will return the initial cwd if cwd detection is not available (ie.
733
- * on Windows when shell integration is disabled).
734
- */
735
- getCwd(): Promise<string>;
736
- /**
737
- * Sets the title of the terminal to the provided string. If no title is provided, it will reset
738
- * to the terminal's title if it was not explicitly set by the user or API.
739
- * @param title The new title.
740
- */
741
- rename(title?: string): Promise<void>;
742
- /**
743
- * Sets or triggers a quick pick to change the icon of this terminal.
744
- */
745
- changeIcon(icon?: TerminalIcon): Promise<TerminalIcon | undefined>;
746
- /**
747
- * Sets or triggers a quick pick to change the color of the associated terminal tab icon.
748
- */
749
- changeColor(color?: string, skipQuickPick?: boolean): Promise<string | undefined>;
750
- /**
751
- * Triggers a quick pick that displays recent commands or cwds. Selecting one will
752
- * rerun it in the active terminal.
753
- */
754
- runRecent(type: 'command' | 'cwd'): Promise<void>;
755
- /**
756
- * Attempts to detect and kill the process listening on specified port.
757
- * If successful, places commandToRun on the command line
758
- */
759
- freePortKillProcess(port: string, commandToRun: string): Promise<void>;
760
- /**
761
- * Update the parent context key service to use for this terminal instance.
762
- */
763
- setParentContextKeyService(parentContextKeyService: IContextKeyService): void;
764
- }
765
- interface IXtermAttachToElementOptions {
766
- /**
767
- * Whether GPU rendering should be enabled for this element, defaults to true.
768
- */
769
- enableGpu: boolean;
770
- }
771
- interface IXtermTerminal extends IDisposable {
772
- /**
773
- * An object that tracks when commands are run and enables navigating and selecting between
774
- * them.
775
- */
776
- readonly markTracker: IMarkTracker;
777
- /**
778
- * Reports the status of shell integration and fires events relating to it.
779
- */
780
- readonly shellIntegration: IShellIntegration;
781
- readonly onDidChangeSelection: Event<void>;
782
- readonly onDidChangeFindResults: Event<{
783
- resultIndex: number;
784
- resultCount: number;
785
- }>;
786
- /**
787
- * Event fired when focus enters (fires with true) or leaves (false) the terminal.
788
- */
789
- readonly onDidChangeFocus: Event<boolean>;
790
- /**
791
- * Gets a view of the current texture atlas used by the renderers.
792
- */
793
- readonly textureAtlas: Promise<ImageBitmap> | undefined;
794
- /**
795
- * Whether the `disableStdin` option in xterm.js is set.
796
- */
797
- readonly isStdinDisabled: boolean;
798
- /**
799
- * Whether the terminal is currently focused.
800
- */
801
- readonly isFocused: boolean;
802
- /**
803
- * Whether a canvas-based renderer is being used.
804
- */
805
- readonly isGpuAccelerated: boolean;
806
- /**
807
- * Attached the terminal to the given element
808
- * @param container Container the terminal will be rendered in
809
- * @param options Additional options for mounting the terminal in an element
810
- */
811
- attachToElement(container: HTMLElement, options?: Partial<IXtermAttachToElementOptions>): void;
812
- findResult?: {
813
- resultIndex: number;
814
- resultCount: number;
815
- };
816
- /**
817
- * Find the next instance of the term
818
- */
819
- findNext(term: string, searchOptions: ISearchOptions): Promise<boolean>;
820
- /**
821
- * Find the previous instance of the term
822
- */
823
- findPrevious(term: string, searchOptions: ISearchOptions): Promise<boolean>;
824
- /**
825
- * Forces the terminal to redraw its viewport.
826
- */
827
- forceRedraw(): void;
828
- /**
829
- * Gets the font metrics of this xterm.js instance.
830
- */
831
- getFont(): ITerminalFont;
832
- /**
833
- * Gets whether there's any terminal selection.
834
- */
835
- hasSelection(): boolean;
836
- /**
837
- * Clears any terminal selection.
838
- */
839
- clearSelection(): void;
840
- /**
841
- * Selects all terminal contents/
842
- */
843
- selectAll(): void;
844
- /**
845
- * Selects the content between the two markers by their VS Code OSC `SetMarker`
846
- * ID. It's a no-op if either of the two markers are not found.
847
- *
848
- * @param fromMarkerId Start marker ID
849
- * @param toMarkerId End marker ID
850
- * @param scrollIntoView Whether the terminal should scroll to the start of
851
- * the range, defaults tof alse
852
- */
853
- selectMarkedRange(fromMarkerId: string, toMarkerId: string, scrollIntoView?: boolean): void;
854
- /**
855
- * Copies the terminal selection.
856
- * @param {boolean} copyAsHtml Whether to copy selection as HTML, defaults to false.
857
- */
858
- copySelection(copyAsHtml?: boolean): void;
859
- /**
860
- * Focuses the terminal. Warning: {@link ITerminalInstance.focus} should be
861
- * preferred when dealing with terminal instances in order to get
862
- * accessibility triggers.
863
- */
864
- focus(): void;
865
- /** Scroll the terminal buffer down 1 line. */ scrollDownLine(): void;
866
- /** Scroll the terminal buffer down 1 page. */ scrollDownPage(): void;
867
- /** Scroll the terminal buffer to the bottom. */ scrollToBottom(): void;
868
- /** Scroll the terminal buffer up 1 line. */ scrollUpLine(): void;
869
- /** Scroll the terminal buffer up 1 page. */ scrollUpPage(): void;
870
- /** Scroll the terminal buffer to the top. */ scrollToTop(): void;
871
- /** Scroll the terminal buffer to a set line */ scrollToLine(line: number, position?: ScrollPosition): void;
872
- /**
873
- * Clears the terminal buffer, leaving only the prompt line and moving it to the top of the
874
- * viewport.
875
- */
876
- clearBuffer(): void;
877
- /**
878
- * Clears the search result decorations
879
- */
880
- clearSearchDecorations(): void;
881
- /**
882
- * Clears the active search result decorations
883
- */
884
- clearActiveSearchDecoration(): void;
885
- /**
886
- * Returns a reverse iterator of buffer lines as strings
887
- */
888
- getBufferReverseIterator(): IterableIterator<string>;
889
- /**
890
- * Gets the buffer contents as HTML.
891
- */
892
- getContentsAsHtml(): Promise<string>;
893
- /**
894
- * Refreshes the terminal after it has been moved.
895
- */
896
- refresh(): void;
897
- getXtermTheme(theme?: IColorTheme): ITheme;
898
- }
899
- interface IDetachedXtermTerminal extends IXtermTerminal {
900
- /**
901
- * Writes data to the terminal.
902
- * @param data data to write
903
- * @param callback Optional callback that fires when the data was processed
904
- * by the parser.
905
- */
906
- write(data: string | Uint8Array, callback?: () => void): void;
907
- /**
908
- * Resizes the terminal.
909
- */
910
- resize(columns: number, rows: number): void;
911
- }
912
- interface IInternalXtermTerminal {
913
- /**
914
- * Writes text directly to the terminal, bypassing the process.
915
- *
916
- * **WARNING:** This should never be used outside of the terminal component and only for
917
- * developer purposed inside the terminal component.
918
- */
919
- _writeText(data: string): void;
920
- }
921
- interface IXtermColorProvider {
922
- getBackgroundColor(theme: IColorTheme): Color | undefined;
923
- }
924
- interface IRequestAddInstanceToGroupEvent {
925
- uri: URI;
926
- side: 'before' | 'after';
927
- }
928
- declare const enum LinuxDistro {
929
- Unknown = 1,
930
- Fedora = 2,
931
- Ubuntu = 3
932
- }
933
-
934
- export { Direction, type IBaseTerminalInstance, type ICreateTerminalOptions, type IDetachedTerminalInstance, type IDetachedXTermOptions, type IDetachedXtermTerminal, type IInternalXtermTerminal, type IMarkTracker, type IRequestAddInstanceToGroupEvent, type ISearchOptions, type ITerminalConfigHelper, type ITerminalContribution, type ITerminalGroup, type ITerminalInstance, type ITerminalInstanceHost, ITerminalInstanceService, type ITerminalLocationOptions, ITerminalService, type ITerminalServiceNativeDelegate, type IXtermAttachToElementOptions, type IXtermColorProvider, type IXtermTerminal, LinuxDistro, TerminalConnectionState, type TerminalEditorLocation };