@codingame/monaco-vscode-api 1.83.16 → 1.85.0-next.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/api.js +13 -7
- package/assets/clear.mp3 +0 -0
- package/assets/format.mp3 +0 -0
- package/assets/save.mp3 +0 -0
- package/extensions.d.ts +13 -3
- package/external/{xterm-addon-image/typings/xterm-addon-image.d.ts → @xterm/addon-image/typings/addon-image.d.ts} +1 -1
- package/external/{xterm-addon-serialize/typings/xterm-addon-serialize.d.ts → @xterm/addon-serialize/typings/addon-serialize.d.ts} +20 -3
- package/external/{xterm → @xterm/xterm}/typings/xterm.d.ts +13 -1
- package/lifecycle.js +2 -2
- package/localExtensionHost.js +3 -1
- package/missing-services.js +160 -25
- package/monaco-editor-treemending.patch +6884 -18018
- package/monaco-treemending.js +2 -2
- package/package.json +7 -7
- package/service-override/tools/editor.d.ts +8 -8
- package/service-override/tools/editor.js +44 -19
- package/services.d.ts +2 -2
- package/services.js +3 -3
- package/vscode/src/vs/base/browser/broadcast.js +6 -5
- package/vscode/src/vs/base/browser/dnd.d.ts +6 -0
- package/vscode/src/vs/base/browser/mouseEvent.d.ts +1 -1
- package/vscode/src/vs/base/browser/touch.d.ts +10 -0
- package/vscode/src/vs/base/browser/ui/actionbar/actionbar.d.ts +1 -0
- package/vscode/src/vs/base/browser/ui/iconLabel/iconHoverDelegate.d.ts +22 -15
- package/vscode/src/vs/base/browser/ui/menu/menubar.js +4 -3
- package/vscode/src/vs/base/browser/ui/splitview/paneview.css.js +1 -1
- package/vscode/src/vs/base/browser/ui/splitview/paneview.d.ts +3 -0
- package/vscode/src/vs/base/browser/ui/splitview/paneview.js +34 -11
- package/vscode/src/vs/base/common/actions.d.ts +1 -15
- package/vscode/src/vs/base/common/async.d.ts +1 -31
- package/vscode/src/vs/base/common/event.d.ts +2 -1
- package/vscode/src/vs/base/common/observableInternal/base.d.ts +23 -10
- package/vscode/src/vs/base/common/prefixTree.js +21 -11
- package/vscode/src/vs/base/common/product.d.ts +16 -2
- package/vscode/src/vs/base/common/resourceTree.js +135 -0
- package/vscode/src/vs/base/common/skipList.js +1 -0
- package/vscode/src/vs/base/common/tfIdf.js +137 -0
- package/vscode/src/vs/base/common/types.d.ts +13 -1
- package/vscode/src/vs/base/common/verifier.js +62 -0
- package/vscode/src/vs/editor/browser/editorBrowser.d.ts +4 -2
- package/vscode/src/vs/editor/common/config/editorOptions.d.ts +23 -4
- package/vscode/src/vs/editor/common/core/lineRange.d.ts +1 -0
- package/vscode/src/vs/editor/common/core/offsetRange.d.ts +3 -0
- package/vscode/src/vs/editor/common/core/position.d.ts +1 -0
- package/vscode/src/vs/editor/common/editorCommon.d.ts +2 -1
- package/vscode/src/vs/editor/common/languages.d.ts +23 -1
- package/vscode/src/vs/editor/common/services/languageFeatures.d.ts +2 -1
- package/vscode/src/vs/editor/common/services/resolverService.d.ts +11 -2
- package/vscode/src/vs/platform/accessibility/common/accessibility.d.ts +16 -1
- package/vscode/src/vs/platform/action/common/action.d.ts +8 -0
- package/vscode/src/vs/platform/actions/browser/dropdownWithPrimaryActionViewItem.js +4 -0
- package/vscode/src/vs/platform/actions/common/actions.d.ts +8 -0
- package/vscode/src/vs/platform/audioCues/browser/audioCueService.d.ts +6 -0
- package/vscode/src/vs/platform/commands/common/commands.d.ts +13 -5
- package/vscode/src/vs/platform/dialogs/common/dialogs.d.ts +9 -3
- package/vscode/src/vs/platform/dialogs/common/dialogs.js +5 -2
- package/vscode/src/vs/platform/editor/common/editor.d.ts +3 -15
- package/vscode/src/vs/platform/extensionManagement/common/extensionManagement.d.ts +1 -0
- package/vscode/src/vs/platform/extensionManagement/common/extensionManagement.js +3 -15
- package/vscode/src/vs/platform/extensionManagement/common/implicitActivationEvents.js +5 -0
- package/vscode/src/vs/platform/extensions/common/extensions.d.ts +0 -1
- package/vscode/src/vs/platform/files/common/files.d.ts +72 -8
- package/vscode/src/vs/platform/files/common/watcher.js +77 -0
- package/vscode/src/vs/platform/keybinding/common/keybindingsRegistry.d.ts +2 -2
- package/vscode/src/vs/platform/layout/browser/layoutService.d.ts +52 -21
- package/vscode/src/vs/platform/request/browser/requestService.js +3 -0
- package/vscode/src/vs/platform/request/common/requestIpc.js +17 -0
- package/vscode/src/vs/platform/storage/common/storage.js +2 -2
- package/vscode/src/vs/platform/telemetry/common/telemetry.d.ts +1 -0
- package/vscode/src/vs/platform/terminal/common/capabilities/capabilities.d.ts +12 -7
- package/vscode/src/vs/platform/terminal/common/capabilities/{commandDetectionCapability.d.ts → commandDetection/terminalCommand.d.ts} +3 -2
- package/vscode/src/vs/platform/terminal/common/capabilities/commandDetection/terminalCommand.js +257 -0
- package/vscode/src/vs/platform/terminal/common/capabilities/commandDetectionCapability.js +439 -354
- package/vscode/src/vs/platform/window/common/window.d.ts +9 -2
- package/vscode/src/vs/platform/window/common/window.js +6 -1
- package/vscode/src/vs/platform/workspaces/common/workspaces.d.ts +2 -43
- package/vscode/src/vs/workbench/api/common/extHost.api.impl.js +113 -81
- package/vscode/src/vs/workbench/api/common/extHost.protocol.js +5 -4
- package/vscode/src/vs/workbench/api/common/extHostApiCommands.js +25 -3
- package/vscode/src/vs/workbench/api/common/extHostChat.js +13 -163
- package/vscode/src/vs/workbench/api/common/extHostChatAgents2.js +412 -0
- package/vscode/src/vs/workbench/api/common/extHostChatProvider.js +79 -11
- package/vscode/src/vs/workbench/api/common/extHostCommands.js +13 -12
- package/vscode/src/vs/workbench/api/common/extHostComments.js +1 -1
- package/vscode/src/vs/workbench/api/common/extHostEditorTabs.js +8 -6
- package/vscode/src/vs/workbench/api/common/extHostExtensionService.js +1 -1
- package/vscode/src/vs/workbench/api/common/extHostFileSystemEventService.js +36 -19
- package/vscode/src/vs/workbench/api/common/extHostInlineChat.js +52 -31
- package/vscode/src/vs/workbench/api/common/extHostIssueReporter.js +38 -0
- package/vscode/src/vs/workbench/api/common/extHostLanguageFeatures.js +28 -3
- package/vscode/src/vs/workbench/api/common/extHostLanguages.js +10 -0
- package/vscode/src/vs/workbench/api/common/extHostNotebook.js +117 -2
- package/vscode/src/vs/workbench/api/common/extHostNotebookKernels.js +32 -4
- package/vscode/src/vs/workbench/api/common/extHostSCM.js +85 -23
- package/vscode/src/vs/workbench/api/common/extHostSearch.js +3 -0
- package/vscode/src/vs/workbench/api/common/extHostSpeech.js +42 -0
- package/vscode/src/vs/workbench/api/common/extHostTask.js +2 -1
- package/vscode/src/vs/workbench/api/common/extHostTelemetry.js +1 -0
- package/vscode/src/vs/workbench/api/common/extHostTerminalService.js +3 -3
- package/vscode/src/vs/workbench/api/common/extHostTesting.js +97 -47
- package/vscode/src/vs/workbench/api/common/extHostTypeConverters.js +115 -16
- package/vscode/src/vs/workbench/api/common/extHostTypes.js +66 -36
- package/vscode/src/vs/workbench/api/common/extHostWorkspace.js +6 -1
- package/vscode/src/vs/workbench/browser/actions/layoutActions.js +182 -75
- package/vscode/src/vs/workbench/browser/actions/windowActions.js +176 -4
- package/vscode/src/vs/workbench/browser/actions/workspaceActions.js +143 -2
- package/vscode/src/vs/workbench/browser/actions/workspaceCommands.js +237 -0
- package/vscode/src/vs/workbench/browser/composite.d.ts +0 -4
- package/vscode/src/vs/workbench/browser/composite.js +5 -4
- package/vscode/src/vs/workbench/browser/dnd.js +72 -23
- package/vscode/src/vs/workbench/browser/labels.js +7 -3
- package/vscode/src/vs/workbench/browser/media/part.css.js +1 -1
- package/vscode/src/vs/workbench/browser/panecomposite.d.ts +2 -2
- package/vscode/src/vs/workbench/browser/panecomposite.js +2 -0
- package/vscode/src/vs/workbench/browser/part.js +33 -2
- package/vscode/src/vs/workbench/browser/parts/compositeBarActions.js +99 -117
- package/vscode/src/vs/workbench/browser/parts/editor/editor.contribution.js +173 -33
- package/vscode/src/vs/workbench/browser/parts/editor/editor.js +102 -6
- package/vscode/src/vs/workbench/browser/parts/editor/editorActions.js +256 -17
- package/vscode/src/vs/workbench/browser/parts/editor/editorAutoSave.js +4 -0
- package/vscode/src/vs/workbench/browser/parts/editor/editorCommands.js +68 -35
- package/vscode/src/vs/workbench/browser/parts/editor/editorPlaceholder.js +5 -5
- package/vscode/src/vs/workbench/browser/parts/editor/editorStatus.js +35 -16
- package/vscode/src/vs/workbench/browser/parts/editor/editorTabsControl.js +348 -0
- package/vscode/src/vs/workbench/browser/parts/editor/editorsObserver.js +43 -31
- package/vscode/src/vs/workbench/browser/parts/editor/media/editortabscontrol.css.js +4 -0
- package/vscode/src/vs/workbench/browser/parts/editor/sideBySideEditor.js +1 -0
- package/vscode/src/vs/workbench/browser/parts/editor/textCodeEditor.js +1 -0
- package/vscode/src/vs/workbench/browser/parts/editor/textDiffEditor.js +14 -2
- package/vscode/src/vs/workbench/browser/parts/editor/textEditor.js +4 -4
- package/vscode/src/vs/workbench/browser/parts/globalCompositeBar.js +277 -0
- package/vscode/src/vs/workbench/browser/parts/notifications/notificationsCommands.js +5 -2
- package/vscode/src/vs/workbench/browser/parts/panel/media/panelpart.css.js +1 -1
- package/vscode/src/vs/workbench/browser/parts/panel/panelActions.js +3 -38
- package/vscode/src/vs/workbench/browser/parts/statusbar/statusbarPart.d.ts +54 -52
- package/vscode/src/vs/workbench/browser/parts/titlebar/menubarControl.js +2 -1
- package/vscode/src/vs/workbench/browser/parts/titlebar/titlebarPart.d.ts +25 -0
- package/vscode/src/vs/workbench/browser/parts/titlebar/windowTitle.js +258 -0
- package/vscode/src/vs/workbench/browser/parts/views/media/paneviewlet.css.js +1 -1
- package/vscode/src/vs/workbench/browser/parts/views/viewPane.d.ts +2 -5
- package/vscode/src/vs/workbench/browser/parts/views/viewPane.js +157 -117
- package/vscode/src/vs/workbench/browser/parts/views/viewPaneContainer.js +50 -23
- package/vscode/src/vs/workbench/browser/parts/views/viewsService.js +26 -11
- package/vscode/src/vs/workbench/browser/parts/views/viewsViewlet.js +10 -6
- package/vscode/src/vs/workbench/browser/style.js +2 -1
- package/vscode/src/vs/workbench/browser/web.api.d.ts +39 -2
- package/vscode/src/vs/workbench/browser/window.js +55 -0
- package/vscode/src/vs/workbench/browser/workbench.contribution.js +220 -40
- package/vscode/src/vs/workbench/common/activity.js +3 -0
- package/vscode/src/vs/workbench/common/contextkeys.js +35 -5
- package/vscode/src/vs/workbench/common/contributions.js +4 -3
- package/vscode/src/vs/workbench/common/editor/diffEditorInput.js +14 -4
- package/vscode/src/vs/workbench/common/editor/diffEditorModel.js +1 -1
- package/vscode/src/vs/workbench/common/editor/editorGroupModel.js +22 -19
- package/vscode/src/vs/workbench/common/editor/editorInput.d.ts +4 -3
- package/vscode/src/vs/workbench/common/editor/editorModel.d.ts +1 -2
- package/vscode/src/vs/workbench/common/editor/sideBySideEditorInput.js +22 -4
- package/vscode/src/vs/workbench/common/editor/textResourceEditorInput.js +3 -3
- package/vscode/src/vs/workbench/common/editor.d.ts +60 -30
- package/vscode/src/vs/workbench/common/editor.js +11 -3
- package/vscode/src/vs/workbench/common/theme.js +2 -2
- package/vscode/src/vs/workbench/common/views.d.ts +4 -4
- package/vscode/src/vs/workbench/common/views.js +3 -1
- package/vscode/src/vs/workbench/contrib/accessibility/browser/accessibilityConfiguration.js +97 -8
- package/vscode/src/vs/workbench/contrib/accessibility/browser/accessibilityContributions.js +17 -99
- package/vscode/src/vs/workbench/contrib/accessibility/browser/accessibleView.js +103 -37
- package/vscode/src/vs/workbench/contrib/accessibility/browser/accessibleViewActions.js +2 -3
- package/vscode/src/vs/workbench/contrib/accessibility/browser/editorAccessibilityHelp.js +127 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/actions/chatActions.js +71 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/chat.js +2 -1
- package/vscode/src/vs/workbench/contrib/chat/common/chatAgents.js +33 -110
- package/vscode/src/vs/workbench/contrib/chat/common/chatContextKeys.js +64 -0
- package/vscode/src/vs/workbench/contrib/chat/common/chatParserTypes.js +94 -0
- package/vscode/src/vs/workbench/contrib/chat/common/chatService.js +6 -1
- package/vscode/src/vs/workbench/contrib/chat/common/chatSlashCommands.js +1 -88
- package/vscode/src/vs/workbench/contrib/codeActions/browser/codeActionsContribution.js +4 -4
- package/vscode/src/vs/workbench/contrib/codeEditor/browser/diffEditorHelper.js +3 -2
- package/vscode/src/vs/workbench/contrib/codeEditor/browser/quickaccess/gotoSymbolQuickAccess.js +3 -1
- package/vscode/src/vs/workbench/contrib/codeEditor/browser/saveParticipants.js +15 -16
- package/vscode/src/vs/workbench/contrib/codeEditor/browser/toggleWordWrap.js +9 -3
- package/vscode/src/vs/workbench/contrib/comments/browser/comments.contribution.js +3 -1
- package/vscode/src/vs/workbench/contrib/comments/browser/simpleCommentEditor.js +2 -3
- package/vscode/src/vs/workbench/contrib/customEditor/browser/customEditorInput.js +1 -0
- package/vscode/src/vs/workbench/contrib/debug/common/debug.d.ts +9 -1
- package/vscode/src/vs/workbench/contrib/debug/common/debug.js +10 -1
- package/vscode/src/vs/workbench/contrib/extensions/browser/extensionsActions.js +114 -22
- package/vscode/src/vs/workbench/contrib/extensions/browser/media/extensionActions.css.js +1 -1
- package/vscode/src/vs/workbench/contrib/extensions/common/extensions.js +4 -1
- package/vscode/src/vs/workbench/contrib/files/browser/explorerFileContrib.js +19 -0
- package/vscode/src/vs/workbench/contrib/files/browser/explorerViewlet.js +10 -8
- package/vscode/src/vs/workbench/contrib/files/browser/fileActions.js +62 -10
- package/vscode/src/vs/workbench/contrib/files/browser/fileConstants.js +2 -1
- package/vscode/src/vs/workbench/contrib/files/browser/fileImportExport.js +9 -8
- package/vscode/src/vs/workbench/contrib/files/browser/files.contribution.js +10 -1
- package/vscode/src/vs/workbench/contrib/files/browser/files.d.ts +1 -0
- package/vscode/src/vs/workbench/contrib/files/browser/files.js +7 -3
- package/vscode/src/vs/workbench/contrib/files/browser/views/emptyView.js +4 -4
- package/vscode/src/vs/workbench/contrib/files/browser/views/explorerView.js +64 -36
- package/vscode/src/vs/workbench/contrib/files/browser/views/explorerViewer.js +42 -17
- package/vscode/src/vs/workbench/contrib/files/browser/views/openEditorsView.js +145 -25
- package/vscode/src/vs/workbench/contrib/format/browser/formatActionsMultiple.js +1 -1
- package/vscode/src/vs/workbench/contrib/format/browser/formatModified.js +1 -1
- package/vscode/src/vs/workbench/contrib/inlineChat/common/inlineChat.js +36 -0
- package/vscode/src/vs/workbench/contrib/notebook/common/notebookCommon.js +3 -1
- package/vscode/src/vs/workbench/contrib/preferences/common/preferences.js +24 -3
- package/vscode/src/vs/workbench/contrib/scm/browser/dirtydiffDecorator.js +11 -6
- package/vscode/src/vs/workbench/contrib/scm/common/scm.js +1 -2
- package/vscode/src/vs/workbench/contrib/search/browser/notebookSearch/searchNotebookHelpers.js +31 -0
- package/vscode/src/vs/workbench/contrib/search/browser/searchModel.js +61 -41
- package/vscode/src/vs/workbench/contrib/search/{browser/searchNotebookHelpers.js → common/cellSearchModel.js} +4 -63
- package/vscode/src/vs/workbench/contrib/search/common/searchNotebookHelpers.js +40 -0
- package/vscode/src/vs/workbench/contrib/snippets/browser/snippetsFile.js +2 -2
- package/vscode/src/vs/workbench/{services/editor/browser/editorDropService.js → contrib/speech/common/speechService.js} +2 -2
- package/vscode/src/vs/workbench/contrib/terminal/browser/detachedTerminal.js +29 -4
- package/vscode/src/vs/workbench/contrib/terminal/browser/terminal.d.ts +100 -79
- package/vscode/src/vs/workbench/contrib/terminal/browser/terminalConfigHelper.d.ts +3 -3
- package/vscode/src/vs/workbench/contrib/terminal/browser/terminalEditorInput.js +1 -1
- package/vscode/src/vs/workbench/contrib/terminal/browser/terminalIcon.js +7 -4
- package/vscode/src/vs/workbench/contrib/terminal/browser/xterm/decorationAddon.js +5 -3
- package/vscode/src/vs/workbench/contrib/terminal/browser/xterm/markNavigationAddon.js +143 -41
- package/vscode/src/vs/workbench/contrib/terminal/browser/xterm/xtermTerminal.d.ts +17 -11
- package/vscode/src/vs/workbench/contrib/terminal/browser/xterm/xtermTerminal.js +41 -26
- package/vscode/src/vs/workbench/contrib/terminal/browser/xterm-private.d.ts +5 -2
- package/vscode/src/vs/workbench/contrib/terminal/common/terminal.d.ts +2 -8
- package/vscode/src/vs/workbench/contrib/terminal/common/terminal.js +2 -0
- package/vscode/src/vs/workbench/contrib/testing/common/testCoverage.js +115 -0
- package/vscode/src/vs/workbench/contrib/testing/common/testCoverageService.js +74 -0
- package/vscode/src/vs/workbench/contrib/testing/common/testResult.js +3 -3
- package/vscode/src/vs/workbench/contrib/testing/common/testTypes.js +64 -1
- package/vscode/src/vs/workbench/contrib/testing/common/testingContextKeys.js +9 -0
- package/vscode/src/vs/workbench/contrib/webview/browser/webviewWindowDragMonitor.js +4 -3
- package/vscode/src/vs/workbench/contrib/webviewPanel/browser/webviewEditor.js +8 -9
- package/vscode/src/vs/workbench/contrib/webviewPanel/browser/webviewEditorInput.js +1 -1
- package/vscode/src/vs/workbench/contrib/webviewPanel/browser/webviewIconManager.js +5 -2
- package/vscode/src/vs/workbench/services/activity/browser/activityService.d.ts +16 -10
- package/vscode/src/vs/workbench/services/activity/common/activity.d.ts +14 -1
- package/vscode/src/vs/workbench/services/activity/common/activity.js +1 -7
- package/vscode/src/vs/workbench/services/authentication/browser/authenticationService.js +9 -28
- package/vscode/src/vs/workbench/services/auxiliaryWindow/browser/auxiliaryWindowService.js +273 -0
- package/vscode/src/vs/workbench/services/configurationResolver/common/configurationResolver.js +1 -0
- package/vscode/src/vs/workbench/services/configurationResolver/common/variableResolver.js +2 -0
- package/vscode/src/vs/workbench/services/decorations/browser/decorationsService.js +2 -3
- package/vscode/src/vs/workbench/services/editor/browser/editorService.d.ts +7 -5
- package/vscode/src/vs/workbench/services/editor/browser/editorService.js +59 -37
- package/vscode/src/vs/workbench/services/editor/common/editorGroupsService.d.ts +193 -94
- package/vscode/src/vs/workbench/services/editor/common/editorGroupsService.js +2 -2
- package/vscode/src/vs/workbench/services/editor/common/editorResolverService.d.ts +8 -2
- package/vscode/src/vs/workbench/services/editor/common/editorService.d.ts +8 -1
- package/vscode/src/vs/workbench/services/extensionRecommendations/common/workspaceExtensionsConfig.js +62 -16
- package/vscode/src/vs/workbench/services/extensions/browser/extensionUrlHandler.js +5 -3
- package/vscode/src/vs/workbench/services/extensions/common/abstractExtensionService.d.ts +3 -2
- package/vscode/src/vs/workbench/services/extensions/common/extensionDescriptionRegistry.js +4 -9
- package/vscode/src/vs/workbench/services/extensions/common/{extensionHostManager.d.ts → extensionHostManagers.d.ts} +2 -0
- package/vscode/src/vs/workbench/services/extensions/common/extensionRunningLocationTracker.d.ts +1 -1
- package/vscode/src/vs/workbench/services/extensions/common/extensions.d.ts +9 -0
- package/vscode/src/vs/workbench/services/extensions/common/extensions.js +22 -0
- package/vscode/src/vs/workbench/services/extensions/common/extensionsApiProposals.js +14 -3
- package/vscode/src/vs/workbench/services/extensions/common/extensionsRegistry.js +9 -0
- package/vscode/src/vs/workbench/services/filesConfiguration/common/filesConfigurationService.js +3 -3
- package/vscode/src/vs/workbench/services/history/common/history.d.ts +2 -2
- package/vscode/src/vs/workbench/services/host/browser/browserHostService.js +49 -18
- package/vscode/src/vs/workbench/services/host/browser/host.d.ts +29 -7
- package/vscode/src/vs/workbench/services/hover/browser/hover.d.ts +51 -28
- package/vscode/src/vs/workbench/services/hover/browser/hoverService.d.ts +5 -2
- package/vscode/src/vs/workbench/services/keybinding/browser/unboundCommands.js +2 -2
- package/vscode/src/vs/workbench/services/languageStatus/common/languageStatusService.d.ts +4 -1
- package/vscode/src/vs/workbench/services/layout/browser/layoutService.d.ts +40 -36
- package/vscode/src/vs/workbench/services/panecomposite/browser/panecomposite.d.ts +0 -6
- package/vscode/src/vs/workbench/services/preferences/common/preferences.d.ts +3 -0
- package/vscode/src/vs/workbench/services/progress/browser/progressIndicator.js +2 -2
- package/vscode/src/vs/workbench/services/remote/common/remoteExplorerService.d.ts +18 -3
- package/vscode/src/vs/workbench/services/request/browser/requestService.js +48 -0
- package/vscode/src/vs/workbench/services/search/common/searchHelpers.js +4 -4
- package/vscode/src/vs/workbench/services/statusbar/browser/statusbar.d.ts +10 -51
- package/vscode/src/vs/workbench/services/suggest/browser/simpleSuggestWidget.js +2 -2
- package/vscode/src/vs/workbench/services/textfile/browser/textFileService.js +32 -1
- package/vscode/src/vs/workbench/services/textfile/common/textEditorService.js +1 -5
- package/vscode/src/vs/workbench/services/themes/browser/browserHostColorSchemeService.js +4 -3
- package/vscode/src/vs/workbench/services/themes/common/iconExtensionPoint.js +9 -3
- package/vscode/src/vs/workbench/services/title/browser/titleService.d.ts +18 -0
- package/vscode/src/vs/workbench/services/untitled/common/untitledTextEditorInput.js +18 -3
- package/vscode/src/vs/workbench/services/untitled/common/untitledTextEditorModel.js +16 -7
- package/vscode/src/vs/workbench/services/untitled/common/untitledTextEditorService.d.ts +6 -0
- package/vscode/src/vs/workbench/services/untitled/common/untitledTextEditorService.js +13 -0
- package/vscode/src/vs/workbench/services/url/browser/urlService.js +2 -1
- package/vscode/src/vs/workbench/services/userActivity/common/userActivityService.js +2 -2
- package/vscode/src/vs/workbench/services/userDataProfile/common/userDataProfileIcons.js +9 -0
- package/vscode-dts/vscode.proposed.chatAgents2.d.ts +375 -0
- package/vscode-dts/vscode.proposed.chatAgents2Additions.d.ts +80 -0
- package/vscode-dts/vscode.proposed.chatProvider.d.ts +5 -1
- package/vscode-dts/vscode.proposed.chatRequestAccess.d.ts +68 -10
- package/vscode-dts/vscode.proposed.chatTab.d.ts +21 -0
- package/vscode-dts/vscode.proposed.chatVariables.d.ts +5 -1
- package/vscode-dts/vscode.proposed.codeActionAI.d.ts +16 -0
- package/vscode-dts/vscode.proposed.contribSourceControlInputBoxMenu.d.ts +7 -0
- package/vscode-dts/vscode.proposed.createFileSystemWatcher.d.ts +51 -0
- package/vscode-dts/vscode.proposed.defaultChatAgent.d.ts +30 -0
- package/vscode-dts/vscode.proposed.handleIssueUri.d.ts +26 -0
- package/vscode-dts/vscode.proposed.interactive.d.ts +26 -100
- package/vscode-dts/vscode.proposed.interactiveUserActions.d.ts +14 -7
- package/vscode-dts/vscode.proposed.languageStatusText.d.ts +12 -0
- package/vscode-dts/vscode.proposed.multiDocumentHighlightProvider.d.ts +63 -0
- package/vscode-dts/vscode.proposed.notebookVariableProvider.d.ts +43 -0
- package/vscode-dts/vscode.proposed.resolvers.d.ts +100 -1
- package/vscode-dts/vscode.proposed.scmHistoryProvider.d.ts +9 -1
- package/vscode-dts/vscode.proposed.scmInputBoxActionButton.d.ts +19 -0
- package/vscode-dts/vscode.proposed.scmInputBoxValueProvider.d.ts +25 -0
- package/vscode-dts/vscode.proposed.speech.d.ts +35 -0
- package/vscode-dts/vscode.proposed.terminalQuickFixProvider.d.ts +11 -7
- package/vscode-dts/vscode.proposed.testCoverage.d.ts +6 -1
- package/vscode-dts/vscode.proposed.testingActiveProfile.d.ts +21 -0
- package/external/xterm-headless/typings/xterm-headless.d.ts +0 -49
- package/vscode/src/vs/platform/backup/common/backup.d.ts +0 -14
- package/vscode/src/vs/platform/update/common/update.d.ts +0 -112
- package/vscode/src/vs/workbench/api/common/extHostChatAgents.js +0 -62
- package/vscode/src/vs/workbench/api/common/extHostChatSlashCommand.js +0 -62
- package/vscode/src/vs/workbench/browser/parts/paneCompositePart.d.ts +0 -56
- package/vscode/src/vs/workbench/services/files/common/files.js +0 -4
- package/vscode/src/vs/workbench/services/host/browser/browserHostService.d.ts +0 -41
- package/vscode/src/vs/workbench/services/title/common/titleService.d.ts +0 -31
- package/vscode-dts/vscode.proposed.chatAgents.d.ts +0 -39
- package/vscode-dts/vscode.proposed.chatSlashCommands.d.ts +0 -47
- package/vscode-dts/vscode.proposed.testMessageContextValue.d.ts +0 -45
- /package/external/{xterm-addon-canvas/typings/xterm-addon-canvas.d.ts → @xterm/addon-canvas/typings/addon-canvas.d.ts} +0 -0
- /package/external/{xterm-addon-search/typings/xterm-addon-search.d.ts → @xterm/addon-search/typings/addon-search.d.ts} +0 -0
- /package/external/{xterm-addon-unicode11/typings/xterm-addon-unicode11.d.ts → @xterm/addon-unicode11/typings/addon-unicode11.d.ts} +0 -0
- /package/external/{xterm-addon-webgl/typings/xterm-addon-webgl.d.ts → @xterm/addon-webgl/typings/addon-webgl.d.ts} +0 -0
- /package/vscode/src/vs/workbench/services/title/{common → browser}/titleService.js +0 -0
|
@@ -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.
|
|
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.
|
|
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.
|
|
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,
|
|
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 {
|
|
4
|
-
import {
|
|
5
|
-
import {
|
|
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
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
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
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
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
|
-
|
|
53
|
-
|
|
54
|
-
|
|
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
|
-
|
|
62
|
+
}
|
|
63
|
+
interface IAuxiliaryStatusbarPart extends IStatusbarEntryContainer, IView {
|
|
64
|
+
readonly container: HTMLElement;
|
|
65
|
+
readonly height: number;
|
|
64
66
|
}
|
|
65
67
|
|
|
66
|
-
export {
|
|
68
|
+
export type { IAuxiliaryStatusbarPart, IStatusbarEntryContainer };
|