@codingame/monaco-vscode-api 1.79.7-next.1 → 1.79.7-next.2

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 (457) hide show
  1. package/README.md +2 -2
  2. package/dist/_virtual/index.js +2 -0
  3. package/dist/api.js +17 -15
  4. package/dist/composite.d.ts +1 -1
  5. package/dist/configurationRegistry.d.ts +1 -1
  6. package/dist/contextkey.d.ts +2 -2
  7. package/dist/createApi.js +8 -8
  8. package/dist/default-extensions/bat.js +1 -1
  9. package/dist/default-extensions/clojure.js +1 -1
  10. package/dist/default-extensions/coffeescript.js +1 -1
  11. package/dist/default-extensions/configuration-editing.js +9 -0
  12. package/dist/default-extensions/cpp.js +1 -1
  13. package/dist/default-extensions/csharp.js +1 -1
  14. package/dist/default-extensions/css-language-features.js +10 -0
  15. package/dist/default-extensions/css.js +1 -1
  16. package/dist/default-extensions/dart.js +1 -1
  17. package/dist/default-extensions/debug-auto-launch.js +6 -0
  18. package/dist/default-extensions/debug-server-ready.js +6 -0
  19. package/dist/default-extensions/diff.js +1 -1
  20. package/dist/default-extensions/docker.js +1 -1
  21. package/dist/default-extensions/emmet.js +7 -0
  22. package/dist/default-extensions/extension-editing.js +7 -0
  23. package/dist/default-extensions/fsharp.js +1 -1
  24. package/dist/default-extensions/git-base.js +16 -0
  25. package/dist/default-extensions/git.js +6 -0
  26. package/dist/default-extensions/github-authentication.js +7 -0
  27. package/dist/default-extensions/github.js +7 -0
  28. package/dist/default-extensions/go.js +1 -1
  29. package/dist/default-extensions/groovy.js +1 -1
  30. package/dist/default-extensions/grunt.js +6 -0
  31. package/dist/default-extensions/gulp.js +6 -0
  32. package/dist/default-extensions/handlebars.js +1 -1
  33. package/dist/default-extensions/hlsl.js +1 -1
  34. package/dist/default-extensions/html-language-features.js +10 -0
  35. package/dist/default-extensions/html.js +1 -1
  36. package/dist/default-extensions/ini.js +1 -1
  37. package/dist/default-extensions/ipynb.js +7 -0
  38. package/dist/default-extensions/jake.js +6 -0
  39. package/dist/default-extensions/java.js +1 -1
  40. package/dist/default-extensions/javascript.js +1 -1
  41. package/dist/default-extensions/json-language-features.js +8 -0
  42. package/dist/default-extensions/json.js +1 -1
  43. package/dist/default-extensions/julia.js +1 -1
  44. package/dist/default-extensions/latex.js +1 -1
  45. package/dist/default-extensions/less.js +1 -1
  46. package/dist/default-extensions/log.js +1 -1
  47. package/dist/default-extensions/lua.js +1 -1
  48. package/dist/default-extensions/make.js +1 -1
  49. package/dist/default-extensions/markdown-basics.js +1 -1
  50. package/dist/default-extensions/markdown-language-features.js +18 -0
  51. package/dist/default-extensions/markdown-math.js +32 -0
  52. package/dist/default-extensions/media-preview.js +16 -0
  53. package/dist/default-extensions/merge-conflict.js +7 -0
  54. package/dist/default-extensions/microsoft-authentication.js +7 -0
  55. package/dist/default-extensions/notebook-renderers.js +6 -0
  56. package/dist/default-extensions/npm.js +1 -1
  57. package/dist/default-extensions/objective-c.js +1 -1
  58. package/dist/default-extensions/perl.js +1 -1
  59. package/dist/default-extensions/php-language-features.js +6 -0
  60. package/dist/default-extensions/php.js +1 -1
  61. package/dist/default-extensions/powershell.js +1 -1
  62. package/dist/default-extensions/pug.js +1 -1
  63. package/dist/default-extensions/python.js +1 -1
  64. package/dist/default-extensions/r.js +1 -1
  65. package/dist/default-extensions/razor.js +1 -1
  66. package/dist/default-extensions/references-view.js +1 -1
  67. package/dist/default-extensions/restructuredtext.js +9 -0
  68. package/dist/default-extensions/ruby.js +1 -1
  69. package/dist/default-extensions/rust.js +1 -1
  70. package/dist/default-extensions/scss.js +1 -1
  71. package/dist/default-extensions/search-result.js +1 -1
  72. package/dist/default-extensions/shaderlab.js +1 -1
  73. package/dist/default-extensions/shellscript.js +1 -1
  74. package/dist/default-extensions/simple-browser.js +10 -0
  75. package/dist/default-extensions/sql.js +1 -1
  76. package/dist/default-extensions/swift.js +1 -1
  77. package/dist/default-extensions/theme-abyss.js +1 -1
  78. package/dist/default-extensions/theme-defaults.js +1 -1
  79. package/dist/default-extensions/theme-kimbie-dark.js +1 -1
  80. package/dist/default-extensions/theme-monokai-dimmed.js +1 -1
  81. package/dist/default-extensions/theme-monokai.js +1 -1
  82. package/dist/default-extensions/theme-quietlight.js +1 -1
  83. package/dist/default-extensions/theme-red.js +1 -1
  84. package/dist/default-extensions/theme-seti.js +1 -1
  85. package/dist/default-extensions/theme-solarized-dark.js +1 -1
  86. package/dist/default-extensions/theme-solarized-light.js +1 -1
  87. package/dist/default-extensions/theme-tomorrow-night-blue.js +1 -1
  88. package/dist/default-extensions/typescript-basics.js +1 -1
  89. package/dist/default-extensions/typescript-language-features.js +93 -0
  90. package/dist/default-extensions/vb.js +1 -1
  91. package/dist/default-extensions/vscode-api-tests.js +6 -0
  92. package/dist/default-extensions/vscode-colorize-tests.js +9 -0
  93. package/dist/default-extensions/vscode-test-resolver.js +6 -0
  94. package/dist/default-extensions/xml.js +1 -1
  95. package/dist/default-extensions/yaml.js +1 -1
  96. package/dist/editor.d.ts +2 -2
  97. package/dist/editorBrowser.d.ts +2 -2
  98. package/dist/event.d.ts +1 -1
  99. package/dist/ext-hosts/all.js +26 -0
  100. package/dist/ext-hosts/clipboard.js +12 -0
  101. package/dist/ext-hosts/commands.js +18 -0
  102. package/dist/ext-hosts/configuration.js +16 -0
  103. package/dist/ext-hosts/debug.js +16 -0
  104. package/dist/ext-hosts/decorations.js +16 -0
  105. package/dist/ext-hosts/dialogs.js +14 -0
  106. package/dist/ext-hosts/documentsAndEditors.js +34 -0
  107. package/dist/ext-hosts/editorTabs.js +17 -0
  108. package/dist/ext-hosts/filesystem.js +24 -0
  109. package/dist/ext-hosts/filesystemEvent.js +17 -0
  110. package/dist/ext-hosts/languageFeatures.js +21 -0
  111. package/dist/ext-hosts/languages.js +17 -0
  112. package/dist/ext-hosts/localization.js +16 -0
  113. package/dist/ext-hosts/messages.js +24 -0
  114. package/dist/ext-hosts/output.js +16 -0
  115. package/dist/ext-hosts/progress.js +15 -0
  116. package/dist/ext-hosts/quickopen.js +15 -0
  117. package/dist/ext-hosts/search.js +17 -0
  118. package/dist/ext-hosts/statusBar.js +15 -0
  119. package/dist/ext-hosts/storage.js +28 -0
  120. package/dist/ext-hosts/telemetry.js +17 -0
  121. package/dist/ext-hosts/terminal.js +17 -0
  122. package/dist/ext-hosts/theming.js +15 -0
  123. package/dist/ext-hosts/views.js +30 -0
  124. package/dist/ext-hosts/window.js +20 -0
  125. package/dist/ext-hosts/workspace.js +16 -0
  126. package/dist/extHost.js +271 -0
  127. package/dist/{extension-tools-98a21c83.js → extension-tools.js} +1869 -129
  128. package/dist/extensionWorker.js +80 -0
  129. package/dist/extensions.d.ts +4 -4
  130. package/dist/extensions.d2.ts +1 -1
  131. package/dist/extensions.js +6 -11
  132. package/dist/extensionsRegistry.d.ts +2 -2
  133. package/dist/files.d.ts +17 -17
  134. package/dist/instantiation.d.ts +1 -1
  135. package/dist/keybinding.d.ts +2 -2
  136. package/dist/languageFeatures.d.ts +51 -51
  137. package/dist/log.d.ts +1 -1
  138. package/dist/{vscode-services/missing-services.js → missing-services.js} +170 -109
  139. package/dist/monaco.d.ts +7 -17
  140. package/dist/monaco.js +0 -2
  141. package/dist/node_modules/toposort/index.js +76 -0
  142. package/dist/rollup-extension-directory-plugin.d.ts +3 -3
  143. package/dist/rollup-extension-directory-plugin.js +8 -4
  144. package/dist/rollup-vsix-plugin.d.ts +3 -2
  145. package/dist/rollup-vsix-plugin.js +7 -3
  146. package/dist/service-override/audioCue.js +1 -1
  147. package/dist/service-override/configuration.d.ts +4 -4
  148. package/dist/service-override/configuration.js +1 -1
  149. package/dist/service-override/debug.js +1 -1
  150. package/dist/service-override/dialogs.js +1 -1
  151. package/dist/service-override/editor.d.ts +2 -2
  152. package/dist/service-override/editor.js +1 -1
  153. package/dist/service-override/files.d.ts +60 -10
  154. package/dist/service-override/files.js +154 -60
  155. package/dist/service-override/keybindings.d.ts +1 -1
  156. package/dist/service-override/keybindings.js +1 -1
  157. package/dist/service-override/languages.d.ts +1 -1
  158. package/dist/service-override/languages.js +1 -1
  159. package/dist/service-override/layout.js +1 -1
  160. package/dist/service-override/markers.js +1 -1
  161. package/dist/service-override/model.js +1 -1
  162. package/dist/service-override/notifications.js +1 -1
  163. package/dist/service-override/output.js +1 -1
  164. package/dist/service-override/preferences.js +1 -1
  165. package/dist/service-override/quickaccess.js +1 -1
  166. package/dist/service-override/search.js +1 -1
  167. package/dist/service-override/snippets.js +1 -1
  168. package/dist/service-override/terminal.d.ts +2 -2
  169. package/dist/service-override/terminal.js +1 -1
  170. package/dist/service-override/textmate.js +1 -1
  171. package/dist/service-override/theme.d.ts +1 -1
  172. package/dist/service-override/theme.js +1 -1
  173. package/dist/service-override/tools/editor.js +6 -7
  174. package/dist/service-override/views.d.ts +6 -5
  175. package/dist/service-override/views.js +30 -6
  176. package/dist/services.d.ts +339 -339
  177. package/dist/services.js +1 -1
  178. package/dist/standaloneServices.d.ts +1 -1
  179. package/dist/views.d.ts +4 -4
  180. package/dist/vscode/vs/platform/extensions/common/extensionValidator.js +79 -0
  181. package/dist/vscode/vs/platform/tunnel/common/tunnel.js +14 -1
  182. package/dist/vscode/vs/platform/webview/common/mimeTypes.js +22 -0
  183. package/dist/vscode/vs/platform/webview/common/webviewPortMapping.js +58 -0
  184. package/dist/vscode/vs/workbench/api/browser/mainThreadCustomEditors.js +567 -0
  185. package/dist/vscode/vs/workbench/api/browser/mainThreadDialogs.js +65 -0
  186. package/dist/vscode/vs/workbench/api/browser/mainThreadLogService.js +76 -0
  187. package/dist/vscode/vs/workbench/api/browser/mainThreadUriOpeners.js +104 -0
  188. package/dist/vscode/vs/workbench/api/browser/mainThreadWebviewManager.js +27 -0
  189. package/dist/vscode/vs/workbench/api/browser/mainThreadWebviewPanels.js +281 -0
  190. package/dist/vscode/vs/workbench/api/browser/mainThreadWebviewViews.js +98 -0
  191. package/dist/vscode/vs/workbench/api/browser/mainThreadWebviews.js +130 -0
  192. package/dist/vscode/vs/workbench/api/common/extHostCommands.js +11 -11
  193. package/dist/vscode/vs/workbench/api/common/extHostCustomEditors.js +282 -0
  194. package/dist/vscode/vs/workbench/api/common/extHostDialogs.js +22 -0
  195. package/dist/vscode/vs/workbench/api/common/extHostLogService.js +17 -0
  196. package/dist/vscode/vs/workbench/api/common/extHostLoggerService.js +63 -0
  197. package/dist/vscode/vs/workbench/api/common/extHostOutput.js +1 -1
  198. package/dist/vscode/vs/workbench/api/common/extHostTextEditor.js +1 -1
  199. package/dist/vscode/vs/workbench/api/common/extHostTypeConverters.js +1 -1
  200. package/dist/vscode/vs/workbench/api/common/extHostTypes.js +18 -1
  201. package/dist/vscode/vs/workbench/api/common/extHostUriOpener.js +44 -0
  202. package/dist/vscode/vs/workbench/api/common/extHostWebview.js +212 -0
  203. package/dist/vscode/vs/workbench/api/common/extHostWebviewMessaging.js +149 -0
  204. package/dist/vscode/vs/workbench/api/common/extHostWebviewPanels.js +225 -0
  205. package/dist/vscode/vs/workbench/api/common/extHostWebviewView.js +147 -0
  206. package/dist/vscode/vs/workbench/browser/iframe.js +16 -0
  207. package/dist/vscode/vs/workbench/contrib/codeEditor/browser/find/simpleFindWidget.css.js +4 -0
  208. package/dist/vscode/vs/workbench/contrib/codeEditor/browser/find/simpleFindWidget.js +301 -0
  209. package/dist/vscode/vs/workbench/contrib/codeEditor/browser/outline/documentSymbolsOutline.js +362 -0
  210. package/dist/vscode/vs/workbench/contrib/codeEditor/browser/outline/documentSymbolsTree.css.js +4 -0
  211. package/dist/vscode/vs/workbench/contrib/codeEditor/browser/outline/documentSymbolsTree.js +281 -0
  212. package/dist/vscode/vs/workbench/contrib/customEditor/browser/customEditor.contribution.js +14 -0
  213. package/dist/vscode/vs/workbench/contrib/customEditor/browser/customEditorInputFactory.js +143 -0
  214. package/dist/vscode/vs/workbench/contrib/customEditor/browser/customEditors.js +212 -0
  215. package/dist/vscode/vs/workbench/contrib/customEditor/browser/media/customEditor.css.js +4 -0
  216. package/dist/vscode/vs/workbench/contrib/customEditor/common/contributedCustomEditors.js +72 -0
  217. package/dist/vscode/vs/workbench/contrib/customEditor/common/customEditor.js +53 -1
  218. package/dist/vscode/vs/workbench/contrib/customEditor/common/customEditorModelManager.js +61 -0
  219. package/dist/vscode/vs/workbench/contrib/customEditor/common/customTextEditorModel.js +70 -0
  220. package/dist/vscode/vs/workbench/contrib/customEditor/common/extensionPoint.js +106 -0
  221. package/dist/vscode/vs/workbench/contrib/externalUriOpener/common/configuration.js +68 -0
  222. package/dist/vscode/vs/workbench/contrib/externalUriOpener/common/contributedOpeners.js +79 -0
  223. package/dist/vscode/vs/workbench/contrib/externalUriOpener/common/externalUriOpener.contribution.js +5 -0
  224. package/dist/vscode/vs/workbench/contrib/externalUriOpener/common/externalUriOpenerService.js +169 -1
  225. package/dist/vscode/vs/workbench/contrib/outline/browser/outline.contribution.js +261 -0
  226. package/dist/vscode/vs/workbench/contrib/outline/browser/outline.js +10 -0
  227. package/dist/vscode/vs/workbench/contrib/outline/browser/outlinePane.css.js +4 -0
  228. package/dist/vscode/vs/workbench/contrib/outline/browser/outlinePane.js +290 -0
  229. package/dist/vscode/vs/workbench/contrib/outline/browser/outlineViewState.js +66 -0
  230. package/dist/vscode/vs/workbench/contrib/url/common/urlGlob.js +60 -0
  231. package/dist/vscode/vs/workbench/contrib/webview/browser/overlayWebview.js +288 -0
  232. package/dist/vscode/vs/workbench/contrib/webview/browser/resourceLoading.js +94 -0
  233. package/dist/vscode/vs/workbench/contrib/webview/browser/themeing.js +86 -0
  234. package/dist/vscode/vs/workbench/contrib/webview/browser/webview.js +24 -1
  235. package/dist/vscode/vs/workbench/contrib/webview/browser/webviewElement.js +643 -0
  236. package/dist/vscode/vs/workbench/contrib/webview/browser/webviewFindWidget.js +59 -0
  237. package/dist/vscode/vs/workbench/contrib/webview/browser/webviewService.js +57 -0
  238. package/dist/vscode/vs/workbench/contrib/webview/common/webview.js +39 -0
  239. package/dist/vscode/vs/workbench/contrib/webviewPanel/browser/webviewCommands.js +120 -0
  240. package/dist/vscode/vs/workbench/contrib/webviewPanel/browser/webviewEditor.js +170 -0
  241. package/dist/vscode/vs/workbench/contrib/webviewPanel/browser/webviewEditorInputSerializer.js +119 -0
  242. package/dist/vscode/vs/workbench/contrib/webviewPanel/browser/webviewIconManager.js +56 -0
  243. package/dist/vscode/vs/workbench/contrib/webviewPanel/browser/webviewPanel.contribution.js +61 -0
  244. package/dist/vscode/vs/workbench/contrib/webviewPanel/browser/webviewWorkbenchService.js +174 -3
  245. package/dist/vscode/vs/workbench/contrib/webviewView/browser/webviewViewService.js +43 -1
  246. package/dist/vscode/vs/workbench/services/outline/browser/outlineService.js +35 -0
  247. package/dist/vscode/vs/workbench/services/workingCopy/common/resourceWorkingCopy.js +78 -0
  248. package/dist/{vscode-services → vscode-apis}/commands.js +1 -1
  249. package/dist/{vscode-services → vscode-apis}/debug.js +1 -1
  250. package/dist/{vscode-services → vscode-apis}/env.js +9 -11
  251. package/dist/{vscode-services → vscode-apis}/extensions.js +16 -2
  252. package/dist/{vscode-services → vscode-apis}/l10n.js +1 -1
  253. package/dist/{vscode-services → vscode-apis}/languages.js +8 -1
  254. package/dist/{vscode-services → vscode-apis}/window.js +37 -7
  255. package/dist/{vscode-services → vscode-apis}/workspace.js +3 -3
  256. package/dist/vscode-default-extensions/configuration-editing/dist/browser/configurationEditingMain.js.extensionResource.js +2 -0
  257. package/dist/vscode-default-extensions/configuration-editing/package.json.js +2 -0
  258. package/dist/vscode-default-extensions/configuration-editing/schemas/attachContainer.schema.json.extensionResource.js +2 -0
  259. package/dist/vscode-default-extensions/css-language-features/client/dist/browser/cssClientMain.js.extensionResource.js +2 -0
  260. package/dist/vscode-default-extensions/css-language-features/package.json.js +2 -0
  261. package/dist/vscode-default-extensions/css-language-features/schemas/package.schema.json.extensionResource.js +2 -0
  262. package/dist/vscode-default-extensions/css-language-features/server/dist/browser/cssServerMain.js.extensionResource.js +2 -0
  263. package/dist/vscode-default-extensions/debug-auto-launch/package.json.js +2 -0
  264. package/dist/vscode-default-extensions/debug-server-ready/package.json.js +2 -0
  265. package/dist/vscode-default-extensions/emmet/dist/browser/emmetBrowserMain.js.extensionResource.js +2 -0
  266. package/dist/vscode-default-extensions/emmet/package.json.js +2 -0
  267. package/dist/vscode-default-extensions/extension-editing/dist/browser/extensionEditingBrowserMain.js.extensionResource.js +2 -0
  268. package/dist/vscode-default-extensions/extension-editing/package.json.js +2 -0
  269. package/dist/vscode-default-extensions/git/package.json.js +2 -0
  270. package/dist/vscode-default-extensions/git-base/dist/browser/extension.js.extensionResource.js +2 -0
  271. package/dist/vscode-default-extensions/git-base/languages/git-commit.language-configuration.json.extensionResource.js +2 -0
  272. package/dist/vscode-default-extensions/git-base/languages/git-rebase.language-configuration.json.extensionResource.js +2 -0
  273. package/dist/vscode-default-extensions/git-base/languages/ignore.language-configuration.json.extensionResource.js +2 -0
  274. package/dist/vscode-default-extensions/git-base/package.json.js +2 -0
  275. package/dist/vscode-default-extensions/git-base/syntaxes/git-commit.tmLanguage.json.extensionResource.js +2 -0
  276. package/dist/vscode-default-extensions/git-base/syntaxes/git-rebase.tmLanguage.json.extensionResource.js +2 -0
  277. package/dist/vscode-default-extensions/git-base/syntaxes/ignore.tmLanguage.json.extensionResource.js +2 -0
  278. package/dist/vscode-default-extensions/github/markdown.css.extensionResource.js +2 -0
  279. package/dist/vscode-default-extensions/github/package.json.js +2 -0
  280. package/dist/vscode-default-extensions/github-authentication/dist/browser/extension.js.extensionResource.js +2 -0
  281. package/dist/vscode-default-extensions/github-authentication/package.json.js +2 -0
  282. package/dist/vscode-default-extensions/grunt/package.json.js +2 -0
  283. package/dist/vscode-default-extensions/gulp/package.json.js +2 -0
  284. package/dist/vscode-default-extensions/html-language-features/client/dist/browser/htmlClientMain.js.extensionResource.js +2 -0
  285. package/dist/vscode-default-extensions/html-language-features/package.json.js +2 -0
  286. package/dist/vscode-default-extensions/html-language-features/schemas/package.schema.json.extensionResource.js +2 -0
  287. package/dist/vscode-default-extensions/html-language-features/server/dist/browser/htmlServerMain.js.extensionResource.js +2 -0
  288. package/dist/vscode-default-extensions/ipynb/dist/browser/ipynbMain.js.extensionResource.js +2 -0
  289. package/dist/vscode-default-extensions/ipynb/package.json.js +2 -0
  290. package/dist/vscode-default-extensions/jake/package.json.js +2 -0
  291. package/dist/vscode-default-extensions/json-language-features/client/dist/browser/jsonClientMain.js.extensionResource.js +2 -0
  292. package/dist/vscode-default-extensions/json-language-features/package.json.js +2 -0
  293. package/dist/vscode-default-extensions/json-language-features/server/dist/browser/jsonServerMain.js.extensionResource.js +2 -0
  294. package/dist/vscode-default-extensions/markdown-language-features/dist/browser/extension.js.extensionResource.js +2 -0
  295. package/dist/vscode-default-extensions/markdown-language-features/media/highlight.css.extensionResource.js +2 -0
  296. package/dist/vscode-default-extensions/markdown-language-features/media/index.js.extensionResource.js +2 -0
  297. package/dist/vscode-default-extensions/markdown-language-features/media/markdown.css.extensionResource.js +2 -0
  298. package/dist/vscode-default-extensions/markdown-language-features/media/pre.js.extensionResource.js +2 -0
  299. package/dist/vscode-default-extensions/markdown-language-features/media/preview-dark.svg.extensionResource.js +2 -0
  300. package/dist/vscode-default-extensions/markdown-language-features/media/preview-light.svg.extensionResource.js +2 -0
  301. package/dist/vscode-default-extensions/markdown-language-features/package.json.js +2 -0
  302. package/dist/vscode-default-extensions/markdown-language-features/schemas/package.schema.json.extensionResource.js +2 -0
  303. package/dist/vscode-default-extensions/markdown-language-features/server/dist/browser/workerMain.js.extensionResource.js +2 -0
  304. package/dist/vscode-default-extensions/markdown-math/dist/browser/extension.js.extensionResource.js +2 -0
  305. package/dist/vscode-default-extensions/markdown-math/notebook-out/fonts/KaTeX_AMS-Regular.woff2.extensionResource.js +2 -0
  306. package/dist/vscode-default-extensions/markdown-math/notebook-out/fonts/KaTeX_Caligraphic-Bold.woff2.extensionResource.js +2 -0
  307. package/dist/vscode-default-extensions/markdown-math/notebook-out/fonts/KaTeX_Caligraphic-Regular.woff2.extensionResource.js +2 -0
  308. package/dist/vscode-default-extensions/markdown-math/notebook-out/fonts/KaTeX_Fraktur-Bold.woff2.extensionResource.js +2 -0
  309. package/dist/vscode-default-extensions/markdown-math/notebook-out/fonts/KaTeX_Fraktur-Regular.woff2.extensionResource.js +2 -0
  310. package/dist/vscode-default-extensions/markdown-math/notebook-out/fonts/KaTeX_Main-Bold.woff2.extensionResource.js +2 -0
  311. package/dist/vscode-default-extensions/markdown-math/notebook-out/fonts/KaTeX_Main-BoldItalic.woff2.extensionResource.js +2 -0
  312. package/dist/vscode-default-extensions/markdown-math/notebook-out/fonts/KaTeX_Main-Italic.woff2.extensionResource.js +2 -0
  313. package/dist/vscode-default-extensions/markdown-math/notebook-out/fonts/KaTeX_Main-Regular.woff2.extensionResource.js +2 -0
  314. package/dist/vscode-default-extensions/markdown-math/notebook-out/fonts/KaTeX_Math-BoldItalic.woff2.extensionResource.js +2 -0
  315. package/dist/vscode-default-extensions/markdown-math/notebook-out/fonts/KaTeX_Math-Italic.woff2.extensionResource.js +2 -0
  316. package/dist/vscode-default-extensions/markdown-math/notebook-out/fonts/KaTeX_SansSerif-Bold.woff2.extensionResource.js +2 -0
  317. package/dist/vscode-default-extensions/markdown-math/notebook-out/fonts/KaTeX_SansSerif-Italic.woff2.extensionResource.js +2 -0
  318. package/dist/vscode-default-extensions/markdown-math/notebook-out/fonts/KaTeX_SansSerif-Regular.woff2.extensionResource.js +2 -0
  319. package/dist/vscode-default-extensions/markdown-math/notebook-out/fonts/KaTeX_Script-Regular.woff2.extensionResource.js +2 -0
  320. package/dist/vscode-default-extensions/markdown-math/notebook-out/fonts/KaTeX_Size1-Regular.woff2.extensionResource.js +2 -0
  321. package/dist/vscode-default-extensions/markdown-math/notebook-out/fonts/KaTeX_Size2-Regular.woff2.extensionResource.js +2 -0
  322. package/dist/vscode-default-extensions/markdown-math/notebook-out/fonts/KaTeX_Size3-Regular.woff2.extensionResource.js +2 -0
  323. package/dist/vscode-default-extensions/markdown-math/notebook-out/fonts/KaTeX_Size4-Regular.woff2.extensionResource.js +2 -0
  324. package/dist/vscode-default-extensions/markdown-math/notebook-out/fonts/KaTeX_Typewriter-Regular.woff2.extensionResource.js +2 -0
  325. package/dist/vscode-default-extensions/markdown-math/notebook-out/katex.min.css.extensionResource.js +2 -0
  326. package/dist/vscode-default-extensions/markdown-math/package.json.js +2 -0
  327. package/dist/vscode-default-extensions/markdown-math/preview-styles/index.css.extensionResource.js +2 -0
  328. package/dist/vscode-default-extensions/markdown-math/syntaxes/md-math-block.tmLanguage.json.extensionResource.js +2 -0
  329. package/dist/vscode-default-extensions/markdown-math/syntaxes/md-math-inline.tmLanguage.json.extensionResource.js +2 -0
  330. package/dist/vscode-default-extensions/markdown-math/syntaxes/md-math.tmLanguage.json.extensionResource.js +2 -0
  331. package/dist/vscode-default-extensions/media-preview/dist/browser/extension.js.extensionResource.js +2 -0
  332. package/dist/vscode-default-extensions/media-preview/media/audioPreview.css.extensionResource.js +2 -0
  333. package/dist/vscode-default-extensions/media-preview/media/audioPreview.js.extensionResource.js +2 -0
  334. package/dist/vscode-default-extensions/media-preview/media/imagePreview.css.extensionResource.js +2 -0
  335. package/dist/vscode-default-extensions/media-preview/media/imagePreview.js.extensionResource.js +2 -0
  336. package/dist/vscode-default-extensions/media-preview/media/loading-dark.svg.extensionResource.js +2 -0
  337. package/dist/vscode-default-extensions/media-preview/media/loading-hc.svg.extensionResource.js +2 -0
  338. package/dist/vscode-default-extensions/media-preview/media/loading.svg.extensionResource.js +2 -0
  339. package/dist/vscode-default-extensions/media-preview/media/videoPreview.css.extensionResource.js +2 -0
  340. package/dist/vscode-default-extensions/media-preview/media/videoPreview.js.extensionResource.js +2 -0
  341. package/dist/vscode-default-extensions/media-preview/package.json.js +2 -0
  342. package/dist/vscode-default-extensions/merge-conflict/dist/browser/mergeConflictMain.js.extensionResource.js +2 -0
  343. package/dist/vscode-default-extensions/merge-conflict/package.json.js +2 -0
  344. package/dist/vscode-default-extensions/microsoft-authentication/dist/browser/extension.js.extensionResource.js +2 -0
  345. package/dist/vscode-default-extensions/microsoft-authentication/package.json.js +2 -0
  346. package/dist/vscode-default-extensions/notebook-renderers/package.json.js +2 -0
  347. package/dist/vscode-default-extensions/npm/dist/browser/npmBrowserMain.js.extensionResource.js +1 -1
  348. package/dist/vscode-default-extensions/php-language-features/package.json.js +2 -0
  349. package/dist/vscode-default-extensions/references-view/dist/extension.js.extensionResource.js +1 -1
  350. package/dist/vscode-default-extensions/restructuredtext/language-configuration.json.extensionResource.js +2 -0
  351. package/dist/vscode-default-extensions/restructuredtext/package.json.js +2 -0
  352. package/dist/vscode-default-extensions/restructuredtext/syntaxes/rst.tmLanguage.json.extensionResource.js +2 -0
  353. package/dist/vscode-default-extensions/search-result/dist/extension.js.extensionResource.js +1 -1
  354. package/dist/vscode-default-extensions/simple-browser/dist/browser/extension.js.extensionResource.js +2 -0
  355. package/dist/vscode-default-extensions/simple-browser/media/codicon.css.extensionResource.js +2 -0
  356. package/dist/vscode-default-extensions/simple-browser/media/index.js.extensionResource.js +2 -0
  357. package/dist/vscode-default-extensions/simple-browser/media/main.css.extensionResource.js +2 -0
  358. package/dist/vscode-default-extensions/simple-browser/package.json.js +2 -0
  359. package/dist/vscode-default-extensions/typescript-language-features/dist/browser/extension.js.extensionResource.js +2 -0
  360. package/dist/vscode-default-extensions/typescript-language-features/dist/browser/typescript/lib.d.ts.extensionResource.js +2 -0
  361. package/dist/vscode-default-extensions/typescript-language-features/dist/browser/typescript/lib.decorators.d.ts.extensionResource.js +2 -0
  362. package/dist/vscode-default-extensions/typescript-language-features/dist/browser/typescript/lib.decorators.legacy.d.ts.extensionResource.js +2 -0
  363. package/dist/vscode-default-extensions/typescript-language-features/dist/browser/typescript/lib.dom.d.ts.extensionResource.js +2 -0
  364. package/dist/vscode-default-extensions/typescript-language-features/dist/browser/typescript/lib.dom.iterable.d.ts.extensionResource.js +2 -0
  365. package/dist/vscode-default-extensions/typescript-language-features/dist/browser/typescript/lib.es2015.collection.d.ts.extensionResource.js +2 -0
  366. package/dist/vscode-default-extensions/typescript-language-features/dist/browser/typescript/lib.es2015.core.d.ts.extensionResource.js +2 -0
  367. package/dist/vscode-default-extensions/typescript-language-features/dist/browser/typescript/lib.es2015.d.ts.extensionResource.js +2 -0
  368. package/dist/vscode-default-extensions/typescript-language-features/dist/browser/typescript/lib.es2015.generator.d.ts.extensionResource.js +2 -0
  369. package/dist/vscode-default-extensions/typescript-language-features/dist/browser/typescript/lib.es2015.iterable.d.ts.extensionResource.js +2 -0
  370. package/dist/vscode-default-extensions/typescript-language-features/dist/browser/typescript/lib.es2015.promise.d.ts.extensionResource.js +2 -0
  371. package/dist/vscode-default-extensions/typescript-language-features/dist/browser/typescript/lib.es2015.proxy.d.ts.extensionResource.js +2 -0
  372. package/dist/vscode-default-extensions/typescript-language-features/dist/browser/typescript/lib.es2015.reflect.d.ts.extensionResource.js +2 -0
  373. package/dist/vscode-default-extensions/typescript-language-features/dist/browser/typescript/lib.es2015.symbol.d.ts.extensionResource.js +2 -0
  374. package/dist/vscode-default-extensions/typescript-language-features/dist/browser/typescript/lib.es2015.symbol.wellknown.d.ts.extensionResource.js +2 -0
  375. package/dist/vscode-default-extensions/typescript-language-features/dist/browser/typescript/lib.es2016.array.include.d.ts.extensionResource.js +2 -0
  376. package/dist/vscode-default-extensions/typescript-language-features/dist/browser/typescript/lib.es2016.d.ts.extensionResource.js +2 -0
  377. package/dist/vscode-default-extensions/typescript-language-features/dist/browser/typescript/lib.es2016.full.d.ts.extensionResource.js +2 -0
  378. package/dist/vscode-default-extensions/typescript-language-features/dist/browser/typescript/lib.es2017.d.ts.extensionResource.js +2 -0
  379. package/dist/vscode-default-extensions/typescript-language-features/dist/browser/typescript/lib.es2017.full.d.ts.extensionResource.js +2 -0
  380. package/dist/vscode-default-extensions/typescript-language-features/dist/browser/typescript/lib.es2017.intl.d.ts.extensionResource.js +2 -0
  381. package/dist/vscode-default-extensions/typescript-language-features/dist/browser/typescript/lib.es2017.object.d.ts.extensionResource.js +2 -0
  382. package/dist/vscode-default-extensions/typescript-language-features/dist/browser/typescript/lib.es2017.sharedmemory.d.ts.extensionResource.js +2 -0
  383. package/dist/vscode-default-extensions/typescript-language-features/dist/browser/typescript/lib.es2017.string.d.ts.extensionResource.js +2 -0
  384. package/dist/vscode-default-extensions/typescript-language-features/dist/browser/typescript/lib.es2017.typedarrays.d.ts.extensionResource.js +2 -0
  385. package/dist/vscode-default-extensions/typescript-language-features/dist/browser/typescript/lib.es2018.asyncgenerator.d.ts.extensionResource.js +2 -0
  386. package/dist/vscode-default-extensions/typescript-language-features/dist/browser/typescript/lib.es2018.asynciterable.d.ts.extensionResource.js +2 -0
  387. package/dist/vscode-default-extensions/typescript-language-features/dist/browser/typescript/lib.es2018.d.ts.extensionResource.js +2 -0
  388. package/dist/vscode-default-extensions/typescript-language-features/dist/browser/typescript/lib.es2018.full.d.ts.extensionResource.js +2 -0
  389. package/dist/vscode-default-extensions/typescript-language-features/dist/browser/typescript/lib.es2018.intl.d.ts.extensionResource.js +2 -0
  390. package/dist/vscode-default-extensions/typescript-language-features/dist/browser/typescript/lib.es2018.promise.d.ts.extensionResource.js +2 -0
  391. package/dist/vscode-default-extensions/typescript-language-features/dist/browser/typescript/lib.es2018.regexp.d.ts.extensionResource.js +2 -0
  392. package/dist/vscode-default-extensions/typescript-language-features/dist/browser/typescript/lib.es2019.array.d.ts.extensionResource.js +2 -0
  393. package/dist/vscode-default-extensions/typescript-language-features/dist/browser/typescript/lib.es2019.d.ts.extensionResource.js +2 -0
  394. package/dist/vscode-default-extensions/typescript-language-features/dist/browser/typescript/lib.es2019.full.d.ts.extensionResource.js +2 -0
  395. package/dist/vscode-default-extensions/typescript-language-features/dist/browser/typescript/lib.es2019.intl.d.ts.extensionResource.js +2 -0
  396. package/dist/vscode-default-extensions/typescript-language-features/dist/browser/typescript/lib.es2019.object.d.ts.extensionResource.js +2 -0
  397. package/dist/vscode-default-extensions/typescript-language-features/dist/browser/typescript/lib.es2019.string.d.ts.extensionResource.js +2 -0
  398. package/dist/vscode-default-extensions/typescript-language-features/dist/browser/typescript/lib.es2019.symbol.d.ts.extensionResource.js +2 -0
  399. package/dist/vscode-default-extensions/typescript-language-features/dist/browser/typescript/lib.es2020.bigint.d.ts.extensionResource.js +2 -0
  400. package/dist/vscode-default-extensions/typescript-language-features/dist/browser/typescript/lib.es2020.d.ts.extensionResource.js +2 -0
  401. package/dist/vscode-default-extensions/typescript-language-features/dist/browser/typescript/lib.es2020.date.d.ts.extensionResource.js +2 -0
  402. package/dist/vscode-default-extensions/typescript-language-features/dist/browser/typescript/lib.es2020.full.d.ts.extensionResource.js +2 -0
  403. package/dist/vscode-default-extensions/typescript-language-features/dist/browser/typescript/lib.es2020.intl.d.ts.extensionResource.js +2 -0
  404. package/dist/vscode-default-extensions/typescript-language-features/dist/browser/typescript/lib.es2020.number.d.ts.extensionResource.js +2 -0
  405. package/dist/vscode-default-extensions/typescript-language-features/dist/browser/typescript/lib.es2020.promise.d.ts.extensionResource.js +2 -0
  406. package/dist/vscode-default-extensions/typescript-language-features/dist/browser/typescript/lib.es2020.sharedmemory.d.ts.extensionResource.js +2 -0
  407. package/dist/vscode-default-extensions/typescript-language-features/dist/browser/typescript/lib.es2020.string.d.ts.extensionResource.js +2 -0
  408. package/dist/vscode-default-extensions/typescript-language-features/dist/browser/typescript/lib.es2020.symbol.wellknown.d.ts.extensionResource.js +2 -0
  409. package/dist/vscode-default-extensions/typescript-language-features/dist/browser/typescript/lib.es2021.d.ts.extensionResource.js +2 -0
  410. package/dist/vscode-default-extensions/typescript-language-features/dist/browser/typescript/lib.es2021.full.d.ts.extensionResource.js +2 -0
  411. package/dist/vscode-default-extensions/typescript-language-features/dist/browser/typescript/lib.es2021.intl.d.ts.extensionResource.js +2 -0
  412. package/dist/vscode-default-extensions/typescript-language-features/dist/browser/typescript/lib.es2021.promise.d.ts.extensionResource.js +2 -0
  413. package/dist/vscode-default-extensions/typescript-language-features/dist/browser/typescript/lib.es2021.string.d.ts.extensionResource.js +2 -0
  414. package/dist/vscode-default-extensions/typescript-language-features/dist/browser/typescript/lib.es2021.weakref.d.ts.extensionResource.js +2 -0
  415. package/dist/vscode-default-extensions/typescript-language-features/dist/browser/typescript/lib.es2022.array.d.ts.extensionResource.js +2 -0
  416. package/dist/vscode-default-extensions/typescript-language-features/dist/browser/typescript/lib.es2022.d.ts.extensionResource.js +2 -0
  417. package/dist/vscode-default-extensions/typescript-language-features/dist/browser/typescript/lib.es2022.error.d.ts.extensionResource.js +2 -0
  418. package/dist/vscode-default-extensions/typescript-language-features/dist/browser/typescript/lib.es2022.full.d.ts.extensionResource.js +2 -0
  419. package/dist/vscode-default-extensions/typescript-language-features/dist/browser/typescript/lib.es2022.intl.d.ts.extensionResource.js +2 -0
  420. package/dist/vscode-default-extensions/typescript-language-features/dist/browser/typescript/lib.es2022.object.d.ts.extensionResource.js +2 -0
  421. package/dist/vscode-default-extensions/typescript-language-features/dist/browser/typescript/lib.es2022.regexp.d.ts.extensionResource.js +2 -0
  422. package/dist/vscode-default-extensions/typescript-language-features/dist/browser/typescript/lib.es2022.sharedmemory.d.ts.extensionResource.js +2 -0
  423. package/dist/vscode-default-extensions/typescript-language-features/dist/browser/typescript/lib.es2022.string.d.ts.extensionResource.js +2 -0
  424. package/dist/vscode-default-extensions/typescript-language-features/dist/browser/typescript/lib.es2023.array.d.ts.extensionResource.js +2 -0
  425. package/dist/vscode-default-extensions/typescript-language-features/dist/browser/typescript/lib.es2023.d.ts.extensionResource.js +2 -0
  426. package/dist/vscode-default-extensions/typescript-language-features/dist/browser/typescript/lib.es2023.full.d.ts.extensionResource.js +2 -0
  427. package/dist/vscode-default-extensions/typescript-language-features/dist/browser/typescript/lib.es5.d.ts.extensionResource.js +2 -0
  428. package/dist/vscode-default-extensions/typescript-language-features/dist/browser/typescript/lib.es6.d.ts.extensionResource.js +2 -0
  429. package/dist/vscode-default-extensions/typescript-language-features/dist/browser/typescript/lib.esnext.d.ts.extensionResource.js +2 -0
  430. package/dist/vscode-default-extensions/typescript-language-features/dist/browser/typescript/lib.esnext.full.d.ts.extensionResource.js +2 -0
  431. package/dist/vscode-default-extensions/typescript-language-features/dist/browser/typescript/lib.esnext.intl.d.ts.extensionResource.js +2 -0
  432. package/dist/vscode-default-extensions/typescript-language-features/dist/browser/typescript/lib.scripthost.d.ts.extensionResource.js +2 -0
  433. package/dist/vscode-default-extensions/typescript-language-features/dist/browser/typescript/lib.webworker.d.ts.extensionResource.js +2 -0
  434. package/dist/vscode-default-extensions/typescript-language-features/dist/browser/typescript/lib.webworker.importscripts.d.ts.extensionResource.js +2 -0
  435. package/dist/vscode-default-extensions/typescript-language-features/dist/browser/typescript/lib.webworker.iterable.d.ts.extensionResource.js +2 -0
  436. package/dist/vscode-default-extensions/typescript-language-features/dist/browser/typescript/tsserver.web.js.extensionResource.js +2 -0
  437. package/dist/vscode-default-extensions/typescript-language-features/dist/browser/typescript/tsserver.web.js.map.extensionResource.js +2 -0
  438. package/dist/vscode-default-extensions/typescript-language-features/dist/browser/typescript/typesMap.json.extensionResource.js +2 -0
  439. package/dist/vscode-default-extensions/typescript-language-features/dist/browser/typescript/typescript.d.ts.extensionResource.js +2 -0
  440. package/dist/vscode-default-extensions/typescript-language-features/package.json.js +2 -0
  441. package/dist/vscode-default-extensions/typescript-language-features/schemas/jsconfig.schema.json.extensionResource.js +2 -0
  442. package/dist/vscode-default-extensions/typescript-language-features/schemas/package.schema.json.extensionResource.js +2 -0
  443. package/dist/vscode-default-extensions/typescript-language-features/schemas/tsconfig.schema.json.extensionResource.js +2 -0
  444. package/dist/vscode-default-extensions/vscode-api-tests/package.json.js +2 -0
  445. package/dist/vscode-default-extensions/vscode-colorize-tests/package.json.js +2 -0
  446. package/dist/vscode-default-extensions/vscode-colorize-tests/producticons/ElegantIcons.woff.extensionResource.js +2 -0
  447. package/dist/vscode-default-extensions/vscode-colorize-tests/producticons/test-product-icon-theme.json.extensionResource.js +2 -0
  448. package/dist/vscode-default-extensions/vscode-test-resolver/package.json.js +2 -0
  449. package/dist/workbenchThemeService.d.ts +1 -1
  450. package/dist/workspace.d.ts +1 -1
  451. package/monaco-editor-treemending.patch +531 -531
  452. package/package.json +19 -93
  453. package/dist/json.js +0 -101
  454. package/dist/typescript.js +0 -27
  455. package/dist/vscode-services/extHost.js +0 -393
  456. package/dist/workers/outputLinkComputer.worker.d.ts +0 -2
  457. package/dist/workers/textMate.worker.d.ts +0 -2
