@codingame/monaco-vscode-api 1.81.8-next.3 → 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/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/package.json +3 -3
- package/service-override/extensions.d.ts +1 -1
- package/service-override/extensions.js +5 -1
- 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 +0 -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
|
@@ -42,7 +42,9 @@ declare class XtermTerminal extends DisposableStore implements IXtermTerminal, I
|
|
|
42
42
|
readonly raw: Terminal;
|
|
43
43
|
private _core;
|
|
44
44
|
private static _suggestedRendererType;
|
|
45
|
+
private static _checkedWebglCompatible;
|
|
45
46
|
private _attached?;
|
|
47
|
+
private _isPhysicalMouseWheel;
|
|
46
48
|
private _markNavigationAddon;
|
|
47
49
|
private _shellIntegrationAddon;
|
|
48
50
|
private _decorationAddon;
|
|
@@ -100,9 +102,10 @@ declare class XtermTerminal extends DisposableStore implements IXtermTerminal, I
|
|
|
100
102
|
getSelectionAsHtml(command?: ITerminalCommand): Promise<string>;
|
|
101
103
|
attachToElement(container: HTMLElement, partialOptions?: Partial<IXtermAttachToElementOptions>): HTMLElement;
|
|
102
104
|
private _setFocused;
|
|
103
|
-
write(data: string | Uint8Array): void;
|
|
105
|
+
write(data: string | Uint8Array, callback?: () => void): void;
|
|
104
106
|
resize(columns: number, rows: number): void;
|
|
105
107
|
updateConfig(): void;
|
|
108
|
+
private _updateSmoothScrolling;
|
|
106
109
|
private _shouldLoadWebgl;
|
|
107
110
|
private _shouldLoadCanvas;
|
|
108
111
|
forceRedraw(): void;
|
|
@@ -128,13 +131,16 @@ declare class XtermTerminal extends DisposableStore implements IXtermTerminal, I
|
|
|
128
131
|
clearBuffer(): void;
|
|
129
132
|
hasSelection(): boolean;
|
|
130
133
|
clearSelection(): void;
|
|
134
|
+
selectMarkedRange(fromMarkerId: string, toMarkerId: string, scrollIntoView?: boolean): void;
|
|
131
135
|
selectAll(): void;
|
|
132
136
|
focus(): void;
|
|
133
137
|
copySelection(asHtml?: boolean, command?: ITerminalCommand): Promise<void>;
|
|
134
138
|
private _setCursorBlink;
|
|
135
139
|
private _setCursorStyle;
|
|
140
|
+
private _setCursorStyleInactive;
|
|
136
141
|
private _setCursorWidth;
|
|
137
142
|
private _enableWebglRenderer;
|
|
143
|
+
private _disableWebglForThisSession;
|
|
138
144
|
private _enableCanvasRenderer;
|
|
139
145
|
protected _getCanvasAddonConstructor(): Promise<typeof CanvasAddon>;
|
|
140
146
|
private _refreshImageAddon;
|
|
@@ -22,6 +22,9 @@ import { IContextKeyService } from 'monaco-editor/esm/vs/platform/contextkey/com
|
|
|
22
22
|
import { TerminalContextKeys } from '../../common/terminalContextKey.js';
|
|
23
23
|
import { IClipboardService } from 'monaco-editor/esm/vs/platform/clipboard/common/clipboardService.js';
|
|
24
24
|
import { debounce } from 'monaco-editor/esm/vs/base/common/decorators.js';
|
|
25
|
+
import { MouseWheelClassifier } from 'monaco-editor/esm/vs/base/browser/ui/scrollbar/scrollableElement.js';
|
|
26
|
+
import { StandardWheelEvent } from 'monaco-editor/esm/vs/base/browser/mouseEvent.js';
|
|
27
|
+
var XtermTerminal_1;
|
|
25
28
|
let CanvasAddon;
|
|
26
29
|
let ImageAddon;
|
|
27
30
|
let SearchAddon;
|
|
@@ -44,7 +47,9 @@ function getFullBufferLineAsString(lineIndex, buffer) {
|
|
|
44
47
|
return { lineData, lineIndex };
|
|
45
48
|
}
|
|
46
49
|
let XtermTerminal = class XtermTerminal extends DisposableStore {
|
|
50
|
+
static { XtermTerminal_1 = this; }
|
|
47
51
|
static { this._suggestedRendererType = undefined; }
|
|
52
|
+
static { this._checkedWebglCompatible = false; }
|
|
48
53
|
get findResult() { return this._lastFindResult; }
|
|
49
54
|
get isStdinDisabled() { return !!this.raw.options.disableStdin; }
|
|
50
55
|
get markTracker() { return this._markNavigationAddon; }
|
|
@@ -74,22 +79,23 @@ let XtermTerminal = class XtermTerminal extends DisposableStore {
|
|
|
74
79
|
this._themeService = _themeService;
|
|
75
80
|
this._telemetryService = _telemetryService;
|
|
76
81
|
this._clipboardService = _clipboardService;
|
|
82
|
+
this._isPhysicalMouseWheel = MouseWheelClassifier.INSTANCE.isPhysicalMouseWheel();
|
|
77
83
|
this._attachedDisposables = this.add(( new DisposableStore()));
|
|
78
|
-
this._onDidRequestRunCommand = ( new Emitter());
|
|
84
|
+
this._onDidRequestRunCommand = this.add(( new Emitter()));
|
|
79
85
|
this.onDidRequestRunCommand = this._onDidRequestRunCommand.event;
|
|
80
|
-
this._onDidRequestFocus = ( new Emitter());
|
|
86
|
+
this._onDidRequestFocus = this.add(( new Emitter()));
|
|
81
87
|
this.onDidRequestFocus = this._onDidRequestFocus.event;
|
|
82
|
-
this._onDidRequestSendText = ( new Emitter());
|
|
88
|
+
this._onDidRequestSendText = this.add(( new Emitter()));
|
|
83
89
|
this.onDidRequestSendText = this._onDidRequestSendText.event;
|
|
84
|
-
this._onDidRequestFreePort = ( new Emitter());
|
|
90
|
+
this._onDidRequestFreePort = this.add(( new Emitter()));
|
|
85
91
|
this.onDidRequestFreePort = this._onDidRequestFreePort.event;
|
|
86
|
-
this._onDidChangeFindResults = ( new Emitter());
|
|
92
|
+
this._onDidChangeFindResults = this.add(( new Emitter()));
|
|
87
93
|
this.onDidChangeFindResults = this._onDidChangeFindResults.event;
|
|
88
|
-
this._onDidChangeSelection = ( new Emitter());
|
|
94
|
+
this._onDidChangeSelection = this.add(( new Emitter()));
|
|
89
95
|
this.onDidChangeSelection = this._onDidChangeSelection.event;
|
|
90
|
-
this._onDidChangeFocus = ( new Emitter());
|
|
96
|
+
this._onDidChangeFocus = this.add(( new Emitter()));
|
|
91
97
|
this.onDidChangeFocus = this._onDidChangeFocus.event;
|
|
92
|
-
this._onDidDispose = ( new Emitter());
|
|
98
|
+
this._onDidDispose = this.add(( new Emitter()));
|
|
93
99
|
this.onDidDispose = this._onDidDispose.event;
|
|
94
100
|
const font = this._configHelper.getFont(undefined, true);
|
|
95
101
|
const config = this._configHelper.config;
|
|
@@ -113,7 +119,8 @@ let XtermTerminal = class XtermTerminal extends DisposableStore {
|
|
|
113
119
|
minimumContrastRatio: config.minimumContrastRatio,
|
|
114
120
|
tabStopWidth: config.tabStopWidth,
|
|
115
121
|
cursorBlink: config.cursorBlinking,
|
|
116
|
-
cursorStyle: config.cursorStyle
|
|
122
|
+
cursorStyle: vscodeToXtermCursorStyle(config.cursorStyle),
|
|
123
|
+
cursorInactiveStyle: vscodeToXtermCursorStyle(config.cursorStyleInactive),
|
|
117
124
|
cursorWidth: config.cursorWidth,
|
|
118
125
|
macOptionIsMeta: config.macOptionIsMeta,
|
|
119
126
|
macOptionClickForcesSelection: config.macOptionClickForcesSelection,
|
|
@@ -123,12 +130,13 @@ let XtermTerminal = class XtermTerminal extends DisposableStore {
|
|
|
123
130
|
scrollSensitivity: config.mouseWheelScrollSensitivity,
|
|
124
131
|
wordSeparator: config.wordSeparators,
|
|
125
132
|
overviewRulerWidth: 10,
|
|
126
|
-
|
|
133
|
+
ignoreBracketedPasteMode: config.ignoreBracketedPasteMode
|
|
127
134
|
})));
|
|
135
|
+
this._updateSmoothScrolling();
|
|
128
136
|
this._core = this.raw._core;
|
|
129
137
|
this.add(this._configurationService.onDidChangeConfiguration(async (e) => {
|
|
130
138
|
if (e.affectsConfiguration("terminal.integrated.gpuAcceleration" )) {
|
|
131
|
-
|
|
139
|
+
XtermTerminal_1._suggestedRendererType = undefined;
|
|
132
140
|
}
|
|
133
141
|
if (e.affectsConfiguration('terminal.integrated') || e.affectsConfiguration('editor.fastScrollSensitivity') || e.affectsConfiguration('editor.mouseWheelScrollSensitivity') || e.affectsConfiguration('editor.multiCursorModifier')) {
|
|
134
142
|
this.updateConfig();
|
|
@@ -227,6 +235,15 @@ let XtermTerminal = class XtermTerminal extends DisposableStore {
|
|
|
227
235
|
ad.add(dom.addDisposableListener(this.raw.textarea, 'focus', () => this._setFocused(true)));
|
|
228
236
|
ad.add(dom.addDisposableListener(this.raw.textarea, 'blur', () => this._setFocused(false)));
|
|
229
237
|
ad.add(dom.addDisposableListener(this.raw.textarea, 'focusout', () => this._setFocused(false)));
|
|
238
|
+
ad.add(dom.addDisposableListener(this.raw.element, dom.EventType.MOUSE_WHEEL, (e) => {
|
|
239
|
+
const classifier = MouseWheelClassifier.INSTANCE;
|
|
240
|
+
classifier.acceptStandardWheelEvent(( new StandardWheelEvent(e)));
|
|
241
|
+
const value = classifier.isPhysicalMouseWheel();
|
|
242
|
+
if (value !== this._isPhysicalMouseWheel) {
|
|
243
|
+
this._isPhysicalMouseWheel = value;
|
|
244
|
+
this._updateSmoothScrolling();
|
|
245
|
+
}
|
|
246
|
+
}, { passive: true }));
|
|
230
247
|
this._suggestAddon?.setContainer(container);
|
|
231
248
|
this._attached = { container, options };
|
|
232
249
|
return this._attached?.container.querySelector('.xterm-screen');
|
|
@@ -236,8 +253,8 @@ let XtermTerminal = class XtermTerminal extends DisposableStore {
|
|
|
236
253
|
this._anyTerminalFocusContextKey.set(isFocused);
|
|
237
254
|
this._anyFocusedTerminalHasSelection.set(isFocused && this.raw.hasSelection());
|
|
238
255
|
}
|
|
239
|
-
write(data) {
|
|
240
|
-
this.raw.write(data);
|
|
256
|
+
write(data, callback) {
|
|
257
|
+
this.raw.write(data, callback);
|
|
241
258
|
}
|
|
242
259
|
resize(columns, rows) {
|
|
243
260
|
this.raw.resize(columns, rows);
|
|
@@ -247,6 +264,7 @@ let XtermTerminal = class XtermTerminal extends DisposableStore {
|
|
|
247
264
|
this.raw.options.altClickMovesCursor = config.altClickMovesCursor;
|
|
248
265
|
this._setCursorBlink(config.cursorBlinking);
|
|
249
266
|
this._setCursorStyle(config.cursorStyle);
|
|
267
|
+
this._setCursorStyleInactive(config.cursorStyleInactive);
|
|
250
268
|
this._setCursorWidth(config.cursorWidth);
|
|
251
269
|
this.raw.options.scrollback = config.scrollback;
|
|
252
270
|
this.raw.options.drawBoldTextInBrightColors = config.drawBoldTextInBrightColors;
|
|
@@ -261,7 +279,8 @@ let XtermTerminal = class XtermTerminal extends DisposableStore {
|
|
|
261
279
|
this.raw.options.rightClickSelectsWord = config.rightClickBehavior === 'selectWord';
|
|
262
280
|
this.raw.options.wordSeparator = config.wordSeparators;
|
|
263
281
|
this.raw.options.customGlyphs = config.customGlyphs;
|
|
264
|
-
this.raw.options.
|
|
282
|
+
this.raw.options.ignoreBracketedPasteMode = config.ignoreBracketedPasteMode;
|
|
283
|
+
this._updateSmoothScrolling();
|
|
265
284
|
if (this._attached?.options.enableGpu) {
|
|
266
285
|
if (this._shouldLoadWebgl()) {
|
|
267
286
|
this._enableWebglRenderer();
|
|
@@ -277,11 +296,14 @@ let XtermTerminal = class XtermTerminal extends DisposableStore {
|
|
|
277
296
|
}
|
|
278
297
|
}
|
|
279
298
|
}
|
|
299
|
+
_updateSmoothScrolling() {
|
|
300
|
+
this.raw.options.smoothScrollDuration = this._configHelper.config.smoothScrolling && this._isPhysicalMouseWheel ? 125 : 0;
|
|
301
|
+
}
|
|
280
302
|
_shouldLoadWebgl() {
|
|
281
|
-
return !isSafari && (this._configHelper.config.gpuAcceleration === 'auto' &&
|
|
303
|
+
return !isSafari && (this._configHelper.config.gpuAcceleration === 'auto' && XtermTerminal_1._suggestedRendererType === undefined) || this._configHelper.config.gpuAcceleration === 'on';
|
|
282
304
|
}
|
|
283
305
|
_shouldLoadCanvas() {
|
|
284
|
-
return (this._configHelper.config.gpuAcceleration === 'auto' && (
|
|
306
|
+
return (this._configHelper.config.gpuAcceleration === 'auto' && (XtermTerminal_1._suggestedRendererType === undefined || XtermTerminal_1._suggestedRendererType === 'canvas')) || this._configHelper.config.gpuAcceleration === 'canvas';
|
|
285
307
|
}
|
|
286
308
|
forceRedraw() {
|
|
287
309
|
this.raw.clearTextureAtlas();
|
|
@@ -406,6 +428,21 @@ let XtermTerminal = class XtermTerminal extends DisposableStore {
|
|
|
406
428
|
clearSelection() {
|
|
407
429
|
this.raw.clearSelection();
|
|
408
430
|
}
|
|
431
|
+
selectMarkedRange(fromMarkerId, toMarkerId, scrollIntoView = false) {
|
|
432
|
+
const detectionCapability = this.shellIntegration.capabilities.get(4 );
|
|
433
|
+
if (!detectionCapability) {
|
|
434
|
+
return;
|
|
435
|
+
}
|
|
436
|
+
const start = detectionCapability.getMark(fromMarkerId);
|
|
437
|
+
const end = detectionCapability.getMark(toMarkerId);
|
|
438
|
+
if (start === undefined || end === undefined) {
|
|
439
|
+
return;
|
|
440
|
+
}
|
|
441
|
+
this.raw.selectLines(start.line, end.line);
|
|
442
|
+
if (scrollIntoView) {
|
|
443
|
+
this.raw.scrollToLine(start.line);
|
|
444
|
+
}
|
|
445
|
+
}
|
|
409
446
|
selectAll() {
|
|
410
447
|
this.raw.focus();
|
|
411
448
|
this.raw.selectAll();
|
|
@@ -446,8 +483,15 @@ let XtermTerminal = class XtermTerminal extends DisposableStore {
|
|
|
446
483
|
}
|
|
447
484
|
}
|
|
448
485
|
_setCursorStyle(style) {
|
|
449
|
-
|
|
450
|
-
|
|
486
|
+
const mapped = vscodeToXtermCursorStyle(style);
|
|
487
|
+
if (this.raw.options.cursorStyle !== mapped) {
|
|
488
|
+
this.raw.options.cursorStyle = mapped;
|
|
489
|
+
}
|
|
490
|
+
}
|
|
491
|
+
_setCursorStyleInactive(style) {
|
|
492
|
+
const mapped = vscodeToXtermCursorStyle(style);
|
|
493
|
+
if (this.raw.options.cursorInactiveStyle !== mapped) {
|
|
494
|
+
this.raw.options.cursorInactiveStyle = mapped;
|
|
451
495
|
}
|
|
452
496
|
}
|
|
453
497
|
_setCursorWidth(width) {
|
|
@@ -459,6 +503,19 @@ let XtermTerminal = class XtermTerminal extends DisposableStore {
|
|
|
459
503
|
if (!this.raw.element || this._webglAddon) {
|
|
460
504
|
return;
|
|
461
505
|
}
|
|
506
|
+
if (!XtermTerminal_1._checkedWebglCompatible) {
|
|
507
|
+
XtermTerminal_1._checkedWebglCompatible = true;
|
|
508
|
+
const checkCanvas = document.createElement('canvas');
|
|
509
|
+
const checkGl = checkCanvas.getContext('webgl2');
|
|
510
|
+
const debugInfo = checkGl?.getExtension('WEBGL_debug_renderer_info');
|
|
511
|
+
if (checkGl && debugInfo) {
|
|
512
|
+
const renderer = checkGl.getParameter(debugInfo.UNMASKED_RENDERER_WEBGL);
|
|
513
|
+
if (renderer.startsWith('ANGLE (Google, Vulkan 1.3.0 (SwiftShader Device (Subzero)')) {
|
|
514
|
+
this._disableWebglForThisSession();
|
|
515
|
+
return;
|
|
516
|
+
}
|
|
517
|
+
}
|
|
518
|
+
}
|
|
462
519
|
const Addon = await this._getWebglAddonConstructor();
|
|
463
520
|
this._webglAddon = ( new Addon());
|
|
464
521
|
this._disposeOfCanvasRenderer();
|
|
@@ -477,11 +534,14 @@ let XtermTerminal = class XtermTerminal extends DisposableStore {
|
|
|
477
534
|
if (!neverMeasureRenderTime && this._configHelper.config.gpuAcceleration !== 'off') {
|
|
478
535
|
this._measureRenderTime();
|
|
479
536
|
}
|
|
480
|
-
|
|
481
|
-
this._disposeOfWebglRenderer();
|
|
482
|
-
this._enableCanvasRenderer();
|
|
537
|
+
this._disableWebglForThisSession();
|
|
483
538
|
}
|
|
484
539
|
}
|
|
540
|
+
_disableWebglForThisSession() {
|
|
541
|
+
XtermTerminal_1._suggestedRendererType = 'canvas';
|
|
542
|
+
this._disposeOfWebglRenderer();
|
|
543
|
+
this._enableCanvasRenderer();
|
|
544
|
+
}
|
|
485
545
|
async _enableCanvasRenderer() {
|
|
486
546
|
if (!this.raw.element || this._canvasAddon) {
|
|
487
547
|
return;
|
|
@@ -499,7 +559,7 @@ let XtermTerminal = class XtermTerminal extends DisposableStore {
|
|
|
499
559
|
if (!neverMeasureRenderTime && this._configHelper.config.gpuAcceleration !== 'off') {
|
|
500
560
|
this._measureRenderTime();
|
|
501
561
|
}
|
|
502
|
-
|
|
562
|
+
XtermTerminal_1._suggestedRendererType = 'dom';
|
|
503
563
|
this._disposeOfCanvasRenderer();
|
|
504
564
|
}
|
|
505
565
|
this._refreshImageAddon();
|
|
@@ -587,7 +647,7 @@ let XtermTerminal = class XtermTerminal extends DisposableStore {
|
|
|
587
647
|
const medianTime = frameTimes.sort((a, b) => a - b)[Math.floor(frameTimes.length / 2)];
|
|
588
648
|
if (medianTime > 50 ) {
|
|
589
649
|
if (this._configHelper.config.gpuAcceleration === 'auto') {
|
|
590
|
-
|
|
650
|
+
XtermTerminal_1._suggestedRendererType = 'dom';
|
|
591
651
|
this.updateConfig();
|
|
592
652
|
}
|
|
593
653
|
else {
|
|
@@ -690,7 +750,7 @@ let XtermTerminal = class XtermTerminal extends DisposableStore {
|
|
|
690
750
|
XtermTerminal.__decorator = ( __decorate([
|
|
691
751
|
debounce(100)
|
|
692
752
|
], XtermTerminal.prototype, "_refreshImageAddon", null));
|
|
693
|
-
XtermTerminal = ( __decorate([
|
|
753
|
+
XtermTerminal = XtermTerminal_1 = ( __decorate([
|
|
694
754
|
( __param(9, IConfigurationService)),
|
|
695
755
|
( __param(10, IInstantiationService)),
|
|
696
756
|
( __param(11, ITerminalLogService)),
|
|
@@ -716,7 +776,7 @@ function getXtermScaledDimensions(font, width, height) {
|
|
|
716
776
|
}
|
|
717
777
|
function vscodeToXtermLogLevel(logLevel) {
|
|
718
778
|
switch (logLevel) {
|
|
719
|
-
case LogLevel.Trace:
|
|
779
|
+
case LogLevel.Trace: return 'trace';
|
|
720
780
|
case LogLevel.Debug: return 'debug';
|
|
721
781
|
case LogLevel.Info: return 'info';
|
|
722
782
|
case LogLevel.Warning: return 'warn';
|
|
@@ -724,4 +784,10 @@ function vscodeToXtermLogLevel(logLevel) {
|
|
|
724
784
|
default: return 'off';
|
|
725
785
|
}
|
|
726
786
|
}
|
|
787
|
+
function vscodeToXtermCursorStyle(style) {
|
|
788
|
+
if (style === 'line') {
|
|
789
|
+
return 'bar';
|
|
790
|
+
}
|
|
791
|
+
return style;
|
|
792
|
+
}
|
|
727
793
|
export { XtermTerminal, getXtermScaledDimensions };
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { EnvironmentVariableScope } from '../../../../platform/terminal/common/environmentVariable.js';
|
|
2
|
+
import { ITerminalStatus } from './terminal.js';
|
|
3
|
+
|
|
4
|
+
interface IEnvironmentVariableInfo {
|
|
5
|
+
readonly requiresAction: boolean;
|
|
6
|
+
getStatus(scope: EnvironmentVariableScope | undefined): ITerminalStatus;
|
|
7
|
+
}
|
|
8
|
+
|
|
9
|
+
export type { IEnvironmentVariableInfo };
|
|
@@ -5,13 +5,15 @@ import { IStorageService } from 'monaco-editor/esm/vs/platform/storage/common/st
|
|
|
5
5
|
import { IExtensionService } from '../../../services/extensions/common/extensions.js';
|
|
6
6
|
import { MergedEnvironmentVariableCollection } from '../../../../platform/terminal/common/environmentVariableCollection.js';
|
|
7
7
|
import { deserializeEnvironmentVariableCollection, deserializeEnvironmentDescriptionMap, serializeEnvironmentVariableCollection, serializeEnvironmentDescriptionMap } from '../../../../platform/terminal/common/environmentVariableShared.js';
|
|
8
|
-
|
|
8
|
+
import { Disposable } from 'monaco-editor/esm/vs/base/common/lifecycle.js';
|
|
9
|
+
let EnvironmentVariableService = class EnvironmentVariableService extends Disposable {
|
|
9
10
|
get onDidChangeCollections() { return this._onDidChangeCollections.event; }
|
|
10
11
|
constructor(_extensionService, _storageService) {
|
|
12
|
+
super();
|
|
11
13
|
this._extensionService = _extensionService;
|
|
12
14
|
this._storageService = _storageService;
|
|
13
15
|
this.collections = ( new Map());
|
|
14
|
-
this._onDidChangeCollections = ( new Emitter());
|
|
16
|
+
this._onDidChangeCollections = this._register(( new Emitter()));
|
|
15
17
|
this._storageService.remove("terminal.integrated.environmentVariableCollections" , 1 );
|
|
16
18
|
const serializedPersistedCollections = this._storageService.get("terminal.integrated.environmentVariableCollectionsV2" , 1 );
|
|
17
19
|
if (serializedPersistedCollections) {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { __decorate, __param } from '../../../../../../../external/tslib/tslib.es6.js';
|
|
2
2
|
import { env } from 'monaco-editor/esm/vs/base/common/process.js';
|
|
3
|
-
import { Disposable } from 'monaco-editor/esm/vs/base/common/lifecycle.js';
|
|
3
|
+
import { Disposable, DisposableStore } from 'monaco-editor/esm/vs/base/common/lifecycle.js';
|
|
4
4
|
import { LRUCache } from 'monaco-editor/esm/vs/base/common/map.js';
|
|
5
5
|
import { IConfigurationService } from 'monaco-editor/esm/vs/platform/configuration/common/configuration.js';
|
|
6
6
|
import { IFileService, FileOperationError } from 'monaco-editor/esm/vs/platform/files/common/files.js';
|
|
@@ -75,16 +75,16 @@ let TerminalPersistedHistory = class TerminalPersistedHistory extends Disposable
|
|
|
75
75
|
this._isReady = false;
|
|
76
76
|
this._isStale = true;
|
|
77
77
|
this._entries = ( new LRUCache(this._getHistoryLimit()));
|
|
78
|
-
this._configurationService.onDidChangeConfiguration(e => {
|
|
78
|
+
this._register(this._configurationService.onDidChangeConfiguration(e => {
|
|
79
79
|
if (e.affectsConfiguration("terminal.integrated.shellIntegration.history" )) {
|
|
80
80
|
this._entries.limit = this._getHistoryLimit();
|
|
81
81
|
}
|
|
82
|
-
});
|
|
83
|
-
this._storageService.onDidChangeValue(
|
|
84
|
-
if (
|
|
82
|
+
}));
|
|
83
|
+
this._register(this._storageService.onDidChangeValue(-1 , this._getTimestampStorageKey(), this._register(( new DisposableStore())))(() => {
|
|
84
|
+
if (!this._isStale) {
|
|
85
85
|
this._isStale = this._storageService.getNumber(this._getTimestampStorageKey(), -1 , 0) !== this._timestamp;
|
|
86
86
|
}
|
|
87
|
-
});
|
|
87
|
+
}));
|
|
88
88
|
}
|
|
89
89
|
add(key, value) {
|
|
90
90
|
this._ensureUpToDate();
|
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
import { __decorate, __param } from '../../../../../../../../external/tslib/tslib.es6.js';
|
|
2
|
-
import { withNullAsUndefined } from 'monaco-editor/esm/vs/base/common/types.js';
|
|
3
2
|
import { IWorkbenchConfigurationService } from '../../../../services/configuration/common/configuration.js';
|
|
4
3
|
import { IRemoteAuthorityResolverService } from '../../../../../platform/remote/common/remoteAuthorityResolver.js';
|
|
5
4
|
import { IWorkspaceContextService } from 'monaco-editor/esm/vs/platform/workspace/common/workspace.js';
|
|
@@ -70,7 +69,7 @@ let RemoteTerminalChannelClient = class RemoteTerminalChannelClient {
|
|
|
70
69
|
async createProcess(shellLaunchConfig, configuration, activeWorkspaceRootUri, options, shouldPersistTerminal, cols, rows, unicodeVersion) {
|
|
71
70
|
await this._configurationService.whenRemoteConfigurationLoaded();
|
|
72
71
|
const resolvedVariables = Object.create(null);
|
|
73
|
-
const lastActiveWorkspace = activeWorkspaceRootUri ?
|
|
72
|
+
const lastActiveWorkspace = activeWorkspaceRootUri ? this._workspaceContextService.getWorkspaceFolder(activeWorkspaceRootUri) ?? undefined : undefined;
|
|
74
73
|
let allResolvedVariables = undefined;
|
|
75
74
|
try {
|
|
76
75
|
allResolvedVariables = (await this._resolverService.resolveAnyMap(lastActiveWorkspace, {
|
|
@@ -118,7 +117,7 @@ let RemoteTerminalChannelClient = class RemoteTerminalChannelClient {
|
|
|
118
117
|
unicodeVersion,
|
|
119
118
|
resolverEnv
|
|
120
119
|
};
|
|
121
|
-
return await this._channel.call(
|
|
120
|
+
return await this._channel.call("$createProcess" , args);
|
|
122
121
|
}
|
|
123
122
|
requestDetachInstance(workspaceId, instanceId) {
|
|
124
123
|
return this._channel.call("$requestDetachInstance" , [workspaceId, instanceId]);
|
|
@@ -210,7 +209,7 @@ let RemoteTerminalChannelClient = class RemoteTerminalChannelClient {
|
|
|
210
209
|
workspaceId: workspace.id,
|
|
211
210
|
tabs: layout ? layout.tabs : []
|
|
212
211
|
};
|
|
213
|
-
return this._channel.call(
|
|
212
|
+
return this._channel.call("$setTerminalLayoutInfo" , args);
|
|
214
213
|
}
|
|
215
214
|
updateTitle(id, title, titleSource) {
|
|
216
215
|
return this._channel.call("$updateTitle" , [id, title, titleSource]);
|
|
@@ -229,10 +228,10 @@ let RemoteTerminalChannelClient = class RemoteTerminalChannelClient {
|
|
|
229
228
|
const args = {
|
|
230
229
|
workspaceId: workspace.id,
|
|
231
230
|
};
|
|
232
|
-
return this._channel.call(
|
|
231
|
+
return this._channel.call("$getTerminalLayoutInfo" , args);
|
|
233
232
|
}
|
|
234
|
-
reviveTerminalProcesses(state, dateTimeFormatLocate) {
|
|
235
|
-
return this._channel.call("$reviveTerminalProcesses" , [state, dateTimeFormatLocate]);
|
|
233
|
+
reviveTerminalProcesses(workspaceId, state, dateTimeFormatLocate) {
|
|
234
|
+
return this._channel.call("$reviveTerminalProcesses" , [workspaceId, state, dateTimeFormatLocate]);
|
|
236
235
|
}
|
|
237
236
|
getRevivedPtyNewId(id) {
|
|
238
237
|
return this._channel.call("$getRevivedPtyNewId" , [id]);
|
|
@@ -1,9 +1,13 @@
|
|
|
1
1
|
import { Event } from '../../../../base/common/event.js';
|
|
2
2
|
import { IDisposable } from '../../../../base/common/lifecycle.js';
|
|
3
|
+
import { OperatingSystem } from '../../../../base/common/platform.js';
|
|
3
4
|
import Severity from '../../../../base/common/severity.js';
|
|
4
5
|
import { ThemeIcon } from '../../../../base/common/themables.js';
|
|
5
6
|
import { URI } from '../../../../base/common/uri.js';
|
|
6
|
-
import {
|
|
7
|
+
import { ITerminalCapabilityStore } from '../../../../platform/terminal/common/capabilities/capabilities.js';
|
|
8
|
+
import { IMergedEnvironmentVariableCollection } from '../../../../platform/terminal/common/environmentVariable.js';
|
|
9
|
+
import { IShellLaunchConfig, TitleEventSource, IFixedTerminalDimensions, IProcessProperty, IProcessReadyWindowsPty, ITerminalLaunchError, TerminalLocationString, ITerminalBackend, ITerminalProfileObject } from '../../../../platform/terminal/common/terminal.js';
|
|
10
|
+
import { IEnvironmentVariableInfo } from './environmentVariable.js';
|
|
7
11
|
|
|
8
12
|
type FontWeight = 'normal' | 'bold' | number;
|
|
9
13
|
interface ITerminalProfiles {
|
|
@@ -49,6 +53,7 @@ interface ITerminalConfiguration {
|
|
|
49
53
|
rightClickBehavior: 'default' | 'copyPaste' | 'paste' | 'selectWord' | 'nothing';
|
|
50
54
|
cursorBlinking: boolean;
|
|
51
55
|
cursorStyle: 'block' | 'underline' | 'line';
|
|
56
|
+
cursorStyleInactive: 'outline' | 'block' | 'underline' | 'line' | 'none';
|
|
52
57
|
cursorWidth: number;
|
|
53
58
|
drawBoldTextInBrightColors: boolean;
|
|
54
59
|
fastScrollSensitivity: number;
|
|
@@ -119,6 +124,7 @@ interface ITerminalConfiguration {
|
|
|
119
124
|
};
|
|
120
125
|
enableImages: boolean;
|
|
121
126
|
smoothScrolling: boolean;
|
|
127
|
+
ignoreBracketedPasteMode: boolean;
|
|
122
128
|
}
|
|
123
129
|
interface ITerminalConfigHelper {
|
|
124
130
|
config: ITerminalConfiguration;
|
|
@@ -156,6 +162,33 @@ interface IRemoteTerminalAttachTarget {
|
|
|
156
162
|
fixedDimensions: IFixedTerminalDimensions | undefined;
|
|
157
163
|
shellIntegrationNonce: string;
|
|
158
164
|
}
|
|
165
|
+
/** Read-only process information that can apply to detached terminals. */
|
|
166
|
+
interface ITerminalProcessInfo {
|
|
167
|
+
readonly processState: ProcessState;
|
|
168
|
+
readonly ptyProcessReady: Promise<void>;
|
|
169
|
+
readonly shellProcessId: number | undefined;
|
|
170
|
+
readonly remoteAuthority: string | undefined;
|
|
171
|
+
readonly os: OperatingSystem | undefined;
|
|
172
|
+
readonly userHome: string | undefined;
|
|
173
|
+
readonly initialCwd: string;
|
|
174
|
+
readonly environmentVariableInfo: IEnvironmentVariableInfo | undefined;
|
|
175
|
+
readonly persistentProcessId: number | undefined;
|
|
176
|
+
readonly shouldPersist: boolean;
|
|
177
|
+
readonly hasWrittenData: boolean;
|
|
178
|
+
readonly hasChildProcesses: boolean;
|
|
179
|
+
readonly backend: ITerminalBackend | undefined;
|
|
180
|
+
readonly capabilities: ITerminalCapabilityStore;
|
|
181
|
+
readonly shellIntegrationNonce: string;
|
|
182
|
+
readonly extEnvironmentVariableCollection: IMergedEnvironmentVariableCollection | undefined;
|
|
183
|
+
}
|
|
184
|
+
declare const enum ProcessState {
|
|
185
|
+
Uninitialized = 1,
|
|
186
|
+
Launching = 2,
|
|
187
|
+
Running = 3,
|
|
188
|
+
KilledDuringLaunch = 4,
|
|
189
|
+
KilledByUser = 5,
|
|
190
|
+
KilledByProcess = 6
|
|
191
|
+
}
|
|
159
192
|
interface ITerminalProcessExtHostProxy extends IDisposable {
|
|
160
193
|
readonly instanceId: number;
|
|
161
194
|
emitData(data: string): void;
|
|
@@ -207,4 +240,4 @@ interface ITerminalStatusHoverAction {
|
|
|
207
240
|
run: () => void;
|
|
208
241
|
}
|
|
209
242
|
|
|
210
|
-
export { ConfirmOnExit, ConfirmOnKill, FontWeight, IRemoteTerminalAttachTarget, IStartExtensionTerminalRequest, ITerminalConfigHelper, ITerminalConfiguration, ITerminalFont, ITerminalProcessExtHostProxy, ITerminalProfiles, ITerminalStatus, ITerminalStatusHoverAction };
|
|
243
|
+
export { type ConfirmOnExit, type ConfirmOnKill, type FontWeight, type IRemoteTerminalAttachTarget, type IStartExtensionTerminalRequest, type ITerminalConfigHelper, type ITerminalConfiguration, type ITerminalFont, type ITerminalProcessExtHostProxy, type ITerminalProcessInfo, type ITerminalProfiles, type ITerminalStatus, type ITerminalStatusHoverAction, ProcessState };
|
|
@@ -2,11 +2,6 @@ import * as nls from 'monaco-editor/esm/vs/nls.js';
|
|
|
2
2
|
import { createDecorator } from 'monaco-editor/esm/vs/platform/instantiation/common/instantiation.js';
|
|
3
3
|
const TERMINAL_VIEW_ID = 'terminal';
|
|
4
4
|
const TERMINAL_CREATION_COMMANDS = ['workbench.action.terminal.toggleTerminal', 'workbench.action.terminal.new', 'workbench.action.togglePanel', 'workbench.action.terminal.focus'];
|
|
5
|
-
const TerminalCursorStyle = {
|
|
6
|
-
BLOCK: 'block',
|
|
7
|
-
LINE: 'line',
|
|
8
|
-
UNDERLINE: 'underline'
|
|
9
|
-
};
|
|
10
5
|
const TERMINAL_CONFIG_SECTION = 'terminal.integrated';
|
|
11
6
|
const DEFAULT_LETTER_SPACING = 0;
|
|
12
7
|
const MINIMUM_LETTER_SPACING = -5;
|
|
@@ -84,7 +79,8 @@ const DEFAULT_COMMANDS_TO_SKIP_SHELL = [
|
|
|
84
79
|
"workbench.action.terminal.acceptSelectedSuggestion" ,
|
|
85
80
|
"workbench.action.terminal.hideSuggestWidget" ,
|
|
86
81
|
"workbench.action.terminal.focusHover" ,
|
|
87
|
-
|
|
82
|
+
"workbench.action.terminal.focusAccessibleBuffer" ,
|
|
83
|
+
"editor.action.accessibilityHelp" ,
|
|
88
84
|
'editor.action.toggleTabFocusMode',
|
|
89
85
|
'notifications.hideList',
|
|
90
86
|
'notifications.hideToasts',
|
|
@@ -240,4 +236,4 @@ const terminalContributionsDescriptor = {
|
|
|
240
236
|
},
|
|
241
237
|
},
|
|
242
238
|
};
|
|
243
|
-
export { DEFAULT_BOLD_FONT_WEIGHT, DEFAULT_COMMANDS_TO_SKIP_SHELL, DEFAULT_FONT_WEIGHT, DEFAULT_LETTER_SPACING, DEFAULT_LINE_HEIGHT, DEFAULT_LOCAL_ECHO_EXCLUDE, ITerminalProfileResolverService, ITerminalProfileService, MAXIMUM_FONT_WEIGHT, MINIMUM_FONT_WEIGHT, MINIMUM_LETTER_SPACING, SUGGESTIONS_FONT_WEIGHT, TERMINAL_CONFIG_SECTION, TERMINAL_CREATION_COMMANDS, TERMINAL_VIEW_ID,
|
|
239
|
+
export { DEFAULT_BOLD_FONT_WEIGHT, DEFAULT_COMMANDS_TO_SKIP_SHELL, DEFAULT_FONT_WEIGHT, DEFAULT_LETTER_SPACING, DEFAULT_LINE_HEIGHT, DEFAULT_LOCAL_ECHO_EXCLUDE, ITerminalProfileResolverService, ITerminalProfileService, MAXIMUM_FONT_WEIGHT, MINIMUM_FONT_WEIGHT, MINIMUM_LETTER_SPACING, SUGGESTIONS_FONT_WEIGHT, TERMINAL_CONFIG_SECTION, TERMINAL_CREATION_COMMANDS, TERMINAL_VIEW_ID, terminalContributionsDescriptor };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { Extensions } from 'monaco-editor/esm/vs/platform/configuration/common/configurationRegistry.js';
|
|
2
2
|
import { localize } from 'monaco-editor/esm/vs/nls.js';
|
|
3
|
-
import { DEFAULT_LETTER_SPACING, DEFAULT_LINE_HEIGHT, MINIMUM_FONT_WEIGHT, MAXIMUM_FONT_WEIGHT, SUGGESTIONS_FONT_WEIGHT,
|
|
3
|
+
import { DEFAULT_LETTER_SPACING, DEFAULT_LINE_HEIGHT, MINIMUM_FONT_WEIGHT, MAXIMUM_FONT_WEIGHT, SUGGESTIONS_FONT_WEIGHT, DEFAULT_COMMANDS_TO_SKIP_SHELL, DEFAULT_LOCAL_ECHO_EXCLUDE } from './terminal.js';
|
|
4
4
|
import { isMacintosh, isWindows } from 'monaco-editor/esm/vs/base/common/platform.js';
|
|
5
5
|
import { Registry } from 'monaco-editor/esm/vs/platform/registry/common/platform.js';
|
|
6
6
|
import { Codicon } from 'monaco-editor/esm/vs/base/common/codicons.js';
|
|
@@ -401,10 +401,18 @@ const terminalConfiguration = {
|
|
|
401
401
|
["terminal.integrated.cursorStyle" ]: {
|
|
402
402
|
description: ( (localize(
|
|
403
403
|
'terminal.integrated.cursorStyle',
|
|
404
|
-
"Controls the style of terminal cursor."
|
|
404
|
+
"Controls the style of terminal cursor when the terminal is focused."
|
|
405
405
|
))),
|
|
406
|
-
enum: [
|
|
407
|
-
default:
|
|
406
|
+
enum: ['block', 'line', 'underline'],
|
|
407
|
+
default: 'block'
|
|
408
|
+
},
|
|
409
|
+
["terminal.integrated.cursorStyleInactive" ]: {
|
|
410
|
+
description: ( (localize(
|
|
411
|
+
'terminal.integrated.cursorStyleInactive',
|
|
412
|
+
"Controls the style of terminal cursor when the terminal is not focused."
|
|
413
|
+
))),
|
|
414
|
+
enum: ['outline', 'block', 'line', 'underline', 'none'],
|
|
415
|
+
default: 'outline'
|
|
408
416
|
},
|
|
409
417
|
["terminal.integrated.cursorWidth" ]: {
|
|
410
418
|
markdownDescription: ( (localize(
|
|
@@ -803,16 +811,13 @@ const terminalConfiguration = {
|
|
|
803
811
|
"Terminal style of locally echoed text; either a font style or an RGB color."
|
|
804
812
|
))),
|
|
805
813
|
default: 'dim',
|
|
806
|
-
|
|
814
|
+
anyOf: [
|
|
807
815
|
{
|
|
808
|
-
|
|
809
|
-
default: 'dim',
|
|
810
|
-
enum: ['bold', 'dim', 'italic', 'underlined', 'inverted'],
|
|
816
|
+
enum: ['bold', 'dim', 'italic', 'underlined', 'inverted', '#ff0000'],
|
|
811
817
|
},
|
|
812
818
|
{
|
|
813
819
|
type: 'string',
|
|
814
820
|
format: 'color-hex',
|
|
815
|
-
default: '#ff0000',
|
|
816
821
|
}
|
|
817
822
|
]
|
|
818
823
|
},
|
|
@@ -847,6 +852,26 @@ const terminalConfiguration = {
|
|
|
847
852
|
],
|
|
848
853
|
default: 'onExit'
|
|
849
854
|
},
|
|
855
|
+
["terminal.integrated.hideOnStartup" ]: {
|
|
856
|
+
description: ( (localize(
|
|
857
|
+
'terminal.integrated.hideOnStartup',
|
|
858
|
+
"Whether to hide the terminal view on startup, avoiding creating a terminal when there are no persistent sessions."
|
|
859
|
+
))),
|
|
860
|
+
type: 'string',
|
|
861
|
+
enum: ['never', 'whenEmpty', 'always'],
|
|
862
|
+
markdownEnumDescriptions: [
|
|
863
|
+
( (localize('hideOnStartup.never', "Never hide the terminal view on startup."))),
|
|
864
|
+
( (localize(
|
|
865
|
+
'hideOnStartup.whenEmpty',
|
|
866
|
+
"Only hide the terminal when there are no persistent sessions restored."
|
|
867
|
+
))),
|
|
868
|
+
( (localize(
|
|
869
|
+
'hideOnStartup.always',
|
|
870
|
+
"Always hide the terminal, even when there are persistent sessions restored."
|
|
871
|
+
)))
|
|
872
|
+
],
|
|
873
|
+
default: 'never'
|
|
874
|
+
},
|
|
850
875
|
["terminal.integrated.customGlyphs" ]: {
|
|
851
876
|
description: ( (localize(
|
|
852
877
|
'terminal.integrated.customGlyphs',
|
|
@@ -945,6 +970,16 @@ const terminalConfiguration = {
|
|
|
945
970
|
type: 'boolean',
|
|
946
971
|
default: false
|
|
947
972
|
},
|
|
973
|
+
["terminal.integrated.ignoreBracketedPasteMode" ]: {
|
|
974
|
+
markdownDescription: ( (localize(
|
|
975
|
+
'terminal.integrated.ignoreBracketedPasteMode',
|
|
976
|
+
"Controls whether the terminal will ignore bracketed paste mode even if the terminal was put into the mode, omitting the {0} and {1} sequences when pasting. This is useful when the shell is not respecting the mode which can happen in sub-shells for example.",
|
|
977
|
+
'`\\x1b[200~`',
|
|
978
|
+
'`\\x1b[201~`'
|
|
979
|
+
))),
|
|
980
|
+
type: 'boolean',
|
|
981
|
+
default: false
|
|
982
|
+
},
|
|
948
983
|
["terminal.integrated.enableImages" ]: {
|
|
949
984
|
restricted: true,
|
|
950
985
|
markdownDescription: ( (localize(
|
|
@@ -953,8 +988,25 @@ const terminalConfiguration = {
|
|
|
953
988
|
`\`#${"terminal.integrated.gpuAcceleration" }#\``
|
|
954
989
|
))),
|
|
955
990
|
type: 'boolean',
|
|
956
|
-
default:
|
|
991
|
+
default: false
|
|
957
992
|
},
|
|
993
|
+
["terminal.integrated.focusAfterRun" ]: {
|
|
994
|
+
markdownDescription: ( (localize(
|
|
995
|
+
'terminal.integrated.focusAfterRun',
|
|
996
|
+
"Controls whether the terminal, accessible buffer, or neither will be focused after `Terminal: Run Selected Text In Active Terminal` has been run."
|
|
997
|
+
))),
|
|
998
|
+
enum: ['terminal', 'accessible-buffer', 'none'],
|
|
999
|
+
default: 'none',
|
|
1000
|
+
tags: ['accessibility'],
|
|
1001
|
+
markdownEnumDescriptions: [
|
|
1002
|
+
( (localize('terminal.integrated.focusAfterRun.terminal', "Always focus the terminal."))),
|
|
1003
|
+
( (localize(
|
|
1004
|
+
'terminal.integrated.focusAfterRun.accessible-buffer',
|
|
1005
|
+
"Always focus the accessible buffer."
|
|
1006
|
+
))),
|
|
1007
|
+
( (localize('terminal.integrated.focusAfterRun.none', "Do nothing."))),
|
|
1008
|
+
]
|
|
1009
|
+
}
|
|
958
1010
|
}
|
|
959
1011
|
};
|
|
960
1012
|
function registerTerminalConfiguration() {
|
|
@@ -24,6 +24,14 @@ var TerminalContextKeys;
|
|
|
24
24
|
"Whether the terminal accessible buffer is focused."
|
|
25
25
|
))
|
|
26
26
|
));
|
|
27
|
+
TerminalContextKeys.accessibleBufferOnLastLine = ( new RawContextKey(
|
|
28
|
+
"terminalAccessibleBufferOnLastLine" ,
|
|
29
|
+
false,
|
|
30
|
+
( localize(
|
|
31
|
+
'terminalAccessibleBufferOnLastLineContextKey',
|
|
32
|
+
"Whether the accessible buffer focus is on the last line."
|
|
33
|
+
))
|
|
34
|
+
));
|
|
27
35
|
TerminalContextKeys.editorFocus = ( new RawContextKey(
|
|
28
36
|
"terminalEditorFocus" ,
|
|
29
37
|
false,
|