@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
|
@@ -1579,7 +1579,29 @@ declare namespace editor {
|
|
|
1579
1579
|
*/
|
|
1580
1580
|
export enum GlyphMarginLane {
|
|
1581
1581
|
Left = 1,
|
|
1582
|
-
|
|
1582
|
+
Center = 2,
|
|
1583
|
+
Right = 3
|
|
1584
|
+
}
|
|
1585
|
+
|
|
1586
|
+
export interface IGlyphMarginLanesModel {
|
|
1587
|
+
/**
|
|
1588
|
+
* The number of lanes that should be rendered in the editor.
|
|
1589
|
+
*/
|
|
1590
|
+
readonly requiredLanes: number;
|
|
1591
|
+
/**
|
|
1592
|
+
* Gets the lanes that should be rendered starting at a given line number.
|
|
1593
|
+
*/
|
|
1594
|
+
getLanesAtLine(lineNumber: number): GlyphMarginLane[];
|
|
1595
|
+
/**
|
|
1596
|
+
* Resets the model and ensures it can contain at least `maxLine` lines.
|
|
1597
|
+
*/
|
|
1598
|
+
reset(maxLine: number): void;
|
|
1599
|
+
/**
|
|
1600
|
+
* Registers that a lane should be visible at the Range in the model.
|
|
1601
|
+
* @param persist - if true, notes that the lane should always be visible,
|
|
1602
|
+
* even on lines where there's no specific request for that lane.
|
|
1603
|
+
*/
|
|
1604
|
+
push(lane: GlyphMarginLane, range: Range, persist?: boolean): void;
|
|
1583
1605
|
}
|
|
1584
1606
|
|
|
1585
1607
|
/**
|
|
@@ -1608,6 +1630,11 @@ declare namespace editor {
|
|
|
1608
1630
|
* The position in the glyph margin.
|
|
1609
1631
|
*/
|
|
1610
1632
|
position: GlyphMarginLane;
|
|
1633
|
+
/**
|
|
1634
|
+
* Whether the glyph margin lane in {@link position} should be rendered even
|
|
1635
|
+
* outside of this decoration's range.
|
|
1636
|
+
*/
|
|
1637
|
+
persistLane?: boolean;
|
|
1611
1638
|
}
|
|
1612
1639
|
|
|
1613
1640
|
/**
|
|
@@ -1663,6 +1690,10 @@ declare namespace editor {
|
|
|
1663
1690
|
* Array of MarkdownString to render as the decoration message.
|
|
1664
1691
|
*/
|
|
1665
1692
|
hoverMessage?: IMarkdownString | IMarkdownString[] | null;
|
|
1693
|
+
/**
|
|
1694
|
+
* Array of MarkdownString to render as the line number message.
|
|
1695
|
+
*/
|
|
1696
|
+
lineNumberHoverMessage?: IMarkdownString | IMarkdownString[] | null;
|
|
1666
1697
|
/**
|
|
1667
1698
|
* Should the decoration expand to encompass a whole line.
|
|
1668
1699
|
*/
|
|
@@ -1698,6 +1729,14 @@ declare namespace editor {
|
|
|
1698
1729
|
* If set, the decoration will be rendered in the lines decorations with this CSS class name.
|
|
1699
1730
|
*/
|
|
1700
1731
|
linesDecorationsClassName?: string | null;
|
|
1732
|
+
/**
|
|
1733
|
+
* Controls the tooltip text of the line decoration.
|
|
1734
|
+
*/
|
|
1735
|
+
linesDecorationsTooltip?: string | null;
|
|
1736
|
+
/**
|
|
1737
|
+
* If set, the decoration will be rendered on the line number.
|
|
1738
|
+
*/
|
|
1739
|
+
lineNumberClassName?: string | null;
|
|
1701
1740
|
/**
|
|
1702
1741
|
* If set, the decoration will be rendered in the lines decorations with this CSS class name, but only for the first line in case of line wrapping.
|
|
1703
1742
|
*/
|
|
@@ -2898,6 +2937,7 @@ declare namespace editor {
|
|
|
2898
2937
|
readonly affectsMinimap: boolean;
|
|
2899
2938
|
readonly affectsOverviewRuler: boolean;
|
|
2900
2939
|
readonly affectsGlyphMargin: boolean;
|
|
2940
|
+
readonly affectsLineNumber: boolean;
|
|
2901
2941
|
}
|
|
2902
2942
|
|
|
2903
2943
|
export interface IModelOptionsChangedEvent {
|
|
@@ -4130,7 +4170,7 @@ declare namespace editor {
|
|
|
4130
4170
|
readonly minimapCanvasOuterHeight: number;
|
|
4131
4171
|
}
|
|
4132
4172
|
|
|
4133
|
-
export enum
|
|
4173
|
+
export enum ShowLightbulbIconMode {
|
|
4134
4174
|
Off = 'off',
|
|
4135
4175
|
OnCode = 'onCode',
|
|
4136
4176
|
On = 'on'
|
|
@@ -4142,15 +4182,12 @@ declare namespace editor {
|
|
|
4142
4182
|
export interface IEditorLightbulbOptions {
|
|
4143
4183
|
/**
|
|
4144
4184
|
* Enable the lightbulb code action.
|
|
4145
|
-
*
|
|
4185
|
+
* The three possible values are `off`, `on` and `onCode` and the default is `onCode`.
|
|
4186
|
+
* `off` disables the code action menu.
|
|
4187
|
+
* `on` shows the code action menu on code and on empty lines.
|
|
4188
|
+
* `onCode` shows the code action menu on code only.
|
|
4146
4189
|
*/
|
|
4147
|
-
enabled?:
|
|
4148
|
-
experimental?: {
|
|
4149
|
-
/**
|
|
4150
|
-
* Highlight AI code actions with AI icon
|
|
4151
|
-
*/
|
|
4152
|
-
showAiIcon?: ShowAiIconMode;
|
|
4153
|
-
};
|
|
4190
|
+
enabled?: ShowLightbulbIconMode;
|
|
4154
4191
|
}
|
|
4155
4192
|
|
|
4156
4193
|
export interface IEditorStickyScrollOptions {
|
|
@@ -4464,6 +4501,10 @@ declare namespace editor {
|
|
|
4464
4501
|
* Does not clear active inline suggestions when the editor loses focus.
|
|
4465
4502
|
*/
|
|
4466
4503
|
keepOnBlur?: boolean;
|
|
4504
|
+
/**
|
|
4505
|
+
* Font family for inline suggestions.
|
|
4506
|
+
*/
|
|
4507
|
+
fontFamily?: string | 'default';
|
|
4467
4508
|
}
|
|
4468
4509
|
|
|
4469
4510
|
export interface IBracketPairColorizationOptions {
|
|
@@ -5262,6 +5303,20 @@ declare namespace editor {
|
|
|
5262
5303
|
TOP_CENTER = 2
|
|
5263
5304
|
}
|
|
5264
5305
|
|
|
5306
|
+
/**
|
|
5307
|
+
* Represents editor-relative coordinates of an overlay widget.
|
|
5308
|
+
*/
|
|
5309
|
+
export interface IOverlayWidgetPositionCoordinates {
|
|
5310
|
+
/**
|
|
5311
|
+
* The top position for the overlay widget, relative to the editor.
|
|
5312
|
+
*/
|
|
5313
|
+
top: number;
|
|
5314
|
+
/**
|
|
5315
|
+
* The left position for the overlay widget, relative to the editor.
|
|
5316
|
+
*/
|
|
5317
|
+
left: number;
|
|
5318
|
+
}
|
|
5319
|
+
|
|
5265
5320
|
/**
|
|
5266
5321
|
* A position for rendering overlay widgets.
|
|
5267
5322
|
*/
|
|
@@ -5269,13 +5324,17 @@ declare namespace editor {
|
|
|
5269
5324
|
/**
|
|
5270
5325
|
* The position preference for the overlay widget.
|
|
5271
5326
|
*/
|
|
5272
|
-
preference: OverlayWidgetPositionPreference | null;
|
|
5327
|
+
preference: OverlayWidgetPositionPreference | IOverlayWidgetPositionCoordinates | null;
|
|
5273
5328
|
}
|
|
5274
5329
|
|
|
5275
5330
|
/**
|
|
5276
5331
|
* An overlay widgets renders on top of the text.
|
|
5277
5332
|
*/
|
|
5278
5333
|
export interface IOverlayWidget {
|
|
5334
|
+
/**
|
|
5335
|
+
* Render this overlay widget in a location where it could overflow the editor's view dom node.
|
|
5336
|
+
*/
|
|
5337
|
+
allowEditorOverflow?: boolean;
|
|
5279
5338
|
/**
|
|
5280
5339
|
* Get a unique identifier of the overlay widget.
|
|
5281
5340
|
*/
|
|
@@ -5427,6 +5486,7 @@ declare namespace editor {
|
|
|
5427
5486
|
readonly isAfterLines: boolean;
|
|
5428
5487
|
readonly glyphMarginLeft: number;
|
|
5429
5488
|
readonly glyphMarginWidth: number;
|
|
5489
|
+
readonly glyphMarginLane?: GlyphMarginLane;
|
|
5430
5490
|
readonly lineNumbersWidth: number;
|
|
5431
5491
|
readonly offsetX: number;
|
|
5432
5492
|
}
|
|
@@ -5587,6 +5647,11 @@ declare namespace editor {
|
|
|
5587
5647
|
* @event
|
|
5588
5648
|
*/
|
|
5589
5649
|
readonly onDidChangeCursorSelection: IEvent<ICursorSelectionChangedEvent>;
|
|
5650
|
+
/**
|
|
5651
|
+
* An event emitted when the model of this editor is about to change (e.g. from `editor.setModel()`).
|
|
5652
|
+
* @event
|
|
5653
|
+
*/
|
|
5654
|
+
readonly onWillChangeModel: IEvent<IModelChangedEvent>;
|
|
5590
5655
|
/**
|
|
5591
5656
|
* An event emitted when the model of this editor has changed (e.g. `editor.setModel()`).
|
|
5592
5657
|
* @event
|
|
@@ -7036,6 +7101,7 @@ declare namespace languages {
|
|
|
7036
7101
|
isPreferred?: boolean;
|
|
7037
7102
|
isAI?: boolean;
|
|
7038
7103
|
disabled?: string;
|
|
7104
|
+
ranges?: IRange[];
|
|
7039
7105
|
}
|
|
7040
7106
|
|
|
7041
7107
|
export enum CodeActionTriggerType {
|
|
@@ -7706,6 +7772,11 @@ declare namespace languages {
|
|
|
7706
7772
|
arguments?: any[];
|
|
7707
7773
|
}
|
|
7708
7774
|
|
|
7775
|
+
export interface CommentAuthorInformation {
|
|
7776
|
+
name: string;
|
|
7777
|
+
iconPath?: UriComponents;
|
|
7778
|
+
}
|
|
7779
|
+
|
|
7709
7780
|
export interface PendingCommentThread {
|
|
7710
7781
|
body: string;
|
|
7711
7782
|
range: IRange | undefined;
|
|
@@ -10,9 +10,11 @@ import { EditorScopedLayoutService } from '../standaloneLayoutService.js';
|
|
|
10
10
|
import { ICodeEditorService } from '../../../browser/services/codeEditorService.js';
|
|
11
11
|
import { QuickInputService } from '../../../../platform/quickinput/browser/quickInputService.js';
|
|
12
12
|
import { createSingleCallFunction } from '../../../../base/common/functional.js';
|
|
13
|
+
import { IConfigurationService } from '../../../../platform/configuration/common/configuration.js';
|
|
14
|
+
import { IHoverService } from '../../../../platform/hover/browser/hover.js';
|
|
13
15
|
let EditorScopedQuickInputService = class EditorScopedQuickInputService extends QuickInputService {
|
|
14
|
-
constructor(editor, instantiationService, contextKeyService, themeService, codeEditorService) {
|
|
15
|
-
super(instantiationService, contextKeyService, themeService, ( new EditorScopedLayoutService(editor.getContainerDomNode(), codeEditorService)));
|
|
16
|
+
constructor(editor, instantiationService, contextKeyService, themeService, codeEditorService, configurationService, hoverService) {
|
|
17
|
+
super(instantiationService, contextKeyService, themeService, ( new EditorScopedLayoutService(editor.getContainerDomNode(), codeEditorService)), configurationService, hoverService);
|
|
16
18
|
this.host = undefined;
|
|
17
19
|
const contribution = QuickInputEditorContribution.get(editor);
|
|
18
20
|
if (contribution) {
|
|
@@ -33,6 +35,7 @@ let EditorScopedQuickInputService = class EditorScopedQuickInputService extends
|
|
|
33
35
|
)); },
|
|
34
36
|
get onDidChangeActiveContainer() { return Event.None; },
|
|
35
37
|
get onDidAddContainer() { return Event.None; },
|
|
38
|
+
get whenActiveContainerStylesLoaded() { return Promise.resolve(); },
|
|
36
39
|
get mainContainerOffset() { return { top: 0, quickPickTop: 0 }; },
|
|
37
40
|
get activeContainerOffset() { return { top: 0, quickPickTop: 0 }; },
|
|
38
41
|
focus: () => editor.focus()
|
|
@@ -50,7 +53,9 @@ EditorScopedQuickInputService = ( __decorate([
|
|
|
50
53
|
( __param(1, IInstantiationService)),
|
|
51
54
|
( __param(2, IContextKeyService)),
|
|
52
55
|
( __param(3, IThemeService)),
|
|
53
|
-
( __param(4, ICodeEditorService))
|
|
56
|
+
( __param(4, ICodeEditorService)),
|
|
57
|
+
( __param(5, IConfigurationService)),
|
|
58
|
+
( __param(6, IHoverService))
|
|
54
59
|
], EditorScopedQuickInputService));
|
|
55
60
|
let StandaloneQuickInputService = class StandaloneQuickInputService {
|
|
56
61
|
get activeService() {
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import { __decorate, __param } from '../../../../../../external/tslib/tslib.es6.js';
|
|
2
2
|
import { getClientArea } from '../../../base/browser/dom.js';
|
|
3
|
+
import { mainWindow } from '../../../base/browser/window.js';
|
|
4
|
+
import { firstOrDefault, coalesce } from '../../../base/common/arrays.js';
|
|
3
5
|
import { Event } from '../../../base/common/event.js';
|
|
4
|
-
import { ILayoutService } from '../../../platform/layout/browser/layoutService.js';
|
|
5
6
|
import { ICodeEditorService } from '../../browser/services/codeEditorService.js';
|
|
6
7
|
import { registerSingleton } from '../../../platform/instantiation/common/extensions.js';
|
|
7
|
-
import {
|
|
8
|
-
import { mainWindow } from '../../../base/browser/window.js';
|
|
8
|
+
import { ILayoutService } from '../../../platform/layout/browser/layoutService.js';
|
|
9
9
|
let StandaloneLayoutService = class StandaloneLayoutService {
|
|
10
10
|
get mainContainer() {
|
|
11
11
|
return firstOrDefault(this._codeEditorService.listCodeEditors())?.getContainerDomNode() ?? mainWindow.document.body;
|
|
@@ -36,6 +36,7 @@ let StandaloneLayoutService = class StandaloneLayoutService {
|
|
|
36
36
|
this.onDidLayoutContainer = Event.None;
|
|
37
37
|
this.onDidChangeActiveContainer = Event.None;
|
|
38
38
|
this.onDidAddContainer = Event.None;
|
|
39
|
+
this.whenActiveContainerStylesLoaded = Promise.resolve();
|
|
39
40
|
this.mainContainerOffset = { top: 0, quickPickTop: 0 };
|
|
40
41
|
this.activeContainerOffset = { top: 0, quickPickTop: 0 };
|
|
41
42
|
}
|
|
@@ -6,6 +6,7 @@ import '../../../platform/undoRedo/common/undoRedoService.js';
|
|
|
6
6
|
import '../../common/services/languageFeatureDebounce.js';
|
|
7
7
|
import '../../common/services/semanticTokensStylingService.js';
|
|
8
8
|
import '../../common/services/languageFeaturesService.js';
|
|
9
|
+
import '../../browser/services/hoverService.js';
|
|
9
10
|
import { format } from '../../../base/common/strings.js';
|
|
10
11
|
import { addDisposableListener, EventType } from '../../../base/browser/dom.js';
|
|
11
12
|
import { StandardKeyboardEvent } from '../../../base/browser/keyboardEvent.js';
|
|
@@ -36,7 +37,7 @@ import { KeybindingsRegistry } from '../../../platform/keybinding/common/keybind
|
|
|
36
37
|
import { ResolvedKeybindingItem } from '../../../platform/keybinding/common/resolvedKeybindingItem.js';
|
|
37
38
|
import { USLayoutResolvedKeybinding } from '../../../platform/keybinding/common/usLayoutResolvedKeybinding.js';
|
|
38
39
|
import { ILabelService } from '../../../platform/label/common/label.js';
|
|
39
|
-
import { NoOpNotification, INotificationService } from '../../../platform/notification/common/notification.js';
|
|
40
|
+
import { NoOpNotification, NotificationsFilter, INotificationService } from '../../../platform/notification/common/notification.js';
|
|
40
41
|
import { IProgressService, IEditorProgressService } from '../../../platform/progress/common/progress.js';
|
|
41
42
|
import { ITelemetryService } from '../../../platform/telemetry/common/telemetry.js';
|
|
42
43
|
import { STANDALONE_EDITOR_WORKSPACE_ID, WorkspaceFolder, IWorkspaceContextService } from '../../../platform/workspace/common/workspace.js';
|
|
@@ -62,7 +63,7 @@ import { StandaloneQuickInputService } from './quickInput/standaloneQuickInputSe
|
|
|
62
63
|
import { StandaloneThemeService } from './standaloneThemeService.js';
|
|
63
64
|
import { IStandaloneThemeService } from '../common/standaloneTheme.js';
|
|
64
65
|
import { AccessibilityService } from '../../../platform/accessibility/browser/accessibilityService.js';
|
|
65
|
-
import { IAccessibilityService
|
|
66
|
+
import { IAccessibilityService } from '../../../platform/accessibility/common/accessibility.js';
|
|
66
67
|
import { IMenuService } from '../../../platform/actions/common/actions.js';
|
|
67
68
|
import { MenuService } from '../../../platform/actions/common/menuService.js';
|
|
68
69
|
import { BrowserClipboardService } from '../../../platform/clipboard/browser/clipboardService.js';
|
|
@@ -243,8 +244,7 @@ class StandaloneNotificationService {
|
|
|
243
244
|
constructor() {
|
|
244
245
|
this.onDidAddNotification = Event.None;
|
|
245
246
|
this.onDidRemoveNotification = Event.None;
|
|
246
|
-
this.
|
|
247
|
-
this.doNotDisturbMode = false;
|
|
247
|
+
this.onDidChangeFilter = Event.None;
|
|
248
248
|
}
|
|
249
249
|
static { this.NO_OP = ( new NoOpNotification()); }
|
|
250
250
|
info(message) {
|
|
@@ -276,6 +276,14 @@ class StandaloneNotificationService {
|
|
|
276
276
|
status(message, options) {
|
|
277
277
|
return Disposable.None;
|
|
278
278
|
}
|
|
279
|
+
setFilter(filter) { }
|
|
280
|
+
getFilter(source) {
|
|
281
|
+
return NotificationsFilter.OFF;
|
|
282
|
+
}
|
|
283
|
+
getFilters() {
|
|
284
|
+
return [];
|
|
285
|
+
}
|
|
286
|
+
removeFilter(sourceId) { }
|
|
279
287
|
}
|
|
280
288
|
let StandaloneCommandService = class StandaloneCommandService {
|
|
281
289
|
constructor(instantiationService) {
|
|
@@ -464,6 +472,9 @@ let StandaloneKeybindingService = class StandaloneKeybindingService extends Abst
|
|
|
464
472
|
}
|
|
465
473
|
registerSchemaContribution(contribution) {
|
|
466
474
|
}
|
|
475
|
+
enableKeybindingHoldMode(commandId) {
|
|
476
|
+
return undefined;
|
|
477
|
+
}
|
|
467
478
|
};
|
|
468
479
|
StandaloneKeybindingService = ( __decorate([
|
|
469
480
|
( __param(0, IContextKeyService)),
|
|
@@ -513,7 +524,6 @@ class StandaloneConfigurationService {
|
|
|
513
524
|
if (changedKeys.length > 0) {
|
|
514
525
|
const configurationChangeEvent = ( new ConfigurationChangeEvent({ keys: changedKeys, overrides: [] }, previous, this._configuration));
|
|
515
526
|
configurationChangeEvent.source = 8 ;
|
|
516
|
-
configurationChangeEvent.sourceConfig = null;
|
|
517
527
|
this._onDidChangeConfiguration.fire(configurationChangeEvent);
|
|
518
528
|
}
|
|
519
529
|
return Promise.resolve();
|
|
@@ -852,22 +862,24 @@ class StandaloneAudioService {
|
|
|
852
862
|
}
|
|
853
863
|
async playAudioCues(cues) {
|
|
854
864
|
}
|
|
855
|
-
|
|
865
|
+
isCueEnabled(cue) {
|
|
866
|
+
return false;
|
|
867
|
+
}
|
|
868
|
+
isAlertEnabled(cue) {
|
|
856
869
|
return false;
|
|
857
870
|
}
|
|
858
871
|
onEnabledChanged(cue) {
|
|
859
872
|
return Event.None;
|
|
860
873
|
}
|
|
874
|
+
onAlertEnabledChanged(cue) {
|
|
875
|
+
return Event.None;
|
|
876
|
+
}
|
|
861
877
|
async playSound(cue, allowManyInParallel) {
|
|
862
878
|
}
|
|
863
879
|
playAudioCueLoop(cue) {
|
|
864
880
|
return toDisposable(() => { });
|
|
865
881
|
}
|
|
866
882
|
}
|
|
867
|
-
class StandaloneAccessibleNotificationService {
|
|
868
|
-
notify(event, userGesture) {
|
|
869
|
-
}
|
|
870
|
-
}
|
|
871
883
|
registerSingleton(IConfigurationService, StandaloneConfigurationService, 0 );
|
|
872
884
|
registerSingleton(ITextResourceConfigurationService, StandaloneResourceConfigurationService, 0 );
|
|
873
885
|
registerSingleton(ITextResourcePropertiesService, StandaloneResourcePropertiesService, 0 );
|
|
@@ -902,7 +914,6 @@ registerSingleton(IClipboardService, BrowserClipboardService, 0 );
|
|
|
902
914
|
registerSingleton(IContextMenuService, StandaloneContextMenuService, 0 );
|
|
903
915
|
registerSingleton(IMenuService, MenuService, 0 );
|
|
904
916
|
registerSingleton(IAudioCueService, StandaloneAudioService, 0 );
|
|
905
|
-
registerSingleton(IAccessibleNotificationService, StandaloneAccessibleNotificationService, 0 );
|
|
906
917
|
var StandaloneServices;
|
|
907
918
|
( (function(StandaloneServices) {
|
|
908
919
|
const serviceCollection = ( new ServiceCollection());
|
|
@@ -201,7 +201,7 @@ class StandaloneThemeService extends Disposable {
|
|
|
201
201
|
this._codiconCSS = iconsStyleSheet.getCSS();
|
|
202
202
|
this._updateCSS();
|
|
203
203
|
}));
|
|
204
|
-
addMatchMediaChangeListener('(forced-colors: active)', () => {
|
|
204
|
+
addMatchMediaChangeListener(mainWindow, '(forced-colors: active)', () => {
|
|
205
205
|
this._onOSSchemeChanged();
|
|
206
206
|
});
|
|
207
207
|
}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { __decorate, __param } from '../../../../../../external/tslib/tslib.es6.js';
|
|
2
2
|
import { addDisposableListener } from '../../../base/browser/dom.js';
|
|
3
|
-
import { alert } from '../../../base/browser/ui/aria/aria.js';
|
|
3
|
+
import { alert, status } from '../../../base/browser/ui/aria/aria.js';
|
|
4
4
|
import { mainWindow } from '../../../base/browser/window.js';
|
|
5
5
|
import { Emitter } from '../../../base/common/event.js';
|
|
6
6
|
import { Disposable } from '../../../base/common/lifecycle.js';
|
|
@@ -81,6 +81,9 @@ let AccessibilityService = class AccessibilityService extends Disposable {
|
|
|
81
81
|
alert(message) {
|
|
82
82
|
alert(message);
|
|
83
83
|
}
|
|
84
|
+
status(message) {
|
|
85
|
+
status(message);
|
|
86
|
+
}
|
|
84
87
|
};
|
|
85
88
|
AccessibilityService = ( __decorate([
|
|
86
89
|
( __param(0, IContextKeyService)),
|
|
@@ -12,6 +12,7 @@ interface IAccessibilityService {
|
|
|
12
12
|
getAccessibilitySupport(): AccessibilitySupport;
|
|
13
13
|
setAccessibilitySupport(accessibilitySupport: AccessibilitySupport): void;
|
|
14
14
|
alert(message: string): void;
|
|
15
|
+
status(message: string): void;
|
|
15
16
|
}
|
|
16
17
|
declare const enum AccessibilitySupport {
|
|
17
18
|
/**
|
|
@@ -25,20 +26,5 @@ interface IAccessibilityInformation {
|
|
|
25
26
|
label: string;
|
|
26
27
|
role?: string;
|
|
27
28
|
}
|
|
28
|
-
declare const IAccessibleNotificationService: ServiceIdentifier<IAccessibleNotificationService>;
|
|
29
|
-
/**
|
|
30
|
-
* Manages whether an audio cue or an aria alert will be used
|
|
31
|
-
* in response to actions taken around the workbench.
|
|
32
|
-
* Targets screen reader and braille users.
|
|
33
|
-
*/
|
|
34
|
-
interface IAccessibleNotificationService {
|
|
35
|
-
readonly _serviceBrand: undefined;
|
|
36
|
-
notify(event: AccessibleNotificationEvent, userGesture?: boolean): void;
|
|
37
|
-
}
|
|
38
|
-
declare const enum AccessibleNotificationEvent {
|
|
39
|
-
Clear = "clear",
|
|
40
|
-
Save = "save",
|
|
41
|
-
Format = "format"
|
|
42
|
-
}
|
|
43
29
|
|
|
44
|
-
export { AccessibilitySupport,
|
|
30
|
+
export { AccessibilitySupport, type IAccessibilityInformation, IAccessibilityService };
|
|
@@ -7,5 +7,4 @@ function isAccessibilityInformation(obj) {
|
|
|
7
7
|
&& typeof obj.label === 'string'
|
|
8
8
|
&& (typeof obj.role === 'undefined' || typeof obj.role === 'string');
|
|
9
9
|
}
|
|
10
|
-
|
|
11
|
-
export { CONTEXT_ACCESSIBILITY_MODE_ENABLED, IAccessibilityService, IAccessibleNotificationService, isAccessibilityInformation };
|
|
10
|
+
export { CONTEXT_ACCESSIBILITY_MODE_ENABLED, IAccessibilityService, isAccessibilityInformation };
|
|
@@ -1,24 +1,11 @@
|
|
|
1
|
+
import { ILocalizedString } from '../../../nls.js';
|
|
2
|
+
|
|
1
3
|
declare const Categories: Readonly<{
|
|
2
|
-
View:
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
value: string;
|
|
8
|
-
original: string;
|
|
9
|
-
};
|
|
10
|
-
Test: {
|
|
11
|
-
value: string;
|
|
12
|
-
original: string;
|
|
13
|
-
};
|
|
14
|
-
File: {
|
|
15
|
-
value: string;
|
|
16
|
-
original: string;
|
|
17
|
-
};
|
|
18
|
-
Preferences: {
|
|
19
|
-
value: string;
|
|
20
|
-
original: string;
|
|
21
|
-
};
|
|
4
|
+
View: ILocalizedString;
|
|
5
|
+
Help: ILocalizedString;
|
|
6
|
+
Test: ILocalizedString;
|
|
7
|
+
File: ILocalizedString;
|
|
8
|
+
Preferences: ILocalizedString;
|
|
22
9
|
Developer: {
|
|
23
10
|
value: string;
|
|
24
11
|
original: string;
|
|
@@ -1,14 +1,14 @@
|
|
|
1
|
-
import { localizeWithPath } from '../../../nls.js';
|
|
1
|
+
import { localize2WithPath, localizeWithPath } from '../../../nls.js';
|
|
2
2
|
const Categories = ( Object.freeze({
|
|
3
|
-
View:
|
|
4
|
-
Help:
|
|
5
|
-
Test:
|
|
6
|
-
File:
|
|
7
|
-
Preferences:
|
|
3
|
+
View: ( localize2WithPath('vs/platform/action/common/actionCommonCategories', 'view', 'View')),
|
|
4
|
+
Help: ( localize2WithPath('vs/platform/action/common/actionCommonCategories', 'help', 'Help')),
|
|
5
|
+
Test: ( localize2WithPath('vs/platform/action/common/actionCommonCategories', 'test', 'Test')),
|
|
6
|
+
File: ( localize2WithPath('vs/platform/action/common/actionCommonCategories', 'file', 'File')),
|
|
7
|
+
Preferences: ( localize2WithPath(
|
|
8
8
|
'vs/platform/action/common/actionCommonCategories',
|
|
9
9
|
'preferences',
|
|
10
|
-
|
|
11
|
-
)),
|
|
10
|
+
'Preferences'
|
|
11
|
+
)),
|
|
12
12
|
Developer: { value: ( localizeWithPath(
|
|
13
13
|
'vs/platform/action/common/actionCommonCategories',
|
|
14
14
|
{ key: 'developer', comment: ['A developer on Code itself or someone diagnosing issues in Code'] },
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
import n from '../../../../../../external/rollup-plugin-styles/dist/runtime/inject-css.js';
|
|
2
|
-
var css = ".action-widget{background-color:var(--vscode-editorWidget-background);border:1px solid var(--vscode-editorWidget-border)!important;border-radius:0;border-radius:2px;color:var(--vscode-editorWidget-foreground);display:block;font-size:13px;max-width:80vw;min-width:160px;width:100%;z-index:40}.context-view-block{z-index:-1}.context-view-block,.context-view-pointerBlock{cursor:auto;height:100%;left:0;position:fixed;top:0;width:100%}.context-view-pointerBlock{z-index:2}.action-widget .monaco-list{border:0!important;user-select:none;-webkit-user-select:none}.action-widget .monaco-list:focus:before{outline:0!important}.action-widget .monaco-list .monaco-scrollable-element{overflow:visible}.action-widget .monaco-list .monaco-list-row{cursor:pointer;padding:0 10px;touch-action:none;white-space:nowrap;width:100%}.action-widget .monaco-list .monaco-list-row.action.focused:not(.option-disabled){background-color:var(--vscode-quickInputList-focusBackground)!important;color:var(--vscode-quickInputList-focusForeground);outline:1px solid var(--vscode-menu-selectionBorder,transparent);outline-offset:-1px}.action-widget .monaco-list-row.group-header{color:var(--vscode-descriptionForeground)!important;font-weight:600}.action-widget .monaco-list .group-header,.action-widget .monaco-list .option-disabled,.action-widget .monaco-list .option-disabled .focused,.action-widget .monaco-list .option-disabled .focused:before,.action-widget .monaco-list .option-disabled:before{-webkit-touch-callout:none;background-color:transparent!important;cursor:default!important;outline:0 solid!important;-webkit-user-select:none;user-select:none}.action-widget .monaco-list-row.action{align-items:center;display:flex;gap:6px}.action-widget .monaco-list-row.action.option-disabled,.action-widget .monaco-list-row.action.option-disabled .codicon,.action-widget .monaco-list:focus .monaco-list-row.focused.action.option-disabled,.action-widget .monaco-list:not(.drop-target):not(.dragging) .monaco-list-row:hover:not(.selected):not(.focused).option-disabled{color:var(--vscode-disabledForeground)}.action-widget .monaco-list-row.action:not(.option-disabled) .codicon{color:inherit}.action-widget .monaco-list-row.action .title{flex:1;overflow:hidden;text-overflow:ellipsis}.action-widget .action-widget-action-bar{background-color:var(--vscode-editorHoverWidget-statusBarBackground);border-top:1px solid var(--vscode-editorHoverWidget-border)}.action-widget .action-widget-action-bar:before{content:\"\";display:block;width:100%}.action-widget .action-widget-action-bar .actions-container{padding:0 8px}.action-widget-action-bar .action-label{color:var(--vscode-textLink-activeForeground);font-size:12px;line-height:22px;padding:0;pointer-events:all}.action-widget-action-bar .action-item{margin-right:16px;pointer-events:none}.action-widget-action-bar .action-label:hover{background-color:transparent!important}.monaco-action-bar .actions-container.highlight-toggled .action-label.checked{background:var(--vscode-actionBar-toggledBackground)!important}";
|
|
2
|
+
var css = ".action-widget{background-color:var(--vscode-editorWidget-background);border:1px solid var(--vscode-editorWidget-border)!important;border-radius:0;border-radius:2px;color:var(--vscode-editorWidget-foreground);display:block;font-size:13px;max-width:80vw;min-width:160px;width:100%;z-index:40}.context-view-block{z-index:-1}.context-view-block,.context-view-pointerBlock{cursor:auto;height:100%;left:0;position:fixed;top:0;width:100%}.context-view-pointerBlock{z-index:2}.action-widget .monaco-list{border:0!important;user-select:none;-webkit-user-select:none}.action-widget .monaco-list:focus:before{outline:0!important}.action-widget .monaco-list .monaco-scrollable-element{overflow:visible}.action-widget .monaco-list .monaco-list-row{cursor:pointer;padding:0 10px;touch-action:none;white-space:nowrap;width:100%}.action-widget .monaco-list .monaco-list-row.action.focused:not(.option-disabled){background-color:var(--vscode-quickInputList-focusBackground)!important;color:var(--vscode-quickInputList-focusForeground);outline:1px solid var(--vscode-menu-selectionBorder,transparent);outline-offset:-1px}.action-widget .monaco-list-row.group-header{color:var(--vscode-descriptionForeground)!important;font-weight:600}.action-widget .monaco-list .group-header,.action-widget .monaco-list .option-disabled,.action-widget .monaco-list .option-disabled .focused,.action-widget .monaco-list .option-disabled .focused:before,.action-widget .monaco-list .option-disabled:before{-webkit-touch-callout:none;background-color:transparent!important;cursor:default!important;outline:0 solid!important;-webkit-user-select:none;user-select:none}.action-widget .monaco-list-row.action{align-items:center;display:flex;gap:6px}.action-widget .monaco-list-row.action.option-disabled,.action-widget .monaco-list-row.action.option-disabled .codicon,.action-widget .monaco-list:focus .monaco-list-row.focused.action.option-disabled,.action-widget .monaco-list:not(.drop-target):not(.dragging) .monaco-list-row:hover:not(.selected):not(.focused).option-disabled{color:var(--vscode-disabledForeground)}.action-widget .monaco-list-row.action:not(.option-disabled) .codicon{color:inherit}.action-widget .monaco-list-row.action .title{flex:1;overflow:hidden;text-overflow:ellipsis}.action-widget .monaco-list-row.action .monaco-keybinding>.monaco-keybinding-key{background-color:var(--vscode-keybindingLabel-background);border-color:var(--vscode-keybindingLabel-border);border-bottom-color:var(--vscode-keybindingLabel-bottomBorder);border-radius:3px;border-style:solid;border-width:1px;box-shadow:inset 0 -1px 0 var(--vscode-widget-shadow);color:var(--vscode-keybindingLabel-foreground)}.action-widget .action-widget-action-bar{background-color:var(--vscode-editorHoverWidget-statusBarBackground);border-top:1px solid var(--vscode-editorHoverWidget-border)}.action-widget .action-widget-action-bar:before{content:\"\";display:block;width:100%}.action-widget .action-widget-action-bar .actions-container{padding:0 8px}.action-widget-action-bar .action-label{color:var(--vscode-textLink-activeForeground);font-size:12px;line-height:22px;padding:0;pointer-events:all}.action-widget-action-bar .action-item{margin-right:16px;pointer-events:none}.action-widget-action-bar .action-label:hover{background-color:transparent!important}.monaco-action-bar .actions-container.highlight-toggled .action-label.checked{background:var(--vscode-actionBar-toggledBackground)!important}";
|
|
3
3
|
n(css,{});
|
|
4
4
|
export { css, css as default };
|
|
@@ -47,12 +47,14 @@ let WorkbenchButtonBar = class WorkbenchButtonBar extends ButtonBar {
|
|
|
47
47
|
actionRunner: this._actionRunner,
|
|
48
48
|
actions: rest,
|
|
49
49
|
contextMenuProvider: this._contextMenuService,
|
|
50
|
+
ariaLabel: action.label
|
|
50
51
|
});
|
|
51
52
|
}
|
|
52
53
|
else {
|
|
53
54
|
action = actionOrSubmenu;
|
|
54
55
|
btn = this.addButton({
|
|
55
56
|
secondary: conifgProvider(action)?.isSecondary ?? secondary,
|
|
57
|
+
ariaLabel: action.label
|
|
56
58
|
});
|
|
57
59
|
}
|
|
58
60
|
btn.enabled = action.enabled;
|
|
@@ -69,6 +69,7 @@ let DropdownWithPrimaryActionViewItem = class DropdownWithPrimaryActionViewItem
|
|
|
69
69
|
event.stopPropagation();
|
|
70
70
|
}
|
|
71
71
|
}));
|
|
72
|
+
this.updateEnabled();
|
|
72
73
|
}
|
|
73
74
|
focus(fromRight) {
|
|
74
75
|
if (fromRight) {
|
|
@@ -93,6 +94,10 @@ let DropdownWithPrimaryActionViewItem = class DropdownWithPrimaryActionViewItem
|
|
|
93
94
|
this._dropdown.setFocusable(false);
|
|
94
95
|
}
|
|
95
96
|
}
|
|
97
|
+
updateEnabled() {
|
|
98
|
+
const disabled = !this.action.enabled;
|
|
99
|
+
this.element?.classList.toggle('disabled', disabled);
|
|
100
|
+
}
|
|
96
101
|
update(dropdownAction, dropdownMenuActions, dropdownIcon) {
|
|
97
102
|
this._dropdown.dispose();
|
|
98
103
|
this._dropdown = ( new DropdownMenuActionViewItem(dropdownAction, dropdownMenuActions, this._contextMenuProvider, {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
import n from '../../../../../../external/rollup-plugin-styles/dist/runtime/inject-css.js';
|
|
2
|
-
var css = ".monaco-action-bar .action-item.menu-entry .action-label.icon{background-position:50%;background-repeat:no-repeat;background-size:16px;height:16px;width:16px}.monaco-dropdown-with-default{border-radius:5px;display:flex!important;flex-direction:row}.monaco-dropdown-with-default>.action-container>.action-label{margin-right:0}.monaco-dropdown-with-default>.action-container.menu-entry>.action-label.icon{background-position:50%;background-repeat:no-repeat;background-size:16px;height:16px;width:16px}.monaco-dropdown-with-default>.dropdown-action-container>.monaco-dropdown>.dropdown-label .codicon[class*=codicon-]{font-size:12px;line-height:16px;margin-left:-3px;padding-left:0;padding-right:0}.monaco-dropdown-with-default>.dropdown-action-container>.monaco-dropdown>.dropdown-label>.action-label{background-position:50%;background-repeat:no-repeat;background-size:16px;display:block}";
|
|
2
|
+
var css = ".monaco-action-bar .action-item.menu-entry .action-label.icon{background-position:50%;background-repeat:no-repeat;background-size:16px;height:16px;width:16px}.monaco-dropdown-with-default{border-radius:5px;display:flex!important;flex-direction:row}.monaco-dropdown-with-default>.action-container>.action-label{margin-right:0}.monaco-dropdown-with-default>.action-container.menu-entry>.action-label.icon{background-position:50%;background-repeat:no-repeat;background-size:16px;height:16px;width:16px}.monaco-dropdown-with-default:hover{background-color:var(--vscode-toolbar-hoverBackground)}.monaco-dropdown-with-default>.dropdown-action-container>.monaco-dropdown>.dropdown-label .codicon[class*=codicon-]{font-size:12px;line-height:16px;margin-left:-3px;padding-left:0;padding-right:0}.monaco-dropdown-with-default>.dropdown-action-container>.monaco-dropdown>.dropdown-label>.action-label{background-position:50%;background-repeat:no-repeat;background-size:16px;display:block}";
|
|
3
3
|
n(css,{});
|
|
4
4
|
export { css, css as default };
|
|
@@ -309,11 +309,11 @@ let DropdownWithDefaultActionViewItem = class DropdownWithDefaultActionViewItem
|
|
|
309
309
|
this._contextMenuService,
|
|
310
310
|
dropdownOptions
|
|
311
311
|
));
|
|
312
|
-
this._dropdown.actionRunner.onDidRun((e) => {
|
|
312
|
+
this._register(this._dropdown.actionRunner.onDidRun((e) => {
|
|
313
313
|
if (e.action instanceof MenuItemAction) {
|
|
314
314
|
this.update(e.action);
|
|
315
315
|
}
|
|
316
|
-
});
|
|
316
|
+
}));
|
|
317
317
|
}
|
|
318
318
|
update(lastAction) {
|
|
319
319
|
if (this._options?.persistLastActionId) {
|
|
@@ -31,6 +31,7 @@ declare class MenuId {
|
|
|
31
31
|
static readonly DebugCallStackContext: MenuId;
|
|
32
32
|
static readonly DebugConsoleContext: MenuId;
|
|
33
33
|
static readonly DebugVariablesContext: MenuId;
|
|
34
|
+
static readonly DebugHoverContext: MenuId;
|
|
34
35
|
static readonly DebugWatchContext: MenuId;
|
|
35
36
|
static readonly DebugToolBar: MenuId;
|
|
36
37
|
static readonly DebugToolBarStop: MenuId;
|
|
@@ -49,6 +50,7 @@ declare class MenuId {
|
|
|
49
50
|
static readonly EmptyEditorGroupContext: MenuId;
|
|
50
51
|
static readonly EditorTabsBarContext: MenuId;
|
|
51
52
|
static readonly EditorTabsBarShowTabsSubmenu: MenuId;
|
|
53
|
+
static readonly EditorTabsBarShowTabsZenModeSubmenu: MenuId;
|
|
52
54
|
static readonly EditorActionsPositionSubmenu: MenuId;
|
|
53
55
|
static readonly ExplorerContext: MenuId;
|
|
54
56
|
static readonly ExplorerContextShare: MenuId;
|
|
@@ -84,13 +86,19 @@ declare class MenuId {
|
|
|
84
86
|
static readonly OpenEditorsContextShare: MenuId;
|
|
85
87
|
static readonly ProblemsPanelContext: MenuId;
|
|
86
88
|
static readonly SCMInputBox: MenuId;
|
|
87
|
-
static readonly
|
|
89
|
+
static readonly SCMIncomingChanges: MenuId;
|
|
90
|
+
static readonly SCMOutgoingChanges: MenuId;
|
|
91
|
+
static readonly SCMIncomingChangesAllChangesContext: MenuId;
|
|
92
|
+
static readonly SCMIncomingChangesHistoryItemContext: MenuId;
|
|
93
|
+
static readonly SCMOutgoingChangesAllChangesContext: MenuId;
|
|
94
|
+
static readonly SCMOutgoingChangesHistoryItemContext: MenuId;
|
|
88
95
|
static readonly SCMChangeContext: MenuId;
|
|
89
96
|
static readonly SCMResourceContext: MenuId;
|
|
90
97
|
static readonly SCMResourceContextShare: MenuId;
|
|
91
98
|
static readonly SCMResourceFolderContext: MenuId;
|
|
92
99
|
static readonly SCMResourceGroupContext: MenuId;
|
|
93
100
|
static readonly SCMSourceControl: MenuId;
|
|
101
|
+
static readonly SCMSourceControlInline: MenuId;
|
|
94
102
|
static readonly SCMTitle: MenuId;
|
|
95
103
|
static readonly SearchContext: MenuId;
|
|
96
104
|
static readonly SearchActionMenu: MenuId;
|