@codingame/monaco-vscode-api 1.83.15 → 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 (361) hide show
  1. package/README.md +430 -0
  2. package/api.js +13 -7
  3. package/assets/clear.mp3 +0 -0
  4. package/assets/format.mp3 +0 -0
  5. package/assets/save.mp3 +0 -0
  6. package/contributions.js +3 -0
  7. package/extensions.d.ts +13 -3
  8. package/external/{xterm-addon-image/typings/xterm-addon-image.d.ts → @xterm/addon-image/typings/addon-image.d.ts} +1 -1
  9. package/external/{xterm → @xterm/xterm}/typings/xterm.d.ts +13 -1
  10. package/lifecycle.js +2 -2
  11. package/localExtensionHost.js +6 -3
  12. package/missing-services.js +170 -22
  13. package/monaco-editor-treemending.patch +6884 -18018
  14. package/monaco-treemending.js +2 -2
  15. package/package.json +7 -7
  16. package/service-override/tools/editor.d.ts +8 -8
  17. package/service-override/tools/editor.js +44 -19
  18. package/services.d.ts +2 -2
  19. package/services.js +3 -3
  20. package/vscode/src/vs/base/browser/broadcast.js +6 -5
  21. package/vscode/src/vs/base/browser/dnd.d.ts +6 -0
  22. package/vscode/src/vs/base/browser/mouseEvent.d.ts +1 -1
  23. package/vscode/src/vs/base/browser/touch.d.ts +10 -0
  24. package/vscode/src/vs/base/browser/ui/actionbar/actionbar.d.ts +1 -0
  25. package/vscode/src/vs/base/browser/ui/iconLabel/iconHoverDelegate.d.ts +22 -15
  26. package/vscode/src/vs/base/browser/ui/menu/menubar.js +4 -3
  27. package/vscode/src/vs/base/browser/ui/splitview/paneview.css.js +1 -1
  28. package/vscode/src/vs/base/browser/ui/splitview/paneview.d.ts +3 -0
  29. package/vscode/src/vs/base/browser/ui/splitview/paneview.js +34 -11
  30. package/vscode/src/vs/base/common/actions.d.ts +1 -15
  31. package/vscode/src/vs/base/common/async.d.ts +1 -31
  32. package/vscode/src/vs/base/common/event.d.ts +2 -1
  33. package/vscode/src/vs/base/common/observableInternal/base.d.ts +23 -10
  34. package/vscode/src/vs/base/common/prefixTree.js +140 -0
  35. package/vscode/src/vs/base/common/product.d.ts +16 -2
  36. package/vscode/src/vs/base/common/resourceTree.js +135 -0
  37. package/vscode/src/vs/base/common/skipList.js +1 -0
  38. package/vscode/src/vs/base/common/tfIdf.js +137 -0
  39. package/vscode/src/vs/base/common/types.d.ts +13 -1
  40. package/vscode/src/vs/base/common/verifier.js +62 -0
  41. package/vscode/src/vs/editor/browser/editorBrowser.d.ts +4 -2
  42. package/vscode/src/vs/editor/common/config/editorOptions.d.ts +23 -4
  43. package/vscode/src/vs/editor/common/core/lineRange.d.ts +1 -0
  44. package/vscode/src/vs/editor/common/core/offsetRange.d.ts +3 -0
  45. package/vscode/src/vs/editor/common/core/position.d.ts +1 -0
  46. package/vscode/src/vs/editor/common/editorCommon.d.ts +2 -1
  47. package/vscode/src/vs/editor/common/languages.d.ts +23 -1
  48. package/vscode/src/vs/editor/common/services/languageFeatures.d.ts +2 -1
  49. package/vscode/src/vs/editor/common/services/resolverService.d.ts +11 -2
  50. package/vscode/src/vs/platform/accessibility/common/accessibility.d.ts +16 -1
  51. package/vscode/src/vs/platform/action/common/action.d.ts +8 -0
  52. package/vscode/src/vs/platform/actions/browser/dropdownWithPrimaryActionViewItem.js +4 -0
  53. package/vscode/src/vs/platform/actions/browser/floatingMenu.js +26 -2
  54. package/vscode/src/vs/platform/actions/common/actions.d.ts +8 -0
  55. package/vscode/src/vs/platform/audioCues/browser/audioCueService.d.ts +6 -0
  56. package/vscode/src/vs/platform/commands/common/commands.d.ts +13 -5
  57. package/vscode/src/vs/platform/dialogs/common/dialogs.d.ts +9 -3
  58. package/vscode/src/vs/platform/dialogs/common/dialogs.js +5 -2
  59. package/vscode/src/vs/platform/editor/common/editor.d.ts +3 -15
  60. package/vscode/src/vs/platform/extensionManagement/common/extensionManagement.d.ts +1 -0
  61. package/vscode/src/vs/platform/extensionManagement/common/extensionManagement.js +3 -15
  62. package/vscode/src/vs/platform/extensionManagement/common/implicitActivationEvents.js +5 -0
  63. package/vscode/src/vs/platform/extensions/common/extensions.d.ts +0 -1
  64. package/vscode/src/vs/platform/files/common/files.d.ts +72 -8
  65. package/vscode/src/vs/platform/files/common/watcher.js +77 -0
  66. package/vscode/src/vs/platform/keybinding/common/keybindingsRegistry.d.ts +2 -2
  67. package/vscode/src/vs/platform/layout/browser/layoutService.d.ts +52 -21
  68. package/vscode/src/vs/platform/request/browser/requestService.js +3 -0
  69. package/vscode/src/vs/platform/request/common/requestIpc.js +17 -0
  70. package/vscode/src/vs/platform/storage/common/storage.js +2 -2
  71. package/vscode/src/vs/platform/telemetry/common/telemetry.d.ts +1 -0
  72. package/vscode/src/vs/platform/terminal/common/capabilities/bufferMarkCapability.js +41 -0
  73. package/vscode/src/vs/platform/terminal/common/capabilities/capabilities.d.ts +12 -7
  74. package/vscode/src/vs/platform/terminal/common/capabilities/{commandDetectionCapability.d.ts → commandDetection/terminalCommand.d.ts} +3 -2
  75. package/vscode/src/vs/platform/terminal/common/capabilities/commandDetection/terminalCommand.js +257 -0
  76. package/vscode/src/vs/platform/terminal/common/capabilities/commandDetectionCapability.js +651 -0
  77. package/vscode/src/vs/platform/terminal/common/capabilities/cwdDetectionCapability.js +29 -0
  78. package/vscode/src/vs/platform/terminal/common/capabilities/partialCommandDetectionCapability.js +48 -0
  79. package/vscode/src/vs/platform/terminal/common/capabilities/terminalCapabilityStore.js +94 -0
  80. package/vscode/src/vs/platform/terminal/common/terminalEnvironment.js +37 -0
  81. package/vscode/src/vs/platform/terminal/common/terminalStrings.js +16 -0
  82. package/vscode/src/vs/platform/terminal/common/xterm/shellIntegrationAddon.js +319 -0
  83. package/vscode/src/vs/platform/window/common/window.d.ts +9 -2
  84. package/vscode/src/vs/platform/window/common/window.js +6 -1
  85. package/vscode/src/vs/platform/workspaces/common/workspaces.d.ts +2 -43
  86. package/vscode/src/vs/workbench/api/common/extHost.api.impl.js +113 -81
  87. package/vscode/src/vs/workbench/api/common/extHost.protocol.js +5 -4
  88. package/vscode/src/vs/workbench/api/common/extHostApiCommands.js +25 -3
  89. package/vscode/src/vs/workbench/api/common/extHostChat.js +13 -163
  90. package/vscode/src/vs/workbench/api/common/extHostChatAgents2.js +412 -0
  91. package/vscode/src/vs/workbench/api/common/extHostChatProvider.js +79 -11
  92. package/vscode/src/vs/workbench/api/common/extHostCommands.js +13 -12
  93. package/vscode/src/vs/workbench/api/common/extHostComments.js +1 -1
  94. package/vscode/src/vs/workbench/api/common/extHostEditorTabs.js +8 -6
  95. package/vscode/src/vs/workbench/api/common/extHostExtensionService.js +1 -1
  96. package/vscode/src/vs/workbench/api/common/extHostFileSystemEventService.js +36 -19
  97. package/vscode/src/vs/workbench/api/common/extHostInlineChat.js +52 -31
  98. package/vscode/src/vs/workbench/api/common/extHostIssueReporter.js +38 -0
  99. package/vscode/src/vs/workbench/api/common/extHostLanguageFeatures.js +28 -3
  100. package/vscode/src/vs/workbench/api/common/extHostLanguages.js +10 -0
  101. package/vscode/src/vs/workbench/api/common/extHostNotebook.js +117 -2
  102. package/vscode/src/vs/workbench/api/common/extHostNotebookKernels.js +32 -4
  103. package/vscode/src/vs/workbench/api/common/extHostSCM.js +85 -23
  104. package/vscode/src/vs/workbench/api/common/extHostSearch.js +3 -0
  105. package/vscode/src/vs/workbench/api/common/extHostSpeech.js +42 -0
  106. package/vscode/src/vs/workbench/api/common/extHostTask.js +2 -1
  107. package/vscode/src/vs/workbench/api/common/extHostTelemetry.js +1 -0
  108. package/vscode/src/vs/workbench/api/common/extHostTerminalService.js +3 -3
  109. package/vscode/src/vs/workbench/api/common/extHostTesting.js +97 -47
  110. package/vscode/src/vs/workbench/api/common/extHostTypeConverters.js +115 -16
  111. package/vscode/src/vs/workbench/api/common/extHostTypes.js +66 -36
  112. package/vscode/src/vs/workbench/api/common/extHostWorkspace.js +6 -1
  113. package/vscode/src/vs/workbench/browser/actions/layoutActions.js +182 -75
  114. package/vscode/src/vs/workbench/browser/actions/windowActions.js +176 -4
  115. package/vscode/src/vs/workbench/browser/actions/workspaceActions.js +143 -2
  116. package/vscode/src/vs/workbench/browser/actions/workspaceCommands.js +237 -0
  117. package/vscode/src/vs/workbench/browser/composite.d.ts +0 -4
  118. package/vscode/src/vs/workbench/browser/composite.js +5 -4
  119. package/vscode/src/vs/workbench/browser/dnd.js +72 -23
  120. package/vscode/src/vs/workbench/browser/labels.js +7 -3
  121. package/vscode/src/vs/workbench/browser/media/part.css.js +1 -1
  122. package/vscode/src/vs/workbench/browser/panecomposite.d.ts +2 -2
  123. package/vscode/src/vs/workbench/browser/panecomposite.js +2 -0
  124. package/vscode/src/vs/workbench/browser/part.js +33 -2
  125. package/vscode/src/vs/workbench/browser/parts/compositeBarActions.js +99 -117
  126. package/vscode/src/vs/workbench/browser/parts/editor/editor.contribution.js +173 -33
  127. package/vscode/src/vs/workbench/browser/parts/editor/editor.js +102 -6
  128. package/vscode/src/vs/workbench/browser/parts/editor/editorActions.js +256 -17
  129. package/vscode/src/vs/workbench/browser/parts/editor/editorAutoSave.js +4 -0
  130. package/vscode/src/vs/workbench/browser/parts/editor/editorCommands.js +68 -35
  131. package/vscode/src/vs/workbench/browser/parts/editor/editorPlaceholder.js +5 -5
  132. package/vscode/src/vs/workbench/browser/parts/editor/editorStatus.js +35 -16
  133. package/vscode/src/vs/workbench/browser/parts/editor/editorTabsControl.js +348 -0
  134. package/vscode/src/vs/workbench/browser/parts/editor/editorsObserver.js +43 -31
  135. package/vscode/src/vs/workbench/browser/parts/editor/media/editortabscontrol.css.js +4 -0
  136. package/vscode/src/vs/workbench/browser/parts/editor/sideBySideEditor.js +1 -0
  137. package/vscode/src/vs/workbench/browser/parts/editor/textCodeEditor.js +1 -0
  138. package/vscode/src/vs/workbench/browser/parts/editor/textDiffEditor.js +14 -2
  139. package/vscode/src/vs/workbench/browser/parts/editor/textEditor.js +4 -4
  140. package/vscode/src/vs/workbench/browser/parts/globalCompositeBar.js +277 -0
  141. package/vscode/src/vs/workbench/browser/parts/notifications/notificationsCommands.js +5 -2
  142. package/vscode/src/vs/workbench/browser/parts/panel/media/panelpart.css.js +1 -1
  143. package/vscode/src/vs/workbench/browser/parts/panel/panelActions.js +3 -38
  144. package/vscode/src/vs/workbench/browser/parts/statusbar/statusbarPart.d.ts +54 -52
  145. package/vscode/src/vs/workbench/browser/parts/titlebar/menubarControl.js +2 -1
  146. package/vscode/src/vs/workbench/browser/parts/titlebar/titlebarPart.d.ts +25 -0
  147. package/vscode/src/vs/workbench/browser/parts/titlebar/windowTitle.js +258 -0
  148. package/vscode/src/vs/workbench/browser/parts/views/media/paneviewlet.css.js +1 -1
  149. package/vscode/src/vs/workbench/browser/parts/views/viewPane.d.ts +2 -5
  150. package/vscode/src/vs/workbench/browser/parts/views/viewPane.js +157 -117
  151. package/vscode/src/vs/workbench/browser/parts/views/viewPaneContainer.js +50 -23
  152. package/vscode/src/vs/workbench/browser/parts/views/viewsService.js +26 -11
  153. package/vscode/src/vs/workbench/browser/parts/views/viewsViewlet.js +10 -6
  154. package/vscode/src/vs/workbench/browser/style.js +2 -1
  155. package/vscode/src/vs/workbench/browser/web.api.d.ts +39 -2
  156. package/vscode/src/vs/workbench/browser/window.js +55 -0
  157. package/vscode/src/vs/workbench/browser/workbench.contribution.js +220 -40
  158. package/vscode/src/vs/workbench/common/activity.js +3 -0
  159. package/vscode/src/vs/workbench/common/contextkeys.js +35 -5
  160. package/vscode/src/vs/workbench/common/contributions.js +4 -3
  161. package/vscode/src/vs/workbench/common/editor/diffEditorInput.js +14 -4
  162. package/vscode/src/vs/workbench/common/editor/diffEditorModel.js +1 -1
  163. package/vscode/src/vs/workbench/common/editor/editorGroupModel.js +22 -19
  164. package/vscode/src/vs/workbench/common/editor/editorInput.d.ts +4 -3
  165. package/vscode/src/vs/workbench/common/editor/editorModel.d.ts +1 -2
  166. package/vscode/src/vs/workbench/common/editor/sideBySideEditorInput.js +22 -4
  167. package/vscode/src/vs/workbench/common/editor/textResourceEditorInput.js +3 -3
  168. package/vscode/src/vs/workbench/common/editor.d.ts +60 -30
  169. package/vscode/src/vs/workbench/common/editor.js +11 -3
  170. package/vscode/src/vs/workbench/common/theme.js +2 -2
  171. package/vscode/src/vs/workbench/common/views.d.ts +4 -4
  172. package/vscode/src/vs/workbench/common/views.js +3 -1
  173. package/vscode/src/vs/workbench/contrib/accessibility/browser/accessibilityConfiguration.js +97 -8
  174. package/vscode/src/vs/workbench/contrib/accessibility/browser/accessibilityContributions.js +17 -99
  175. package/vscode/src/vs/workbench/contrib/accessibility/browser/accessibleView.js +103 -37
  176. package/vscode/src/vs/workbench/contrib/accessibility/browser/accessibleViewActions.js +2 -3
  177. package/vscode/src/vs/workbench/contrib/accessibility/browser/editorAccessibilityHelp.js +127 -0
  178. package/vscode/src/vs/workbench/contrib/chat/browser/actions/chatActions.js +71 -0
  179. package/vscode/src/vs/workbench/contrib/chat/browser/chat.js +2 -1
  180. package/vscode/src/vs/workbench/contrib/chat/common/chatAgents.js +33 -110
  181. package/vscode/src/vs/workbench/contrib/chat/common/chatContextKeys.js +64 -0
  182. package/vscode/src/vs/workbench/contrib/chat/common/chatParserTypes.js +94 -0
  183. package/vscode/src/vs/workbench/contrib/chat/common/chatService.js +6 -1
  184. package/vscode/src/vs/workbench/contrib/chat/common/chatSlashCommands.js +1 -88
  185. package/vscode/src/vs/workbench/contrib/codeActions/browser/codeActionsContribution.js +4 -4
  186. package/vscode/src/vs/workbench/contrib/codeEditor/browser/diffEditorHelper.js +3 -2
  187. package/vscode/src/vs/workbench/contrib/codeEditor/browser/quickaccess/gotoSymbolQuickAccess.js +3 -1
  188. package/vscode/src/vs/workbench/contrib/codeEditor/browser/saveParticipants.js +15 -16
  189. package/vscode/src/vs/workbench/contrib/codeEditor/browser/suggestEnabledInput/suggestEnabledInput.js +91 -1
  190. package/vscode/src/vs/workbench/contrib/codeEditor/browser/toggleWordWrap.js +9 -3
  191. package/vscode/src/vs/workbench/contrib/comments/browser/comments.contribution.js +3 -1
  192. package/vscode/src/vs/workbench/contrib/comments/browser/simpleCommentEditor.js +2 -3
  193. package/vscode/src/vs/workbench/contrib/customEditor/browser/customEditorInput.js +1 -0
  194. package/vscode/src/vs/workbench/contrib/debug/common/debug.d.ts +9 -1
  195. package/vscode/src/vs/workbench/contrib/debug/common/debug.js +10 -1
  196. package/vscode/src/vs/workbench/contrib/extensions/browser/extensionsActions.js +114 -22
  197. package/vscode/src/vs/workbench/contrib/extensions/browser/media/extensionActions.css.js +1 -1
  198. package/vscode/src/vs/workbench/contrib/extensions/common/extensions.js +4 -1
  199. package/vscode/src/vs/workbench/contrib/files/browser/explorerFileContrib.js +19 -0
  200. package/vscode/src/vs/workbench/contrib/files/browser/explorerViewlet.js +10 -8
  201. package/vscode/src/vs/workbench/contrib/files/browser/fileActions.js +62 -10
  202. package/vscode/src/vs/workbench/contrib/files/browser/fileConstants.js +2 -1
  203. package/vscode/src/vs/workbench/contrib/files/browser/fileImportExport.js +9 -8
  204. package/vscode/src/vs/workbench/contrib/files/browser/files.contribution.js +10 -1
  205. package/vscode/src/vs/workbench/contrib/files/browser/files.d.ts +1 -0
  206. package/vscode/src/vs/workbench/contrib/files/browser/files.js +7 -3
  207. package/vscode/src/vs/workbench/contrib/files/browser/views/emptyView.js +4 -4
  208. package/vscode/src/vs/workbench/contrib/files/browser/views/explorerView.js +64 -36
  209. package/vscode/src/vs/workbench/contrib/files/browser/views/explorerViewer.js +42 -17
  210. package/vscode/src/vs/workbench/contrib/files/browser/views/openEditorsView.js +145 -25
  211. package/vscode/src/vs/workbench/contrib/format/browser/formatActionsMultiple.js +423 -0
  212. package/vscode/src/vs/workbench/contrib/format/browser/formatActionsNone.js +82 -0
  213. package/vscode/src/vs/workbench/contrib/format/browser/formatModified.js +1 -1
  214. package/vscode/src/vs/workbench/contrib/inlineChat/common/inlineChat.js +36 -0
  215. package/vscode/src/vs/workbench/contrib/notebook/common/notebookCommon.js +3 -1
  216. package/vscode/src/vs/workbench/contrib/preferences/common/preferences.js +24 -3
  217. package/vscode/src/vs/workbench/contrib/scm/browser/dirtydiffDecorator.js +11 -6
  218. package/vscode/src/vs/workbench/contrib/scm/common/scm.js +1 -2
  219. package/vscode/src/vs/workbench/contrib/search/browser/notebookSearch/searchNotebookHelpers.js +31 -0
  220. package/vscode/src/vs/workbench/contrib/search/browser/searchModel.js +61 -41
  221. package/vscode/src/vs/workbench/contrib/search/{browser/searchNotebookHelpers.js → common/cellSearchModel.js} +4 -63
  222. package/vscode/src/vs/workbench/contrib/search/common/searchNotebookHelpers.js +40 -0
  223. package/vscode/src/vs/workbench/contrib/snippets/browser/snippetsFile.js +2 -2
  224. package/vscode/src/vs/workbench/contrib/speech/common/speechService.js +3 -0
  225. package/vscode/src/vs/workbench/contrib/terminal/browser/detachedTerminal.js +92 -0
  226. package/vscode/src/vs/workbench/contrib/terminal/browser/terminal.d.ts +100 -79
  227. package/vscode/src/vs/workbench/contrib/terminal/browser/terminalConfigHelper.d.ts +3 -3
  228. package/vscode/src/vs/workbench/contrib/terminal/browser/terminalEditorInput.js +1 -1
  229. package/vscode/src/vs/workbench/contrib/terminal/browser/terminalExtensions.js +25 -0
  230. package/vscode/src/vs/workbench/contrib/terminal/browser/terminalIcon.js +7 -4
  231. package/vscode/src/vs/workbench/contrib/terminal/browser/terminalIcons.js +64 -0
  232. package/vscode/src/vs/workbench/contrib/terminal/browser/widgets/widgetManager.js +36 -0
  233. package/vscode/src/vs/workbench/contrib/terminal/browser/xterm/decorationAddon.js +540 -0
  234. package/vscode/src/vs/workbench/contrib/terminal/browser/xterm/decorationStyles.js +104 -0
  235. package/vscode/src/vs/workbench/contrib/terminal/browser/xterm/markNavigationAddon.js +518 -0
  236. package/vscode/src/vs/workbench/contrib/terminal/browser/xterm/suggestAddon.js +390 -0
  237. package/vscode/src/vs/workbench/contrib/terminal/browser/xterm/xtermTerminal.d.ts +17 -11
  238. package/vscode/src/vs/workbench/contrib/terminal/browser/xterm/xtermTerminal.js +814 -0
  239. package/vscode/src/vs/workbench/contrib/terminal/browser/xterm-private.d.ts +5 -2
  240. package/vscode/src/vs/workbench/contrib/terminal/common/terminal.d.ts +2 -8
  241. package/vscode/src/vs/workbench/contrib/terminal/common/terminal.js +2 -0
  242. package/vscode/src/vs/workbench/contrib/testing/common/getComputedState.js +101 -0
  243. package/vscode/src/vs/workbench/contrib/testing/common/observableValue.js +30 -0
  244. package/vscode/src/vs/workbench/contrib/testing/common/storedValue.js +36 -0
  245. package/vscode/src/vs/workbench/contrib/testing/common/testCoverage.js +115 -0
  246. package/vscode/src/vs/workbench/contrib/testing/common/testCoverageService.js +74 -0
  247. package/vscode/src/vs/workbench/contrib/testing/common/testExplorerFilterState.js +116 -0
  248. package/vscode/src/vs/workbench/contrib/testing/common/testProfileService.js +172 -1
  249. package/vscode/src/vs/workbench/contrib/testing/common/testResult.js +384 -0
  250. package/vscode/src/vs/workbench/contrib/testing/common/testResultService.js +156 -1
  251. package/vscode/src/vs/workbench/contrib/testing/common/testResultStorage.js +156 -0
  252. package/vscode/src/vs/workbench/contrib/testing/common/testService.js +75 -1
  253. package/vscode/src/vs/workbench/contrib/testing/common/testTypes.js +72 -1
  254. package/vscode/src/vs/workbench/contrib/testing/common/testingContextKeys.js +188 -0
  255. package/vscode/src/vs/workbench/contrib/testing/common/testingContinuousRunService.js +102 -0
  256. package/vscode/src/vs/workbench/contrib/testing/common/testingDecorations.js +29 -0
  257. package/vscode/src/vs/workbench/{services/editor/browser/editorDropService.js → contrib/testing/common/testingPeekOpener.js} +2 -2
  258. package/vscode/src/vs/workbench/contrib/testing/common/testingStates.js +47 -0
  259. package/vscode/src/vs/workbench/contrib/webview/browser/webviewWindowDragMonitor.js +4 -3
  260. package/vscode/src/vs/workbench/contrib/webviewPanel/browser/webviewEditor.js +8 -9
  261. package/vscode/src/vs/workbench/contrib/webviewPanel/browser/webviewEditorInput.js +1 -1
  262. package/vscode/src/vs/workbench/contrib/webviewPanel/browser/webviewIconManager.js +5 -2
  263. package/vscode/src/vs/workbench/services/activity/browser/activityService.d.ts +16 -10
  264. package/vscode/src/vs/workbench/services/activity/common/activity.d.ts +14 -1
  265. package/vscode/src/vs/workbench/services/activity/common/activity.js +1 -7
  266. package/vscode/src/vs/workbench/services/authentication/browser/authenticationService.js +9 -28
  267. package/vscode/src/vs/workbench/services/auxiliaryWindow/browser/auxiliaryWindowService.js +273 -0
  268. package/vscode/src/vs/workbench/services/configurationResolver/common/configurationResolver.js +1 -0
  269. package/vscode/src/vs/workbench/services/configurationResolver/common/variableResolver.js +2 -0
  270. package/vscode/src/vs/workbench/services/decorations/browser/decorationsService.js +2 -3
  271. package/vscode/src/vs/workbench/services/editor/browser/editorService.d.ts +7 -5
  272. package/vscode/src/vs/workbench/services/editor/browser/editorService.js +59 -37
  273. package/vscode/src/vs/workbench/services/editor/common/editorGroupsService.d.ts +193 -94
  274. package/vscode/src/vs/workbench/services/editor/common/editorGroupsService.js +2 -2
  275. package/vscode/src/vs/workbench/services/editor/common/editorResolverService.d.ts +8 -2
  276. package/vscode/src/vs/workbench/services/editor/common/editorService.d.ts +8 -1
  277. package/vscode/src/vs/workbench/services/extensionRecommendations/common/workspaceExtensionsConfig.js +62 -16
  278. package/vscode/src/vs/workbench/services/extensions/browser/extensionUrlHandler.js +5 -3
  279. package/vscode/src/vs/workbench/services/extensions/common/abstractExtensionService.d.ts +3 -2
  280. package/vscode/src/vs/workbench/services/extensions/common/extensionDescriptionRegistry.js +4 -9
  281. package/vscode/src/vs/workbench/services/extensions/common/{extensionHostManager.d.ts → extensionHostManagers.d.ts} +2 -0
  282. package/vscode/src/vs/workbench/services/extensions/common/extensionRunningLocationTracker.d.ts +1 -1
  283. package/vscode/src/vs/workbench/services/extensions/common/extensions.d.ts +9 -0
  284. package/vscode/src/vs/workbench/services/extensions/common/extensions.js +22 -0
  285. package/vscode/src/vs/workbench/services/extensions/common/extensionsApiProposals.js +14 -3
  286. package/vscode/src/vs/workbench/services/extensions/common/extensionsRegistry.js +9 -0
  287. package/vscode/src/vs/workbench/services/filesConfiguration/common/filesConfigurationService.js +3 -3
  288. package/vscode/src/vs/workbench/services/history/common/history.d.ts +2 -2
  289. package/vscode/src/vs/workbench/services/host/browser/browserHostService.js +49 -18
  290. package/vscode/src/vs/workbench/services/host/browser/host.d.ts +29 -7
  291. package/vscode/src/vs/workbench/services/hover/browser/hover.d.ts +51 -28
  292. package/vscode/src/vs/workbench/services/hover/browser/hoverService.d.ts +5 -2
  293. package/vscode/src/vs/workbench/services/keybinding/browser/unboundCommands.js +2 -2
  294. package/vscode/src/vs/workbench/services/languageStatus/common/languageStatusService.d.ts +4 -1
  295. package/vscode/src/vs/workbench/services/layout/browser/layoutService.d.ts +40 -36
  296. package/vscode/src/vs/workbench/services/panecomposite/browser/panecomposite.d.ts +0 -6
  297. package/vscode/src/vs/workbench/services/preferences/common/preferences.d.ts +3 -0
  298. package/vscode/src/vs/workbench/services/progress/browser/progressIndicator.js +2 -2
  299. package/vscode/src/vs/workbench/services/remote/common/remoteExplorerService.d.ts +16 -1
  300. package/vscode/src/vs/workbench/services/request/browser/requestService.js +48 -0
  301. package/vscode/src/vs/workbench/services/search/common/searchHelpers.js +4 -4
  302. package/vscode/src/vs/workbench/services/statusbar/browser/statusbar.d.ts +10 -51
  303. package/vscode/src/vs/workbench/services/suggest/browser/media/suggest.css.js +4 -0
  304. package/vscode/src/vs/workbench/services/suggest/browser/simpleCompletionItem.js +10 -0
  305. package/vscode/src/vs/workbench/services/suggest/browser/simpleCompletionModel.js +98 -0
  306. package/vscode/src/vs/workbench/services/suggest/browser/simpleSuggestWidget.js +428 -0
  307. package/vscode/src/vs/workbench/services/suggest/browser/simpleSuggestWidgetRenderer.js +83 -0
  308. package/vscode/src/vs/workbench/services/textfile/browser/textFileService.js +32 -1
  309. package/vscode/src/vs/workbench/services/textfile/common/textEditorService.js +1 -5
  310. package/vscode/src/vs/workbench/services/themes/browser/browserHostColorSchemeService.js +4 -3
  311. package/vscode/src/vs/workbench/services/themes/common/iconExtensionPoint.js +9 -3
  312. package/vscode/src/vs/workbench/services/title/browser/titleService.d.ts +18 -0
  313. package/vscode/src/vs/workbench/services/untitled/common/untitledTextEditorInput.js +18 -3
  314. package/vscode/src/vs/workbench/services/untitled/common/untitledTextEditorModel.js +16 -7
  315. package/vscode/src/vs/workbench/services/untitled/common/untitledTextEditorService.d.ts +6 -0
  316. package/vscode/src/vs/workbench/services/untitled/common/untitledTextEditorService.js +13 -0
  317. package/vscode/src/vs/workbench/services/url/browser/urlService.js +2 -1
  318. package/vscode/src/vs/workbench/services/userActivity/common/userActivityService.js +2 -2
  319. package/vscode/src/vs/workbench/services/userDataProfile/common/userDataProfileIcons.js +9 -0
  320. package/vscode-dts/vscode.proposed.chatAgents2.d.ts +375 -0
  321. package/vscode-dts/vscode.proposed.chatAgents2Additions.d.ts +80 -0
  322. package/vscode-dts/vscode.proposed.chatProvider.d.ts +5 -1
  323. package/vscode-dts/vscode.proposed.chatRequestAccess.d.ts +68 -10
  324. package/vscode-dts/vscode.proposed.chatTab.d.ts +21 -0
  325. package/vscode-dts/vscode.proposed.chatVariables.d.ts +5 -1
  326. package/vscode-dts/vscode.proposed.codeActionAI.d.ts +16 -0
  327. package/vscode-dts/vscode.proposed.contribSourceControlInputBoxMenu.d.ts +7 -0
  328. package/vscode-dts/vscode.proposed.createFileSystemWatcher.d.ts +51 -0
  329. package/vscode-dts/vscode.proposed.defaultChatAgent.d.ts +30 -0
  330. package/vscode-dts/vscode.proposed.handleIssueUri.d.ts +26 -0
  331. package/vscode-dts/vscode.proposed.interactive.d.ts +26 -100
  332. package/vscode-dts/vscode.proposed.interactiveUserActions.d.ts +14 -7
  333. package/vscode-dts/vscode.proposed.languageStatusText.d.ts +12 -0
  334. package/vscode-dts/vscode.proposed.multiDocumentHighlightProvider.d.ts +63 -0
  335. package/vscode-dts/vscode.proposed.notebookVariableProvider.d.ts +43 -0
  336. package/vscode-dts/vscode.proposed.resolvers.d.ts +100 -1
  337. package/vscode-dts/vscode.proposed.scmHistoryProvider.d.ts +9 -1
  338. package/vscode-dts/vscode.proposed.scmInputBoxActionButton.d.ts +19 -0
  339. package/vscode-dts/vscode.proposed.scmInputBoxValueProvider.d.ts +25 -0
  340. package/vscode-dts/vscode.proposed.speech.d.ts +35 -0
  341. package/vscode-dts/vscode.proposed.terminalQuickFixProvider.d.ts +11 -7
  342. package/vscode-dts/vscode.proposed.testCoverage.d.ts +6 -1
  343. package/vscode-dts/vscode.proposed.testingActiveProfile.d.ts +21 -0
  344. package/external/xterm-headless/typings/xterm-headless.d.ts +0 -49
  345. package/vscode/src/vs/platform/backup/common/backup.d.ts +0 -14
  346. package/vscode/src/vs/platform/update/common/update.d.ts +0 -112
  347. package/vscode/src/vs/workbench/api/common/extHostChatAgents.js +0 -62
  348. package/vscode/src/vs/workbench/api/common/extHostChatSlashCommand.js +0 -62
  349. package/vscode/src/vs/workbench/browser/parts/paneCompositePart.d.ts +0 -56
  350. package/vscode/src/vs/workbench/services/files/common/files.js +0 -4
  351. package/vscode/src/vs/workbench/services/host/browser/browserHostService.d.ts +0 -41
  352. package/vscode/src/vs/workbench/services/title/common/titleService.d.ts +0 -31
  353. package/vscode-dts/vscode.proposed.chatAgents.d.ts +0 -39
  354. package/vscode-dts/vscode.proposed.chatSlashCommands.d.ts +0 -47
  355. package/vscode-dts/vscode.proposed.testMessageContextValue.d.ts +0 -45
  356. /package/external/{xterm-addon-canvas/typings/xterm-addon-canvas.d.ts → @xterm/addon-canvas/typings/addon-canvas.d.ts} +0 -0
  357. /package/external/{xterm-addon-search/typings/xterm-addon-search.d.ts → @xterm/addon-search/typings/addon-search.d.ts} +0 -0
  358. /package/external/{xterm-addon-serialize/typings/xterm-addon-serialize.d.ts → @xterm/addon-serialize/typings/addon-serialize.d.ts} +0 -0
  359. /package/external/{xterm-addon-unicode11/typings/xterm-addon-unicode11.d.ts → @xterm/addon-unicode11/typings/addon-unicode11.d.ts} +0 -0
  360. /package/external/{xterm-addon-webgl/typings/xterm-addon-webgl.d.ts → @xterm/addon-webgl/typings/addon-webgl.d.ts} +0 -0
  361. /package/vscode/src/vs/workbench/services/title/{common → browser}/titleService.js +0 -0
