@codingame/monaco-vscode-api 1.79.1 → 1.79.2-next.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (467) hide show
  1. package/README.md +11 -2
  2. package/dist/api.js +10 -8
  3. package/dist/composite.d.ts +65 -0
  4. package/dist/configurationRegistry.d.ts +212 -0
  5. package/dist/contextkey.d.ts +1 -1
  6. package/dist/default-extensions/json.js +1 -0
  7. package/dist/default-extensions/theme-defaults.js +2 -2
  8. package/dist/editorBrowser.d.ts +272 -3
  9. package/dist/event.d.ts +6 -1
  10. package/dist/{extension-tools-0c4c1ad7.js → extension-tools-3c2bf0a4.js} +698 -507
  11. package/dist/extensions.d.ts +3 -2
  12. package/dist/extensions.d2.ts +6 -17
  13. package/dist/extensionsRegistry.d.ts +15 -9
  14. package/dist/files.d.ts +71 -7
  15. package/dist/jsonSchema.d.ts +1 -1
  16. package/dist/keybinding.d.ts +2 -2
  17. package/dist/languageFeatures.d.ts +703 -61
  18. package/dist/monaco.d.ts +5 -4
  19. package/dist/override/vs/workbench/contrib/notebook/browser/contrib/find/findMatchDecorationModel.js +2 -0
  20. package/dist/override/vs/workbench/contrib/notebook/browser/notebookEditor.js +2 -0
  21. package/dist/override/vs/workbench/contrib/notebook/browser/notebookEditorWidget.js +2 -0
  22. package/dist/override/vs/workbench/contrib/notebook/common/notebookEditorInput.js +2 -1
  23. package/dist/platform.d.ts +11 -0
  24. package/dist/rollup-extension-directory-plugin.js +1 -1
  25. package/dist/rollup-vsix-plugin.js +2 -2
  26. package/dist/service-override/configuration.d.ts +5 -206
  27. package/dist/service-override/dialogs.js +16 -1
  28. package/dist/service-override/files.d.ts +2 -2
  29. package/dist/service-override/files.js +1 -1
  30. package/dist/service-override/markers.d.ts +7 -0
  31. package/dist/service-override/markers.js +6 -0
  32. package/dist/service-override/output.d.ts +7 -0
  33. package/dist/service-override/output.js +22 -0
  34. package/dist/service-override/preferences.js +7 -1
  35. package/dist/service-override/quickaccess.js +0 -9
  36. package/dist/service-override/search.d.ts +7 -0
  37. package/dist/service-override/search.js +19 -0
  38. package/dist/service-override/terminal.d.ts +607 -0
  39. package/dist/service-override/terminal.js +98 -0
  40. package/dist/service-override/tools/editor.js +1 -1
  41. package/dist/service-override/views.d.ts +561 -335
  42. package/dist/service-override/views.js +51 -11
  43. package/dist/services.d.ts +2627 -108
  44. package/dist/services.js +3 -0
  45. package/dist/severity.d.ts +16 -0
  46. package/dist/uri.d.ts +22 -11
  47. package/dist/views.d.ts +270 -0
  48. package/dist/vscode/vs/base/common/processes.js +24 -0
  49. package/dist/vscode/vs/editor/browser/widget/diffEditorWidget2/decorations.js +20 -0
  50. package/dist/vscode/vs/editor/browser/widget/diffEditorWidget2/delegatingEditorImpl.js +106 -0
  51. package/dist/vscode/vs/editor/browser/widget/diffEditorWidget2/diffEditorSash.js +59 -0
  52. package/dist/vscode/vs/editor/browser/widget/diffEditorWidget2/diffEditorWidget2.contribution.js +41 -0
  53. package/dist/vscode/vs/editor/browser/widget/diffEditorWidget2/diffEditorWidget2.js +369 -0
  54. package/dist/vscode/vs/editor/browser/widget/diffEditorWidget2/diffModel.js +247 -0
  55. package/dist/vscode/vs/editor/browser/widget/diffEditorWidget2/lineAlignment.js +179 -0
  56. package/dist/vscode/vs/editor/browser/widget/diffEditorWidget2/overviewRulerPart.js +121 -0
  57. package/dist/vscode/vs/editor/browser/widget/diffEditorWidget2/style.css.js +4 -0
  58. package/dist/vscode/vs/editor/browser/widget/diffEditorWidget2/unchangedRanges.js +184 -0
  59. package/dist/vscode/vs/editor/browser/widget/diffEditorWidget2/utils.js +88 -0
  60. package/dist/vscode/vs/platform/extensionManagement/common/extensionManagement.js +38 -1
  61. package/dist/vscode/vs/platform/extensionManagement/common/extensionManagementUtil.js +5 -1
  62. package/dist/vscode/vs/platform/extensionResourceLoader/common/extensionResourceLoader.js +13 -5
  63. package/dist/vscode/vs/platform/files/common/fileService.js +43 -5
  64. package/dist/vscode/vs/platform/files/common/files.js +3 -1
  65. package/dist/vscode/vs/platform/languagePacks/common/languagePacks.js +4 -1
  66. package/dist/vscode/vs/platform/log/common/bufferLog.js +34 -0
  67. package/dist/vscode/vs/platform/log/common/fileLog.js +105 -0
  68. package/dist/vscode/vs/platform/quickinput/browser/quickPickPin.js +1 -1
  69. package/dist/vscode/vs/platform/remote/common/remoteAuthorityResolver.js +20 -1
  70. package/dist/vscode/vs/platform/request/browser/requestService.js +1 -1
  71. package/dist/vscode/vs/platform/request/common/request.js +3 -3
  72. package/dist/vscode/vs/platform/storage/common/storage.js +3 -0
  73. package/dist/vscode/vs/platform/terminal/common/capabilities/bufferMarkCapability.js +39 -0
  74. package/dist/vscode/vs/platform/terminal/common/capabilities/commandDetectionCapability.js +565 -0
  75. package/dist/vscode/vs/platform/terminal/common/capabilities/cwdDetectionCapability.js +27 -0
  76. package/dist/vscode/vs/platform/terminal/common/capabilities/naiveCwdDetectionCapability.js +22 -0
  77. package/dist/vscode/vs/platform/terminal/common/capabilities/partialCommandDetectionCapability.js +46 -0
  78. package/dist/vscode/vs/platform/terminal/common/capabilities/terminalCapabilityStore.js +80 -0
  79. package/dist/vscode/vs/platform/terminal/common/environmentVariable.js +7 -0
  80. package/dist/vscode/vs/platform/terminal/common/environmentVariableCollection.js +196 -0
  81. package/dist/vscode/vs/platform/terminal/common/environmentVariableShared.js +23 -0
  82. package/dist/vscode/vs/platform/terminal/common/terminal.js +21 -1
  83. package/dist/vscode/vs/platform/terminal/common/terminalDataBuffering.js +45 -0
  84. package/dist/vscode/vs/platform/terminal/common/terminalEnvironment.js +37 -0
  85. package/dist/vscode/vs/platform/terminal/common/terminalPlatformConfiguration.js +622 -0
  86. package/dist/vscode/vs/platform/terminal/common/terminalProfiles.js +107 -0
  87. package/dist/vscode/vs/platform/terminal/common/terminalRecorder.js +66 -0
  88. package/dist/vscode/vs/platform/terminal/common/terminalStrings.js +16 -0
  89. package/dist/vscode/vs/platform/terminal/common/xterm/shellIntegrationAddon.js +321 -0
  90. package/dist/vscode/vs/platform/userDataSync/common/settingsMerge.js +39 -1
  91. package/dist/vscode/vs/platform/userDataSync/common/userDataSync.js +19 -0
  92. package/dist/vscode/vs/platform/window/common/window.js +7 -1
  93. package/dist/vscode/vs/platform/workspace/common/canonicalUri.js +3 -0
  94. package/dist/vscode/vs/platform/workspace/common/virtualWorkspace.js +4 -1
  95. package/dist/vscode/vs/platform/workspaces/common/workspaces.js +2 -2
  96. package/dist/vscode/vs/workbench/api/browser/mainThreadCommands.js +2 -3
  97. package/dist/vscode/vs/workbench/api/browser/mainThreadEditorTabs.js +473 -0
  98. package/dist/vscode/vs/workbench/api/browser/mainThreadLanguageFeatures.js +45 -38
  99. package/dist/vscode/vs/workbench/api/browser/mainThreadSearch.js +146 -0
  100. package/dist/vscode/vs/workbench/api/browser/mainThreadStatusBar.js +33 -52
  101. package/dist/vscode/vs/workbench/api/browser/mainThreadTerminalService.js +395 -0
  102. package/dist/vscode/vs/workbench/api/browser/mainThreadTheming.js +22 -0
  103. package/dist/vscode/vs/workbench/api/browser/mainThreadTreeViews.js +10 -5
  104. package/dist/vscode/vs/workbench/api/browser/mainThreadWindow.js +11 -4
  105. package/dist/vscode/vs/workbench/api/browser/mainThreadWorkspace.js +34 -11
  106. package/dist/vscode/vs/workbench/api/browser/statusBarExtensionPoint.js +81 -0
  107. package/dist/vscode/vs/workbench/api/common/extHost.protocol.js +7 -2
  108. package/dist/vscode/vs/workbench/api/common/extHostDebugService.js +4 -13
  109. package/dist/vscode/vs/workbench/api/common/extHostExtensionService.js +30 -15
  110. package/dist/vscode/vs/workbench/api/common/extHostFileSystemConsumer.js +20 -6
  111. package/dist/vscode/vs/workbench/api/common/extHostLanguageFeatures.js +41 -8
  112. package/dist/vscode/vs/workbench/api/common/extHostManagedSockets.js +3 -0
  113. package/dist/vscode/vs/workbench/api/common/extHostSearch.js +109 -0
  114. package/dist/vscode/vs/workbench/api/common/extHostStatusBar.js +33 -6
  115. package/dist/vscode/vs/workbench/api/common/extHostTerminalService.js +879 -1
  116. package/dist/vscode/vs/workbench/api/common/extHostTheming.js +38 -0
  117. package/dist/vscode/vs/workbench/api/common/extHostTreeViews.js +8 -5
  118. package/dist/vscode/vs/workbench/api/common/extHostTypeConverters.js +15 -17
  119. package/dist/vscode/vs/workbench/api/common/extHostTypes.js +117 -4
  120. package/dist/vscode/vs/workbench/api/common/extHostWindow.js +28 -6
  121. package/dist/vscode/vs/workbench/api/common/extHostWorkspace.js +28 -0
  122. package/dist/vscode/vs/workbench/api/common/shared/dataTransferCache.js +11 -14
  123. package/dist/vscode/vs/workbench/api/node/extHostTerminalService.js +22 -0
  124. package/dist/vscode/vs/workbench/browser/actions/layoutActions.js +2 -1
  125. package/dist/vscode/vs/workbench/browser/actions/windowActions.js +2 -2
  126. package/dist/vscode/vs/workbench/browser/dnd.js +56 -2
  127. package/dist/vscode/vs/workbench/browser/parts/compositePart.js +1 -1
  128. package/dist/vscode/vs/workbench/browser/parts/dialogs/dialogHandler.js +2 -2
  129. package/dist/vscode/vs/workbench/browser/parts/editor/editor.contribution.js +1 -0
  130. package/dist/vscode/vs/workbench/browser/parts/editor/editor.js +1 -0
  131. package/dist/vscode/vs/workbench/browser/parts/editor/editorCommands.js +9 -10
  132. package/dist/vscode/vs/workbench/browser/parts/editor/editorGroupView.js +15 -9
  133. package/dist/vscode/vs/workbench/browser/parts/editor/editorGroupWatermark.js +13 -17
  134. package/dist/vscode/vs/workbench/browser/parts/editor/editorStatus.js +1 -1
  135. package/dist/vscode/vs/workbench/browser/parts/editor/editorsObserver.js +2 -2
  136. package/dist/vscode/vs/workbench/browser/parts/editor/media/editorgroupview.css.js +1 -1
  137. package/dist/vscode/vs/workbench/browser/parts/editor/media/tabstitlecontrol.css.js +1 -1
  138. package/dist/vscode/vs/workbench/browser/parts/editor/noTabsTitleControl.js +3 -1
  139. package/dist/vscode/vs/workbench/browser/parts/editor/tabsTitleControl.js +60 -11
  140. package/dist/vscode/vs/workbench/browser/parts/editor/textDiffEditor.js +16 -10
  141. package/dist/vscode/vs/workbench/browser/parts/editor/textResourceEditor.js +1 -1
  142. package/dist/vscode/vs/workbench/browser/parts/statusbar/media/statusbarpart.css.js +1 -1
  143. package/dist/vscode/vs/workbench/browser/parts/views/checkbox.js +10 -0
  144. package/dist/vscode/vs/workbench/browser/parts/views/treeView.js +78 -14
  145. package/dist/vscode/vs/workbench/browser/parts/views/viewPaneContainer.js +1 -1
  146. package/dist/vscode/vs/workbench/browser/workbench.contribution.js +65 -6
  147. package/dist/vscode/vs/workbench/common/configuration.js +8 -1
  148. package/dist/vscode/vs/workbench/common/contextkeys.js +9 -1
  149. package/dist/vscode/vs/workbench/common/editor/editorGroupModel.js +5 -1
  150. package/dist/vscode/vs/workbench/common/editor/resourceEditorInput.js +6 -3
  151. package/dist/vscode/vs/workbench/common/editor/textResourceEditorInput.js +9 -6
  152. package/dist/vscode/vs/workbench/common/editor.js +1 -5
  153. package/dist/vscode/vs/workbench/common/resources.js +111 -34
  154. package/dist/vscode/vs/workbench/contrib/bulkEdit/browser/bulkEditService.js +1 -1
  155. package/dist/vscode/vs/workbench/contrib/bulkEdit/browser/bulkTextEdits.js +1 -1
  156. package/dist/vscode/vs/workbench/contrib/chat/browser/chat.js +3 -0
  157. package/dist/vscode/vs/workbench/contrib/chat/common/chatService.js +3 -0
  158. package/dist/vscode/vs/workbench/contrib/codeEditor/browser/languageConfigurationExtensionPoint.js +6 -4
  159. package/dist/vscode/vs/workbench/contrib/codeEditor/browser/suggestEnabledInput/suggestEnabledInput.css.js +4 -0
  160. package/dist/vscode/vs/workbench/contrib/codeEditor/browser/suggestEnabledInput/suggestEnabledInput.js +250 -0
  161. package/dist/vscode/vs/workbench/contrib/customEditor/browser/customEditorInput.js +290 -0
  162. package/dist/vscode/vs/workbench/contrib/customEditor/common/customEditor.js +3 -0
  163. package/dist/vscode/vs/workbench/contrib/debug/browser/debugActionViewItems.js +1 -0
  164. package/dist/vscode/vs/workbench/contrib/debug/browser/debugCommands.js +2 -1
  165. package/dist/vscode/vs/workbench/contrib/debug/browser/debugConfigurationManager.js +20 -20
  166. package/dist/vscode/vs/workbench/contrib/debug/browser/debugEditorActions.js +5 -3
  167. package/dist/vscode/vs/workbench/contrib/debug/browser/debugEditorContribution.js +5 -2
  168. package/dist/vscode/vs/workbench/contrib/debug/browser/debugHover.js +33 -6
  169. package/dist/vscode/vs/workbench/contrib/debug/browser/debugSession.js +1 -1
  170. package/dist/vscode/vs/workbench/contrib/debug/browser/debugTaskRunner.js +1 -1
  171. package/dist/vscode/vs/workbench/contrib/debug/browser/repl.js +3 -3
  172. package/dist/vscode/vs/workbench/contrib/debug/common/debugModel.js +29 -17
  173. package/dist/vscode/vs/workbench/contrib/debug/common/debugStorage.js +11 -10
  174. package/dist/vscode/vs/workbench/contrib/debug/common/debugger.js +10 -6
  175. package/dist/vscode/vs/workbench/contrib/extensions/browser/extensionsActions.js +2514 -0
  176. package/dist/vscode/vs/workbench/contrib/extensions/browser/extensionsIcons.js +82 -0
  177. package/dist/vscode/vs/workbench/contrib/extensions/browser/media/extensionActions.css.js +4 -0
  178. package/dist/vscode/vs/workbench/contrib/extensions/common/extensions.js +6 -1
  179. package/dist/vscode/vs/workbench/contrib/extensions/common/extensionsFileTemplate.js +16 -0
  180. package/dist/vscode/vs/workbench/contrib/files/browser/editors/fileEditorInput.js +2 -3
  181. package/dist/vscode/vs/workbench/contrib/files/browser/editors/textFileSaveErrorHandler.js +2 -0
  182. package/dist/vscode/vs/workbench/contrib/files/browser/explorerService.js +10 -6
  183. package/dist/vscode/vs/workbench/contrib/files/browser/explorerViewlet.js +3 -18
  184. package/dist/vscode/vs/workbench/contrib/files/browser/fileActions.contribution.js +37 -2
  185. package/dist/vscode/vs/workbench/contrib/files/browser/fileActions.js +65 -3
  186. package/dist/vscode/vs/workbench/contrib/files/browser/fileCommands.js +3 -3
  187. package/dist/vscode/vs/workbench/contrib/files/browser/fileConstants.js +3 -1
  188. package/dist/vscode/vs/workbench/contrib/files/browser/files.contribution.js +41 -6
  189. package/dist/vscode/vs/workbench/contrib/files/browser/files.js +1 -0
  190. package/dist/vscode/vs/workbench/contrib/files/browser/views/explorerView.js +3 -3
  191. package/dist/vscode/vs/workbench/contrib/files/browser/views/explorerViewer.js +6 -2
  192. package/dist/vscode/vs/workbench/contrib/files/common/explorerModel.js +16 -9
  193. package/dist/vscode/vs/workbench/contrib/files/common/files.js +1 -6
  194. package/dist/vscode/vs/workbench/contrib/interactive/browser/interactiveDocumentService.js +3 -0
  195. package/dist/vscode/vs/workbench/contrib/interactive/browser/interactiveEditorInput.js +200 -0
  196. package/dist/vscode/vs/workbench/contrib/interactive/browser/interactiveHistoryService.js +3 -0
  197. package/dist/vscode/vs/workbench/contrib/markers/browser/markers.contribution.js +586 -0
  198. package/dist/vscode/vs/workbench/contrib/markers/browser/markersFilterOptions.js +75 -0
  199. package/dist/vscode/vs/workbench/contrib/markers/browser/markersModel.js +201 -0
  200. package/dist/vscode/vs/workbench/contrib/markers/browser/markersTable.js +451 -0
  201. package/dist/vscode/vs/workbench/contrib/markers/browser/markersTreeViewer.js +670 -0
  202. package/dist/vscode/vs/workbench/contrib/markers/browser/markersView.js +857 -0
  203. package/dist/vscode/vs/workbench/contrib/markers/browser/markersViewActions.css.js +4 -0
  204. package/dist/vscode/vs/workbench/contrib/markers/browser/markersViewActions.js +132 -0
  205. package/dist/vscode/vs/workbench/contrib/markers/browser/media/markers.css.js +4 -0
  206. package/dist/vscode/vs/workbench/contrib/markers/browser/messages.js +171 -0
  207. package/dist/vscode/vs/workbench/contrib/markers/common/markers.js +15 -1
  208. package/dist/vscode/vs/workbench/contrib/mergeEditor/browser/mergeEditorInput.js +135 -0
  209. package/dist/vscode/vs/workbench/contrib/mergeEditor/browser/mergeEditorInputModel.js +421 -0
  210. package/dist/vscode/vs/workbench/contrib/mergeEditor/browser/mergeMarkers/mergeMarkersController.js +5 -0
  211. package/dist/vscode/vs/workbench/contrib/mergeEditor/browser/model/diffComputer.js +55 -0
  212. package/dist/vscode/vs/workbench/contrib/mergeEditor/browser/model/editing.js +54 -0
  213. package/dist/vscode/vs/workbench/contrib/mergeEditor/browser/model/lineRange.js +108 -0
  214. package/dist/vscode/vs/workbench/contrib/mergeEditor/browser/model/mapping.js +334 -0
  215. package/dist/vscode/vs/workbench/contrib/mergeEditor/browser/model/mergeEditorModel.js +606 -0
  216. package/dist/vscode/vs/workbench/contrib/mergeEditor/browser/model/modifiedBaseRange.js +307 -0
  217. package/dist/vscode/vs/workbench/contrib/mergeEditor/browser/model/rangeUtils.js +36 -0
  218. package/dist/vscode/vs/workbench/contrib/mergeEditor/browser/model/textModelDiffs.js +165 -0
  219. package/dist/vscode/vs/workbench/contrib/mergeEditor/browser/telemetry.js +78 -0
  220. package/dist/vscode/vs/workbench/contrib/mergeEditor/browser/utils.js +68 -0
  221. package/dist/vscode/vs/workbench/contrib/mergeEditor/common/mergeEditor.js +2 -0
  222. package/dist/vscode/vs/workbench/contrib/notebook/browser/contrib/find/findFilters.js +70 -0
  223. package/dist/vscode/vs/workbench/contrib/notebook/browser/contrib/find/notebookFindReplaceWidget.css.js +4 -0
  224. package/dist/vscode/vs/workbench/contrib/notebook/browser/contrib/find/notebookFindReplaceWidget.js +158 -0
  225. package/dist/vscode/vs/workbench/contrib/notebook/browser/notebookBrowser.js +6 -1
  226. package/dist/vscode/vs/workbench/contrib/notebook/browser/services/notebookEditorService.js +3 -0
  227. package/dist/vscode/vs/workbench/contrib/notebook/common/notebookCommon.js +16 -1
  228. package/dist/vscode/vs/workbench/contrib/notebook/common/notebookService.js +3 -0
  229. package/dist/vscode/vs/workbench/contrib/output/browser/logViewer.js +64 -0
  230. package/dist/vscode/vs/workbench/contrib/output/browser/output.contribution.js +378 -0
  231. package/dist/vscode/vs/workbench/contrib/output/browser/outputServices.js +39 -3
  232. package/dist/vscode/vs/workbench/contrib/output/browser/outputView.js +220 -0
  233. package/dist/vscode/vs/workbench/contrib/output/common/outputChannelModel.js +12 -3
  234. package/dist/vscode/vs/workbench/contrib/output/common/outputLinkComputer.js +129 -0
  235. package/dist/vscode/vs/workbench/contrib/preferences/browser/keybindingWidgets.js +270 -0
  236. package/dist/vscode/vs/workbench/contrib/preferences/browser/keybindingsEditor.js +1080 -0
  237. package/dist/vscode/vs/workbench/contrib/preferences/browser/media/keybindings.css.js +4 -0
  238. package/dist/vscode/vs/workbench/contrib/preferences/browser/media/keybindingsEditor.css.js +4 -0
  239. package/dist/vscode/vs/workbench/contrib/preferences/browser/media/preferences.css.js +4 -0
  240. package/dist/vscode/vs/workbench/contrib/preferences/browser/media/settingsEditor2.css.js +4 -0
  241. package/dist/vscode/vs/workbench/contrib/preferences/browser/media/settingsWidgets.css.js +4 -0
  242. package/dist/vscode/vs/workbench/contrib/preferences/browser/preferences.contribution.js +1154 -0
  243. package/dist/vscode/vs/workbench/contrib/preferences/browser/preferencesActions.js +94 -0
  244. package/dist/vscode/vs/workbench/contrib/preferences/browser/preferencesEditor.js +47 -0
  245. package/dist/vscode/vs/workbench/contrib/preferences/browser/preferencesIcons.js +37 -0
  246. package/dist/vscode/vs/workbench/contrib/preferences/browser/preferencesRenderers.js +731 -0
  247. package/dist/vscode/vs/workbench/contrib/preferences/browser/preferencesSearch.js +271 -0
  248. package/dist/vscode/vs/workbench/contrib/preferences/browser/preferencesWidgets.js +479 -0
  249. package/dist/vscode/vs/workbench/contrib/preferences/browser/settingsEditor2.js +1465 -0
  250. package/dist/vscode/vs/workbench/contrib/preferences/browser/settingsEditorSettingIndicators.js +506 -0
  251. package/dist/vscode/vs/workbench/contrib/preferences/browser/settingsLayout.js +296 -0
  252. package/dist/vscode/vs/workbench/contrib/preferences/browser/settingsSearchMenu.js +79 -0
  253. package/dist/vscode/vs/workbench/contrib/preferences/browser/settingsTree.js +1984 -0
  254. package/dist/vscode/vs/workbench/contrib/preferences/browser/settingsTreeModels.js +759 -0
  255. package/dist/vscode/vs/workbench/contrib/preferences/browser/settingsWidgets.js +1008 -0
  256. package/dist/vscode/vs/workbench/contrib/preferences/browser/tocTree.js +196 -0
  257. package/dist/vscode/vs/workbench/contrib/preferences/common/preferences.js +68 -0
  258. package/dist/vscode/vs/workbench/contrib/preferences/common/preferencesContribution.js +157 -0
  259. package/dist/vscode/vs/workbench/contrib/preferences/common/settingsEditorColorRegistry.js +67 -0
  260. package/dist/vscode/vs/workbench/contrib/quickaccess/browser/commandsQuickAccess.js +16 -16
  261. package/dist/vscode/vs/workbench/contrib/quickaccess/browser/quickAccess.contribution.js +1 -2
  262. package/dist/vscode/vs/workbench/contrib/remote/browser/remoteExplorer.js +23 -2
  263. package/dist/vscode/vs/workbench/contrib/remote/browser/tunnelView.js +5 -5
  264. package/dist/vscode/vs/workbench/contrib/search/browser/media/searchview.css.js +4 -0
  265. package/dist/vscode/vs/workbench/contrib/search/browser/patternInputWidget.js +217 -0
  266. package/dist/vscode/vs/workbench/contrib/search/browser/replace.js +3 -0
  267. package/dist/vscode/vs/workbench/contrib/search/browser/replaceContributions.js +7 -0
  268. package/dist/vscode/vs/workbench/contrib/search/browser/replaceService.js +222 -0
  269. package/dist/vscode/vs/workbench/contrib/search/browser/search.contribution.js +54 -15
  270. package/dist/vscode/vs/workbench/contrib/search/browser/searchActionsBase.js +17 -0
  271. package/dist/vscode/vs/workbench/contrib/search/browser/searchFindInput.js +41 -0
  272. package/dist/vscode/vs/workbench/contrib/search/browser/searchIcons.js +35 -0
  273. package/dist/vscode/vs/workbench/contrib/search/browser/searchMessage.js +58 -0
  274. package/dist/vscode/vs/workbench/contrib/search/browser/searchModel.js +1842 -0
  275. package/dist/vscode/vs/workbench/contrib/search/browser/searchNotebookHelpers.js +49 -0
  276. package/dist/vscode/vs/workbench/contrib/search/browser/searchResultsView.js +379 -0
  277. package/dist/vscode/vs/workbench/contrib/search/browser/searchView.js +1867 -0
  278. package/dist/vscode/vs/workbench/contrib/search/browser/searchWidget.js +628 -0
  279. package/dist/vscode/vs/workbench/contrib/search/common/constants.js +30 -1
  280. package/dist/vscode/vs/workbench/contrib/search/common/search.js +9 -1
  281. package/dist/vscode/vs/workbench/contrib/search/common/searchHistoryService.js +42 -0
  282. package/dist/vscode/vs/workbench/contrib/searchEditor/browser/constants.js +11 -0
  283. package/dist/vscode/vs/workbench/contrib/searchEditor/browser/media/searchEditor.css.js +4 -0
  284. package/dist/vscode/vs/workbench/contrib/searchEditor/browser/searchEditor.contribution.js +477 -0
  285. package/dist/vscode/vs/workbench/contrib/searchEditor/browser/searchEditor.js +697 -0
  286. package/dist/vscode/vs/workbench/contrib/searchEditor/browser/searchEditorActions.js +188 -0
  287. package/dist/vscode/vs/workbench/contrib/searchEditor/browser/searchEditorInput.js +295 -0
  288. package/dist/vscode/vs/workbench/contrib/searchEditor/browser/searchEditorModel.js +135 -0
  289. package/dist/vscode/vs/workbench/contrib/searchEditor/browser/searchEditorSerialization.js +268 -0
  290. package/dist/vscode/vs/workbench/contrib/snippets/browser/tabCompletion.js +2 -2
  291. package/dist/vscode/vs/workbench/contrib/tasks/common/taskService.js +16 -1
  292. package/dist/vscode/vs/workbench/contrib/terminal/browser/environmentVariableInfo.js +119 -0
  293. package/dist/vscode/vs/workbench/contrib/terminal/browser/media/scrollbar.css.js +4 -0
  294. package/dist/vscode/vs/workbench/contrib/terminal/browser/media/terminal.css.js +4 -0
  295. package/dist/vscode/vs/workbench/contrib/terminal/browser/media/widgets.css.js +4 -0
  296. package/dist/vscode/vs/workbench/contrib/terminal/browser/media/xterm.css.js +4 -0
  297. package/dist/vscode/vs/workbench/contrib/terminal/browser/terminal.contribution.js +238 -0
  298. package/dist/vscode/vs/workbench/contrib/terminal/browser/terminal.js +4 -1
  299. package/dist/vscode/vs/workbench/contrib/terminal/browser/terminalActions.js +1930 -0
  300. package/dist/vscode/vs/workbench/contrib/terminal/browser/terminalCommands.js +22 -0
  301. package/dist/vscode/vs/workbench/contrib/terminal/browser/terminalConfigHelper.js +213 -0
  302. package/dist/vscode/vs/workbench/contrib/terminal/browser/terminalContextMenu.js +17 -0
  303. package/dist/vscode/vs/workbench/contrib/terminal/browser/terminalEditor.js +186 -0
  304. package/dist/vscode/vs/workbench/contrib/terminal/browser/terminalEditorInput.js +199 -0
  305. package/dist/vscode/vs/workbench/contrib/terminal/browser/terminalEditorService.js +239 -0
  306. package/dist/vscode/vs/workbench/contrib/terminal/browser/terminalExtensions.js +22 -0
  307. package/dist/vscode/vs/workbench/contrib/terminal/browser/terminalGroup.js +482 -0
  308. package/dist/vscode/vs/workbench/contrib/terminal/browser/terminalGroupService.js +372 -0
  309. package/dist/vscode/vs/workbench/contrib/terminal/browser/terminalIcon.js +60 -1
  310. package/dist/vscode/vs/workbench/contrib/terminal/browser/terminalIcons.js +37 -0
  311. package/dist/vscode/vs/workbench/contrib/terminal/browser/terminalInstance.js +2123 -0
  312. package/dist/vscode/vs/workbench/contrib/terminal/browser/terminalInstanceService.js +79 -0
  313. package/dist/vscode/vs/workbench/contrib/terminal/browser/terminalMainContribution.js +82 -0
  314. package/dist/vscode/vs/workbench/contrib/terminal/browser/terminalMenus.js +850 -0
  315. package/dist/vscode/vs/workbench/contrib/terminal/browser/terminalProcessExtHostProxy.js +142 -0
  316. package/dist/vscode/vs/workbench/contrib/terminal/browser/terminalProcessManager.js +618 -0
  317. package/dist/vscode/vs/workbench/contrib/terminal/browser/terminalProfileQuickpick.js +278 -0
  318. package/dist/vscode/vs/workbench/contrib/terminal/browser/terminalProfileResolverService.js +417 -0
  319. package/dist/vscode/vs/workbench/contrib/terminal/browser/terminalProfileService.js +213 -0
  320. package/dist/vscode/vs/workbench/contrib/terminal/browser/terminalQuickAccess.js +144 -0
  321. package/dist/vscode/vs/workbench/contrib/terminal/browser/terminalRunRecentQuickPick.js +267 -0
  322. package/dist/vscode/vs/workbench/contrib/terminal/browser/terminalService.js +1063 -0
  323. package/dist/vscode/vs/workbench/contrib/terminal/browser/terminalStatusList.js +108 -0
  324. package/dist/vscode/vs/workbench/contrib/terminal/browser/terminalTabbedView.js +417 -0
  325. package/dist/vscode/vs/workbench/contrib/terminal/browser/terminalTabsList.js +680 -0
  326. package/dist/vscode/vs/workbench/contrib/terminal/browser/terminalTooltip.js +72 -0
  327. package/dist/vscode/vs/workbench/contrib/terminal/browser/terminalUri.js +39 -0
  328. package/dist/vscode/vs/workbench/contrib/terminal/browser/terminalView.js +535 -0
  329. package/dist/vscode/vs/workbench/contrib/terminal/browser/widgets/widgetManager.js +36 -0
  330. package/dist/vscode/vs/workbench/contrib/terminal/browser/xterm/decorationAddon.js +469 -0
  331. package/dist/vscode/vs/workbench/contrib/terminal/browser/xterm/decorationStyles.js +97 -0
  332. package/dist/vscode/vs/workbench/contrib/terminal/browser/xterm/lineDataEventAddon.js +56 -0
  333. package/dist/vscode/vs/workbench/contrib/terminal/browser/xterm/markNavigationAddon.js +416 -0
  334. package/dist/vscode/vs/workbench/contrib/terminal/browser/xterm/suggestAddon.js +390 -0
  335. package/dist/vscode/vs/workbench/contrib/terminal/browser/xterm/xtermTerminal.js +587 -0
  336. package/dist/vscode/vs/workbench/contrib/terminal/common/environmentVariable.js +3 -0
  337. package/dist/vscode/vs/workbench/contrib/terminal/common/environmentVariableService.js +94 -0
  338. package/dist/vscode/vs/workbench/contrib/terminal/common/history.js +356 -0
  339. package/dist/vscode/vs/workbench/contrib/terminal/common/terminal.js +266 -0
  340. package/dist/vscode/vs/workbench/contrib/terminal/common/terminalColorRegistry.js +23 -16
  341. package/dist/vscode/vs/workbench/contrib/terminal/common/terminalConfiguration.js +965 -0
  342. package/dist/vscode/vs/workbench/contrib/terminal/common/terminalContextKey.js +157 -0
  343. package/dist/vscode/vs/workbench/contrib/terminal/common/terminalEnvironment.js +272 -0
  344. package/dist/vscode/vs/workbench/contrib/terminal/common/terminalExtensionPoints.js +27 -0
  345. package/dist/vscode/vs/workbench/contrib/terminal/common/terminalStrings.js +86 -0
  346. package/dist/vscode/vs/workbench/contrib/terminal/electron-sandbox/terminalProfileResolverService.js +46 -0
  347. package/dist/vscode/vs/workbench/contrib/terminalContrib/links/browser/links.js +3 -0
  348. package/dist/vscode/vs/workbench/contrib/terminalContrib/links/browser/terminalLinkProviderService.js +26 -0
  349. package/dist/vscode/vs/workbench/contrib/terminalContrib/quickFix/browser/quickFix.js +3 -0
  350. package/dist/vscode/vs/workbench/contrib/terminalContrib/quickFix/browser/terminalQuickFixService.js +143 -0
  351. package/dist/vscode/vs/workbench/contrib/webviewPanel/browser/webviewEditorInput.js +85 -0
  352. package/dist/vscode/vs/workbench/contrib/webviewPanel/browser/webviewWorkbenchService.js +52 -0
  353. package/dist/vscode/vs/workbench/services/actions/common/menusExtensionPoint.js +14 -6
  354. package/dist/vscode/vs/workbench/services/assignment/common/assignmentService.js +3 -0
  355. package/dist/vscode/vs/workbench/services/configuration/browser/configurationService.js +13 -13
  356. package/dist/vscode/vs/workbench/services/configuration/common/configuration.js +2 -1
  357. package/dist/vscode/vs/workbench/services/configuration/common/configurationEditing.js +2 -2
  358. package/dist/vscode/vs/workbench/services/configuration/common/jsonEditingService.js +2 -2
  359. package/dist/vscode/vs/workbench/services/dialogs/browser/abstractFileDialogService.js +302 -0
  360. package/dist/vscode/vs/workbench/services/dialogs/browser/simpleFileDialog.js +971 -0
  361. package/dist/vscode/vs/workbench/services/extensionManagement/common/extensionManagement.js +3 -2
  362. package/dist/vscode/vs/workbench/services/extensionRecommendations/common/extensionRecommendations.js +4 -0
  363. package/dist/vscode/vs/workbench/services/extensionRecommendations/common/workspaceExtensionsConfig.js +2 -0
  364. package/dist/vscode/vs/workbench/services/extensions/common/extensionManifestPropertiesService.js +3 -0
  365. package/dist/vscode/vs/workbench/services/extensions/common/extensions.js +14 -2
  366. package/dist/vscode/vs/workbench/services/extensions/common/extensionsApiProposals.js +10 -1
  367. package/dist/vscode/vs/workbench/services/filesConfiguration/common/filesConfigurationService.js +70 -3
  368. package/dist/vscode/vs/workbench/services/hover/browser/hoverService.js +1 -1
  369. package/dist/vscode/vs/workbench/services/hover/browser/hoverWidget.js +2 -1
  370. package/dist/vscode/vs/workbench/services/hover/browser/media/hover.css.js +1 -1
  371. package/dist/vscode/vs/workbench/services/keybinding/common/keybindingEditing.js +275 -0
  372. package/dist/vscode/vs/workbench/services/localization/common/locale.js +3 -0
  373. package/dist/vscode/vs/workbench/services/log/common/logConstants.js +2 -0
  374. package/dist/vscode/vs/workbench/services/output/common/output.js +4 -1
  375. package/dist/vscode/vs/workbench/services/preferences/common/preferences.js +22 -1
  376. package/dist/vscode/vs/workbench/services/preferences/common/preferencesModels.js +6 -0
  377. package/dist/vscode/vs/workbench/services/preferences/common/preferencesValidation.js +37 -1
  378. package/dist/vscode/vs/workbench/services/remote/common/remoteAgentService.js +69 -0
  379. package/dist/vscode/vs/workbench/services/remote/common/remoteExplorerService.js +66 -27
  380. package/dist/vscode/vs/workbench/services/search/common/fileSearchManager.js +265 -0
  381. package/dist/vscode/vs/workbench/services/search/common/queryBuilder.js +6 -0
  382. package/dist/vscode/vs/workbench/services/search/common/replace.js +203 -0
  383. package/dist/vscode/vs/workbench/services/search/common/search.js +227 -1
  384. package/dist/vscode/vs/workbench/services/search/common/searchExtTypes.js +6 -0
  385. package/dist/vscode/vs/workbench/services/search/common/searchHelpers.js +72 -0
  386. package/dist/vscode/vs/workbench/services/search/common/searchService.js +355 -0
  387. package/dist/vscode/vs/workbench/services/search/common/textSearchManager.js +309 -0
  388. package/dist/vscode/vs/workbench/services/suggest/browser/media/suggest.css.js +4 -0
  389. package/dist/vscode/vs/workbench/services/suggest/browser/simpleCompletionItem.js +10 -0
  390. package/dist/vscode/vs/workbench/services/suggest/browser/simpleCompletionModel.js +98 -0
  391. package/dist/vscode/vs/workbench/services/suggest/browser/simpleSuggestWidget.js +399 -0
  392. package/dist/vscode/vs/workbench/services/suggest/browser/simpleSuggestWidgetRenderer.js +83 -0
  393. package/dist/vscode/vs/workbench/services/terminal/common/embedderTerminalService.js +3 -0
  394. package/dist/vscode/vs/workbench/services/textfile/browser/textFileService.js +1 -1
  395. package/dist/vscode/vs/workbench/services/textfile/common/textFileEditorModel.js +10 -3
  396. package/dist/vscode/vs/workbench/services/themes/browser/fileIconThemeData.js +3 -3
  397. package/dist/vscode/vs/workbench/services/themes/browser/productIconThemeData.js +3 -3
  398. package/dist/vscode/vs/workbench/services/themes/common/colorThemeData.js +3 -3
  399. package/dist/vscode/vs/workbench/services/untitled/common/untitledTextEditorInput.js +6 -4
  400. package/dist/vscode/vs/workbench/services/untitled/common/untitledTextEditorModel.js +3 -0
  401. package/dist/vscode/vs/workbench/services/untitled/common/untitledTextEditorService.js +4 -0
  402. package/dist/vscode/vs/workbench/services/userActivity/common/userActivityRegistry.js +15 -0
  403. package/dist/vscode/vs/workbench/services/userActivity/common/userActivityService.js +37 -0
  404. package/dist/vscode/vs/workbench/services/userDataSync/common/userDataSync.js +7 -0
  405. package/dist/vscode/vs/workbench/services/workingCopy/common/workingCopyEditorService.js +40 -0
  406. package/dist/vscode/vs/workbench/services/workingCopy/common/workingCopyService.js +12 -0
  407. package/dist/vscode/vs/workbench/services/workspaces/common/canonicalUriService.js +19 -0
  408. package/dist/vscode-default-extensions/css/syntaxes/css.tmLanguage.json.extensionResource.js +1 -1
  409. package/dist/vscode-default-extensions/json/package.json.js +1 -1
  410. package/dist/vscode-default-extensions/json/syntaxes/JSONC.tmLanguage.json.extensionResource.js +1 -1
  411. package/dist/vscode-default-extensions/json/syntaxes/JSONL.tmLanguage.json.extensionResource.js +2 -0
  412. package/dist/vscode-default-extensions/latex/syntaxes/Bibtex.tmLanguage.json.extensionResource.js +1 -1
  413. package/dist/vscode-default-extensions/latex/syntaxes/LaTeX.tmLanguage.json.extensionResource.js +1 -1
  414. package/dist/vscode-default-extensions/latex/syntaxes/TeX.tmLanguage.json.extensionResource.js +1 -1
  415. package/dist/vscode-default-extensions/latex/syntaxes/cpp-grammar-bailout.tmLanguage.json.extensionResource.js +1 -1
  416. package/dist/vscode-default-extensions/latex/syntaxes/markdown-latex-combined.tmLanguage.json.extensionResource.js +1 -1
  417. package/dist/vscode-default-extensions/lua/syntaxes/lua.tmLanguage.json.extensionResource.js +1 -1
  418. package/dist/vscode-default-extensions/perl/package.json.js +1 -1
  419. package/dist/vscode-default-extensions/php/snippets/php.code-snippets.extensionResource.js +1 -1
  420. package/dist/vscode-default-extensions/sql/language-configuration.json.extensionResource.js +1 -1
  421. package/dist/vscode-default-extensions/theme-abyss/themes/abyss-color-theme.json.extensionResource.js +1 -1
  422. package/dist/vscode-default-extensions/theme-defaults/package.json.js +1 -1
  423. package/dist/vscode-default-extensions/theme-defaults/themes/dark_modern.json.extensionResource.js +2 -0
  424. package/dist/vscode-default-extensions/theme-defaults/themes/dark_vs.json.extensionResource.js +1 -1
  425. package/dist/vscode-default-extensions/theme-defaults/themes/hc_black.json.extensionResource.js +1 -1
  426. package/dist/vscode-default-extensions/theme-defaults/themes/hc_light.json.extensionResource.js +1 -1
  427. package/dist/vscode-default-extensions/theme-defaults/themes/light_modern.json.extensionResource.js +2 -0
  428. package/dist/vscode-default-extensions/theme-defaults/themes/light_vs.json.extensionResource.js +1 -1
  429. package/dist/vscode-default-extensions/theme-kimbie-dark/themes/kimbie-dark-color-theme.json.extensionResource.js +1 -1
  430. package/dist/vscode-default-extensions/theme-monokai/themes/monokai-color-theme.json.extensionResource.js +1 -1
  431. package/dist/vscode-default-extensions/theme-monokai-dimmed/themes/dimmed-monokai-color-theme.json.extensionResource.js +1 -1
  432. package/dist/vscode-default-extensions/theme-quietlight/themes/quietlight-color-theme.json.extensionResource.js +1 -1
  433. package/dist/vscode-default-extensions/theme-red/themes/Red-color-theme.json.extensionResource.js +1 -1
  434. package/dist/vscode-default-extensions/theme-seti/icons/vs-seti-icon-theme.json.extensionResource.js +1 -1
  435. package/dist/vscode-default-extensions/theme-solarized-dark/themes/solarized-dark-color-theme.json.extensionResource.js +1 -1
  436. package/dist/vscode-default-extensions/theme-solarized-light/themes/solarized-light-color-theme.json.extensionResource.js +1 -1
  437. package/dist/vscode-default-extensions/theme-tomorrow-night-blue/themes/tomorrow-night-blue-color-theme.json.extensionResource.js +1 -1
  438. package/dist/vscode-default-extensions/vb/language-configuration.json.extensionResource.js +1 -1
  439. package/dist/vscode-services/env.js +4 -2
  440. package/dist/vscode-services/extHost.js +32 -48
  441. package/dist/vscode-services/missing-services.js +407 -29
  442. package/dist/vscode-services/window.js +59 -65
  443. package/dist/vscode-services/workspace.js +19 -5
  444. package/dist/workers/outputLinkComputer.worker.d.ts +2 -0
  445. package/dist/workers/outputLinkComputer.worker.js +3 -0
  446. package/dist/workspace.d.ts +1 -1
  447. package/monaco-editor-treemending.patch +1305 -1184
  448. package/package.json +65 -19
  449. package/dist/activity.d.ts +0 -2802
  450. package/dist/collections.d.ts +0 -7
  451. package/dist/colorRegistry.d.ts +0 -710
  452. package/dist/vscode/vs/platform/product/common/product.js +0 -48
  453. package/dist/vscode/vs/workbench/contrib/interactiveSession/browser/interactiveSessionFollowups.js +0 -30
  454. package/dist/vscode/vs/workbench/contrib/interactiveSession/browser/interactiveSessionInputPart.js +0 -196
  455. package/dist/vscode/vs/workbench/contrib/interactiveSession/browser/interactiveSessionListRenderer.js +0 -622
  456. package/dist/vscode/vs/workbench/contrib/interactiveSession/browser/interactiveSessionOptions.js +0 -77
  457. package/dist/vscode/vs/workbench/contrib/interactiveSession/browser/interactiveSessionWidget.js +0 -311
  458. package/dist/vscode/vs/workbench/contrib/interactiveSession/browser/media/interactiveSession.css.js +0 -4
  459. package/dist/vscode/vs/workbench/contrib/interactiveSession/common/interactiveSessionContextKeys.js +0 -56
  460. package/dist/vscode/vs/workbench/contrib/interactiveSession/common/interactiveSessionModel.js +0 -305
  461. package/dist/vscode/vs/workbench/contrib/interactiveSession/common/interactiveSessionService.js +0 -13
  462. package/dist/vscode/vs/workbench/contrib/interactiveSession/common/interactiveSessionServiceImpl.js +0 -379
  463. package/dist/vscode/vs/workbench/contrib/interactiveSession/common/interactiveSessionViewModel.js +0 -207
  464. package/dist/vscode/vs/workbench/contrib/interactiveSession/common/interactiveSessionWidgetHistoryService.js +0 -3
  465. package/dist/vscode/vs/workbench/contrib/interactiveSession/common/interactiveSessionWordCounter.js +0 -25
  466. package/dist/vscode-default-extensions/theme-defaults/themes/dark_plus_experimental.json.extensionResource.js +0 -2
  467. package/dist/vscode-default-extensions/theme-defaults/themes/light_plus_experimental.json.extensionResource.js +0 -2
