@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
|
@@ -3,7 +3,7 @@ import { URI } from 'monaco-editor/esm/vs/base/common/uri.js';
|
|
|
3
3
|
import { sanitizeProcessEnvironment } from '../../../../base/common/processes.js';
|
|
4
4
|
import { isWindows, language } from 'monaco-editor/esm/vs/base/common/platform.js';
|
|
5
5
|
import { escapeNonWindowsPath, sanitizeCwd } from '../../../../platform/terminal/common/terminalEnvironment.js';
|
|
6
|
-
import { isString
|
|
6
|
+
import { isString } from 'monaco-editor/esm/vs/base/common/types.js';
|
|
7
7
|
function mergeEnvironments(parent, other) {
|
|
8
8
|
if (!other) {
|
|
9
9
|
return;
|
|
@@ -262,10 +262,10 @@ async function preparePathForShell(resource, executable, title, shellType, backe
|
|
|
262
262
|
}
|
|
263
263
|
function getWorkspaceForTerminal(cwd, workspaceContextService, historyService) {
|
|
264
264
|
const cwdUri = typeof cwd === 'string' ? ( URI.parse(cwd)) : cwd;
|
|
265
|
-
let workspaceFolder = cwdUri ?
|
|
265
|
+
let workspaceFolder = cwdUri ? workspaceContextService.getWorkspaceFolder(cwdUri) ?? undefined : undefined;
|
|
266
266
|
if (!workspaceFolder) {
|
|
267
267
|
const activeWorkspaceRootUri = historyService.getLastActiveWorkspaceRoot();
|
|
268
|
-
workspaceFolder = activeWorkspaceRootUri ?
|
|
268
|
+
workspaceFolder = activeWorkspaceRootUri ? workspaceContextService.getWorkspaceFolder(activeWorkspaceRootUri) ?? undefined : undefined;
|
|
269
269
|
}
|
|
270
270
|
return workspaceFolder;
|
|
271
271
|
}
|
|
@@ -13,6 +13,13 @@ const terminalStrings = {
|
|
|
13
13
|
value: ( localize('workbench.action.terminal.focus', "Focus Terminal")),
|
|
14
14
|
original: 'Focus Terminal'
|
|
15
15
|
},
|
|
16
|
+
focusAndHideAccessibleBuffer: {
|
|
17
|
+
value: ( localize(
|
|
18
|
+
'workbench.action.terminal.focusAndHideAccessibleBuffer',
|
|
19
|
+
"Focus Terminal and Hide Accessible Buffer"
|
|
20
|
+
)),
|
|
21
|
+
original: 'Focus Terminal and Hide Accessible Buffer'
|
|
22
|
+
},
|
|
16
23
|
kill: {
|
|
17
24
|
value: ( localize('killTerminal', "Kill Terminal")),
|
|
18
25
|
original: 'Kill Terminal',
|
|
@@ -2,26 +2,60 @@ import { __decorate, __param } from '../../../../../../../../external/tslib/tsli
|
|
|
2
2
|
import { DisposableStore, Disposable } from 'monaco-editor/esm/vs/base/common/lifecycle.js';
|
|
3
3
|
import { localize } from 'monaco-editor/esm/vs/nls.js';
|
|
4
4
|
import { CONTEXT_ACCESSIBILITY_MODE_ENABLED } from 'monaco-editor/esm/vs/platform/accessibility/common/accessibility.js';
|
|
5
|
+
import { IConfigurationService } from 'monaco-editor/esm/vs/platform/configuration/common/configuration.js';
|
|
5
6
|
import { ContextKeyExpr } from 'monaco-editor/esm/vs/platform/contextkey/common/contextkey.js';
|
|
6
7
|
import { IInstantiationService } from 'monaco-editor/esm/vs/platform/instantiation/common/instantiation.js';
|
|
7
8
|
import { terminalTabFocusModeContextKey } from '../../../../../platform/terminal/common/terminal.js';
|
|
8
|
-
import { AccessibilityHelpAction } from '../../../accessibility/browser/accessibilityContribution.js';
|
|
9
9
|
import { IAccessibleViewService } from '../../../accessibility/browser/accessibleView.js';
|
|
10
|
+
import { AccessibilityHelpAction } from '../../../accessibility/browser/accessibleViewActions.js';
|
|
10
11
|
import { ITerminalService } from '../../../terminal/browser/terminal.js';
|
|
11
12
|
import { registerTerminalAction } from '../../../terminal/browser/terminalActions.js';
|
|
12
13
|
import { registerTerminalContribution } from '../../../terminal/browser/terminalExtensions.js';
|
|
13
14
|
import { TerminalContextKeys } from '../../../terminal/common/terminalContextKey.js';
|
|
14
15
|
import { TerminalAccessibleContentProvider } from './terminalAccessibilityHelp.js';
|
|
15
16
|
import { AccessibleBufferWidget } from './terminalAccessibleBuffer.js';
|
|
17
|
+
import { TextAreaSyncAddon } from './textAreaSyncAddon.js';
|
|
18
|
+
var TextAreaSyncContribution_1, AccessibleBufferContribution_1;
|
|
19
|
+
let TextAreaSyncContribution = class TextAreaSyncContribution extends DisposableStore {
|
|
20
|
+
static { TextAreaSyncContribution_1 = this; }
|
|
21
|
+
static { this.ID = 'terminal.textAreaSync'; }
|
|
22
|
+
static get(instance) {
|
|
23
|
+
return instance.getContribution(TextAreaSyncContribution_1.ID);
|
|
24
|
+
}
|
|
25
|
+
constructor(_instance, processManager, widgetManager, _instantiationService) {
|
|
26
|
+
super();
|
|
27
|
+
this._instance = _instance;
|
|
28
|
+
this._instantiationService = _instantiationService;
|
|
29
|
+
}
|
|
30
|
+
xtermReady(xterm) {
|
|
31
|
+
const addon = this._instantiationService.createInstance(TextAreaSyncAddon, this._instance.capabilities);
|
|
32
|
+
xterm.raw.loadAddon(addon);
|
|
33
|
+
addon.activate(xterm.raw);
|
|
34
|
+
}
|
|
35
|
+
};
|
|
36
|
+
TextAreaSyncContribution = TextAreaSyncContribution_1 = ( __decorate([
|
|
37
|
+
( __param(3, IInstantiationService))
|
|
38
|
+
], TextAreaSyncContribution));
|
|
39
|
+
registerTerminalContribution(TextAreaSyncContribution.ID, TextAreaSyncContribution);
|
|
16
40
|
let AccessibleBufferContribution = class AccessibleBufferContribution extends DisposableStore {
|
|
41
|
+
static { AccessibleBufferContribution_1 = this; }
|
|
17
42
|
static { this.ID = 'terminal.accessible-buffer'; }
|
|
18
43
|
static get(instance) {
|
|
19
|
-
return instance.getContribution(
|
|
44
|
+
return instance.getContribution(AccessibleBufferContribution_1.ID);
|
|
20
45
|
}
|
|
21
|
-
constructor(_instance, processManager, widgetManager, _instantiationService) {
|
|
46
|
+
constructor(_instance, processManager, widgetManager, _instantiationService, configurationService) {
|
|
22
47
|
super();
|
|
23
48
|
this._instance = _instance;
|
|
24
49
|
this._instantiationService = _instantiationService;
|
|
50
|
+
this.add(_instance.onDidRunText(() => {
|
|
51
|
+
const focusAfterRun = configurationService.getValue("terminal.integrated.focusAfterRun" );
|
|
52
|
+
if (focusAfterRun === 'terminal') {
|
|
53
|
+
_instance.focus(true);
|
|
54
|
+
}
|
|
55
|
+
else if (focusAfterRun === 'accessible-buffer') {
|
|
56
|
+
this.show();
|
|
57
|
+
}
|
|
58
|
+
}));
|
|
25
59
|
}
|
|
26
60
|
layout(xterm) {
|
|
27
61
|
this._xterm = xterm;
|
|
@@ -41,9 +75,13 @@ let AccessibleBufferContribution = class AccessibleBufferContribution extends Di
|
|
|
41
75
|
navigateToCommand(type) {
|
|
42
76
|
return this._accessibleBufferWidget?.navigateToCommand(type);
|
|
43
77
|
}
|
|
78
|
+
hide() {
|
|
79
|
+
this._accessibleBufferWidget?.hide();
|
|
80
|
+
}
|
|
44
81
|
};
|
|
45
|
-
AccessibleBufferContribution = ( __decorate([
|
|
46
|
-
( __param(3, IInstantiationService))
|
|
82
|
+
AccessibleBufferContribution = AccessibleBufferContribution_1 = ( __decorate([
|
|
83
|
+
( __param(3, IInstantiationService)),
|
|
84
|
+
( __param(4, IConfigurationService))
|
|
47
85
|
], AccessibleBufferContribution));
|
|
48
86
|
registerTerminalContribution(AccessibleBufferContribution.ID, AccessibleBufferContribution);
|
|
49
87
|
class TerminalAccessibilityHelpContribution extends Disposable {
|
|
@@ -60,7 +98,7 @@ class TerminalAccessibilityHelpContribution extends Disposable {
|
|
|
60
98
|
return;
|
|
61
99
|
}
|
|
62
100
|
accessibleViewService.show(instantiationService.createInstance(TerminalAccessibleContentProvider, instance, terminal));
|
|
63
|
-
}, TerminalContextKeys.focus));
|
|
101
|
+
}, ( ContextKeyExpr.or(TerminalContextKeys.focus, TerminalContextKeys.accessibleBufferFocus))));
|
|
64
102
|
}
|
|
65
103
|
}
|
|
66
104
|
registerTerminalContribution(TerminalAccessibilityHelpContribution.ID, TerminalAccessibilityHelpContribution);
|
|
@@ -76,7 +114,8 @@ registerTerminalAction({
|
|
|
76
114
|
)),
|
|
77
115
|
keybinding: [
|
|
78
116
|
{
|
|
79
|
-
primary:
|
|
117
|
+
primary: 512 | 60 ,
|
|
118
|
+
secondary: [2048 | 16 ],
|
|
80
119
|
weight: 200 ,
|
|
81
120
|
when: ( ContextKeyExpr.and(
|
|
82
121
|
CONTEXT_ACCESSIBILITY_MODE_ENABLED,
|
|
@@ -139,8 +178,7 @@ registerTerminalAction({
|
|
|
139
178
|
weight: 200 + 2
|
|
140
179
|
},
|
|
141
180
|
{
|
|
142
|
-
primary:
|
|
143
|
-
mac: { primary: 512 | 18 },
|
|
181
|
+
primary: 512 | 18 ,
|
|
144
182
|
when: ( ContextKeyExpr.and(
|
|
145
183
|
TerminalContextKeys.accessibleBufferFocus,
|
|
146
184
|
CONTEXT_ACCESSIBILITY_MODE_ENABLED
|
|
@@ -174,8 +212,7 @@ registerTerminalAction({
|
|
|
174
212
|
weight: 200 + 2
|
|
175
213
|
},
|
|
176
214
|
{
|
|
177
|
-
primary:
|
|
178
|
-
mac: { primary: 512 | 16 },
|
|
215
|
+
primary: 512 | 16 ,
|
|
179
216
|
when: ( ContextKeyExpr.and(
|
|
180
217
|
TerminalContextKeys.accessibleBufferFocus,
|
|
181
218
|
CONTEXT_ACCESSIBILITY_MODE_ENABLED
|
|
@@ -3,36 +3,52 @@ import { Disposable } from 'monaco-editor/esm/vs/base/common/lifecycle.js';
|
|
|
3
3
|
import { format } from 'monaco-editor/esm/vs/base/common/strings.js';
|
|
4
4
|
import { localize } from 'monaco-editor/esm/vs/nls.js';
|
|
5
5
|
import { IAccessibilityService } from 'monaco-editor/esm/vs/platform/accessibility/common/accessibility.js';
|
|
6
|
+
import { ICommandService } from 'monaco-editor/esm/vs/platform/commands/common/commands.js';
|
|
7
|
+
import { IContextKeyService } from 'monaco-editor/esm/vs/platform/contextkey/common/contextkey.js';
|
|
6
8
|
import { IInstantiationService } from 'monaco-editor/esm/vs/platform/instantiation/common/instantiation.js';
|
|
7
9
|
import { IKeybindingService } from 'monaco-editor/esm/vs/platform/keybinding/common/keybinding.js';
|
|
10
|
+
import { TerminalContextKeys } from '../../../terminal/common/terminalContextKey.js';
|
|
8
11
|
let TerminalAccessibleContentProvider = class TerminalAccessibleContentProvider extends Disposable {
|
|
9
12
|
onClose() {
|
|
10
|
-
this.
|
|
13
|
+
if (this._contextKeyService.getContextKeyValue(TerminalContextKeys.accessibleBufferFocus.key) === true) {
|
|
14
|
+
this._commandService.executeCommand("workbench.action.terminal.focusAccessibleBuffer" );
|
|
15
|
+
}
|
|
16
|
+
else {
|
|
17
|
+
this._instance.focus();
|
|
18
|
+
}
|
|
11
19
|
this.dispose();
|
|
12
20
|
}
|
|
13
|
-
constructor(_instance, _xterm, _instantiationService, _keybindingService, _accessibilityService) {
|
|
21
|
+
constructor(_instance, _xterm, _instantiationService, _keybindingService, _contextKeyService, _commandService, _accessibilityService) {
|
|
14
22
|
super();
|
|
15
23
|
this._instance = _instance;
|
|
16
24
|
this._keybindingService = _keybindingService;
|
|
25
|
+
this._contextKeyService = _contextKeyService;
|
|
26
|
+
this._commandService = _commandService;
|
|
17
27
|
this._accessibilityService = _accessibilityService;
|
|
18
28
|
this._hasShellIntegration = false;
|
|
19
29
|
this.options = {
|
|
20
30
|
type: "help" ,
|
|
21
|
-
ariaLabel: ( localize('terminal-help-label', "terminal accessibility help")),
|
|
22
31
|
readMoreUrl: 'https://code.visualstudio.com/docs/editor/accessibility#_terminal-accessibility'
|
|
23
32
|
};
|
|
24
33
|
this.verbositySettingKey = "accessibility.verbosity.terminal" ;
|
|
25
34
|
this._hasShellIntegration = _xterm.shellIntegration.status === 2 ;
|
|
26
35
|
}
|
|
27
36
|
_descriptionForCommand(commandId, msg, noKbMsg) {
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
37
|
+
if (commandId === "workbench.action.terminal.runRecentCommand" ) {
|
|
38
|
+
const kb = this._keybindingService.lookupKeybindings(commandId);
|
|
39
|
+
const isScreenReaderOptimized = this._accessibilityService.isScreenReaderOptimized();
|
|
40
|
+
if (isScreenReaderOptimized && kb[1]) {
|
|
41
|
+
format(msg, kb[1].getAriaLabel());
|
|
42
|
+
}
|
|
43
|
+
else if (kb[0]) {
|
|
44
|
+
format(msg, kb[0].getAriaLabel());
|
|
45
|
+
}
|
|
46
|
+
else {
|
|
31
47
|
return format(noKbMsg, commandId);
|
|
32
|
-
|
|
33
|
-
return format(msg, kb[0].getAriaLabel());
|
|
48
|
+
}
|
|
34
49
|
}
|
|
35
|
-
|
|
50
|
+
const kb = this._keybindingService.lookupKeybinding(commandId, this._contextKeyService)?.getAriaLabel();
|
|
51
|
+
return !kb ? format(noKbMsg, commandId) : format(msg, kb);
|
|
36
52
|
}
|
|
37
53
|
provideContent() {
|
|
38
54
|
const content = [];
|
|
@@ -50,30 +66,32 @@ let TerminalAccessibleContentProvider = class TerminalAccessibleContentProvider
|
|
|
50
66
|
)));
|
|
51
67
|
}
|
|
52
68
|
if (this._hasShellIntegration) {
|
|
53
|
-
|
|
69
|
+
const shellIntegrationCommandList = [];
|
|
70
|
+
shellIntegrationCommandList.push(( localize(
|
|
54
71
|
'shellIntegration',
|
|
55
72
|
"The terminal has a feature called shell integration that offers an enhanced experience and provides useful commands for screen readers such as:"
|
|
56
73
|
)));
|
|
57
|
-
|
|
74
|
+
shellIntegrationCommandList.push('- ' + this._descriptionForCommand("workbench.action.terminal.accessibleBufferGoToNextCommand" , ( localize('goToNextCommand', 'Go to Next Command ({0})')), ( localize(
|
|
58
75
|
'goToNextCommandNoKb',
|
|
59
76
|
'Go to Next Command is currently not triggerable by a keybinding.'
|
|
60
77
|
))));
|
|
61
|
-
|
|
78
|
+
shellIntegrationCommandList.push('- ' + this._descriptionForCommand("workbench.action.terminal.accessibleBufferGoToPreviousCommand" , ( localize('goToPreviousCommand', 'Go to Previous Command ({0})')), ( localize(
|
|
62
79
|
'goToPreviousCommandNoKb',
|
|
63
80
|
'Go to Previous Command is currently not triggerable by a keybinding.'
|
|
64
81
|
))));
|
|
65
|
-
|
|
82
|
+
shellIntegrationCommandList.push('- ' + this._descriptionForCommand("workbench.action.terminal.navigateAccessibleBuffer" , ( localize('navigateAccessibleBuffer', 'Navigate Accessible Buffer ({0})')), ( localize(
|
|
66
83
|
'navigateAccessibleBufferNoKb',
|
|
67
84
|
'Navigate Accessible Buffer is currently not triggerable by a keybinding.'
|
|
68
85
|
))));
|
|
69
|
-
|
|
86
|
+
shellIntegrationCommandList.push('- ' + this._descriptionForCommand("workbench.action.terminal.runRecentCommand" , ( localize('runRecentCommand', 'Run Recent Command ({0})')), ( localize(
|
|
70
87
|
'runRecentCommandNoKb',
|
|
71
88
|
'Run Recent Command is currently not triggerable by a keybinding.'
|
|
72
89
|
))));
|
|
73
|
-
|
|
90
|
+
shellIntegrationCommandList.push('- ' + this._descriptionForCommand("workbench.action.terminal.goToRecentDirectory" , ( localize('goToRecentDirectory', 'Go to Recent Directory ({0})')), ( localize(
|
|
74
91
|
'goToRecentDirectoryNoKb',
|
|
75
92
|
'Go to Recent Directory is currently not triggerable by a keybinding.'
|
|
76
93
|
))));
|
|
94
|
+
content.push(shellIntegrationCommandList.join('\n'));
|
|
77
95
|
}
|
|
78
96
|
else {
|
|
79
97
|
content.push(this._descriptionForCommand("workbench.action.terminal.runRecentCommand" , ( localize(
|
|
@@ -98,16 +116,23 @@ let TerminalAccessibleContentProvider = class TerminalAccessibleContentProvider
|
|
|
98
116
|
'newWithProfileNoKb',
|
|
99
117
|
'The Create New Terminal (With Profile) command allows for easy terminal creation using a specific profile and is currently not triggerable by a keybinding.'
|
|
100
118
|
))));
|
|
119
|
+
content.push(( localize(
|
|
120
|
+
'focusAfterRun',
|
|
121
|
+
'Configure what gets focused after running selected text in the terminal with `{0}`.',
|
|
122
|
+
"terminal.integrated.focusAfterRun"
|
|
123
|
+
)));
|
|
101
124
|
content.push(( localize(
|
|
102
125
|
'accessibilitySettings',
|
|
103
126
|
'Access accessibility settings such as `terminal.integrated.tabFocusMode` via the Preferences: Open Accessibility Settings command.'
|
|
104
127
|
)));
|
|
105
|
-
return content.join('\n');
|
|
128
|
+
return content.join('\n\n');
|
|
106
129
|
}
|
|
107
130
|
};
|
|
108
131
|
TerminalAccessibleContentProvider = ( __decorate([
|
|
109
132
|
( __param(2, IInstantiationService)),
|
|
110
133
|
( __param(3, IKeybindingService)),
|
|
111
|
-
( __param(4,
|
|
134
|
+
( __param(4, IContextKeyService)),
|
|
135
|
+
( __param(5, ICommandService)),
|
|
136
|
+
( __param(6, IAccessibilityService))
|
|
112
137
|
], TerminalAccessibleContentProvider));
|
|
113
138
|
export { TerminalAccessibleContentProvider };
|
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
import { __decorate, __param } from '../../../../../../../../external/tslib/tslib.es6.js';
|
|
2
2
|
import { Event } from 'monaco-editor/esm/vs/base/common/event.js';
|
|
3
|
-
import { withNullAsUndefined } from 'monaco-editor/esm/vs/base/common/types.js';
|
|
4
3
|
import { IModelService } from 'monaco-editor/esm/vs/editor/common/services/model.js';
|
|
5
4
|
import { localize } from 'monaco-editor/esm/vs/nls.js';
|
|
6
5
|
import { AudioCue, IAudioCueService } from 'monaco-editor/esm/vs/platform/audioCues/browser/audioCueService.js';
|
|
@@ -15,7 +14,7 @@ import { BufferContentTracker } from './bufferContentTracker.js';
|
|
|
15
14
|
import { TerminalAccessibleWidget } from './terminalAccessibleWidget.js';
|
|
16
15
|
let AccessibleBufferWidget = class AccessibleBufferWidget extends TerminalAccessibleWidget {
|
|
17
16
|
constructor(_instance, _xterm, _instantiationService, _modelService, _configurationService, _quickInputService, _audioCueService, _contextKeyService, _logService, _terminalService) {
|
|
18
|
-
super("accessible-buffer" , _instance, _xterm, TerminalContextKeys.accessibleBufferFocus, _instantiationService, _modelService, _configurationService, _contextKeyService, _terminalService);
|
|
17
|
+
super("accessible-buffer" , _instance, _xterm, TerminalContextKeys.accessibleBufferFocus, TerminalContextKeys.accessibleBufferOnLastLine, _instantiationService, _modelService, _configurationService, _contextKeyService, _terminalService);
|
|
19
18
|
this._quickInputService = _quickInputService;
|
|
20
19
|
this._audioCueService = _audioCueService;
|
|
21
20
|
this._logService = _logService;
|
|
@@ -23,15 +22,8 @@ let AccessibleBufferWidget = class AccessibleBufferWidget extends TerminalAccess
|
|
|
23
22
|
this._pendingUpdates = 0;
|
|
24
23
|
this._bufferTracker = _instantiationService.createInstance(BufferContentTracker, _xterm);
|
|
25
24
|
this.element.ariaRoleDescription = ( localize('terminal.integrated.accessibleBuffer', 'Terminal buffer'));
|
|
25
|
+
_instance.onDidRequestFocus(() => this.hide(true));
|
|
26
26
|
this.updateEditor();
|
|
27
|
-
this.add(this.editorWidget.onDidFocusEditorText(async () => {
|
|
28
|
-
if (this.element.classList.contains("active" )) {
|
|
29
|
-
return;
|
|
30
|
-
}
|
|
31
|
-
this.registerListeners();
|
|
32
|
-
await this.updateEditor();
|
|
33
|
-
this.element.classList.add("active" );
|
|
34
|
-
}));
|
|
35
27
|
this.layout();
|
|
36
28
|
}
|
|
37
29
|
navigateToCommand(type) {
|
|
@@ -48,8 +40,14 @@ let AccessibleBufferWidget = class AccessibleBufferWidget extends TerminalAccess
|
|
|
48
40
|
this._resetPosition();
|
|
49
41
|
}
|
|
50
42
|
_getEditorLineForCommand(command) {
|
|
51
|
-
let line
|
|
52
|
-
if (
|
|
43
|
+
let line;
|
|
44
|
+
if ('marker' in command) {
|
|
45
|
+
line = command.marker?.line;
|
|
46
|
+
}
|
|
47
|
+
else if ('commandStartMarker' in command) {
|
|
48
|
+
line = command.commandStartMarker?.line;
|
|
49
|
+
}
|
|
50
|
+
if (line === undefined || line < 0) {
|
|
53
51
|
return;
|
|
54
52
|
}
|
|
55
53
|
line = this._bufferTracker.bufferToEditorLineMapping.get(line);
|
|
@@ -59,7 +57,9 @@ let AccessibleBufferWidget = class AccessibleBufferWidget extends TerminalAccess
|
|
|
59
57
|
return line + 1;
|
|
60
58
|
}
|
|
61
59
|
_getCommandsWithEditorLine() {
|
|
62
|
-
const
|
|
60
|
+
const capability = this._instance.capabilities.get(2 );
|
|
61
|
+
const commands = capability?.commands;
|
|
62
|
+
const currentCommand = capability?.currentCommand;
|
|
63
63
|
if (!commands?.length) {
|
|
64
64
|
return;
|
|
65
65
|
}
|
|
@@ -71,10 +71,16 @@ let AccessibleBufferWidget = class AccessibleBufferWidget extends TerminalAccess
|
|
|
71
71
|
}
|
|
72
72
|
result.push({ command, lineNumber });
|
|
73
73
|
}
|
|
74
|
+
if (currentCommand) {
|
|
75
|
+
const lineNumber = this._getEditorLineForCommand(currentCommand);
|
|
76
|
+
if (!!lineNumber) {
|
|
77
|
+
result.push({ command: currentCommand, lineNumber });
|
|
78
|
+
}
|
|
79
|
+
}
|
|
74
80
|
return result;
|
|
75
81
|
}
|
|
76
82
|
async createQuickPick() {
|
|
77
|
-
this._cursorPosition =
|
|
83
|
+
this._cursorPosition = this.editorWidget.getPosition() ?? undefined;
|
|
78
84
|
const commands = this._getCommandsWithEditorLine();
|
|
79
85
|
if (!commands) {
|
|
80
86
|
return;
|
|
@@ -92,7 +98,7 @@ let AccessibleBufferWidget = class AccessibleBufferWidget extends TerminalAccess
|
|
|
92
98
|
command.command
|
|
93
99
|
)),
|
|
94
100
|
lineNumber,
|
|
95
|
-
exitCode: command.exitCode
|
|
101
|
+
exitCode: 'exitCode' in command ? command.exitCode : undefined
|
|
96
102
|
});
|
|
97
103
|
}
|
|
98
104
|
const quickPick = this._quickInputService.createQuickPick();
|
|
@@ -103,7 +109,7 @@ let AccessibleBufferWidget = class AccessibleBufferWidget extends TerminalAccess
|
|
|
103
109
|
return;
|
|
104
110
|
}
|
|
105
111
|
if (activeItem.exitCode) {
|
|
106
|
-
this._audioCueService.playAudioCue(AudioCue.error, true);
|
|
112
|
+
this._audioCueService.playAudioCue(AudioCue.error, { allowManyInParallel: true, source: 'accessibleBufferWidget' });
|
|
107
113
|
}
|
|
108
114
|
this.editorWidget.revealLine(activeItem.lineNumber, 0);
|
|
109
115
|
});
|
|
@@ -182,7 +188,7 @@ let AccessibleBufferWidget = class AccessibleBufferWidget extends TerminalAccess
|
|
|
182
188
|
const modelChanged = linesBefore !== linesAfter;
|
|
183
189
|
let savedViewState;
|
|
184
190
|
if (dataChanged) {
|
|
185
|
-
savedViewState =
|
|
191
|
+
savedViewState = this.editorWidget.saveViewState() ?? undefined;
|
|
186
192
|
}
|
|
187
193
|
let model = this.editorWidget.getModel();
|
|
188
194
|
const text = this._bufferTracker.lines.join('\n');
|
|
@@ -11,15 +11,15 @@ import { getSimpleEditorOptions } from '../../../codeEditor/browser/simpleEditor
|
|
|
11
11
|
import { ITerminalService } from '../../../terminal/browser/terminal.js';
|
|
12
12
|
import { IContextKeyService } from 'monaco-editor/esm/vs/platform/contextkey/common/contextkey.js';
|
|
13
13
|
import { CodeActionController } from 'monaco-editor/esm/vs/editor/contrib/codeAction/browser/codeActionController.js';
|
|
14
|
+
import { localize } from 'monaco-editor/esm/vs/nls.js';
|
|
14
15
|
let TerminalAccessibleWidget = class TerminalAccessibleWidget extends DisposableStore {
|
|
15
16
|
get element() { return this._element; }
|
|
16
17
|
get editorWidget() { return this._editorWidget; }
|
|
17
|
-
constructor(_className, _instance, _xterm,
|
|
18
|
+
constructor(_className, _instance, _xterm, rawFocusContextKey, rawFocusLastLineContextKey, _instantiationService, _modelService, _configurationService, _contextKeyService, _terminalService) {
|
|
18
19
|
super();
|
|
19
20
|
this._className = _className;
|
|
20
21
|
this._instance = _instance;
|
|
21
22
|
this._xterm = _xterm;
|
|
22
|
-
this._focusContextKey = _focusContextKey;
|
|
23
23
|
this._instantiationService = _instantiationService;
|
|
24
24
|
this._modelService = _modelService;
|
|
25
25
|
this._configurationService = _configurationService;
|
|
@@ -51,17 +51,27 @@ let TerminalAccessibleWidget = class TerminalAccessibleWidget extends Disposable
|
|
|
51
51
|
quickSuggestions: false,
|
|
52
52
|
renderWhitespace: 'none',
|
|
53
53
|
dropIntoEditor: { enabled: true },
|
|
54
|
-
readOnly: true
|
|
54
|
+
readOnly: true,
|
|
55
|
+
ariaLabel: ( localize('terminalAccessibleBuffer', "Terminal Buffer"))
|
|
55
56
|
};
|
|
56
57
|
this._editorWidget = this.add(this._instantiationService.createInstance(CodeEditorWidget, this._editorContainer, editorOptions, codeEditorWidgetOptions));
|
|
57
58
|
this._element.replaceChildren(this._editorContainer);
|
|
58
59
|
this._xtermElement.insertAdjacentElement('beforebegin', this._element);
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
this.
|
|
64
|
-
|
|
60
|
+
this._focusTracker = this.add(dom.trackFocus(this._editorContainer));
|
|
61
|
+
this._focusedContextKey = rawFocusContextKey.bindTo(this._contextKeyService);
|
|
62
|
+
this._focusedLastLineContextKey = rawFocusLastLineContextKey.bindTo(this._contextKeyService);
|
|
63
|
+
this.add(this._focusTracker.onDidFocus(() => {
|
|
64
|
+
this._focusedContextKey?.set(true);
|
|
65
|
+
this._focusedLastLineContextKey?.set(this._editorWidget.getSelection()?.positionLineNumber === this._editorWidget.getModel()?.getLineCount());
|
|
66
|
+
}));
|
|
67
|
+
this.add(this._focusTracker.onDidBlur(() => {
|
|
68
|
+
this._focusedContextKey?.reset();
|
|
69
|
+
this._focusedLastLineContextKey?.reset();
|
|
70
|
+
}));
|
|
71
|
+
this._editorWidget.onDidChangeCursorPosition(() => {
|
|
72
|
+
console.log(this._editorWidget.getSelection()?.positionLineNumber === this._editorWidget.getModel()?.getLineCount());
|
|
73
|
+
this._focusedLastLineContextKey?.set(this._editorWidget.getSelection()?.positionLineNumber === this._editorWidget.getModel()?.getLineCount());
|
|
74
|
+
});
|
|
65
75
|
this.add(Event.runAndSubscribe(this._xterm.raw.onResize, () => this.layout()));
|
|
66
76
|
this.add(this._configurationService.onDidChangeConfiguration(e => {
|
|
67
77
|
if (( e.affectedKeys.has("terminal.integrated.fontFamily" )) || ( e.affectedKeys.has("terminal.integrated.fontSize" )) || ( e.affectedKeys.has("terminal.integrated.lineHeight" )) || ( e.affectedKeys.has("terminal.integrated.letterSpacing" ))) {
|
|
@@ -72,11 +82,7 @@ let TerminalAccessibleWidget = class TerminalAccessibleWidget extends Disposable
|
|
|
72
82
|
this.add(this._editorWidget.onKeyDown((e) => {
|
|
73
83
|
switch (e.keyCode) {
|
|
74
84
|
case 9 :
|
|
75
|
-
this.hide();
|
|
76
|
-
this._xterm.raw.focus();
|
|
77
|
-
break;
|
|
78
|
-
case 2 :
|
|
79
|
-
this.hide();
|
|
85
|
+
this.hide(true);
|
|
80
86
|
break;
|
|
81
87
|
}
|
|
82
88
|
}));
|
|
@@ -84,6 +90,7 @@ let TerminalAccessibleWidget = class TerminalAccessibleWidget extends Disposable
|
|
|
84
90
|
this._terminalService.setActiveInstance(this._instance);
|
|
85
91
|
this._xtermElement.classList.add("hide" );
|
|
86
92
|
}));
|
|
93
|
+
this.add(this._editorWidget.onDidBlurEditorText(async () => this.hide()));
|
|
87
94
|
}
|
|
88
95
|
registerListeners() {
|
|
89
96
|
this._listeners.push(this._instance.onDidRequestFocus(() => this.editorWidget.focus()));
|
|
@@ -109,10 +116,13 @@ let TerminalAccessibleWidget = class TerminalAccessibleWidget extends Disposable
|
|
|
109
116
|
listener.dispose();
|
|
110
117
|
}
|
|
111
118
|
}
|
|
112
|
-
hide() {
|
|
119
|
+
hide(focusXterm) {
|
|
113
120
|
this._disposeListeners();
|
|
114
121
|
this.element.classList.remove("active" );
|
|
115
122
|
this._xtermElement.classList.remove("hide" );
|
|
123
|
+
if (focusXterm) {
|
|
124
|
+
this._xterm.raw.focus();
|
|
125
|
+
}
|
|
116
126
|
}
|
|
117
127
|
async getTextModel(resource) {
|
|
118
128
|
const existing = this._modelService.getModel(resource);
|
|
@@ -123,10 +133,10 @@ let TerminalAccessibleWidget = class TerminalAccessibleWidget extends Disposable
|
|
|
123
133
|
}
|
|
124
134
|
};
|
|
125
135
|
TerminalAccessibleWidget = ( __decorate([
|
|
126
|
-
( __param(
|
|
127
|
-
( __param(
|
|
128
|
-
( __param(
|
|
129
|
-
( __param(
|
|
130
|
-
( __param(
|
|
136
|
+
( __param(5, IInstantiationService)),
|
|
137
|
+
( __param(6, IModelService)),
|
|
138
|
+
( __param(7, IConfigurationService)),
|
|
139
|
+
( __param(8, IContextKeyService)),
|
|
140
|
+
( __param(9, ITerminalService))
|
|
131
141
|
], TerminalAccessibleWidget));
|
|
132
142
|
export { TerminalAccessibleWidget };
|
package/vscode/src/vs/workbench/contrib/terminalContrib/accessibility/browser/textAreaSyncAddon.js
ADDED
|
@@ -0,0 +1,98 @@
|
|
|
1
|
+
import { __decorate, __param } from '../../../../../../../../external/tslib/tslib.es6.js';
|
|
2
|
+
import { Disposable, MutableDisposable, DisposableStore } from 'monaco-editor/esm/vs/base/common/lifecycle.js';
|
|
3
|
+
import { IAccessibilityService } from 'monaco-editor/esm/vs/platform/accessibility/common/accessibility.js';
|
|
4
|
+
import { ITerminalLogService } from '../../../../../platform/terminal/common/terminal.js';
|
|
5
|
+
import { debounce } from 'monaco-editor/esm/vs/base/common/decorators.js';
|
|
6
|
+
import { addDisposableListener } from 'monaco-editor/esm/vs/base/browser/dom.js';
|
|
7
|
+
let TextAreaSyncAddon = class TextAreaSyncAddon extends Disposable {
|
|
8
|
+
activate(terminal) {
|
|
9
|
+
this._terminal = terminal;
|
|
10
|
+
if (this._accessibilityService.isScreenReaderOptimized()) {
|
|
11
|
+
this._registerSyncListeners();
|
|
12
|
+
}
|
|
13
|
+
}
|
|
14
|
+
constructor(_capabilities, _accessibilityService, _logService) {
|
|
15
|
+
super();
|
|
16
|
+
this._capabilities = _capabilities;
|
|
17
|
+
this._accessibilityService = _accessibilityService;
|
|
18
|
+
this._logService = _logService;
|
|
19
|
+
this._listeners = this._register(( new MutableDisposable()));
|
|
20
|
+
this._register(this._accessibilityService.onDidChangeScreenReaderOptimized(() => {
|
|
21
|
+
if (this._accessibilityService.isScreenReaderOptimized()) {
|
|
22
|
+
this._syncTextArea();
|
|
23
|
+
this._registerSyncListeners();
|
|
24
|
+
}
|
|
25
|
+
else {
|
|
26
|
+
this._listeners.clear();
|
|
27
|
+
}
|
|
28
|
+
}));
|
|
29
|
+
}
|
|
30
|
+
_registerSyncListeners() {
|
|
31
|
+
if (this._accessibilityService.isScreenReaderOptimized() && this._terminal?.textarea) {
|
|
32
|
+
this._listeners.value = ( new DisposableStore());
|
|
33
|
+
this._listeners.value.add(this._terminal.onCursorMove(() => this._syncTextArea()));
|
|
34
|
+
this._listeners.value.add(this._terminal.onData(() => this._syncTextArea()));
|
|
35
|
+
this._listeners.value.add(addDisposableListener(this._terminal.textarea, 'focus', () => this._syncTextArea()));
|
|
36
|
+
}
|
|
37
|
+
}
|
|
38
|
+
_syncTextArea() {
|
|
39
|
+
this._logService.debug('TextAreaSyncAddon#syncTextArea');
|
|
40
|
+
const textArea = this._terminal?.textarea;
|
|
41
|
+
if (!textArea) {
|
|
42
|
+
this._logService.debug(`TextAreaSyncAddon#syncTextArea: no textarea`);
|
|
43
|
+
return;
|
|
44
|
+
}
|
|
45
|
+
this._updateCommandAndCursor();
|
|
46
|
+
if (this._currentCommand !== textArea.value) {
|
|
47
|
+
textArea.value = this._currentCommand || '';
|
|
48
|
+
this._logService.debug(`TextAreaSyncAddon#syncTextArea: text changed to "${this._currentCommand}"`);
|
|
49
|
+
}
|
|
50
|
+
else if (!this._currentCommand) {
|
|
51
|
+
textArea.value = '';
|
|
52
|
+
this._logService.debug(`TextAreaSyncAddon#syncTextArea: text cleared`);
|
|
53
|
+
}
|
|
54
|
+
if (this._cursorX !== textArea.selectionStart) {
|
|
55
|
+
textArea.selectionStart = this._cursorX ?? 0;
|
|
56
|
+
textArea.selectionEnd = this._cursorX ?? 0;
|
|
57
|
+
this._logService.debug(`TextAreaSyncAddon#syncTextArea: selection start/end changed to ${this._cursorX}`);
|
|
58
|
+
}
|
|
59
|
+
}
|
|
60
|
+
_updateCommandAndCursor() {
|
|
61
|
+
if (!this._terminal) {
|
|
62
|
+
return;
|
|
63
|
+
}
|
|
64
|
+
const commandCapability = this._capabilities.get(2 );
|
|
65
|
+
const currentCommand = commandCapability?.currentCommand;
|
|
66
|
+
if (!currentCommand) {
|
|
67
|
+
this._logService.debug(`TextAreaSyncAddon#updateCommandAndCursor: no current command`);
|
|
68
|
+
return;
|
|
69
|
+
}
|
|
70
|
+
const buffer = this._terminal.buffer.active;
|
|
71
|
+
const lineNumber = currentCommand.commandStartMarker?.line;
|
|
72
|
+
if (!lineNumber) {
|
|
73
|
+
return;
|
|
74
|
+
}
|
|
75
|
+
const commandLine = buffer.getLine(lineNumber)?.translateToString(true);
|
|
76
|
+
if (!commandLine) {
|
|
77
|
+
this._logService.debug(`TextAreaSyncAddon#updateCommandAndCursor: no line`);
|
|
78
|
+
return;
|
|
79
|
+
}
|
|
80
|
+
if (currentCommand.commandStartX !== undefined) {
|
|
81
|
+
this._currentCommand = commandLine.substring(currentCommand.commandStartX);
|
|
82
|
+
this._cursorX = buffer.cursorX - currentCommand.commandStartX;
|
|
83
|
+
}
|
|
84
|
+
else {
|
|
85
|
+
this._currentCommand = undefined;
|
|
86
|
+
this._cursorX = undefined;
|
|
87
|
+
this._logService.debug(`TextAreaSyncAddon#updateCommandAndCursor: no commandStartX`);
|
|
88
|
+
}
|
|
89
|
+
}
|
|
90
|
+
};
|
|
91
|
+
TextAreaSyncAddon.__decorator = ( __decorate([
|
|
92
|
+
debounce(50)
|
|
93
|
+
], TextAreaSyncAddon.prototype, "_syncTextArea", null));
|
|
94
|
+
TextAreaSyncAddon = ( __decorate([
|
|
95
|
+
( __param(1, IAccessibilityService)),
|
|
96
|
+
( __param(2, ITerminalLogService))
|
|
97
|
+
], TextAreaSyncAddon));
|
|
98
|
+
export { TextAreaSyncAddon };
|
|
@@ -1,3 +1,10 @@
|
|
|
1
1
|
import { createDecorator } from 'monaco-editor/esm/vs/platform/instantiation/common/instantiation.js';
|
|
2
2
|
const ITerminalQuickFixService = ( createDecorator('terminalQuickFixService'));
|
|
3
|
-
|
|
3
|
+
var TerminalQuickFixType;
|
|
4
|
+
( (function(TerminalQuickFixType) {
|
|
5
|
+
TerminalQuickFixType[TerminalQuickFixType["TerminalCommand"] = 0] = "TerminalCommand";
|
|
6
|
+
TerminalQuickFixType[TerminalQuickFixType["Opener"] = 1] = "Opener";
|
|
7
|
+
TerminalQuickFixType[TerminalQuickFixType["Port"] = 2] = "Port";
|
|
8
|
+
TerminalQuickFixType[TerminalQuickFixType["VscodeCommand"] = 3] = "VscodeCommand";
|
|
9
|
+
})(TerminalQuickFixType || (TerminalQuickFixType = {})));
|
|
10
|
+
export { ITerminalQuickFixService, TerminalQuickFixType };
|
package/vscode/src/vs/workbench/contrib/terminalContrib/quickFix/browser/terminalQuickFixService.js
CHANGED
|
@@ -135,6 +135,18 @@ const quickFixExtensionPoint = ( ExtensionsRegistry.registerExtensionPoint({
|
|
|
135
135
|
'The command exited with an exit code of zero.',
|
|
136
136
|
'The command exited with a non-zero exit code.'
|
|
137
137
|
]
|
|
138
|
+
},
|
|
139
|
+
kind: {
|
|
140
|
+
description: ( localize(
|
|
141
|
+
'vscode.extension.contributes.terminalQuickFixes.kind',
|
|
142
|
+
"The kind of the resulting quick fix. This changes how the quick fix is presented. Defaults to {0}.",
|
|
143
|
+
'`"fix"`'
|
|
144
|
+
)),
|
|
145
|
+
enum: ['default', 'explain'],
|
|
146
|
+
enumDescriptions: [
|
|
147
|
+
'A high confidence quick fix.',
|
|
148
|
+
'An explanation of the problem.'
|
|
149
|
+
]
|
|
138
150
|
}
|
|
139
151
|
},
|
|
140
152
|
}
|