@codingame/monaco-vscode-api 1.83.16 → 1.85.0-next.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (328) hide show
  1. package/api.js +13 -7
  2. package/assets/clear.mp3 +0 -0
  3. package/assets/format.mp3 +0 -0
  4. package/assets/save.mp3 +0 -0
  5. package/extensions.d.ts +13 -3
  6. package/external/{xterm-addon-image/typings/xterm-addon-image.d.ts → @xterm/addon-image/typings/addon-image.d.ts} +1 -1
  7. package/external/{xterm → @xterm/xterm}/typings/xterm.d.ts +13 -1
  8. package/lifecycle.js +2 -2
  9. package/localExtensionHost.js +3 -1
  10. package/missing-services.js +115 -23
  11. package/monaco-editor-treemending.patch +6884 -18018
  12. package/monaco-treemending.js +2 -2
  13. package/package.json +7 -7
  14. package/service-override/tools/editor.d.ts +8 -8
  15. package/service-override/tools/editor.js +44 -19
  16. package/services.d.ts +2 -2
  17. package/services.js +3 -3
  18. package/vscode/src/vs/base/browser/broadcast.js +6 -5
  19. package/vscode/src/vs/base/browser/dnd.d.ts +6 -0
  20. package/vscode/src/vs/base/browser/mouseEvent.d.ts +1 -1
  21. package/vscode/src/vs/base/browser/touch.d.ts +10 -0
  22. package/vscode/src/vs/base/browser/ui/actionbar/actionbar.d.ts +1 -0
  23. package/vscode/src/vs/base/browser/ui/iconLabel/iconHoverDelegate.d.ts +22 -15
  24. package/vscode/src/vs/base/browser/ui/menu/menubar.js +4 -3
  25. package/vscode/src/vs/base/browser/ui/splitview/paneview.css.js +1 -1
  26. package/vscode/src/vs/base/browser/ui/splitview/paneview.d.ts +3 -0
  27. package/vscode/src/vs/base/browser/ui/splitview/paneview.js +34 -11
  28. package/vscode/src/vs/base/common/actions.d.ts +1 -15
  29. package/vscode/src/vs/base/common/async.d.ts +1 -31
  30. package/vscode/src/vs/base/common/event.d.ts +2 -1
  31. package/vscode/src/vs/base/common/observableInternal/base.d.ts +23 -10
  32. package/vscode/src/vs/base/common/prefixTree.js +21 -11
  33. package/vscode/src/vs/base/common/product.d.ts +16 -2
  34. package/vscode/src/vs/base/common/resourceTree.js +135 -0
  35. package/vscode/src/vs/base/common/skipList.js +1 -0
  36. package/vscode/src/vs/base/common/tfIdf.js +137 -0
  37. package/vscode/src/vs/base/common/types.d.ts +13 -1
  38. package/vscode/src/vs/base/common/verifier.js +62 -0
  39. package/vscode/src/vs/editor/browser/editorBrowser.d.ts +4 -2
  40. package/vscode/src/vs/editor/common/config/editorOptions.d.ts +23 -4
  41. package/vscode/src/vs/editor/common/core/lineRange.d.ts +1 -0
  42. package/vscode/src/vs/editor/common/core/offsetRange.d.ts +3 -0
  43. package/vscode/src/vs/editor/common/core/position.d.ts +1 -0
  44. package/vscode/src/vs/editor/common/editorCommon.d.ts +2 -1
  45. package/vscode/src/vs/editor/common/languages.d.ts +23 -1
  46. package/vscode/src/vs/editor/common/services/languageFeatures.d.ts +2 -1
  47. package/vscode/src/vs/editor/common/services/resolverService.d.ts +11 -2
  48. package/vscode/src/vs/platform/accessibility/common/accessibility.d.ts +16 -1
  49. package/vscode/src/vs/platform/action/common/action.d.ts +8 -0
  50. package/vscode/src/vs/platform/actions/browser/dropdownWithPrimaryActionViewItem.js +4 -0
  51. package/vscode/src/vs/platform/actions/common/actions.d.ts +8 -0
  52. package/vscode/src/vs/platform/audioCues/browser/audioCueService.d.ts +6 -0
  53. package/vscode/src/vs/platform/commands/common/commands.d.ts +13 -5
  54. package/vscode/src/vs/platform/dialogs/common/dialogs.d.ts +9 -3
  55. package/vscode/src/vs/platform/dialogs/common/dialogs.js +5 -2
  56. package/vscode/src/vs/platform/editor/common/editor.d.ts +3 -15
  57. package/vscode/src/vs/platform/extensionManagement/common/extensionManagement.d.ts +1 -0
  58. package/vscode/src/vs/platform/extensionManagement/common/extensionManagement.js +3 -15
  59. package/vscode/src/vs/platform/extensionManagement/common/implicitActivationEvents.js +5 -0
  60. package/vscode/src/vs/platform/extensions/common/extensions.d.ts +0 -1
  61. package/vscode/src/vs/platform/files/common/files.d.ts +72 -8
  62. package/vscode/src/vs/platform/files/common/watcher.js +77 -0
  63. package/vscode/src/vs/platform/keybinding/common/keybindingsRegistry.d.ts +2 -2
  64. package/vscode/src/vs/platform/layout/browser/layoutService.d.ts +52 -21
  65. package/vscode/src/vs/platform/request/browser/requestService.js +3 -0
  66. package/vscode/src/vs/platform/request/common/requestIpc.js +17 -0
  67. package/vscode/src/vs/platform/storage/common/storage.js +2 -2
  68. package/vscode/src/vs/platform/telemetry/common/telemetry.d.ts +1 -0
  69. package/vscode/src/vs/platform/terminal/common/capabilities/capabilities.d.ts +12 -7
  70. package/vscode/src/vs/platform/terminal/common/capabilities/{commandDetectionCapability.d.ts → commandDetection/terminalCommand.d.ts} +3 -2
  71. package/vscode/src/vs/platform/terminal/common/capabilities/commandDetection/terminalCommand.js +257 -0
  72. package/vscode/src/vs/platform/terminal/common/capabilities/commandDetectionCapability.js +439 -354
  73. package/vscode/src/vs/platform/window/common/window.d.ts +9 -2
  74. package/vscode/src/vs/platform/window/common/window.js +6 -1
  75. package/vscode/src/vs/platform/workspaces/common/workspaces.d.ts +2 -43
  76. package/vscode/src/vs/workbench/api/common/extHost.api.impl.js +113 -81
  77. package/vscode/src/vs/workbench/api/common/extHost.protocol.js +5 -4
  78. package/vscode/src/vs/workbench/api/common/extHostApiCommands.js +25 -3
  79. package/vscode/src/vs/workbench/api/common/extHostChat.js +13 -163
  80. package/vscode/src/vs/workbench/api/common/extHostChatAgents2.js +412 -0
  81. package/vscode/src/vs/workbench/api/common/extHostChatProvider.js +79 -11
  82. package/vscode/src/vs/workbench/api/common/extHostCommands.js +13 -12
  83. package/vscode/src/vs/workbench/api/common/extHostComments.js +1 -1
  84. package/vscode/src/vs/workbench/api/common/extHostEditorTabs.js +8 -6
  85. package/vscode/src/vs/workbench/api/common/extHostExtensionService.js +1 -1
  86. package/vscode/src/vs/workbench/api/common/extHostFileSystemEventService.js +36 -19
  87. package/vscode/src/vs/workbench/api/common/extHostInlineChat.js +52 -31
  88. package/vscode/src/vs/workbench/api/common/extHostIssueReporter.js +38 -0
  89. package/vscode/src/vs/workbench/api/common/extHostLanguageFeatures.js +28 -3
  90. package/vscode/src/vs/workbench/api/common/extHostLanguages.js +10 -0
  91. package/vscode/src/vs/workbench/api/common/extHostNotebook.js +117 -2
  92. package/vscode/src/vs/workbench/api/common/extHostNotebookKernels.js +32 -4
  93. package/vscode/src/vs/workbench/api/common/extHostSCM.js +85 -23
  94. package/vscode/src/vs/workbench/api/common/extHostSearch.js +3 -0
  95. package/vscode/src/vs/workbench/api/common/extHostSpeech.js +42 -0
  96. package/vscode/src/vs/workbench/api/common/extHostTask.js +2 -1
  97. package/vscode/src/vs/workbench/api/common/extHostTelemetry.js +1 -0
  98. package/vscode/src/vs/workbench/api/common/extHostTerminalService.js +3 -3
  99. package/vscode/src/vs/workbench/api/common/extHostTesting.js +97 -47
  100. package/vscode/src/vs/workbench/api/common/extHostTypeConverters.js +115 -16
  101. package/vscode/src/vs/workbench/api/common/extHostTypes.js +66 -36
  102. package/vscode/src/vs/workbench/api/common/extHostWorkspace.js +6 -1
  103. package/vscode/src/vs/workbench/browser/actions/layoutActions.js +182 -75
  104. package/vscode/src/vs/workbench/browser/actions/windowActions.js +176 -4
  105. package/vscode/src/vs/workbench/browser/actions/workspaceActions.js +143 -2
  106. package/vscode/src/vs/workbench/browser/actions/workspaceCommands.js +237 -0
  107. package/vscode/src/vs/workbench/browser/composite.d.ts +0 -4
  108. package/vscode/src/vs/workbench/browser/composite.js +5 -4
  109. package/vscode/src/vs/workbench/browser/dnd.js +72 -23
  110. package/vscode/src/vs/workbench/browser/labels.js +7 -3
  111. package/vscode/src/vs/workbench/browser/media/part.css.js +1 -1
  112. package/vscode/src/vs/workbench/browser/panecomposite.d.ts +2 -2
  113. package/vscode/src/vs/workbench/browser/panecomposite.js +2 -0
  114. package/vscode/src/vs/workbench/browser/part.js +33 -2
  115. package/vscode/src/vs/workbench/browser/parts/compositeBarActions.js +99 -117
  116. package/vscode/src/vs/workbench/browser/parts/editor/editor.contribution.js +173 -33
  117. package/vscode/src/vs/workbench/browser/parts/editor/editor.js +102 -6
  118. package/vscode/src/vs/workbench/browser/parts/editor/editorActions.js +256 -17
  119. package/vscode/src/vs/workbench/browser/parts/editor/editorAutoSave.js +4 -0
  120. package/vscode/src/vs/workbench/browser/parts/editor/editorCommands.js +68 -35
  121. package/vscode/src/vs/workbench/browser/parts/editor/editorPlaceholder.js +5 -5
  122. package/vscode/src/vs/workbench/browser/parts/editor/editorStatus.js +35 -16
  123. package/vscode/src/vs/workbench/browser/parts/editor/editorTabsControl.js +348 -0
  124. package/vscode/src/vs/workbench/browser/parts/editor/editorsObserver.js +43 -31
  125. package/vscode/src/vs/workbench/browser/parts/editor/media/editortabscontrol.css.js +4 -0
  126. package/vscode/src/vs/workbench/browser/parts/editor/sideBySideEditor.js +1 -0
  127. package/vscode/src/vs/workbench/browser/parts/editor/textCodeEditor.js +1 -0
  128. package/vscode/src/vs/workbench/browser/parts/editor/textDiffEditor.js +14 -2
  129. package/vscode/src/vs/workbench/browser/parts/editor/textEditor.js +4 -4
  130. package/vscode/src/vs/workbench/browser/parts/globalCompositeBar.js +277 -0
  131. package/vscode/src/vs/workbench/browser/parts/notifications/notificationsCommands.js +5 -2
  132. package/vscode/src/vs/workbench/browser/parts/panel/media/panelpart.css.js +1 -1
  133. package/vscode/src/vs/workbench/browser/parts/panel/panelActions.js +3 -38
  134. package/vscode/src/vs/workbench/browser/parts/statusbar/statusbarPart.d.ts +54 -52
  135. package/vscode/src/vs/workbench/browser/parts/titlebar/menubarControl.js +2 -1
  136. package/vscode/src/vs/workbench/browser/parts/titlebar/titlebarPart.d.ts +25 -0
  137. package/vscode/src/vs/workbench/browser/parts/titlebar/windowTitle.js +258 -0
  138. package/vscode/src/vs/workbench/browser/parts/views/media/paneviewlet.css.js +1 -1
  139. package/vscode/src/vs/workbench/browser/parts/views/viewPane.d.ts +2 -5
  140. package/vscode/src/vs/workbench/browser/parts/views/viewPane.js +157 -117
  141. package/vscode/src/vs/workbench/browser/parts/views/viewPaneContainer.js +50 -23
  142. package/vscode/src/vs/workbench/browser/parts/views/viewsService.js +26 -11
  143. package/vscode/src/vs/workbench/browser/parts/views/viewsViewlet.js +10 -6
  144. package/vscode/src/vs/workbench/browser/style.js +2 -1
  145. package/vscode/src/vs/workbench/browser/web.api.d.ts +39 -2
  146. package/vscode/src/vs/workbench/browser/window.js +55 -0
  147. package/vscode/src/vs/workbench/browser/workbench.contribution.js +220 -40
  148. package/vscode/src/vs/workbench/common/activity.js +3 -0
  149. package/vscode/src/vs/workbench/common/contextkeys.js +35 -5
  150. package/vscode/src/vs/workbench/common/contributions.js +4 -3
  151. package/vscode/src/vs/workbench/common/editor/diffEditorInput.js +14 -4
  152. package/vscode/src/vs/workbench/common/editor/diffEditorModel.js +1 -1
  153. package/vscode/src/vs/workbench/common/editor/editorGroupModel.js +22 -19
  154. package/vscode/src/vs/workbench/common/editor/editorInput.d.ts +4 -3
  155. package/vscode/src/vs/workbench/common/editor/editorModel.d.ts +1 -2
  156. package/vscode/src/vs/workbench/common/editor/sideBySideEditorInput.js +22 -4
  157. package/vscode/src/vs/workbench/common/editor/textResourceEditorInput.js +3 -3
  158. package/vscode/src/vs/workbench/common/editor.d.ts +60 -30
  159. package/vscode/src/vs/workbench/common/editor.js +11 -3
  160. package/vscode/src/vs/workbench/common/theme.js +2 -2
  161. package/vscode/src/vs/workbench/common/views.d.ts +4 -4
  162. package/vscode/src/vs/workbench/common/views.js +3 -1
  163. package/vscode/src/vs/workbench/contrib/accessibility/browser/accessibilityConfiguration.js +97 -8
  164. package/vscode/src/vs/workbench/contrib/accessibility/browser/accessibilityContributions.js +17 -99
  165. package/vscode/src/vs/workbench/contrib/accessibility/browser/accessibleView.js +103 -37
  166. package/vscode/src/vs/workbench/contrib/accessibility/browser/accessibleViewActions.js +2 -3
  167. package/vscode/src/vs/workbench/contrib/accessibility/browser/editorAccessibilityHelp.js +127 -0
  168. package/vscode/src/vs/workbench/contrib/chat/browser/actions/chatActions.js +71 -0
  169. package/vscode/src/vs/workbench/contrib/chat/browser/chat.js +2 -1
  170. package/vscode/src/vs/workbench/contrib/chat/common/chatAgents.js +33 -110
  171. package/vscode/src/vs/workbench/contrib/chat/common/chatContextKeys.js +64 -0
  172. package/vscode/src/vs/workbench/contrib/chat/common/chatParserTypes.js +94 -0
  173. package/vscode/src/vs/workbench/contrib/chat/common/chatService.js +6 -1
  174. package/vscode/src/vs/workbench/contrib/chat/common/chatSlashCommands.js +1 -88
  175. package/vscode/src/vs/workbench/contrib/codeActions/browser/codeActionsContribution.js +4 -4
  176. package/vscode/src/vs/workbench/contrib/codeEditor/browser/diffEditorHelper.js +3 -2
  177. package/vscode/src/vs/workbench/contrib/codeEditor/browser/quickaccess/gotoSymbolQuickAccess.js +3 -1
  178. package/vscode/src/vs/workbench/contrib/codeEditor/browser/saveParticipants.js +15 -16
  179. package/vscode/src/vs/workbench/contrib/codeEditor/browser/toggleWordWrap.js +9 -3
  180. package/vscode/src/vs/workbench/contrib/comments/browser/comments.contribution.js +3 -1
  181. package/vscode/src/vs/workbench/contrib/comments/browser/simpleCommentEditor.js +2 -3
  182. package/vscode/src/vs/workbench/contrib/customEditor/browser/customEditorInput.js +1 -0
  183. package/vscode/src/vs/workbench/contrib/debug/common/debug.d.ts +9 -1
  184. package/vscode/src/vs/workbench/contrib/debug/common/debug.js +10 -1
  185. package/vscode/src/vs/workbench/contrib/extensions/browser/extensionsActions.js +114 -22
  186. package/vscode/src/vs/workbench/contrib/extensions/browser/media/extensionActions.css.js +1 -1
  187. package/vscode/src/vs/workbench/contrib/extensions/common/extensions.js +4 -1
  188. package/vscode/src/vs/workbench/contrib/files/browser/explorerFileContrib.js +19 -0
  189. package/vscode/src/vs/workbench/contrib/files/browser/explorerViewlet.js +10 -8
  190. package/vscode/src/vs/workbench/contrib/files/browser/fileActions.js +62 -10
  191. package/vscode/src/vs/workbench/contrib/files/browser/fileConstants.js +2 -1
  192. package/vscode/src/vs/workbench/contrib/files/browser/fileImportExport.js +9 -8
  193. package/vscode/src/vs/workbench/contrib/files/browser/files.contribution.js +10 -1
  194. package/vscode/src/vs/workbench/contrib/files/browser/files.d.ts +1 -0
  195. package/vscode/src/vs/workbench/contrib/files/browser/files.js +7 -3
  196. package/vscode/src/vs/workbench/contrib/files/browser/views/emptyView.js +4 -4
  197. package/vscode/src/vs/workbench/contrib/files/browser/views/explorerView.js +64 -36
  198. package/vscode/src/vs/workbench/contrib/files/browser/views/explorerViewer.js +42 -17
  199. package/vscode/src/vs/workbench/contrib/files/browser/views/openEditorsView.js +145 -25
  200. package/vscode/src/vs/workbench/contrib/format/browser/formatActionsMultiple.js +1 -1
  201. package/vscode/src/vs/workbench/contrib/format/browser/formatModified.js +1 -1
  202. package/vscode/src/vs/workbench/contrib/inlineChat/common/inlineChat.js +36 -0
  203. package/vscode/src/vs/workbench/contrib/notebook/common/notebookCommon.js +3 -1
  204. package/vscode/src/vs/workbench/contrib/preferences/common/preferences.js +24 -3
  205. package/vscode/src/vs/workbench/contrib/scm/browser/dirtydiffDecorator.js +11 -6
  206. package/vscode/src/vs/workbench/contrib/scm/common/scm.js +1 -2
  207. package/vscode/src/vs/workbench/contrib/search/browser/notebookSearch/searchNotebookHelpers.js +31 -0
  208. package/vscode/src/vs/workbench/contrib/search/browser/searchModel.js +61 -41
  209. package/vscode/src/vs/workbench/contrib/search/{browser/searchNotebookHelpers.js → common/cellSearchModel.js} +4 -63
  210. package/vscode/src/vs/workbench/contrib/search/common/searchNotebookHelpers.js +40 -0
  211. package/vscode/src/vs/workbench/contrib/snippets/browser/snippetsFile.js +2 -2
  212. package/vscode/src/vs/workbench/{services/editor/browser/editorDropService.js → contrib/speech/common/speechService.js} +2 -2
  213. package/vscode/src/vs/workbench/contrib/terminal/browser/detachedTerminal.js +29 -4
  214. package/vscode/src/vs/workbench/contrib/terminal/browser/terminal.d.ts +100 -79
  215. package/vscode/src/vs/workbench/contrib/terminal/browser/terminalConfigHelper.d.ts +3 -3
  216. package/vscode/src/vs/workbench/contrib/terminal/browser/terminalEditorInput.js +1 -1
  217. package/vscode/src/vs/workbench/contrib/terminal/browser/terminalIcon.js +7 -4
  218. package/vscode/src/vs/workbench/contrib/terminal/browser/xterm/decorationAddon.js +5 -3
  219. package/vscode/src/vs/workbench/contrib/terminal/browser/xterm/markNavigationAddon.js +143 -41
  220. package/vscode/src/vs/workbench/contrib/terminal/browser/xterm/xtermTerminal.d.ts +17 -11
  221. package/vscode/src/vs/workbench/contrib/terminal/browser/xterm/xtermTerminal.js +41 -26
  222. package/vscode/src/vs/workbench/contrib/terminal/browser/xterm-private.d.ts +5 -2
  223. package/vscode/src/vs/workbench/contrib/terminal/common/terminal.d.ts +2 -8
  224. package/vscode/src/vs/workbench/contrib/terminal/common/terminal.js +2 -0
  225. package/vscode/src/vs/workbench/contrib/testing/common/testCoverage.js +115 -0
  226. package/vscode/src/vs/workbench/contrib/testing/common/testCoverageService.js +74 -0
  227. package/vscode/src/vs/workbench/contrib/testing/common/testResult.js +3 -3
  228. package/vscode/src/vs/workbench/contrib/testing/common/testTypes.js +64 -1
  229. package/vscode/src/vs/workbench/contrib/testing/common/testingContextKeys.js +9 -0
  230. package/vscode/src/vs/workbench/contrib/webview/browser/webviewWindowDragMonitor.js +4 -3
  231. package/vscode/src/vs/workbench/contrib/webviewPanel/browser/webviewEditor.js +8 -9
  232. package/vscode/src/vs/workbench/contrib/webviewPanel/browser/webviewEditorInput.js +1 -1
  233. package/vscode/src/vs/workbench/contrib/webviewPanel/browser/webviewIconManager.js +5 -2
  234. package/vscode/src/vs/workbench/services/activity/browser/activityService.d.ts +16 -10
  235. package/vscode/src/vs/workbench/services/activity/common/activity.d.ts +14 -1
  236. package/vscode/src/vs/workbench/services/activity/common/activity.js +1 -7
  237. package/vscode/src/vs/workbench/services/authentication/browser/authenticationService.js +9 -28
  238. package/vscode/src/vs/workbench/services/auxiliaryWindow/browser/auxiliaryWindowService.js +273 -0
  239. package/vscode/src/vs/workbench/services/configurationResolver/common/configurationResolver.js +1 -0
  240. package/vscode/src/vs/workbench/services/configurationResolver/common/variableResolver.js +2 -0
  241. package/vscode/src/vs/workbench/services/decorations/browser/decorationsService.js +2 -3
  242. package/vscode/src/vs/workbench/services/editor/browser/editorService.d.ts +7 -5
  243. package/vscode/src/vs/workbench/services/editor/browser/editorService.js +59 -37
  244. package/vscode/src/vs/workbench/services/editor/common/editorGroupsService.d.ts +193 -94
  245. package/vscode/src/vs/workbench/services/editor/common/editorGroupsService.js +2 -2
  246. package/vscode/src/vs/workbench/services/editor/common/editorResolverService.d.ts +8 -2
  247. package/vscode/src/vs/workbench/services/editor/common/editorService.d.ts +8 -1
  248. package/vscode/src/vs/workbench/services/extensionRecommendations/common/workspaceExtensionsConfig.js +62 -16
  249. package/vscode/src/vs/workbench/services/extensions/browser/extensionUrlHandler.js +5 -3
  250. package/vscode/src/vs/workbench/services/extensions/common/abstractExtensionService.d.ts +3 -2
  251. package/vscode/src/vs/workbench/services/extensions/common/extensionDescriptionRegistry.js +4 -9
  252. package/vscode/src/vs/workbench/services/extensions/common/{extensionHostManager.d.ts → extensionHostManagers.d.ts} +2 -0
  253. package/vscode/src/vs/workbench/services/extensions/common/extensionRunningLocationTracker.d.ts +1 -1
  254. package/vscode/src/vs/workbench/services/extensions/common/extensions.d.ts +9 -0
  255. package/vscode/src/vs/workbench/services/extensions/common/extensions.js +22 -0
  256. package/vscode/src/vs/workbench/services/extensions/common/extensionsApiProposals.js +14 -3
  257. package/vscode/src/vs/workbench/services/extensions/common/extensionsRegistry.js +9 -0
  258. package/vscode/src/vs/workbench/services/filesConfiguration/common/filesConfigurationService.js +3 -3
  259. package/vscode/src/vs/workbench/services/history/common/history.d.ts +2 -2
  260. package/vscode/src/vs/workbench/services/host/browser/browserHostService.js +49 -18
  261. package/vscode/src/vs/workbench/services/host/browser/host.d.ts +29 -7
  262. package/vscode/src/vs/workbench/services/hover/browser/hover.d.ts +51 -28
  263. package/vscode/src/vs/workbench/services/hover/browser/hoverService.d.ts +5 -2
  264. package/vscode/src/vs/workbench/services/keybinding/browser/unboundCommands.js +2 -2
  265. package/vscode/src/vs/workbench/services/languageStatus/common/languageStatusService.d.ts +4 -1
  266. package/vscode/src/vs/workbench/services/layout/browser/layoutService.d.ts +40 -36
  267. package/vscode/src/vs/workbench/services/panecomposite/browser/panecomposite.d.ts +0 -6
  268. package/vscode/src/vs/workbench/services/preferences/common/preferences.d.ts +3 -0
  269. package/vscode/src/vs/workbench/services/progress/browser/progressIndicator.js +2 -2
  270. package/vscode/src/vs/workbench/services/remote/common/remoteExplorerService.d.ts +16 -1
  271. package/vscode/src/vs/workbench/services/request/browser/requestService.js +48 -0
  272. package/vscode/src/vs/workbench/services/search/common/searchHelpers.js +4 -4
  273. package/vscode/src/vs/workbench/services/statusbar/browser/statusbar.d.ts +10 -51
  274. package/vscode/src/vs/workbench/services/suggest/browser/simpleSuggestWidget.js +2 -2
  275. package/vscode/src/vs/workbench/services/textfile/browser/textFileService.js +32 -1
  276. package/vscode/src/vs/workbench/services/textfile/common/textEditorService.js +1 -5
  277. package/vscode/src/vs/workbench/services/themes/browser/browserHostColorSchemeService.js +4 -3
  278. package/vscode/src/vs/workbench/services/themes/common/iconExtensionPoint.js +9 -3
  279. package/vscode/src/vs/workbench/services/title/browser/titleService.d.ts +18 -0
  280. package/vscode/src/vs/workbench/services/untitled/common/untitledTextEditorInput.js +18 -3
  281. package/vscode/src/vs/workbench/services/untitled/common/untitledTextEditorModel.js +16 -7
  282. package/vscode/src/vs/workbench/services/untitled/common/untitledTextEditorService.d.ts +6 -0
  283. package/vscode/src/vs/workbench/services/untitled/common/untitledTextEditorService.js +13 -0
  284. package/vscode/src/vs/workbench/services/url/browser/urlService.js +2 -1
  285. package/vscode/src/vs/workbench/services/userActivity/common/userActivityService.js +2 -2
  286. package/vscode/src/vs/workbench/services/userDataProfile/common/userDataProfileIcons.js +9 -0
  287. package/vscode-dts/vscode.proposed.chatAgents2.d.ts +375 -0
  288. package/vscode-dts/vscode.proposed.chatAgents2Additions.d.ts +80 -0
  289. package/vscode-dts/vscode.proposed.chatProvider.d.ts +5 -1
  290. package/vscode-dts/vscode.proposed.chatRequestAccess.d.ts +68 -10
  291. package/vscode-dts/vscode.proposed.chatTab.d.ts +21 -0
  292. package/vscode-dts/vscode.proposed.chatVariables.d.ts +5 -1
  293. package/vscode-dts/vscode.proposed.codeActionAI.d.ts +16 -0
  294. package/vscode-dts/vscode.proposed.contribSourceControlInputBoxMenu.d.ts +7 -0
  295. package/vscode-dts/vscode.proposed.createFileSystemWatcher.d.ts +51 -0
  296. package/vscode-dts/vscode.proposed.defaultChatAgent.d.ts +30 -0
  297. package/vscode-dts/vscode.proposed.handleIssueUri.d.ts +26 -0
  298. package/vscode-dts/vscode.proposed.interactive.d.ts +26 -100
  299. package/vscode-dts/vscode.proposed.interactiveUserActions.d.ts +14 -7
  300. package/vscode-dts/vscode.proposed.languageStatusText.d.ts +12 -0
  301. package/vscode-dts/vscode.proposed.multiDocumentHighlightProvider.d.ts +63 -0
  302. package/vscode-dts/vscode.proposed.notebookVariableProvider.d.ts +43 -0
  303. package/vscode-dts/vscode.proposed.resolvers.d.ts +100 -1
  304. package/vscode-dts/vscode.proposed.scmHistoryProvider.d.ts +9 -1
  305. package/vscode-dts/vscode.proposed.scmInputBoxActionButton.d.ts +19 -0
  306. package/vscode-dts/vscode.proposed.scmInputBoxValueProvider.d.ts +25 -0
  307. package/vscode-dts/vscode.proposed.speech.d.ts +35 -0
  308. package/vscode-dts/vscode.proposed.terminalQuickFixProvider.d.ts +11 -7
  309. package/vscode-dts/vscode.proposed.testCoverage.d.ts +6 -1
  310. package/vscode-dts/vscode.proposed.testingActiveProfile.d.ts +21 -0
  311. package/external/xterm-headless/typings/xterm-headless.d.ts +0 -49
  312. package/vscode/src/vs/platform/backup/common/backup.d.ts +0 -14
  313. package/vscode/src/vs/platform/update/common/update.d.ts +0 -112
  314. package/vscode/src/vs/workbench/api/common/extHostChatAgents.js +0 -62
  315. package/vscode/src/vs/workbench/api/common/extHostChatSlashCommand.js +0 -62
  316. package/vscode/src/vs/workbench/browser/parts/paneCompositePart.d.ts +0 -56
  317. package/vscode/src/vs/workbench/services/files/common/files.js +0 -4
  318. package/vscode/src/vs/workbench/services/host/browser/browserHostService.d.ts +0 -41
  319. package/vscode/src/vs/workbench/services/title/common/titleService.d.ts +0 -31
  320. package/vscode-dts/vscode.proposed.chatAgents.d.ts +0 -39
  321. package/vscode-dts/vscode.proposed.chatSlashCommands.d.ts +0 -47
  322. package/vscode-dts/vscode.proposed.testMessageContextValue.d.ts +0 -45
  323. /package/external/{xterm-addon-canvas/typings/xterm-addon-canvas.d.ts → @xterm/addon-canvas/typings/addon-canvas.d.ts} +0 -0
  324. /package/external/{xterm-addon-search/typings/xterm-addon-search.d.ts → @xterm/addon-search/typings/addon-search.d.ts} +0 -0
  325. /package/external/{xterm-addon-serialize/typings/xterm-addon-serialize.d.ts → @xterm/addon-serialize/typings/addon-serialize.d.ts} +0 -0
  326. /package/external/{xterm-addon-unicode11/typings/xterm-addon-unicode11.d.ts → @xterm/addon-unicode11/typings/addon-unicode11.d.ts} +0 -0
  327. /package/external/{xterm-addon-webgl/typings/xterm-addon-webgl.d.ts → @xterm/addon-webgl/typings/addon-webgl.d.ts} +0 -0
  328. /package/vscode/src/vs/workbench/services/title/{common → browser}/titleService.js +0 -0