@@ -1,33 +1,137 @@
1
1
  /// <reference path="./debugProtocol.d.ts" />
2
2
 
3
- import { E as Event$1, a as IDisposable, C as CancellationToken, D as Disposable, b as Emitter } from './event.js';
4
- import { i as IMarkdownString, l as IEditorModel, p as ITextBufferFactory, c as ITextModel, v as ITextModelCreationOptions, w as IEditor, q as IDiffEditor, t as IResourceEditorInput, u as ITextResourceEditorInput, I as IEditorOptions, x as IResourceEditorInputIdentifier, h as IRange, g as IPosition, P as Position$1, y as IDocumentDiffProviderOptions, z as IDocumentDiff, A as IChange, b as ICodeEditor, B as IBoundarySashes, O as Orientation, C as IDiffEditor$1, D as IDecorationRenderOptions, d as IModelDecorationOptions } from './editorBrowser.js';
5
- export { F as ITextModelContentProvider, G as ITextModelService, M as MarkdownStringTrustedOptions } from './editorBrowser.js';
6
- import { S as ServiceIdentifier, c as IConstructorSignature, I as IInstantiationService, B as BrandedService, a as ServicesAccessor } from './instantiation.js';
7
- import { d as ILanguageIdCodec, S as SubmenuAction, e as IAction, f as ICommandService, g as IEditorCloseEvent, h as IVisibleEditorPane, E as EditorInput, i as EditorsOrder, j as IEditorIdentifier, k as IEditorGroup, G as GroupIdentifier, l as IEditorPane, m as IUntitledTextResourceEditorInput, n as IResourceDiffEditorInput, o as ITextDiffEditorPane, p as IUntypedEditorInput, q as ICloseEditorOptions, s as IFindEditorOptions, t as IRevertOptions, u as ISaveOptions, v as IGroupModelChangeEvent, w as ColorIdentifier, x as Color, y as LanguageSelector, z as Command, T as TextEdit, A as IInplaceReplaceSupportResult, W as WorkspaceEdit, B as WorkspaceEditMetadata, D as IActionRunner } from './languageFeatures.js';
8
- export { a7 as DialogType, ad as IBaseDialogOptions, ae as ICheckbox, af as ICheckboxResult, aa as IConfirmDialogArgs, ai as IConfirmation, aj as IConfirmationResult, ah as ICustomDialogMarkdown, ag as ICustomDialogOptions, a6 as IDialogArgs, a9 as IDialogHandler, a8 as IDialogResult, H as IDialogService, K as IEditorGroupsService, ak as IInput, ab as IInputDialogArgs, am as IInputElement, al as IInputResult, a as ILanguageConfigurationService, I as ILanguageFeaturesService, J as IMarkerService, V as INeverShowAgainOptions, X as INotification, Y as INotificationActions, $ as INotificationHandle, Z as INotificationProgress, _ as INotificationProgressProperties, R as INotificationProperties, b as INotificationService, an as IPrompt, ap as IPromptBaseButton, aq as IPromptButton, ar as IPromptCancelButton, a0 as IPromptChoice, a1 as IPromptChoiceWithMenu, ac as IPromptDialogArgs, a2 as IPromptOptions, ao as IPromptResult, as as IPromptResultWithCancel, at as IPromptWithCustomCancel, au as IPromptWithDefaultCancel, a3 as IStatusMessageOptions, M as ITextFileService, N as IWorkingCopyFileService, U as NeverShowAgainScope, a4 as NoOpNotification, a5 as NoOpProgress, P as NotificationMessage, Q as NotificationPriority, O as NotificationsFilter } from './languageFeatures.js';
3
+ import { E as Event$1, I as IDisposable, C as CancellationToken, D as Disposable, a as Emitter } from './event.js';
4
+ import { S as ServiceIdentifier, I as IConstructorSignature, a as IInstantiationService, B as BrandedService, b as ServicesAccessor } from './instantiation.js';
9
5
  import { S as Severity } from './severity.js';
