@codingame/monaco-vscode-api 2.0.3 → 2.1.0-update-vscode-1.86.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/api.js +15 -12
- package/extensions.d.ts +4 -7
- package/external/@xterm/xterm/typings/xterm.d.ts +22 -0
- package/missing-services.js +62 -6
- package/package.json +8 -8
- package/service-override/tools/editor.js +14 -0
- package/services.d.ts +3 -2
- package/services.js +6 -4
- package/vscode/src/vs/base/browser/browser.js +45 -30
- package/vscode/src/vs/base/browser/canIUse.js +1 -1
- package/vscode/src/vs/base/browser/defaultWorkerFactory.js +12 -5
- package/vscode/src/vs/base/browser/dom.js +104 -14
- package/vscode/src/vs/base/browser/indexedDB.js +3 -3
- package/vscode/src/vs/base/browser/markdownRenderer.js +29 -1
- package/vscode/src/vs/base/browser/mouseEvent.js +17 -3
- package/vscode/src/vs/base/browser/ui/actionbar/actionbar.js +3 -3
- package/vscode/src/vs/base/browser/ui/breadcrumbs/breadcrumbsWidget.css.js +4 -0
- package/vscode/src/vs/base/browser/ui/breadcrumbs/breadcrumbsWidget.d.ts +1 -1
- package/vscode/src/vs/base/browser/ui/breadcrumbs/breadcrumbsWidget.js +287 -0
- package/vscode/src/vs/base/browser/ui/button/button.js +9 -0
- package/vscode/src/vs/base/browser/ui/codicons/codicon/codicon.css.js +1 -1
- package/vscode/src/vs/base/browser/ui/dialog/dialog.js +1 -1
- package/vscode/src/vs/base/browser/ui/iconLabel/iconLabelHover.js +16 -5
- package/vscode/src/vs/base/browser/ui/list/listView.js +31 -11
- package/vscode/src/vs/base/browser/ui/list/listWidget.js +35 -21
- package/vscode/src/vs/base/browser/ui/menu/menu.js +10 -1
- package/vscode/src/vs/base/browser/ui/menu/menubar.js +8 -4
- package/vscode/src/vs/base/browser/ui/scrollbar/scrollableElement.js +6 -5
- package/vscode/src/vs/base/browser/ui/tree/abstractTree.js +469 -95
- package/vscode/src/vs/base/browser/ui/tree/asyncDataTree.js +22 -7
- package/vscode/src/vs/base/browser/ui/tree/indexTreeModel.js +0 -5
- package/vscode/src/vs/base/browser/ui/tree/media/tree.css.js +1 -1
- package/vscode/src/vs/base/browser/ui/tree/objectTree.js +70 -4
- package/vscode/src/vs/base/common/assert.js +6 -1
- package/vscode/src/vs/base/common/async.js +31 -6
- package/vscode/src/vs/base/common/codicons.js +5 -0
- package/vscode/src/vs/base/common/event.d.ts +0 -5
- package/vscode/src/vs/base/common/event.js +0 -15
- package/vscode/src/vs/base/common/filters.d.ts +1 -18
- package/vscode/src/vs/base/common/htmlContent.js +12 -6
- package/vscode/src/vs/base/common/iterator.js +8 -0
- package/vscode/src/vs/base/common/labels.js +2 -1
- package/vscode/src/vs/base/common/map.js +20 -1
- package/vscode/src/vs/base/common/observableInternal/base.d.ts +4 -0
- package/vscode/src/vs/base/common/observableInternal/base.js +16 -8
- package/vscode/src/vs/base/common/observableInternal/derived.js +4 -6
- package/vscode/src/vs/base/common/observableInternal/utils.js +60 -5
- package/vscode/src/vs/base/common/platform.js +20 -20
- package/vscode/src/vs/base/common/prefixTree.js +4 -3
- package/vscode/src/vs/base/common/product.d.ts +5 -2
- package/vscode/src/vs/base/common/strings.js +23 -7
- package/vscode/src/vs/base/common/themables.js +4 -1
- package/vscode/src/vs/base/common/uri.js +11 -1
- package/vscode/src/vs/base/common/worker/simpleWorker.js +1 -1
- package/vscode/src/vs/editor/browser/config/migrateOptions.js +5 -0
- package/vscode/src/vs/editor/browser/controller/mouseHandler.js +1 -0
- package/vscode/src/vs/editor/browser/controller/mouseTarget.js +14 -8
- package/vscode/src/vs/editor/browser/controller/pointerHandler.js +18 -11
- package/vscode/src/vs/editor/browser/controller/textAreaHandler.js +1 -1
- package/vscode/src/vs/editor/browser/controller/textAreaInput.js +3 -3
- package/vscode/src/vs/{workbench/services/hover/browser → editor/browser/services}/hoverService.d.ts +7 -6
- package/vscode/src/vs/editor/browser/services/hoverService.js +195 -0
- package/vscode/src/vs/editor/browser/view.js +29 -39
- package/vscode/src/vs/editor/browser/viewParts/currentLineHighlight/currentLineHighlight.js +41 -19
- package/vscode/src/vs/editor/browser/viewParts/editorScrollbar/editorScrollbar.js +1 -1
- package/vscode/src/vs/editor/browser/viewParts/glyphMargin/glyphMargin.js +30 -23
- package/vscode/src/vs/editor/browser/viewParts/lineNumbers/lineNumbers.js +23 -8
- package/vscode/src/vs/editor/browser/viewParts/lines/viewLines.js +1 -1
- package/vscode/src/vs/editor/browser/viewParts/linesDecorations/linesDecorations.js +8 -1
- package/vscode/src/vs/editor/browser/viewParts/marginDecorations/marginDecorations.js +7 -1
- package/vscode/src/vs/editor/browser/viewParts/minimap/minimap.js +1 -1
- package/vscode/src/vs/editor/browser/viewParts/overlayWidgets/overlayWidgets.js +30 -3
- package/vscode/src/vs/editor/browser/widget/codeEditorWidget.js +39 -15
- package/vscode/src/vs/editor/browser/widget/diffEditor/{accessibleDiffViewer.css.js → components/accessibleDiffViewer.css.js} +1 -1
- package/vscode/src/vs/editor/browser/widget/diffEditor/{accessibleDiffViewer.js → components/accessibleDiffViewer.js} +43 -43
- package/vscode/src/vs/editor/browser/widget/diffEditor/components/diffEditorDecorations.js +89 -0
- package/vscode/src/vs/editor/browser/widget/diffEditor/{diffEditorEditors.js → components/diffEditorEditors.js} +14 -14
- package/vscode/src/vs/editor/browser/widget/diffEditor/{diffEditorSash.js → components/diffEditorSash.js} +5 -5
- package/vscode/src/vs/editor/browser/widget/diffEditor/{lineAlignment.js → components/diffEditorViewZones/diffEditorViewZones.js} +38 -28
- package/vscode/src/vs/editor/browser/widget/diffEditor/{inlineDiffDeletedCodeMargin.js → components/diffEditorViewZones/inlineDiffDeletedCodeMargin.js} +14 -14
- package/vscode/src/vs/editor/browser/widget/diffEditor/{renderLines.js → components/diffEditorViewZones/renderLines.js} +7 -7
- package/vscode/src/vs/editor/browser/widget/diffEditor/diffEditor.contribution.js +29 -38
- package/vscode/src/vs/editor/browser/widget/diffEditor/diffEditorViewModel.js +150 -38
- package/vscode/src/vs/editor/browser/widget/diffEditor/diffEditorWidget.js +17 -16
- package/vscode/src/vs/editor/browser/widget/diffEditor/diffProviderFactoryService.js +104 -6
- package/vscode/src/vs/editor/browser/widget/diffEditor/{hideUnchangedRegionsFeature.js → features/hideUnchangedRegionsFeature.js} +51 -78
- package/vscode/src/vs/editor/browser/widget/diffEditor/{movedBlocksLines.js → features/movedBlocksLinesFeature.js} +23 -23
- package/vscode/src/vs/editor/browser/widget/diffEditor/{overviewRulerPart.js → features/overviewRulerFeature.js} +28 -28
- package/vscode/src/vs/editor/browser/widget/diffEditor/features/revertButtonsFeature.js +145 -0
- package/vscode/src/vs/editor/browser/widget/diffEditor/{decorations.js → registrations.contribution.js} +18 -2
- package/vscode/src/vs/editor/browser/widget/diffEditor/utils.js +10 -2
- package/vscode/src/vs/editor/browser/widget/hoverWidget/hover.css.js +4 -0
- package/vscode/src/vs/editor/browser/widget/hoverWidget/hoverWidget.js +527 -0
- package/vscode/src/vs/editor/{contrib → browser/widget}/markdownRenderer/browser/markdownRenderer.js +11 -11
- package/vscode/src/vs/editor/{contrib → browser/widget}/markdownRenderer/browser/renderedMarkdown.css.js +1 -1
- package/vscode/src/vs/editor/common/config/editorOptions.d.ts +11 -10
- package/vscode/src/vs/editor/common/config/editorOptions.js +46 -42
- package/vscode/src/vs/editor/common/core/editorColorRegistry.js +3 -3
- package/vscode/src/vs/editor/common/core/offsetRange.d.ts +2 -0
- package/vscode/src/vs/editor/common/core/offsetRange.js +8 -0
- package/vscode/src/vs/editor/common/diff/defaultLinesDiffComputer/algorithms/diffAlgorithm.js +9 -0
- package/vscode/src/vs/editor/common/diff/defaultLinesDiffComputer/heuristicSequenceOptimizations.js +50 -47
- package/vscode/src/vs/editor/common/diff/defaultLinesDiffComputer/linesSliceCharSequence.js +4 -1
- package/vscode/src/vs/editor/common/diff/rangeMapping.d.ts +2 -1
- package/vscode/src/vs/editor/common/diff/rangeMapping.js +13 -2
- package/vscode/src/vs/editor/common/languages.d.ts +10 -2
- package/vscode/src/vs/editor/common/model/textModel.js +19 -13
- package/vscode/src/vs/editor/common/model/tokenizationTextModelPart.js +1 -1
- package/vscode/src/vs/editor/common/model.d.ts +19 -1
- package/vscode/src/vs/editor/common/model.js +2 -1
- package/vscode/src/vs/editor/common/services/editorSimpleWorker.js +2 -1
- package/vscode/src/vs/editor/common/services/getIconClasses.js +4 -1
- package/vscode/src/vs/editor/common/services/semanticTokensProviderStyling.js +3 -3
- package/vscode/src/vs/editor/common/standalone/standaloneEnums.js +9 -8
- package/vscode/src/vs/editor/common/standaloneStrings.js +18 -18
- package/vscode/src/vs/editor/common/viewEvents.js +2 -0
- package/vscode/src/vs/editor/common/viewModel/glyphLanesModel.js +55 -0
- package/vscode/src/vs/editor/common/viewModel/viewModelImpl.js +4 -1
- package/vscode/src/vs/editor/contrib/clipboard/browser/clipboard.js +5 -1
- package/vscode/src/vs/editor/contrib/codeAction/browser/codeAction.js +1 -0
- package/vscode/src/vs/editor/contrib/codeAction/browser/codeActionController.js +46 -20
- package/vscode/src/vs/editor/contrib/codeAction/browser/codeActionMenu.js +1 -1
- package/vscode/src/vs/editor/contrib/codeAction/browser/codeActionModel.js +38 -11
- package/vscode/src/vs/editor/contrib/codeAction/browser/lightBulbWidget.js +56 -101
- package/vscode/src/vs/editor/contrib/codelens/browser/codelensWidget.js +3 -2
- package/vscode/src/vs/editor/contrib/colorPicker/browser/colorContributions.js +2 -2
- package/vscode/src/vs/editor/contrib/colorPicker/browser/colorHoverParticipant.js +10 -29
- package/vscode/src/vs/editor/contrib/colorPicker/browser/colorPickerWidget.js +4 -4
- package/vscode/src/vs/editor/contrib/diffEditorBreadcrumbs/browser/contribution.js +51 -0
- package/vscode/src/vs/editor/contrib/dropOrPasteInto/browser/copyPasteContribution.js +19 -1
- package/vscode/src/vs/editor/contrib/dropOrPasteInto/browser/copyPasteController.js +38 -10
- package/vscode/src/vs/editor/contrib/dropOrPasteInto/browser/defaultProviders.js +29 -1
- package/vscode/src/vs/editor/contrib/dropOrPasteInto/browser/edit.js +10 -3
- package/vscode/src/vs/editor/contrib/dropOrPasteInto/browser/postEditWidget.js +3 -17
- package/vscode/src/vs/editor/contrib/find/browser/findController.js +3 -35
- package/vscode/src/vs/editor/contrib/folding/browser/foldingDecorations.js +26 -6
- package/vscode/src/vs/editor/contrib/fontZoom/browser/fontZoom.js +6 -6
- package/vscode/src/vs/editor/contrib/format/browser/format.js +9 -9
- package/vscode/src/vs/editor/contrib/format/browser/formatActions.js +5 -5
- package/vscode/src/vs/editor/contrib/gotoError/browser/media/gotoErrorWidget.css.js +1 -1
- package/vscode/src/vs/editor/contrib/gotoSymbol/browser/goToCommands.js +2 -2
- package/vscode/src/vs/editor/contrib/hover/browser/contentHover.js +85 -76
- package/vscode/src/vs/editor/contrib/hover/browser/hover.js +120 -90
- package/vscode/src/vs/editor/contrib/hover/browser/marginHover.js +18 -6
- package/vscode/src/vs/editor/contrib/hover/browser/markdownHoverParticipant.js +1 -1
- package/vscode/src/vs/editor/contrib/hover/browser/markerHoverParticipant.js +2 -2
- package/vscode/src/vs/editor/contrib/inlayHints/browser/inlayHints.js +4 -2
- package/vscode/src/vs/editor/contrib/inlayHints/browser/inlayHintsController.js +56 -38
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/hoverParticipant.js +1 -1
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/inlineCompletionsController.js +12 -0
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/inlineCompletionsHintsWidget.js +4 -0
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/inlineCompletionsModel.js +2 -2
- package/vscode/src/vs/editor/contrib/linkedEditing/browser/linkedEditing.js +50 -53
- package/vscode/src/vs/editor/contrib/message/browser/messageController.js +5 -2
- package/vscode/src/vs/editor/contrib/parameterHints/browser/parameterHintsWidget.js +1 -1
- package/vscode/src/vs/editor/contrib/semanticTokens/browser/documentSemanticTokens.js +5 -1
- package/vscode/src/vs/editor/contrib/stickyScroll/browser/stickyScroll.css.js +1 -1
- package/vscode/src/vs/editor/contrib/stickyScroll/browser/stickyScrollActions.js +4 -4
- package/vscode/src/vs/editor/contrib/stickyScroll/browser/stickyScrollController.js +8 -5
- package/vscode/src/vs/editor/contrib/stickyScroll/browser/stickyScrollWidget.js +58 -46
- package/vscode/src/vs/editor/contrib/suggest/browser/suggestController.js +34 -7
- package/vscode/src/vs/editor/contrib/suggest/browser/suggestInlineCompletions.js +30 -38
- package/vscode/src/vs/editor/contrib/suggest/browser/suggestModel.js +2 -2
- package/vscode/src/vs/editor/contrib/suggest/browser/suggestWidget.js +11 -3
- package/vscode/src/vs/editor/contrib/suggest/browser/suggestWidgetDetails.js +18 -7
- package/vscode/src/vs/editor/contrib/suggest/browser/suggestWidgetRenderer.js +8 -10
- package/vscode/src/vs/editor/contrib/unicodeHighlighter/browser/bannerController.js +1 -1
- package/vscode/src/vs/editor/contrib/unicodeHighlighter/browser/unicodeHighlighter.js +7 -6
- package/vscode/src/vs/editor/contrib/wordHighlighter/browser/wordHighlighter.js +3 -0
- package/vscode/src/vs/editor/editor.api.d.ts +82 -11
- package/vscode/src/vs/editor/standalone/browser/quickInput/standaloneQuickInputService.js +8 -3
- package/vscode/src/vs/editor/standalone/browser/standaloneLayoutService.js +4 -3
- package/vscode/src/vs/editor/standalone/browser/standaloneServices.js +22 -11
- package/vscode/src/vs/editor/standalone/browser/standaloneThemeService.js +1 -1
- package/vscode/src/vs/nls.d.ts +6 -0
- package/vscode/src/vs/platform/accessibility/browser/accessibilityService.js +4 -1
- package/vscode/src/vs/platform/accessibility/common/accessibility.d.ts +2 -16
- package/vscode/src/vs/platform/accessibility/common/accessibility.js +1 -2
- package/vscode/src/vs/platform/action/common/actionCommonCategories.d.ts +7 -20
- package/vscode/src/vs/platform/action/common/actionCommonCategories.js +8 -8
- package/vscode/src/vs/platform/actionWidget/browser/actionList.js +0 -1
- package/vscode/src/vs/platform/actionWidget/browser/actionWidget.css.js +1 -1
- package/vscode/src/vs/platform/actions/browser/buttonbar.js +2 -0
- package/vscode/src/vs/platform/actions/browser/dropdownWithPrimaryActionViewItem.js +5 -0
- package/vscode/src/vs/platform/actions/browser/menuEntryActionViewItem.css.js +1 -1
- package/vscode/src/vs/platform/actions/browser/menuEntryActionViewItem.js +2 -2
- package/vscode/src/vs/platform/actions/common/actions.d.ts +9 -1
- package/vscode/src/vs/platform/actions/common/actions.js +12 -1
- package/vscode/src/vs/platform/audioCues/browser/audioCueService.d.ts +11 -1
- package/vscode/src/vs/platform/audioCues/browser/audioCueService.js +174 -28
- package/vscode/src/vs/platform/clipboard/browser/clipboardService.js +38 -5
- package/vscode/src/vs/platform/configuration/common/configuration.d.ts +0 -1
- package/vscode/src/vs/platform/environment/common/environmentService.js +1 -1
- package/vscode/src/vs/platform/extensionManagement/common/extensionManagement.d.ts +5 -1
- package/vscode/src/vs/platform/extensionManagement/common/extensionManagement.js +24 -5
- package/vscode/src/vs/platform/extensions/common/extensions.d.ts +6 -1
- package/vscode/src/vs/{workbench/services → platform}/hover/browser/hover.d.ts +6 -8
- package/vscode/src/vs/platform/hover/browser/hover.js +3 -0
- package/vscode/src/vs/platform/instantiation/common/instantiationService.js +14 -4
- package/vscode/src/vs/platform/keybinding/common/abstractKeybindingService.js +11 -4
- package/vscode/src/vs/platform/keybinding/common/keybinding.d.ts +7 -0
- package/vscode/src/vs/platform/layout/browser/layoutService.d.ts +6 -0
- package/vscode/src/vs/platform/list/browser/listService.js +7 -5
- package/vscode/src/vs/platform/log/common/bufferLog.js +1 -0
- package/vscode/src/vs/platform/log/common/log.d.ts +0 -1
- package/vscode/src/vs/platform/log/common/log.js +1 -2
- package/vscode/src/vs/platform/notification/common/notification.d.ts +36 -19
- package/vscode/src/vs/platform/notification/common/notification.js +9 -3
- package/vscode/src/vs/platform/quickinput/browser/pickerQuickAccess.js +4 -1
- package/vscode/src/vs/platform/quickinput/browser/quickInput.js +50 -48
- package/vscode/src/vs/platform/quickinput/browser/quickInputController.js +3 -5
- package/vscode/src/vs/platform/quickinput/browser/quickInputList.js +49 -66
- package/vscode/src/vs/platform/quickinput/browser/quickInputService.js +11 -3
- package/vscode/src/vs/platform/quickinput/browser/quickInputUtils.js +16 -2
- package/vscode/src/vs/platform/quickinput/common/quickInput.d.ts +230 -26
- package/vscode/src/vs/platform/remote/common/remoteAuthorityResolver.d.ts +1 -0
- package/vscode/src/vs/platform/telemetry/common/telemetryUtils.js +1 -0
- package/vscode/src/vs/platform/theme/browser/defaultStyles.js +5 -3
- package/vscode/src/vs/platform/theme/common/colorRegistry.js +28 -9
- package/vscode/src/vs/platform/tunnel/common/tunnel.d.ts +2 -0
- package/vscode/src/vs/platform/window/common/window.js +14 -8
- package/vscode/src/vs/workbench/api/common/extHost.api.impl.js +97 -78
- package/vscode/src/vs/workbench/api/common/extHost.protocol.js +1 -1
- package/vscode/src/vs/workbench/api/common/extHostAuthentication.js +1 -22
- package/vscode/src/vs/workbench/api/common/extHostChat.js +0 -6
- package/vscode/src/vs/workbench/api/common/extHostChatAgents2.js +31 -36
- package/vscode/src/vs/workbench/api/common/extHostChatVariables.js +1 -1
- package/vscode/src/vs/workbench/api/common/extHostComments.js +6 -1
- package/vscode/src/vs/workbench/api/common/extHostConsoleForwarder.js +1 -0
- package/vscode/src/vs/workbench/api/common/extHostDebugService.js +130 -6
- package/vscode/src/vs/workbench/api/common/extHostDocumentContentProviders.js +28 -15
- package/vscode/src/vs/workbench/api/common/extHostDocuments.js +4 -5
- package/vscode/src/vs/workbench/api/common/extHostExtensionService.js +5 -1
- package/vscode/src/vs/workbench/api/common/extHostFileSystem.js +1 -2
- package/vscode/src/vs/workbench/api/common/extHostFileSystemConsumer.js +2 -2
- package/vscode/src/vs/workbench/api/common/extHostInlineChat.js +35 -33
- package/vscode/src/vs/workbench/api/common/extHostLanguageFeatures.js +40 -13
- package/vscode/src/vs/workbench/api/common/extHostMessageService.js +10 -1
- package/vscode/src/vs/workbench/api/common/extHostNotebook.js +11 -7
- package/vscode/src/vs/workbench/api/common/extHostNotebookEditors.js +2 -3
- package/vscode/src/vs/workbench/api/common/extHostNotebookKernels.js +29 -4
- package/vscode/src/vs/workbench/api/common/extHostProfileContentHandler.js +1 -1
- package/vscode/src/vs/workbench/api/common/extHostProgress.js +1 -7
- package/vscode/src/vs/workbench/api/common/extHostSCM.js +49 -93
- package/vscode/src/vs/workbench/api/common/extHostSpeech.js +21 -0
- package/vscode/src/vs/workbench/api/common/extHostTask.js +18 -22
- package/vscode/src/vs/workbench/api/common/extHostTelemetry.js +1 -0
- package/vscode/src/vs/workbench/api/common/extHostTerminalService.js +3 -3
- package/vscode/src/vs/workbench/api/common/extHostTesting.js +55 -36
- package/vscode/src/vs/workbench/api/common/extHostTextEditor.js +5 -2
- package/vscode/src/vs/workbench/api/common/extHostTextEditors.js +6 -7
- package/vscode/src/vs/workbench/api/common/extHostTreeViews.js +6 -3
- package/vscode/src/vs/workbench/api/common/extHostTunnelService.js +4 -2
- package/vscode/src/vs/workbench/api/common/extHostTypeConverters.js +74 -12
- package/vscode/src/vs/workbench/api/common/extHostTypes.js +27 -8
- package/vscode/src/vs/workbench/api/worker/extHostConsoleForwarder.js +1 -1
- package/vscode/src/vs/workbench/browser/actions/layoutActions.js +172 -103
- package/vscode/src/vs/workbench/browser/actions/windowActions.js +13 -17
- package/vscode/src/vs/workbench/browser/actions/workspaceActions.js +34 -34
- package/vscode/src/vs/workbench/browser/actions/workspaceCommands.js +4 -4
- package/vscode/src/vs/workbench/browser/dnd.js +2 -2
- package/vscode/src/vs/workbench/browser/labels.js +34 -4
- package/vscode/src/vs/workbench/browser/part.js +2 -2
- package/vscode/src/vs/workbench/browser/parts/auxiliarybar/auxiliaryBarActions.js +4 -4
- package/vscode/src/vs/workbench/browser/parts/compositeBarActions.js +1 -1
- package/vscode/src/vs/workbench/browser/parts/editor/breadcrumbsControl.js +801 -0
- package/vscode/src/vs/workbench/browser/parts/editor/breadcrumbsModel.js +140 -0
- package/vscode/src/vs/workbench/browser/parts/editor/breadcrumbsPicker.js +410 -0
- package/vscode/src/vs/workbench/browser/parts/editor/editor.js +1 -2
- package/vscode/src/vs/workbench/browser/parts/editor/editorActions.js +304 -303
- package/vscode/src/vs/workbench/browser/parts/editor/editorAutoSave.js +101 -47
- package/vscode/src/vs/workbench/browser/parts/editor/editorCommands.js +114 -47
- package/vscode/src/vs/workbench/browser/parts/editor/editorGroupView.js +1313 -0
- package/vscode/src/vs/workbench/browser/parts/editor/editorGroupWatermark.js +190 -0
- package/vscode/src/vs/workbench/browser/parts/editor/editorPanes.js +344 -0
- package/vscode/src/vs/workbench/browser/parts/editor/editorQuickAccess.js +1 -1
- package/vscode/src/vs/workbench/browser/parts/editor/editorStatus.js +10 -10
- package/vscode/src/vs/workbench/browser/parts/editor/editorTabsControl.js +27 -42
- package/vscode/src/vs/workbench/browser/parts/editor/editorTitleControl.js +152 -0
- package/vscode/src/vs/workbench/browser/parts/editor/editorsObserver.js +8 -8
- package/vscode/src/vs/workbench/browser/parts/editor/media/breadcrumbscontrol.css.js +4 -0
- package/vscode/src/vs/workbench/browser/parts/editor/media/editorgroupview.css.js +4 -0
- package/vscode/src/vs/workbench/browser/parts/editor/media/editortitlecontrol.css.js +4 -0
- package/vscode/src/vs/workbench/browser/parts/editor/media/multieditortabscontrol.css.js +4 -0
- package/vscode/src/vs/workbench/browser/parts/editor/media/singleeditortabscontrol.css.js +4 -0
- package/vscode/src/vs/workbench/browser/parts/editor/multiEditorTabsControl.js +1626 -0
- package/vscode/src/vs/workbench/browser/parts/editor/multiRowEditorTabsControl.js +150 -0
- package/vscode/src/vs/workbench/browser/parts/editor/noEditorTabsControl.js +52 -0
- package/vscode/src/vs/workbench/browser/parts/editor/singleEditorTabsControl.js +260 -0
- package/vscode/src/vs/workbench/browser/parts/editor/textEditor.js +1 -1
- package/vscode/src/vs/workbench/browser/parts/editor/textResourceEditor.js +2 -2
- package/vscode/src/vs/workbench/browser/parts/globalCompositeBar.js +39 -36
- package/vscode/src/vs/workbench/browser/parts/notifications/notificationsCommands.js +68 -28
- package/vscode/src/vs/workbench/browser/parts/panel/media/panelpart.css.js +1 -1
- package/vscode/src/vs/workbench/browser/parts/panel/panelActions.js +15 -14
- package/vscode/src/vs/workbench/browser/parts/titlebar/menubarControl.js +18 -17
- package/vscode/src/vs/workbench/browser/parts/titlebar/windowTitle.js +1 -1
- package/vscode/src/vs/workbench/browser/parts/views/media/views.css.js +1 -1
- package/vscode/src/vs/workbench/browser/parts/views/treeView.js +7 -10
- package/vscode/src/vs/workbench/browser/parts/views/viewPane.js +2 -1
- package/vscode/src/vs/workbench/browser/parts/views/viewPaneContainer.d.ts +2 -1
- package/vscode/src/vs/workbench/browser/parts/views/viewPaneContainer.js +18 -17
- package/vscode/src/vs/workbench/browser/quickaccess.js +33 -1
- package/vscode/src/vs/workbench/browser/web.api.d.ts +6 -0
- package/vscode/src/vs/workbench/browser/window.js +92 -9
- package/vscode/src/vs/workbench/browser/workbench.contribution.js +114 -65
- package/vscode/src/vs/workbench/common/component.d.ts +5 -1
- package/vscode/src/vs/workbench/common/component.js +6 -0
- package/vscode/src/vs/workbench/common/configuration.js +11 -1
- package/vscode/src/vs/workbench/common/contextkeys.js +8 -4
- package/vscode/src/vs/workbench/common/editor/editorInput.d.ts +6 -0
- package/vscode/src/vs/workbench/common/editor/editorInput.js +3 -0
- package/vscode/src/vs/workbench/common/editor/filteredEditorGroupModel.js +107 -0
- package/vscode/src/vs/workbench/common/editor/resourceEditorInput.d.ts +6 -3
- package/vscode/src/vs/workbench/common/editor/resourceEditorInput.js +21 -3
- package/vscode/src/vs/workbench/common/editor/textResourceEditorInput.d.ts +2 -1
- package/vscode/src/vs/workbench/common/editor/textResourceEditorInput.js +9 -6
- package/vscode/src/vs/workbench/common/editor.d.ts +16 -4
- package/vscode/src/vs/workbench/common/editor.js +7 -1
- package/vscode/src/vs/workbench/common/memento.js +33 -12
- package/vscode/src/vs/workbench/common/notifications.js +30 -7
- package/vscode/src/vs/workbench/common/theme.js +61 -1
- package/vscode/src/vs/workbench/common/views.d.ts +1 -28
- package/vscode/src/vs/workbench/common/views.js +1 -2
- package/vscode/src/vs/workbench/contrib/accessibility/browser/accessibilityConfiguration.js +232 -19
- package/vscode/src/vs/workbench/contrib/accessibility/browser/accessibilityContributions.js +9 -9
- package/vscode/src/vs/workbench/contrib/accessibility/browser/accessibleView.js +1 -0
- package/vscode/src/vs/workbench/contrib/accessibility/browser/editorAccessibilityHelp.js +19 -31
- package/vscode/src/vs/workbench/contrib/chat/browser/actions/chatAccessibilityHelp.js +8 -3
- package/vscode/src/vs/workbench/contrib/chat/browser/actions/chatActions.js +57 -38
- package/vscode/src/vs/workbench/contrib/chat/browser/actions/chatQuickInputActions.js +4 -4
- package/vscode/src/vs/workbench/contrib/chat/browser/chatEditorInput.js +9 -2
- package/vscode/src/vs/workbench/contrib/chat/browser/chatFollowups.js +7 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/chatInputPart.js +31 -20
- package/vscode/src/vs/workbench/contrib/chat/browser/chatListRenderer.js +93 -49
- package/vscode/src/vs/workbench/contrib/chat/browser/chatMarkdownDecorationsRenderer.js +30 -6
- package/vscode/src/vs/workbench/contrib/chat/browser/chatSlashCommandContentWidget.js +24 -12
- package/vscode/src/vs/workbench/contrib/chat/browser/chatWidget.js +9 -5
- package/vscode/src/vs/workbench/contrib/chat/browser/contrib/chatDynamicVariables.js +12 -1
- package/vscode/src/vs/workbench/contrib/chat/browser/media/chat.css.js +1 -1
- package/vscode/src/vs/workbench/contrib/chat/common/chatContextKeys.js +2 -1
- package/vscode/src/vs/workbench/contrib/chat/common/chatModel.js +21 -43
- package/vscode/src/vs/workbench/contrib/chat/common/chatService.js +6 -6
- package/vscode/src/vs/workbench/contrib/codeActions/browser/codeActionsContribution.js +4 -4
- package/vscode/src/vs/workbench/contrib/codeEditor/browser/suggestEnabledInput/suggestEnabledInput.css.js +1 -1
- package/vscode/src/vs/workbench/contrib/codeEditor/browser/toggleMultiCursorModifier.js +4 -4
- package/vscode/src/vs/workbench/contrib/codeEditor/browser/toggleWordWrap.js +0 -3
- package/vscode/src/vs/workbench/contrib/comments/browser/commentThreadBody.js +1 -1
- package/vscode/src/vs/workbench/contrib/comments/browser/{comments.contribution.js → commentsAccessibility.js} +36 -128
- package/vscode/src/vs/workbench/contrib/comments/browser/reactionsAction.js +41 -18
- package/vscode/src/vs/workbench/contrib/debug/browser/baseDebugView.js +202 -0
- package/vscode/src/vs/workbench/contrib/debug/browser/breakpointEditorContribution.js +27 -4
- package/vscode/src/vs/workbench/contrib/debug/browser/breakpointWidget.js +165 -52
- package/vscode/src/vs/workbench/contrib/debug/browser/breakpointsView.js +48 -31
- package/vscode/src/vs/workbench/contrib/debug/browser/debugIcons.js +6 -1
- package/vscode/src/vs/workbench/contrib/debug/browser/media/breakpointWidget.css.js +1 -1
- package/vscode/src/vs/workbench/contrib/debug/common/debug.d.ts +40 -10
- package/vscode/src/vs/workbench/contrib/debug/common/debug.js +28 -1
- package/vscode/src/vs/workbench/contrib/debug/common/debugContext.js +14 -0
- package/vscode/src/vs/workbench/contrib/debug/common/debugModel.js +52 -23
- package/vscode/src/vs/workbench/contrib/debug/common/debugSource.js +1 -1
- package/vscode/src/vs/workbench/contrib/debug/common/debugVisualizers.js +164 -0
- package/vscode/src/vs/workbench/contrib/debug/common/disassemblyViewInput.js +10 -0
- package/vscode/src/vs/workbench/contrib/debug/common/replModel.js +285 -0
- package/vscode/src/vs/workbench/contrib/extensions/browser/extensionsActions.js +123 -78
- package/vscode/src/vs/workbench/contrib/extensions/common/extensionsInput.js +10 -0
- package/vscode/src/vs/workbench/contrib/files/browser/editors/fileEditorInput.js +3 -19
- package/vscode/src/vs/workbench/contrib/files/browser/explorerViewlet.js +1 -2
- package/vscode/src/vs/workbench/contrib/files/browser/fileActions.js +8 -9
- package/vscode/src/vs/workbench/contrib/files/browser/files.configuration.contribution.js +70 -2
- package/vscode/src/vs/workbench/contrib/files/browser/files.d.ts +5 -2
- package/vscode/src/vs/workbench/contrib/files/browser/views/emptyView.js +2 -2
- package/vscode/src/vs/workbench/contrib/files/browser/views/explorerView.js +34 -17
- package/vscode/src/vs/workbench/contrib/files/browser/views/explorerViewer.js +5 -4
- package/vscode/src/vs/workbench/contrib/files/browser/views/openEditorsView.js +48 -14
- package/vscode/src/vs/workbench/contrib/format/browser/formatActionsMultiple.js +16 -8
- package/vscode/src/vs/workbench/contrib/inlineChat/browser/inlineChat.css.js +1 -1
- package/vscode/src/vs/workbench/contrib/inlineChat/browser/inlineChatController.js +317 -321
- package/vscode/src/vs/workbench/contrib/inlineChat/browser/inlineChatLivePreviewWidget.js +17 -24
- package/vscode/src/vs/workbench/contrib/inlineChat/browser/inlineChatSavingService.js +3 -0
- package/vscode/src/vs/workbench/contrib/inlineChat/browser/inlineChatSession.js +306 -130
- package/vscode/src/vs/workbench/contrib/inlineChat/browser/inlineChatSessionService.js +3 -0
- package/vscode/src/vs/workbench/contrib/inlineChat/browser/inlineChatStrategies.js +385 -613
- package/vscode/src/vs/workbench/contrib/inlineChat/browser/inlineChatWidget.js +69 -64
- package/vscode/src/vs/workbench/contrib/inlineChat/browser/utils.js +71 -3
- package/vscode/src/vs/workbench/contrib/inlineChat/common/inlineChat.js +39 -44
- package/vscode/src/vs/workbench/contrib/mergeEditor/browser/mergeEditorInput.js +5 -3
- package/vscode/src/vs/workbench/contrib/mergeEditor/browser/mergeEditorInputModel.js +1 -1
- package/vscode/src/vs/workbench/contrib/notebook/browser/contrib/find/findModel.js +1 -1
- package/vscode/src/vs/workbench/contrib/notebook/browser/controller/coreActions.js +4 -4
- package/vscode/src/vs/workbench/contrib/notebook/browser/controller/foldingController.js +3 -3
- package/vscode/src/vs/workbench/contrib/notebook/browser/media/notebookCellChat.css.js +1 -1
- package/vscode/src/vs/workbench/contrib/notebook/browser/media/notebookEditorStickyScroll.css.js +1 -1
- package/vscode/src/vs/workbench/contrib/notebook/browser/notebookEditor.js +38 -7
- package/vscode/src/vs/workbench/contrib/notebook/browser/notebookEditorWidget.js +36 -8
- package/vscode/src/vs/workbench/contrib/notebook/browser/notebookOptions.js +32 -12
- package/vscode/src/vs/workbench/contrib/notebook/browser/view/cellPart.js +24 -14
- package/vscode/src/vs/workbench/contrib/notebook/browser/view/cellParts/cellEditorOptions.js +4 -4
- package/vscode/src/vs/workbench/contrib/notebook/browser/view/cellParts/cellStatusPart.js +1 -1
- package/vscode/src/vs/workbench/contrib/notebook/browser/view/cellParts/cellToolbarStickyScroll.js +1 -2
- package/vscode/src/vs/workbench/contrib/notebook/browser/view/cellParts/chat/cellChatActions.js +264 -12
- package/vscode/src/vs/workbench/contrib/notebook/browser/view/cellParts/chat/cellChatController.js +60 -27
- package/vscode/src/vs/workbench/contrib/notebook/browser/view/cellParts/codeCell.js +12 -5
- package/vscode/src/vs/workbench/contrib/notebook/browser/view/cellParts/codeCellExecutionIcon.js +2 -2
- package/vscode/src/vs/workbench/contrib/notebook/browser/view/notebookCellList.js +2 -2
- package/vscode/src/vs/workbench/contrib/notebook/browser/view/renderers/backLayerWebView.js +12 -9
- package/vscode/src/vs/workbench/contrib/notebook/browser/view/renderers/webviewPreloads.js +6 -3
- package/vscode/src/vs/workbench/contrib/notebook/browser/viewModel/notebookViewModelImpl.js +1 -0
- package/vscode/src/vs/workbench/contrib/notebook/browser/viewParts/notebookEditorStickyScroll.js +188 -155
- package/vscode/src/vs/workbench/contrib/notebook/browser/viewParts/notebookKernelView.js +4 -4
- package/vscode/src/vs/workbench/contrib/notebook/common/model/notebookCellTextModel.js +10 -3
- package/vscode/src/vs/workbench/contrib/notebook/common/notebookCommon.js +16 -33
- package/vscode/src/vs/workbench/contrib/notebook/common/notebookEditorInput.js +9 -7
- package/vscode/src/vs/workbench/contrib/notebook/common/notebookEditorModel.js +6 -2
- package/vscode/src/vs/workbench/contrib/notebook/common/notebookKernelService.js +2 -1
- package/vscode/src/vs/workbench/contrib/remote/browser/remoteExplorer.js +29 -14
- package/vscode/src/vs/workbench/contrib/remote/browser/tunnelView.js +15 -3
- package/vscode/src/vs/workbench/contrib/remote/browser/urlFinder.js +2 -2
- package/vscode/src/vs/workbench/contrib/scm/browser/dirtydiffDecorator.js +22 -6
- package/vscode/src/vs/workbench/contrib/search/browser/searchActionsFind.js +1 -1
- package/vscode/src/vs/workbench/contrib/search/browser/searchModel.js +16 -17
- package/vscode/src/vs/workbench/contrib/snippets/browser/snippetCompletionProvider.js +78 -50
- package/vscode/src/vs/workbench/contrib/speech/common/speechService.js +15 -1
- package/vscode/src/vs/workbench/contrib/terminal/browser/terminal.d.ts +25 -45
- package/vscode/src/vs/workbench/contrib/terminal/browser/terminalEditorInput.js +12 -4
- package/vscode/src/vs/workbench/contrib/terminal/browser/terminalIcon.js +2 -1
- package/vscode/src/vs/workbench/contrib/terminal/browser/xterm/decorationAddon.js +33 -36
- package/vscode/src/vs/workbench/contrib/terminal/browser/xterm/decorationStyles.js +1 -1
- package/vscode/src/vs/workbench/contrib/terminal/browser/xterm/markNavigationAddon.js +3 -0
- package/vscode/src/vs/workbench/contrib/terminal/browser/xterm/xtermTerminal.d.ts +5 -8
- package/vscode/src/vs/workbench/contrib/terminal/browser/xterm/xtermTerminal.js +15 -27
- package/vscode/src/vs/workbench/contrib/terminal/common/terminalColorRegistry.js +3 -3
- package/vscode/src/vs/workbench/contrib/testing/common/testCoverage.js +38 -22
- package/vscode/src/vs/workbench/contrib/testing/common/testCoverageService.js +5 -2
- package/vscode/src/vs/workbench/contrib/testing/common/testProfileService.js +60 -40
- package/vscode/src/vs/workbench/contrib/testing/common/testResult.js +2 -2
- package/vscode/src/vs/workbench/contrib/testing/common/testResultStorage.js +15 -11
- package/vscode/src/vs/workbench/contrib/testing/common/testService.js +26 -1
- package/vscode/src/vs/workbench/contrib/testing/common/testTypes.js +24 -23
- package/vscode/src/vs/workbench/contrib/welcomeGettingStarted/browser/gettingStartedService.js +1 -1
- package/vscode/src/vs/workbench/services/authentication/browser/authenticationService.js +124 -26
- package/vscode/src/vs/workbench/services/authentication/common/authentication.d.ts +68 -0
- package/vscode/src/vs/workbench/services/auxiliaryWindow/browser/auxiliaryWindowService.js +76 -36
- package/vscode/src/vs/workbench/services/configurationResolver/common/configurationResolver.js +1 -0
- package/vscode/src/vs/workbench/services/configurationResolver/common/variableResolver.js +1 -0
- package/vscode/src/vs/workbench/services/editor/browser/editorService.js +15 -3
- package/vscode/src/vs/workbench/services/editor/common/editorGroupFinder.js +10 -1
- package/vscode/src/vs/workbench/services/editor/common/editorGroupsService.d.ts +51 -43
- package/vscode/src/vs/workbench/services/editor/common/editorService.d.ts +13 -8
- package/vscode/src/vs/workbench/services/editor/common/editorService.js +2 -1
- package/vscode/src/vs/workbench/services/extensionManagement/browser/extensionBisect.js +10 -10
- package/vscode/src/vs/workbench/services/extensions/browser/extensionUrlHandler.js +8 -8
- package/vscode/src/vs/workbench/services/extensions/common/extensionsApiProposals.js +7 -7
- package/vscode/src/vs/workbench/services/extensions/common/rpcProtocol.js +1 -0
- package/vscode/src/vs/workbench/services/filesConfiguration/common/filesConfigurationService.d.ts +29 -9
- package/vscode/src/vs/workbench/services/filesConfiguration/common/filesConfigurationService.js +160 -63
- package/vscode/src/vs/workbench/services/host/browser/host.d.ts +8 -0
- package/vscode/src/vs/workbench/services/keybinding/common/keybindingEditing.js +60 -72
- package/vscode/src/vs/workbench/services/layout/browser/layoutService.d.ts +0 -4
- package/vscode/src/vs/workbench/services/notebook/common/notebookDocumentService.js +56 -0
- package/vscode/src/vs/workbench/services/output/common/output.js +2 -2
- package/vscode/src/vs/workbench/services/preferences/browser/keybindingsEditorInput.js +10 -0
- package/vscode/src/vs/workbench/services/preferences/common/preferencesEditorInput.js +10 -0
- package/vscode/src/vs/workbench/services/remote/common/remoteExplorerService.js +2 -1
- package/vscode/src/vs/workbench/services/textfile/common/textFileEditorModel.js +5 -4
- package/vscode/src/vs/workbench/services/untitled/common/untitledTextEditorInput.js +21 -8
- package/vscode/src/vs/workbench/services/untitled/common/untitledTextEditorService.d.ts +4 -0
- package/vscode/src/vs/workbench/services/untitled/common/untitledTextEditorService.js +3 -0
- package/vscode/src/vs/workbench/services/userDataProfile/common/userDataProfile.js +4 -4
- package/vscode/src/vs/workbench/{browser/parts/views → services/views/browser}/viewsService.js +20 -15
- package/vscode/src/vs/workbench/services/views/common/viewsService.d.ts +34 -0
- package/vscode/src/vs/workbench/services/{hover/browser/hover.js → views/common/viewsService.js} +2 -2
- package/vscode/src/vs/workbench/services/workingCopy/common/storedFileWorkingCopy.d.ts +6 -1
- package/vscode/src/vs/workbench/services/workingCopy/common/storedFileWorkingCopy.js +5 -2
- package/vscode/src/vs/workbench/services/workspaces/common/workspaceTrust.js +1 -0
- package/vscode-dts/vscode.proposed.chatAgents2.d.ts +112 -47
- package/vscode-dts/vscode.proposed.chatAgents2Additions.d.ts +68 -9
- package/vscode-dts/{vscode.proposed.scmInputBoxActionButton.d.ts → vscode.proposed.codeActionRanges.d.ts} +8 -10
- package/vscode-dts/{vscode.proposed.readonlyMessage.d.ts → vscode.proposed.commentReactor.d.ts} +3 -4
- package/vscode-dts/vscode.proposed.contribMultiDiffEditorMenus.d.ts +6 -0
- package/vscode-dts/vscode.proposed.contribSourceControlHistoryItemGroupMenu.d.ts +8 -0
- package/vscode-dts/vscode.proposed.contribSourceControlHistoryItemMenu.d.ts +8 -0
- package/vscode-dts/vscode.proposed.debugVisualization.d.ts +100 -0
- package/vscode-dts/vscode.proposed.defaultChatAgent.d.ts +1 -1
- package/vscode-dts/vscode.proposed.interactive.d.ts +13 -16
- package/vscode-dts/vscode.proposed.notebookVariableProvider.d.ts +4 -1
- package/vscode-dts/vscode.proposed.resolvers.d.ts +4 -0
- package/vscode-dts/vscode.proposed.scmHistoryProvider.d.ts +4 -10
- package/vscode-dts/vscode.proposed.scmMultiDiffEditor.d.ts +34 -0
- package/vscode-dts/vscode.proposed.speech.d.ts +17 -3
- package/vscode-dts/vscode.proposed.testCoverage.d.ts +7 -1
- package/vscode-dts/vscode.proposed.tunnelFactory.d.ts +4 -0
- package/vscode/src/vs/editor/browser/widget/diffEditor/colors.js +0 -17
- package/vscode/src/vs/editor/browser/widget/diffEditor/diffEditorDecorations.js +0 -231
- package/vscode/src/vs/editor/browser/widget/diffEditor/outlineModel.js +0 -299
- package/vscode/src/vs/editor/browser/widget/diffEditor/workerBasedDocumentDiffProvider.js +0 -101
- package/vscode/src/vs/workbench/contrib/terminal/browser/xterm/suggestAddon.js +0 -390
- package/vscode/src/vs/workbench/services/editor/common/editorGroupColumn.d.ts +0 -10
- package/vscode/src/vs/workbench/services/suggest/browser/media/suggest.css.js +0 -4
- package/vscode/src/vs/workbench/services/suggest/browser/simpleCompletionItem.d.ts +0 -28
- package/vscode/src/vs/workbench/services/suggest/browser/simpleCompletionItem.js +0 -10
- package/vscode/src/vs/workbench/services/suggest/browser/simpleCompletionModel.d.ts +0 -30
- package/vscode/src/vs/workbench/services/suggest/browser/simpleCompletionModel.js +0 -98
- package/vscode/src/vs/workbench/services/suggest/browser/simpleSuggestWidget.d.ts +0 -10
- package/vscode/src/vs/workbench/services/suggest/browser/simpleSuggestWidget.js +0 -428
- package/vscode/src/vs/workbench/services/suggest/browser/simpleSuggestWidgetRenderer.js +0 -83
- package/vscode-dts/vscode.proposed.chatVariables.d.ts +0 -39
- package/vscode-dts/vscode.proposed.interactiveUserActions.d.ts +0 -77
- package/vscode-dts/vscode.proposed.saveEditor.d.ts +0 -35
- package/vscode-dts/vscode.proposed.scmInputBoxValueProvider.d.ts +0 -25
- package/vscode-dts/vscode.proposed.testingActiveProfile.d.ts +0 -21
|
@@ -514,6 +514,26 @@ const PANEL_SECTION_BORDER = registerColor('panelSection.border', {
|
|
|
514
514
|
'panelSectionBorder',
|
|
515
515
|
"Panel section border color used when multiple views are stacked horizontally in the panel. Panels are shown below the editor area and contain views like output and integrated terminal. Panel sections are views nested within the panels."
|
|
516
516
|
)));
|
|
517
|
+
const OUTPUT_VIEW_BACKGROUND = registerColor('outputView.background', {
|
|
518
|
+
dark: null,
|
|
519
|
+
light: null,
|
|
520
|
+
hcDark: null,
|
|
521
|
+
hcLight: null
|
|
522
|
+
}, ( localizeWithPath(
|
|
523
|
+
'vs/workbench/common/theme',
|
|
524
|
+
'outputViewBackground',
|
|
525
|
+
"Output view background color."
|
|
526
|
+
)));
|
|
527
|
+
registerColor('outputViewStickyScroll.background', {
|
|
528
|
+
dark: OUTPUT_VIEW_BACKGROUND,
|
|
529
|
+
light: OUTPUT_VIEW_BACKGROUND,
|
|
530
|
+
hcDark: OUTPUT_VIEW_BACKGROUND,
|
|
531
|
+
hcLight: OUTPUT_VIEW_BACKGROUND
|
|
532
|
+
}, ( localizeWithPath(
|
|
533
|
+
'vs/workbench/common/theme',
|
|
534
|
+
'outputViewStickyScrollBackground',
|
|
535
|
+
"Output view sticky scroll background color."
|
|
536
|
+
)));
|
|
517
537
|
registerColor('banner.background', {
|
|
518
538
|
dark: listActiveSelectionBackground,
|
|
519
539
|
light: ( darken(listActiveSelectionBackground, 0.3)),
|
|
@@ -884,6 +904,46 @@ const ACTIVITY_BAR_BADGE_FOREGROUND = registerColor('activityBarBadge.foreground
|
|
|
884
904
|
'activityBarBadgeForeground',
|
|
885
905
|
"Activity notification badge foreground color. The activity bar is showing on the far left or right and allows to switch between views of the side bar."
|
|
886
906
|
)));
|
|
907
|
+
const ACTIVITY_BAR_TOP_FOREGROUND = registerColor('activityBarTop.foreground', {
|
|
908
|
+
dark: '#E7E7E7',
|
|
909
|
+
light: '#424242',
|
|
910
|
+
hcDark: Color.white,
|
|
911
|
+
hcLight: editorForeground
|
|
912
|
+
}, ( localizeWithPath(
|
|
913
|
+
'vs/workbench/common/theme',
|
|
914
|
+
'activityBarTop',
|
|
915
|
+
"Active foreground color of the item in the Activity bar when it is on top. The activity allows to switch between views of the side bar."
|
|
916
|
+
)));
|
|
917
|
+
const ACTIVITY_BAR_TOP_ACTIVE_BORDER = registerColor('activityBarTop.activeBorder', {
|
|
918
|
+
dark: ACTIVITY_BAR_TOP_FOREGROUND,
|
|
919
|
+
light: ACTIVITY_BAR_TOP_FOREGROUND,
|
|
920
|
+
hcDark: contrastBorder,
|
|
921
|
+
hcLight: '#B5200D'
|
|
922
|
+
}, ( localizeWithPath(
|
|
923
|
+
'vs/workbench/common/theme',
|
|
924
|
+
'activityBarTopActiveFocusBorder',
|
|
925
|
+
"Focus border color for the active item in the Activity bar when it is on top. The activity allows to switch between views of the side bar."
|
|
926
|
+
)));
|
|
927
|
+
const ACTIVITY_BAR_TOP_INACTIVE_FOREGROUND = registerColor('activityBarTop.inactiveForeground', {
|
|
928
|
+
dark: ( transparent(ACTIVITY_BAR_TOP_FOREGROUND, 0.6)),
|
|
929
|
+
light: ( transparent(ACTIVITY_BAR_TOP_FOREGROUND, 0.75)),
|
|
930
|
+
hcDark: Color.white,
|
|
931
|
+
hcLight: editorForeground
|
|
932
|
+
}, ( localizeWithPath(
|
|
933
|
+
'vs/workbench/common/theme',
|
|
934
|
+
'activityBarTopInActiveForeground',
|
|
935
|
+
"Inactive foreground color of the item in the Activity bar when it is on top. The activity allows to switch between views of the side bar."
|
|
936
|
+
)));
|
|
937
|
+
const ACTIVITY_BAR_TOP_DRAG_AND_DROP_BORDER = registerColor('activityBarTop.dropBorder', {
|
|
938
|
+
dark: ACTIVITY_BAR_TOP_FOREGROUND,
|
|
939
|
+
light: ACTIVITY_BAR_TOP_FOREGROUND,
|
|
940
|
+
hcDark: ACTIVITY_BAR_TOP_FOREGROUND,
|
|
941
|
+
hcLight: ACTIVITY_BAR_TOP_FOREGROUND
|
|
942
|
+
}, ( localizeWithPath(
|
|
943
|
+
'vs/workbench/common/theme',
|
|
944
|
+
'activityBarTopDragAndDropBorder',
|
|
945
|
+
"Drag and drop feedback color for the items in the Activity bar when it is on top. The activity allows to switch between views of the side bar."
|
|
946
|
+
)));
|
|
887
947
|
registerColor('profileBadge.background', {
|
|
888
948
|
dark: '#4D4D4D',
|
|
889
949
|
light: '#C4C4C4',
|
|
@@ -1330,4 +1390,4 @@ registerColor('window.inactiveBorder', {
|
|
|
1330
1390
|
'windowInactiveBorder',
|
|
1331
1391
|
"The color used for the border of the window when it is inactive. Only supported in the macOS and Linux desktop client when using the custom title bar."
|
|
1332
1392
|
)));
|
|
1333
|
-
export { ACTIVITY_BAR_ACTIVE_BACKGROUND, ACTIVITY_BAR_ACTIVE_BORDER, ACTIVITY_BAR_ACTIVE_FOCUS_BORDER, ACTIVITY_BAR_BACKGROUND, ACTIVITY_BAR_BADGE_BACKGROUND, ACTIVITY_BAR_BADGE_FOREGROUND, ACTIVITY_BAR_BORDER, ACTIVITY_BAR_DRAG_AND_DROP_BORDER, ACTIVITY_BAR_FOREGROUND, ACTIVITY_BAR_INACTIVE_FOREGROUND, COMMAND_CENTER_BACKGROUND, EDITOR_DRAG_AND_DROP_BACKGROUND, EDITOR_DROP_INTO_PROMPT_BACKGROUND, EDITOR_DROP_INTO_PROMPT_BORDER, EDITOR_DROP_INTO_PROMPT_FOREGROUND, EDITOR_GROUP_BORDER, EDITOR_GROUP_EMPTY_BACKGROUND, EDITOR_GROUP_HEADER_BORDER, EDITOR_GROUP_HEADER_NO_TABS_BACKGROUND, EDITOR_GROUP_HEADER_TABS_BACKGROUND, EDITOR_GROUP_HEADER_TABS_BORDER, EDITOR_PANE_BACKGROUND, EXTENSION_BADGE_REMOTE_BACKGROUND, EXTENSION_BADGE_REMOTE_FOREGROUND, MENUBAR_SELECTION_BACKGROUND, MENUBAR_SELECTION_FOREGROUND, NOTIFICATIONS_BACKGROUND, NOTIFICATIONS_CENTER_BORDER, NOTIFICATIONS_CENTER_HEADER_BACKGROUND, NOTIFICATIONS_CENTER_HEADER_FOREGROUND, NOTIFICATIONS_TOAST_BORDER, PANEL_ACTIVE_TITLE_BORDER, PANEL_ACTIVE_TITLE_FOREGROUND, PANEL_BACKGROUND, PANEL_BORDER, PANEL_DRAG_AND_DROP_BORDER, PANEL_INACTIVE_TITLE_FOREGROUND, PANEL_SECTION_BORDER, PANEL_SECTION_DRAG_AND_DROP_BACKGROUND, PANEL_SECTION_HEADER_BACKGROUND, PANEL_SECTION_HEADER_BORDER, PANEL_SECTION_HEADER_FOREGROUND, SIDE_BAR_BACKGROUND, SIDE_BAR_BORDER, SIDE_BAR_DRAG_AND_DROP_BACKGROUND, SIDE_BAR_FOREGROUND, SIDE_BAR_SECTION_HEADER_BACKGROUND, SIDE_BAR_SECTION_HEADER_BORDER, SIDE_BAR_SECTION_HEADER_FOREGROUND, SIDE_BAR_TITLE_FOREGROUND, SIDE_BY_SIDE_EDITOR_HORIZONTAL_BORDER, SIDE_BY_SIDE_EDITOR_VERTICAL_BORDER, STATUS_BAR_BACKGROUND, STATUS_BAR_BORDER, STATUS_BAR_ERROR_ITEM_BACKGROUND, STATUS_BAR_FOCUS_BORDER, STATUS_BAR_FOREGROUND, STATUS_BAR_ITEM_COMPACT_HOVER_BACKGROUND, STATUS_BAR_ITEM_FOCUS_BORDER, STATUS_BAR_ITEM_HOVER_BACKGROUND, STATUS_BAR_ITEM_HOVER_FOREGROUND, STATUS_BAR_NO_FOLDER_BACKGROUND, STATUS_BAR_NO_FOLDER_BORDER, STATUS_BAR_NO_FOLDER_FOREGROUND, STATUS_BAR_REMOTE_ITEM_BACKGROUND, STATUS_BAR_REMOTE_ITEM_FOREGROUND, STATUS_BAR_WARNING_ITEM_BACKGROUND, TAB_ACTIVE_BACKGROUND, TAB_ACTIVE_BORDER, TAB_ACTIVE_BORDER_TOP, TAB_ACTIVE_FOREGROUND, TAB_ACTIVE_MODIFIED_BORDER, TAB_BORDER, TAB_HOVER_BACKGROUND, TAB_HOVER_BORDER, TAB_HOVER_FOREGROUND, TAB_INACTIVE_BACKGROUND, TAB_INACTIVE_FOREGROUND, TAB_INACTIVE_MODIFIED_BORDER, TAB_LAST_PINNED_BORDER, TAB_UNFOCUSED_ACTIVE_BACKGROUND, TAB_UNFOCUSED_ACTIVE_BORDER, TAB_UNFOCUSED_ACTIVE_BORDER_TOP, TAB_UNFOCUSED_ACTIVE_FOREGROUND, TAB_UNFOCUSED_ACTIVE_MODIFIED_BORDER, TAB_UNFOCUSED_HOVER_BACKGROUND, TAB_UNFOCUSED_HOVER_BORDER, TAB_UNFOCUSED_HOVER_FOREGROUND, TAB_UNFOCUSED_INACTIVE_BACKGROUND, TAB_UNFOCUSED_INACTIVE_FOREGROUND, TAB_UNFOCUSED_INACTIVE_MODIFIED_BORDER, TITLE_BAR_ACTIVE_BACKGROUND, TITLE_BAR_ACTIVE_FOREGROUND, TITLE_BAR_BORDER, TITLE_BAR_INACTIVE_BACKGROUND, TITLE_BAR_INACTIVE_FOREGROUND, WORKBENCH_BACKGROUND };
|
|
1393
|
+
export { ACTIVITY_BAR_ACTIVE_BACKGROUND, ACTIVITY_BAR_ACTIVE_BORDER, ACTIVITY_BAR_ACTIVE_FOCUS_BORDER, ACTIVITY_BAR_BACKGROUND, ACTIVITY_BAR_BADGE_BACKGROUND, ACTIVITY_BAR_BADGE_FOREGROUND, ACTIVITY_BAR_BORDER, ACTIVITY_BAR_DRAG_AND_DROP_BORDER, ACTIVITY_BAR_FOREGROUND, ACTIVITY_BAR_INACTIVE_FOREGROUND, ACTIVITY_BAR_TOP_ACTIVE_BORDER, ACTIVITY_BAR_TOP_DRAG_AND_DROP_BORDER, ACTIVITY_BAR_TOP_FOREGROUND, ACTIVITY_BAR_TOP_INACTIVE_FOREGROUND, COMMAND_CENTER_BACKGROUND, EDITOR_DRAG_AND_DROP_BACKGROUND, EDITOR_DROP_INTO_PROMPT_BACKGROUND, EDITOR_DROP_INTO_PROMPT_BORDER, EDITOR_DROP_INTO_PROMPT_FOREGROUND, EDITOR_GROUP_BORDER, EDITOR_GROUP_EMPTY_BACKGROUND, EDITOR_GROUP_HEADER_BORDER, EDITOR_GROUP_HEADER_NO_TABS_BACKGROUND, EDITOR_GROUP_HEADER_TABS_BACKGROUND, EDITOR_GROUP_HEADER_TABS_BORDER, EDITOR_PANE_BACKGROUND, EXTENSION_BADGE_REMOTE_BACKGROUND, EXTENSION_BADGE_REMOTE_FOREGROUND, MENUBAR_SELECTION_BACKGROUND, MENUBAR_SELECTION_FOREGROUND, NOTIFICATIONS_BACKGROUND, NOTIFICATIONS_CENTER_BORDER, NOTIFICATIONS_CENTER_HEADER_BACKGROUND, NOTIFICATIONS_CENTER_HEADER_FOREGROUND, NOTIFICATIONS_TOAST_BORDER, PANEL_ACTIVE_TITLE_BORDER, PANEL_ACTIVE_TITLE_FOREGROUND, PANEL_BACKGROUND, PANEL_BORDER, PANEL_DRAG_AND_DROP_BORDER, PANEL_INACTIVE_TITLE_FOREGROUND, PANEL_SECTION_BORDER, PANEL_SECTION_DRAG_AND_DROP_BACKGROUND, PANEL_SECTION_HEADER_BACKGROUND, PANEL_SECTION_HEADER_BORDER, PANEL_SECTION_HEADER_FOREGROUND, SIDE_BAR_BACKGROUND, SIDE_BAR_BORDER, SIDE_BAR_DRAG_AND_DROP_BACKGROUND, SIDE_BAR_FOREGROUND, SIDE_BAR_SECTION_HEADER_BACKGROUND, SIDE_BAR_SECTION_HEADER_BORDER, SIDE_BAR_SECTION_HEADER_FOREGROUND, SIDE_BAR_TITLE_FOREGROUND, SIDE_BY_SIDE_EDITOR_HORIZONTAL_BORDER, SIDE_BY_SIDE_EDITOR_VERTICAL_BORDER, STATUS_BAR_BACKGROUND, STATUS_BAR_BORDER, STATUS_BAR_ERROR_ITEM_BACKGROUND, STATUS_BAR_FOCUS_BORDER, STATUS_BAR_FOREGROUND, STATUS_BAR_ITEM_COMPACT_HOVER_BACKGROUND, STATUS_BAR_ITEM_FOCUS_BORDER, STATUS_BAR_ITEM_HOVER_BACKGROUND, STATUS_BAR_ITEM_HOVER_FOREGROUND, STATUS_BAR_NO_FOLDER_BACKGROUND, STATUS_BAR_NO_FOLDER_BORDER, STATUS_BAR_NO_FOLDER_FOREGROUND, STATUS_BAR_REMOTE_ITEM_BACKGROUND, STATUS_BAR_REMOTE_ITEM_FOREGROUND, STATUS_BAR_WARNING_ITEM_BACKGROUND, TAB_ACTIVE_BACKGROUND, TAB_ACTIVE_BORDER, TAB_ACTIVE_BORDER_TOP, TAB_ACTIVE_FOREGROUND, TAB_ACTIVE_MODIFIED_BORDER, TAB_BORDER, TAB_HOVER_BACKGROUND, TAB_HOVER_BORDER, TAB_HOVER_FOREGROUND, TAB_INACTIVE_BACKGROUND, TAB_INACTIVE_FOREGROUND, TAB_INACTIVE_MODIFIED_BORDER, TAB_LAST_PINNED_BORDER, TAB_UNFOCUSED_ACTIVE_BACKGROUND, TAB_UNFOCUSED_ACTIVE_BORDER, TAB_UNFOCUSED_ACTIVE_BORDER_TOP, TAB_UNFOCUSED_ACTIVE_FOREGROUND, TAB_UNFOCUSED_ACTIVE_MODIFIED_BORDER, TAB_UNFOCUSED_HOVER_BACKGROUND, TAB_UNFOCUSED_HOVER_BORDER, TAB_UNFOCUSED_HOVER_FOREGROUND, TAB_UNFOCUSED_INACTIVE_BACKGROUND, TAB_UNFOCUSED_INACTIVE_FOREGROUND, TAB_UNFOCUSED_INACTIVE_MODIFIED_BORDER, TITLE_BAR_ACTIVE_BACKGROUND, TITLE_BAR_ACTIVE_FOREGROUND, TITLE_BAR_BORDER, TITLE_BAR_INACTIVE_BACKGROUND, TITLE_BAR_INACTIVE_FOREGROUND, WORKBENCH_BACKGROUND };
|
|
@@ -9,7 +9,6 @@ import Severity from '../../base/common/severity.js';
|
|
|
9
9
|
import { IKeybindings } from '../../platform/keybinding/common/keybindingsRegistry.js';
|
|
10
10
|
import { SyncDescriptor } from '../../platform/instantiation/common/descriptors.js';
|
|
11
11
|
import { IProgressIndicator } from '../../platform/progress/common/progress.js';
|
|
12
|
-
import { IPaneComposite } from './panecomposite.js';
|
|
13
12
|
import { ILocalizedString } from '../../platform/action/common/action.js';
|
|
14
13
|
|
|
15
14
|
declare const enum ViewContainerLocation {
|
|
@@ -159,32 +158,6 @@ interface IView {
|
|
|
159
158
|
setExpanded(expanded: boolean): boolean;
|
|
160
159
|
getProgressIndicator(): IProgressIndicator | undefined;
|
|
161
160
|
}
|
|
162
|
-
declare const IViewsService: ServiceIdentifier<IViewsService>;
|
|
163
|
-
interface IViewsService {
|
|
164
|
-
readonly _serviceBrand: undefined;
|
|
165
|
-
readonly onDidChangeViewContainerVisibility: Event<{
|
|
166
|
-
id: string;
|
|
167
|
-
visible: boolean;
|
|
168
|
-
location: ViewContainerLocation;
|
|
169
|
-
}>;
|
|
170
|
-
isViewContainerVisible(id: string): boolean;
|
|
171
|
-
openViewContainer(id: string, focus?: boolean): Promise<IPaneComposite | null>;
|
|
172
|
-
closeViewContainer(id: string): void;
|
|
173
|
-
getVisibleViewContainer(location: ViewContainerLocation): ViewContainer | null;
|
|
174
|
-
getActiveViewPaneContainerWithId(viewContainerId: string): IViewPaneContainer | null;
|
|
175
|
-
getFocusedViewName(): string;
|
|
176
|
-
readonly onDidChangeViewVisibility: Event<{
|
|
177
|
-
id: string;
|
|
178
|
-
visible: boolean;
|
|
179
|
-
}>;
|
|
180
|
-
readonly onDidChangeFocusedView: Event<void>;
|
|
181
|
-
isViewVisible(id: string): boolean;
|
|
182
|
-
openView<T extends IView>(id: string, focus?: boolean): Promise<T | null>;
|
|
183
|
-
closeView(id: string): void;
|
|
184
|
-
getActiveViewWithId<T extends IView>(id: string): T | null;
|
|
185
|
-
getViewWithId<T extends IView>(id: string): T | null;
|
|
186
|
-
getViewProgressIndicator(id: string): IProgressIndicator | undefined;
|
|
187
|
-
}
|
|
188
161
|
declare enum ViewVisibilityState {
|
|
189
162
|
Default = 0,
|
|
190
163
|
Expand = 1
|
|
@@ -258,4 +231,4 @@ interface IViewPaneContainer {
|
|
|
258
231
|
toggleViewVisibility(viewId: string): void;
|
|
259
232
|
}
|
|
260
233
|
|
|
261
|
-
export { type IAddedViewDescriptorRef, type IEditableData, type IView, type IViewContainerDescriptor, type IViewContainerModel, type IViewDescriptor, type IViewDescriptorRef, IViewDescriptorService, type IViewPaneContainer,
|
|
234
|
+
export { type IAddedViewDescriptorRef, type IEditableData, type IView, type IViewContainerDescriptor, type IViewContainerModel, type IViewDescriptor, type IViewDescriptorRef, IViewDescriptorService, type IViewPaneContainer, type ViewContainer, ViewContainerLocation, ViewVisibilityState };
|
|
@@ -230,7 +230,6 @@ class ViewsRegistry extends Disposable {
|
|
|
230
230
|
}
|
|
231
231
|
}
|
|
232
232
|
Registry.add(Extensions.ViewsRegistry, ( new ViewsRegistry()));
|
|
233
|
-
const IViewsService = ( createDecorator('viewsService'));
|
|
234
233
|
const IViewDescriptorService = ( createDecorator('viewDescriptorService'));
|
|
235
234
|
var ViewVisibilityState;
|
|
236
235
|
( (function(ViewVisibilityState) {
|
|
@@ -301,4 +300,4 @@ class NoTreeViewError extends Error {
|
|
|
301
300
|
return err.name === 'NoTreeViewError';
|
|
302
301
|
}
|
|
303
302
|
}
|
|
304
|
-
export { Extensions, IViewDescriptorService,
|
|
303
|
+
export { Extensions, IViewDescriptorService, NoTreeViewError, ResolvableTreeItem, TreeItemCollapsibleState, VIEWS_LOG_ID, VIEWS_LOG_NAME, ViewContainerLocation, ViewContainerLocationToString, ViewContainerLocations, ViewContentGroups, ViewVisibilityState, defaultViewIcon };
|
|
@@ -1,8 +1,12 @@
|
|
|
1
|
+
import { __decorate, __param } from '../../../../../../../external/tslib/tslib.es6.js';
|
|
1
2
|
import { localizeWithPath } from '../../../../nls.js';
|
|
2
3
|
import { Extensions } from '../../../../platform/configuration/common/configurationRegistry.js';
|
|
3
4
|
import { Registry } from '../../../../platform/registry/common/platform.js';
|
|
4
5
|
import { RawContextKey } from '../../../../platform/contextkey/common/contextkey.js';
|
|
5
6
|
import { workbenchConfigurationNodeBase } from '../../../common/configuration.js';
|
|
7
|
+
import { ISpeechService } from '../../speech/common/speechService.js';
|
|
8
|
+
import { Disposable } from '../../../../base/common/lifecycle.js';
|
|
9
|
+
import { Event } from '../../../../base/common/event.js';
|
|
6
10
|
const accessibilityHelpIsShown = ( new RawContextKey('accessibilityHelpIsShown', false, true));
|
|
7
11
|
const accessibleViewIsShown = ( new RawContextKey('accessibleViewIsShown', false, true));
|
|
8
12
|
const accessibleViewSupportsNavigation = ( new RawContextKey('accessibleViewSupportsNavigation', false, true));
|
|
@@ -10,20 +14,22 @@ const accessibleViewVerbosityEnabled = ( new RawContextKey('accessibleViewVerbos
|
|
|
10
14
|
const accessibleViewGoToSymbolSupported = ( new RawContextKey('accessibleViewGoToSymbolSupported', false, true));
|
|
11
15
|
const accessibleViewOnLastLine = ( new RawContextKey('accessibleViewOnLastLine', false, true));
|
|
12
16
|
const accessibleViewCurrentProviderId = ( new RawContextKey('accessibleViewCurrentProviderId', undefined, undefined));
|
|
13
|
-
const SpeechTimeoutDefault = 1200;
|
|
14
17
|
const baseProperty = {
|
|
15
18
|
type: 'boolean',
|
|
16
19
|
default: true,
|
|
17
20
|
tags: ['accessibility']
|
|
18
21
|
};
|
|
19
|
-
const
|
|
22
|
+
const accessibilityConfigurationNodeBase = ( Object.freeze({
|
|
20
23
|
id: 'accessibility',
|
|
21
24
|
title: ( localizeWithPath(
|
|
22
25
|
'vs/workbench/contrib/accessibility/browser/accessibilityConfiguration',
|
|
23
26
|
'accessibilityConfigurationTitle',
|
|
24
27
|
"Accessibility"
|
|
25
28
|
)),
|
|
26
|
-
type: 'object'
|
|
29
|
+
type: 'object'
|
|
30
|
+
}));
|
|
31
|
+
const configuration = {
|
|
32
|
+
...accessibilityConfigurationNodeBase,
|
|
27
33
|
properties: {
|
|
28
34
|
["accessibility.verbosity.terminal" ]: {
|
|
29
35
|
description: ( localizeWithPath(
|
|
@@ -61,7 +67,7 @@ const configuration = {
|
|
|
61
67
|
description: ( localizeWithPath(
|
|
62
68
|
'vs/workbench/contrib/accessibility/browser/accessibilityConfiguration',
|
|
63
69
|
'verbosity.inlineCompletions.description',
|
|
64
|
-
'Provide information about how to access the inline completions hover and
|
|
70
|
+
'Provide information about how to access the inline completions hover and Accessible View.'
|
|
65
71
|
)),
|
|
66
72
|
...baseProperty
|
|
67
73
|
},
|
|
@@ -85,7 +91,7 @@ const configuration = {
|
|
|
85
91
|
description: ( localizeWithPath(
|
|
86
92
|
'vs/workbench/contrib/accessibility/browser/accessibilityConfiguration',
|
|
87
93
|
'verbosity.hover',
|
|
88
|
-
'Provide information about how to open the hover in an
|
|
94
|
+
'Provide information about how to open the hover in an Accessible View.'
|
|
89
95
|
)),
|
|
90
96
|
...baseProperty
|
|
91
97
|
},
|
|
@@ -93,7 +99,7 @@ const configuration = {
|
|
|
93
99
|
description: ( localizeWithPath(
|
|
94
100
|
'vs/workbench/contrib/accessibility/browser/accessibilityConfiguration',
|
|
95
101
|
'verbosity.notification',
|
|
96
|
-
'Provide information about how to open the notification in an
|
|
102
|
+
'Provide information about how to open the notification in an Accessible View.'
|
|
97
103
|
)),
|
|
98
104
|
...baseProperty
|
|
99
105
|
},
|
|
@@ -117,10 +123,9 @@ const configuration = {
|
|
|
117
123
|
'markdownDescription': ( localizeWithPath(
|
|
118
124
|
'vs/workbench/contrib/accessibility/browser/accessibilityConfiguration',
|
|
119
125
|
'alert.save',
|
|
120
|
-
"
|
|
126
|
+
"Alerts when a file is saved. Also see {0}.",
|
|
121
127
|
'`#audioCues.save#`'
|
|
122
128
|
)),
|
|
123
|
-
'type': 'string',
|
|
124
129
|
'enum': ['userGesture', 'always', 'never'],
|
|
125
130
|
'default': 'always',
|
|
126
131
|
'enumDescriptions': [
|
|
@@ -142,11 +147,22 @@ const configuration = {
|
|
|
142
147
|
],
|
|
143
148
|
tags: ['accessibility']
|
|
144
149
|
},
|
|
150
|
+
["accessibility.alert.clear" ]: {
|
|
151
|
+
'markdownDescription': ( localizeWithPath(
|
|
152
|
+
'vs/workbench/contrib/accessibility/browser/accessibilityConfiguration',
|
|
153
|
+
'alert.clear',
|
|
154
|
+
"Alerts when a feature is cleared (for example, the terminal, Debug Console, or Output channel). Also see {0}.",
|
|
155
|
+
'`#audioCues.clear#`'
|
|
156
|
+
)),
|
|
157
|
+
'type': 'boolean',
|
|
158
|
+
'default': true,
|
|
159
|
+
tags: ['accessibility']
|
|
160
|
+
},
|
|
145
161
|
["accessibility.alert.format" ]: {
|
|
146
162
|
'markdownDescription': ( localizeWithPath(
|
|
147
163
|
'vs/workbench/contrib/accessibility/browser/accessibilityConfiguration',
|
|
148
164
|
'alert.format',
|
|
149
|
-
"
|
|
165
|
+
"Alerts when a file or notebook cell is formatted. Also see {0}.",
|
|
150
166
|
'`#audioCues.format#`'
|
|
151
167
|
)),
|
|
152
168
|
'type': 'string',
|
|
@@ -171,22 +187,186 @@ const configuration = {
|
|
|
171
187
|
],
|
|
172
188
|
tags: ['accessibility']
|
|
173
189
|
},
|
|
174
|
-
["accessibility.
|
|
190
|
+
["accessibility.alert.breakpoint" ]: {
|
|
191
|
+
'markdownDescription': ( localizeWithPath(
|
|
192
|
+
'vs/workbench/contrib/accessibility/browser/accessibilityConfiguration',
|
|
193
|
+
'alert.breakpoint',
|
|
194
|
+
"Alerts when the active line has a breakpoint. Also see {0}.",
|
|
195
|
+
'`#audioCues.onDebugBreak#`'
|
|
196
|
+
)),
|
|
197
|
+
'type': 'boolean',
|
|
198
|
+
'default': true,
|
|
199
|
+
tags: ['accessibility']
|
|
200
|
+
},
|
|
201
|
+
["accessibility.alert.error" ]: {
|
|
202
|
+
'markdownDescription': ( localizeWithPath(
|
|
203
|
+
'vs/workbench/contrib/accessibility/browser/accessibilityConfiguration',
|
|
204
|
+
'alert.error',
|
|
205
|
+
"Alerts when the active line has an error. Also see {0}.",
|
|
206
|
+
'`#audioCues.lineHasError#`'
|
|
207
|
+
)),
|
|
208
|
+
'type': 'boolean',
|
|
209
|
+
'default': true,
|
|
210
|
+
tags: ['accessibility']
|
|
211
|
+
},
|
|
212
|
+
["accessibility.alert.warning" ]: {
|
|
213
|
+
'markdownDescription': ( localizeWithPath(
|
|
214
|
+
'vs/workbench/contrib/accessibility/browser/accessibilityConfiguration',
|
|
215
|
+
'alert.warning',
|
|
216
|
+
"Alerts when the active line has a warning. Also see {0}.",
|
|
217
|
+
'`#audioCues.lineHasWarning#`'
|
|
218
|
+
)),
|
|
219
|
+
'type': 'boolean',
|
|
220
|
+
'default': true,
|
|
221
|
+
tags: ['accessibility']
|
|
222
|
+
},
|
|
223
|
+
["accessibility.alert.foldedArea" ]: {
|
|
224
|
+
'markdownDescription': ( localizeWithPath(
|
|
225
|
+
'vs/workbench/contrib/accessibility/browser/accessibilityConfiguration',
|
|
226
|
+
'alert.foldedArea',
|
|
227
|
+
"Alerts when the active line has a folded area that can be unfolded. Also see {0}.",
|
|
228
|
+
'`#audioCues.lineHasFoldedArea#`'
|
|
229
|
+
)),
|
|
230
|
+
'type': 'boolean',
|
|
231
|
+
'default': true,
|
|
232
|
+
tags: ['accessibility']
|
|
233
|
+
},
|
|
234
|
+
["accessibility.alert.terminalQuickFix" ]: {
|
|
175
235
|
'markdownDescription': ( localizeWithPath(
|
|
176
236
|
'vs/workbench/contrib/accessibility/browser/accessibilityConfiguration',
|
|
177
|
-
'
|
|
178
|
-
"
|
|
237
|
+
'alert.terminalQuickFix',
|
|
238
|
+
"Alerts when there is an available terminal quick fix. Also see {0}.",
|
|
239
|
+
'`#audioCues.terminalQuickFix#`'
|
|
179
240
|
)),
|
|
180
|
-
'type': '
|
|
181
|
-
'default':
|
|
182
|
-
'
|
|
183
|
-
|
|
241
|
+
'type': 'boolean',
|
|
242
|
+
'default': true,
|
|
243
|
+
tags: ['accessibility']
|
|
244
|
+
},
|
|
245
|
+
["accessibility.alert.terminalBell" ]: {
|
|
246
|
+
'markdownDescription': ( localizeWithPath(
|
|
247
|
+
'vs/workbench/contrib/accessibility/browser/accessibilityConfiguration',
|
|
248
|
+
'alert.terminalBell',
|
|
249
|
+
"Alerts when the terminal bell is activated."
|
|
250
|
+
)),
|
|
251
|
+
'type': 'boolean',
|
|
252
|
+
'default': true,
|
|
253
|
+
tags: ['accessibility']
|
|
254
|
+
},
|
|
255
|
+
["accessibility.alert.terminalCommandFailed" ]: {
|
|
256
|
+
'markdownDescription': ( localizeWithPath(
|
|
257
|
+
'vs/workbench/contrib/accessibility/browser/accessibilityConfiguration',
|
|
258
|
+
'alert.terminalCommandFailed',
|
|
259
|
+
"Alerts when a terminal command fails (non-zero exit code). Also see {0}.",
|
|
260
|
+
'`#audioCues.terminalCommandFailed#`'
|
|
261
|
+
)),
|
|
262
|
+
'type': 'boolean',
|
|
263
|
+
'default': true,
|
|
264
|
+
tags: ['accessibility']
|
|
265
|
+
},
|
|
266
|
+
["accessibility.alert.taskFailed" ]: {
|
|
267
|
+
'markdownDescription': ( localizeWithPath(
|
|
268
|
+
'vs/workbench/contrib/accessibility/browser/accessibilityConfiguration',
|
|
269
|
+
'alert.taskFailed',
|
|
270
|
+
"Alerts when a task fails (non-zero exit code). Also see {0}.",
|
|
271
|
+
'`#audioCues.taskFailed#`'
|
|
272
|
+
)),
|
|
273
|
+
'type': 'boolean',
|
|
274
|
+
'default': true,
|
|
275
|
+
tags: ['accessibility']
|
|
276
|
+
},
|
|
277
|
+
["accessibility.alert.taskCompleted" ]: {
|
|
278
|
+
'markdownDescription': ( localizeWithPath(
|
|
279
|
+
'vs/workbench/contrib/accessibility/browser/accessibilityConfiguration',
|
|
280
|
+
'alert.taskCompleted',
|
|
281
|
+
"Alerts when a task completes successfully (zero exit code). Also see {0}.",
|
|
282
|
+
'`#audioCues.taskCompleted#`'
|
|
283
|
+
)),
|
|
284
|
+
'type': 'boolean',
|
|
285
|
+
'default': true,
|
|
286
|
+
tags: ['accessibility']
|
|
287
|
+
},
|
|
288
|
+
["accessibility.alert.chatRequestSent" ]: {
|
|
289
|
+
'markdownDescription': ( localizeWithPath(
|
|
290
|
+
'vs/workbench/contrib/accessibility/browser/accessibilityConfiguration',
|
|
291
|
+
'alert.chatRequestSent',
|
|
292
|
+
"Alerts when a chat request is sent. Also see {0}.",
|
|
293
|
+
'`#audioCues.chatRequestSent#`'
|
|
294
|
+
)),
|
|
295
|
+
'type': 'boolean',
|
|
296
|
+
'default': true,
|
|
297
|
+
tags: ['accessibility']
|
|
298
|
+
},
|
|
299
|
+
["accessibility.alert.chatResponsePending" ]: {
|
|
300
|
+
'markdownDescription': ( localizeWithPath(
|
|
301
|
+
'vs/workbench/contrib/accessibility/browser/accessibilityConfiguration',
|
|
302
|
+
'alert.chatResponsePending',
|
|
303
|
+
"Alerts when a chat response is pending. Also see {0}.",
|
|
304
|
+
'`#audioCues.chatResponsePending#`'
|
|
305
|
+
)),
|
|
306
|
+
'type': 'boolean',
|
|
307
|
+
'default': true,
|
|
308
|
+
tags: ['accessibility']
|
|
309
|
+
},
|
|
310
|
+
["accessibility.alert.noInlayHints" ]: {
|
|
311
|
+
'markdownDescription': ( localizeWithPath(
|
|
312
|
+
'vs/workbench/contrib/accessibility/browser/accessibilityConfiguration',
|
|
313
|
+
'alert.noInlayHints',
|
|
314
|
+
"Alerts when there are no inlay hints. Also see {0}.",
|
|
315
|
+
'`#audioCues.noInlayHints#`'
|
|
316
|
+
)),
|
|
317
|
+
'type': 'boolean',
|
|
318
|
+
'default': true,
|
|
319
|
+
tags: ['accessibility']
|
|
320
|
+
},
|
|
321
|
+
["accessibility.alert.lineHasBreakpoint" ]: {
|
|
322
|
+
'markdownDescription': ( localizeWithPath(
|
|
323
|
+
'vs/workbench/contrib/accessibility/browser/accessibilityConfiguration',
|
|
324
|
+
'alert.lineHasBreakpoint',
|
|
325
|
+
"Alerts when on a line with a breakpoint. Also see {0}.",
|
|
326
|
+
'`#audioCues.lineHasBreakpoint#`'
|
|
327
|
+
)),
|
|
328
|
+
'type': 'boolean',
|
|
329
|
+
'default': true,
|
|
330
|
+
tags: ['accessibility']
|
|
331
|
+
},
|
|
332
|
+
["accessibility.alert.notebookCellCompleted" ]: {
|
|
333
|
+
'markdownDescription': ( localizeWithPath(
|
|
334
|
+
'vs/workbench/contrib/accessibility/browser/accessibilityConfiguration',
|
|
335
|
+
'alert.notebookCellCompleted',
|
|
336
|
+
"Alerts when a notebook cell completes successfully. Also see {0}.",
|
|
337
|
+
'`#audioCues.notebookCellCompleted#`'
|
|
338
|
+
)),
|
|
339
|
+
'type': 'boolean',
|
|
340
|
+
'default': true,
|
|
341
|
+
tags: ['accessibility']
|
|
342
|
+
},
|
|
343
|
+
["accessibility.alert.notebookCellFailed" ]: {
|
|
344
|
+
'markdownDescription': ( localizeWithPath(
|
|
345
|
+
'vs/workbench/contrib/accessibility/browser/accessibilityConfiguration',
|
|
346
|
+
'alert.notebookCellFailed',
|
|
347
|
+
"Alerts when a notebook cell fails. Also see {0}.",
|
|
348
|
+
'`#audioCues.notebookCellFailed#`'
|
|
349
|
+
)),
|
|
350
|
+
'type': 'boolean',
|
|
351
|
+
'default': true,
|
|
352
|
+
tags: ['accessibility']
|
|
353
|
+
},
|
|
354
|
+
["accessibility.alert.onDebugBreak" ]: {
|
|
355
|
+
'markdownDescription': ( localizeWithPath(
|
|
356
|
+
'vs/workbench/contrib/accessibility/browser/accessibilityConfiguration',
|
|
357
|
+
'alert.onDebugBreak',
|
|
358
|
+
"Alerts when the debugger breaks. Also see {0}.",
|
|
359
|
+
'`#audioCues.onDebugBreak#`'
|
|
360
|
+
)),
|
|
361
|
+
'type': 'boolean',
|
|
362
|
+
'default': true,
|
|
363
|
+
tags: ['accessibility']
|
|
184
364
|
},
|
|
185
365
|
["accessibility.accessibleView.closeOnKeyPress" ]: {
|
|
186
366
|
markdownDescription: ( localizeWithPath(
|
|
187
367
|
'vs/workbench/contrib/accessibility/browser/accessibilityConfiguration',
|
|
188
368
|
'terminal.integrated.accessibleView.closeOnKeyPress',
|
|
189
|
-
"On keypress, close the
|
|
369
|
+
"On keypress, close the Accessible View and focus the element from which it was invoked."
|
|
190
370
|
)),
|
|
191
371
|
type: 'boolean',
|
|
192
372
|
default: true
|
|
@@ -228,7 +408,7 @@ function registerAccessibilityConfiguration() {
|
|
|
228
408
|
description: ( localizeWithPath(
|
|
229
409
|
'vs/workbench/contrib/accessibility/browser/accessibilityConfiguration',
|
|
230
410
|
'accessibility.hideAccessibleView',
|
|
231
|
-
"Controls whether the
|
|
411
|
+
"Controls whether the Accessible View is hidden."
|
|
232
412
|
)),
|
|
233
413
|
type: 'boolean',
|
|
234
414
|
default: false,
|
|
@@ -237,4 +417,37 @@ function registerAccessibilityConfiguration() {
|
|
|
237
417
|
}
|
|
238
418
|
});
|
|
239
419
|
}
|
|
240
|
-
|
|
420
|
+
const SpeechTimeoutDefault = 1200;
|
|
421
|
+
let DynamicSpeechAccessibilityConfiguration = class DynamicSpeechAccessibilityConfiguration extends Disposable {
|
|
422
|
+
constructor(speechService) {
|
|
423
|
+
super();
|
|
424
|
+
this.speechService = speechService;
|
|
425
|
+
this._register(Event.runAndSubscribe(speechService.onDidRegisterSpeechProvider, () => this.updateConfiguration()));
|
|
426
|
+
}
|
|
427
|
+
updateConfiguration() {
|
|
428
|
+
if (!this.speechService.hasSpeechProvider) {
|
|
429
|
+
return;
|
|
430
|
+
}
|
|
431
|
+
const registry = ( Registry.as(Extensions.Configuration));
|
|
432
|
+
registry.registerConfiguration({
|
|
433
|
+
...accessibilityConfigurationNodeBase,
|
|
434
|
+
properties: {
|
|
435
|
+
["accessibility.voice.speechTimeout" ]: {
|
|
436
|
+
'markdownDescription': ( localizeWithPath(
|
|
437
|
+
'vs/workbench/contrib/accessibility/browser/accessibilityConfiguration',
|
|
438
|
+
'voice.speechTimeout',
|
|
439
|
+
"The duration in milliseconds that voice speech recognition remains active after you stop speaking. For example in a chat session, the transcribed text is submitted automatically after the timeout is met. Set to `0` to disable this feature."
|
|
440
|
+
)),
|
|
441
|
+
'type': 'number',
|
|
442
|
+
'default': SpeechTimeoutDefault,
|
|
443
|
+
'minimum': 0,
|
|
444
|
+
'tags': ['accessibility']
|
|
445
|
+
}
|
|
446
|
+
}
|
|
447
|
+
});
|
|
448
|
+
}
|
|
449
|
+
};
|
|
450
|
+
DynamicSpeechAccessibilityConfiguration = ( __decorate([
|
|
451
|
+
( __param(0, ISpeechService))
|
|
452
|
+
], DynamicSpeechAccessibilityConfiguration));
|
|
453
|
+
export { DynamicSpeechAccessibilityConfiguration, SpeechTimeoutDefault, accessibilityConfigurationNodeBase, accessibilityHelpIsShown, accessibleViewCurrentProviderId, accessibleViewGoToSymbolSupported, accessibleViewIsShown, accessibleViewOnLastLine, accessibleViewSupportsNavigation, accessibleViewVerbosityEnabled, registerAccessibilityConfiguration };
|
|
@@ -4,21 +4,21 @@ import { localizeWithPath } from '../../../../nls.js';
|
|
|
4
4
|
import { accessibleViewIsShown } from './accessibilityConfiguration.js';
|
|
5
5
|
import { format } from '../../../../base/common/strings.js';
|
|
6
6
|
import { ICommandService } from '../../../../platform/commands/common/commands.js';
|
|
7
|
-
import {
|
|
7
|
+
import { HoverController } from '../../../../editor/contrib/hover/browser/hover.js';
|
|
8
8
|
import { IContextViewService } from '../../../../platform/contextview/browser/contextView.js';
|
|
9
9
|
import { EditorContextKeys } from '../../../../editor/common/editorContextKeys.js';
|
|
10
10
|
import { getNotificationFromContext } from '../../../browser/parts/notifications/notificationsCommands.js';
|
|
11
11
|
import { IListService, WorkbenchList } from '../../../../platform/list/browser/listService.js';
|
|
12
12
|
import { NotificationFocusedContext } from '../../../common/contextkeys.js';
|
|
13
13
|
import { IAccessibleViewService } from './accessibleView.js';
|
|
14
|
-
import { IHoverService } from '
|
|
14
|
+
import { IHoverService } from '../../../../platform/hover/browser/hover.js';
|
|
15
15
|
import { alert } from '../../../../base/browser/ui/aria/aria.js';
|
|
16
16
|
import { AccessibleViewAction, AccessibilityHelpAction } from './accessibleViewActions.js';
|
|
17
17
|
import { ThemeIcon } from '../../../../base/common/themables.js';
|
|
18
18
|
import { Codicon } from '../../../../base/common/codicons.js';
|
|
19
19
|
import { InlineCompletionsController } from '../../../../editor/contrib/inlineCompletions/browser/inlineCompletionsController.js';
|
|
20
20
|
import '../../../../editor/contrib/inlineCompletions/browser/inlineCompletionContextKeys.js';
|
|
21
|
-
import {
|
|
21
|
+
import { IAudioCueService, AudioCue } from '../../../../platform/audioCues/browser/audioCueService.js';
|
|
22
22
|
function descriptionForCommand(commandId, msg, noKbMsg, keybindingService) {
|
|
23
23
|
const kb = keybindingService.lookupKeybinding(commandId);
|
|
24
24
|
if (kb) {
|
|
@@ -34,7 +34,7 @@ class HoverAccessibleViewContribution extends Disposable {
|
|
|
34
34
|
const accessibleViewService = accessor.get(IAccessibleViewService);
|
|
35
35
|
const codeEditorService = accessor.get(ICodeEditorService);
|
|
36
36
|
const editor = codeEditorService.getActiveCodeEditor() || codeEditorService.getFocusedCodeEditor();
|
|
37
|
-
const editorHoverContent = editor ?
|
|
37
|
+
const editorHoverContent = editor ? HoverController.get(editor)?.getWidgetContent() ?? undefined : undefined;
|
|
38
38
|
if (!editor || !editorHoverContent) {
|
|
39
39
|
return false;
|
|
40
40
|
}
|
|
@@ -44,7 +44,7 @@ class HoverAccessibleViewContribution extends Disposable {
|
|
|
44
44
|
verbositySettingKey: "accessibility.verbosity.hover" ,
|
|
45
45
|
provideContent() { return editorHoverContent; },
|
|
46
46
|
onClose() {
|
|
47
|
-
|
|
47
|
+
HoverController.get(editor)?.focus();
|
|
48
48
|
},
|
|
49
49
|
options: this._options
|
|
50
50
|
});
|
|
@@ -83,7 +83,7 @@ class NotificationAccessibleViewContribution extends Disposable {
|
|
|
83
83
|
const accessibleViewService = accessor.get(IAccessibleViewService);
|
|
84
84
|
const listService = accessor.get(IListService);
|
|
85
85
|
const commandService = accessor.get(ICommandService);
|
|
86
|
-
const
|
|
86
|
+
const audioCueService = accessor.get(IAudioCueService);
|
|
87
87
|
function renderAccessibleView() {
|
|
88
88
|
const notification = getNotificationFromContext(listService);
|
|
89
89
|
if (!notification) {
|
|
@@ -154,7 +154,7 @@ class NotificationAccessibleViewContribution extends Disposable {
|
|
|
154
154
|
},
|
|
155
155
|
verbositySettingKey: "accessibility.verbosity.notification" ,
|
|
156
156
|
options: { type: "view" },
|
|
157
|
-
actions: getActionsFromNotification(notification,
|
|
157
|
+
actions: getActionsFromNotification(notification, audioCueService)
|
|
158
158
|
});
|
|
159
159
|
return true;
|
|
160
160
|
}
|
|
@@ -162,7 +162,7 @@ class NotificationAccessibleViewContribution extends Disposable {
|
|
|
162
162
|
}, NotificationFocusedContext));
|
|
163
163
|
}
|
|
164
164
|
}
|
|
165
|
-
function getActionsFromNotification(notification,
|
|
165
|
+
function getActionsFromNotification(notification, audioCueService) {
|
|
166
166
|
let actions = undefined;
|
|
167
167
|
if (notification.actions) {
|
|
168
168
|
actions = [];
|
|
@@ -199,7 +199,7 @@ function getActionsFromNotification(notification, accessibleNotificationService)
|
|
|
199
199
|
"Clear Notification"
|
|
200
200
|
)), run: () => {
|
|
201
201
|
notification.close();
|
|
202
|
-
|
|
202
|
+
audioCueService.playAudioCue(AudioCue.clear);
|
|
203
203
|
}, enabled: true, class: ThemeIcon.asClassName(Codicon.clearAll)
|
|
204
204
|
});
|
|
205
205
|
}
|
|
@@ -415,6 +415,7 @@ let AccessibleView = class AccessibleView extends Disposable {
|
|
|
415
415
|
e.stopPropagation();
|
|
416
416
|
this._contextViewService.hideContextView();
|
|
417
417
|
this._updateContextKeys(provider, false);
|
|
418
|
+
this._lastProvider = undefined;
|
|
418
419
|
};
|
|
419
420
|
const disposableStore = ( new DisposableStore());
|
|
420
421
|
disposableStore.add(this._editorWidget.onKeyDown((e) => {
|