@@ -21,15 +21,15 @@ function isSerializedEditorGroupModel(group) {
21
21
  }
22
22
  function isGroupEditorOpenEvent(e) {
23
23
  const candidate = e;
24
- return candidate.kind === 3 && candidate.editorIndex !== undefined;
24
+ return candidate.kind === 4 && candidate.editorIndex !== undefined;
25
25
  }
26
26
  function isGroupEditorMoveEvent(e) {
27
27
  const candidate = e;
28
- return candidate.kind === 5 && candidate.editorIndex !== undefined && candidate.oldEditorIndex !== undefined;
28
+ return candidate.kind === 6 && candidate.editorIndex !== undefined && candidate.oldEditorIndex !== undefined;
29
29
  }
30
30
  function isGroupEditorCloseEvent(e) {
31
31
  const candidate = e;
32
- return candidate.kind === 4 && candidate.editorIndex !== undefined && candidate.context !== undefined && candidate.sticky !== undefined;
32
+ return candidate.kind === 5 && candidate.editorIndex !== undefined && candidate.context !== undefined && candidate.sticky !== undefined;
33
33
  }
34
34
  let EditorGroupModel = class EditorGroupModel extends Disposable {
35
35
  static { EditorGroupModel_1 = this; }
@@ -153,7 +153,7 @@ let EditorGroupModel = class EditorGroupModel extends Disposable {
153
153
  }
154
154
  this.registerEditorListeners(newEditor);
155
155
  const event = {
156
- kind: 3 ,
156
+ kind: 4 ,
157
157
  editor: newEditor,
158
158
  editorIndex: targetIndex
159
159
  };
@@ -193,7 +193,7 @@ let EditorGroupModel = class EditorGroupModel extends Disposable {
193
193
  const editorIndex = this.editors.indexOf(editor);
194
194
  if (editorIndex >= 0) {
195
195
  const event = {
196
- kind: 12 ,
196
+ kind: 13 ,
197
197
  editor,
198
198
  editorIndex
199
199
  };
@@ -202,7 +202,7 @@ let EditorGroupModel = class EditorGroupModel extends Disposable {
202
202
  }));
203
203
  listeners.add(editor.onDidChangeDirty(() => {
204
204
  const event = {
205
- kind: 11 ,
205
+ kind: 12 ,
206
206
  editor,
207
207
  editorIndex: this.editors.indexOf(editor)
208
208
  };
@@ -210,7 +210,7 @@ let EditorGroupModel = class EditorGroupModel extends Disposable {
210
210
  }));
211
211
  listeners.add(editor.onDidChangeLabel(() => {
212
212
  const event = {
213
- kind: 7 ,
213
+ kind: 8 ,
214
214
  editor,
215
215
  editorIndex: this.editors.indexOf(editor)
216
216
  };
@@ -218,14 +218,14 @@ let EditorGroupModel = class EditorGroupModel extends Disposable {
218
218
  }));
219
219
  listeners.add(editor.onDidChangeCapabilities(() => {
220
220
  const event = {
221
- kind: 8 ,
221
+ kind: 9 ,
222
222
  editor,
223
223
  editorIndex: this.editors.indexOf(editor)
224
224
  };
225
225
  this._onDidModelChange.fire(event);
226
226
  }));
227
227
  listeners.add(this.onDidModelChange(event => {
228
- if (event.kind === 4 && event.editor?.matches(editor)) {
228
+ if (event.kind === 5 && event.editor?.matches(editor)) {
229
229
  dispose(listeners);
230
230
  this.editorListeners.delete(listeners);
231
231
  }
@@ -236,7 +236,7 @@ let EditorGroupModel = class EditorGroupModel extends Disposable {
236
236
  this.splice(replaceIndex, false, replaceWith);
237
237
  if (closeResult) {
238
238
  const event = {
239
- kind: 4 ,
239
+ kind: 5 ,
240
240
  ...closeResult
241
241
  };
242
242
  this._onDidModelChange.fire(event);
@@ -246,7 +246,7 @@ let EditorGroupModel = class EditorGroupModel extends Disposable {
246
246
  const closeResult = this.doCloseEditor(candidate, context, openNext);
247
247
  if (closeResult) {
248
248
  const event = {
249
- kind: 4 ,
249
+ kind: 5 ,
250
250
  ...closeResult
251
251
  };
252
252
  this._onDidModelChange.fire(event);
@@ -309,7 +309,7 @@ let EditorGroupModel = class EditorGroupModel extends Disposable {
309
309
  this.editors.splice(index, 1);
310
310
  this.editors.splice(toIndex, 0, editor);
311
311
  const event = {
312
- kind: 5 ,
312
+ kind: 6 ,
313
313
  editor,
314
314
  oldEditorIndex: index,
315
315
  editorIndex: toIndex
@@ -317,7 +317,7 @@ let EditorGroupModel = class EditorGroupModel extends Disposable {
317
317
  this._onDidModelChange.fire(event);
318
318
  if (sticky !== this.sticky) {
319
319
  const event = {
320
- kind: 10 ,
320
+ kind: 11 ,
321
321
  editor,
322
322
  editorIndex: toIndex
323
323
  };
@@ -356,7 +356,7 @@ let EditorGroupModel = class EditorGroupModel extends Disposable {
356
356
  this.mru.splice(mruIndex, 1);
357
357
  this.mru.unshift(editor);
358
358
  const event = {
359
- kind: 6 ,
359
+ kind: 7 ,
360
360
  editor,
361
361
  editorIndex
362
362
  };
@@ -365,6 +365,9 @@ let EditorGroupModel = class EditorGroupModel extends Disposable {
365
365
  setIndex(index) {
366
366
  this._onDidModelChange.fire({ kind: 1 });
367
367
  }
368
+ setLabel(label) {
369
+ this._onDidModelChange.fire({ kind: 2 });
370
+ }
368
371
  pin(candidate) {
369
372
  const res = this.findEditor(candidate);
370
373
  if (!res) {
@@ -380,7 +383,7 @@ let EditorGroupModel = class EditorGroupModel extends Disposable {
380
383
  }
381
384
  this.preview = null;
382
385
  const event = {
383
- kind: 9 ,
386
+ kind: 10 ,
384
387
  editor,
385
388
  editorIndex
386
389
  };
@@ -402,7 +405,7 @@ let EditorGroupModel = class EditorGroupModel extends Disposable {
402
405
  const oldPreview = this.preview;
403
406
  this.preview = editor;
404
407
  const event = {
405
- kind: 9 ,
408
+ kind: 10 ,
406
409
  editor,
407
410
  editorIndex
408
411
  };
@@ -439,7 +442,7 @@ let EditorGroupModel = class EditorGroupModel extends Disposable {
439
442
  this.moveEditor(editor, newEditorIndex);
440
443
  this.sticky++;
441
444
  const event = {
442
- kind: 10 ,
445
+ kind: 11 ,
443
446
  editor,
444
447
  editorIndex: newEditorIndex
445
448
  };
@@ -462,7 +465,7 @@ let EditorGroupModel = class EditorGroupModel extends Disposable {
462
465
  this.moveEditor(editor, newEditorIndex);
463
466
  this.sticky--;
464
467
  const event = {
465
- kind: 10 ,
468
+ kind: 11 ,
466
469
  editor,
467
470
  editorIndex: newEditorIndex
468
471
  };
@@ -580,7 +583,7 @@ let EditorGroupModel = class EditorGroupModel extends Disposable {
580
583
  lock(locked) {
581
584
  if (this.isLocked !== locked) {
582
585
  this.locked = locked;
583
- this._onDidModelChange.fire({ kind: 2 });
586
+ this._onDidModelChange.fire({ kind: 3 });
584
587
  }
585
588
  }
586
589
  clone() {
@@ -1,9 +1,10 @@
1
1
  import { Emitter, Event } from '../../../base/common/event.js';
2
2
  import { URI } from '../../../base/common/uri.js';
3
- import { IEditorOptions, IEditorModel } from '../../../platform/editor/common/editor.js';
3
+ import { IEditorOptions } from '../../../platform/editor/common/editor.js';
4
4
  import { IEditorIdentifier, AbstractEditorInput, EditorInputCapabilities, Verbosity, GroupIdentifier, ISaveOptions, IUntypedEditorInput, IRevertOptions, IMoveResult, IEditorDescriptor, IEditorPane } from '../editor.js';
5
5
  import { ConfirmResult } from '../../../platform/dialogs/common/dialogs.js';
6
6
  import { IMarkdownString } from '../../../base/common/htmlContent.js';
7
+ import { IDisposable } from '../../../base/common/lifecycle.js';
7
8
 
8
9
  interface IEditorCloseHandler {
9
10
  /**
@@ -135,14 +136,14 @@ declare abstract class EditorInput extends AbstractEditorInput {
135
136
  */
136
137
  isSaving(): boolean;
137
138
  /**
138
- * Returns a type of `IEditorModel` that represents the resolved input.
139
+ * Returns a type of `IDisposable` that represents the resolved input.
139
140
  * Subclasses should override to provide a meaningful model or return
140
141
  * `null` if the editor does not require a model.
141
142
  *
142
143
  * The `options` parameter are passed down from the editor when the
143
144
  * input is resolved as part of it.
144
145
  */
145
- resolve(options?: IEditorOptions): Promise<IEditorModel | null>;
146
+ resolve(options?: IEditorOptions): Promise<IDisposable | null>;
146
147
  /**
147
148
  * Saves the editor. The provided groupId helps implementors
148
149
  * to e.g. preserve view state of the editor and re-open it
@@ -1,13 +1,12 @@
1
1
  import { Event } from '../../../base/common/event.js';
2
2
  import { Disposable } from '../../../base/common/lifecycle.js';
3
- import { IEditorModel } from '../../../platform/editor/common/editor.js';
4
3
 
5
4
  /**
6
5
  * The editor model is the heavyweight counterpart of editor input. Depending on the editor input, it
7
6
  * resolves from a file system retrieve content and may allow for saving it back or reverting it.
8
7
  * Editor models are typically cached for some while because they are expensive to construct.
9
8
  */
10
- declare class EditorModel extends Disposable implements IEditorModel {
9
+ declare class EditorModel extends Disposable {
11
10
  private readonly _onWillDispose;
12
11
  readonly onWillDispose: Event<void>;
13
12
  private resolved;
@@ -2,7 +2,7 @@ import { __decorate, __param } from '../../../../../../external/tslib/tslib.es6.
2
2
  import { Event } from 'monaco-editor/esm/vs/base/common/event.js';
3
3
  import { localizeWithPath } from 'monaco-editor/esm/vs/nls.js';
4
4
  import { Registry } from 'monaco-editor/esm/vs/platform/registry/common/platform.js';
5
- import { isResourceDiffEditorInput, isResourceSideBySideEditorInput, isResourceMergeEditorInput, isEditorInput, findViewStateForEditor, isResourceEditorInput, isDiffEditorInput, EditorExtensions } from '../editor.js';
5
+ import { isResourceDiffEditorInput, isResourceDiffListEditorInput, isResourceSideBySideEditorInput, isResourceMergeEditorInput, isEditorInput, findViewStateForEditor, isResourceEditorInput, isDiffEditorInput, EditorExtensions } from '../editor.js';
6
6
  import { EditorInput } from './editorInput.js';
7
7
  import { IEditorService } from '../../services/editor/common/editorService.js';
8
8
  var SideBySideEditorInput_1;
@@ -85,10 +85,27 @@ let SideBySideEditorInput = class SideBySideEditorInput extends EditorInput {
85
85
  return this.preferredDescription;
86
86
  }
87
87
  getTitle(verbosity) {
88
+ let title;
88
89
  if (this.hasIdenticalSides) {
89
- return this.primary.getTitle(verbosity) ?? this.getName();
90
+ title = this.primary.getTitle(verbosity) ?? this.getName();
90
91
  }
91
- return super.getTitle(verbosity);
92
+ else {
93
+ title = super.getTitle(verbosity);
94
+ }
95
+ const preferredTitle = this.getPreferredTitle();
96
+ if (preferredTitle) {
97
+ title = `${preferredTitle} (${title})`;
98
+ }
99
+ return title;
100
+ }
101
+ getPreferredTitle() {
102
+ if (this.preferredName && this.preferredDescription) {
103
+ return `${this.preferredName} ${this.preferredDescription}`;
104
+ }
105
+ if (this.preferredName || this.preferredDescription) {
106
+ return this.preferredName ?? this.preferredDescription;
107
+ }
108
+ return undefined;
92
109
  }
93
110
  getLabelExtraClasses() {
94
111
  if (this.hasIdenticalSides) {
@@ -136,7 +153,7 @@ let SideBySideEditorInput = class SideBySideEditorInput extends EditorInput {
136
153
  this.editorService
137
154
  ));
138
155
  }
139
- if (!isResourceDiffEditorInput(primarySaveResult) && !isResourceSideBySideEditorInput(primarySaveResult) && !isResourceMergeEditorInput(primarySaveResult)) {
156
+ if (!isResourceDiffEditorInput(primarySaveResult) && !isResourceDiffListEditorInput(primarySaveResult) && !isResourceSideBySideEditorInput(primarySaveResult) && !isResourceMergeEditorInput(primarySaveResult)) {
140
157
  return {
141
158
  primary: primarySaveResult,
142
159
  secondary: primarySaveResult,
@@ -196,6 +213,7 @@ let SideBySideEditorInput = class SideBySideEditorInput extends EditorInput {
196
213
  const secondaryResourceEditorInput = this.secondary.toUntyped(options);
197
214
  if (primaryResourceEditorInput && secondaryResourceEditorInput &&
198
215
  !isResourceDiffEditorInput(primaryResourceEditorInput) && !isResourceDiffEditorInput(secondaryResourceEditorInput) &&
216
+ !isResourceDiffListEditorInput(primaryResourceEditorInput) && !isResourceDiffListEditorInput(secondaryResourceEditorInput) &&
199
217
  !isResourceSideBySideEditorInput(primaryResourceEditorInput) && !isResourceSideBySideEditorInput(secondaryResourceEditorInput) &&
200
218
  !isResourceMergeEditorInput(primaryResourceEditorInput) && !isResourceMergeEditorInput(secondaryResourceEditorInput)) {
201
219
  const untypedInput = {
@@ -60,13 +60,13 @@ let TextResourceEditorInput = class TextResourceEditorInput extends AbstractText
60
60
  get editorId() {
61
61
  return DEFAULT_EDITOR_ASSOCIATION.id;
62
62
  }
63
- constructor(resource, name, description, preferredLanguageId, preferredContents, textModelResolverService, textFileService, editorService, fileService, labelService, filesConfigurationService) {
63
+ constructor(resource, name, description, preferredLanguageId, preferredContents, textModelService, textFileService, editorService, fileService, labelService, filesConfigurationService) {
64
64
  super(resource, undefined, editorService, textFileService, labelService, fileService, filesConfigurationService);
65
65
  this.name = name;
66
66
  this.description = description;
67
67
  this.preferredLanguageId = preferredLanguageId;
68
68
  this.preferredContents = preferredContents;
69
- this.textModelResolverService = textModelResolverService;
69
+ this.textModelService = textModelService;
70
70
  this.cachedModel = undefined;
71
71
  this.modelReference = undefined;
72
72
  }
@@ -104,7 +104,7 @@ let TextResourceEditorInput = class TextResourceEditorInput extends AbstractText
104
104
  this.preferredContents = undefined;
105
105
  this.preferredLanguageId = undefined;
106
106
  if (!this.modelReference) {
107
- this.modelReference = this.textModelResolverService.createModelReference(this.resource);
107
+ this.modelReference = this.textModelService.createModelReference(this.resource);
108
108
  }
109
109
  const ref = await this.modelReference;
110
110
  const model = ref.object;
@@ -1,4 +1,5 @@
1
1
  import { Event } from '../../base/common/event.js';
2
+ import { DeepRequiredNonNullable } from '../../base/common/types.js';
2
3
  import { URI } from '../../base/common/uri.js';
3
4
  import { Disposable } from '../../base/common/lifecycle.js';
4
5
  import { IDiffEditor } from '../../editor/common/editorCommon.js';
@@ -10,6 +11,7 @@ import { IEncodingSupport, ILanguageSupport } from '../services/textfile/common/
10
11
  import { IEditorGroup } from '../services/editor/common/editorGroupsService.js';
11
12
  import { IComposite, ICompositeControl } from './composite.js';
12
13
  import { IExtUri } from '../../base/common/resources.js';
14
+ import { IAction } from '../../base/common/actions.js';
13
15
 
14
16
  interface IEditorDescriptor<T extends IEditorPane> {
15
17
  /**
@@ -301,6 +303,18 @@ interface IResourceDiffEditorInput extends IBaseUntypedEditorInput {
301
303
  */
302
304
  readonly modified: IResourceEditorInput | ITextResourceEditorInput | IUntitledTextResourceEditorInput;
303
305
  }
306
+ /**
307
+ * A resource list diff editor input compares multiple resources side by side
308
+ * highlighting the differences.
309
+ */
310
+ interface IResourceMultiDiffEditorInput extends IBaseUntypedEditorInput {
311
+ /**
312
+ * The list of resources to compare.
313
+ */
314
+ readonly resources: (IResourceDiffEditorInput & {
315
+ readonly resource: URI;
316
+ })[];
317
+ }
304
318
  type IResourceMergeEditorInputSide = (IResourceEditorInput | ITextResourceEditorInput) & {
305
319
  detail?: string;
306
320
  };
@@ -445,9 +459,14 @@ declare const enum EditorInputCapabilities {
445
459
  * Signals that the editor cannot be in a dirty state
446
460
  * and may still have unsaved changes
447
461
  */
448
- Scratchpad = 512
462
+ Scratchpad = 512,
463
+ /**
464
+ * Signals that the editor does not support opening in
465
+ * auxiliary windows yet.
466
+ */
467
+ AuxWindowUnsupported = 1024
449
468
  }
450
- type IUntypedEditorInput = IResourceEditorInput | ITextResourceEditorInput | IUntitledTextResourceEditorInput | IResourceDiffEditorInput | IResourceSideBySideEditorInput | IResourceMergeEditorInput;
469
+ type IUntypedEditorInput = IResourceEditorInput | ITextResourceEditorInput | IUntitledTextResourceEditorInput | IResourceDiffEditorInput | IResourceMultiDiffEditorInput | IResourceSideBySideEditorInput | IResourceMergeEditorInput;
451
470
  declare abstract class AbstractEditorInput extends Disposable {
452
471
  }
453
472
  interface EditorInputWithPreferredResource {
@@ -610,24 +629,37 @@ type GroupIdentifier = number;
610
629
  declare const enum GroupModelChangeKind {
611
630
  GROUP_ACTIVE = 0,
612
631
  GROUP_INDEX = 1,
613
- GROUP_LOCKED = 2,
614
- EDITOR_OPEN = 3,
615
- EDITOR_CLOSE = 4,
616
- EDITOR_MOVE = 5,
617
- EDITOR_ACTIVE = 6,
618
- EDITOR_LABEL = 7,
619
- EDITOR_CAPABILITIES = 8,
620
- EDITOR_PIN = 9,
621
- EDITOR_STICKY = 10,
622
- EDITOR_DIRTY = 11,
623
- EDITOR_WILL_DISPOSE = 12
632
+ GROUP_LABEL = 2,
633
+ GROUP_LOCKED = 3,
634
+ EDITOR_OPEN = 4,
635
+ EDITOR_CLOSE = 5,
636
+ EDITOR_MOVE = 6,
637
+ EDITOR_ACTIVE = 7,
638
+ EDITOR_LABEL = 8,
639
+ EDITOR_CAPABILITIES = 9,
640
+ EDITOR_PIN = 10,
641
+ EDITOR_STICKY = 11,
642
+ EDITOR_DIRTY = 12,
643
+ EDITOR_WILL_DISPOSE = 13
644
+ }
645
+ interface IEditorPartLimitConfiguration {
646
+ enabled?: boolean;
647
+ excludeDirty?: boolean;
648
+ value?: number;
649
+ perEditorGroup?: boolean;
650
+ }
651
+ interface IEditorPartDecorationsConfiguration {
652
+ badges?: boolean;
653
+ colors?: boolean;
624
654
  }
625
655
  interface IEditorPartConfiguration {
626
- showTabs?: boolean;
656
+ showTabs?: 'multiple' | 'single' | 'none';
627
657
  wrapTabs?: boolean;
628
658
  scrollToSwitchTabs?: boolean;
629
659
  highlightModifiedTabs?: boolean;
630
- tabCloseButton?: 'left' | 'right' | 'off';
660
+ tabActionLocation?: 'left' | 'right';
661
+ tabActionCloseVisibility?: boolean;
662
+ tabActionUnpinVisibility?: boolean;
631
663
  tabSizing?: 'fit' | 'shrink' | 'fixed';
632
664
  tabSizingFixedMinWidth?: number;
633
665
  tabSizingFixedMaxWidth?: number;
@@ -653,21 +685,15 @@ interface IEditorPartConfiguration {
653
685
  splitInGroupLayout?: 'vertical' | 'horizontal';
654
686
  splitSizing?: 'auto' | 'split' | 'distribute';
655
687
  splitOnDragAndDrop?: boolean;
688
+ dragToOpenWindow?: boolean;
656
689
  centeredLayoutFixedWidth?: boolean;
657
- doubleClickTabToToggleEditorGroupSizes?: boolean;
658
- limit?: {
659
- enabled?: boolean;
660
- excludeDirty?: boolean;
661
- value?: number;
662
- perEditorGroup?: boolean;
663
- };
664
- decorations?: {
665
- badges?: boolean;
666
- colors?: boolean;
667
- };
668
- }
669
- interface IEditorPartOptions extends IEditorPartConfiguration {
670
- hasIcons?: boolean;
690
+ doubleClickTabToToggleEditorGroupSizes?: 'maximize' | 'expand' | 'off';
691
+ editorActionsLocation?: 'default' | 'titleBar' | 'hidden';
692
+ limit?: IEditorPartLimitConfiguration;
693
+ decorations?: IEditorPartDecorationsConfiguration;
694
+ }
695
+ interface IEditorPartOptions extends DeepRequiredNonNullable<IEditorPartConfiguration> {
696
+ hasIcons: boolean;
671
697
  }
672
698
  interface IEditorPartOptionsChangeEvent {
673
699
  oldPartOptions: IEditorPartOptions;
@@ -726,5 +752,9 @@ declare const enum EditorsOrder {
726
752
  */
727
753
  SEQUENTIAL = 1
728
754
  }
755
+ interface IToolbarActions {
756
+ readonly primary: IAction[];
757
+ readonly secondary: IAction[];
758
+ }
729
759
 
730
- export { AbstractEditorInput, CloseDirection, EditorCloseContext, EditorInputCapabilities, type EditorInputWithOptions, type EditorInputWithOptionsAndGroup, type EditorInputWithPreferredResource, EditorPaneSelectionChangeReason, EditorPaneSelectionCompareResult, EditorsOrder, type GroupIdentifier, GroupModelChangeKind, type IActiveEditorChangeEvent, type IEditorCloseEvent, type IEditorControl, type IEditorDescriptor, type IEditorIdentifier, type IEditorMemento, type IEditorOpenContext, type IEditorPane, type IEditorPaneSelection, type IEditorPaneSelectionChangeEvent, type IEditorPartOptions, type IEditorPartOptionsChangeEvent, type IEditorSerializer, type IEditorWillMoveEvent, type IEditorWillOpenEvent, type IFileEditorInput, type IFindEditorOptions, type IMatchEditorOptions, type IMoveResult, type IResourceDiffEditorInput, type IResourceMergeEditorInput, type IResourceMergeEditorInputSide, type IResourceSideBySideEditorInput, type IRevertOptions, type ISaveOptions, type ITextDiffEditorPane, type IUntitledTextResourceEditorInput, type IUntypedEditorInput, type IUntypedFileEditorInput, type IVisibleEditorPane, type PreventPinnedEditorClose, SaveReason, type SaveSource, SideBySideEditor, Verbosity };
760
+ export { AbstractEditorInput, CloseDirection, EditorCloseContext, EditorInputCapabilities, type EditorInputWithOptions, type EditorInputWithOptionsAndGroup, type EditorInputWithPreferredResource, EditorPaneSelectionChangeReason, EditorPaneSelectionCompareResult, EditorsOrder, type GroupIdentifier, GroupModelChangeKind, type IActiveEditorChangeEvent, type IEditorCloseEvent, type IEditorControl, type IEditorDescriptor, type IEditorIdentifier, type IEditorMemento, type IEditorOpenContext, type IEditorPane, type IEditorPaneSelection, type IEditorPaneSelectionChangeEvent, type IEditorPartOptions, type IEditorPartOptionsChangeEvent, type IEditorSerializer, type IEditorWillMoveEvent, type IEditorWillOpenEvent, type IFileEditorInput, type IFindEditorOptions, type IMatchEditorOptions, type IMoveResult, type IResourceDiffEditorInput, type IResourceMergeEditorInput, type IResourceMergeEditorInputSide, type IResourceMultiDiffEditorInput, type IResourceSideBySideEditorInput, type IRevertOptions, type ISaveOptions, type ITextDiffEditorPane, type IToolbarActions, type IUntitledTextResourceEditorInput, type IUntypedEditorInput, type IUntypedFileEditorInput, type IVisibleEditorPane, type PreventPinnedEditorClose, SaveReason, type SaveSource, SideBySideEditor, Verbosity };
@@ -51,6 +51,13 @@ function isResourceDiffEditorInput(editor) {
51
51
  const candidate = editor;
52
52
  return candidate?.original !== undefined && candidate.modified !== undefined;
53
53
  }
54
+ function isResourceDiffListEditorInput(editor) {
55
+ if (isEditorInput(editor)) {
56
+ return false;
57
+ }
58
+ const candidate = editor;
59
+ return Array.isArray(candidate?.resources);
60
+ }
54
61
  function isResourceSideBySideEditorInput(editor) {
55
62
  if (isEditorInput(editor)) {
56
63
  return false;
@@ -107,6 +114,7 @@ var EditorInputCapabilities;
107
114
  EditorInputCapabilities[EditorInputCapabilities["CanDropIntoEditor"] = 128] = "CanDropIntoEditor";
108
115
  EditorInputCapabilities[EditorInputCapabilities["MultipleEditors"] = 256] = "MultipleEditors";
109
116
  EditorInputCapabilities[EditorInputCapabilities["Scratchpad"] = 512] = "Scratchpad";
117
+ EditorInputCapabilities[EditorInputCapabilities["AuxWindowUnsupported"] = 1024] = "AuxWindowUnsupported";
110
118
  })(EditorInputCapabilities || (EditorInputCapabilities = {})));
111
119
  class AbstractEditorInput extends Disposable {
112
120
  }
@@ -201,7 +209,7 @@ class EditorResourceAccessorImpl {
201
209
  editor = options.supportSideBySide === SideBySideEditor.PRIMARY ? primary : secondary;
202
210
  }
203
211
  }
204
- if (isResourceDiffEditorInput(editor) || isResourceSideBySideEditorInput(editor) || isResourceMergeEditorInput(editor)) {
212
+ if (isResourceDiffEditorInput(editor) || isResourceDiffListEditorInput(editor) || isResourceSideBySideEditorInput(editor) || isResourceMergeEditorInput(editor)) {
205
213
  return undefined;
206
214
  }
207
215
  const originalResource = isEditorInputWithPreferredResource(editor) ? editor.preferredResource : editor.resource;
@@ -241,7 +249,7 @@ class EditorResourceAccessorImpl {
241
249
  editor = options.supportSideBySide === SideBySideEditor.PRIMARY ? primary : secondary;
242
250
  }
243
251
  }
244
- if (isResourceDiffEditorInput(editor) || isResourceSideBySideEditorInput(editor) || isResourceMergeEditorInput(editor)) {
252
+ if (isResourceDiffEditorInput(editor) || isResourceDiffListEditorInput(editor) || isResourceSideBySideEditorInput(editor) || isResourceMergeEditorInput(editor)) {
245
253
  return undefined;
246
254
  }
247
255
  const canonicalResource = editor.resource;
@@ -404,4 +412,4 @@ function createEditorOpenError(messageOrError, actions, options) {
404
412
  error.allowDialog = options?.allowDialog;
405
413
  return error;
406
414
  }
407
- export { AbstractEditorInput, BINARY_DIFF_EDITOR_ID, CloseDirection, DEFAULT_EDITOR_ASSOCIATION, EditorCloseContext, EditorCloseMethod, EditorExtensions, EditorInputCapabilities, EditorResourceAccessor, EditorsOrder, SIDE_BY_SIDE_EDITOR_ID, SaveSourceRegistry, SideBySideEditor, TEXT_DIFF_EDITOR_ID, createEditorOpenError, createTooLargeFileError, findViewStateForEditor, isDiffEditorInput, isEditorIdentifier, isEditorInput, isEditorInputWithOptions, isEditorInputWithOptionsAndGroup, isEditorOpenError, isEditorPaneWithSelection, isResourceDiffEditorInput, isResourceEditorInput, isResourceMergeEditorInput, isResourceSideBySideEditorInput, isSideBySideEditorInput, isTextEditorViewState, isUntitledResourceEditorInput, pathsToEditors, preventEditorClose };
415
+ export { AbstractEditorInput, BINARY_DIFF_EDITOR_ID, CloseDirection, DEFAULT_EDITOR_ASSOCIATION, EditorCloseContext, EditorCloseMethod, EditorExtensions, EditorInputCapabilities, EditorResourceAccessor, EditorsOrder, SIDE_BY_SIDE_EDITOR_ID, SaveSourceRegistry, SideBySideEditor, TEXT_DIFF_EDITOR_ID, createEditorOpenError, createTooLargeFileError, findViewStateForEditor, isDiffEditorInput, isEditorIdentifier, isEditorInput, isEditorInputWithOptions, isEditorInputWithOptionsAndGroup, isEditorOpenError, isEditorPaneWithSelection, isResourceDiffEditorInput, isResourceDiffListEditorInput, isResourceEditorInput, isResourceMergeEditorInput, isResourceSideBySideEditorInput, isSideBySideEditorInput, isTextEditorViewState, isUntitledResourceEditorInput, pathsToEditors, preventEditorClose };
@@ -312,7 +312,7 @@ const EDITOR_GROUP_HEADER_NO_TABS_BACKGROUND = registerColor('editorGroupHeader.
312
312
  }, ( localizeWithPath(
313
313
  'vs/workbench/common/theme',
314
314
  'editorGroupHeaderBackground',
315
- "Background color of the editor group title header when tabs are disabled (`\"workbench.editor.showTabs\": false`). Editor groups are the containers of editors."
315
+ "Background color of the editor group title header when (`\"workbench.editor.showTabs\": \"single\"`). Editor groups are the containers of editors."
316
316
  )));
317
317
  const EDITOR_GROUP_HEADER_BORDER = registerColor('editorGroupHeader.border', {
318
318
  dark: null,
@@ -1185,7 +1185,7 @@ registerColor('commandCenter.activeBackground', { dark: ( Color.white.transparen
1185
1185
  'commandCenter-activeBackground',
1186
1186
  "Active background color of the command center"
1187
1187
  )), false);
1188
- registerColor('commandCenter.border', { dark: ( transparent(TITLE_BAR_ACTIVE_FOREGROUND, .20)), hcDark: ( transparent(TITLE_BAR_ACTIVE_FOREGROUND, .60)), light: ( transparent(TITLE_BAR_ACTIVE_FOREGROUND, .20)), hcLight: ( transparent(TITLE_BAR_ACTIVE_FOREGROUND, .60)) }, ( localizeWithPath(
1188
+ registerColor('commandCenter.border', { dark: ( transparent(TITLE_BAR_ACTIVE_FOREGROUND, .20)), hcDark: contrastBorder, light: ( transparent(TITLE_BAR_ACTIVE_FOREGROUND, .20)), hcLight: contrastBorder }, ( localizeWithPath(
1189
1189
  'vs/workbench/common/theme',
1190
1190
  'commandCenter-border',
1191
1191
  "Border color of the command center"
@@ -82,7 +82,7 @@ interface ViewContainer extends IViewContainerDescriptor {
82
82
  interface IViewDescriptor {
83
83
  readonly type?: string;
84
84
  readonly id: string;
85
- readonly name: string;
85
+ readonly name: ILocalizedString;
86
86
  readonly ctorDescriptor: SyncDescriptor<IView>;
87
87
  readonly when?: ContextKeyExpression;
88
88
  readonly order?: number;
@@ -214,7 +214,7 @@ interface IViewDescriptorService {
214
214
  from: ViewContainerLocation;
215
215
  to: ViewContainerLocation;
216
216
  }>;
217
- moveViewContainerToLocation(viewContainer: ViewContainer, location: ViewContainerLocation, requestedIndex?: number): void;
217
+ moveViewContainerToLocation(viewContainer: ViewContainer, location: ViewContainerLocation, requestedIndex?: number, reason?: string): void;
218
218
  getViewContainerBadgeEnablementState(id: string): boolean;
219
219
  setViewContainerBadgeEnablementState(id: string, badgesEnabled: boolean): void;
220
220
  getViewDescriptorById(id: string): IViewDescriptor | null;
@@ -226,13 +226,13 @@ interface IViewDescriptorService {
226
226
  from: ViewContainer;
227
227
  to: ViewContainer;
228
228
  }>;
229
- moveViewsToContainer(views: IViewDescriptor[], viewContainer: ViewContainer, visibilityState?: ViewVisibilityState): void;
229
+ moveViewsToContainer(views: IViewDescriptor[], viewContainer: ViewContainer, visibilityState?: ViewVisibilityState, reason?: string): void;
230
230
  readonly onDidChangeLocation: Event<{
231
231
  views: IViewDescriptor[];
232
232
  from: ViewContainerLocation;
233
233
  to: ViewContainerLocation;
234
234
  }>;
235
- moveViewToLocation(view: IViewDescriptor, location: ViewContainerLocation): void;
235
+ moveViewToLocation(view: IViewDescriptor, location: ViewContainerLocation, reason?: string): void;
236
236
  reset(): void;
237
237
  }
238
238
  interface IEditableData {
@@ -8,6 +8,8 @@ import { flatten } from 'monaco-editor/esm/vs/base/common/arrays.js';
8
8
  import { mixin } from 'monaco-editor/esm/vs/base/common/objects.js';
9
9
  import { Codicon } from 'monaco-editor/esm/vs/base/common/codicons.js';
10
10
  import { registerIcon } from 'monaco-editor/esm/vs/platform/theme/common/iconRegistry.js';
11
+ const VIEWS_LOG_ID = 'views';
12
+ const VIEWS_LOG_NAME = ( localizeWithPath('vs/workbench/common/views', 'views log', "Views"));
11
13
  const defaultViewIcon = registerIcon('default-view-icon', Codicon.window, ( localizeWithPath('vs/workbench/common/views', 'defaultViewIcon', 'Default view icon.')));
12
14
  var Extensions;
13
15
  ( (function(Extensions) {
@@ -299,4 +301,4 @@ class NoTreeViewError extends Error {
299
301
  return err.name === 'NoTreeViewError';
300
302
  }
301
303
  }
302
- export { Extensions, IViewDescriptorService, IViewsService, NoTreeViewError, ResolvableTreeItem, TreeItemCollapsibleState, ViewContainerLocation, ViewContainerLocationToString, ViewContainerLocations, ViewContentGroups, ViewVisibilityState, defaultViewIcon };
304
+ export { Extensions, IViewDescriptorService, IViewsService, NoTreeViewError, ResolvableTreeItem, TreeItemCollapsibleState, VIEWS_LOG_ID, VIEWS_LOG_NAME, ViewContainerLocation, ViewContainerLocationToString, ViewContainerLocations, ViewContentGroups, ViewVisibilityState, defaultViewIcon };