@@ -1,26 +1,237 @@
1
- import { S as ServiceIdentifier, I as IInstantiationService } from './instantiation.js';
2
- import { E as Event, C as CancellationToken, a as IDisposable, b as Emitter, d as IWaitUntil, D as Disposable } from './event.js';
1
+ import { S as ServiceIdentifier, a as ServicesAccessor, I as IInstantiationService } from './instantiation.js';
2
+ import { E as Event, a as IDisposable, C as CancellationToken, c as Emitter, d as IWaitUntil, D as Disposable } from './event.js';
3
+ import { I as IJSONSchema } from './jsonSchema.js';
3
4
  import { c as ITextModel, P as Position, R as Range, S as Selection, h as IRange, E as EndOfLineSequence, g as IPosition, i as IMarkdownString, j as ISingleEditOperation, k as EditorAutoIndentStrategy, I as IEditorOptions, l as IEditorModel, m as IDimension, n as ITextEditorModel, o as ITextSnapshot, p as ITextBufferFactory, q as IDiffEditor, r as IBaseTextResourceEditorInput, s as IBaseUntypedEditorInput, t as IResourceEditorInput, u as ITextResourceEditorInput } from './editorBrowser.js';
5
+ import { S as Severity$1 } from './severity.js';
4
6
  import { U as URI } from './uri.js';