10
- import { b as FileType, V as VSBuffer, x as IFileService } from './files.js';
11
- import { a as UriComponents, U as URI } from './uri.js';
12
- import { b as IWorkspaceFolder, I as IAnyWorkspaceIdentifier, c as IWorkspaceContextService } from './workspace.js';
13
- import { c as IStringDictionary, d as IExtensionInfo, C as ConfigurationScope, E as EditPresentationTypes } from './configurationRegistry.js';
14
- import { P as PlatformName, O as OperatingSystem } from './platform.js';
15
6
  import { I as ILogService } from './log.js';
16
7
  export { a as ILoggerService, L as LogLevel } from './log.js';
17
- import { R as ResolvedKeybinding, K as KeyCode, a as KeyCodeChord, b as IKeybindingService, c as ResolvedKeybindingItem } from './keybinding.js';
8
+ import { I as IWorkspaceFolder, a as IAnyWorkspaceIdentifier, b as IWorkspaceContextService } from './workspace.js';
9
+ import { I as IMarkdownString, a as IEditorModel, b as ITextBufferFactory, c as ITextModel, d as ITextModelCreationOptions, e as IEditor, f as IDiffEditor, g as IResourceEditorInput, h as ITextResourceEditorInput, i as IEditorOptions, j as IResourceEditorInputIdentifier, k as IRange, l as IPosition, P as Position$1, m as IBoundarySashes, O as Orientation, n as ICodeEditor, o as IDiffEditor$1, p as IDecorationRenderOptions, q as IModelDecorationOptions, r as IDocumentDiffProviderOptions, s as IDocumentDiff, t as IChange } from './editorBrowser.js';
10
+ export { u as ITextModelContentProvider, v as ITextModelService, M as MarkdownStringTrustedOptions } from './editorBrowser.js';
11
+ import { I as ILanguageIdCodec, S as SubmenuAction, a as IAction, b as ICommandService, c as IEditorCloseEvent, d as IVisibleEditorPane, E as EditorInput, e as EditorsOrder, f as IEditorIdentifier, g as IEditorGroup, G as GroupIdentifier, h as IEditorPane, i as IUntitledTextResourceEditorInput, j as IResourceDiffEditorInput, k as ITextDiffEditorPane, l as IUntypedEditorInput, m as ICloseEditorOptions, n as IFindEditorOptions, o as IRevertOptions, p as ISaveOptions, q as IGroupModelChangeEvent, C as ColorIdentifier, r as Color, L as LanguageSelector, s as Command, t as IActionRunner, W as WorkspaceEdit, u as WorkspaceEditMetadata, T as TextEdit, v as IInplaceReplaceSupportResult } from './languageFeatures.js';
12
+ export { a2 as DialogType, a8 as IBaseDialogOptions, a9 as ICheckbox, aa as ICheckboxResult, a5 as IConfirmDialogArgs, ad as IConfirmation, ae as IConfirmationResult, ac as ICustomDialogMarkdown, ab as ICustomDialogOptions, a1 as IDialogArgs, a4 as IDialogHandler, a3 as IDialogResult, z as IDialogService, B as IEditorGroupsService, af as IInput, a6 as IInputDialogArgs, ah as IInputElement, ag as IInputResult, x as ILanguageConfigurationService, y as ILanguageFeaturesService, A as IMarkerService, O as INeverShowAgainOptions, P as INotification, Q as INotificationActions, V as INotificationHandle, R as INotificationProgress, U as INotificationProgressProperties, K as INotificationProperties, w as INotificationService, ai as IPrompt, ak as IPromptBaseButton, al as IPromptButton, am as IPromptCancelButton, X as IPromptChoice, Y as IPromptChoiceWithMenu, a7 as IPromptDialogArgs, Z as IPromptOptions, aj as IPromptResult, an as IPromptResultWithCancel, ao as IPromptWithCustomCancel, ap as IPromptWithDefaultCancel, _ as IStatusMessageOptions, D as ITextFileService, F as IWorkingCopyFileService, M as NeverShowAgainScope, $ as NoOpNotification, a0 as NoOpProgress, H as NotificationMessage, J as NotificationPriority, N as NotificationsFilter } from './languageFeatures.js';
13
+ import { U as URI, a as UriComponents } from './uri.js';
14
+ import { I as IStringDictionary, a as IExtensionInfo, C as ConfigurationScope, E as EditPresentationTypes } from './configurationRegistry.js';
15
+ import { P as PlatformName, O as OperatingSystem } from './platform.js';
16
+ import { F as FileType, V as VSBuffer, I as IFileService } from './files.js';
17
+ import { R as ResolvedKeybinding, K as KeyCode, a as KeyCodeChord, I as IKeybindingService, b as ResolvedKeybindingItem } from './keybinding.js';
18
18
  import { I as IconIdentifier, T as ThemeIcon } from './themables.js';