@@ -256,6 +256,7 @@ let SideBySideEditor = class SideBySideEditor extends AbstractEditorWithViewStat
256
256
  this.disposeEditors();
257
257
  }
258
258
  focus() {
259
+ super.focus();
259
260
  this.getLastFocusedEditorPane()?.focus();
260
261
  }
261
262
  getLastFocusedEditorPane() {
@@ -63,6 +63,7 @@ class AbstractTextCodeEditor extends AbstractTextEditor {
63
63
  }
64
64
  }
65
65
  focus() {
66
+ super.focus();
66
67
  this.editorControl?.focus();
67
68
  }
68
69
  hasFocus() {
@@ -42,6 +42,7 @@ let TextDiffEditor = class TextDiffEditor extends AbstractTextEditor {
42
42
  this.preferencesService = preferencesService;
43
43
  this.diffEditorControl = undefined;
44
44
  this.inputLifecycleStopWatch = undefined;
45
+ this._previousViewModel = null;
45
46
  }
46
47
  getTitle() {
47
48
  if (this.input) {
@@ -63,6 +64,10 @@ let TextDiffEditor = class TextDiffEditor extends AbstractTextEditor {
63
64
  return this.diffEditorControl?.getModifiedEditor();
64
65
  }
65
66
  async setInput(input, options, context, token) {
67
+ if (this._previousViewModel) {
68
+ this._previousViewModel.dispose();
69
+ this._previousViewModel = null;
70
+ }
66
71
  this.inputLifecycleStopWatch = undefined;
67
72
  await super.setInput(input, options, context, token);
68
73
  try {
@@ -77,6 +82,7 @@ let TextDiffEditor = class TextDiffEditor extends AbstractTextEditor {
77
82
  const control = assertIsDefined(this.diffEditorControl);
78
83
  const resolvedDiffEditorModel = resolvedModel;
79
84
  const vm = resolvedDiffEditorModel.textDiffEditorModel ? control.createViewModel(resolvedDiffEditorModel.textDiffEditorModel) : null;
85
+ this._previousViewModel = vm;
80
86
  await vm?.waitForDiff();
81
87
  control.setModel(vm);
82
88
  let hasPreviousViewState = false;
@@ -94,6 +100,7 @@ let TextDiffEditor = class TextDiffEditor extends AbstractTextEditor {
94
100
  ...this.getReadonlyConfiguration(resolvedDiffEditorModel.modifiedModel?.isReadonly()),
95
101
  originalEditable: !resolvedDiffEditorModel.originalModel?.isReadonly()
96
102
  });
103
+ control.handleInitialized();
97
104
  this.inputLifecycleStopWatch = ( new StopWatch(false));
98
105
  }
99
106
  catch (error) {
@@ -184,9 +191,9 @@ let TextDiffEditor = class TextDiffEditor extends AbstractTextEditor {
184
191
  editorConfiguration.accessibilityVerbose = verbose;
185
192
  return editorConfiguration;
186
193
  }
187
- getConfigurationOverrides() {
194
+ getConfigurationOverrides(configuration) {
188
195
  return {
189
- ...super.getConfigurationOverrides(),
196
+ ...super.getConfigurationOverrides(configuration),
190
197
  ...this.getReadonlyConfiguration(this.input?.isReadonly()),
191
198
  originalEditable: this.input instanceof DiffEditorInput && !this.input.original.isReadonly(),
192
199
  lineDecorationsWidth: '2ch'
@@ -211,6 +218,10 @@ let TextDiffEditor = class TextDiffEditor extends AbstractTextEditor {
211
218
  return error.textFileOperationResult === 0 ;
212
219
  }
213
220
  clearInput() {
221
+ if (this._previousViewModel) {
222
+ this._previousViewModel.dispose();
223
+ this._previousViewModel = null;
224
+ }
214
225
  super.clearInput();
215
226
  const inputLifecycleElapsed = this.inputLifecycleStopWatch?.elapsed();
216
227
  this.inputLifecycleStopWatch = undefined;
@@ -234,6 +245,7 @@ let TextDiffEditor = class TextDiffEditor extends AbstractTextEditor {
234
245
  return this.diffEditorControl;
235
246
  }
236
247
  focus() {
248
+ super.focus();
237
249
  this.diffEditorControl?.focus();
238
250
  }
239
251
  hasFocus() {
@@ -46,7 +46,7 @@ let AbstractTextEditor = class AbstractTextEditor extends AbstractEditorWithView
46
46
  }
47
47
  }
48
48
  shouldHandleConfigurationChangeEvent(e, resource) {
49
- return e.affectsConfiguration(resource, 'editor');
49
+ return e.affectsConfiguration(resource, 'editor') || e.affectsConfiguration(resource, 'problems');
50
50
  }
51
51
  consumePendingConfigurationChangeEvent() {
52
52
  if (this.hasPendingConfigurationChange) {
@@ -56,7 +56,7 @@ let AbstractTextEditor = class AbstractTextEditor extends AbstractEditorWithView
56
56
  }
57
57
  computeConfiguration(configuration) {
58
58
  const editorConfiguration = isObject(configuration.editor) ? deepClone(configuration.editor) : Object.create(null);
59
- Object.assign(editorConfiguration, this.getConfigurationOverrides());
59
+ Object.assign(editorConfiguration, this.getConfigurationOverrides(configuration));
60
60
  editorConfiguration.ariaLabel = this.computeAriaLabel();
61
61
  return editorConfiguration;
62
62
  }
@@ -85,13 +85,13 @@ let AbstractTextEditor = class AbstractTextEditor extends AbstractEditorWithView
85
85
  readOnlyMessage: typeof isReadonly !== 'boolean' ? isReadonly : undefined
86
86
  };
87
87
  }
88
- getConfigurationOverrides() {
88
+ getConfigurationOverrides(configuration) {
89
89
  return {
90
90
  overviewRulerLanes: 3,
91
91
  lineNumbersMinChars: 3,
92
92
  fixedOverflowWidgets: true,
93
93
  ...this.getReadonlyConfiguration(this.input?.isReadonly()),
94
- renderValidationDecorations: 'on'
94
+ renderValidationDecorations: configuration.problems?.visibility !== false ? 'on' : 'off'
95
95
  };
96
96
  }
97
97
  createEditor(parent) {
@@ -0,0 +1,277 @@
1
+ import { __decorate, __param } from '../../../../../../external/tslib/tslib.es6.js';
2
+ import { append, $, clearNode, hide, show, addDisposableListener, EventType, EventHelper, getWindow } from 'monaco-editor/esm/vs/base/browser/dom.js';
3
+ import { StandardKeyboardEvent } from 'monaco-editor/esm/vs/base/browser/keyboardEvent.js';
4
+ import { StandardMouseEvent } from 'monaco-editor/esm/vs/base/browser/mouseEvent.js';
5
+ import { EventType as EventType$1 } from 'monaco-editor/esm/vs/base/browser/touch.js';
6
+ import { ActionBar } from 'monaco-editor/esm/vs/base/browser/ui/actionbar/actionbar.js';
7
+ import { Action } from 'monaco-editor/esm/vs/base/common/actions.js';
8
+ import { Codicon } from 'monaco-editor/esm/vs/base/common/codicons.js';
9
+ import { Disposable, DisposableStore } from 'monaco-editor/esm/vs/base/common/lifecycle.js';
10
+ import { ThemeIcon } from 'monaco-editor/esm/vs/base/common/themables.js';
11
+ import { isString } from 'monaco-editor/esm/vs/base/common/types.js';
12
+ import { localizeWithPath } from 'monaco-editor/esm/vs/nls.js';
13
+ import { createAndFillInActionBarActions } from 'monaco-editor/esm/vs/platform/actions/browser/menuEntryActionViewItem.js';
14
+ import { MenuId, IMenuService } from 'monaco-editor/esm/vs/platform/actions/common/actions.js';
15
+ import { IConfigurationService } from 'monaco-editor/esm/vs/platform/configuration/common/configuration.js';
16
+ import { IContextKeyService } from 'monaco-editor/esm/vs/platform/contextkey/common/contextkey.js';
17
+ import { IContextMenuService } from 'monaco-editor/esm/vs/platform/contextview/browser/contextView.js';
18
+ import { IInstantiationService } from 'monaco-editor/esm/vs/platform/instantiation/common/instantiation.js';
19
+ import { IKeybindingService } from 'monaco-editor/esm/vs/platform/keybinding/common/keybinding.js';
20
+ import { registerIcon } from 'monaco-editor/esm/vs/platform/theme/common/iconRegistry.js';
21
+ import { IThemeService } from 'monaco-editor/esm/vs/platform/theme/common/themeService.js';
22
+ import { CompositeBarAction, CompoisteBarActionViewItem } from './compositeBarActions.js';
23
+ import { GLOBAL_ACTIVITY_ID } from '../../common/activity.js';
24
+ import { ACTIVITY_BAR_BADGE_BACKGROUND, ACTIVITY_BAR_BADGE_FOREGROUND } from '../../common/theme.js';
25
+ import { NumberBadge, IActivityService } from '../../services/activity/common/activity.js';
26
+ import { IWorkbenchEnvironmentService } from '../../services/environment/common/environmentService.js';
27
+ import { IHoverService } from '../../services/hover/browser/hover.js';
28
+ import { IUserDataProfileService } from '../../services/userDataProfile/common/userDataProfile.js';
29
+ import { DEFAULT_ICON } from '../../services/userDataProfile/common/userDataProfileIcons.js';
30
+ let GlobalCompositeBar = class GlobalCompositeBar extends Disposable {
31
+ static { this.ACCOUNTS_ICON = registerIcon('accounts-view-bar-icon', Codicon.account, ( localizeWithPath(
32
+ 'vs/workbench/browser/parts/globalCompositeBar',
33
+ 'accountsViewBarIcon',
34
+ "Accounts icon in the view bar."
35
+ ))); }
36
+ constructor(contextMenuActionsProvider, colors, activityHoverOptions, configurationService, instantiationService) {
37
+ super();
38
+ this.contextMenuActionsProvider = contextMenuActionsProvider;
39
+ this.colors = colors;
40
+ this.activityHoverOptions = activityHoverOptions;
41
+ this.instantiationService = instantiationService;
42
+ this.globalActivityAction = this._register(( new Action(GLOBAL_ACTIVITY_ID)));
43
+ this.element = document.createElement('div');
44
+ const anchorAlignment = configurationService.getValue('workbench.sideBar.location') === 'left' ? 1 : 0 ;
45
+ const anchorAxisAlignment = 1 ;
46
+ this.globalActivityActionBar = this._register(( new ActionBar(this.element, {
47
+ actionViewItemProvider: action => {
48
+ if (action.id === GLOBAL_ACTIVITY_ID) {
49
+ return this.instantiationService.createInstance(GlobalActivityActionViewItem, this.contextMenuActionsProvider, { colors: this.colors, hoverOptions: this.activityHoverOptions }, anchorAlignment, anchorAxisAlignment);
50
+ }
51
+ throw new Error(`No view item for action '${action.id}'`);
52
+ },
53
+ orientation: 1 ,
54
+ ariaLabel: ( localizeWithPath('vs/workbench/browser/parts/globalCompositeBar', 'manage', "Manage")),
55
+ animated: false,
56
+ preventLoopNavigation: true
57
+ })));
58
+ this.globalActivityActionBar.push(this.globalActivityAction);
59
+ }
60
+ create(parent) {
61
+ parent.appendChild(this.element);
62
+ }
63
+ focus() {
64
+ this.globalActivityActionBar.focus(true);
65
+ }
66
+ size() {
67
+ return this.globalActivityActionBar.viewItems.length;
68
+ }
69
+ getContextMenuActions() {
70
+ return [];
71
+ }
72
+ };
73
+ GlobalCompositeBar = ( __decorate([
74
+ ( __param(3, IConfigurationService)),
75
+ ( __param(4, IInstantiationService))
76
+ ], GlobalCompositeBar));
77
+ let AbstractGlobalActivityActionViewItem = class AbstractGlobalActivityActionViewItem extends CompoisteBarActionViewItem {
78
+ constructor(menuId, action, options, contextMenuActionsProvider, anchorAlignment, anchorAxisAlignment, themeService, hoverService, menuService, contextMenuService, contextKeyService, configurationService, keybindingService, activityService) {
79
+ super(action, { draggable: false, icon: true, hasPopup: true, ...options }, () => true, themeService, hoverService, configurationService, keybindingService);
80
+ this.menuId = menuId;
81
+ this.contextMenuActionsProvider = contextMenuActionsProvider;
82
+ this.anchorAlignment = anchorAlignment;
83
+ this.anchorAxisAlignment = anchorAxisAlignment;
84
+ this.menuService = menuService;
85
+ this.contextMenuService = contextMenuService;
86
+ this.contextKeyService = contextKeyService;
87
+ this.activityService = activityService;
88
+ this.updateItemActivity();
89
+ this._register(this.activityService.onDidChangeActivity(viewContainerOrAction => {
90
+ if (isString(viewContainerOrAction) && viewContainerOrAction === this.compositeBarActionItem.id) {
91
+ this.updateItemActivity();
92
+ }
93
+ }));
94
+ }
95
+ updateItemActivity() {
96
+ const activities = this.activityService.getActivity(this.compositeBarActionItem.id);
97
+ let activity = activities[0];
98
+ if (activity) {
99
+ const { badge, priority } = activity;
100
+ if (badge instanceof NumberBadge && activities.length > 1) {
101
+ const cumulativeNumberBadge = this.getCumulativeNumberBadge(activities, priority ?? 0);
102
+ activity = { badge: cumulativeNumberBadge };
103
+ }
104
+ }
105
+ this.action.activity = activity;
106
+ }
107
+ getCumulativeNumberBadge(activityCache, priority) {
108
+ const numberActivities = activityCache.filter(activity => activity.badge instanceof NumberBadge && (activity.priority ?? 0) === priority);
109
+ const number = numberActivities.reduce((result, activity) => { return result + activity.badge.number; }, 0);
110
+ const descriptorFn = () => {
111
+ return numberActivities.reduce((result, activity, index) => {
112
+ result = result + activity.badge.getDescription();
113
+ if (index < numberActivities.length - 1) {
114
+ result = `${result}\n`;
115
+ }
116
+ return result;
117
+ }, '');
118
+ };
119
+ return ( new NumberBadge(number, descriptorFn));
120
+ }
121
+ render(container) {
122
+ super.render(container);
123
+ this._register(addDisposableListener(this.container, EventType.MOUSE_DOWN, async (e) => {
124
+ EventHelper.stop(e, true);
125
+ const isLeftClick = e?.button !== 2;
126
+ if (isLeftClick) {
127
+ this.run();
128
+ }
129
+ }));
130
+ this._register(addDisposableListener(this.container, EventType.CONTEXT_MENU, async (e) => {
131
+ const disposables = ( new DisposableStore());
132
+ const actions = await this.resolveContextMenuActions(disposables);
133
+ const event = ( new StandardMouseEvent(getWindow(this.container), e));
134
+ this.contextMenuService.showContextMenu({
135
+ getAnchor: () => event,
136
+ getActions: () => actions,
137
+ onHide: () => disposables.dispose()
138
+ });
139
+ }));
140
+ this._register(addDisposableListener(this.container, EventType.KEY_UP, (e) => {
141
+ const event = ( new StandardKeyboardEvent(e));
142
+ if (event.equals(3 ) || event.equals(10 )) {
143
+ EventHelper.stop(e, true);
144
+ this.run();
145
+ }
146
+ }));
147
+ this._register(addDisposableListener(this.container, EventType$1.Tap, (e) => {
148
+ EventHelper.stop(e, true);
149
+ this.run();
150
+ }));
151
+ }
152
+ async resolveContextMenuActions(disposables) {
153
+ return this.contextMenuActionsProvider();
154
+ }
155
+ async run() {
156
+ const disposables = ( new DisposableStore());
157
+ const menu = disposables.add(this.menuService.createMenu(this.menuId, this.contextKeyService));
158
+ const actions = await this.resolveMainMenuActions(menu, disposables);
159
+ this.contextMenuService.showContextMenu({
160
+ getAnchor: () => this.label,
161
+ anchorAlignment: this.anchorAlignment,
162
+ anchorAxisAlignment: this.anchorAxisAlignment,
163
+ getActions: () => actions,
164
+ onHide: () => disposables.dispose(),
165
+ menuActionOptions: { renderShortTitle: true },
166
+ });
167
+ }
168
+ async resolveMainMenuActions(menu, _disposable) {
169
+ const actions = [];
170
+ createAndFillInActionBarActions(menu, { renderShortTitle: true }, { primary: [], secondary: actions });
171
+ return actions;
172
+ }
173
+ };
174
+ AbstractGlobalActivityActionViewItem = ( __decorate([
175
+ ( __param(6, IThemeService)),
176
+ ( __param(7, IHoverService)),
177
+ ( __param(8, IMenuService)),
178
+ ( __param(9, IContextMenuService)),
179
+ ( __param(10, IContextKeyService)),
180
+ ( __param(11, IConfigurationService)),
181
+ ( __param(12, IKeybindingService)),
182
+ ( __param(13, IActivityService))
183
+ ], AbstractGlobalActivityActionViewItem));
184
+ let GlobalActivityActionViewItem = class GlobalActivityActionViewItem extends AbstractGlobalActivityActionViewItem {
185
+ constructor(contextMenuActionsProvider, options, anchorAlignment, anchorAxisAlignment, userDataProfileService, themeService, hoverService, menuService, contextMenuService, contextKeyService, configurationService, environmentService, keybindingService, instantiationService, activityService) {
186
+ const action = instantiationService.createInstance(CompositeBarAction, {
187
+ id: GLOBAL_ACTIVITY_ID,
188
+ name: ( localizeWithPath('vs/workbench/browser/parts/globalCompositeBar', 'manage', "Manage")),
189
+ classNames: ThemeIcon.asClassNameArray(userDataProfileService.currentProfile.icon ? ThemeIcon.fromId(userDataProfileService.currentProfile.icon) : DEFAULT_ICON)
190
+ });
191
+ super(MenuId.GlobalActivity, action, options, contextMenuActionsProvider, anchorAlignment, anchorAxisAlignment, themeService, hoverService, menuService, contextMenuService, contextKeyService, configurationService, keybindingService, activityService);
192
+ this.userDataProfileService = userDataProfileService;
193
+ this._register(action);
194
+ this._register(this.userDataProfileService.onDidChangeCurrentProfile(e => {
195
+ action.compositeBarActionItem = {
196
+ ...action.compositeBarActionItem,
197
+ classNames: ThemeIcon.asClassNameArray(userDataProfileService.currentProfile.icon ? ThemeIcon.fromId(userDataProfileService.currentProfile.icon) : DEFAULT_ICON)
198
+ };
199
+ }));
200
+ }
201
+ render(container) {
202
+ super.render(container);
203
+ this.profileBadge = append(container, $('.profile-badge'));
204
+ this.profileBadgeContent = append(this.profileBadge, $('.profile-badge-content'));
205
+ this.updateProfileBadge();
206
+ }
207
+ updateProfileBadge() {
208
+ if (!this.profileBadge || !this.profileBadgeContent) {
209
+ return;
210
+ }
211
+ clearNode(this.profileBadgeContent);
212
+ hide(this.profileBadge);
213
+ if (this.userDataProfileService.currentProfile.isDefault) {
214
+ return;
215
+ }
216
+ if (this.action.activity) {
217
+ return;
218
+ }
219
+ if (!this.userDataProfileService.currentProfile.icon || this.userDataProfileService.currentProfile.icon === DEFAULT_ICON.id) {
220
+ this.profileBadgeContent.classList.toggle('profile-text-overlay', true);
221
+ this.profileBadgeContent.classList.toggle('profile-icon-overlay', false);
222
+ this.profileBadgeContent.textContent = this.userDataProfileService.currentProfile.name.substring(0, 2).toUpperCase();
223
+ }
224
+ show(this.profileBadge);
225
+ }
226
+ updateActivity() {
227
+ super.updateActivity();
228
+ this.updateProfileBadge();
229
+ }
230
+ computeTitle() {
231
+ return this.userDataProfileService.currentProfile.isDefault ? super.computeTitle() : ( localizeWithPath(
232
+ 'vs/workbench/browser/parts/globalCompositeBar',
233
+ 'manage profile',
234
+ "Manage {0} (Profile)",
235
+ this.userDataProfileService.currentProfile.name
236
+ ));
237
+ }
238
+ };
239
+ GlobalActivityActionViewItem = ( __decorate([
240
+ ( __param(4, IUserDataProfileService)),
241
+ ( __param(5, IThemeService)),
242
+ ( __param(6, IHoverService)),
243
+ ( __param(7, IMenuService)),
244
+ ( __param(8, IContextMenuService)),
245
+ ( __param(9, IContextKeyService)),
246
+ ( __param(10, IConfigurationService)),
247
+ ( __param(11, IWorkbenchEnvironmentService)),
248
+ ( __param(12, IKeybindingService)),
249
+ ( __param(13, IInstantiationService)),
250
+ ( __param(14, IActivityService))
251
+ ], GlobalActivityActionViewItem));
252
+ let SimpleGlobalActivityActionViewItem = class SimpleGlobalActivityActionViewItem extends GlobalActivityActionViewItem {
253
+ constructor(hoverOptions, userDataProfileService, themeService, hoverService, menuService, contextMenuService, contextKeyService, configurationService, environmentService, keybindingService, instantiationService, activityService) {
254
+ super(() => [], {
255
+ colors: theme => ({
256
+ badgeBackground: theme.getColor(ACTIVITY_BAR_BADGE_BACKGROUND),
257
+ badgeForeground: theme.getColor(ACTIVITY_BAR_BADGE_FOREGROUND),
258
+ }),
259
+ hoverOptions,
260
+ compact: true,
261
+ }, undefined, undefined, userDataProfileService, themeService, hoverService, menuService, contextMenuService, contextKeyService, configurationService, environmentService, keybindingService, instantiationService, activityService);
262
+ }
263
+ };
264
+ SimpleGlobalActivityActionViewItem = ( __decorate([
265
+ ( __param(1, IUserDataProfileService)),
266
+ ( __param(2, IThemeService)),
267
+ ( __param(3, IHoverService)),
268
+ ( __param(4, IMenuService)),
269
+ ( __param(5, IContextMenuService)),
270
+ ( __param(6, IContextKeyService)),
271
+ ( __param(7, IConfigurationService)),
272
+ ( __param(8, IWorkbenchEnvironmentService)),
273
+ ( __param(9, IKeybindingService)),
274
+ ( __param(10, IInstantiationService)),
275
+ ( __param(11, IActivityService))
276
+ ], SimpleGlobalActivityActionViewItem));
277
+ export { GlobalActivityActionViewItem, GlobalCompositeBar, SimpleGlobalActivityActionViewItem };
@@ -15,6 +15,7 @@ import { IInstantiationService } from 'monaco-editor/esm/vs/platform/instantiati
15
15
  import { ActionRunner } from 'monaco-editor/esm/vs/base/common/actions.js';
16
16
  import { hash } from 'monaco-editor/esm/vs/base/common/hash.js';
17
17
  import { firstOrDefault } from 'monaco-editor/esm/vs/base/common/arrays.js';
18
+ import { IAccessibleNotificationService } from 'monaco-editor/esm/vs/platform/accessibility/common/accessibility.js';
18
19
  const SHOW_NOTIFICATIONS_CENTER = 'notifications.showList';
19
20
  const HIDE_NOTIFICATIONS_CENTER = 'notifications.hideList';
20
21
  const TOGGLE_NOTIFICATIONS_CENTER = 'notifications.toggleList';
@@ -92,9 +93,11 @@ function registerNotificationCommands(center, toasts, model) {
92
93
  primary: 2048 | 1
93
94
  },
94
95
  handler: (accessor, args) => {
96
+ const accessibleNotificationService = accessor.get(IAccessibleNotificationService);
95
97
  const notification = getNotificationFromContext(accessor.get(IListService), args);
96
98
  if (notification && !notification.hasProgress) {
97
99
  notification.close();
100
+ accessibleNotificationService.notify("clear" );
98
101
  }
99
102
  }
100
103
  });
@@ -111,11 +114,11 @@ function registerNotificationCommands(center, toasts, model) {
111
114
  KeybindingsRegistry.registerCommandAndKeybindingRule({
112
115
  id: ACCEPT_PRIMARY_ACTION_NOTIFICATION,
113
116
  weight: 200 ,
114
- when: ( ContextKeyExpr.and(NotificationsToastsVisibleContext)),
117
+ when: ( ContextKeyExpr.or(NotificationFocusedContext, NotificationsToastsVisibleContext)),
115
118
  primary: 2048 | 1024 | 31 ,
116
119
  handler: (accessor) => {
117
120
  const actionRunner = accessor.get(IInstantiationService).createInstance(NotificationActionRunner);
118
- const notification = firstOrDefault(model.notifications);
121
+ const notification = getNotificationFromContext(accessor.get(IListService)) || firstOrDefault(model.notifications);
119
122
  if (!notification) {
120
123
  return;
121
124
  }
@@ -1,4 +1,4 @@
1
1
  import n from '../../../../../../../../external/rollup-plugin-styles/dist/runtime/inject-css.js';
2
- var css = ".monaco-workbench.nopanel .part.panel{display:none!important;visibility:hidden!important}.monaco-workbench .part.panel.bottom .composite.title{border-top-style:solid;border-top-width:1px}.monaco-workbench.noeditorarea .part.panel.bottom .composite.title{border-top-width:0}.monaco-workbench .part.panel.right{border-left-style:solid;border-left-width:1px}.monaco-workbench.noeditorarea .part.panel.right{border-left-width:0}.monaco-workbench .part.panel.left{border-right-style:solid;border-right-width:1px}.monaco-workbench.noeditorarea .part.panel.left{border-right-width:0}.monaco-workbench .part.panel>.content .monaco-editor,.monaco-workbench .part.panel>.content .monaco-editor .margin,.monaco-workbench .part.panel>.content .monaco-editor .monaco-editor-background{background-color:var(--vscode-panel-background)}.monaco-workbench .part.panel>.title>.panel-switcher-container>.monaco-action-bar .action-item:focus .action-label,.monaco-workbench .part.panel>.title>.panel-switcher-container>.monaco-action-bar .action-item:hover .action-label{color:var(--vscode-panelTitle-activeForeground)!important}.monaco-workbench .part.panel .monaco-inputbox{border-color:var(--vscode-panelInput-border,transparent)!important}.monaco-workbench .part.basepanel>.title>.panel-switcher-container>.monaco-action-bar .action-item:focus .active-item-indicator:before{border-top-color:var(--vscode-focusBorder)!important}.monaco-workbench .part.panel>.title>.panel-switcher-container>.monaco-action-bar .action-item:focus{outline:none}.monaco-workbench .part.basepanel>.title>.panel-switcher-container>.monaco-action-bar .action-item.checked.clicked:focus .active-item-indicator:before,.monaco-workbench .part.basepanel>.title>.panel-switcher-container>.monaco-action-bar .action-item.checked:not(:focus) .active-item-indicator:before{border-top-color:var(--vscode-panelTitle-activeBorder)!important}.monaco-workbench .part.basepanel>.title>.panel-switcher-container>.monaco-action-bar .action-item.checked .action-label,.monaco-workbench .part.basepanel>.title>.panel-switcher-container>.monaco-action-bar .action-item:hover .action-label{outline:var(--vscode-contrastActiveBorder,unset) solid 1px!important}.monaco-workbench .part.basepanel>.title>.panel-switcher-container>.monaco-action-bar .action-item:not(.checked):hover .action-label{outline:var(--vscode-contrastActiveBorder,unset) dashed 1px!important}";
2
+ var css = ".monaco-workbench.nopanel .part.panel{display:none!important;visibility:hidden!important}.monaco-workbench .part.panel.bottom .composite.title{border-top-style:solid;border-top-width:1px}.monaco-workbench.nomaineditorarea .part.panel.bottom .composite.title{border-top-width:0}.monaco-workbench .part.panel.right{border-left-style:solid;border-left-width:1px}.monaco-workbench.nomaineditorarea .part.panel.right{border-left-width:0}.monaco-workbench .part.panel.left{border-right-style:solid;border-right-width:1px}.monaco-workbench.nomaineditorarea .part.panel.left{border-right-width:0}.monaco-workbench .part.panel>.content .monaco-editor,.monaco-workbench .part.panel>.content .monaco-editor .margin,.monaco-workbench .part.panel>.content .monaco-editor .monaco-editor-background{background-color:var(--vscode-panel-background)}.monaco-workbench .part.panel>.content .suggest-input-container .monaco-editor,.monaco-workbench .part.panel>.content .suggest-input-container .monaco-editor .margin,.monaco-workbench .part.panel>.content .suggest-input-container .monaco-editor .monaco-editor-background{background-color:inherit}.monaco-workbench .part.panel>.title>.composite-bar-container>.composite-bar>.monaco-action-bar .action-item:focus .action-label,.monaco-workbench .part.panel>.title>.composite-bar-container>.composite-bar>.monaco-action-bar .action-item:hover .action-label{color:var(--vscode-panelTitle-activeForeground)!important}.monaco-workbench .part.panel .monaco-inputbox{border-color:var(--vscode-panelInput-border,transparent)!important}.monaco-workbench .part.panel>.title>.composite-bar-container>.composite-bar>.monaco-action-bar .action-item:focus{outline:none}.monaco-workbench .part.basepanel.right .global-actions .codicon-panel-maximize:before,.monaco-workbench .part.basepanel.right .global-actions .codicon-panel-restore:before,.monaco-workbench .part.basepanel.right .title-actions .codicon-split-horizontal:before{display:inline-block;transform:rotate(-90deg)}.monaco-workbench .part.basepanel.left .global-actions .codicon-panel-maximize:before,.monaco-workbench .part.basepanel.left .global-actions .codicon-panel-restore:before,.monaco-workbench .part.basepanel.left .title-actions .codicon-split-horizontal:before{display:inline-block;transform:rotate(90deg)}";
3
3
  n(css,{});
4
4
  export { css, css as default };
@@ -1,10 +1,8 @@
1
- import { __decorate, __param } from '../../../../../../../external/tslib/tslib.es6.js';
2
1
  import './media/panelpart.css.js';
3
2
  import { localizeWithPath } from 'monaco-editor/esm/vs/nls.js';
4
3
  import { Action2, MenuId, registerAction2, MenuRegistry } from 'monaco-editor/esm/vs/platform/actions/common/actions.js';
5
4
  import { Categories } from 'monaco-editor/esm/vs/platform/action/common/actionCommonCategories.js';
6
5
  import { IWorkbenchLayoutService, positionToString } from '../../../services/layout/browser/layoutService.js';
7
- import { ActivityAction, ToggleCompositePinnedAction } from '../compositeBarActions.js';
8
6
  import { PanelVisibleContext, PanelAlignmentContext, PanelPositionContext, PanelMaximizedContext, AuxiliaryBarVisibleContext } from '../../../common/contextkeys.js';
9
7
  import { ContextKeyExpr } from 'monaco-editor/esm/vs/platform/contextkey/common/contextkey.js';
10
8
  import { Codicon } from 'monaco-editor/esm/vs/base/common/codicons.js';
@@ -272,39 +270,6 @@ AlignPanelActionConfigs.forEach(alignPanelAction => {
272
270
  order: 5
273
271
  });
274
272
  });
275
- let PanelActivityAction = class PanelActivityAction extends ActivityAction {
276
- constructor(activity, viewContainerLocation, paneCompositeService) {
277
- super(activity);
278
- this.viewContainerLocation = viewContainerLocation;
279
- this.paneCompositeService = paneCompositeService;
280
- }
281
- async run() {
282
- await this.paneCompositeService.openPaneComposite(this.activity.id, this.viewContainerLocation, true);
283
- this.activate();
284
- }
285
- setActivity(activity) {
286
- this.activity = activity;
287
- }
288
- };
289
- PanelActivityAction = ( __decorate([
290
- ( __param(2, IPaneCompositePartService))
291
- ], PanelActivityAction));
292
- let PlaceHolderPanelActivityAction = class PlaceHolderPanelActivityAction extends PanelActivityAction {
293
- constructor(id, viewContainerLocation, paneCompositeService) {
294
- super({ id, name: id }, viewContainerLocation, paneCompositeService);
295
- }
296
- };
297
- PlaceHolderPanelActivityAction = ( __decorate([
298
- ( __param(2, IPaneCompositePartService))
299
- ], PlaceHolderPanelActivityAction));
300
- class PlaceHolderToggleCompositePinnedAction extends ToggleCompositePinnedAction {
301
- constructor(id, compositeBar) {
302
- super({ id, name: id, classNames: undefined }, compositeBar);
303
- }
304
- setActivity(activity) {
305
- this.label = activity.name;
306
- }
307
- }
308
273
  class SwitchPanelViewAction extends Action2 {
309
274
  constructor(id, title) {
310
275
  super({
@@ -316,7 +281,7 @@ class SwitchPanelViewAction extends Action2 {
316
281
  }
317
282
  async run(accessor, offset) {
318
283
  const paneCompositeService = accessor.get(IPaneCompositePartService);
319
- const pinnedPanels = paneCompositeService.getPinnedPaneCompositeIds(1 );
284
+ const pinnedPanels = paneCompositeService.getVisiblePaneCompositeIds(1 );
320
285
  const activePanel = paneCompositeService.getActivePaneComposite(1 );
321
286
  if (!activePanel) {
322
287
  return;
@@ -514,7 +479,7 @@ class MoveViewsBetweenPanelsAction extends Action2 {
514
479
  const destContainers = viewDescriptorService.getViewContainersByLocation(this.destination);
515
480
  if (srcContainers.length) {
516
481
  const activeViewContainer = viewsService.getVisibleViewContainer(this.source);
517
- srcContainers.forEach(viewContainer => viewDescriptorService.moveViewContainerToLocation(viewContainer, this.destination));
482
+ srcContainers.forEach(viewContainer => viewDescriptorService.moveViewContainerToLocation(viewContainer, this.destination, undefined, this.desc.id));
518
483
  layoutService.setPartHidden(false, this.destination === 1 ? "workbench.parts.panel" : "workbench.parts.auxiliarybar" );
519
484
  if (activeViewContainer && destContainers.length === 0) {
520
485
  viewsService.openViewContainer(activeViewContainer.id, true);
@@ -598,4 +563,4 @@ class MoveSecondarySideBarToPanelAction extends MoveViewsBetweenPanelsAction {
598
563
  }
599
564
  registerAction2(MoveSidePanelToPanelAction);
600
565
  registerAction2(MoveSecondarySideBarToPanelAction);
601
- export { MovePanelToSecondarySideBarAction, MoveSecondarySideBarToPanelAction, PanelActivityAction, PlaceHolderPanelActivityAction, PlaceHolderToggleCompositePinnedAction, TogglePanelAction };
566
+ export { MovePanelToSecondarySideBarAction, MoveSecondarySideBarToPanelAction, TogglePanelAction };
@@ -1,66 +1,68 @@
1
- import { Event } from '../../../../base/common/event.js';
2
1
  import { IDisposable } from '../../../../base/common/lifecycle.js';
3
- import { IInstantiationService } from '../../../../platform/instantiation/common/instantiation.js';
4
- import { IContextKeyService } from '../../../../platform/contextkey/common/contextkey.js';
5
- import { IConfigurationService } from '../../../../platform/configuration/common/configuration.js';
6
- import { IThemeService } from '../../../../platform/theme/common/themeService.js';
7
- import { IStorageService } from '../../../../platform/storage/common/storage.js';
8
- import { IContextMenuService } from '../../../../platform/contextview/browser/contextView.js';
9
- import { IWorkspaceContextService } from '../../../../platform/workspace/common/workspace.js';
10
- import { IWorkbenchLayoutService } from '../../../services/layout/browser/layoutService.js';
11
- import { Part } from '../../part.js';
12
- import { IStatusbarService, IStatusbarEntry, StatusbarAlignment, IStatusbarEntryLocation, IStatusbarEntryPriority, IStatusbarEntryAccessor, IStatusbarStyleOverride } from '../../../services/statusbar/browser/statusbar.js';
13
- import { IHoverService } from '../../../services/hover/browser/hover.js';
2
+ import { Event } from '../../../../base/common/event.js';
3
+ import { IView } from '../../../../base/browser/ui/grid/grid.js';
4
+ import { IStatusbarEntry, StatusbarAlignment, IStatusbarEntryPriority, IStatusbarEntryAccessor, IStatusbarEntryLocation, IStatusbarStyleOverride } from '../../../services/statusbar/browser/statusbar.js';
14
5
 
15
- declare class StatusbarPart extends Part implements IStatusbarService {
16
- private readonly instantiationService;
17
- private readonly contextService;
18
- private readonly storageService;
19
- private contextMenuService;
20
- private readonly contextKeyService;
21
- private readonly hoverService;
22
- private readonly configurationService;
23
- readonly _serviceBrand: undefined;
24
- readonly minimumWidth: number;
25
- readonly maximumWidth: number;
26
- readonly minimumHeight: number;
27
- readonly maximumHeight: number;
28
- private styleElement;
29
- private pendingEntries;
30
- private readonly viewModel;
6
+ interface IStatusbarEntryContainer extends IDisposable {
7
+ /**
8
+ * An event that is triggered when an entry's visibility is changed.
9
+ */
31
10
  readonly onDidChangeEntryVisibility: Event<{
32
11
  id: string;
33
12
  visible: boolean;
34
13
  }>;
35
- private leftItemsContainer;
36
- private rightItemsContainer;
37
- private readonly hoverDelegate;
38
- private readonly compactEntriesDisposable;
39
- private readonly styleOverrides;
40
- constructor(instantiationService: IInstantiationService, themeService: IThemeService, contextService: IWorkspaceContextService, storageService: IStorageService, layoutService: IWorkbenchLayoutService, contextMenuService: IContextMenuService, contextKeyService: IContextKeyService, hoverService: IHoverService, configurationService: IConfigurationService);
41
- private registerListeners;
42
- addEntry(entry: IStatusbarEntry, id: string, alignment: StatusbarAlignment, priorityOrLocation?: number | IStatusbarEntryLocation | IStatusbarEntryPriority): IStatusbarEntryAccessor;
43
- private doAddPendingEntry;
44
- private doAddEntry;
45
- private doCreateStatusItem;
46
- private doAddOrRemoveModelEntry;
14
+ /**
15
+ * Adds an entry to the statusbar with the given alignment and priority. Use the returned accessor
16
+ * to update or remove the statusbar entry.
17
+ *
18
+ * @param id identifier of the entry is needed to allow users to hide entries via settings
19
+ * @param alignment either LEFT or RIGHT side in the status bar
20
+ * @param priority items get arranged from highest priority to lowest priority from left to right
21
+ * in their respective alignment slot
22
+ */
23
+ addEntry(entry: IStatusbarEntry, id: string, alignment: StatusbarAlignment, priority?: number | IStatusbarEntryPriority): IStatusbarEntryAccessor;
24
+ addEntry(entry: IStatusbarEntry, id: string, alignment: StatusbarAlignment, priority?: number | IStatusbarEntryPriority | IStatusbarEntryLocation): IStatusbarEntryAccessor;
25
+ /**
26
+ * Adds an entry to the statusbar with the given alignment relative to another entry. Use the returned
27
+ * accessor to update or remove the statusbar entry.
28
+ *
29
+ * @param id identifier of the entry is needed to allow users to hide entries via settings
30
+ * @param alignment either LEFT or RIGHT side in the status bar
31
+ * @param location a reference to another entry to position relative to
32
+ */
33
+ addEntry(entry: IStatusbarEntry, id: string, alignment: StatusbarAlignment, location?: IStatusbarEntryLocation): IStatusbarEntryAccessor;
34
+ /**
35
+ * Return if an entry is visible or not.
36
+ */
47
37
  isEntryVisible(id: string): boolean;
38
+ /**
39
+ * Allows to update an entry's visibility with the provided ID.
40
+ */
48
41
  updateEntryVisibility(id: string, visible: boolean): void;
42
+ /**
43
+ * Focused the status bar. If one of the status bar entries was focused, focuses it directly.
44
+ */
45
+ focus(preserveEntryFocus?: boolean): void;
46
+ /**
47
+ * Focuses the next status bar entry. If none focused, focuses the first.
48
+ */
49
49
  focusNextEntry(): void;
50
+ /**
51
+ * Focuses the previous status bar entry. If none focused, focuses the last.
52
+ */
50
53
  focusPreviousEntry(): void;
54
+ /**
55
+ * Returns true if a status bar entry is focused.
56
+ */
51
57
  isEntryFocused(): boolean;
52
- focus(preserveEntryFocus?: boolean): void;
53
- protected createContentArea(parent: HTMLElement): HTMLElement;
54
- private createInitialStatusbarEntries;
55
- private appendStatusbarEntries;
56
- private appendStatusbarEntry;
57
- private updateCompactEntries;
58
- private showContextMenu;
59
- private getContextMenuActions;
60
- updateStyles(): void;
61
- layout(width: number, height: number, top: number, left: number): void;
58
+ /**
59
+ * Temporarily override statusbar style.
60
+ */
62
61
  overrideStyle(style: IStatusbarStyleOverride): IDisposable;
63
- toJSON(): object;
62
+ }
63
+ interface IAuxiliaryStatusbarPart extends IStatusbarEntryContainer, IView {
64
+ readonly container: HTMLElement;
65
+ readonly height: number;
64
66
  }
65
67
 
66
- export { StatusbarPart };
68
+ export type { IAuxiliaryStatusbarPart, IStatusbarEntryContainer };