5
7
  import { V as VSBuffer, m as VSBufferReadable, n as VSBufferReadableStream, o as IFileStatWithMetadata, p as FileOperation, q as ReadableStream, r as IReadFileStreamOptions, s as IWriteFileOptions, t as IBaseFileStatWithMetadata, u as IFileReadLimits, v as IRelativePattern } from './files.js';
6
- import { f as IProgress, g as IProgressStep, c as IComposite, h as ICompositeControl } from './colorRegistry.js';
8
+ import { b as IProgress, c as IProgressStep, I as IComposite, d as ICompositeControl } from './composite.js';
7
9
  import { a as IContextKeyService } from './contextkey.js';
8
10
  import { T as ThemeIcon } from './themables.js';
9
- import { S as Severity, E as ExtensionIdentifier } from './extensions.d2.ts';
11
+ import { E as ExtensionIdentifier } from './extensions.d2.ts';
12
+
13
+ type TypeConstraint = string | Function;
14
+
15
+ interface ICommandEvent {
16
+ commandId: string;
17
+ args: any[];
18
+ }
19
+
20
+ declare const ICommandService: ServiceIdentifier<ICommandService>;
21
+ interface ICommandService {
22
+ readonly _serviceBrand: undefined;
23
+ onWillExecuteCommand: Event<ICommandEvent>;
24
+ onDidExecuteCommand: Event<ICommandEvent>;
25
+ executeCommand<T = any>(commandId: string, ...args: any[]): Promise<T | undefined>;
26
+ }
27
+ type ICommandsMap = Map<string, ICommand>;
28
+ interface ICommandHandler {
29
+ (accessor: ServicesAccessor, ...args: any[]): void;
30
+ }
31
+ interface ICommand {
32
+ id: string;
33
+ handler: ICommandHandler;
34
+ description?: ICommandHandlerDescription | null;
35
+ }
36
+ interface ICommandHandlerDescription {
37
+ readonly description: string;
38
+ readonly args: ReadonlyArray<{
39
+ readonly name: string;
40
+ readonly isOptional?: boolean;
41
+ readonly description?: string;
42
+ readonly constraint?: TypeConstraint;
43
+ readonly schema?: IJSONSchema;
44
+ }>;
45
+ readonly returns?: string;
46
+ }
47
+ interface ICommandRegistry {
48
+ onDidRegisterCommand: Event<string>;
49
+ registerCommand(id: string, command: ICommandHandler): IDisposable;
50
+ registerCommand(command: ICommand): IDisposable;
51
+ registerCommandAlias(oldId: string, newId: string): IDisposable;
52
+ getCommand(id: string): ICommand | undefined;
53
+ getCommands(): ICommandsMap;
54
+ }
55
+ declare const CommandsRegistry: ICommandRegistry;
56
+
57
+ declare class RGBA {
58
+ _rgbaBrand: void;
59
+ /**
60
+ * Red: integer in [0-255]
61
+ */
62
+ readonly r: number;
63
+ /**
64
+ * Green: integer in [0-255]
65
+ */
66
+ readonly g: number;
67
+ /**
68
+ * Blue: integer in [0-255]
69
+ */
70
+ readonly b: number;
71
+ /**
72
+ * Alpha: float in [0-1]
73
+ */
74
+ readonly a: number;
75
+ constructor(r: number, g: number, b: number, a?: number);
76
+ static equals(a: RGBA, b: RGBA): boolean;
77
+ }
78
+ declare class HSLA {
79
+ _hslaBrand: void;
80
+ /**
81
+ * Hue: integer in [0, 360]
82
+ */
83
+ readonly h: number;
84
+ /**
85
+ * Saturation: float in [0, 1]
86
+ */
87
+ readonly s: number;
88
+ /**
89
+ * Luminosity: float in [0, 1]
90
+ */
91
+ readonly l: number;
92
+ /**
93
+ * Alpha: float in [0, 1]
94
+ */
95
+ readonly a: number;
96
+ constructor(h: number, s: number, l: number, a: number);
97
+ static equals(a: HSLA, b: HSLA): boolean;
98
+ /**
99
+ * Converts an RGB color value to HSL. Conversion formula
100
+ * adapted from http://en.wikipedia.org/wiki/HSL_color_space.
101
+ * Assumes r, g, and b are contained in the set [0, 255] and
102
+ * returns h in the set [0, 360], s, and l in the set [0, 1].
103
+ */
104
+ static fromRGBA(rgba: RGBA): HSLA;
105
+ private static _hue2rgb;
106
+ /**
107
+ * Converts an HSL color value to RGB. Conversion formula
108
+ * adapted from http://en.wikipedia.org/wiki/HSL_color_space.
109
+ * Assumes h in the set [0, 360] s, and l are contained in the set [0, 1] and
110
+ * returns r, g, and b in the set [0, 255].
111
+ */
112
+ static toRGBA(hsla: HSLA): RGBA;
113
+ }
114
+ declare class HSVA {
115
+ _hsvaBrand: void;
116
+ /**
117
+ * Hue: integer in [0, 360]
118
+ */
119
+ readonly h: number;
120
+ /**
121
+ * Saturation: float in [0, 1]
122
+ */
123
+ readonly s: number;
124
+ /**
125
+ * Value: float in [0, 1]
126
+ */
127
+ readonly v: number;
128
+ /**
129
+ * Alpha: float in [0, 1]
130
+ */
131
+ readonly a: number;
132
+ constructor(h: number, s: number, v: number, a: number);
133
+ static equals(a: HSVA, b: HSVA): boolean;
134
+ static fromRGBA(rgba: RGBA): HSVA;
135
+ static toRGBA(hsva: HSVA): RGBA;
136
+ }
137
+ declare class Color {
138
+ static fromHex(hex: string): Color;
139
+ static equals(a: Color | null, b: Color | null): boolean;
140
+ readonly rgba: RGBA;
141
+ private _hsla?;
142
+ get hsla(): HSLA;
143
+ private _hsva?;
144
+ get hsva(): HSVA;
145
+ constructor(arg: RGBA | HSLA | HSVA);
146
+ equals(other: Color | null): boolean;
147
+ /**
148
+ * http://www.w3.org/TR/WCAG20/#relativeluminancedef
149
+ * Returns the number in the set [0, 1]. O => Darkest Black. 1 => Lightest white.
150
+ */
151
+ getRelativeLuminance(): number;
152
+ private static _relativeLuminanceForComponent;
153
+ /**
154
+ * http://www.w3.org/TR/WCAG20/#contrast-ratiodef
155
+ * Returns the contrast ration number in the set [1, 21].
156
+ */
157
+ getContrastRatio(another: Color): number;
158
+ /**
159
+ * http://24ways.org/2010/calculating-color-contrast
160
+ * Return 'true' if darker color otherwise 'false'
161
+ */
162
+ isDarker(): boolean;
163
+ /**
164
+ * http://24ways.org/2010/calculating-color-contrast
165
+ * Return 'true' if lighter color otherwise 'false'
166
+ */
167
+ isLighter(): boolean;
168
+ isLighterThan(another: Color): boolean;
169
+ isDarkerThan(another: Color): boolean;
170
+ lighten(factor: number): Color;
171
+ darken(factor: number): Color;
172
+ transparent(factor: number): Color;
173
+ isTransparent(): boolean;
174
+ isOpaque(): boolean;
175
+ opposite(): Color;
176
+ blend(c: Color): Color;
177
+ makeOpaque(opaqueBackground: Color): Color;
178
+ flatten(...backgrounds: Color[]): Color;
179
+ private static _flatten;
180
+ private _toString?;
181
+ toString(): string;
182
+ static getLighterColor(of: Color, relative: Color, factor?: number): Color;
183
+ static getDarkerColor(of: Color, relative: Color, factor?: number): Color;
184
+ static readonly white: Color;
185
+ static readonly black: Color;
186
+ static readonly red: Color;
187
+ static readonly blue: Color;
188
+ static readonly green: Color;
189
+ static readonly cyan: Color;
190
+ static readonly lightgrey: Color;
191
+ static readonly transparent: Color;
192
+ }
193
+ declare namespace Color {
194
+ namespace Format {
195
+ namespace CSS {
196
+ function formatRGB(color: Color): string;
197
+ function formatRGBA(color: Color): string;
198
+ function formatHSL(color: Color): string;
199
+ function formatHSLA(color: Color): string;
200
+ /**
201
+ * Formats the color as #RRGGBB
202
+ */
203
+ function formatHex(color: Color): string;
204
+ /**
205
+ * Formats the color as #RRGGBBAA
206
+ * If 'compact' is set, colors without transparancy will be printed as #RRGGBB
207
+ */
208
+ function formatHexA(color: Color, compact?: boolean): string;
209
+ /**
210
+ * The default format will use HEX if opaque and RGBA otherwise.
211
+ */
212
+ function format(color: Color): string;
213
+ /**
214
+ * Converts an Hex color value to a Color.
215
+ * returns r, g, and b are contained in the set [0, 255]
216
+ * @param hex string (#RGB, #RGBA, #RRGGBB or #RRGGBBAA).
217
+ */
218
+ function parseHex(hex: string): Color | null;
219
+ }
220
+ }
221
+ }
10
222
 