19
19
  import { I as IJSONSchema, a as IJSONSchemaMap } from './jsonSchema.js';
20
- import { I as IView$3, a as IViewDescriptorService, b as IViewPaneContainer, c as ViewContainer, d as IViewContainerModel, e as IViewDescriptor, f as IAddedViewDescriptorRef, g as IPaneComposite, V as ViewContainerLocation } from './views.js';
20
+ import { I as IView$3, a as IViewDescriptorService, b as IViewPaneContainer, V as ViewContainer, c as IViewContainerModel, d as IViewDescriptor, e as IAddedViewDescriptorRef, f as IPaneComposite, g as ViewContainerLocation } from './views.js';
21
21
  export { h as IViewsService } from './views.js';
22
- import { e as ICommandAction, f as ICommandActionTitle, g as Icon, h as IEnvironmentService, E as ExtensionIdentifier, T as TargetPlatform, a as IExtensionDescription } from './extensions.d2.ts';
23
- import { b as IProgress, c as IProgressStep, I as IComposite, d as ICompositeControl, a as IProgressIndicator } from './composite.js';
24
- import { a as IContextKeyService, C as ContextKeyExpression } from './contextkey.js';
25
- import { a as IExtensionService } from './extensionsRegistry.js';
22
+ import { I as ICommandAction, a as ICommandActionTitle, b as Icon, c as IEnvironmentService, E as ExtensionIdentifier, T as TargetPlatform, d as IExtensionDescription } from './extensions.d2.ts';
23
+ import { I as IComposite, a as ICompositeControl, b as IProgressIndicator, c as IProgress, d as IProgressStep } from './composite.js';
24
+ import { I as IContextKeyService, C as ContextKeyExpression } from './contextkey.js';
25
+ import { I as IExtensionService } from './extensionsRegistry.js';
26
26
  import { I as IEditorOverrideServices } from './standaloneServices.js';
