@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
|
@@ -34,6 +34,7 @@ import { OpenRecentAction } from '../../actions/windowActions.js';
|
|
|
34
34
|
import { isICommandActionToggleInfo } from 'monaco-editor/esm/vs/platform/action/common/action.js';
|
|
35
35
|
import { createAndFillInContextMenuActions } from 'monaco-editor/esm/vs/platform/actions/browser/menuEntryActionViewItem.js';
|
|
36
36
|
import { defaultMenuStyles } from 'monaco-editor/esm/vs/platform/theme/browser/defaultStyles.js';
|
|
37
|
+
import { mainWindow } from 'monaco-editor/esm/vs/base/browser/window.js';
|
|
37
38
|
MenuRegistry.appendMenuItem(MenuId.MenubarMainMenu, {
|
|
38
39
|
submenu: MenuId.MenubarFileMenu,
|
|
39
40
|
title: {
|
|
@@ -674,7 +675,7 @@ let CustomMenubarControl = class CustomMenubarControl extends MenubarControl {
|
|
|
674
675
|
}
|
|
675
676
|
registerListeners() {
|
|
676
677
|
super.registerListeners();
|
|
677
|
-
this._register(addDisposableListener(
|
|
678
|
+
this._register(addDisposableListener(mainWindow, EventType.RESIZE, () => {
|
|
678
679
|
if (this.menubar && !(isIOS && BrowserFeatures.pointerEvents)) {
|
|
679
680
|
this.menubar.blur();
|
|
680
681
|
}
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
import { Event } from '../../../../base/common/event.js';
|
|
2
|
+
import { IDisposable } from '../../../../base/common/lifecycle.js';
|
|
3
|
+
import { IView } from '../../../../base/browser/ui/grid/grid.js';
|
|
4
|
+
|
|
5
|
+
interface ITitleProperties {
|
|
6
|
+
isPure?: boolean;
|
|
7
|
+
isAdmin?: boolean;
|
|
8
|
+
prefix?: string;
|
|
9
|
+
}
|
|
10
|
+
interface ITitlebarPart extends IDisposable {
|
|
11
|
+
/**
|
|
12
|
+
* An event when the menubar visibility changes.
|
|
13
|
+
*/
|
|
14
|
+
readonly onMenubarVisibilityChange: Event<boolean>;
|
|
15
|
+
/**
|
|
16
|
+
* Update some environmental title properties.
|
|
17
|
+
*/
|
|
18
|
+
updateProperties(properties: ITitleProperties): void;
|
|
19
|
+
}
|
|
20
|
+
interface IAuxiliaryTitlebarPart extends ITitlebarPart, IView {
|
|
21
|
+
readonly container: HTMLElement;
|
|
22
|
+
readonly height: number;
|
|
23
|
+
}
|
|
24
|
+
|
|
25
|
+
export type { IAuxiliaryTitlebarPart, ITitleProperties, ITitlebarPart };
|
|
@@ -0,0 +1,258 @@
|
|
|
1
|
+
import { __decorate, __param } from '../../../../../../../external/tslib/tslib.es6.js';
|
|
2
|
+
import { localizeWithPath } from 'monaco-editor/esm/vs/nls.js';
|
|
3
|
+
import { dirname, basename } from 'monaco-editor/esm/vs/base/common/resources.js';
|
|
4
|
+
import { IConfigurationService } from 'monaco-editor/esm/vs/platform/configuration/common/configuration.js';
|
|
5
|
+
import { IEditorService } from '../../../services/editor/common/editorService.js';
|
|
6
|
+
import { Disposable, DisposableStore } from 'monaco-editor/esm/vs/base/common/lifecycle.js';
|
|
7
|
+
import { EditorResourceAccessor, SideBySideEditor } from '../../../common/editor.js';
|
|
8
|
+
import { IBrowserWorkbenchEnvironmentService } from '../../../services/environment/browser/environmentService.js';
|
|
9
|
+
import { IWorkspaceContextService } from 'monaco-editor/esm/vs/platform/workspace/common/workspace.js';
|
|
10
|
+
import { isWindows, isMacintosh, isWeb } from 'monaco-editor/esm/vs/base/common/platform.js';
|
|
11
|
+
import { trim } from 'monaco-editor/esm/vs/base/common/strings.js';
|
|
12
|
+
import { template } from 'monaco-editor/esm/vs/base/common/labels.js';
|
|
13
|
+
import { ILabelService } from 'monaco-editor/esm/vs/platform/label/common/label.js';
|
|
14
|
+
import { Emitter } from 'monaco-editor/esm/vs/base/common/event.js';
|
|
15
|
+
import { RunOnceScheduler } from 'monaco-editor/esm/vs/base/common/async.js';
|
|
16
|
+
import { IProductService } from 'monaco-editor/esm/vs/platform/product/common/productService.js';
|
|
17
|
+
import { Schemas } from 'monaco-editor/esm/vs/base/common/network.js';
|
|
18
|
+
import { getVirtualWorkspaceLocation } from '../../../../platform/workspace/common/virtualWorkspace.js';
|
|
19
|
+
import { IUserDataProfileService } from '../../../services/userDataProfile/common/userDataProfile.js';
|
|
20
|
+
import { IViewsService } from '../../../common/views.js';
|
|
21
|
+
import { isCodeEditor, isDiffEditor } from 'monaco-editor/esm/vs/editor/browser/editorBrowser.js';
|
|
22
|
+
var WindowTitle_1;
|
|
23
|
+
let WindowTitle = class WindowTitle extends Disposable {
|
|
24
|
+
static { WindowTitle_1 = this; }
|
|
25
|
+
static { this.NLS_USER_IS_ADMIN = isWindows ? ( localizeWithPath(
|
|
26
|
+
'vs/workbench/browser/parts/titlebar/windowTitle',
|
|
27
|
+
'userIsAdmin',
|
|
28
|
+
"[Administrator]"
|
|
29
|
+
)) : ( localizeWithPath(
|
|
30
|
+
'vs/workbench/browser/parts/titlebar/windowTitle',
|
|
31
|
+
'userIsSudo',
|
|
32
|
+
"[Superuser]"
|
|
33
|
+
)); }
|
|
34
|
+
static { this.NLS_EXTENSION_HOST = ( localizeWithPath(
|
|
35
|
+
'vs/workbench/browser/parts/titlebar/windowTitle',
|
|
36
|
+
'devExtensionWindowTitlePrefix',
|
|
37
|
+
"[Extension Development Host]"
|
|
38
|
+
)); }
|
|
39
|
+
static { this.TITLE_DIRTY = '\u25cf '; }
|
|
40
|
+
get value() { return this.title ?? ''; }
|
|
41
|
+
get workspaceName() { return this.labelService.getWorkspaceLabel(this.contextService.getWorkspace()); }
|
|
42
|
+
get fileName() {
|
|
43
|
+
const activeEditor = this.editorService.activeEditor;
|
|
44
|
+
if (!activeEditor) {
|
|
45
|
+
return undefined;
|
|
46
|
+
}
|
|
47
|
+
const fileName = activeEditor.getTitle(0 );
|
|
48
|
+
const dirty = activeEditor?.isDirty() && !activeEditor.isSaving() ? WindowTitle_1.TITLE_DIRTY : '';
|
|
49
|
+
return `${dirty}${fileName}`;
|
|
50
|
+
}
|
|
51
|
+
constructor(targetWindow, editorGroupsContainer, configurationService, editorService, environmentService, contextService, labelService, userDataProfileService, productService, viewsService) {
|
|
52
|
+
super();
|
|
53
|
+
this.targetWindow = targetWindow;
|
|
54
|
+
this.configurationService = configurationService;
|
|
55
|
+
this.environmentService = environmentService;
|
|
56
|
+
this.contextService = contextService;
|
|
57
|
+
this.labelService = labelService;
|
|
58
|
+
this.userDataProfileService = userDataProfileService;
|
|
59
|
+
this.productService = productService;
|
|
60
|
+
this.viewsService = viewsService;
|
|
61
|
+
this.properties = { isPure: true, isAdmin: false, prefix: undefined };
|
|
62
|
+
this.activeEditorListeners = this._register(( new DisposableStore()));
|
|
63
|
+
this.titleUpdater = this._register(( new RunOnceScheduler(() => this.doUpdateTitle(), 0)));
|
|
64
|
+
this.onDidChangeEmitter = ( new Emitter());
|
|
65
|
+
this.onDidChange = this.onDidChangeEmitter.event;
|
|
66
|
+
this.titleIncludesFocusedView = false;
|
|
67
|
+
this.editorService = editorService.createScoped(editorGroupsContainer, this._store);
|
|
68
|
+
this.updateTitleIncludesFocusedView();
|
|
69
|
+
this.registerListeners();
|
|
70
|
+
}
|
|
71
|
+
registerListeners() {
|
|
72
|
+
this._register(this.configurationService.onDidChangeConfiguration(e => this.onConfigurationChanged(e)));
|
|
73
|
+
this._register(this.editorService.onDidActiveEditorChange(() => this.onActiveEditorChange()));
|
|
74
|
+
this._register(this.contextService.onDidChangeWorkspaceFolders(() => this.titleUpdater.schedule()));
|
|
75
|
+
this._register(this.contextService.onDidChangeWorkbenchState(() => this.titleUpdater.schedule()));
|
|
76
|
+
this._register(this.contextService.onDidChangeWorkspaceName(() => this.titleUpdater.schedule()));
|
|
77
|
+
this._register(this.labelService.onDidChangeFormatters(() => this.titleUpdater.schedule()));
|
|
78
|
+
this._register(this.userDataProfileService.onDidChangeCurrentProfile(() => this.titleUpdater.schedule()));
|
|
79
|
+
this._register(this.viewsService.onDidChangeFocusedView(() => {
|
|
80
|
+
if (this.titleIncludesFocusedView) {
|
|
81
|
+
this.titleUpdater.schedule();
|
|
82
|
+
}
|
|
83
|
+
}));
|
|
84
|
+
}
|
|
85
|
+
onConfigurationChanged(event) {
|
|
86
|
+
if (event.affectsConfiguration("window.title" )) {
|
|
87
|
+
this.updateTitleIncludesFocusedView();
|
|
88
|
+
}
|
|
89
|
+
if (event.affectsConfiguration("window.title" ) || event.affectsConfiguration("window.titleSeparator" )) {
|
|
90
|
+
this.titleUpdater.schedule();
|
|
91
|
+
}
|
|
92
|
+
}
|
|
93
|
+
updateTitleIncludesFocusedView() {
|
|
94
|
+
const titleTemplate = this.configurationService.getValue("window.title" );
|
|
95
|
+
this.titleIncludesFocusedView = typeof titleTemplate === 'string' && titleTemplate.includes('${focusedView}');
|
|
96
|
+
}
|
|
97
|
+
onActiveEditorChange() {
|
|
98
|
+
this.activeEditorListeners.clear();
|
|
99
|
+
this.titleUpdater.schedule();
|
|
100
|
+
const activeEditor = this.editorService.activeEditor;
|
|
101
|
+
if (activeEditor) {
|
|
102
|
+
this.activeEditorListeners.add(activeEditor.onDidChangeDirty(() => this.titleUpdater.schedule()));
|
|
103
|
+
this.activeEditorListeners.add(activeEditor.onDidChangeLabel(() => this.titleUpdater.schedule()));
|
|
104
|
+
}
|
|
105
|
+
if (this.titleIncludesFocusedView) {
|
|
106
|
+
const activeTextEditorControl = this.editorService.activeTextEditorControl;
|
|
107
|
+
const textEditorControls = [];
|
|
108
|
+
if (isCodeEditor(activeTextEditorControl)) {
|
|
109
|
+
textEditorControls.push(activeTextEditorControl);
|
|
110
|
+
}
|
|
111
|
+
else if (isDiffEditor(activeTextEditorControl)) {
|
|
112
|
+
textEditorControls.push(activeTextEditorControl.getOriginalEditor(), activeTextEditorControl.getModifiedEditor());
|
|
113
|
+
}
|
|
114
|
+
for (const textEditorControl of textEditorControls) {
|
|
115
|
+
this.activeEditorListeners.add(textEditorControl.onDidBlurEditorText(() => this.titleUpdater.schedule()));
|
|
116
|
+
this.activeEditorListeners.add(textEditorControl.onDidFocusEditorText(() => this.titleUpdater.schedule()));
|
|
117
|
+
}
|
|
118
|
+
}
|
|
119
|
+
}
|
|
120
|
+
doUpdateTitle() {
|
|
121
|
+
const title = this.getFullWindowTitle();
|
|
122
|
+
if (title !== this.title) {
|
|
123
|
+
let nativeTitle = title;
|
|
124
|
+
if (!trim(nativeTitle)) {
|
|
125
|
+
nativeTitle = this.productService.nameLong;
|
|
126
|
+
}
|
|
127
|
+
if (!this.targetWindow.document.title && isMacintosh && nativeTitle === this.productService.nameLong) {
|
|
128
|
+
this.targetWindow.document.title = `${this.productService.nameLong} ${WindowTitle_1.TITLE_DIRTY}`;
|
|
129
|
+
}
|
|
130
|
+
this.targetWindow.document.title = nativeTitle;
|
|
131
|
+
this.title = title;
|
|
132
|
+
this.onDidChangeEmitter.fire();
|
|
133
|
+
}
|
|
134
|
+
}
|
|
135
|
+
getFullWindowTitle() {
|
|
136
|
+
const { prefix, suffix } = this.getTitleDecorations();
|
|
137
|
+
let title = this.getWindowTitle() || this.productService.nameLong;
|
|
138
|
+
if (prefix) {
|
|
139
|
+
title = `${prefix} ${title}`;
|
|
140
|
+
}
|
|
141
|
+
if (suffix) {
|
|
142
|
+
title = `${title} ${suffix}`;
|
|
143
|
+
}
|
|
144
|
+
return title.replace(/[^\S ]/g, ' ');
|
|
145
|
+
}
|
|
146
|
+
getTitleDecorations() {
|
|
147
|
+
let prefix;
|
|
148
|
+
let suffix;
|
|
149
|
+
if (this.properties.prefix) {
|
|
150
|
+
prefix = this.properties.prefix;
|
|
151
|
+
}
|
|
152
|
+
if (this.environmentService.isExtensionDevelopment) {
|
|
153
|
+
prefix = !prefix
|
|
154
|
+
? WindowTitle_1.NLS_EXTENSION_HOST
|
|
155
|
+
: `${WindowTitle_1.NLS_EXTENSION_HOST} - ${prefix}`;
|
|
156
|
+
}
|
|
157
|
+
if (this.properties.isAdmin) {
|
|
158
|
+
suffix = WindowTitle_1.NLS_USER_IS_ADMIN;
|
|
159
|
+
}
|
|
160
|
+
return { prefix, suffix };
|
|
161
|
+
}
|
|
162
|
+
updateProperties(properties) {
|
|
163
|
+
const isAdmin = typeof properties.isAdmin === 'boolean' ? properties.isAdmin : this.properties.isAdmin;
|
|
164
|
+
const isPure = typeof properties.isPure === 'boolean' ? properties.isPure : this.properties.isPure;
|
|
165
|
+
const prefix = typeof properties.prefix === 'string' ? properties.prefix : this.properties.prefix;
|
|
166
|
+
if (isAdmin !== this.properties.isAdmin || isPure !== this.properties.isPure || prefix !== this.properties.prefix) {
|
|
167
|
+
this.properties.isAdmin = isAdmin;
|
|
168
|
+
this.properties.isPure = isPure;
|
|
169
|
+
this.properties.prefix = prefix;
|
|
170
|
+
this.titleUpdater.schedule();
|
|
171
|
+
}
|
|
172
|
+
}
|
|
173
|
+
getWindowTitle() {
|
|
174
|
+
const editor = this.editorService.activeEditor;
|
|
175
|
+
const workspace = this.contextService.getWorkspace();
|
|
176
|
+
let root;
|
|
177
|
+
if (workspace.configuration) {
|
|
178
|
+
root = workspace.configuration;
|
|
179
|
+
}
|
|
180
|
+
else if (workspace.folders.length) {
|
|
181
|
+
root = workspace.folders[0].uri;
|
|
182
|
+
}
|
|
183
|
+
const editorResource = EditorResourceAccessor.getOriginalUri(editor, { supportSideBySide: SideBySideEditor.PRIMARY });
|
|
184
|
+
let editorFolderResource = editorResource ? dirname(editorResource) : undefined;
|
|
185
|
+
if (editorFolderResource?.path === '.') {
|
|
186
|
+
editorFolderResource = undefined;
|
|
187
|
+
}
|
|
188
|
+
let folder = undefined;
|
|
189
|
+
if (this.contextService.getWorkbenchState() === 2 ) {
|
|
190
|
+
folder = workspace.folders[0];
|
|
191
|
+
}
|
|
192
|
+
else if (editorResource) {
|
|
193
|
+
folder = this.contextService.getWorkspaceFolder(editorResource) ?? undefined;
|
|
194
|
+
}
|
|
195
|
+
let remoteName = undefined;
|
|
196
|
+
if (this.environmentService.remoteAuthority && !isWeb) {
|
|
197
|
+
remoteName = this.labelService.getHostLabel(Schemas.vscodeRemote, this.environmentService.remoteAuthority);
|
|
198
|
+
}
|
|
199
|
+
else {
|
|
200
|
+
const virtualWorkspaceLocation = getVirtualWorkspaceLocation(workspace);
|
|
201
|
+
if (virtualWorkspaceLocation) {
|
|
202
|
+
remoteName = this.labelService.getHostLabel(virtualWorkspaceLocation.scheme, virtualWorkspaceLocation.authority);
|
|
203
|
+
}
|
|
204
|
+
}
|
|
205
|
+
const activeEditorShort = editor ? editor.getTitle(0 ) : '';
|
|
206
|
+
const activeEditorMedium = editor ? editor.getTitle(1 ) : activeEditorShort;
|
|
207
|
+
const activeEditorLong = editor ? editor.getTitle(2 ) : activeEditorMedium;
|
|
208
|
+
const activeFolderShort = editorFolderResource ? basename(editorFolderResource) : '';
|
|
209
|
+
const activeFolderMedium = editorFolderResource ? this.labelService.getUriLabel(editorFolderResource, { relative: true }) : '';
|
|
210
|
+
const activeFolderLong = editorFolderResource ? this.labelService.getUriLabel(editorFolderResource) : '';
|
|
211
|
+
const rootName = this.labelService.getWorkspaceLabel(workspace);
|
|
212
|
+
const rootNameShort = this.labelService.getWorkspaceLabel(workspace, { verbose: 0 });
|
|
213
|
+
const rootPath = root ? this.labelService.getUriLabel(root) : '';
|
|
214
|
+
const folderName = folder ? folder.name : '';
|
|
215
|
+
const folderPath = folder ? this.labelService.getUriLabel(folder.uri) : '';
|
|
216
|
+
const dirty = editor?.isDirty() && !editor.isSaving() ? WindowTitle_1.TITLE_DIRTY : '';
|
|
217
|
+
const appName = this.productService.nameLong;
|
|
218
|
+
const profileName = this.userDataProfileService.currentProfile.isDefault ? '' : this.userDataProfileService.currentProfile.name;
|
|
219
|
+
const separator = this.configurationService.getValue("window.titleSeparator" );
|
|
220
|
+
const titleTemplate = this.configurationService.getValue("window.title" );
|
|
221
|
+
const focusedView = this.viewsService.getFocusedViewName();
|
|
222
|
+
return template(titleTemplate, {
|
|
223
|
+
activeEditorShort,
|
|
224
|
+
activeEditorLong,
|
|
225
|
+
activeEditorMedium,
|
|
226
|
+
activeFolderShort,
|
|
227
|
+
activeFolderMedium,
|
|
228
|
+
activeFolderLong,
|
|
229
|
+
rootName,
|
|
230
|
+
rootPath,
|
|
231
|
+
rootNameShort,
|
|
232
|
+
folderName,
|
|
233
|
+
folderPath,
|
|
234
|
+
dirty,
|
|
235
|
+
appName,
|
|
236
|
+
remoteName,
|
|
237
|
+
profileName,
|
|
238
|
+
focusedView,
|
|
239
|
+
separator: { label: separator }
|
|
240
|
+
});
|
|
241
|
+
}
|
|
242
|
+
isCustomTitleFormat() {
|
|
243
|
+
const title = this.configurationService.inspect("window.title" );
|
|
244
|
+
const titleSeparator = this.configurationService.inspect("window.titleSeparator" );
|
|
245
|
+
return title.value !== title.defaultValue || titleSeparator.value !== titleSeparator.defaultValue;
|
|
246
|
+
}
|
|
247
|
+
};
|
|
248
|
+
WindowTitle = WindowTitle_1 = ( __decorate([
|
|
249
|
+
( __param(2, IConfigurationService)),
|
|
250
|
+
( __param(3, IEditorService)),
|
|
251
|
+
( __param(4, IBrowserWorkbenchEnvironmentService)),
|
|
252
|
+
( __param(5, IWorkspaceContextService)),
|
|
253
|
+
( __param(6, ILabelService)),
|
|
254
|
+
( __param(7, IUserDataProfileService)),
|
|
255
|
+
( __param(8, IProductService)),
|
|
256
|
+
( __param(9, IViewsService))
|
|
257
|
+
], WindowTitle));
|
|
258
|
+
export { WindowTitle };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
import n from '../../../../../../../../external/rollup-plugin-styles/dist/runtime/inject-css.js';
|
|
2
|
-
var css = ".monaco-pane-view .split-view-view:first-of-type>.pane>.pane-header{border-top:none!important}.monaco-pane-view .split-view-view:first-of-type>.pane{border-left:none!important}.monaco-pane-view .pane>.pane-header{position:relative}.monaco-pane-view .pane.expanded>.pane-header>.actions.show-expanded,.monaco-pane-view .pane>.pane-header>.actions.show-always{display:initial}.monaco-pane-view .pane>.pane-header>.icon{display:none;height:16px;width:16px}.monaco-pane-view .pane.pane.horizontal:not(.expanded)>.pane-header>.icon{display:inline;margin-top:4px}.monaco-pane-view .pane>.pane-header h3.title{-webkit-margin-before:0;-webkit-margin-after:0;font-size:11px;min-width:3ch;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.monaco-pane-view .pane>.pane-header .description{display:block;flex-shrink:100000;font-weight:400;margin-left:10px;opacity:.6;overflow:hidden;text-overflow:ellipsis;text-transform:none;white-space:nowrap}.monaco-pane-view .pane>.pane-header .description .codicon{font-size:9px;margin-left:2px}.monaco-pane-view .pane.horizontal:not(.expanded)>.pane-header .description,.monaco-pane-view .pane.horizontal:not(.expanded)>.pane-header h3.title,.monaco-pane-view .pane>.pane-header:not(.expanded) .description{display:none}.monaco-pane-view .pane .monaco-progress-container{
|
|
2
|
+
var css = ".monaco-pane-view .split-view-view:first-of-type>.pane>.pane-header{border-top:none!important}.monaco-pane-view .split-view-view:first-of-type>.pane{border-left:none!important}.monaco-pane-view .pane>.pane-header{position:relative}.monaco-pane-view .pane>.pane-header.not-collapsible .twisty-container{display:none}.monaco-pane-view .pane>.pane-header.not-collapsible .title{margin-left:8px}.monaco-pane-view .pane.expanded>.pane-header>.actions.show-expanded,.monaco-pane-view .pane>.pane-header>.actions.show-always{display:initial}.monaco-pane-view .pane>.pane-header>.icon{display:none;height:16px;width:16px}.monaco-pane-view .pane.pane.horizontal:not(.expanded)>.pane-header>.icon{display:inline;margin-top:4px}.monaco-pane-view .pane>.pane-header h3.title{-webkit-margin-before:0;-webkit-margin-after:0;font-size:11px;min-width:3ch;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.monaco-pane-view .pane>.pane-header .description{display:block;flex-shrink:100000;font-weight:400;margin-left:10px;opacity:.6;overflow:hidden;text-overflow:ellipsis;text-transform:none;white-space:nowrap}.monaco-pane-view .pane>.pane-header .description .codicon{font-size:9px;margin-left:2px}.monaco-pane-view .pane.horizontal:not(.expanded)>.pane-header .description,.monaco-pane-view .pane.horizontal:not(.expanded)>.pane-header h3.title,.monaco-pane-view .pane>.pane-header:not(.expanded) .description{display:none}.monaco-pane-view .pane .monaco-progress-container{left:0;position:absolute;top:-2px;z-index:5}.monaco-pane-view .pane:not(.merged-header) .monaco-progress-container{top:20px}";
|
|
3
3
|
n(css,{});
|
|
4
4
|
export { css, css as default };
|
|
@@ -69,9 +69,6 @@ declare abstract class ViewPane extends Pane implements IView {
|
|
|
69
69
|
private titleDescriptionContainer?;
|
|
70
70
|
private iconContainer?;
|
|
71
71
|
protected twistiesContainer?: HTMLElement;
|
|
72
|
-
private bodyContainer;
|
|
73
|
-
private viewWelcomeContainer;
|
|
74
|
-
private viewWelcomeDisposable;
|
|
75
72
|
private viewWelcomeController;
|
|
76
73
|
protected readonly scopedContextKeyService: IContextKeyService;
|
|
77
74
|
constructor(options: IViewPaneOptions, keybindingService: IKeybindingService, contextMenuService: IContextMenuService, configurationService: IConfigurationService, contextKeyService: IContextKeyService, viewDescriptorService: IViewDescriptorService, instantiationService: IInstantiationService, openerService: IOpenerService, themeService: IThemeService, telemetryService: ITelemetryService);
|
|
@@ -83,6 +80,8 @@ declare abstract class ViewPane extends Pane implements IView {
|
|
|
83
80
|
setExpanded(expanded: boolean): boolean;
|
|
84
81
|
render(): void;
|
|
85
82
|
protected renderHeader(container: HTMLElement): void;
|
|
83
|
+
protected updateHeader(): void;
|
|
84
|
+
private updateTwistyIcon;
|
|
86
85
|
protected getTwistyIcon(expanded: boolean): ThemeIcon;
|
|
87
86
|
style(styles: IPaneStyles): void;
|
|
88
87
|
private getIcon;
|
|
@@ -91,7 +90,6 @@ declare abstract class ViewPane extends Pane implements IView {
|
|
|
91
90
|
private setTitleDescription;
|
|
92
91
|
protected updateTitleDescription(description?: string | undefined): void;
|
|
93
92
|
private calculateTitle;
|
|
94
|
-
private scrollableElement;
|
|
95
93
|
protected renderBody(container: HTMLElement): void;
|
|
96
94
|
protected layoutBody(height: number, width: number): void;
|
|
97
95
|
onDidScrollRoot(): void;
|
|
@@ -107,7 +105,6 @@ declare abstract class ViewPane extends Pane implements IView {
|
|
|
107
105
|
getActionRunner(): IActionRunner | undefined;
|
|
108
106
|
getOptimalWidth(): number;
|
|
109
107
|
saveState(): void;
|
|
110
|
-
private updateViewWelcome;
|
|
111
108
|
shouldShowWelcome(): boolean;
|
|
112
109
|
getFilterWidget(): FilterWidget | undefined;
|
|
113
110
|
shouldShowFilterInHeader(): boolean;
|