@codingame/monaco-vscode-api 1.81.8-next.2 → 1.82.0-next.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +14 -0
- package/api.js +12 -8
- package/extensions.d.ts +1 -0
- package/extensions.js +3 -0
- package/missing-services.js +69 -20
- package/monaco-editor-treemending.patch +1407 -1026
- package/monaco-treemending.js +2 -2
- package/monaco.d.ts +1 -1
- package/monaco.js +3 -0
- package/package.json +3 -3
- package/service-override/extensions.d.ts +1 -1
- package/service-override/extensions.js +5 -1
- package/service-override/keybindings.d.ts +4 -1
- package/service-override/keybindings.js +35 -6
- package/service-override/quickaccess.d.ts +2 -1
- package/service-override/quickaccess.js +5 -2
- package/service-override/search.js +2 -2
- package/service-override/snippets.d.ts +1 -1
- package/service-override/storage.d.ts +1 -1
- package/service-override/theme.d.ts +1 -1
- package/service-override/tools/editor.d.ts +1 -1
- package/service-override/tools/editor.js +4 -3
- package/service-override/views.d.ts +1 -1
- package/service-override/views.js +4 -2
- package/vscode/src/vs/base/browser/contextmenu.d.ts +1 -1
- package/vscode/src/vs/base/browser/dom.d.ts +1 -1
- package/vscode/src/vs/base/browser/keyboardEvent.d.ts +1 -1
- package/vscode/src/vs/base/browser/mouseEvent.d.ts +1 -1
- package/vscode/src/vs/base/browser/ui/actionbar/actionViewItems.d.ts +1 -1
- package/vscode/src/vs/base/browser/ui/actionbar/actionbar.d.ts +7 -1
- package/vscode/src/vs/base/browser/ui/breadcrumbs/breadcrumbsWidget.d.ts +1 -1
- package/vscode/src/vs/base/browser/ui/contextview/contextview.d.ts +1 -1
- package/vscode/src/vs/base/browser/ui/dropdown/dropdownActionViewItem.d.ts +1 -1
- package/vscode/src/vs/base/browser/ui/grid/grid.d.ts +1 -1
- package/vscode/src/vs/base/browser/ui/grid/gridview.d.ts +1 -1
- package/vscode/src/vs/base/browser/ui/grid/gridview.js +1 -0
- package/vscode/src/vs/base/browser/ui/iconLabel/iconHoverDelegate.d.ts +1 -1
- package/vscode/src/vs/base/browser/ui/iconLabel/iconLabelHover.d.ts +1 -1
- package/vscode/src/vs/base/browser/ui/menu/menubar.js +1 -2
- package/vscode/src/vs/base/browser/ui/sash/sash.d.ts +1 -1
- package/vscode/src/vs/base/browser/ui/splitview/paneview.d.ts +1 -1
- package/vscode/src/vs/base/browser/ui/splitview/splitview.d.ts +1 -1
- package/vscode/src/vs/base/browser/ui/toggle/toggle.d.ts +1 -1
- package/vscode/src/vs/base/browser/ui/toolbar/toolbar.d.ts +5 -1
- package/vscode/src/vs/base/common/actions.d.ts +1 -1
- package/vscode/src/vs/base/common/async.d.ts +1 -1
- package/vscode/src/vs/base/common/buffer.d.ts +1 -1
- package/vscode/src/vs/base/common/codicons.d.ts +5 -0
- package/vscode/src/vs/base/common/collections.d.ts +1 -1
- package/vscode/src/vs/base/common/dataTransfer.d.ts +1 -1
- package/vscode/src/vs/base/common/errors.d.ts +1 -1
- package/vscode/src/vs/base/common/event.d.ts +10 -2
- package/vscode/src/vs/base/common/filters.d.ts +1 -1
- package/vscode/src/vs/base/common/glob.d.ts +1 -1
- package/vscode/src/vs/base/common/htmlContent.d.ts +1 -1
- package/vscode/src/vs/base/common/jsonSchema.d.ts +1 -1
- package/vscode/src/vs/base/common/keybindings.d.ts +1 -1
- package/vscode/src/vs/base/common/lifecycle.d.ts +1 -1
- package/vscode/src/vs/base/common/{observableImpl → observableInternal}/base.d.ts +1 -1
- package/vscode/src/vs/base/common/path.d.ts +1 -1
- package/vscode/src/vs/base/common/performance.d.ts +1 -1
- package/vscode/src/vs/base/common/platform.d.ts +1 -1
- package/vscode/src/vs/base/common/prefixTree.js +76 -13
- package/vscode/src/vs/base/common/processes.d.ts +1 -1
- package/vscode/src/vs/base/common/product.d.ts +10 -6
- package/vscode/src/vs/base/common/resources.d.ts +1 -1
- package/vscode/src/vs/base/common/stream.d.ts +1 -1
- package/vscode/src/vs/base/common/ternarySearchTree.d.ts +1 -1
- package/vscode/src/vs/base/common/themables.d.ts +1 -1
- package/vscode/src/vs/base/common/types.d.ts +1 -1
- package/vscode/src/vs/base/common/uri.d.ts +1 -1
- package/vscode/src/vs/base/common/uriIpc.d.ts +1 -1
- package/vscode/src/vs/base/parts/ipc/common/ipc.d.ts +1 -1
- package/vscode/src/vs/base/parts/ipc/common/ipc.net.d.ts +1 -1
- package/vscode/src/vs/base/parts/storage/common/storage.d.ts +1 -1
- package/vscode/src/vs/editor/browser/editorBrowser.d.ts +2 -2
- package/vscode/src/vs/editor/browser/services/bulkEditService.d.ts +1 -1
- package/vscode/src/vs/editor/browser/services/codeEditorService.d.ts +1 -1
- package/vscode/src/vs/editor/browser/widget/diffEditorWidget2/diffEditorWidget2.contribution.js +122 -26
- package/vscode/src/vs/editor/common/config/editorOptions.d.ts +25 -5
- package/vscode/src/vs/editor/common/core/dimension.d.ts +1 -1
- package/vscode/src/vs/editor/common/core/editOperation.d.ts +1 -1
- package/vscode/src/vs/editor/common/core/lineRange.d.ts +8 -1
- package/vscode/src/vs/editor/common/core/offsetRange.d.ts +47 -0
- package/vscode/src/vs/editor/common/core/position.d.ts +1 -1
- package/vscode/src/vs/editor/common/core/range.d.ts +1 -1
- package/vscode/src/vs/editor/common/core/selection.d.ts +1 -1
- package/vscode/src/vs/editor/common/diff/documentDiffProvider.d.ts +3 -2
- package/vscode/src/vs/editor/common/diff/{smartLinesDiffComputer.d.ts → legacyLinesDiffComputer.d.ts} +1 -1
- package/vscode/src/vs/editor/common/diff/linesDiffComputer.d.ts +1 -0
- package/vscode/src/vs/editor/common/editorCommon.d.ts +1 -1
- package/vscode/src/vs/editor/common/encodedTokenAttributes.d.ts +1 -1
- package/vscode/src/vs/editor/common/languageFeatureRegistry.d.ts +1 -1
- package/vscode/src/vs/editor/common/languageSelector.d.ts +1 -1
- package/vscode/src/vs/editor/common/languages/language.d.ts +1 -1
- package/vscode/src/vs/editor/common/languages/languageConfiguration.d.ts +1 -1
- package/vscode/src/vs/editor/common/languages/languageConfigurationRegistry.d.ts +1 -1
- package/vscode/src/vs/editor/common/languages/supports/electricCharacter.d.ts +1 -1
- package/vscode/src/vs/editor/common/languages/supports/languageBracketsConfiguration.d.ts +1 -1
- package/vscode/src/vs/editor/common/languages.d.ts +37 -7
- package/vscode/src/vs/editor/common/model.d.ts +1 -1
- package/vscode/src/vs/editor/common/services/editorWorker.d.ts +2 -2
- package/vscode/src/vs/editor/common/services/languageFeatureDebounce.d.ts +1 -1
- package/vscode/src/vs/editor/common/services/languageFeatures.d.ts +2 -1
- package/vscode/src/vs/editor/common/services/languageFeaturesService.js +1 -0
- package/vscode/src/vs/editor/common/services/resolverService.d.ts +1 -1
- package/vscode/src/vs/editor/common/services/unicodeTextModelHighlighter.d.ts +1 -1
- package/vscode/src/vs/editor/common/textModelEvents.d.ts +1 -1
- package/vscode/src/vs/editor/common/tokens/lineTokens.d.ts +1 -1
- package/vscode/src/vs/editor/contrib/folding/browser/folding.d.ts +1 -1
- package/vscode/src/vs/editor/contrib/folding/browser/foldingModel.d.ts +1 -1
- package/vscode/src/vs/editor/contrib/folding/browser/foldingRanges.d.ts +1 -1
- package/vscode/src/vs/editor/standalone/browser/standaloneCodeEditor.d.ts +1 -1
- package/vscode/src/vs/editor/standalone/browser/standaloneServices.d.ts +1 -1
- package/vscode/src/vs/platform/accessibility/common/accessibility.d.ts +1 -1
- package/vscode/src/vs/platform/action/common/action.d.ts +1 -1
- package/vscode/src/vs/platform/actions/browser/floatingMenu.js +73 -0
- package/vscode/src/vs/platform/actions/browser/toolbar.d.ts +1 -1
- package/vscode/src/vs/platform/actions/common/actions.d.ts +5 -2
- package/vscode/src/vs/platform/audioCues/browser/audioCueService.d.ts +10 -3
- package/vscode/src/vs/platform/commands/common/commands.d.ts +1 -1
- package/vscode/src/vs/platform/configuration/common/configuration.d.ts +1 -1
- package/vscode/src/vs/platform/configuration/common/configurationRegistry.d.ts +1 -1
- package/vscode/src/vs/platform/contextkey/common/contextkey.d.ts +1 -1
- package/vscode/src/vs/platform/contextview/browser/contextView.d.ts +1 -1
- package/vscode/src/vs/platform/credentials/common/credentials.d.ts +1 -1
- package/vscode/src/vs/platform/diagnostics/common/diagnostics.d.ts +1 -1
- package/vscode/src/vs/platform/dialogs/common/dialogs.d.ts +1 -1
- package/vscode/src/vs/platform/editor/common/editor.d.ts +1 -1
- package/vscode/src/vs/platform/environment/common/environment.d.ts +1 -1
- package/vscode/src/vs/platform/extensionManagement/common/extensionManagement.d.ts +1 -1
- package/vscode/src/vs/platform/extensionManagement/common/extensionNls.d.ts +1 -1
- package/vscode/src/vs/platform/extensionManagement/common/extensionStorage.js +13 -14
- package/vscode/src/vs/platform/extensions/common/extensions.d.ts +1 -1
- package/vscode/src/vs/platform/files/common/files.d.ts +1 -1
- package/vscode/src/vs/platform/instantiation/common/descriptors.d.ts +1 -1
- package/vscode/src/vs/platform/instantiation/common/instantiation.d.ts +1 -1
- package/vscode/src/vs/platform/jsonschemas/common/jsonContributionRegistry.d.ts +1 -1
- package/vscode/src/vs/platform/keybinding/common/keybinding.d.ts +1 -1
- package/vscode/src/vs/platform/keybinding/common/keybindingResolver.d.ts +1 -1
- package/vscode/src/vs/platform/keybinding/common/keybindingsRegistry.d.ts +1 -1
- package/vscode/src/vs/platform/layout/browser/layoutService.d.ts +1 -1
- package/vscode/src/vs/platform/log/common/log.d.ts +1 -1
- package/vscode/src/vs/platform/markers/common/markers.d.ts +1 -1
- package/vscode/src/vs/platform/notification/common/notification.d.ts +1 -1
- package/vscode/src/vs/platform/opener/common/opener.d.ts +1 -1
- package/vscode/src/vs/platform/policy/common/policy.d.ts +1 -1
- package/vscode/src/vs/platform/progress/common/progress.d.ts +1 -1
- package/vscode/src/vs/platform/quickinput/common/quickAccess.d.ts +1 -1
- package/vscode/src/vs/platform/quickinput/common/quickInput.d.ts +17 -13
- package/vscode/src/vs/platform/registry/common/platform.d.ts +1 -1
- package/vscode/src/vs/platform/remote/browser/browserSocketFactory.d.ts +1 -1
- package/vscode/src/vs/platform/remote/common/managedSocket.js +80 -1
- package/vscode/src/vs/platform/remote/common/remoteAgentConnection.d.ts +1 -1
- package/vscode/src/vs/platform/remote/common/remoteAgentEnvironment.d.ts +1 -1
- package/vscode/src/vs/platform/remote/common/remoteAuthorityResolver.d.ts +1 -1
- package/vscode/src/vs/platform/remote/common/remoteSocketFactoryService.d.ts +1 -1
- package/vscode/src/vs/platform/secrets/common/secrets.d.ts +1 -1
- package/vscode/src/vs/platform/storage/common/storage.d.ts +24 -5
- package/vscode/src/vs/platform/storage/common/storage.js +4 -2
- package/vscode/src/vs/platform/telemetry/common/gdprTypings.d.ts +1 -1
- package/vscode/src/vs/platform/telemetry/common/telemetry.d.ts +1 -1
- package/vscode/src/vs/platform/terminal/common/capabilities/bufferMarkCapability.js +4 -2
- package/vscode/src/vs/platform/terminal/common/capabilities/capabilities.d.ts +21 -3
- package/vscode/src/vs/platform/terminal/common/capabilities/commandDetectionCapability.d.ts +32 -0
- package/vscode/src/vs/platform/terminal/common/capabilities/commandDetectionCapability.js +14 -9
- package/vscode/src/vs/platform/terminal/common/capabilities/cwdDetectionCapability.js +4 -2
- package/vscode/src/vs/platform/terminal/common/capabilities/terminalCapabilityStore.js +18 -4
- package/vscode/src/vs/platform/terminal/common/environmentVariable.d.ts +1 -1
- package/vscode/src/vs/platform/terminal/common/terminal.d.ts +1 -1
- package/vscode/src/vs/platform/terminal/common/terminalProcess.d.ts +1 -1
- package/vscode/src/vs/platform/terminal/common/xterm/shellIntegrationAddon.js +6 -3
- package/vscode/src/vs/platform/theme/common/colorRegistry.d.ts +1 -1
- package/vscode/src/vs/platform/theme/common/iconRegistry.d.ts +1 -1
- package/vscode/src/vs/platform/theme/common/themeService.d.ts +1 -1
- package/vscode/src/vs/platform/tunnel/common/tunnel.d.ts +1 -1
- package/vscode/src/vs/platform/userDataProfile/common/userDataProfile.d.ts +1 -1
- package/vscode/src/vs/platform/webview/common/webviewPortMapping.js +5 -1
- package/vscode/src/vs/platform/window/common/window.d.ts +1 -1
- package/vscode/src/vs/platform/workspace/common/workspace.d.ts +1 -1
- package/vscode/src/vs/platform/workspace/common/workspaceTrust.d.ts +1 -1
- package/vscode/src/vs/platform/workspaces/common/workspaces.d.ts +1 -1
- package/vscode/src/vs/workbench/api/browser/mainThreadAiEmbeddingVector.js +29 -0
- package/vscode/src/vs/workbench/api/browser/mainThreadAiRelatedInformation.js +33 -0
- package/vscode/src/vs/workbench/api/browser/mainThreadChat.js +13 -16
- package/vscode/src/vs/workbench/api/browser/mainThreadChatProvider.js +59 -0
- package/vscode/src/vs/workbench/api/browser/mainThreadChatSlashCommands.js +46 -0
- package/vscode/src/vs/workbench/api/browser/mainThreadChatVariables.js +29 -0
- package/vscode/src/vs/workbench/api/browser/mainThreadCustomEditors.js +5 -4
- package/vscode/src/vs/workbench/api/browser/mainThreadEditor.js +1 -2
- package/vscode/src/vs/workbench/api/browser/mainThreadEditors.js +4 -2
- package/vscode/src/vs/workbench/api/browser/mainThreadInlineChat.js +2 -1
- package/vscode/src/vs/workbench/api/browser/mainThreadLanguageFeatures.js +31 -14
- package/vscode/src/vs/workbench/api/browser/mainThreadManagedSockets.js +12 -67
- package/vscode/src/vs/workbench/api/browser/mainThreadStorage.js +7 -6
- package/vscode/src/vs/workbench/api/browser/mainThreadTask.js +1 -1
- package/vscode/src/vs/workbench/api/browser/mainThreadTerminalService.js +36 -11
- package/vscode/src/vs/workbench/api/browser/mainThreadTunnelService.js +21 -17
- package/vscode/src/vs/workbench/api/browser/mainThreadWebviews.js +4 -2
- package/vscode/src/vs/workbench/api/browser/mainThreadWorkspace.js +2 -3
- package/vscode/src/vs/workbench/api/browser/statusBarExtensionPoint.js +10 -1
- package/vscode/src/vs/workbench/api/browser/viewsExtensionPoint.js +1 -1
- package/vscode/src/vs/workbench/api/common/extHost.api.impl.d.ts +1 -1
- package/vscode/src/vs/workbench/api/common/extHost.api.impl.js +55 -16
- package/vscode/src/vs/workbench/api/common/extHost.protocol.d.ts +32 -7
- package/vscode/src/vs/workbench/api/common/extHost.protocol.js +10 -2
- package/vscode/src/vs/workbench/api/common/extHostAiRelatedInformation.js +34 -0
- package/vscode/src/vs/workbench/api/common/extHostApiCommands.js +21 -2
- package/vscode/src/vs/workbench/api/common/extHostChat.js +12 -31
- package/vscode/src/vs/workbench/api/common/extHostChatProvider.js +70 -0
- package/vscode/src/vs/workbench/api/common/extHostChatSlashCommand.js +53 -0
- package/vscode/src/vs/workbench/api/common/extHostChatVariables.js +37 -0
- package/vscode/src/vs/workbench/api/common/extHostCommands.js +11 -0
- package/vscode/src/vs/workbench/api/common/extHostComments.js +1 -2
- package/vscode/src/vs/workbench/api/common/extHostDebugService.js +2 -3
- package/vscode/src/vs/workbench/api/common/extHostDecorations.js +6 -4
- package/vscode/src/vs/workbench/api/common/extHostDiagnostics.js +8 -6
- package/vscode/src/vs/workbench/api/common/extHostEmbeddingVector.js +34 -0
- package/vscode/src/vs/workbench/api/common/extHostExtensionActivator.d.ts +1 -1
- package/vscode/src/vs/workbench/api/common/extHostExtensionService.js +5 -4
- package/vscode/src/vs/workbench/api/common/extHostFileSystemConsumer.js +11 -10
- package/vscode/src/vs/workbench/api/common/extHostInlineChat.js +3 -2
- package/vscode/src/vs/workbench/api/common/extHostLanguageFeatures.js +45 -15
- package/vscode/src/vs/workbench/api/common/extHostRequireInterceptor.js +5 -3
- package/vscode/src/vs/workbench/api/common/extHostSCM.js +4 -2
- package/vscode/src/vs/workbench/api/common/extHostTelemetry.js +17 -1
- package/vscode/src/vs/workbench/api/common/extHostTerminalService.d.ts +12 -11
- package/vscode/src/vs/workbench/api/common/extHostTerminalService.js +66 -53
- package/vscode/src/vs/workbench/api/common/extHostTesting.js +32 -18
- package/vscode/src/vs/workbench/api/common/extHostTreeViews.js +3 -0
- package/vscode/src/vs/workbench/api/common/extHostTunnelService.d.ts +1 -1
- package/vscode/src/vs/workbench/api/common/extHostTunnelService.js +19 -5
- package/vscode/src/vs/workbench/api/common/extHostTypeConverters.js +128 -6
- package/vscode/src/vs/workbench/api/common/extHostTypes.js +28 -13
- package/vscode/src/vs/workbench/api/common/extHostWindow.js +4 -2
- package/vscode/src/vs/workbench/api/common/extHostWorkspace.d.ts +1 -1
- package/vscode/src/vs/workbench/api/common/extHostWorkspace.js +2 -3
- package/vscode/src/vs/workbench/api/common/extensionHostMain.js +2 -2
- package/vscode/src/vs/workbench/browser/actions/widgetNavigationCommands.js +5 -3
- package/vscode/src/vs/workbench/browser/codeeditor.js +34 -67
- package/vscode/src/vs/workbench/browser/dnd.js +3 -2
- package/vscode/src/vs/workbench/browser/part.d.ts +1 -1
- package/vscode/src/vs/workbench/browser/parts/activitybar/activitybarActions.js +37 -20
- package/vscode/src/vs/workbench/browser/parts/activitybar/activitybarPart.d.ts +1 -1
- package/vscode/src/vs/workbench/browser/parts/activitybar/activitybarPart.js +21 -22
- package/vscode/src/vs/workbench/browser/parts/auxiliarybar/auxiliaryBarPart.js +4 -2
- package/vscode/src/vs/workbench/browser/parts/compositeBarActions.d.ts +1 -1
- package/vscode/src/vs/workbench/browser/parts/compositeBarActions.js +10 -7
- package/vscode/src/vs/workbench/browser/parts/compositePart.d.ts +1 -1
- package/vscode/src/vs/workbench/browser/parts/compositePart.js +2 -2
- package/vscode/src/vs/workbench/browser/parts/dialogs/dialogHandler.js +4 -2
- package/vscode/src/vs/workbench/browser/parts/editor/accessibilityStatus.js +19 -24
- package/vscode/src/vs/workbench/browser/parts/editor/breadcrumbsControl.js +11 -9
- package/vscode/src/vs/workbench/browser/parts/editor/breadcrumbsModel.js +1 -2
- package/vscode/src/vs/workbench/browser/parts/editor/editor.contribution.js +17 -16
- package/vscode/src/vs/workbench/browser/parts/editor/editor.d.ts +1 -1
- package/vscode/src/vs/workbench/browser/parts/editor/editor.js +1 -0
- package/vscode/src/vs/workbench/browser/parts/editor/editorAutoSave.js +1 -2
- package/vscode/src/vs/workbench/browser/parts/editor/editorCommands.js +25 -16
- package/vscode/src/vs/workbench/browser/parts/editor/editorConfiguration.js +6 -4
- package/vscode/src/vs/workbench/browser/parts/editor/editorDropTarget.js +4 -2
- package/vscode/src/vs/workbench/browser/parts/editor/editorGroupView.js +12 -12
- package/vscode/src/vs/workbench/browser/parts/editor/editorGroupWatermark.js +1 -1
- package/vscode/src/vs/workbench/browser/parts/editor/editorPart.js +10 -8
- package/vscode/src/vs/workbench/browser/parts/editor/editorPlaceholder.js +13 -9
- package/vscode/src/vs/workbench/browser/parts/editor/editorQuickAccess.js +10 -6
- package/vscode/src/vs/workbench/browser/parts/editor/editorStatus.js +14 -16
- package/vscode/src/vs/workbench/browser/parts/editor/editorsObserver.js +6 -4
- package/vscode/src/vs/workbench/browser/parts/editor/media/tabstitlecontrol.css.js +1 -1
- package/vscode/src/vs/workbench/browser/parts/editor/noTabsTitleControl.js +6 -4
- package/vscode/src/vs/workbench/browser/parts/editor/sideBySideEditor.js +7 -5
- package/vscode/src/vs/workbench/browser/parts/editor/tabsTitleControl.js +42 -32
- package/vscode/src/vs/workbench/browser/parts/editor/textCodeEditor.js +2 -2
- package/vscode/src/vs/workbench/browser/parts/editor/textDiffEditor.js +13 -6
- package/vscode/src/vs/workbench/browser/parts/editor/textEditor.js +4 -2
- package/vscode/src/vs/workbench/browser/parts/editor/textResourceEditor.js +6 -4
- package/vscode/src/vs/workbench/browser/parts/editor/titleControl.js +6 -5
- package/vscode/src/vs/workbench/browser/parts/notifications/notificationsActions.js +1 -1
- package/vscode/src/vs/workbench/browser/parts/notifications/notificationsCenter.js +5 -3
- package/vscode/src/vs/workbench/browser/parts/notifications/notificationsCommands.js +8 -3
- package/vscode/src/vs/workbench/browser/parts/notifications/notificationsToasts.js +9 -7
- package/vscode/src/vs/workbench/browser/parts/notifications/notificationsViewer.js +14 -11
- package/vscode/src/vs/workbench/browser/parts/paneCompositePart.d.ts +1 -1
- package/vscode/src/vs/workbench/browser/parts/panel/panelPart.d.ts +1 -1
- package/vscode/src/vs/workbench/browser/parts/panel/panelPart.js +14 -10
- package/vscode/src/vs/workbench/browser/parts/sidebar/sidebarPart.js +4 -2
- package/vscode/src/vs/workbench/browser/parts/statusbar/media/statusbarpart.css.js +1 -1
- package/vscode/src/vs/workbench/browser/parts/statusbar/statusbarItem.js +12 -2
- package/vscode/src/vs/workbench/browser/parts/statusbar/statusbarModel.js +21 -23
- package/vscode/src/vs/workbench/browser/parts/statusbar/statusbarPart.js +2 -2
- package/vscode/src/vs/workbench/browser/parts/titlebar/menubarControl.js +1 -1
- package/vscode/src/vs/workbench/browser/parts/views/treeView.js +10 -4
- package/vscode/src/vs/workbench/browser/parts/views/viewFilter.d.ts +1 -1
- package/vscode/src/vs/workbench/browser/parts/views/viewPane.d.ts +1 -1
- package/vscode/src/vs/workbench/browser/parts/views/viewPane.js +4 -2
- package/vscode/src/vs/workbench/browser/parts/views/viewPaneContainer.d.ts +1 -1
- package/vscode/src/vs/workbench/browser/parts/views/viewsService.js +13 -1
- package/vscode/src/vs/workbench/browser/parts/views/viewsViewlet.d.ts +1 -1
- package/vscode/src/vs/workbench/browser/web.api.d.ts +1 -1
- package/vscode/src/vs/workbench/browser/workbench.contribution.js +37 -7
- package/vscode/src/vs/workbench/common/composite.d.ts +1 -1
- package/vscode/src/vs/workbench/common/contextkeys.js +12 -10
- package/vscode/src/vs/workbench/common/contributions.d.ts +1 -1
- package/vscode/src/vs/workbench/common/editor/diffEditorInput.js +6 -8
- package/vscode/src/vs/workbench/common/editor/editorGroupModel.d.ts +1 -1
- package/vscode/src/vs/workbench/common/editor/editorGroupModel.js +15 -5
- package/vscode/src/vs/workbench/common/editor/editorInput.d.ts +1 -1
- package/vscode/src/vs/workbench/common/editor/sideBySideEditorInput.js +7 -5
- package/vscode/src/vs/workbench/common/editor/textEditorModel.js +5 -4
- package/vscode/src/vs/workbench/common/editor/textResourceEditorInput.js +5 -3
- package/vscode/src/vs/workbench/common/editor.d.ts +3 -1
- package/vscode/src/vs/workbench/common/editor.js +18 -1
- package/vscode/src/vs/workbench/common/memento.d.ts +1 -1
- package/vscode/src/vs/workbench/common/panecomposite.d.ts +1 -1
- package/vscode/src/vs/workbench/common/resources.js +11 -9
- package/vscode/src/vs/workbench/common/theme.js +118 -10
- package/vscode/src/vs/workbench/common/views.d.ts +3 -1
- package/vscode/src/vs/workbench/contrib/accessibility/browser/accessibility.contribution.js +5 -241
- package/vscode/src/vs/workbench/contrib/accessibility/browser/{accessibilityContribution.js → accessibilityConfiguration.js} +50 -73
- package/vscode/src/vs/workbench/contrib/accessibility/browser/accessibilityContributions.js +312 -0
- package/vscode/src/vs/workbench/contrib/accessibility/browser/accessibleView.js +376 -81
- package/vscode/src/vs/workbench/contrib/accessibility/browser/accessibleViewActions.js +216 -0
- package/vscode/src/vs/workbench/contrib/accessibility/browser/unfocusedViewDimmingContribution.js +63 -0
- package/vscode/src/vs/workbench/contrib/audioCues/browser/audioCueDebuggerContribution.js +1 -1
- package/vscode/src/vs/workbench/contrib/audioCues/browser/audioCueLineFeatureContribution.js +13 -13
- package/vscode/src/vs/workbench/contrib/bulkEdit/browser/bulkEditService.js +4 -1
- package/vscode/src/vs/workbench/contrib/bulkEdit/browser/bulkFileEdits.js +8 -3
- package/vscode/src/vs/workbench/contrib/callHierarchy/browser/callHierarchy.contribution.js +10 -7
- package/vscode/src/vs/workbench/contrib/callHierarchy/browser/callHierarchyPeek.js +4 -2
- package/vscode/src/vs/workbench/contrib/chat/browser/actions/chatQuickInputActions.js +2 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/chat.js +2 -1
- package/vscode/src/vs/workbench/contrib/chat/common/chatModel.js +204 -0
- package/vscode/src/vs/workbench/contrib/chat/common/chatProvider.js +3 -0
- package/vscode/src/vs/workbench/contrib/chat/common/chatSlashCommands.js +3 -0
- package/vscode/src/vs/workbench/contrib/chat/common/chatVariables.js +3 -0
- package/vscode/src/vs/workbench/contrib/codeEditor/browser/accessibility/accessibility.css.js +1 -1
- package/vscode/src/vs/workbench/contrib/codeEditor/browser/accessibility/accessibility.js +1 -1
- package/vscode/src/vs/workbench/contrib/codeEditor/browser/diffEditorHelper.js +21 -10
- package/vscode/src/vs/workbench/contrib/codeEditor/browser/find/simpleFindWidget.css.js +1 -1
- package/vscode/src/vs/workbench/contrib/codeEditor/browser/find/simpleFindWidget.js +45 -1
- package/vscode/src/vs/workbench/contrib/codeEditor/browser/inspectEditorTokens/inspectEditorTokens.js +4 -2
- package/vscode/src/vs/workbench/contrib/codeEditor/browser/largeFileOptimizations.js +1 -1
- package/vscode/src/vs/workbench/contrib/codeEditor/browser/outline/documentSymbolsTree.js +4 -2
- package/vscode/src/vs/workbench/contrib/codeEditor/browser/quickaccess/gotoSymbolQuickAccess.js +14 -4
- package/vscode/src/vs/workbench/contrib/codeEditor/browser/toggleRenderControlCharacter.js +1 -1
- package/vscode/src/vs/workbench/contrib/codeEditor/browser/toggleRenderWhitespace.js +1 -1
- package/vscode/src/vs/workbench/contrib/comments/browser/commentColors.js +0 -5
- package/vscode/src/vs/workbench/contrib/comments/browser/commentReply.js +7 -0
- package/vscode/src/vs/workbench/contrib/comments/browser/commentThreadRangeDecorator.js +4 -2
- package/vscode/src/vs/workbench/contrib/comments/browser/commentThreadWidget.js +15 -0
- package/vscode/src/vs/workbench/contrib/comments/browser/commentThreadZoneWidget.js +2 -3
- package/vscode/src/vs/workbench/contrib/comments/browser/commentsController.js +2 -3
- package/vscode/src/vs/workbench/contrib/comments/browser/media/review.css.js +1 -1
- package/vscode/src/vs/workbench/contrib/comments/browser/simpleCommentEditor.js +2 -1
- package/vscode/src/vs/workbench/contrib/customEditor/browser/customEditorInput.js +7 -5
- package/vscode/src/vs/workbench/contrib/customEditor/common/customTextEditorModel.js +4 -3
- package/vscode/src/vs/workbench/contrib/debug/browser/breakpointEditorContribution.js +1 -2
- package/vscode/src/vs/workbench/contrib/debug/browser/breakpointsView.js +13 -8
- package/vscode/src/vs/workbench/contrib/debug/browser/callStackView.js +10 -6
- package/vscode/src/vs/workbench/contrib/debug/browser/debug.contribution.js +5 -1
- package/vscode/src/vs/workbench/contrib/debug/browser/debugActionViewItems.js +5 -3
- package/vscode/src/vs/workbench/contrib/debug/browser/debugCommands.js +0 -1
- package/vscode/src/vs/workbench/contrib/debug/browser/debugConfigurationManager.js +3 -4
- package/vscode/src/vs/workbench/contrib/debug/browser/debugHover.js +5 -3
- package/vscode/src/vs/workbench/contrib/debug/browser/debugQuickAccess.js +1 -2
- package/vscode/src/vs/workbench/contrib/debug/browser/debugService.js +1 -1
- package/vscode/src/vs/workbench/contrib/debug/browser/debugSession.js +27 -26
- package/vscode/src/vs/workbench/contrib/debug/browser/debugTaskRunner.js +1 -2
- package/vscode/src/vs/workbench/contrib/debug/browser/disassemblyView.js +17 -13
- package/vscode/src/vs/workbench/contrib/debug/browser/repl.js +10 -7
- package/vscode/src/vs/workbench/contrib/debug/browser/replViewer.js +10 -6
- package/vscode/src/vs/workbench/contrib/debug/browser/variablesView.js +5 -4
- package/vscode/src/vs/workbench/contrib/debug/browser/watchExpressionsView.js +4 -2
- package/vscode/src/vs/workbench/contrib/debug/common/debug.d.ts +1 -1
- package/vscode/src/vs/workbench/contrib/debug/common/debugContentProvider.js +5 -3
- package/vscode/src/vs/workbench/contrib/debug/common/debugModel.js +19 -11
- package/vscode/src/vs/workbench/contrib/debug/common/debugStorage.js +25 -1
- package/vscode/src/vs/workbench/contrib/extensions/browser/extensionsActions.js +225 -113
- package/vscode/src/vs/workbench/contrib/externalUriOpener/common/contributedOpeners.js +4 -2
- package/vscode/src/vs/workbench/contrib/files/browser/editors/binaryFileEditor.js +4 -2
- package/vscode/src/vs/workbench/contrib/files/browser/editors/fileEditorInput.js +4 -3
- package/vscode/src/vs/workbench/contrib/files/browser/editors/textFileEditor.js +4 -2
- package/vscode/src/vs/workbench/contrib/files/browser/editors/textFileEditorTracker.js +1 -1
- package/vscode/src/vs/workbench/contrib/files/browser/explorerService.js +29 -5
- package/vscode/src/vs/workbench/contrib/files/browser/fileCommands.js +2 -1
- package/vscode/src/vs/workbench/contrib/files/browser/fileImportExport.js +11 -8
- package/vscode/src/vs/workbench/contrib/files/browser/files.contribution.js +1 -1
- package/vscode/src/vs/workbench/contrib/files/browser/files.d.ts +1 -1
- package/vscode/src/vs/workbench/contrib/files/browser/views/emptyView.js +4 -2
- package/vscode/src/vs/workbench/contrib/files/browser/views/explorerView.js +11 -6
- package/vscode/src/vs/workbench/contrib/files/browser/views/explorerViewer.js +22 -19
- package/vscode/src/vs/workbench/contrib/files/browser/views/openEditorsView.js +11 -7
- package/vscode/src/vs/workbench/contrib/files/common/files.d.ts +1 -1
- package/vscode/src/vs/workbench/contrib/files/common/files.js +6 -5
- package/vscode/src/vs/workbench/contrib/folding/browser/folding.contribution.js +16 -14
- package/vscode/src/vs/workbench/contrib/inlayHints/browser/inlayHintsAccessibilty.js +5 -3
- package/vscode/src/vs/workbench/contrib/interactive/browser/interactiveEditorInput.js +7 -5
- package/vscode/src/vs/workbench/contrib/languageDetection/browser/languageDetection.contribution.js +4 -2
- package/vscode/src/vs/workbench/contrib/languageStatus/browser/languageStatus.contribution.js +16 -23
- package/vscode/src/vs/workbench/contrib/markers/browser/markersModel.js +1 -2
- package/vscode/src/vs/workbench/contrib/markers/browser/markersTable.js +10 -6
- package/vscode/src/vs/workbench/contrib/markers/browser/markersView.js +1 -2
- package/vscode/src/vs/workbench/contrib/mergeEditor/browser/mergeEditorInput.js +7 -5
- package/vscode/src/vs/workbench/contrib/mergeEditor/browser/mergeEditorInputModel.js +5 -3
- package/vscode/src/vs/workbench/contrib/mergeEditor/browser/model/diffComputer.js +27 -0
- package/vscode/src/vs/workbench/contrib/mergeEditor/browser/model/mapping.js +0 -24
- package/vscode/src/vs/workbench/contrib/mergeEditor/browser/model/mergeEditorModel.js +14 -14
- package/vscode/src/vs/workbench/contrib/mergeEditor/browser/model/textModelDiffs.js +1 -1
- package/vscode/src/vs/workbench/contrib/notebook/browser/notebookBrowser.js +1 -6
- package/vscode/src/vs/workbench/contrib/output/browser/logViewer.js +7 -4
- package/vscode/src/vs/workbench/contrib/output/browser/outputLinkProvider.js +4 -2
- package/vscode/src/vs/workbench/contrib/preferences/browser/keybindingWidgets.js +16 -11
- package/vscode/src/vs/workbench/contrib/preferences/browser/keybindingsEditor.js +13 -8
- package/vscode/src/vs/workbench/contrib/preferences/browser/preferences.contribution.js +77 -62
- package/vscode/src/vs/workbench/contrib/preferences/browser/preferencesRenderers.js +5 -3
- package/vscode/src/vs/workbench/contrib/preferences/browser/preferencesSearch.js +114 -36
- package/vscode/src/vs/workbench/contrib/preferences/browser/settingsEditor2.js +92 -73
- package/vscode/src/vs/workbench/contrib/preferences/browser/settingsTree.js +21 -14
- package/vscode/src/vs/workbench/contrib/preferences/browser/settingsTreeModels.js +110 -103
- package/vscode/src/vs/workbench/contrib/preferences/browser/settingsWidgets.js +0 -4
- package/vscode/src/vs/workbench/contrib/preferences/common/preferences.d.ts +1 -1
- package/vscode/src/vs/workbench/contrib/preferences/common/preferences.js +4 -4
- package/vscode/src/vs/workbench/contrib/quickaccess/browser/commandsQuickAccess.js +38 -36
- package/vscode/src/vs/workbench/contrib/quickaccess/browser/quickAccess.contribution.js +6 -2
- package/vscode/src/vs/workbench/contrib/quickaccess/browser/viewQuickAccess.js +5 -4
- package/vscode/src/vs/workbench/contrib/remote/browser/remoteExplorer.js +2 -2
- package/vscode/src/vs/workbench/contrib/remote/browser/tunnelView.js +66 -36
- package/vscode/src/vs/workbench/contrib/scm/browser/dirtydiffDecorator.js +7 -5
- package/vscode/src/vs/workbench/contrib/search/browser/anythingQuickAccess.js +57 -55
- package/vscode/src/vs/workbench/contrib/search/browser/quickTextSearch/textSearchQuickAccess.js +232 -0
- package/vscode/src/vs/workbench/contrib/search/browser/replaceService.js +7 -5
- package/vscode/src/vs/workbench/contrib/search/browser/search.contribution.js +33 -3
- package/vscode/src/vs/workbench/contrib/search/browser/searchActionsFind.js +1 -2
- package/vscode/src/vs/workbench/contrib/search/browser/searchActionsNav.js +3 -3
- package/vscode/src/vs/workbench/contrib/search/browser/searchActionsTextQuickAccess.js +23 -0
- package/vscode/src/vs/workbench/contrib/search/browser/searchIcons.js +5 -1
- package/vscode/src/vs/workbench/contrib/search/browser/searchModel.js +162 -90
- package/vscode/src/vs/workbench/contrib/search/browser/searchNotebookHelpers.js +57 -23
- package/vscode/src/vs/workbench/contrib/search/browser/searchResultsView.js +10 -6
- package/vscode/src/vs/workbench/contrib/search/browser/searchView.js +80 -58
- package/vscode/src/vs/workbench/contrib/search/browser/searchWidget.js +7 -5
- package/vscode/src/vs/workbench/contrib/search/browser/symbolsQuickAccess.js +7 -6
- package/vscode/src/vs/workbench/contrib/search/common/constants.js +2 -1
- package/vscode/src/vs/workbench/contrib/search/common/searchHistoryService.js +7 -5
- package/vscode/src/vs/workbench/contrib/searchEditor/browser/searchEditor.js +10 -7
- package/vscode/src/vs/workbench/contrib/searchEditor/browser/searchEditorActions.js +1 -2
- package/vscode/src/vs/workbench/contrib/searchEditor/browser/searchEditorInput.js +7 -5
- package/vscode/src/vs/workbench/contrib/snippets/browser/snippetCodeActionProvider.js +9 -6
- package/vscode/src/vs/workbench/contrib/snippets/browser/snippets.d.ts +1 -1
- package/vscode/src/vs/workbench/contrib/snippets/browser/snippetsService.js +9 -6
- package/vscode/src/vs/workbench/contrib/snippets/browser/tabCompletion.js +5 -3
- package/vscode/src/vs/workbench/contrib/tasks/common/tasks.d.ts +1 -1
- package/vscode/src/vs/workbench/contrib/terminal/browser/baseTerminalBackend.js +5 -6
- package/vscode/src/vs/workbench/contrib/terminal/browser/detachedTerminal.js +54 -0
- package/vscode/src/vs/workbench/contrib/terminal/browser/media/terminal.css.js +1 -1
- package/vscode/src/vs/workbench/contrib/terminal/browser/remoteTerminalBackend.js +3 -1
- package/vscode/src/vs/workbench/contrib/terminal/browser/terminal.contribution.js +1 -1
- package/vscode/src/vs/workbench/contrib/terminal/browser/terminal.d.ts +56 -6
- package/vscode/src/vs/workbench/contrib/terminal/browser/terminalActions.js +44 -31
- package/vscode/src/vs/workbench/contrib/terminal/browser/terminalConfigHelper.d.ts +2 -1
- package/vscode/src/vs/workbench/contrib/terminal/browser/terminalConfigHelper.js +4 -2
- package/vscode/src/vs/workbench/contrib/terminal/browser/terminalEditor.js +1 -1
- package/vscode/src/vs/workbench/contrib/terminal/browser/terminalEditorInput.js +5 -3
- package/vscode/src/vs/workbench/contrib/terminal/browser/terminalEditorService.js +7 -7
- package/vscode/src/vs/workbench/contrib/terminal/browser/terminalEvents.js +47 -0
- package/vscode/src/vs/workbench/contrib/terminal/browser/terminalExtensions.js +4 -4
- package/vscode/src/vs/workbench/contrib/terminal/browser/terminalGroup.js +9 -9
- package/vscode/src/vs/workbench/contrib/terminal/browser/terminalGroupService.js +13 -18
- package/vscode/src/vs/workbench/contrib/terminal/browser/terminalInstance.js +86 -73
- package/vscode/src/vs/workbench/contrib/terminal/browser/terminalInstanceService.js +1 -1
- package/vscode/src/vs/workbench/contrib/terminal/browser/terminalMenus.js +15 -103
- package/vscode/src/vs/workbench/contrib/terminal/browser/terminalProfileResolverService.js +1 -2
- package/vscode/src/vs/workbench/contrib/terminal/browser/terminalProfileService.js +11 -6
- package/vscode/src/vs/workbench/contrib/terminal/browser/terminalQuickAccess.js +4 -2
- package/vscode/src/vs/workbench/contrib/terminal/browser/terminalRunRecentQuickPick.js +4 -2
- package/vscode/src/vs/workbench/contrib/terminal/browser/terminalService.js +49 -32
- package/vscode/src/vs/workbench/contrib/terminal/browser/terminalStatusList.d.ts +1 -1
- package/vscode/src/vs/workbench/contrib/terminal/browser/terminalTabbedView.js +3 -0
- package/vscode/src/vs/workbench/contrib/terminal/browser/terminalTabsList.js +9 -13
- package/vscode/src/vs/workbench/contrib/terminal/browser/terminalView.js +30 -6
- package/vscode/src/vs/workbench/contrib/terminal/browser/xterm/decorationAddon.js +2 -2
- package/vscode/src/vs/workbench/contrib/terminal/browser/xterm/suggestAddon.js +2 -2
- package/vscode/src/vs/workbench/contrib/terminal/browser/xterm/xtermTerminal.d.ts +7 -1
- package/vscode/src/vs/workbench/contrib/terminal/browser/xterm/xtermTerminal.js +91 -25
- package/vscode/src/vs/workbench/contrib/terminal/browser/xterm-private.d.ts +1 -1
- package/vscode/src/vs/workbench/contrib/terminal/common/environmentVariable.d.ts +9 -0
- package/vscode/src/vs/workbench/contrib/terminal/common/environmentVariableService.js +4 -2
- package/vscode/src/vs/workbench/contrib/terminal/common/history.js +6 -6
- package/vscode/src/vs/workbench/contrib/terminal/common/remote/remoteTerminalChannel.js +6 -7
- package/vscode/src/vs/workbench/contrib/terminal/common/terminal.d.ts +35 -2
- package/vscode/src/vs/workbench/contrib/terminal/common/terminal.js +3 -7
- package/vscode/src/vs/workbench/contrib/terminal/common/terminalConfiguration.js +62 -10
- package/vscode/src/vs/workbench/contrib/terminal/common/terminalContextKey.js +8 -0
- package/vscode/src/vs/workbench/contrib/terminal/common/terminalEnvironment.js +3 -3
- package/vscode/src/vs/workbench/contrib/terminal/common/terminalStrings.js +7 -0
- package/vscode/src/vs/workbench/contrib/terminalContrib/accessibility/browser/terminal.accessibility.contribution.js +48 -11
- package/vscode/src/vs/workbench/contrib/terminalContrib/accessibility/browser/terminalAccessibilityHelp.js +42 -17
- package/vscode/src/vs/workbench/contrib/terminalContrib/accessibility/browser/terminalAccessibleBuffer.js +23 -17
- package/vscode/src/vs/workbench/contrib/terminalContrib/accessibility/browser/terminalAccessibleWidget.js +30 -20
- package/vscode/src/vs/workbench/contrib/terminalContrib/accessibility/browser/textAreaSyncAddon.js +98 -0
- package/vscode/src/vs/workbench/contrib/terminalContrib/quickFix/browser/quickFix.js +8 -1
- package/vscode/src/vs/workbench/contrib/terminalContrib/quickFix/browser/terminalQuickFixService.js +12 -0
- package/vscode/src/vs/workbench/contrib/testing/common/testResult.js +44 -17
- package/vscode/src/vs/workbench/contrib/testing/common/testTypes.js +2 -0
- package/vscode/src/vs/workbench/contrib/typeHierarchy/browser/typeHierarchy.contribution.js +10 -7
- package/vscode/src/vs/workbench/contrib/typeHierarchy/browser/typeHierarchyPeek.js +4 -2
- package/vscode/src/vs/workbench/contrib/webview/browser/webviewFindWidget.js +5 -1
- package/vscode/src/vs/workbench/contrib/webviewPanel/browser/webviewEditor.js +4 -2
- package/vscode/src/vs/workbench/contrib/webviewView/browser/webviewViewPane.js +5 -4
- package/vscode/src/vs/workbench/services/actions/common/menusExtensionPoint.js +28 -0
- package/vscode/src/vs/workbench/services/activity/common/activity.d.ts +1 -1
- package/vscode/src/vs/workbench/services/{semanticSimilarity/common/semanticSimilarityService.js → aiEmbeddingVector/common/aiEmbeddingVectorService.js} +18 -13
- package/vscode/src/vs/workbench/services/aiRelatedInformation/common/aiRelatedInformation.js +10 -0
- package/vscode/src/vs/workbench/services/configuration/browser/configuration.js +6 -4
- package/vscode/src/vs/workbench/services/configuration/browser/configurationService.js +1 -1
- package/vscode/src/vs/workbench/services/configuration/common/configurationEditing.js +5 -6
- package/vscode/src/vs/workbench/services/editor/browser/codeEditorService.js +2 -2
- package/vscode/src/vs/workbench/services/editor/browser/editorResolverService.js +12 -9
- package/vscode/src/vs/workbench/services/editor/browser/editorService.js +6 -6
- package/vscode/src/vs/workbench/services/editor/common/editorGroupColumn.d.ts +1 -1
- package/vscode/src/vs/workbench/services/editor/common/editorGroupsService.d.ts +1 -1
- package/vscode/src/vs/workbench/services/editor/common/editorResolverService.d.ts +1 -1
- package/vscode/src/vs/workbench/services/editor/common/editorService.d.ts +1 -1
- package/vscode/src/vs/workbench/services/extensionManagement/common/extensionManagement.d.ts +1 -1
- package/vscode/src/vs/workbench/services/extensions/browser/extensionService.js +4 -3
- package/vscode/src/vs/workbench/services/extensions/browser/extensionUrlHandler.js +8 -6
- package/vscode/src/vs/workbench/services/extensions/common/abstractExtensionService.d.ts +1 -1
- package/vscode/src/vs/workbench/services/extensions/common/abstractExtensionService.js +4 -3
- package/vscode/src/vs/workbench/services/extensions/common/extensionDescriptionRegistry.d.ts +1 -1
- package/vscode/src/vs/workbench/services/extensions/common/extensionHostKind.d.ts +1 -1
- package/vscode/src/vs/workbench/services/extensions/common/extensionHostManager.d.ts +1 -1
- package/vscode/src/vs/workbench/services/extensions/common/extensionHostManager.js +5 -4
- package/vscode/src/vs/workbench/services/extensions/common/extensionHostProtocol.d.ts +1 -1
- package/vscode/src/vs/workbench/services/extensions/common/extensionHostProxy.d.ts +1 -1
- package/vscode/src/vs/workbench/services/extensions/common/extensionRunningLocation.d.ts +1 -1
- package/vscode/src/vs/workbench/services/extensions/common/extensions.d.ts +1 -1
- package/vscode/src/vs/workbench/services/extensions/common/extensionsApiProposals.js +10 -5
- package/vscode/src/vs/workbench/services/extensions/common/extensionsRegistry.d.ts +1 -1
- package/vscode/src/vs/workbench/services/extensions/common/extensionsRegistry.js +9 -0
- package/vscode/src/vs/workbench/services/extensions/common/proxyIdentifier.d.ts +1 -1
- package/vscode/src/vs/workbench/services/filesConfiguration/common/filesConfigurationService.d.ts +1 -1
- package/vscode/src/vs/workbench/services/filesConfiguration/common/filesConfigurationService.js +10 -9
- package/vscode/src/vs/workbench/services/history/browser/historyService.js +14 -11
- package/vscode/src/vs/workbench/services/host/browser/browserHostService.d.ts +1 -1
- package/vscode/src/vs/workbench/services/hover/browser/hover.d.ts +2 -2
- package/vscode/src/vs/workbench/services/hover/browser/hoverService.d.ts +1 -1
- package/vscode/src/vs/workbench/services/hover/browser/hoverWidget.js +11 -3
- package/vscode/src/vs/workbench/services/keybinding/browser/keybindingService.js +6 -5
- package/vscode/src/vs/workbench/services/languageDetection/browser/languageDetectionWorkerServiceImpl.js +10 -8
- package/vscode/src/vs/workbench/services/languageStatus/common/languageStatusService.d.ts +1 -1
- package/vscode/src/vs/workbench/services/layout/browser/layoutService.d.ts +1 -1
- package/vscode/src/vs/workbench/services/lifecycle/common/lifecycle.d.ts +1 -1
- package/vscode/src/vs/workbench/services/lifecycle/common/lifecycleService.js +6 -4
- package/vscode/src/vs/workbench/services/localization/common/locale.js +3 -0
- package/vscode/src/vs/workbench/services/notification/common/notificationService.js +5 -3
- package/vscode/src/vs/workbench/services/output/common/output.d.ts +1 -1
- package/vscode/src/vs/workbench/services/path/common/pathService.js +4 -3
- package/vscode/src/vs/workbench/services/preferences/browser/keybindingsEditorInput.js +5 -3
- package/vscode/src/vs/workbench/services/preferences/browser/keybindingsEditorModel.js +12 -11
- package/vscode/src/vs/workbench/services/preferences/common/preferences.d.ts +4 -3
- package/vscode/src/vs/workbench/services/preferences/common/preferences.js +3 -2
- package/vscode/src/vs/workbench/services/preferences/common/preferencesEditorInput.js +5 -3
- package/vscode/src/vs/workbench/services/preferences/common/preferencesModels.js +4 -2
- package/vscode/src/vs/workbench/services/remote/common/remoteAgentService.d.ts +1 -1
- package/vscode/src/vs/workbench/services/remote/common/remoteExplorerService.js +6 -817
- package/vscode/src/vs/workbench/services/remote/common/{remoteExplorerService.d.ts → tunnelModel.d.ts} +1 -1
- package/vscode/src/vs/workbench/services/remote/common/tunnelModel.js +860 -0
- package/vscode/src/vs/workbench/services/search/common/queryBuilder.d.ts +1 -1
- package/vscode/src/vs/workbench/services/search/common/search.d.ts +1 -1
- package/vscode/src/vs/workbench/services/search/common/searchService.js +41 -26
- package/vscode/src/vs/workbench/services/statusbar/browser/statusbar.d.ts +12 -3
- package/vscode/src/vs/workbench/services/statusbar/browser/statusbar.js +2 -1
- package/vscode/src/vs/workbench/services/storage/browser/storageService.js +4 -2
- package/vscode/src/vs/workbench/services/suggest/browser/simpleCompletionItem.d.ts +1 -1
- package/vscode/src/vs/workbench/services/suggest/browser/simpleCompletionModel.d.ts +1 -1
- package/vscode/src/vs/workbench/services/suggest/browser/simpleSuggestWidget.d.ts +1 -1
- package/vscode/src/vs/workbench/services/textMate/browser/backgroundTokenization/textMateWorkerTokenizerController.js +1 -1
- package/vscode/src/vs/workbench/services/textMate/browser/backgroundTokenization/threadedBackgroundTokenizerFactory.js +9 -7
- package/vscode/src/vs/workbench/services/textMate/browser/textMateTokenizationFeatureImpl.js +7 -5
- package/vscode/src/vs/workbench/services/textfile/browser/browserTextFileService.js +1 -1
- package/vscode/src/vs/workbench/services/textfile/browser/textFileService.js +8 -6
- package/vscode/src/vs/workbench/services/textfile/common/encoding.js +5 -3
- package/vscode/src/vs/workbench/services/textfile/common/textFileEditorModel.js +19 -17
- package/vscode/src/vs/workbench/services/textfile/common/textFileSaveParticipant.js +4 -1
- package/vscode/src/vs/workbench/services/textfile/common/textfiles.d.ts +1 -1
- package/vscode/src/vs/workbench/services/themes/common/workbenchThemeService.d.ts +1 -1
- package/vscode/src/vs/workbench/services/untitled/common/untitledTextEditorInput.js +5 -3
- package/vscode/src/vs/workbench/services/untitled/common/untitledTextEditorModel.d.ts +1 -1
- package/vscode/src/vs/workbench/services/untitled/common/untitledTextEditorModel.js +12 -9
- package/vscode/src/vs/workbench/services/untitled/common/untitledTextEditorService.d.ts +1 -1
- package/vscode/src/vs/workbench/services/untitled/common/untitledTextEditorService.js +4 -2
- package/vscode/src/vs/workbench/services/update/browser/updateService.d.ts +1 -1
- package/vscode/src/vs/workbench/services/url/browser/urlService.d.ts +1 -1
- package/vscode/src/vs/workbench/services/userData/browser/userDataInit.d.ts +1 -1
- package/vscode/src/vs/workbench/services/userDataProfile/common/userDataProfile.d.ts +1 -1
- package/vscode/src/vs/workbench/services/views/browser/viewDescriptorService.js +14 -13
- package/vscode/src/vs/workbench/services/views/common/viewContainerModel.js +4 -5
- package/vscode/src/vs/workbench/services/workingCopy/common/fileWorkingCopy.d.ts +1 -1
- package/vscode/src/vs/workbench/services/workingCopy/common/resourceWorkingCopy.d.ts +1 -1
- package/vscode/src/vs/workbench/services/workingCopy/common/storedFileWorkingCopy.d.ts +1 -1
- package/vscode/src/vs/workbench/services/workingCopy/common/storedFileWorkingCopySaveParticipant.js +1 -0
- package/vscode/src/vs/workbench/services/workingCopy/common/workingCopy.d.ts +1 -1
- package/vscode/src/vs/workbench/services/workingCopy/common/workingCopyBackupService.js +17 -8
- package/vscode/src/vs/workbench/services/workingCopy/common/workingCopyFileOperationParticipant.js +1 -0
- package/vscode/src/vs/workbench/services/workingCopy/common/workingCopyFileService.d.ts +1 -1
- package/vscode/src/vs/workbench/services/workspaces/browser/workspacesService.js +8 -11
- package/vscode/src/vs/workbench/api/browser/mainThreadSemanticSimilarity.js +0 -29
- package/vscode/src/vs/workbench/api/common/extHostSemanticSimilarity.js +0 -31
- package/vscode/src/vs/workbench/contrib/chat/browser/actions/chatActions.js +0 -3
- package/vscode/src/vs/workbench/contrib/chat/browser/actions/quickQuestionActions/quickQuestionAction.js +0 -47
- package/vscode/src/vs/workbench/contrib/chat/common/chatContextKeys.js +0 -4
- package/vscode/src/vs/workbench/contrib/tasks/browser/taskQuickPick.js +0 -386
- package/vscode/src/vs/workbench/contrib/tasks/browser/tasksQuickAccess.js +0 -109
- /package/vscode/src/vs/workbench/contrib/search/{browser → common}/notebookSearch.js +0 -0
|
@@ -99,8 +99,8 @@ function setupTerminalMenus() {
|
|
|
99
99
|
id: MenuId.TerminalInstanceContext,
|
|
100
100
|
item: {
|
|
101
101
|
command: {
|
|
102
|
-
id: "workbench.action.terminal.
|
|
103
|
-
title: terminalStrings.kill.value
|
|
102
|
+
id: "workbench.action.terminal.killViewOrEditor" ,
|
|
103
|
+
title: terminalStrings.kill.value,
|
|
104
104
|
},
|
|
105
105
|
group: "4_kill"
|
|
106
106
|
}
|
|
@@ -148,17 +148,6 @@ function setupTerminalMenus() {
|
|
|
148
148
|
group: "3_clear" ,
|
|
149
149
|
}
|
|
150
150
|
},
|
|
151
|
-
{
|
|
152
|
-
id: MenuId.TerminalInstanceContext,
|
|
153
|
-
item: {
|
|
154
|
-
command: {
|
|
155
|
-
id: "workbench.action.terminal.showTabs" ,
|
|
156
|
-
title: ( localize('workbench.action.terminal.showsTabs', "Show Tabs"))
|
|
157
|
-
},
|
|
158
|
-
when: ContextKeyExpr.not(`config.${"terminal.integrated.tabs.enabled" }`),
|
|
159
|
-
group: "5_config"
|
|
160
|
-
}
|
|
161
|
-
},
|
|
162
151
|
{
|
|
163
152
|
id: MenuId.TerminalInstanceContext,
|
|
164
153
|
item: {
|
|
@@ -524,89 +513,12 @@ function setupTerminalMenus() {
|
|
|
524
513
|
}
|
|
525
514
|
},
|
|
526
515
|
]);
|
|
527
|
-
MenuRegistry.appendMenuItems([
|
|
528
|
-
{
|
|
529
|
-
id: MenuId.TerminalInlineTabContext,
|
|
530
|
-
item: {
|
|
531
|
-
command: {
|
|
532
|
-
id: "workbench.action.terminal.split" ,
|
|
533
|
-
title: terminalStrings.split.value
|
|
534
|
-
},
|
|
535
|
-
group: "1_create" ,
|
|
536
|
-
order: 1
|
|
537
|
-
}
|
|
538
|
-
},
|
|
539
|
-
{
|
|
540
|
-
id: MenuId.TerminalInlineTabContext,
|
|
541
|
-
item: {
|
|
542
|
-
command: {
|
|
543
|
-
id: "workbench.action.terminal.moveToEditor" ,
|
|
544
|
-
title: terminalStrings.moveToEditor.value
|
|
545
|
-
},
|
|
546
|
-
group: "1_create" ,
|
|
547
|
-
order: 2
|
|
548
|
-
}
|
|
549
|
-
},
|
|
550
|
-
{
|
|
551
|
-
id: MenuId.TerminalInlineTabContext,
|
|
552
|
-
item: {
|
|
553
|
-
command: {
|
|
554
|
-
id: "workbench.action.terminal.changeIconPanel" ,
|
|
555
|
-
title: terminalStrings.changeIcon.value
|
|
556
|
-
},
|
|
557
|
-
group: "2_edit"
|
|
558
|
-
}
|
|
559
|
-
},
|
|
560
|
-
{
|
|
561
|
-
id: MenuId.TerminalInlineTabContext,
|
|
562
|
-
item: {
|
|
563
|
-
command: {
|
|
564
|
-
id: "workbench.action.terminal.changeColorPanel" ,
|
|
565
|
-
title: terminalStrings.changeColor.value
|
|
566
|
-
},
|
|
567
|
-
group: "2_edit"
|
|
568
|
-
}
|
|
569
|
-
},
|
|
570
|
-
{
|
|
571
|
-
id: MenuId.TerminalInlineTabContext,
|
|
572
|
-
item: {
|
|
573
|
-
command: {
|
|
574
|
-
id: "workbench.action.terminal.renamePanel" ,
|
|
575
|
-
title: terminalStrings.rename.value
|
|
576
|
-
},
|
|
577
|
-
group: "2_edit"
|
|
578
|
-
}
|
|
579
|
-
},
|
|
580
|
-
{
|
|
581
|
-
id: MenuId.TerminalInlineTabContext,
|
|
582
|
-
item: {
|
|
583
|
-
command: {
|
|
584
|
-
id: "workbench.action.terminal.sizeToContentWidthInstance" ,
|
|
585
|
-
title: ( localize(
|
|
586
|
-
'workbench.action.terminal.sizeToContentWidthInstance',
|
|
587
|
-
"Toggle Size to Content Width"
|
|
588
|
-
))
|
|
589
|
-
},
|
|
590
|
-
group: "2_edit"
|
|
591
|
-
}
|
|
592
|
-
},
|
|
593
|
-
{
|
|
594
|
-
id: MenuId.TerminalInlineTabContext,
|
|
595
|
-
item: {
|
|
596
|
-
command: {
|
|
597
|
-
id: "workbench.action.terminal.kill" ,
|
|
598
|
-
title: terminalStrings.kill.value
|
|
599
|
-
},
|
|
600
|
-
group: "4_kill"
|
|
601
|
-
}
|
|
602
|
-
}
|
|
603
|
-
]);
|
|
604
516
|
MenuRegistry.appendMenuItems([
|
|
605
517
|
{
|
|
606
518
|
id: MenuId.TerminalTabContext,
|
|
607
519
|
item: {
|
|
608
520
|
command: {
|
|
609
|
-
id: "workbench.action.terminal.
|
|
521
|
+
id: "workbench.action.terminal.splitActiveTab" ,
|
|
610
522
|
title: terminalStrings.split.value,
|
|
611
523
|
},
|
|
612
524
|
group: "1_create" ,
|
|
@@ -617,7 +529,7 @@ function setupTerminalMenus() {
|
|
|
617
529
|
id: MenuId.TerminalTabContext,
|
|
618
530
|
item: {
|
|
619
531
|
command: {
|
|
620
|
-
id: "workbench.action.terminal.
|
|
532
|
+
id: "workbench.action.terminal.moveToEditorActiveTab" ,
|
|
621
533
|
title: terminalStrings.moveToEditor.value
|
|
622
534
|
},
|
|
623
535
|
group: "1_create" ,
|
|
@@ -628,7 +540,7 @@ function setupTerminalMenus() {
|
|
|
628
540
|
id: MenuId.TerminalTabContext,
|
|
629
541
|
item: {
|
|
630
542
|
command: {
|
|
631
|
-
id: "workbench.action.terminal.
|
|
543
|
+
id: "workbench.action.terminal.renameActiveTab" ,
|
|
632
544
|
title: ( localize('workbench.action.terminal.renameInstance', "Rename..."))
|
|
633
545
|
},
|
|
634
546
|
group: "2_edit"
|
|
@@ -638,7 +550,7 @@ function setupTerminalMenus() {
|
|
|
638
550
|
id: MenuId.TerminalTabContext,
|
|
639
551
|
item: {
|
|
640
552
|
command: {
|
|
641
|
-
id: "workbench.action.terminal.
|
|
553
|
+
id: "workbench.action.terminal.changeIconActiveTab" ,
|
|
642
554
|
title: ( localize('workbench.action.terminal.changeIcon', "Change Icon..."))
|
|
643
555
|
},
|
|
644
556
|
group: "2_edit"
|
|
@@ -648,7 +560,7 @@ function setupTerminalMenus() {
|
|
|
648
560
|
id: MenuId.TerminalTabContext,
|
|
649
561
|
item: {
|
|
650
562
|
command: {
|
|
651
|
-
id: "workbench.action.terminal.
|
|
563
|
+
id: "workbench.action.terminal.changeColorActiveTab" ,
|
|
652
564
|
title: ( localize('workbench.action.terminal.changeColor', "Change Color..."))
|
|
653
565
|
},
|
|
654
566
|
group: "2_edit"
|
|
@@ -658,7 +570,7 @@ function setupTerminalMenus() {
|
|
|
658
570
|
id: MenuId.TerminalTabContext,
|
|
659
571
|
item: {
|
|
660
572
|
command: {
|
|
661
|
-
id: "workbench.action.terminal.
|
|
573
|
+
id: "workbench.action.terminal.sizeToContentWidthActiveTab" ,
|
|
662
574
|
title: ( localize(
|
|
663
575
|
'workbench.action.terminal.sizeToContentWidthInstance',
|
|
664
576
|
"Toggle Size to Content Width"
|
|
@@ -670,33 +582,33 @@ function setupTerminalMenus() {
|
|
|
670
582
|
{
|
|
671
583
|
id: MenuId.TerminalTabContext,
|
|
672
584
|
item: {
|
|
673
|
-
group: "5_config" ,
|
|
674
585
|
command: {
|
|
675
|
-
id: "workbench.action.terminal.
|
|
586
|
+
id: "workbench.action.terminal.joinActiveTab" ,
|
|
676
587
|
title: ( localize('workbench.action.terminal.joinInstance', "Join Terminals"))
|
|
677
588
|
},
|
|
678
|
-
when: ( TerminalContextKeys.tabsSingularSelection.toNegated())
|
|
589
|
+
when: ( TerminalContextKeys.tabsSingularSelection.toNegated()),
|
|
590
|
+
group: "5_config"
|
|
679
591
|
}
|
|
680
592
|
},
|
|
681
593
|
{
|
|
682
594
|
id: MenuId.TerminalTabContext,
|
|
683
595
|
item: {
|
|
684
|
-
group: "5_config" ,
|
|
685
596
|
command: {
|
|
686
|
-
id: "workbench.action.terminal.
|
|
597
|
+
id: "workbench.action.terminal.unsplitActiveTab" ,
|
|
687
598
|
title: terminalStrings.unsplit.value
|
|
688
599
|
},
|
|
689
600
|
when: ( ContextKeyExpr.and(
|
|
690
601
|
TerminalContextKeys.tabsSingularSelection,
|
|
691
602
|
TerminalContextKeys.splitTerminal
|
|
692
|
-
))
|
|
603
|
+
)),
|
|
604
|
+
group: "5_config"
|
|
693
605
|
}
|
|
694
606
|
},
|
|
695
607
|
{
|
|
696
608
|
id: MenuId.TerminalTabContext,
|
|
697
609
|
item: {
|
|
698
610
|
command: {
|
|
699
|
-
id: "workbench.action.terminal.
|
|
611
|
+
id: "workbench.action.terminal.killActiveTab" ,
|
|
700
612
|
title: terminalStrings.kill.value
|
|
701
613
|
},
|
|
702
614
|
group: "4_kill" ,
|
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
import { __decorate } from '../../../../../../../external/tslib/tslib.es6.js';
|
|
2
2
|
import { Schemas } from 'monaco-editor/esm/vs/base/common/network.js';
|
|
3
|
-
import { withNullAsUndefined } from 'monaco-editor/esm/vs/base/common/types.js';
|
|
4
3
|
import { OS } from 'monaco-editor/esm/vs/base/common/platform.js';
|
|
5
4
|
import * as path from 'monaco-editor/esm/vs/base/common/path.js';
|
|
6
5
|
import { Codicon } from 'monaco-editor/esm/vs/base/common/codicons.js';
|
|
@@ -217,7 +216,7 @@ class BaseTerminalProfileResolverService {
|
|
|
217
216
|
}
|
|
218
217
|
}
|
|
219
218
|
const activeWorkspaceRootUri = this._historyService.getLastActiveWorkspaceRoot(options.remoteAuthority ? Schemas.vscodeRemote : Schemas.file);
|
|
220
|
-
const lastActiveWorkspace = activeWorkspaceRootUri ?
|
|
219
|
+
const lastActiveWorkspace = activeWorkspaceRootUri ? this._workspaceContextService.getWorkspaceFolder(activeWorkspaceRootUri) ?? undefined : undefined;
|
|
221
220
|
profile.path = await this._resolveVariables(profile.path, env, lastActiveWorkspace);
|
|
222
221
|
if (profile.args) {
|
|
223
222
|
if (typeof profile.args === 'string') {
|
|
@@ -3,8 +3,8 @@ import { equals } from 'monaco-editor/esm/vs/base/common/arrays.js';
|
|
|
3
3
|
import { AutoOpenBarrier } from 'monaco-editor/esm/vs/base/common/async.js';
|
|
4
4
|
import { throttle } from 'monaco-editor/esm/vs/base/common/decorators.js';
|
|
5
5
|
import { Emitter } from 'monaco-editor/esm/vs/base/common/event.js';
|
|
6
|
-
import { toDisposable } from 'monaco-editor/esm/vs/base/common/lifecycle.js';
|
|
7
|
-
import { isWeb,
|
|
6
|
+
import { Disposable, toDisposable } from 'monaco-editor/esm/vs/base/common/lifecycle.js';
|
|
7
|
+
import { isWeb, isWindows, isMacintosh, OS } from 'monaco-editor/esm/vs/base/common/platform.js';
|
|
8
8
|
import { IConfigurationService } from 'monaco-editor/esm/vs/platform/configuration/common/configuration.js';
|
|
9
9
|
import { IContextKeyService } from 'monaco-editor/esm/vs/platform/contextkey/common/contextkey.js';
|
|
10
10
|
import { registerTerminalDefaultProfileConfiguration } from '../../../../platform/terminal/common/terminalPlatformConfiguration.js';
|
|
@@ -16,9 +16,9 @@ import { ITerminalContributionService } from '../common/terminalExtensionPoints.
|
|
|
16
16
|
import { IWorkbenchEnvironmentService } from '../../../services/environment/common/environmentService.js';
|
|
17
17
|
import { IExtensionService } from '../../../services/extensions/common/extensions.js';
|
|
18
18
|
import { IRemoteAgentService } from '../../../services/remote/common/remoteAgentService.js';
|
|
19
|
-
let TerminalProfileService = class TerminalProfileService {
|
|
19
|
+
let TerminalProfileService = class TerminalProfileService extends Disposable {
|
|
20
20
|
get onDidChangeAvailableProfiles() { return this._onDidChangeAvailableProfiles.event; }
|
|
21
|
-
get profilesReady() { return this.
|
|
21
|
+
get profilesReady() { return this._profilesReadyPromise; }
|
|
22
22
|
get availableProfiles() {
|
|
23
23
|
if (!this._platformConfigJustRefreshed) {
|
|
24
24
|
this.refreshAvailableProfiles();
|
|
@@ -29,6 +29,7 @@ let TerminalProfileService = class TerminalProfileService {
|
|
|
29
29
|
return this._contributedProfiles || [];
|
|
30
30
|
}
|
|
31
31
|
constructor(_contextKeyService, _configurationService, _terminalContributionService, _extensionService, _remoteAgentService, _environmentService, _terminalInstanceService) {
|
|
32
|
+
super();
|
|
32
33
|
this._contextKeyService = _contextKeyService;
|
|
33
34
|
this._configurationService = _configurationService;
|
|
34
35
|
this._terminalContributionService = _terminalContributionService;
|
|
@@ -39,11 +40,15 @@ let TerminalProfileService = class TerminalProfileService {
|
|
|
39
40
|
this._contributedProfiles = [];
|
|
40
41
|
this._platformConfigJustRefreshed = false;
|
|
41
42
|
this._profileProviders = ( new Map());
|
|
42
|
-
this._onDidChangeAvailableProfiles = ( new Emitter());
|
|
43
|
+
this._onDidChangeAvailableProfiles = this._register(( new Emitter()));
|
|
43
44
|
this._extensionService.onDidChangeExtensions(() => this.refreshAvailableProfiles());
|
|
44
45
|
this._webExtensionContributedProfileContextKey = TerminalContextKeys.webExtensionContributedProfile.bindTo(this._contextKeyService);
|
|
45
46
|
this._updateWebContextKey();
|
|
46
|
-
this.
|
|
47
|
+
this._profilesReadyPromise = this._remoteAgentService.getEnvironment()
|
|
48
|
+
.then(() => {
|
|
49
|
+
this._profilesReadyBarrier = ( new AutoOpenBarrier(20000));
|
|
50
|
+
return this._profilesReadyBarrier.wait().then(() => { });
|
|
51
|
+
});
|
|
47
52
|
this.refreshAvailableProfiles();
|
|
48
53
|
this._setupConfigListener();
|
|
49
54
|
}
|
|
@@ -12,11 +12,13 @@ import { terminalStrings } from '../common/terminalStrings.js';
|
|
|
12
12
|
import { TerminalLocation } from '../../../../platform/terminal/common/terminal.js';
|
|
13
13
|
import { IEditorService } from '../../../services/editor/common/editorService.js';
|
|
14
14
|
import { IInstantiationService } from 'monaco-editor/esm/vs/platform/instantiation/common/instantiation.js';
|
|
15
|
+
var TerminalQuickAccessProvider_1;
|
|
15
16
|
let terminalPicks = [];
|
|
16
17
|
let TerminalQuickAccessProvider = class TerminalQuickAccessProvider extends PickerQuickAccessProvider {
|
|
18
|
+
static { TerminalQuickAccessProvider_1 = this; }
|
|
17
19
|
static { this.PREFIX = 'term '; }
|
|
18
20
|
constructor(_editorService, _terminalService, _terminalEditorService, _terminalGroupService, _commandService, _themeService, _instantiationService) {
|
|
19
|
-
super(
|
|
21
|
+
super(TerminalQuickAccessProvider_1.PREFIX, { canAcceptInBackground: true });
|
|
20
22
|
this._editorService = _editorService;
|
|
21
23
|
this._terminalService = _terminalService;
|
|
22
24
|
this._terminalEditorService = _terminalEditorService;
|
|
@@ -132,7 +134,7 @@ let TerminalQuickAccessProvider = class TerminalQuickAccessProvider extends Pick
|
|
|
132
134
|
return undefined;
|
|
133
135
|
}
|
|
134
136
|
};
|
|
135
|
-
TerminalQuickAccessProvider = ( __decorate([
|
|
137
|
+
TerminalQuickAccessProvider = TerminalQuickAccessProvider_1 = ( __decorate([
|
|
136
138
|
( __param(0, IEditorService)),
|
|
137
139
|
( __param(1, ITerminalEditorService)),
|
|
138
140
|
( __param(2, ITerminalEditorService)),
|
|
@@ -17,6 +17,7 @@ import { fromNow } from '../../../../base/common/date.js';
|
|
|
17
17
|
import { IEditorService } from '../../../services/editor/common/editorService.js';
|
|
18
18
|
import { showWithPinnedItems } from '../../../../platform/quickinput/browser/quickPickPin.js';
|
|
19
19
|
import { IStorageService } from 'monaco-editor/esm/vs/platform/storage/common/storage.js';
|
|
20
|
+
var TerminalOutputProvider_1;
|
|
20
21
|
async function showRunRecentQuickPick(accessor, instance, terminalInRunCommandPicker, type, filterMode, value) {
|
|
21
22
|
if (!instance.xterm) {
|
|
22
23
|
return;
|
|
@@ -247,10 +248,11 @@ async function showRunRecentQuickPick(accessor, instance, terminalInRunCommandPi
|
|
|
247
248
|
}));
|
|
248
249
|
}
|
|
249
250
|
let TerminalOutputProvider = class TerminalOutputProvider {
|
|
251
|
+
static { TerminalOutputProvider_1 = this; }
|
|
250
252
|
static { this.scheme = 'TERMINAL_OUTPUT'; }
|
|
251
253
|
constructor(textModelResolverService, _modelService) {
|
|
252
254
|
this._modelService = _modelService;
|
|
253
|
-
textModelResolverService.registerTextModelContentProvider(
|
|
255
|
+
textModelResolverService.registerTextModelContentProvider(TerminalOutputProvider_1.scheme, this);
|
|
254
256
|
}
|
|
255
257
|
async provideTextContent(resource) {
|
|
256
258
|
const existing = this._modelService.getModel(resource);
|
|
@@ -260,7 +262,7 @@ let TerminalOutputProvider = class TerminalOutputProvider {
|
|
|
260
262
|
return this._modelService.createModel(resource.fragment, null, resource, false);
|
|
261
263
|
}
|
|
262
264
|
};
|
|
263
|
-
TerminalOutputProvider = ( __decorate([
|
|
265
|
+
TerminalOutputProvider = TerminalOutputProvider_1 = ( __decorate([
|
|
264
266
|
( __param(0, ITextModelService)),
|
|
265
267
|
( __param(1, IModelService))
|
|
266
268
|
], TerminalOutputProvider));
|
|
@@ -2,8 +2,8 @@ import { __decorate, __param } from '../../../../../../../external/tslib/tslib.e
|
|
|
2
2
|
import * as dom from 'monaco-editor/esm/vs/base/browser/dom.js';
|
|
3
3
|
import { DeferredPromise, timeout } from 'monaco-editor/esm/vs/base/common/async.js';
|
|
4
4
|
import { debounce } from 'monaco-editor/esm/vs/base/common/decorators.js';
|
|
5
|
-
import { Emitter, Event } from 'monaco-editor/esm/vs/base/common/event.js';
|
|
6
|
-
import { dispose, toDisposable } from 'monaco-editor/esm/vs/base/common/lifecycle.js';
|
|
5
|
+
import { Emitter, Event, DynamicListEventMultiplexer } from 'monaco-editor/esm/vs/base/common/event.js';
|
|
6
|
+
import { Disposable, dispose, toDisposable } from 'monaco-editor/esm/vs/base/common/lifecycle.js';
|
|
7
7
|
import { Schemas } from 'monaco-editor/esm/vs/base/common/network.js';
|
|
8
8
|
import { isWeb, isMacintosh } from 'monaco-editor/esm/vs/base/common/platform.js';
|
|
9
9
|
import { URI } from 'monaco-editor/esm/vs/base/common/uri.js';
|
|
@@ -35,7 +35,7 @@ import { TERMINAL_VIEW_ID, ITerminalProfileService } from '../common/terminal.js
|
|
|
35
35
|
import { TerminalContextKeys } from '../common/terminalContextKey.js';
|
|
36
36
|
import { columnToEditorGroup } from '../../../services/editor/common/editorGroupColumn.js';
|
|
37
37
|
import { IEditorGroupsService } from '../../../services/editor/common/editorGroupsService.js';
|
|
38
|
-
import {
|
|
38
|
+
import { SIDE_GROUP, IEditorService } from '../../../services/editor/common/editorService.js';
|
|
39
39
|
import { IWorkbenchEnvironmentService } from '../../../services/environment/common/environmentService.js';
|
|
40
40
|
import { IExtensionService } from '../../../services/extensions/common/extensions.js';
|
|
41
41
|
import { ILifecycleService } from '../../../services/lifecycle/common/lifecycle.js';
|
|
@@ -47,8 +47,10 @@ import { TerminalCapabilityStore } from '../../../../platform/terminal/common/ca
|
|
|
47
47
|
import { ITimerService } from '../../../services/timer/browser/timerService.js';
|
|
48
48
|
import { mark } from 'monaco-editor/esm/vs/base/common/performance.js';
|
|
49
49
|
import { Registry } from 'monaco-editor/esm/vs/platform/registry/common/platform.js';
|
|
50
|
+
import { DeatachedTerminal } from './detachedTerminal.js';
|
|
51
|
+
import { createInstanceCapabilityEventMultiplexer } from './terminalEvents.js';
|
|
50
52
|
import { IDialogService } from '../../../../platform/dialogs/common/dialogs.js';
|
|
51
|
-
let TerminalService = class TerminalService {
|
|
53
|
+
let TerminalService = class TerminalService extends Disposable {
|
|
52
54
|
get isProcessSupportRegistered() { return !!this._processSupportContextKey.get(); }
|
|
53
55
|
get connectionState() { return this._connectionState; }
|
|
54
56
|
get whenConnected() { return this._whenConnected.p; }
|
|
@@ -94,6 +96,7 @@ let TerminalService = class TerminalService {
|
|
|
94
96
|
get onDidRegisterProcessSupport() { return this._onDidRegisterProcessSupport.event; }
|
|
95
97
|
get onDidChangeConnectionState() { return this._onDidChangeConnectionState.event; }
|
|
96
98
|
constructor(_contextKeyService, _lifecycleService, _logService, _dialogService, _instantiationService, _remoteAgentService, _viewsService, _configurationService, _environmentService, _terminalEditorService, _terminalGroupService, _terminalInstanceService, _editorGroupsService, _terminalProfileService, _extensionService, _notificationService, _workspaceContextService, _commandService, _keybindingService, _timerService) {
|
|
99
|
+
super();
|
|
97
100
|
this._contextKeyService = _contextKeyService;
|
|
98
101
|
this._lifecycleService = _lifecycleService;
|
|
99
102
|
this._logService = _logService;
|
|
@@ -123,28 +126,28 @@ let TerminalService = class TerminalService {
|
|
|
123
126
|
this._whenConnected = ( new DeferredPromise());
|
|
124
127
|
this._restoredGroupCount = 0;
|
|
125
128
|
this._reconnectedTerminals = ( new Map());
|
|
126
|
-
this._onDidChangeActiveGroup = ( new Emitter());
|
|
127
|
-
this._onDidCreateInstance = ( new Emitter());
|
|
128
|
-
this._onDidDisposeInstance = ( new Emitter());
|
|
129
|
-
this._onDidFocusInstance = ( new Emitter());
|
|
130
|
-
this._onDidReceiveProcessId = ( new Emitter());
|
|
131
|
-
this._onDidRequestStartExtensionTerminal = ( new Emitter());
|
|
132
|
-
this._onDidChangeInstanceDimensions = ( new Emitter());
|
|
133
|
-
this._onDidMaxiumumDimensionsChange = ( new Emitter());
|
|
134
|
-
this._onDidChangeInstanceCapability = ( new Emitter());
|
|
135
|
-
this._onDidChangeInstances = ( new Emitter());
|
|
136
|
-
this._onDidChangeInstanceTitle = ( new Emitter());
|
|
137
|
-
this._onDidChangeInstanceIcon = ( new Emitter());
|
|
138
|
-
this._onDidChangeInstanceColor = ( new Emitter());
|
|
139
|
-
this._onDidChangeActiveInstance = ( new Emitter());
|
|
140
|
-
this._onDidChangeInstancePrimaryStatus = ( new Emitter());
|
|
141
|
-
this._onDidInputInstanceData = ( new Emitter());
|
|
142
|
-
this._onDidChangeSelection = ( new Emitter());
|
|
143
|
-
this._onDidDisposeGroup = ( new Emitter());
|
|
144
|
-
this._onDidChangeGroups = ( new Emitter());
|
|
145
|
-
this._onDidRegisterProcessSupport = ( new Emitter());
|
|
146
|
-
this._onDidChangeConnectionState = ( new Emitter());
|
|
147
|
-
this._configHelper = this._instantiationService.createInstance(TerminalConfigHelper);
|
|
129
|
+
this._onDidChangeActiveGroup = this._register(( new Emitter()));
|
|
130
|
+
this._onDidCreateInstance = this._register(( new Emitter()));
|
|
131
|
+
this._onDidDisposeInstance = this._register(( new Emitter()));
|
|
132
|
+
this._onDidFocusInstance = this._register(( new Emitter()));
|
|
133
|
+
this._onDidReceiveProcessId = this._register(( new Emitter()));
|
|
134
|
+
this._onDidRequestStartExtensionTerminal = this._register(( new Emitter()));
|
|
135
|
+
this._onDidChangeInstanceDimensions = this._register(( new Emitter()));
|
|
136
|
+
this._onDidMaxiumumDimensionsChange = this._register(( new Emitter()));
|
|
137
|
+
this._onDidChangeInstanceCapability = this._register(( new Emitter()));
|
|
138
|
+
this._onDidChangeInstances = this._register(( new Emitter()));
|
|
139
|
+
this._onDidChangeInstanceTitle = this._register(( new Emitter()));
|
|
140
|
+
this._onDidChangeInstanceIcon = this._register(( new Emitter()));
|
|
141
|
+
this._onDidChangeInstanceColor = this._register(( new Emitter()));
|
|
142
|
+
this._onDidChangeActiveInstance = this._register(( new Emitter()));
|
|
143
|
+
this._onDidChangeInstancePrimaryStatus = this._register(( new Emitter()));
|
|
144
|
+
this._onDidInputInstanceData = this._register(( new Emitter()));
|
|
145
|
+
this._onDidChangeSelection = this._register(( new Emitter()));
|
|
146
|
+
this._onDidDisposeGroup = this._register(( new Emitter()));
|
|
147
|
+
this._onDidChangeGroups = this._register(( new Emitter()));
|
|
148
|
+
this._onDidRegisterProcessSupport = this._register(( new Emitter()));
|
|
149
|
+
this._onDidChangeConnectionState = this._register(( new Emitter()));
|
|
150
|
+
this._configHelper = this._register(this._instantiationService.createInstance(TerminalConfigHelper));
|
|
148
151
|
this.onDidCreateInstance(() => this._terminalProfileService.refreshAvailableProfiles());
|
|
149
152
|
this._forwardInstanceHostEvents(this._terminalGroupService);
|
|
150
153
|
this._forwardInstanceHostEvents(this._terminalEditorService);
|
|
@@ -850,15 +853,18 @@ let TerminalService = class TerminalService {
|
|
|
850
853
|
}
|
|
851
854
|
return this._createTerminal(shellLaunchConfig, location, options);
|
|
852
855
|
}
|
|
853
|
-
async
|
|
856
|
+
async createDetachedTerminal(options) {
|
|
854
857
|
const ctor = await TerminalInstance.getXtermConstructor(this._keybindingService, this._contextKeyService);
|
|
855
|
-
const
|
|
858
|
+
const xterm = this._instantiationService.createInstance(XtermTerminal, ctor, this._configHelper, options.cols, options.rows, options.colorProvider, options.capabilities || ( new TerminalCapabilityStore()), '', undefined, false);
|
|
856
859
|
if (options.readonly) {
|
|
857
|
-
|
|
860
|
+
xterm.raw.attachCustomKeyEventHandler(() => false);
|
|
858
861
|
}
|
|
859
|
-
this._detachedXterms.add(
|
|
860
|
-
|
|
861
|
-
|
|
862
|
+
this._detachedXterms.add(xterm);
|
|
863
|
+
const l = xterm.onDidDispose(() => {
|
|
864
|
+
this._detachedXterms.delete(xterm);
|
|
865
|
+
l.dispose();
|
|
866
|
+
});
|
|
867
|
+
return ( new DeatachedTerminal(xterm, options, this._instantiationService));
|
|
862
868
|
}
|
|
863
869
|
async _resolveCwd(shellLaunchConfig, splitActiveTerminal, options) {
|
|
864
870
|
const cwd = shellLaunchConfig.cwd;
|
|
@@ -1005,6 +1011,17 @@ let TerminalService = class TerminalService {
|
|
|
1005
1011
|
setEditingTerminal(instance) {
|
|
1006
1012
|
this._editingTerminal = instance;
|
|
1007
1013
|
}
|
|
1014
|
+
onInstanceEvent(getEvent) {
|
|
1015
|
+
return ( new DynamicListEventMultiplexer(
|
|
1016
|
+
this.instances,
|
|
1017
|
+
this.onDidCreateInstance,
|
|
1018
|
+
this.onDidDisposeInstance,
|
|
1019
|
+
getEvent
|
|
1020
|
+
));
|
|
1021
|
+
}
|
|
1022
|
+
onInstanceCapabilityEvent(capabilityId, getEvent) {
|
|
1023
|
+
return createInstanceCapabilityEventMultiplexer(this.instances, this.onDidCreateInstance, this.onDidDisposeInstance, capabilityId, getEvent);
|
|
1024
|
+
}
|
|
1008
1025
|
};
|
|
1009
1026
|
TerminalService.__decorator = ( __decorate([
|
|
1010
1027
|
debounce(500)
|
|
@@ -315,6 +315,9 @@ let TerminalTabbedView = class TerminalTabbedView extends Disposable {
|
|
|
315
315
|
}
|
|
316
316
|
if (!this._cancelContextMenu) {
|
|
317
317
|
const emptyList = this._tabList.getFocus().length === 0;
|
|
318
|
+
if (!emptyList) {
|
|
319
|
+
this._terminalGroupService.lastAccessedMenu = 'tab-list';
|
|
320
|
+
}
|
|
318
321
|
openContextMenu(event, this._parentElement, emptyList ? this._tabsListEmptyMenu : this._tabsListMenu, this._contextMenuService, emptyList ? this._getTabActions() : undefined);
|
|
319
322
|
}
|
|
320
323
|
event.preventDefault();
|
|
@@ -137,8 +137,8 @@ let TerminalTabList = class TerminalTabList extends WorkbenchList {
|
|
|
137
137
|
}
|
|
138
138
|
});
|
|
139
139
|
if (!this._decorationsProvider) {
|
|
140
|
-
this._decorationsProvider = instantiationService.createInstance(TabDecorationsProvider);
|
|
141
|
-
decorationsService.registerDecorationsProvider(this._decorationsProvider);
|
|
140
|
+
this._decorationsProvider = this.disposables.add(instantiationService.createInstance(TabDecorationsProvider));
|
|
141
|
+
this.disposables.add(decorationsService.registerDecorationsProvider(this._decorationsProvider));
|
|
142
142
|
}
|
|
143
143
|
this.refresh();
|
|
144
144
|
}
|
|
@@ -402,7 +402,7 @@ let TerminalTabsRenderer = class TerminalTabsRenderer {
|
|
|
402
402
|
fillActionBar(instance, template) {
|
|
403
403
|
const actions = [
|
|
404
404
|
( new Action(
|
|
405
|
-
"workbench.action.terminal.
|
|
405
|
+
"workbench.action.terminal.splitActiveTab" ,
|
|
406
406
|
terminalStrings.split.short,
|
|
407
407
|
ThemeIcon.asClassName(Codicon.splitHorizontal),
|
|
408
408
|
true,
|
|
@@ -413,7 +413,7 @@ let TerminalTabsRenderer = class TerminalTabsRenderer {
|
|
|
413
413
|
}
|
|
414
414
|
)),
|
|
415
415
|
( new Action(
|
|
416
|
-
"workbench.action.terminal.
|
|
416
|
+
"workbench.action.terminal.killActiveTab" ,
|
|
417
417
|
terminalStrings.kill.short,
|
|
418
418
|
ThemeIcon.asClassName(Codicon.trashcan),
|
|
419
419
|
true,
|
|
@@ -642,15 +642,14 @@ TerminalTabsDragAndDrop = ( __decorate([
|
|
|
642
642
|
( __param(0, ITerminalService)),
|
|
643
643
|
( __param(1, ITerminalGroupService))
|
|
644
644
|
], TerminalTabsDragAndDrop));
|
|
645
|
-
let TabDecorationsProvider = class TabDecorationsProvider {
|
|
645
|
+
let TabDecorationsProvider = class TabDecorationsProvider extends Disposable {
|
|
646
646
|
constructor(_terminalService) {
|
|
647
|
+
super();
|
|
647
648
|
this._terminalService = _terminalService;
|
|
648
649
|
this.label = ( localize('label', "Terminal"));
|
|
649
|
-
this._onDidChange = ( new Emitter());
|
|
650
|
-
this.
|
|
651
|
-
|
|
652
|
-
get onDidChange() {
|
|
653
|
-
return this._onDidChange.event;
|
|
650
|
+
this._onDidChange = this._register(( new Emitter()));
|
|
651
|
+
this.onDidChange = this._onDidChange.event;
|
|
652
|
+
this._register(this._terminalService.onDidChangeInstancePrimaryStatus(e => this._onDidChange.fire([e.resource])));
|
|
654
653
|
}
|
|
655
654
|
provideDecorations(resource) {
|
|
656
655
|
if (resource.scheme !== Schemas.vscodeTerminal) {
|
|
@@ -670,9 +669,6 @@ let TabDecorationsProvider = class TabDecorationsProvider {
|
|
|
670
669
|
tooltip: primaryStatus.tooltip
|
|
671
670
|
};
|
|
672
671
|
}
|
|
673
|
-
dispose() {
|
|
674
|
-
this.dispose();
|
|
675
|
-
}
|
|
676
672
|
};
|
|
677
673
|
TabDecorationsProvider = ( __decorate([
|
|
678
674
|
( __param(0, ITerminalService))
|
|
@@ -31,7 +31,6 @@ import { toDisposable, dispose } from 'monaco-editor/esm/vs/base/common/lifecycl
|
|
|
31
31
|
import { URI } from 'monaco-editor/esm/vs/base/common/uri.js';
|
|
32
32
|
import { ColorScheme } from 'monaco-editor/esm/vs/platform/theme/common/theme.js';
|
|
33
33
|
import { getColorClass, getUriClasses } from './terminalIcon.js';
|
|
34
|
-
import { withNullAsUndefined } from 'monaco-editor/esm/vs/base/common/types.js';
|
|
35
34
|
import { getTerminalActionBarArgs } from './terminalMenus.js';
|
|
36
35
|
import { TerminalContextKeys } from '../common/terminalContextKey.js';
|
|
37
36
|
import { getInstanceHoverInfo } from './terminalTooltip.js';
|
|
@@ -57,6 +56,7 @@ let TerminalViewPane = class TerminalViewPane extends ViewPane {
|
|
|
57
56
|
this._themeService = _themeService;
|
|
58
57
|
this._accessibilityService = _accessibilityService;
|
|
59
58
|
this._isWelcomeShowing = false;
|
|
59
|
+
this._isInitialized = false;
|
|
60
60
|
this._register(this._terminalService.onDidRegisterProcessSupport(() => {
|
|
61
61
|
this._onDidChangeViewWelcomeState.fire();
|
|
62
62
|
}));
|
|
@@ -72,7 +72,7 @@ let TerminalViewPane = class TerminalViewPane extends ViewPane {
|
|
|
72
72
|
}
|
|
73
73
|
}));
|
|
74
74
|
this._dropdownMenu = this._register(this._menuService.createMenu(MenuId.TerminalNewDropdownContext, this._contextKeyService));
|
|
75
|
-
this._singleTabMenu = this._register(this._menuService.createMenu(MenuId.
|
|
75
|
+
this._singleTabMenu = this._register(this._menuService.createMenu(MenuId.TerminalTabContext, this._contextKeyService));
|
|
76
76
|
this._register(this._terminalProfileService.onDidChangeAvailableProfiles(profiles => this._updateTabActionBar(profiles)));
|
|
77
77
|
this._viewShowing = TerminalContextKeys.viewShowing.bindTo(this._contextKeyService);
|
|
78
78
|
this._register(this.onDidChangeBodyVisibility(e => {
|
|
@@ -86,7 +86,7 @@ let TerminalViewPane = class TerminalViewPane extends ViewPane {
|
|
|
86
86
|
}
|
|
87
87
|
}));
|
|
88
88
|
this._register(this._terminalService.onDidCreateInstance((i) => {
|
|
89
|
-
i.capabilities.
|
|
89
|
+
i.capabilities.onDidAddCapabilityType(c => {
|
|
90
90
|
if (c === 2 && this._gutterDecorationsEnabled()) {
|
|
91
91
|
this._parentDomElement?.classList.add('shell-integration');
|
|
92
92
|
}
|
|
@@ -102,13 +102,36 @@ let TerminalViewPane = class TerminalViewPane extends ViewPane {
|
|
|
102
102
|
}
|
|
103
103
|
_initializeTerminal(checkRestoredTerminals) {
|
|
104
104
|
if (this.isBodyVisible() && this._terminalService.isProcessSupportRegistered && this._terminalService.connectionState === 1 ) {
|
|
105
|
+
const wasInitialized = this._isInitialized;
|
|
106
|
+
this._isInitialized = true;
|
|
107
|
+
let hideOnStartup = 'never';
|
|
108
|
+
if (!wasInitialized) {
|
|
109
|
+
hideOnStartup = this._configurationService.getValue("terminal.integrated.hideOnStartup" );
|
|
110
|
+
if (hideOnStartup === 'always') {
|
|
111
|
+
this._terminalGroupService.hidePanel();
|
|
112
|
+
}
|
|
113
|
+
}
|
|
105
114
|
let shouldCreate = this._terminalGroupService.groups.length === 0;
|
|
106
115
|
if (checkRestoredTerminals) {
|
|
107
116
|
shouldCreate &&= this._terminalService.restoredGroupCount === 0;
|
|
108
117
|
}
|
|
109
|
-
if (shouldCreate) {
|
|
110
|
-
|
|
118
|
+
if (!shouldCreate) {
|
|
119
|
+
return;
|
|
120
|
+
}
|
|
121
|
+
if (!wasInitialized) {
|
|
122
|
+
switch (hideOnStartup) {
|
|
123
|
+
case 'never':
|
|
124
|
+
this._terminalService.createTerminal({ location: TerminalLocation.Panel });
|
|
125
|
+
break;
|
|
126
|
+
case 'whenEmpty':
|
|
127
|
+
if (this._terminalService.restoredGroupCount === 0) {
|
|
128
|
+
this._terminalGroupService.hidePanel();
|
|
129
|
+
}
|
|
130
|
+
break;
|
|
131
|
+
}
|
|
132
|
+
return;
|
|
111
133
|
}
|
|
134
|
+
this._terminalService.createTerminal({ location: TerminalLocation.Panel });
|
|
112
135
|
}
|
|
113
136
|
}
|
|
114
137
|
renderBody(container) {
|
|
@@ -241,7 +264,7 @@ let TerminalViewPane = class TerminalViewPane extends ViewPane {
|
|
|
241
264
|
return defaultProfileName;
|
|
242
265
|
}
|
|
243
266
|
_getKeybindingLabel(action) {
|
|
244
|
-
return
|
|
267
|
+
return this._keybindingService.lookupKeybinding(action.id)?.getLabel() ?? undefined;
|
|
245
268
|
}
|
|
246
269
|
_updateTabActionBar(profiles) {
|
|
247
270
|
const actions = getTerminalActionBarArgs(TerminalLocation.Panel, profiles, this._getDefaultProfileName(), this._terminalProfileService.contributedProfiles, this._terminalService, this._dropdownMenu);
|
|
@@ -356,6 +379,7 @@ let SingleTerminalTabActionViewItem = class SingleTerminalTabActionViewItem exte
|
|
|
356
379
|
this._register(toDisposable(() => dispose(this._elementDisposables)));
|
|
357
380
|
}
|
|
358
381
|
async onClick(event) {
|
|
382
|
+
this._terminalGroupService.lastAccessedMenu = 'inline-tab';
|
|
359
383
|
if (event.altKey && this._menuItemAction.alt) {
|
|
360
384
|
this._commandService.executeCommand(this._menuItemAction.alt.id, { target: TerminalLocation.Panel });
|
|
361
385
|
}
|
|
@@ -51,8 +51,8 @@ let DecorationAddon = class DecorationAddon extends Disposable {
|
|
|
51
51
|
}));
|
|
52
52
|
this._register(this._themeService.onDidColorThemeChange(() => this._refreshStyles(true)));
|
|
53
53
|
this._updateDecorationVisibility();
|
|
54
|
-
this._register(this._capabilities.
|
|
55
|
-
this._register(this._capabilities.
|
|
54
|
+
this._register(this._capabilities.onDidAddCapabilityType(c => this._createCapabilityDisposables(c)));
|
|
55
|
+
this._register(this._capabilities.onDidRemoveCapabilityType(c => this._removeCapabilityDisposables(c)));
|
|
56
56
|
this._register(lifecycleService.onWillShutdown(() => this._disposeAllDecorations()));
|
|
57
57
|
this._terminalDecorationHoverService = instantiationService.createInstance(TerminalDecorationHoverManager);
|
|
58
58
|
}
|
|
@@ -36,9 +36,9 @@ let SuggestAddon = class SuggestAddon extends Disposable {
|
|
|
36
36
|
this._enableWidget = true;
|
|
37
37
|
this._cursorIndexStart = 0;
|
|
38
38
|
this._cursorIndexDelta = 0;
|
|
39
|
-
this._onBell = ( new Emitter());
|
|
39
|
+
this._onBell = this._register(( new Emitter()));
|
|
40
40
|
this.onBell = this._onBell.event;
|
|
41
|
-
this._onAcceptedCompletion = ( new Emitter());
|
|
41
|
+
this._onAcceptedCompletion = this._register(( new Emitter()));
|
|
42
42
|
this.onAcceptedCompletion = this._onAcceptedCompletion.event;
|
|
43
43
|
this._cachedBashAliases = ( new Set());
|
|
44
44
|
this._cachedBashBuiltins = ( new Set());
|