27
27
  export { S as StandaloneServices } from './standaloneServices.js';
28
28
  import 'vscode';
29
29
  import 'monaco-editor';
30
30
 
31
+ interface IExtUri {
32
+ /**
33
+ * Compares two uris.
34
+ *
35
+ * @param uri1 Uri
36
+ * @param uri2 Uri
37
+ * @param ignoreFragment Ignore the fragment (defaults to `false`)
38
+ */
39
+ compare(uri1: URI, uri2: URI, ignoreFragment?: boolean): number;
40
+ /**
41
+ * Tests whether two uris are equal
42
+ *
43
+ * @param uri1 Uri
44
+ * @param uri2 Uri
45
+ * @param ignoreFragment Ignore the fragment (defaults to `false`)
46
+ */
47
+ isEqual(uri1: URI | undefined, uri2: URI | undefined, ignoreFragment?: boolean): boolean;
48
+ /**
49
+ * Tests whether a `candidate` URI is a parent or equal of a given `base` URI.
50
+ *
51
+ * @param base A uri which is "longer" or at least same length as `parentCandidate`
52
+ * @param parentCandidate A uri which is "shorter" or up to same length as `base`
53
+ * @param ignoreFragment Ignore the fragment (defaults to `false`)
54
+ */
55
+ isEqualOrParent(base: URI, parentCandidate: URI, ignoreFragment?: boolean): boolean;
56
+ /**
57
+ * Creates a key from a resource URI to be used to resource comparison and for resource maps.
58
+ * @see {@link ResourceMap}
59
+ * @param uri Uri
60
+ * @param ignoreFragment Ignore the fragment (defaults to `false`)
61
+ */
62
+ getComparisonKey(uri: URI, ignoreFragment?: boolean): string;
63
+ /**
64
+ * Whether the casing of the path-component of the uri should be ignored.
65
+ */
66
+ ignorePathCasing(uri: URI): boolean;
67
+ basenameOrAuthority(resource: URI): string;
68
+ /**
69
+ * Returns the basename of the path component of an uri.
70
+ * @param resource
71
+ */
72
+ basename(resource: URI): string;
73
+ /**
74
+ * Returns the extension of the path component of an uri.
75
+ * @param resource
76
+ */
77
+ extname(resource: URI): string;
78
+ /**
79
+ * Return a URI representing the directory of a URI path.
80
+ *
81
+ * @param resource The input URI.
82
+ * @returns The URI representing the directory of the input URI.
83
+ */
84
+ dirname(resource: URI): URI;
85
+ /**
86
+ * Join a URI path with path fragments and normalizes the resulting path.
87
+ *
88
+ * @param resource The input URI.
89
+ * @param pathFragment The path fragment to add to the URI path.
90
+ * @returns The resulting URI.
91
+ */
92
+ joinPath(resource: URI, ...pathFragment: string[]): URI;
93
+ /**
94
+ * Normalizes the path part of a URI: Resolves `.` and `..` elements with directory names.
95
+ *
96
+ * @param resource The URI to normalize the path.
97
+ * @returns The URI with the normalized path.
98
+ */
99
+ normalizePath(resource: URI): URI;
100
+ /**
101
+ *
102
+ * @param from
103
+ * @param to
104
+ */
105
+ relativePath(from: URI, to: URI): string | undefined;
106
+ /**
107
+ * Resolves an absolute or relative path against a base URI.
108
+ * The path can be relative or absolute posix or a Windows path
109
+ */
110
+ resolvePath(base: URI, path: string): URI;
111
+ /**
112
+ * Returns true if the URI path is absolute.
113
+ */
114
+ isAbsolutePath(resource: URI): boolean;
115
+ /**
116
+ * Tests whether the two authorities are the same
117
+ */
118
+ isEqualAuthority(a1: string, a2: string): boolean;
119
+ /**
120
+ * Returns true if the URI path has a trailing path separator
121
+ */
122
+ hasTrailingPathSeparator(resource: URI, sep?: string): boolean;
123
+ /**
124
+ * Removes a trailing path separator, if there's one.
125
+ * Important: Doesn't remove the first slash, it would make the URI invalid
126
+ */
127
+ removeTrailingPathSeparator(resource: URI, sep?: string): URI;
128
+ /**
129
+ * Adds a trailing path separator to the URI if there isn't one already.
130
+ * For example, c:\ would be unchanged, but c:\users would become c:\users\
131
+ */
132
+ addTrailingPathSeparator(resource: URI, sep?: string): URI;
133
+ }
134
+
31
135
  interface IAccessibilityInformation {
32
136
  label: string;
33
137
  role?: string;
@@ -555,110 +659,6 @@ declare class MenuItemAction implements IAction {
555
659
  run(...args: any[]): Promise<void>;
556
660
  }
557
661
 
558
- interface IExtUri {
559
- /**
560
- * Compares two uris.
561
- *
562
- * @param uri1 Uri
563
- * @param uri2 Uri
564
- * @param ignoreFragment Ignore the fragment (defaults to `false`)
565
- */
566
- compare(uri1: URI, uri2: URI, ignoreFragment?: boolean): number;
567
- /**
568
- * Tests whether two uris are equal
569
- *
570
- * @param uri1 Uri
571
- * @param uri2 Uri
572
- * @param ignoreFragment Ignore the fragment (defaults to `false`)
573
- */
574
- isEqual(uri1: URI | undefined, uri2: URI | undefined, ignoreFragment?: boolean): boolean;
575
- /**
576
- * Tests whether a `candidate` URI is a parent or equal of a given `base` URI.
577
- *
578
- * @param base A uri which is "longer" or at least same length as `parentCandidate`
579
- * @param parentCandidate A uri which is "shorter" or up to same length as `base`
580
- * @param ignoreFragment Ignore the fragment (defaults to `false`)
581
- */
582
- isEqualOrParent(base: URI, parentCandidate: URI, ignoreFragment?: boolean): boolean;
583
- /**
584
- * Creates a key from a resource URI to be used to resource comparison and for resource maps.
585
- * @see {@link ResourceMap}
586
- * @param uri Uri
587
- * @param ignoreFragment Ignore the fragment (defaults to `false`)
588
- */
589
- getComparisonKey(uri: URI, ignoreFragment?: boolean): string;
590
- /**
591
- * Whether the casing of the path-component of the uri should be ignored.
592
- */
593
- ignorePathCasing(uri: URI): boolean;
594
- basenameOrAuthority(resource: URI): string;
595
- /**
596
- * Returns the basename of the path component of an uri.
597
- * @param resource
598
- */
599
- basename(resource: URI): string;
600
- /**
601
- * Returns the extension of the path component of an uri.
602
- * @param resource
603
- */
604
- extname(resource: URI): string;
605
- /**
606
- * Return a URI representing the directory of a URI path.
607
- *
608
- * @param resource The input URI.
609
- * @returns The URI representing the directory of the input URI.
610
- */
611
- dirname(resource: URI): URI;
612
- /**
613
- * Join a URI path with path fragments and normalizes the resulting path.
614
- *
615
- * @param resource The input URI.
616
- * @param pathFragment The path fragment to add to the URI path.
617
- * @returns The resulting URI.
618
- */
619
- joinPath(resource: URI, ...pathFragment: string[]): URI;
620
- /**
621
- * Normalizes the path part of a URI: Resolves `.` and `..` elements with directory names.
622
- *
623
- * @param resource The URI to normalize the path.
624
- * @returns The URI with the normalized path.
625
- */
626
- normalizePath(resource: URI): URI;
627
- /**
628
- *
629
- * @param from
630
- * @param to
631
- */
632
- relativePath(from: URI, to: URI): string | undefined;
633
- /**
634
- * Resolves an absolute or relative path against a base URI.
635
- * The path can be relative or absolute posix or a Windows path
636
- */
637
- resolvePath(base: URI, path: string): URI;
638
- /**
639
- * Returns true if the URI path is absolute.
640
- */
641
- isAbsolutePath(resource: URI): boolean;
642
- /**
643
- * Tests whether the two authorities are the same
644
- */
645
- isEqualAuthority(a1: string, a2: string): boolean;
646
- /**
647
- * Returns true if the URI path has a trailing path separator
648
- */
649
- hasTrailingPathSeparator(resource: URI, sep?: string): boolean;
650
- /**
651
- * Removes a trailing path separator, if there's one.
652
- * Important: Doesn't remove the first slash, it would make the URI invalid
653
- */
654
- removeTrailingPathSeparator(resource: URI, sep?: string): URI;
655
- /**
656
- * Adds a trailing path separator to the URI if there isn't one already.
657
- * For example, c:\ would be unchanged, but c:\users would become c:\users\
658
- */
659
- addTrailingPathSeparator(resource: URI, sep?: string): URI;
660
- }
661
-
662
662
  declare const IUriIdentityService: ServiceIdentifier<IUriIdentityService>;
663
663
  interface IUriIdentityService {
664
664
  readonly _serviceBrand: undefined;
@@ -3516,129 +3516,35 @@ interface IPathService {
3516
3516
  readonly resolvedUserHome: URI | undefined;
3517
3517
  }
3518
3518
 
3519
- type OpenInternalOptions = {
3519
+ declare const IHostService: ServiceIdentifier<IHostService>;
3520
+ /**
3521
+ * A set of methods supported in both web and native environments.
3522
+ *
3523
+ * @see {@link INativeHostService} for methods that are specific to native
3524
+ * environments.
3525
+ */
3526
+ interface IHostService {
3527
+ readonly _serviceBrand: undefined;
3520
3528
  /**
3521
- * Signals that the intent is to open an editor to the side
3522
- * of the currently active editor.
3529
+ * Emitted when the window focus changes.
3523
3530
  */
3524
- readonly openToSide?: boolean;
3531
+ readonly onDidChangeFocus: Event$1<boolean>;
3525
3532
  /**
3526
- * Extra editor options to apply in case an editor is used to open.
3533
+ * Find out if the window has focus or not.
3527
3534
  */
3528
- readonly editorOptions?: IEditorOptions;
3535
+ readonly hasFocus: boolean;
3529
3536
  /**
3530
- * Signals that the editor to open was triggered through a user
3531
- * action, such as keyboard or mouse usage.
3537
+ * Find out if the window had the last focus.
3532
3538
  */
3533
- readonly fromUserGesture?: boolean;
3539
+ hadLastFocus(): Promise<boolean>;
3534
3540
  /**
3535
- * Allow command links to be handled.
3541
+ * Attempt to bring the window to the foreground and focus it.
3536
3542
  *
3537
- * If this is an array, then only the commands included in the array can be run.
3538
- */
3539
- readonly allowCommands?: boolean | readonly string[];
3540
- };
3541
- type OpenExternalOptions = {
3542
- readonly openExternal?: boolean;
3543
- readonly allowTunneling?: boolean;
3544
- readonly allowContributedOpeners?: boolean | string;
3545
- readonly fromWorkspace?: boolean;
3546
- };
3547
- type OpenOptions = OpenInternalOptions & OpenExternalOptions;
3548
- type ResolveExternalUriOptions = {
3549
- readonly allowTunneling?: boolean;
3550
- };
3551
- interface IResolvedExternalUri extends IDisposable {
3552
- resolved: URI;
3553
- }
3554
- interface IOpener {
3555
- open(resource: URI | string, options?: OpenInternalOptions | OpenExternalOptions): Promise<boolean>;
3556
- }
3557
- interface IExternalOpener {
3558
- openExternal(href: string, ctx: {
3559
- sourceUri: URI;
3560
- preferredOpenerId?: string;
3561
- }, token: CancellationToken): Promise<boolean>;
3562
- dispose?(): void;
3563
- }
3564
- interface IValidator {
3565
- shouldOpen(resource: URI | string, openOptions?: OpenOptions): Promise<boolean>;
3566
- }
3567
- interface IExternalUriResolver {
3568
- resolveExternalUri(resource: URI, options?: OpenOptions): Promise<{
3569
- resolved: URI;
3570
- dispose(): void;
3571
- } | undefined>;
3572
- }
3573
-
3574
- declare const IOpenerService: ServiceIdentifier<IOpenerService>;
3575
- interface IOpenerService {
3576
- readonly _serviceBrand: undefined;
3577
- /**
3578
- * Register a participant that can handle the open() call.
3579
- */
3580
- registerOpener(opener: IOpener): IDisposable;
3581
- /**
3582
- * Register a participant that can validate if the URI resource be opened.
3583
- * Validators are run before openers.
3584
- */
3585
- registerValidator(validator: IValidator): IDisposable;
3586
- /**
3587
- * Register a participant that can resolve an external URI resource to be opened.
3588
- */
3589
- registerExternalUriResolver(resolver: IExternalUriResolver): IDisposable;
3590
- /**
3591
- * Sets the handler for opening externally. If not provided,
3592
- * a default handler will be used.
3593
- */
3594
- setDefaultExternalOpener(opener: IExternalOpener): void;
3595
- /**
3596
- * Registers a new opener external resources openers.
3597
- */
3598
- registerExternalOpener(opener: IExternalOpener): IDisposable;
3599
- /**
3600
- * Opens a resource, like a webaddress, a document uri, or executes command.
3601
- *
3602
- * @param resource A resource
3603
- * @return A promise that resolves when the opening is done.
3604
- */
3605
- open(resource: URI | string, options?: OpenInternalOptions | OpenExternalOptions): Promise<boolean>;
3606
- /**
3607
- * Resolve a resource to its external form.
3608
- * @throws whenever resolvers couldn't resolve this resource externally.
3609
- */
3610
- resolveExternalUri(resource: URI, options?: ResolveExternalUriOptions): Promise<IResolvedExternalUri>;
3611
- }
3612
-
3613
- declare const IHostService: ServiceIdentifier<IHostService>;
3614
- /**
3615
- * A set of methods supported in both web and native environments.
3616
- *
3617
- * @see {@link INativeHostService} for methods that are specific to native
3618
- * environments.
3619
- */
3620
- interface IHostService {
3621
- readonly _serviceBrand: undefined;
3622
- /**
3623
- * Emitted when the window focus changes.
3624
- */
3625
- readonly onDidChangeFocus: Event$1<boolean>;
3626
- /**
3627
- * Find out if the window has focus or not.
3628
- */
3629
- readonly hasFocus: boolean;
3630
- /**
3631
- * Find out if the window had the last focus.
3632
- */
3633
- hadLastFocus(): Promise<boolean>;
3634
- /**
3635
- * Attempt to bring the window to the foreground and focus it.
3636
- *
3637
- * @param options Pass `force: true` if you want to make the window take
3638
- * focus even if the application does not have focus currently. This option
3639
- * should only be used if it is necessary to steal focus from the current
3640
- * focused application which may not be VSCode. It may not be supported
3641
- * in all environments.
3543
+ * @param options Pass `force: true` if you want to make the window take
3544
+ * focus even if the application does not have focus currently. This option
3545
+ * should only be used if it is necessary to steal focus from the current
3546
+ * focused application which may not be VSCode. It may not be supported
3547
+ * in all environments.
3642
3548
  */
3643
3549
  focus(options?: {
3644
3550
  force: boolean;
@@ -3672,44 +3578,6 @@ interface IHostService {
3672
3578
  close(): Promise<void>;
3673
3579
  }
3674
3580
 
3675
- interface UnicodeHighlighterOptions {
3676
- nonBasicASCII: boolean;
3677
- ambiguousCharacters: boolean;
3678
- invisibleCharacters: boolean;
3679
- includeComments: boolean;
3680
- includeStrings: boolean;
3681
- allowedCodePoints: number[];
3682
- allowedLocales: string[];
3683
- }
3684
-
3685
- type DiffAlgorithmName = 'legacy' | 'advanced';
3686
-
3687
- declare const IEditorWorkerService: ServiceIdentifier<IEditorWorkerService>;
3688
- interface IEditorWorkerService {
3689
- readonly _serviceBrand: undefined;
3690
- canComputeUnicodeHighlights(uri: URI): boolean;
3691
- computedUnicodeHighlights(uri: URI, options: UnicodeHighlighterOptions, range?: IRange): Promise<IUnicodeHighlightsResult>;
3692
- /** Implementation in {@link EditorSimpleWorker.computeDiff} */
3693
- computeDiff(original: URI, modified: URI, options: IDocumentDiffProviderOptions, algorithm: DiffAlgorithmName): Promise<IDocumentDiff | null>;
3694
- canComputeDirtyDiff(original: URI, modified: URI): boolean;
3695
- computeDirtyDiff(original: URI, modified: URI, ignoreTrimWhitespace: boolean): Promise<IChange[] | null>;
3696
- computeMoreMinimalEdits(resource: URI, edits: TextEdit[] | null | undefined, pretty?: boolean): Promise<TextEdit[] | undefined>;
3697
- computeHumanReadableDiff(resource: URI, edits: TextEdit[] | null | undefined): Promise<TextEdit[] | undefined>;
3698
- canComputeWordRanges(resource: URI): boolean;
3699
- computeWordRanges(resource: URI, range: IRange): Promise<{
3700
- [word: string]: IRange[];
3701
- } | null>;
3702
- canNavigateValueSet(resource: URI): boolean;
3703
- navigateValueSet(resource: URI, range: IRange, up: boolean): Promise<IInplaceReplaceSupportResult | null>;
3704
- }
3705
- interface IUnicodeHighlightsResult {
3706
- ranges: IRange[];
3707
- hasMore: boolean;
3708
- nonBasicAsciiCharacterCount: number;
3709
- invisibleCharacterCount: number;
3710
- ambiguousCharacterCount: number;
3711
- }
3712
-
3713
3581
  interface IKeyboardEvent {
3714
3582
  readonly _standardKeyboardEventBrand: true;
3715
3583
  readonly browserEvent: KeyboardEvent;
@@ -3749,71 +3617,6 @@ interface IMouseEvent {
3749
3617
  stopPropagation(): void;
3750
3618
  }
3751
3619
 
3752
- declare class ResourceEdit {
3753
- readonly metadata?: WorkspaceEditMetadata | undefined;
3754
- protected constructor(metadata?: WorkspaceEditMetadata | undefined);
3755
- static convert(edit: WorkspaceEdit): ResourceEdit[];
3756
- }
3757
- interface IBulkEditOptions {
3758
- editor?: ICodeEditor;
3759
- progress?: IProgress<IProgressStep>;
3760
- token?: CancellationToken;
3761
- showPreview?: boolean;
3762
- label?: string;
3763
- code?: string;
3764
- quotableLabel?: string;
3765
- undoRedoSource?: UndoRedoSource;
3766
- undoRedoGroupId?: number;
3767
- confirmBeforeUndo?: boolean;
3768
- respectAutoSaveConfig?: boolean;
3769
- }
3770
- interface IBulkEditResult {
3771
- ariaSummary: string;
3772
- isApplied: boolean;
3773
- }
3774
- type IBulkEditPreviewHandler = (edits: ResourceEdit[], options?: IBulkEditOptions) => Promise<ResourceEdit[]>;
3775
-
3776
- declare const IBulkEditService: ServiceIdentifier<IBulkEditService>;
3777
- interface IBulkEditService {
3778
- readonly _serviceBrand: undefined;
3779
- hasPreviewHandler(): boolean;
3780
- setPreviewHandler(handler: IBulkEditPreviewHandler): IDisposable;
3781
- apply(edit: ResourceEdit[] | WorkspaceEdit, options?: IBulkEditOptions): Promise<IBulkEditResult>;
3782
- }
3783
-
3784
- declare const IClipboardService: ServiceIdentifier<IClipboardService>;
3785
- interface IClipboardService {
3786
- readonly _serviceBrand: undefined;
3787
- /**
3788
- * Writes text to the system clipboard.
3789
- */
3790
- writeText(text: string, type?: string): Promise<void>;
3791
- /**
3792
- * Reads the content of the clipboard in plain text
3793
- */
3794
- readText(type?: string): Promise<string>;
3795
- /**
3796
- * Reads text from the system find pasteboard.
3797
- */
3798
- readFindText(): Promise<string>;
3799
- /**
3800
- * Writes text to the system find pasteboard.
3801
- */
3802
- writeFindText(text: string): Promise<void>;
3803
- /**
3804
- * Writes resources to the system clipboard.
3805
- */
3806
- writeResources(resources: URI[]): Promise<void>;
3807
- /**
3808
- * Reads resources from the system clipboard.
3809
- */
3810
- readResources(): Promise<URI[]>;
3811
- /**
3812
- * Find out if resources are copied to the clipboard.
3813
- */
3814
- hasResources(): Promise<boolean>;
3815
- }
3816
-
3817
3620
  interface IDimension {
3818
3621
  readonly width: number;
3819
3622
  readonly height: number;
@@ -4797,6 +4600,100 @@ declare class CompositeMenuActions extends Disposable {
4797
4600
  getContextMenuActions(): IAction[];
4798
4601
  }
4799
4602
 
4603
+ type OpenInternalOptions = {
4604
+ /**
4605
+ * Signals that the intent is to open an editor to the side
4606
+ * of the currently active editor.
4607
+ */
4608
+ readonly openToSide?: boolean;
4609
+ /**
4610
+ * Extra editor options to apply in case an editor is used to open.
4611
+ */
4612
+ readonly editorOptions?: IEditorOptions;
4613
+ /**
4614
+ * Signals that the editor to open was triggered through a user
4615
+ * action, such as keyboard or mouse usage.
4616
+ */
4617
+ readonly fromUserGesture?: boolean;
4618
+ /**
4619
+ * Allow command links to be handled.
4620
+ *
4621
+ * If this is an array, then only the commands included in the array can be run.
4622
+ */
4623
+ readonly allowCommands?: boolean | readonly string[];
4624
+ };
4625
+ type OpenExternalOptions = {
4626
+ readonly openExternal?: boolean;
4627
+ readonly allowTunneling?: boolean;
4628
+ readonly allowContributedOpeners?: boolean | string;
4629
+ readonly fromWorkspace?: boolean;
4630
+ };
4631
+ type OpenOptions = OpenInternalOptions & OpenExternalOptions;
4632
+ type ResolveExternalUriOptions = {
4633
+ readonly allowTunneling?: boolean;
4634
+ };
4635
+ interface IResolvedExternalUri extends IDisposable {
4636
+ resolved: URI;
4637
+ }
4638
+ interface IOpener {
4639
+ open(resource: URI | string, options?: OpenInternalOptions | OpenExternalOptions): Promise<boolean>;
4640
+ }
4641
+ interface IExternalOpener {
4642
+ openExternal(href: string, ctx: {
4643
+ sourceUri: URI;
4644
+ preferredOpenerId?: string;
4645
+ }, token: CancellationToken): Promise<boolean>;
4646
+ dispose?(): void;
4647
+ }
4648
+ interface IValidator {
4649
+ shouldOpen(resource: URI | string, openOptions?: OpenOptions): Promise<boolean>;
4650
+ }
4651
+ interface IExternalUriResolver {
4652
+ resolveExternalUri(resource: URI, options?: OpenOptions): Promise<{
4653
+ resolved: URI;
4654
+ dispose(): void;
4655
+ } | undefined>;
4656
+ }
4657
+
4658
+ declare const IOpenerService: ServiceIdentifier<IOpenerService>;
4659
+ interface IOpenerService {
4660
+ readonly _serviceBrand: undefined;
4661
+ /**
4662
+ * Register a participant that can handle the open() call.
4663
+ */
4664
+ registerOpener(opener: IOpener): IDisposable;
4665
+ /**
4666
+ * Register a participant that can validate if the URI resource be opened.
4667
+ * Validators are run before openers.
4668
+ */
4669
+ registerValidator(validator: IValidator): IDisposable;
4670
+ /**
4671
+ * Register a participant that can resolve an external URI resource to be opened.
4672
+ */
4673
+ registerExternalUriResolver(resolver: IExternalUriResolver): IDisposable;
4674
+ /**
4675
+ * Sets the handler for opening externally. If not provided,
4676
+ * a default handler will be used.
4677
+ */
4678
+ setDefaultExternalOpener(opener: IExternalOpener): void;
4679
+ /**
4680
+ * Registers a new opener external resources openers.
4681
+ */
4682
+ registerExternalOpener(opener: IExternalOpener): IDisposable;
4683
+ /**
4684
+ * Opens a resource, like a webaddress, a document uri, or executes command.
4685
+ *
4686
+ * @param resource A resource
4687
+ * @return A promise that resolves when the opening is done.
4688
+ */
4689
+ open(resource: URI | string, options?: OpenInternalOptions | OpenExternalOptions): Promise<boolean>;
4690
+ /**
4691
+ * Resolve a resource to its external form.
4692
+ * @throws whenever resolvers couldn't resolve this resource externally.
4693
+ */
4694
+ resolveExternalUri(resource: URI, options?: ResolveExternalUriOptions): Promise<IResolvedExternalUri>;
4695
+ }
4696
+
4800
4697
  interface IKeybindingProvider {
4801
4698
  (action: IAction): ResolvedKeybinding | undefined;
4802
4699
  }
@@ -5168,6 +5065,109 @@ interface ICodeEditorOpenHandler {
5168
5065
  (input: ITextResourceEditorInput, source: ICodeEditor | null, sideBySide?: boolean): Promise<ICodeEditor | null>;
5169
5066
  }
5170
5067
 
5068
+ declare class ResourceEdit {
5069
+ readonly metadata?: WorkspaceEditMetadata | undefined;
5070
+ protected constructor(metadata?: WorkspaceEditMetadata | undefined);
5071
+ static convert(edit: WorkspaceEdit): ResourceEdit[];
5072
+ }
5073
+ interface IBulkEditOptions {
5074
+ editor?: ICodeEditor;
5075
+ progress?: IProgress<IProgressStep>;
5076
+ token?: CancellationToken;
5077
+ showPreview?: boolean;
5078
+ label?: string;
5079
+ code?: string;
5080
+ quotableLabel?: string;
5081
+ undoRedoSource?: UndoRedoSource;
5082
+ undoRedoGroupId?: number;
5083
+ confirmBeforeUndo?: boolean;
5084
+ respectAutoSaveConfig?: boolean;
5085
+ }
5086
+ interface IBulkEditResult {
5087
+ ariaSummary: string;
5088
+ isApplied: boolean;
5089
+ }
5090
+ type IBulkEditPreviewHandler = (edits: ResourceEdit[], options?: IBulkEditOptions) => Promise<ResourceEdit[]>;
5091
+
5092
+ declare const IBulkEditService: ServiceIdentifier<IBulkEditService>;
5093
+ interface IBulkEditService {
5094
+ readonly _serviceBrand: undefined;
5095
+ hasPreviewHandler(): boolean;
5096
+ setPreviewHandler(handler: IBulkEditPreviewHandler): IDisposable;
5097
+ apply(edit: ResourceEdit[] | WorkspaceEdit, options?: IBulkEditOptions): Promise<IBulkEditResult>;
5098
+ }
5099
+
5100
+ interface UnicodeHighlighterOptions {
5101
+ nonBasicASCII: boolean;
5102
+ ambiguousCharacters: boolean;
5103
+ invisibleCharacters: boolean;
5104
+ includeComments: boolean;
5105
+ includeStrings: boolean;
5106
+ allowedCodePoints: number[];
5107
+ allowedLocales: string[];
5108
+ }
5109
+
5110
+ type DiffAlgorithmName = 'legacy' | 'advanced';
5111
+
5112
+ declare const IEditorWorkerService: ServiceIdentifier<IEditorWorkerService>;
5113
+ interface IEditorWorkerService {
5114
+ readonly _serviceBrand: undefined;
5115
+ canComputeUnicodeHighlights(uri: URI): boolean;
5116
+ computedUnicodeHighlights(uri: URI, options: UnicodeHighlighterOptions, range?: IRange): Promise<IUnicodeHighlightsResult>;
5117
+ /** Implementation in {@link EditorSimpleWorker.computeDiff} */
5118
+ computeDiff(original: URI, modified: URI, options: IDocumentDiffProviderOptions, algorithm: DiffAlgorithmName): Promise<IDocumentDiff | null>;
5119
+ canComputeDirtyDiff(original: URI, modified: URI): boolean;
5120
+ computeDirtyDiff(original: URI, modified: URI, ignoreTrimWhitespace: boolean): Promise<IChange[] | null>;
5121
+ computeMoreMinimalEdits(resource: URI, edits: TextEdit[] | null | undefined, pretty?: boolean): Promise<TextEdit[] | undefined>;
5122
+ computeHumanReadableDiff(resource: URI, edits: TextEdit[] | null | undefined): Promise<TextEdit[] | undefined>;
5123
+ canComputeWordRanges(resource: URI): boolean;
5124
+ computeWordRanges(resource: URI, range: IRange): Promise<{
5125
+ [word: string]: IRange[];
5126
+ } | null>;
5127
+ canNavigateValueSet(resource: URI): boolean;
5128
+ navigateValueSet(resource: URI, range: IRange, up: boolean): Promise<IInplaceReplaceSupportResult | null>;
5129
+ }
5130
+ interface IUnicodeHighlightsResult {
5131
+ ranges: IRange[];
5132
+ hasMore: boolean;
5133
+ nonBasicAsciiCharacterCount: number;
5134
+ invisibleCharacterCount: number;
5135
+ ambiguousCharacterCount: number;
5136
+ }
5137
+
5138
+ declare const IClipboardService: ServiceIdentifier<IClipboardService>;
5139
+ interface IClipboardService {
5140
+ readonly _serviceBrand: undefined;
5141
+ /**
5142
+ * Writes text to the system clipboard.
5143
+ */
5144
+ writeText(text: string, type?: string): Promise<void>;
5145
+ /**
5146
+ * Reads the content of the clipboard in plain text
5147
+ */
5148
+ readText(type?: string): Promise<string>;
5149
+ /**
5150
+ * Reads text from the system find pasteboard.
5151
+ */
5152
+ readFindText(): Promise<string>;
5153
+ /**
5154
+ * Writes text to the system find pasteboard.
5155
+ */
5156
+ writeFindText(text: string): Promise<void>;
5157
+ /**
5158
+ * Writes resources to the system clipboard.
5159
+ */
5160
+ writeResources(resources: URI[]): Promise<void>;
5161
+ /**
5162
+ * Reads resources from the system clipboard.
5163
+ */
5164
+ readResources(): Promise<URI[]>;
5165
+ /**
5166
+ * Find out if resources are copied to the clipboard.
5167
+ */
5168
+ hasResources(): Promise<boolean>;
5169
+ }
5170
+
5171
5171
  declare const IExtensionResourceLoaderService: ServiceIdentifier<IExtensionResourceLoaderService>;
5172
5172
  /**
5173
5173
  * A service useful for reading resources from within extensions.