11
223
  interface IDataTransferFile {
224
+ readonly id: string;
12
225
  readonly name: string;
13
226
  readonly uri?: URI;
14
227
  data(): Promise<Uint8Array>;
15
228
  }
16
229
  interface IDataTransferItem {
17
- readonly id: string;
18
230
  asString(): Thenable<string>;
19
231
  asFile(): IDataTransferFile | undefined;
20
232
  value: any;
21
233
  }
22
- declare class VSDataTransfer {
23
- private readonly _entries;
234
+ interface IReadonlyVSDataTransfer extends Iterable<readonly [string, IDataTransferItem]> {
24
235
  /**
25
236
  * Get the total number of entries in this data transfer.
26
237
  */
@@ -32,54 +243,19 @@ declare class VSDataTransfer {
32
243
  */
33
244
  has(mimeType: string): boolean;
34
245
  /**
35
- * Check if this data transfer contains data matching `mimeTypeGlob`.
246
+ * Check if this data transfer contains data matching `pattern`.
36
247
  *
37
248
  * This allows matching for wildcards, such as `image/*`.
38
249
  *
39
250
  * Use the special `files` mime type to match any file in the data transfer.
40
251
  */
41
- matches(mimeTypeGlob: string): boolean;
252
+ matches(pattern: string): boolean;
42
253
  /**
43
254
  * Retrieve the first entry for `mimeType`.
44
255
  *
45
- * Note that if want to find all entries for a given mime type, use {@link VSDataTransfer.entries} instead.
256
+ * Note that if you want to find all entries for a given mime type, use {@link IReadonlyVSDataTransfer.entries} instead.
46
257
  */
47
258
  get(mimeType: string): IDataTransferItem | undefined;
48
- /**
49
- * Add a new entry to this data transfer.
50
- *
51
- * This does not replace existing entries for `mimeType`.
52
- */
53
- append(mimeType: string, value: IDataTransferItem): void;
54
- /**
55
- * Set the entry for a given mime type.
56
- *
57
- * This replaces all existing entries for `mimeType`.
58
- */
59
- replace(mimeType: string, value: IDataTransferItem): void;
60
- /**
61
- * Remove all entries for `mimeType`.
62
- */
63
- delete(mimeType: string): void;
64
- /**
65
- * Iterate over all `[mime, item]` pairs in this data transfer.
66
- *
67
- * There may be multiple entries for each mime type.
68
- */
69
- entries(): Iterable<[string, IDataTransferItem]>;
70
- /**
71
- * Iterate over all items in this data transfer.
72
- *
73
- * There may be multiple entries for each mime type.
74
- */
75
- values(): Iterable<IDataTransferItem>;
76
- /**
77
- * Call `f` for each item and mime in the data transfer.
78
- *
79
- * There may be multiple entries for each mime type.
80
- */
81
- forEach(f: (value: IDataTransferItem, mime: string) => void): void;
82
- private toKey;
83
259
  }
84
260
 
85
261
  /**
@@ -140,8 +316,8 @@ declare enum MarkerSeverity {
140
316
  declare namespace MarkerSeverity {
141
317
  function compare(a: MarkerSeverity, b: MarkerSeverity): number;
142
318
  function toString(a: MarkerSeverity): string;
143
- function fromSeverity(severity: Severity): MarkerSeverity;
144
- function toSeverity(severity: MarkerSeverity): Severity;
319
+ function fromSeverity(severity: Severity$1): MarkerSeverity;
320
+ function toSeverity(severity: MarkerSeverity): Severity$1;
145
321
  }
146
322
  interface IResourceMarker {
147
323
  resource: URI;
@@ -699,8 +875,12 @@ interface CodeActionProvider {
699
875
  * @internal
700
876
  */
701
877
  interface DocumentPasteEdit {
878
+ readonly id: string;
879
+ readonly label: string;
880
+ readonly detail: string;
881
+ readonly priority: number;
702
882
  insertText: string | {
703
- snippet: string;
883
+ readonly snippet: string;
704
884
  };
705
885
  additionalEdit?: WorkspaceEdit;
706
886
  }
@@ -708,9 +888,11 @@ interface DocumentPasteEdit {
708
888
  * @internal
709
889
  */
710
890
  interface DocumentPasteEditProvider {
711
- readonly pasteMimeTypes: readonly string[];
712
- prepareDocumentPaste?(model: ITextModel, ranges: readonly IRange[], dataTransfer: VSDataTransfer, token: CancellationToken): Promise<undefined | VSDataTransfer>;
713
- provideDocumentPasteEdits(model: ITextModel, ranges: readonly IRange[], dataTransfer: VSDataTransfer, token: CancellationToken): Promise<DocumentPasteEdit | undefined>;
891
+ readonly id?: string;
892
+ readonly copyMimeTypes?: readonly string[];
893
+ readonly pasteMimeTypes?: readonly string[];
894
+ prepareDocumentPaste?(model: ITextModel, ranges: readonly IRange[], dataTransfer: IReadonlyVSDataTransfer, token: CancellationToken): Promise<undefined | IReadonlyVSDataTransfer>;
895
+ provideDocumentPasteEdits?(model: ITextModel, ranges: readonly IRange[], dataTransfer: IReadonlyVSDataTransfer, token: CancellationToken): Promise<DocumentPasteEdit | undefined>;
714
896
  }
715
897
  /**
716
898
  * Represents a parameter of a callable-signature. A parameter can
@@ -1405,9 +1587,11 @@ interface DocumentRangeSemanticTokensProvider {
1405
1587
  * @internal
1406
1588
  */
1407
1589
  interface DocumentOnDropEdit {
1590
+ readonly id: string;
1408
1591
  readonly label: string;
1592
+ readonly priority: number;
1409
1593
  insertText: string | {
1410
- snippet: string;
1594
+ readonly snippet: string;
1411
1595
  };
1412
1596
  additionalEdit?: WorkspaceEdit;
1413
1597
  }
@@ -1415,9 +1599,8 @@ interface DocumentOnDropEdit {
1415
1599
  * @internal
1416
1600
  */
1417
1601
  interface DocumentOnDropEditProvider {
1418
- readonly id: string;
1419
1602
  readonly dropMimeTypes?: readonly string[];
1420
- provideDocumentOnDropEdits(model: ITextModel, position: IPosition, dataTransfer: VSDataTransfer, token: CancellationToken): ProviderResult<DocumentOnDropEdit>;
1603
+ provideDocumentOnDropEdits(model: ITextModel, position: IPosition, dataTransfer: IReadonlyVSDataTransfer, token: CancellationToken): ProviderResult<DocumentOnDropEdit>;
1421
1604
  }
1422
1605
 
1423
1606
  interface IViewLineTokens {
@@ -1992,13 +2175,392 @@ declare class ResolvedLanguageConfiguration {
1992
2175
  private static _handleComments;
1993
2176
  }
1994
2177
 
2178
+ interface IAction {
2179
+ readonly id: string;
2180
+ label: string;
2181
+ tooltip: string;
2182
+ class: string | undefined;
2183
+ enabled: boolean;
2184
+ checked?: boolean;
2185
+ run(...args: unknown[]): unknown;
2186
+ }
2187
+ interface IActionRunner extends IDisposable {
2188
+ readonly onDidRun: Event<IRunEvent>;
2189
+ readonly onWillRun: Event<IRunEvent>;
2190
+ run(action: IAction, context?: unknown): unknown;
2191
+ }
2192
+ interface IRunEvent {
2193
+ readonly action: IAction;
2194
+ readonly error?: Error;
2195
+ }
2196
+ declare class SubmenuAction implements IAction {
2197
+ readonly id: string;
2198
+ readonly label: string;
2199
+ readonly class: string | undefined;
2200
+ readonly tooltip: string;
2201
+ readonly enabled: boolean;
2202
+ readonly checked: undefined;
2203
+ private readonly _actions;
2204
+ get actions(): readonly IAction[];
2205
+ constructor(id: string, label: string, actions: readonly IAction[], cssClass?: string);
2206
+ run(): Promise<void>;
2207
+ }
2208
+
2209
+ type Severity = Severity$1;
2210
+ type NotificationMessage = string | Error;
2211
+ declare enum NotificationPriority {
2212
+ /**
2213
+ * Default priority: notification will be visible unless do not disturb mode is enabled.
2214
+ */
2215
+ DEFAULT = 0,
2216
+ /**
2217
+ * Silent priority: notification will only be visible from the notifications center.
2218
+ */
2219
+ SILENT = 1,
2220
+ /**
2221
+ * Urgent priority: notification will be visible even when do not disturb mode is enabled.
2222
+ */
2223
+ URGENT = 2
2224
+ }
2225
+ interface INotificationProperties {
2226
+ /**
2227
+ * Sticky notifications are not automatically removed after a certain timeout.
2228
+ *
2229
+ * Currently, only 2 kinds of notifications are sticky:
2230
+ * - Error notifications with primary actions
2231
+ * - Notifications that show progress
2232
+ */
2233
+ readonly sticky?: boolean;
2234
+ /**
2235
+ * Allows to override the priority of the notification based on needs.
2236
+ */
2237
+ readonly priority?: NotificationPriority;
2238
+ /**
2239
+ * Adds an action to never show the notification again. The choice will be persisted
2240
+ * such as future requests will not cause the notification to show again.
2241
+ */
2242
+ readonly neverShowAgain?: INeverShowAgainOptions;
2243
+ }
2244
+ declare enum NeverShowAgainScope {
2245
+ /**
2246
+ * Will never show this notification on the current workspace again.
2247
+ */
2248
+ WORKSPACE = 0,
2249
+ /**
2250
+ * Will never show this notification on any workspace of the same
2251
+ * profile again.
2252
+ */
2253
+ PROFILE = 1,
2254
+ /**
2255
+ * Will never show this notification on any workspace across all
2256
+ * profiles again.
2257
+ */
2258
+ APPLICATION = 2
2259
+ }
2260
+ interface INeverShowAgainOptions {
2261
+ /**
2262
+ * The id is used to persist the selection of not showing the notification again.
2263
+ */
2264
+ readonly id: string;
2265
+ /**
2266
+ * By default the action will show up as primary action. Setting this to true will
2267
+ * make it a secondary action instead.
2268
+ */
2269
+ readonly isSecondary?: boolean;
2270
+ /**
2271
+ * Whether to persist the choice in the current workspace or for all workspaces. By
2272
+ * default it will be persisted for all workspaces across all profiles
2273
+ * (= `NeverShowAgainScope.APPLICATION`).
2274
+ */
2275
+ readonly scope?: NeverShowAgainScope;
2276
+ }
2277
+ interface INotification extends INotificationProperties {
2278
+ /**
2279
+ * The id of the notification. If provided, will be used to compare
2280
+ * notifications with others to decide whether a notification is
2281
+ * duplicate or not.
2282
+ */
2283
+ readonly id?: string;
2284
+ /**
2285
+ * The severity of the notification. Either `Info`, `Warning` or `Error`.
2286
+ */
2287
+ readonly severity: Severity;
2288
+ /**
2289
+ * The message of the notification. This can either be a `string` or `Error`. Messages
2290
+ * can optionally include links in the format: `[text](link)`
2291
+ */
2292
+ readonly message: NotificationMessage;
2293
+ /**
2294
+ * The source of the notification appears as additional information.
2295
+ */
2296
+ readonly source?: string | {
2297
+ label: string;
2298
+ id: string;
2299
+ };
2300
+ /**
2301
+ * Actions to show as part of the notification. Primary actions show up as
2302
+ * buttons as part of the message and will close the notification once clicked.
2303
+ *
2304
+ * Secondary actions are meant to provide additional configuration or context
2305
+ * for the notification and will show up less prominent. A notification does not
2306
+ * close automatically when invoking a secondary action.
2307
+ *
2308
+ * **Note:** If your intent is to show a message with actions to the user, consider
2309
+ * the `INotificationService.prompt()` method instead which are optimized for
2310
+ * this usecase and much easier to use!
2311
+ */
2312
+ actions?: INotificationActions;
2313
+ /**
2314
+ * The initial set of progress properties for the notification. To update progress
2315
+ * later on, access the `INotificationHandle.progress` property.
2316
+ */
2317
+ readonly progress?: INotificationProgressProperties;
2318
+ }
2319
+ interface INotificationActions {
2320
+ /**
2321
+ * Primary actions show up as buttons as part of the message and will close
2322
+ * the notification once clicked.
2323
+ *
2324
+ * Pass `ActionWithMenuAction` for an action that has additional menu actions.
2325
+ */
2326
+ readonly primary?: readonly IAction[];
2327
+ /**
2328
+ * Secondary actions are meant to provide additional configuration or context
2329
+ * for the notification and will show up less prominent. A notification does not
2330
+ * close automatically when invoking a secondary action.
2331
+ */
2332
+ readonly secondary?: readonly IAction[];
2333
+ }
2334
+ interface INotificationProgressProperties {
2335
+ /**
2336
+ * Causes the progress bar to spin infinitley.
2337
+ */
2338
+ readonly infinite?: boolean;
2339
+ /**
2340
+ * Indicate the total amount of work.
2341
+ */
2342
+ readonly total?: number;
2343
+ /**
2344
+ * Indicate that a specific chunk of work is done.
2345
+ */
2346
+ readonly worked?: number;
2347
+ }
2348
+ interface INotificationProgress {
2349
+ /**
2350
+ * Causes the progress bar to spin infinitley.
2351
+ */
2352
+ infinite(): void;
2353
+ /**
2354
+ * Indicate the total amount of work.
2355
+ */
2356
+ total(value: number): void;
2357
+ /**
2358
+ * Indicate that a specific chunk of work is done.
2359
+ */
2360
+ worked(value: number): void;
2361
+ /**
2362
+ * Indicate that the long running operation is done.
2363
+ */
2364
+ done(): void;
2365
+ }
2366
+ interface INotificationHandle {
2367
+ /**
2368
+ * Will be fired once the notification is closed.
2369
+ */
2370
+ readonly onDidClose: Event<void>;
2371
+ /**
2372
+ * Will be fired whenever the visibility of the notification changes.
2373
+ * A notification can either be visible as toast or inside the notification
2374
+ * center if it is visible.
2375
+ */
2376
+ readonly onDidChangeVisibility: Event<boolean>;
2377
+ /**
2378
+ * Allows to indicate progress on the notification even after the
2379
+ * notification is already visible.
2380
+ */
2381
+ readonly progress: INotificationProgress;
2382
+ /**
2383
+ * Allows to update the severity of the notification.
2384
+ */
2385
+ updateSeverity(severity: Severity): void;
2386
+ /**
2387
+ * Allows to update the message of the notification even after the
2388
+ * notification is already visible.
2389
+ */
2390
+ updateMessage(message: NotificationMessage): void;
2391
+ /**
2392
+ * Allows to update the actions of the notification even after the
2393
+ * notification is already visible.
2394
+ */
2395
+ updateActions(actions?: INotificationActions): void;
2396
+ /**
2397
+ * Hide the notification and remove it from the notification center.
2398
+ */
2399
+ close(): void;
2400
+ }
2401
+ interface IBasePromptChoice {
2402
+ /**
2403
+ * Label to show for the choice to the user.
2404
+ */
2405
+ readonly label: string;
2406
+ /**
2407
+ * Whether to keep the notification open after the choice was selected
2408
+ * by the user. By default, will close the notification upon click.
2409
+ */
2410
+ readonly keepOpen?: boolean;
2411
+ /**
2412
+ * Triggered when the user selects the choice.
2413
+ */
2414
+ run: () => void;
2415
+ }
2416
+ interface IPromptChoice extends IBasePromptChoice {
2417
+ /**
2418
+ * Primary choices show up as buttons in the notification below the message.
2419
+ * Secondary choices show up under the gear icon in the header of the notification.
2420
+ */
2421
+ readonly isSecondary?: boolean;
2422
+ }
2423
+ interface IPromptChoiceWithMenu extends IPromptChoice {
2424
+ /**
2425
+ * Additional choices those will be shown in the dropdown menu for this choice.
2426
+ */
2427
+ readonly menu: IBasePromptChoice[];
2428
+ /**
2429
+ * Menu is not supported on secondary choices
2430
+ */
2431
+ readonly isSecondary: false | undefined;
2432
+ }
2433
+ interface IPromptOptions extends INotificationProperties {
2434
+ /**
2435
+ * Will be called if the user closed the notification without picking
2436
+ * any of the provided choices.
2437
+ */
2438
+ onCancel?: () => void;
2439
+ }
2440
+ interface IStatusMessageOptions {
2441
+ /**
2442
+ * An optional timeout after which the status message should show. By default
2443
+ * the status message will show immediately.
2444
+ */
2445
+ readonly showAfter?: number;
2446
+ /**
2447
+ * An optional timeout after which the status message is to be hidden. By default
2448
+ * the status message will not hide until another status message is displayed.
2449
+ */
2450
+ readonly hideAfter?: number;
2451
+ }
2452
+ declare enum NotificationsFilter {
2453
+ /**
2454
+ * No filter is enabled.
2455
+ */
2456
+ OFF = 0,
2457
+ /**
2458
+ * All notifications are configured as silent. See
2459
+ * `INotificationProperties.silent` for more info.
2460
+ */
2461
+ SILENT = 1,
2462
+ /**
2463
+ * All notifications are silent except error notifications.
2464
+ */
2465
+ ERROR = 2
2466
+ }
2467
+ declare const INotificationService: ServiceIdentifier<INotificationService>;
2468
+ /**
2469
+ * A service to bring up notifications and non-modal prompts.
2470
+ *
2471
+ * Note: use the `IDialogService` for a modal way to ask the user for input.
2472
+ */
2473
+ interface INotificationService {
2474
+ readonly _serviceBrand: undefined;
2475
+ /**
2476
+ * The DND mode can be enabled or disabled
2477
+ * and will result in all info and warning
2478
+ * notifications to be silent.
2479
+ */
2480
+ doNotDisturbMode: boolean;
2481
+ /**
2482
+ * Emitted when a new notification is added.
2483
+ */
2484
+ readonly onDidAddNotification: Event<INotification>;
2485
+ /**
2486
+ * Emitted when a notification is removed.
2487
+ */
2488
+ readonly onDidRemoveNotification: Event<INotification>;
2489
+ /**
2490
+ * Emitted when a do not disturb mode has changed.
2491
+ */
2492
+ readonly onDidChangeDoNotDisturbMode: Event<void>;
2493
+ /**
2494
+ * Show the provided notification to the user. The returned `INotificationHandle`
2495
+ * can be used to control the notification afterwards.
2496
+ *
2497
+ * **Note:** If your intent is to show a message with actions to the user, consider
2498
+ * the `INotificationService.prompt()` method instead which are optimized for
2499
+ * this usecase and much easier to use!
2500
+ *
2501
+ * @returns a handle on the notification to e.g. hide it or update message, buttons, etc.
2502
+ */
2503
+ notify(notification: INotification): INotificationHandle;
2504
+ /**
2505
+ * A convenient way of reporting infos. Use the `INotificationService.notify`
2506
+ * method if you need more control over the notification.
2507
+ */
2508
+ info(message: NotificationMessage | NotificationMessage[]): void;
2509
+ /**
2510
+ * A convenient way of reporting warnings. Use the `INotificationService.notify`
2511
+ * method if you need more control over the notification.
2512
+ */
2513
+ warn(message: NotificationMessage | NotificationMessage[]): void;
2514
+ /**
2515
+ * A convenient way of reporting errors. Use the `INotificationService.notify`
2516
+ * method if you need more control over the notification.
2517
+ */
2518
+ error(message: NotificationMessage | NotificationMessage[]): void;
2519
+ /**
2520
+ * Shows a prompt in the notification area with the provided choices. The prompt
2521
+ * is non-modal. If you want to show a modal dialog instead, use `IDialogService`.
2522
+ *
2523
+ * @param severity the severity of the notification. Either `Info`, `Warning` or `Error`.
2524
+ * @param message the message to show as status.
2525
+ * @param choices options to be chosen from.
2526
+ * @param options provides some optional configuration options.
2527
+ *
2528
+ * @returns a handle on the notification to e.g. hide it or update message, buttons, etc.
2529
+ */
2530
+ prompt(severity: Severity, message: string, choices: (IPromptChoice | IPromptChoiceWithMenu)[], options?: IPromptOptions): INotificationHandle;
2531
+ /**
2532
+ * Shows a status message in the status area with the provided text.
2533
+ *
2534
+ * @param message the message to show as status
2535
+ * @param options provides some optional configuration options
2536
+ *
2537
+ * @returns a disposable to hide the status message
2538
+ */
2539
+ status(message: NotificationMessage, options?: IStatusMessageOptions): IDisposable;
2540
+ }
2541
+ declare class NoOpNotification implements INotificationHandle {
2542
+ readonly progress: NoOpProgress;
2543
+ readonly onDidClose: Event<any>;
2544
+ readonly onDidChangeVisibility: Event<any>;
2545
+ updateSeverity(severity: Severity): void;
2546
+ updateMessage(message: NotificationMessage): void;
2547
+ updateActions(actions?: INotificationActions): void;
2548
+ close(): void;
2549
+ }
2550
+ declare class NoOpProgress implements INotificationProgress {
2551
+ infinite(): void;
2552
+ done(): void;
2553
+ total(value: number): void;
2554
+ worked(value: number): void;
2555
+ }
2556
+
1995
2557
  interface IDialogArgs {
1996
2558
  readonly confirmArgs?: IConfirmDialogArgs;
1997
2559
  readonly inputArgs?: IInputDialogArgs;
1998
2560
  readonly promptArgs?: IPromptDialogArgs;
1999
2561
  }
2000
2562
  interface IBaseDialogOptions {
2001
- readonly type?: Severity | DialogType;
2563
+ readonly type?: Severity$1 | DialogType;
2002
2564
  readonly title?: string;
2003
2565
  readonly message: string;
2004
2566
  readonly detail?: string;
@@ -2416,7 +2978,13 @@ declare const enum WorkingCopyCapabilities {
2416
2978
  * additional input when saving, e.g. an
2417
2979
  * associated path to save to.
2418
2980
  */
2419
- Untitled = 2
2981
+ Untitled = 2,
2982
+ /**
2983
+ * The working copy will not indicate that
2984
+ * it is dirty and unsaved content will be
2985
+ * discarded without prompting if closed.
2986
+ */
2987
+ Scratchpad = 4
2420
2988
  }
2421
2989
  /**
2422
2990
  * Data to be associated with working copy backups. Use
@@ -2518,7 +3086,18 @@ interface IWorkingCopy extends IWorkingCopyIdentifier {
2518
3086
  * (unless this working copy is untitled).
2519
3087
  */
2520
3088
  readonly onDidSave: Event<IWorkingCopySaveEvent>;
3089
+ /**
3090
+ * Indicates that the file has unsaved changes
3091
+ * and should confirm before closing.
3092
+ */
2521
3093
  isDirty(): boolean;
3094
+ /**
3095
+ * Indicates that the file has unsaved changes.
3096
+ * Used for backup tracking and accounts for
3097
+ * working copies that are never dirty e.g.
3098
+ * scratchpads.
3099
+ */
3100
+ isModified(): boolean;
2522
3101
  /**
2523
3102
  * The workbench may call this method often after it receives
2524
3103
  * the `onDidChangeContent` event for the working copy. The motivation
@@ -3276,6 +3855,10 @@ interface IUntitledTextEditorModelManager {
3276
3855
  resolve(options?: INewUntitledTextEditorOptions): Promise<IUntitledTextEditorModel>;
3277
3856
  resolve(options?: INewUntitledTextEditorWithAssociatedResourceOptions): Promise<IUntitledTextEditorModel>;
3278
3857
  resolve(options?: IExistingUntitledTextEditorOptions): Promise<IUntitledTextEditorModel>;
3858
+ /**
3859
+ * Figures out if the given resource has an associated resource or not.
3860
+ */
3861
+ isUntitledWithAssociatedResource(resource: URI): boolean;
3279
3862
  }
3280
3863
 
3281
3864
  /**
@@ -3448,9 +4031,9 @@ interface IStoredFileWorkingCopy<M extends IStoredFileWorkingCopyModel> extends
3448
4031
  */
3449
4032
  resolve(options?: IStoredFileWorkingCopyResolveOptions): Promise<void>;
3450
4033
  /**
3451
- * Explicitly sets the working copy to be dirty.
4034
+ * Explicitly sets the working copy to be modified.
3452
4035
  */
3453
- markDirty(): void;
4036
+ markModified(): void;
3454
4037
  /**
3455
4038
  * Whether the stored file working copy is in the provided `state`
3456
4039
  * or not.
@@ -4099,6 +4682,59 @@ interface IResolvedTextFileEditorModel extends ITextFileEditorModel {
4099
4682
  createSnapshot(): ITextSnapshot;
4100
4683
  }
4101
4684
 
4685
+ type ColorIdentifier = string;
4686
+ declare const enum ColorTransformType {
4687
+ Darken = 0,
4688
+ Lighten = 1,
4689
+ Transparent = 2,
4690
+ Opaque = 3,
4691
+ OneOf = 4,
4692
+ LessProminent = 5,
4693
+ IfDefinedThenElse = 6
4694
+ }
4695
+ type ColorTransform = {
4696
+ op: ColorTransformType.Darken;
4697
+ value: ColorValue;
4698
+ factor: number;
4699
+ } | {
4700
+ op: ColorTransformType.Lighten;
4701
+ value: ColorValue;
4702
+ factor: number;
4703
+ } | {
4704
+ op: ColorTransformType.Transparent;
4705
+ value: ColorValue;
4706
+ factor: number;
4707
+ } | {
4708
+ op: ColorTransformType.Opaque;
4709
+ value: ColorValue;
4710
+ background: ColorValue;
4711
+ } | {
4712
+ op: ColorTransformType.OneOf;
4713
+ values: readonly ColorValue[];
4714
+ } | {
4715
+ op: ColorTransformType.LessProminent;
4716
+ value: ColorValue;
4717
+ background: ColorValue;
4718
+ factor: number;
4719
+ transparency: number;
4720
+ } | {
4721
+ op: ColorTransformType.IfDefinedThenElse;
4722
+ if: ColorIdentifier;
4723
+ then: ColorValue;
4724
+ else: ColorValue;
4725
+ };
4726
+ interface ColorDefaults {
4727
+ light: ColorValue | null;
4728
+ dark: ColorValue | null;
4729
+ hcDark: ColorValue | null;
4730
+ hcLight: ColorValue | null;
4731
+ }
4732
+ /**
4733
+ * A Color Value is either a color literal, a reference to an other color or a derived color
4734
+ */
4735
+ type ColorValue = Color | string | ColorIdentifier | ColorTransform;
4736
+ declare function registerColor(id: string, defaults: ColorDefaults | null, description: string, needsTransparency?: boolean, deprecationMessage?: string): ColorIdentifier;
4737
+
4102
4738
  interface IEditorDescriptor<T extends IEditorPane> {
4103
4739
  /**
4104
4740
  * The unique type identifier of the editor. All instances
@@ -4512,7 +5148,12 @@ declare const enum EditorInputCapabilities {
4512
5148
  * Signals that the editor is composed of multiple editors
4513
5149
  * within.
4514
5150
  */
4515
- MultipleEditors = 256
5151
+ MultipleEditors = 256,
5152
+ /**
5153
+ * Signals that the editor cannot be in a dirty state
5154
+ * and may still have unsaved changes
5155
+ */
5156
+ Scratchpad = 512
4516
5157
  }
4517
5158
  type IUntypedEditorInput = IResourceEditorInput | ITextResourceEditorInput | IUntitledTextResourceEditorInput | IResourceDiffEditorInput | IResourceSideBySideEditorInput | IResourceMergeEditorInput;
4518
5159
  declare abstract class AbstractEditorInput extends Disposable {
@@ -4599,7 +5240,8 @@ interface IEditorPartConfiguration {
4599
5240
  scrollToSwitchTabs?: boolean;
4600
5241
  highlightModifiedTabs?: boolean;
4601
5242
  tabCloseButton?: 'left' | 'right' | 'off';
4602
- tabSizing?: 'fit' | 'shrink';
5243
+ tabSizing?: 'fit' | 'shrink' | 'fixed';
5244
+ tabSizingFixedMaxWidth?: number;
4603
5245
  pinnedTabSizing?: 'normal' | 'compact' | 'shrink';
4604
5246
  titleScrollbarSizing?: 'default' | 'large';
4605
5247
  focusRecentEditorAfterClose?: boolean;
@@ -4758,4 +5400,4 @@ interface ILanguageFeaturesService {
4758
5400
  setNotebookTypeResolver(resolver: NotebookInfoResolver | undefined): void;
4759
5401
  }
4760
5402
 
4761
- export { IPromptBaseButton as $, IDialogArgs as A, IDialogResult as B, Command as C, DialogType as D, EditorInput as E, FoldingRangeProvider as F, GroupIdentifier as G, IDialogHandler as H, ILanguageFeaturesService as I, IConfirmDialogArgs as J, IInputDialogArgs as K, LanguageFeatureRegistry as L, IPromptDialogArgs as M, IBaseDialogOptions as N, ICheckbox as O, ICheckboxResult as P, ICustomDialogOptions as Q, ICustomDialogMarkdown as R, IConfirmation as S, TextEdit as T, IConfirmationResult as U, IInput as V, WorkspaceEdit as W, IInputResult as X, IInputElement as Y, IPrompt as Z, IPromptResult as _, ILanguageConfigurationService as a, IPromptButton as a0, IPromptCancelButton as a1, IPromptResultWithCancel as a2, IPromptWithCustomCancel as a3, IPromptWithDefaultCancel as a4, ITextFileEditorModel as b, ILanguageIdCodec as c, IEditorCloseEvent as d, IVisibleEditorPane as e, EditorsOrder as f, IEditorIdentifier as g, IEditorGroup as h, IEditorPane as i, IUntitledTextResourceEditorInput as j, IResourceDiffEditorInput as k, ITextDiffEditorPane as l, IUntypedEditorInput as m, ICloseEditorOptions as n, IFindEditorOptions as o, IRevertOptions as p, ISaveOptions as q, IGroupModelChangeEvent as r, LanguageSelector as s, IInplaceReplaceSupportResult as t, WorkspaceEditMetadata as u, IDialogService as v, IMarkerService as w, IEditorGroupsService as x, ITextFileService as y, IWorkingCopyFileService as z };
5403
+ export { INotificationHandle as $, IInplaceReplaceSupportResult as A, WorkspaceEditMetadata as B, CommandsRegistry as C, IActionRunner as D, EditorInput as E, FoldingRangeProvider as F, GroupIdentifier as G, IDialogService as H, ILanguageFeaturesService as I, IMarkerService as J, IEditorGroupsService as K, LanguageFeatureRegistry as L, ITextFileService as M, IWorkingCopyFileService as N, NotificationsFilter as O, NotificationMessage as P, NotificationPriority as Q, INotificationProperties as R, SubmenuAction as S, TextEdit as T, NeverShowAgainScope as U, INeverShowAgainOptions as V, WorkspaceEdit as W, INotification as X, INotificationActions as Y, INotificationProgress as Z, INotificationProgressProperties as _, ILanguageConfigurationService as a, IPromptChoice as a0, IPromptChoiceWithMenu as a1, IPromptOptions as a2, IStatusMessageOptions as a3, NoOpNotification as a4, NoOpProgress as a5, IDialogArgs as a6, DialogType as a7, IDialogResult as a8, IDialogHandler as a9, IConfirmDialogArgs as aa, IInputDialogArgs as ab, IPromptDialogArgs as ac, IBaseDialogOptions as ad, ICheckbox as ae, ICheckboxResult as af, ICustomDialogOptions as ag, ICustomDialogMarkdown as ah, IConfirmation as ai, IConfirmationResult as aj, IInput as ak, IInputResult as al, IInputElement as am, IPrompt as an, IPromptResult as ao, IPromptBaseButton as ap, IPromptButton as aq, IPromptCancelButton as ar, IPromptResultWithCancel as as, IPromptWithCustomCancel as at, IPromptWithDefaultCancel as au, INotificationService as b, ITextFileEditorModel as c, ILanguageIdCodec as d, IAction as e, ICommandService as f, IEditorCloseEvent as g, IVisibleEditorPane as h, EditorsOrder as i, IEditorIdentifier as j, IEditorGroup as k, IEditorPane as l, IUntitledTextResourceEditorInput as m, IResourceDiffEditorInput as n, ITextDiffEditorPane as o, IUntypedEditorInput as p, ICloseEditorOptions as q, registerColor as r, IFindEditorOptions as s, IRevertOptions as t, ISaveOptions as u, IGroupModelChangeEvent as v, ColorIdentifier as w, Color as x, LanguageSelector as y, Command as z };