@codingame/monaco-vscode-api 20.1.0 → 20.2.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +8 -8
- package/services.js +3 -3
- package/vscode/src/vs/base/browser/browser.d.ts +2 -0
- package/vscode/src/vs/base/browser/canIUse.d.ts +3 -0
- package/vscode/src/vs/base/browser/contextmenu.d.ts +14 -0
- package/vscode/src/vs/base/browser/cssValue.d.ts +8 -0
- package/vscode/src/vs/base/browser/dnd.d.ts +21 -0
- package/vscode/src/vs/base/browser/dom.d.ts +178 -0
- package/vscode/src/vs/base/browser/domSanitize.d.ts +26 -0
- package/vscode/src/vs/base/browser/domStylesheets.d.ts +3 -0
- package/vscode/src/vs/base/browser/dompurify/dompurify.d.ts +19 -0
- package/vscode/src/vs/base/browser/fonts.d.ts +8 -0
- package/vscode/src/vs/base/browser/iframe.d.ts +10 -0
- package/vscode/src/vs/base/browser/keyboardEvent.d.ts +3 -0
- package/vscode/src/vs/base/browser/markdownRenderer.d.ts +18 -0
- package/vscode/src/vs/base/browser/performance.d.ts +22 -0
- package/vscode/src/vs/base/browser/pixelRatio.d.ts +7 -0
- package/vscode/src/vs/base/browser/ui/actionbar/actionbar.css +29 -2
- package/vscode/src/vs/base/browser/ui/actionbar/actionbar.d.ts +5 -0
- package/vscode/src/vs/base/browser/ui/aria/aria.css +6 -1
- package/vscode/src/vs/base/browser/ui/aria/aria.d.ts +6 -0
- package/vscode/src/vs/base/browser/ui/button/button.css +36 -1
- package/vscode/src/vs/base/browser/ui/button/button.d.ts +9 -0
- package/vscode/src/vs/base/browser/ui/codicons/codicon/codicon-modifiers.css +11 -0
- package/vscode/src/vs/base/browser/ui/codicons/codicon/codicon.css +8 -0
- package/vscode/src/vs/base/browser/ui/contextview/contextview.css +6 -0
- package/vscode/src/vs/base/browser/ui/contextview/contextview.d.ts +14 -0
- package/vscode/src/vs/base/browser/ui/countBadge/countBadge.css +6 -0
- package/vscode/src/vs/base/browser/ui/dnd/dnd.css +12 -0
- package/vscode/src/vs/base/browser/ui/dropdown/dropdown.css +11 -0
- package/vscode/src/vs/base/browser/ui/findinput/findInput.css +20 -0
- package/vscode/src/vs/base/browser/ui/highlightedlabel/highlightedLabel.d.ts +27 -0
- package/vscode/src/vs/base/browser/ui/hover/hover.d.ts +258 -0
- package/vscode/src/vs/base/browser/ui/hover/hoverDelegate.d.ts +37 -0
- package/vscode/src/vs/base/browser/ui/hover/hoverDelegate2.d.ts +10 -0
- package/vscode/src/vs/base/browser/ui/hover/hoverWidget.css +54 -0
- package/vscode/src/vs/base/browser/ui/iconLabel/iconlabel.css +34 -6
- package/vscode/src/vs/base/browser/ui/inputbox/inputBox.css +27 -2
- package/vscode/src/vs/base/browser/ui/keybindingLabel/keybindingLabel.css +10 -0
- package/vscode/src/vs/base/browser/ui/keybindingLabel/keybindingLabel.d.ts +3 -0
- package/vscode/src/vs/base/browser/ui/list/list.css +21 -0
- package/vscode/src/vs/base/browser/ui/list/list.d.ts +9 -0
- package/vscode/src/vs/base/browser/ui/list/listView.d.ts +17 -3
- package/vscode/src/vs/base/browser/ui/list/listWidget.d.ts +26 -0
- package/vscode/src/vs/base/browser/ui/list/rangeMap.d.ts +29 -0
- package/vscode/src/vs/base/browser/ui/list/rowCache.d.ts +12 -0
- package/vscode/src/vs/base/browser/ui/mouseCursor/mouseCursor.css +5 -0
- package/vscode/src/vs/base/browser/ui/progressbar/progressbar.css +29 -1
- package/vscode/src/vs/base/browser/ui/progressbar/progressbar.d.ts +33 -0
- package/vscode/src/vs/base/browser/ui/sash/sash.css +31 -0
- package/vscode/src/vs/base/browser/ui/sash/sash.d.ts +125 -0
- package/vscode/src/vs/base/browser/ui/scrollbar/abstractScrollbar.d.ts +6 -0
- package/vscode/src/vs/base/browser/ui/scrollbar/media/scrollbars.css +16 -0
- package/vscode/src/vs/base/browser/ui/scrollbar/scrollableElement.d.ts +22 -0
- package/vscode/src/vs/base/browser/ui/scrollbar/scrollableElementOptions.d.ts +98 -0
- package/vscode/src/vs/base/browser/ui/scrollbar/scrollbarArrow.d.ts +3 -0
- package/vscode/src/vs/base/browser/ui/scrollbar/scrollbarState.d.ts +43 -0
- package/vscode/src/vs/base/browser/ui/selectBox/selectBox.css +11 -0
- package/vscode/src/vs/base/browser/ui/selectBox/selectBoxCustom.css +29 -1
- package/vscode/src/vs/base/browser/ui/severityIcon/media/severityIcon.css +7 -0
- package/vscode/src/vs/base/browser/ui/splitview/splitview.css +16 -0
- package/vscode/src/vs/base/browser/ui/splitview/splitview.d.ts +289 -0
- package/vscode/src/vs/base/browser/ui/table/table.css +12 -0
- package/vscode/src/vs/base/browser/ui/toggle/toggle.css +14 -0
- package/vscode/src/vs/base/browser/ui/toolbar/toolbar.css +6 -0
- package/vscode/src/vs/base/browser/ui/toolbar/toolbar.d.ts +12 -0
- package/vscode/src/vs/base/browser/ui/tree/abstractTree.d.ts +12 -0
- package/vscode/src/vs/base/browser/ui/tree/asyncDataTree.d.ts +19 -0
- package/vscode/src/vs/base/browser/ui/tree/indexTreeModel.d.ts +18 -0
- package/vscode/src/vs/base/browser/ui/tree/media/tree.css +38 -3
- package/vscode/src/vs/base/browser/ui/tree/objectTree.d.ts +12 -0
- package/vscode/src/vs/base/browser/ui/tree/tree.d.ts +43 -0
- package/vscode/src/vs/base/common/actions.d.ts +3 -0
- package/vscode/src/vs/base/common/arrays.d.ts +193 -1
- package/vscode/src/vs/base/common/arraysFind.d.ts +46 -0
- package/vscode/src/vs/base/common/assert.d.ts +28 -0
- package/vscode/src/vs/base/common/async.d.ts +361 -0
- package/vscode/src/vs/base/common/buffer.d.ts +31 -0
- package/vscode/src/vs/base/common/cache.d.ts +11 -0
- package/vscode/src/vs/base/common/cancellation.d.ts +11 -0
- package/vscode/src/vs/base/common/charCode.d.ts +319 -186
- package/vscode/src/vs/base/common/codicons.d.ts +14 -0
- package/vscode/src/vs/base/common/codiconsUtil.d.ts +3 -0
- package/vscode/src/vs/base/common/collections.d.ts +19 -0
- package/vscode/src/vs/base/common/color.d.ts +115 -0
- package/vscode/src/vs/base/common/comparers.d.ts +10 -0
- package/vscode/src/vs/base/common/dataTransfer.d.ts +38 -0
- package/vscode/src/vs/base/common/date.d.ts +15 -0
- package/vscode/src/vs/base/common/diff/diff.d.ts +90 -0
- package/vscode/src/vs/base/common/diff/diffChange.d.ts +29 -0
- package/vscode/src/vs/base/common/equals.d.ts +26 -0
- package/vscode/src/vs/base/common/errorMessage.d.ts +6 -0
- package/vscode/src/vs/base/common/errors.d.ts +26 -0
- package/vscode/src/vs/base/common/event.d.ts +356 -0
- package/vscode/src/vs/base/common/extpath.d.ts +34 -0
- package/vscode/src/vs/base/common/filters.d.ts +22 -0
- package/vscode/src/vs/base/common/functional.d.ts +3 -0
- package/vscode/src/vs/base/common/glob.d.ts +39 -0
- package/vscode/src/vs/base/common/hash.d.ts +12 -0
- package/vscode/src/vs/base/common/history.d.ts +7 -0
- package/vscode/src/vs/base/common/hotReload.d.ts +6 -0
- package/vscode/src/vs/base/common/htmlContent.d.ts +3 -0
- package/vscode/src/vs/base/common/iconLabels.d.ts +9 -0
- package/vscode/src/vs/base/common/ime.d.ts +6 -0
- package/vscode/src/vs/base/common/iterator.d.ts +7 -0
- package/vscode/src/vs/base/common/json.d.ts +98 -0
- package/vscode/src/vs/base/common/jsonSchema.d.ts +5 -0
- package/vscode/src/vs/base/common/keyCodes.d.ts +95 -18
- package/vscode/src/vs/base/common/keybindingLabels.d.ts +13 -0
- package/vscode/src/vs/base/common/keybindings.d.ts +54 -0
- package/vscode/src/vs/base/common/labels.d.ts +41 -0
- package/vscode/src/vs/base/common/lazy.d.ts +12 -0
- package/vscode/src/vs/base/common/lifecycle.d.ts +126 -0
- package/vscode/src/vs/base/common/map.d.ts +33 -0
- package/vscode/src/vs/base/common/marked/marked.d.ts +137 -0
- package/vscode/src/vs/base/common/naturalLanguage/korean.d.ts +8 -0
- package/vscode/src/vs/base/common/network.d.ts +85 -0
- package/vscode/src/vs/base/common/numbers.d.ts +45 -0
- package/vscode/src/vs/base/common/oauth.d.ts +369 -0
- package/vscode/src/vs/base/common/objects.d.ts +19 -0
- package/vscode/src/vs/base/common/observableInternal/base.d.ts +128 -0
- package/vscode/src/vs/base/common/observableInternal/changeTracker.d.ts +11 -0
- package/vscode/src/vs/base/common/observableInternal/debugName.d.ts +16 -0
- package/vscode/src/vs/base/common/observableInternal/experimental/reducer.d.ts +21 -0
- package/vscode/src/vs/base/common/observableInternal/experimental/utils.d.ts +11 -0
- package/vscode/src/vs/base/common/observableInternal/observables/baseObservable.d.ts +15 -0
- package/vscode/src/vs/base/common/observableInternal/observables/constObservable.d.ts +3 -0
- package/vscode/src/vs/base/common/observableInternal/observables/derived.d.ts +25 -0
- package/vscode/src/vs/base/common/observableInternal/observables/derivedImpl.d.ts +15 -0
- package/vscode/src/vs/base/common/observableInternal/observables/lazyObservableValue.d.ts +3 -0
- package/vscode/src/vs/base/common/observableInternal/observables/observableSignal.d.ts +5 -0
- package/vscode/src/vs/base/common/observableInternal/observables/observableValue.d.ts +10 -0
- package/vscode/src/vs/base/common/observableInternal/reactions/autorun.d.ts +27 -0
- package/vscode/src/vs/base/common/observableInternal/reactions/autorunImpl.d.ts +7 -0
- package/vscode/src/vs/base/common/observableInternal/transaction.d.ts +9 -0
- package/vscode/src/vs/base/common/observableInternal/utils/promise.d.ts +47 -1
- package/vscode/src/vs/base/common/observableInternal/utils/utils.d.ts +15 -0
- package/vscode/src/vs/base/common/observableInternal/utils/utilsCancellation.d.ts +3 -0
- package/vscode/src/vs/base/common/performance.d.ts +3 -0
- package/vscode/src/vs/base/common/platform.d.ts +37 -0
- package/vscode/src/vs/base/common/prefixTree.d.ts +23 -0
- package/vscode/src/vs/base/common/process.d.ts +23 -0
- package/vscode/src/vs/base/common/range.d.ts +4 -0
- package/vscode/src/vs/base/common/resources.d.ts +115 -0
- package/vscode/src/vs/base/common/scrollable.d.ts +17 -0
- package/vscode/src/vs/base/common/severity.d.ts +4 -0
- package/vscode/src/vs/base/common/skipList.d.ts +4 -0
- package/vscode/src/vs/base/common/sseParser.d.ts +51 -0
- package/vscode/src/vs/base/common/stream.d.ts +148 -0
- package/vscode/src/vs/base/common/strings.d.ts +134 -0
- package/vscode/src/vs/base/common/symbols.d.ts +3 -0
- package/vscode/src/vs/base/common/ternarySearchTree.d.ts +6 -0
- package/vscode/src/vs/base/common/types.d.ts +135 -0
- package/vscode/src/vs/base/common/uint.d.ts +24 -3
- package/vscode/src/vs/base/common/uri.d.ts +131 -0
- package/vscode/src/vs/base/common/worker/webWorker.d.ts +6 -0
- package/vscode/src/vs/base/parts/sandbox/common/electronTypes.d.ts +179 -0
- package/vscode/src/vs/base/parts/sandbox/common/sandboxTypes.d.ts +39 -0
- package/vscode/src/vs/base/parts/storage/common/storage.d.ts +11 -0
- package/vscode/src/vs/editor/browser/config/editorConfiguration.d.ts +20 -0
- package/vscode/src/vs/editor/browser/config/fontMeasurements.d.ts +15 -0
- package/vscode/src/vs/editor/browser/config/migrateOptions.d.ts +3 -0
- package/vscode/src/vs/editor/browser/config/tabFocus.d.ts +6 -0
- package/vscode/src/vs/editor/browser/controller/dragScrolling.d.ts +9 -0
- package/vscode/src/vs/editor/browser/controller/editContext/clipboardUtils.d.ts +5 -0
- package/vscode/src/vs/editor/browser/controller/editContext/native/editContextFactory.d.ts +3 -0
- package/vscode/src/vs/editor/browser/controller/editContext/native/nativeEditContext.css +11 -0
- package/vscode/src/vs/editor/browser/controller/editContext/native/screenReaderUtils.d.ts +18 -0
- package/vscode/src/vs/editor/browser/controller/editContext/screenReaderUtils.d.ts +5 -0
- package/vscode/src/vs/editor/browser/controller/editContext/textArea/textAreaEditContext.css +19 -0
- package/vscode/src/vs/editor/browser/controller/editContext/textArea/textAreaEditContext.d.ts +7 -0
- package/vscode/src/vs/editor/browser/controller/editContext/textArea/textAreaEditContextInput.d.ts +8 -0
- package/vscode/src/vs/editor/browser/controller/editContext/textArea/textAreaEditContextState.d.ts +13 -1
- package/vscode/src/vs/editor/browser/controller/mouseHandler.d.ts +9 -0
- package/vscode/src/vs/editor/browser/controller/mouseTarget.d.ts +6 -0
- package/vscode/src/vs/editor/browser/controller/pointerHandler.d.ts +3 -0
- package/vscode/src/vs/editor/browser/coreCommands.d.ts +24 -0
- package/vscode/src/vs/editor/browser/editorBrowser.d.ts +439 -0
- package/vscode/src/vs/editor/browser/editorDom.d.ts +39 -0
- package/vscode/src/vs/editor/browser/editorExtensions.d.ts +51 -0
- package/vscode/src/vs/editor/browser/gpu/atlas/atlas.d.ts +65 -0
- package/vscode/src/vs/editor/browser/gpu/atlas/textureAtlas.d.ts +23 -1
- package/vscode/src/vs/editor/browser/gpu/atlas/textureAtlasPage.d.ts +4 -0
- package/vscode/src/vs/editor/browser/gpu/atlas/textureAtlasShelfAllocator.d.ts +5 -0
- package/vscode/src/vs/editor/browser/gpu/atlas/textureAtlasSlabAllocator.d.ts +10 -0
- package/vscode/src/vs/editor/browser/gpu/bufferDirtyTracker.d.ts +20 -0
- package/vscode/src/vs/editor/browser/gpu/contentSegmenter.d.ts +6 -0
- package/vscode/src/vs/editor/browser/gpu/css/decorationCssRuleExtractor.d.ts +3 -0
- package/vscode/src/vs/editor/browser/gpu/css/decorationStyleCache.d.ts +12 -0
- package/vscode/src/vs/editor/browser/gpu/css/media/decorationCssRuleExtractor.css +5 -0
- package/vscode/src/vs/editor/browser/gpu/gpu.d.ts +3 -0
- package/vscode/src/vs/editor/browser/gpu/objectCollectionBuffer.d.ts +33 -0
- package/vscode/src/vs/editor/browser/gpu/raster/glyphRasterizer.d.ts +4 -0
- package/vscode/src/vs/editor/browser/gpu/raster/raster.d.ts +47 -0
- package/vscode/src/vs/editor/browser/gpu/renderStrategy/fullFileRenderStrategy.d.ts +20 -0
- package/vscode/src/vs/editor/browser/gpu/renderStrategy/viewportRenderStrategy.d.ts +10 -0
- package/vscode/src/vs/editor/browser/gpu/taskQueue.d.ts +33 -0
- package/vscode/src/vs/editor/browser/gpu/viewGpuContext.d.ts +22 -0
- package/vscode/src/vs/editor/browser/observableCodeEditor.d.ts +6 -0
- package/vscode/src/vs/editor/browser/services/codeEditorService.service.d.ts +3 -0
- package/vscode/src/vs/editor/browser/services/hoverService/hover.css +32 -0
- package/vscode/src/vs/editor/browser/services/hoverService/hoverWidget.d.ts +4 -0
- package/vscode/src/vs/editor/browser/services/inlineCompletionsService.service.d.ts +16 -0
- package/vscode/src/vs/editor/browser/view/renderingContext.d.ts +17 -1
- package/vscode/src/vs/editor/browser/view/viewController.d.ts +3 -0
- package/vscode/src/vs/editor/browser/view/viewLayer.d.ts +19 -0
- package/vscode/src/vs/editor/browser/viewParts/blockDecorations/blockDecorations.css +6 -0
- package/vscode/src/vs/editor/browser/viewParts/contentWidgets/contentWidgets.d.ts +5 -0
- package/vscode/src/vs/editor/browser/viewParts/currentLineHighlight/currentLineHighlight.css +7 -0
- package/vscode/src/vs/editor/browser/viewParts/currentLineHighlight/currentLineHighlight.d.ts +9 -0
- package/vscode/src/vs/editor/browser/viewParts/decorations/decorations.css +9 -0
- package/vscode/src/vs/editor/browser/viewParts/editorScrollbar/editorScrollbar.d.ts +4 -0
- package/vscode/src/vs/editor/browser/viewParts/glyphMargin/glyphMargin.css +16 -0
- package/vscode/src/vs/editor/browser/viewParts/glyphMargin/glyphMargin.d.ts +20 -0
- package/vscode/src/vs/editor/browser/viewParts/gpuMark/gpuMark.css +6 -0
- package/vscode/src/vs/editor/browser/viewParts/gpuMark/gpuMark.d.ts +3 -0
- package/vscode/src/vs/editor/browser/viewParts/indentGuides/indentGuides.css +5 -0
- package/vscode/src/vs/editor/browser/viewParts/indentGuides/indentGuides.d.ts +4 -0
- package/vscode/src/vs/editor/browser/viewParts/lineNumbers/lineNumbers.css +9 -0
- package/vscode/src/vs/editor/browser/viewParts/lineNumbers/lineNumbers.d.ts +3 -0
- package/vscode/src/vs/editor/browser/viewParts/linesDecorations/linesDecorations.css +9 -0
- package/vscode/src/vs/editor/browser/viewParts/margin/margin.css +5 -0
- package/vscode/src/vs/editor/browser/viewParts/margin/margin.d.ts +5 -0
- package/vscode/src/vs/editor/browser/viewParts/marginDecorations/marginDecorations.css +9 -0
- package/vscode/src/vs/editor/browser/viewParts/minimap/minimap.css +10 -0
- package/vscode/src/vs/editor/browser/viewParts/minimap/minimap.d.ts +31 -0
- package/vscode/src/vs/editor/browser/viewParts/minimap/minimapCharRendererFactory.d.ts +16 -0
- package/vscode/src/vs/editor/browser/viewParts/minimap/minimapCharSheet.d.ts +3 -3
- package/vscode/src/vs/editor/browser/viewParts/minimap/minimapPreBaked.d.ts +5 -0
- package/vscode/src/vs/editor/browser/viewParts/overlayWidgets/overlayWidgets.css +4 -0
- package/vscode/src/vs/editor/browser/viewParts/overviewRuler/overviewRuler.d.ts +4 -0
- package/vscode/src/vs/editor/browser/viewParts/rulers/rulers.css +5 -0
- package/vscode/src/vs/editor/browser/viewParts/rulers/rulers.d.ts +4 -0
- package/vscode/src/vs/editor/browser/viewParts/rulersGpu/rulersGpu.d.ts +4 -0
- package/vscode/src/vs/editor/browser/viewParts/scrollDecoration/scrollDecoration.css +5 -0
- package/vscode/src/vs/editor/browser/viewParts/selections/selections.css +14 -0
- package/vscode/src/vs/editor/browser/viewParts/selections/selections.d.ts +3 -0
- package/vscode/src/vs/editor/browser/viewParts/viewCursors/viewCursor.d.ts +4 -0
- package/vscode/src/vs/editor/browser/viewParts/viewCursors/viewCursors.css +19 -0
- package/vscode/src/vs/editor/browser/viewParts/viewCursors/viewCursors.d.ts +4 -0
- package/vscode/src/vs/editor/browser/viewParts/viewLines/rangeUtil.d.ts +5 -0
- package/vscode/src/vs/editor/browser/viewParts/viewLines/viewLines.css +34 -0
- package/vscode/src/vs/editor/browser/viewParts/viewLines/viewLines.d.ts +19 -0
- package/vscode/src/vs/editor/browser/viewParts/viewLinesGpu/viewLinesGpu.d.ts +3 -0
- package/vscode/src/vs/editor/browser/viewParts/viewZones/viewZones.d.ts +5 -0
- package/vscode/src/vs/editor/browser/viewParts/whitespace/whitespace.css +5 -0
- package/vscode/src/vs/editor/browser/viewParts/whitespace/whitespace.d.ts +4 -0
- package/vscode/src/vs/editor/browser/widget/codeEditor/codeEditorContributions.d.ts +12 -0
- package/vscode/src/vs/editor/browser/widget/codeEditor/codeEditorWidget.d.ts +32 -0
- package/vscode/src/vs/editor/browser/widget/codeEditor/editor.css +27 -0
- package/vscode/src/vs/editor/browser/widget/diffEditor/commands.d.ts +4 -0
- package/vscode/src/vs/editor/browser/widget/diffEditor/components/accessibleDiffViewer.css +20 -0
- package/vscode/src/vs/editor/browser/widget/diffEditor/components/accessibleDiffViewer.d.ts +6 -0
- package/vscode/src/vs/editor/browser/widget/diffEditor/components/diffEditorSash.d.ts +1 -0
- package/vscode/src/vs/editor/browser/widget/diffEditor/components/diffEditorViewZones/diffEditorViewZones.d.ts +7 -0
- package/vscode/src/vs/editor/browser/widget/diffEditor/diffEditorWidget.d.ts +10 -0
- package/vscode/src/vs/editor/browser/widget/diffEditor/features/gutterFeature.d.ts +3 -0
- package/vscode/src/vs/editor/browser/widget/diffEditor/features/hideUnchangedRegionsFeature.d.ts +3 -0
- package/vscode/src/vs/editor/browser/widget/diffEditor/features/revertButtonsFeature.d.ts +6 -0
- package/vscode/src/vs/editor/browser/widget/diffEditor/style.css +92 -1
- package/vscode/src/vs/editor/browser/widget/markdownRenderer/browser/markdownRenderer.d.ts +4 -0
- package/vscode/src/vs/editor/browser/widget/markdownRenderer/browser/renderedMarkdown.css +6 -0
- package/vscode/src/vs/editor/common/commands/surroundSelectionCommand.d.ts +3 -0
- package/vscode/src/vs/editor/common/commands/trimTrailingWhitespaceCommand.d.ts +3 -0
- package/vscode/src/vs/editor/common/config/editorConfiguration.d.ts +41 -0
- package/vscode/src/vs/editor/common/config/editorOptions.d.ts +862 -0
- package/vscode/src/vs/editor/common/config/fontInfo.d.ts +34 -0
- package/vscode/src/vs/editor/common/coordinatesConverter.d.ts +7 -0
- package/vscode/src/vs/editor/common/core/characterClassifier.d.ts +9 -0
- package/vscode/src/vs/editor/common/core/cursorColumns.d.ts +44 -0
- package/vscode/src/vs/editor/common/core/editOperation.d.ts +14 -0
- package/vscode/src/vs/editor/common/core/editorColorRegistry.d.ts +3 -0
- package/vscode/src/vs/editor/common/core/edits/edit.d.ts +55 -1
- package/vscode/src/vs/editor/common/core/edits/lengthEdit.d.ts +6 -0
- package/vscode/src/vs/editor/common/core/edits/lineEdit.d.ts +9 -1
- package/vscode/src/vs/editor/common/core/edits/stringEdit.d.ts +37 -0
- package/vscode/src/vs/editor/common/core/edits/textEdit.d.ts +3 -0
- package/vscode/src/vs/editor/common/core/misc/rgba.d.ts +16 -0
- package/vscode/src/vs/editor/common/core/position.d.ts +67 -0
- package/vscode/src/vs/editor/common/core/range.d.ts +140 -0
- package/vscode/src/vs/editor/common/core/ranges/columnRange.d.ts +8 -1
- package/vscode/src/vs/editor/common/core/ranges/lineRange.d.ts +57 -1
- package/vscode/src/vs/editor/common/core/ranges/offsetRange.d.ts +30 -0
- package/vscode/src/vs/editor/common/core/ranges/rangeSingleLine.d.ts +7 -1
- package/vscode/src/vs/editor/common/core/selection.d.ts +83 -0
- package/vscode/src/vs/editor/common/core/stringBuilder.d.ts +6 -0
- package/vscode/src/vs/editor/common/core/text/positionToOffsetImpl.d.ts +1 -0
- package/vscode/src/vs/editor/common/core/text/textLength.d.ts +3 -0
- package/vscode/src/vs/editor/common/core/wordHelper.d.ts +12 -0
- package/vscode/src/vs/editor/common/cursor/cursorAtomicMoveOperations.d.ts +15 -0
- package/vscode/src/vs/editor/common/cursor/cursorCollection.d.ts +7 -0
- package/vscode/src/vs/editor/common/cursor/cursorMoveCommands.d.ts +15 -0
- package/vscode/src/vs/editor/common/cursor/cursorMoveOperations.d.ts +7 -0
- package/vscode/src/vs/editor/common/cursor/cursorTypeEditOperations.d.ts +14 -0
- package/vscode/src/vs/editor/common/cursor/cursorTypeOperations.d.ts +3 -0
- package/vscode/src/vs/editor/common/cursor/oneCursor.d.ts +3 -0
- package/vscode/src/vs/editor/common/cursorCommon.d.ts +25 -0
- package/vscode/src/vs/editor/common/cursorEvents.d.ts +63 -0
- package/vscode/src/vs/editor/common/diff/defaultLinesDiffComputer/algorithms/diffAlgorithm.d.ts +23 -1
- package/vscode/src/vs/editor/common/diff/defaultLinesDiffComputer/algorithms/dynamicProgrammingDiffing.d.ts +4 -0
- package/vscode/src/vs/editor/common/diff/defaultLinesDiffComputer/algorithms/myersDiffAlgorithm.d.ts +3 -0
- package/vscode/src/vs/editor/common/diff/defaultLinesDiffComputer/linesSliceCharSequence.d.ts +4 -0
- package/vscode/src/vs/editor/common/diff/legacyLinesDiffComputer.d.ts +16 -0
- package/vscode/src/vs/editor/common/diff/linesDiffComputer.d.ts +24 -1
- package/vscode/src/vs/editor/common/diff/rangeMapping.d.ts +41 -0
- package/vscode/src/vs/editor/common/editorCommon.d.ts +218 -0
- package/vscode/src/vs/editor/common/editorContextKeys.d.ts +14 -0
- package/vscode/src/vs/editor/common/editorFeatures.d.ts +7 -0
- package/vscode/src/vs/editor/common/encodedTokenAttributes.d.ts +38 -0
- package/vscode/src/vs/editor/common/inputMode.d.ts +3 -0
- package/vscode/src/vs/editor/common/languageSelector.d.ts +6 -0
- package/vscode/src/vs/editor/common/languages/autoIndent.d.ts +16 -0
- package/vscode/src/vs/editor/common/languages/defaultDocumentColorsComputer.d.ts +3 -0
- package/vscode/src/vs/editor/common/languages/language.d.ts +3 -0
- package/vscode/src/vs/editor/common/languages/language.service.d.ts +77 -0
- package/vscode/src/vs/editor/common/languages/languageConfiguration.d.ts +195 -0
- package/vscode/src/vs/editor/common/languages/languageConfigurationRegistry.d.ts +9 -0
- package/vscode/src/vs/editor/common/languages/languageConfigurationRegistry.service.d.ts +3 -0
- package/vscode/src/vs/editor/common/languages/linkComputer.d.ts +5 -0
- package/vscode/src/vs/editor/common/languages/supports/electricCharacter.d.ts +4 -0
- package/vscode/src/vs/editor/common/languages/supports/indentationLineProcessor.d.ts +27 -0
- package/vscode/src/vs/editor/common/languages/supports/languageBracketsConfiguration.d.ts +22 -1
- package/vscode/src/vs/editor/common/languages/supports/richEditBrackets.d.ts +80 -0
- package/vscode/src/vs/editor/common/languages/supports/tokenization.d.ts +12 -0
- package/vscode/src/vs/editor/common/languages.d.ts +955 -1
- package/vscode/src/vs/editor/common/model/bracketPairsTextModelPart/bracketPairsImpl.d.ts +4 -0
- package/vscode/src/vs/editor/common/model/bracketPairsTextModelPart/bracketPairsTree/ast.d.ts +55 -0
- package/vscode/src/vs/editor/common/model/bracketPairsTextModelPart/bracketPairsTree/beforeEditPositionMapper.d.ts +10 -0
- package/vscode/src/vs/editor/common/model/bracketPairsTextModelPart/bracketPairsTree/bracketPairsTree.d.ts +3 -0
- package/vscode/src/vs/editor/common/model/bracketPairsTextModelPart/bracketPairsTree/brackets.d.ts +3 -0
- package/vscode/src/vs/editor/common/model/bracketPairsTextModelPart/bracketPairsTree/concat23Trees.d.ts +6 -0
- package/vscode/src/vs/editor/common/model/bracketPairsTextModelPart/bracketPairsTree/length.d.ts +16 -0
- package/vscode/src/vs/editor/common/model/bracketPairsTextModelPart/bracketPairsTree/nodeReader.d.ts +8 -0
- package/vscode/src/vs/editor/common/model/bracketPairsTextModelPart/bracketPairsTree/parser.d.ts +3 -0
- package/vscode/src/vs/editor/common/model/bracketPairsTextModelPart/bracketPairsTree/smallImmutableSet.d.ts +7 -0
- package/vscode/src/vs/editor/common/model/bracketPairsTextModelPart/bracketPairsTree/tokenizer.d.ts +23 -1
- package/vscode/src/vs/editor/common/model/decorationProvider.d.ts +13 -0
- package/vscode/src/vs/editor/common/model/fixedArray.d.ts +4 -0
- package/vscode/src/vs/editor/common/model/indentationGuesser.d.ts +9 -0
- package/vscode/src/vs/editor/common/model/intervalTree.d.ts +13 -0
- package/vscode/src/vs/editor/common/model/mirrorTextModel.d.ts +18 -0
- package/vscode/src/vs/editor/common/model/pieceTreeTextBuffer/pieceTreeBase.d.ts +29 -0
- package/vscode/src/vs/editor/common/model/pieceTreeTextBuffer/pieceTreeTextBuffer.d.ts +7 -0
- package/vscode/src/vs/editor/common/model/prefixSumComputer.d.ts +34 -0
- package/vscode/src/vs/editor/common/model/textModel.d.ts +17 -0
- package/vscode/src/vs/editor/common/model/textModelSearch.d.ts +4 -0
- package/vscode/src/vs/editor/common/model/textModelTokens.d.ts +19 -0
- package/vscode/src/vs/editor/common/model/tokens/abstractSyntaxTokenBackend.d.ts +8 -0
- package/vscode/src/vs/editor/common/model/tokens/tokenizationTextModelPart.d.ts +3 -0
- package/vscode/src/vs/editor/common/model/tokens/tokenizerSyntaxTokenBackend.d.ts +1 -0
- package/vscode/src/vs/editor/common/model/tokens/treeSitter/tokenStore.d.ts +22 -0
- package/vscode/src/vs/editor/common/model/tokens/treeSitter/treeSitterTokenizationImpl.d.ts +10 -0
- package/vscode/src/vs/editor/common/model/tokens/treeSitter/treeSitterTree.d.ts +4 -1
- package/vscode/src/vs/editor/common/model/utils.d.ts +5 -0
- package/vscode/src/vs/editor/common/model.d.ts +440 -0
- package/vscode/src/vs/editor/common/modelLineProjectionData.d.ts +52 -1
- package/vscode/src/vs/editor/common/services/editorWebWorker.d.ts +19 -0
- package/vscode/src/vs/editor/common/services/findSectionHeaders.d.ts +19 -0
- package/vscode/src/vs/editor/common/services/languagesAssociations.d.ts +23 -0
- package/vscode/src/vs/editor/common/services/modelService.d.ts +6 -0
- package/vscode/src/vs/editor/common/services/resolverService.service.d.ts +10 -0
- package/vscode/src/vs/editor/common/services/textModelSync/textModelSync.impl.d.ts +3 -0
- package/vscode/src/vs/editor/common/services/textResourceConfiguration.d.ts +11 -0
- package/vscode/src/vs/editor/common/services/textResourceConfiguration.service.d.ts +35 -0
- package/vscode/src/vs/editor/common/services/treeSitter/treeSitterLibraryService.service.d.ts +10 -0
- package/vscode/src/vs/editor/common/standalone/standaloneEnums.d.ts +377 -18
- package/vscode/src/vs/editor/common/textModelBracketPairs.d.ts +56 -3
- package/vscode/src/vs/editor/common/textModelEditSource.d.ts +4 -0
- package/vscode/src/vs/editor/common/textModelEvents.d.ts +210 -0
- package/vscode/src/vs/editor/common/textModelGuides.d.ts +28 -1
- package/vscode/src/vs/editor/common/tokenizationTextModelPart.d.ts +53 -0
- package/vscode/src/vs/editor/common/tokens/contiguousMultilineTokens.d.ts +24 -0
- package/vscode/src/vs/editor/common/tokens/contiguousTokensStore.d.ts +3 -0
- package/vscode/src/vs/editor/common/tokens/lineTokens.d.ts +20 -0
- package/vscode/src/vs/editor/common/tokens/sparseMultilineTokens.d.ts +9 -0
- package/vscode/src/vs/editor/common/tokens/sparseTokensStore.d.ts +3 -0
- package/vscode/src/vs/editor/common/tokens/tokenWithTextArray.d.ts +11 -0
- package/vscode/src/vs/editor/common/viewEvents.d.ts +85 -2
- package/vscode/src/vs/editor/common/viewLayout/lineDecorations.d.ts +3 -0
- package/vscode/src/vs/editor/common/viewLayout/lineHeights.d.ts +26 -0
- package/vscode/src/vs/editor/common/viewLayout/linePart.d.ts +8 -1
- package/vscode/src/vs/editor/common/viewLayout/linesLayout.d.ts +130 -0
- package/vscode/src/vs/editor/common/viewLayout/viewLineRenderer.d.ts +10 -0
- package/vscode/src/vs/editor/common/viewLayout/viewLinesViewportData.d.ts +21 -0
- package/vscode/src/vs/editor/common/viewModel/modelLineProjection.d.ts +3 -0
- package/vscode/src/vs/editor/common/viewModel/overviewZoneManager.d.ts +6 -0
- package/vscode/src/vs/editor/common/viewModel/viewModelDecorations.d.ts +12 -0
- package/vscode/src/vs/editor/common/viewModel/viewModelImpl.d.ts +15 -0
- package/vscode/src/vs/editor/common/viewModel/viewModelLines.d.ts +10 -0
- package/vscode/src/vs/editor/common/viewModel.d.ts +104 -1
- package/vscode/src/vs/editor/contrib/anchorSelect/browser/anchorSelect.css +5 -0
- package/vscode/src/vs/editor/contrib/bracketMatching/browser/bracketMatching.css +5 -0
- package/vscode/src/vs/editor/contrib/codeAction/browser/codeAction.d.ts +1 -1
- package/vscode/src/vs/editor/contrib/codeAction/browser/lightBulbWidget.css +16 -0
- package/vscode/src/vs/editor/contrib/codelens/browser/codelensWidget.css +15 -1
- package/vscode/src/vs/editor/contrib/colorPicker/browser/colorPicker.css +40 -0
- package/vscode/src/vs/editor/contrib/colorPicker/browser/hoverColorPicker/hoverColorPickerParticipant.d.ts +4 -0
- package/vscode/src/vs/editor/contrib/comment/browser/lineCommentCommand.d.ts +26 -0
- package/vscode/src/vs/editor/contrib/dnd/browser/dnd.css +9 -3
- package/vscode/src/vs/editor/contrib/dropOrPasteInto/browser/copyPasteController.d.ts +12 -0
- package/vscode/src/vs/editor/contrib/dropOrPasteInto/browser/dropIntoEditorController.d.ts +5 -0
- package/vscode/src/vs/editor/contrib/dropOrPasteInto/browser/edit.d.ts +4 -0
- package/vscode/src/vs/editor/contrib/dropOrPasteInto/browser/postEditWidget.css +8 -0
- package/vscode/src/vs/editor/contrib/editorState/browser/editorState.d.ts +8 -0
- package/vscode/src/vs/editor/contrib/find/browser/findDecorations.d.ts +1 -0
- package/vscode/src/vs/editor/contrib/find/browser/findOptionsWidget.css +5 -0
- package/vscode/src/vs/editor/contrib/find/browser/findWidget.css +62 -1
- package/vscode/src/vs/editor/contrib/find/browser/findWidget.d.ts +4 -0
- package/vscode/src/vs/editor/contrib/find/browser/replacePattern.d.ts +18 -0
- package/vscode/src/vs/editor/contrib/folding/browser/folding.css +10 -1
- package/vscode/src/vs/editor/contrib/folding/browser/folding.d.ts +6 -0
- package/vscode/src/vs/editor/contrib/folding/browser/foldingModel.d.ts +67 -0
- package/vscode/src/vs/editor/contrib/folding/browser/foldingRanges.d.ts +13 -0
- package/vscode/src/vs/editor/contrib/gotoError/browser/media/gotoErrorWidget.css +20 -0
- package/vscode/src/vs/editor/contrib/gotoSymbol/browser/link/clickLinkGesture.d.ts +9 -0
- package/vscode/src/vs/editor/contrib/gotoSymbol/browser/link/goToDefinitionAtPosition.css +5 -0
- package/vscode/src/vs/editor/contrib/gotoSymbol/browser/peek/referencesWidget.css +22 -0
- package/vscode/src/vs/editor/contrib/gotoSymbol/browser/peek/referencesWidget.d.ts +3 -0
- package/vscode/src/vs/editor/contrib/hover/browser/contentHoverWidgetWrapper.d.ts +3 -0
- package/vscode/src/vs/editor/contrib/hover/browser/hover.css +19 -0
- package/vscode/src/vs/editor/contrib/hover/browser/hoverOperation.d.ts +16 -0
- package/vscode/src/vs/editor/contrib/hover/browser/hoverTypes.d.ts +54 -0
- package/vscode/src/vs/editor/contrib/inPlaceReplace/browser/inPlaceReplace.css +6 -0
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/controller/inlineCompletionsController.d.ts +3 -0
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/hintsWidget/inlineCompletionsHintsWidget.css +12 -0
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/model/computeGhostText.d.ts +12 -0
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/model/ghostText.d.ts +11 -1
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/model/graph.d.ts +3 -0
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/model/inlineCompletionsSource.d.ts +3 -0
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/model/inlineSuggestionItem.d.ts +12 -0
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/model/provideInlineCompletions.d.ts +13 -0
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/model/typingSpeed.d.ts +13 -0
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/structuredLogger.d.ts +3 -0
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/view/ghostText/ghostTextView.css +16 -0
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/view/inlineEdits/inlineEditsViews/inlineEditsWordReplacementView.d.ts +4 -1
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/view/inlineEdits/view.css +58 -7
- package/vscode/src/vs/editor/contrib/inlineProgress/browser/inlineProgress.d.ts +1 -0
- package/vscode/src/vs/editor/contrib/inlineProgress/browser/inlineProgressWidget.css +9 -0
- package/vscode/src/vs/editor/contrib/insertFinalNewLine/browser/insertFinalNewLineCommand.d.ts +4 -0
- package/vscode/src/vs/editor/contrib/linesOperations/browser/linesOperations.d.ts +3 -0
- package/vscode/src/vs/editor/contrib/linesOperations/browser/moveLinesCommand.d.ts +9 -0
- package/vscode/src/vs/editor/contrib/linkedEditing/browser/linkedEditing.css +7 -0
- package/vscode/src/vs/editor/contrib/links/browser/links.css +5 -0
- package/vscode/src/vs/editor/contrib/message/browser/messageController.css +18 -0
- package/vscode/src/vs/editor/contrib/middleScroll/browser/middleScroll.css +7 -0
- package/vscode/src/vs/editor/contrib/parameterHints/browser/parameterHints.css +29 -0
- package/vscode/src/vs/editor/contrib/peekView/browser/media/peekViewWidget.css +18 -0
- package/vscode/src/vs/editor/contrib/placeholderText/browser/placeholderText.css +6 -0
- package/vscode/src/vs/editor/contrib/placeholderText/browser/placeholderTextContribution.d.ts +3 -0
- package/vscode/src/vs/editor/contrib/rename/browser/renameWidget.css +16 -2
- package/vscode/src/vs/editor/contrib/rename/browser/renameWidget.d.ts +27 -0
- package/vscode/src/vs/editor/contrib/snippet/browser/snippetParser.d.ts +4 -0
- package/vscode/src/vs/editor/contrib/snippet/browser/snippetSession.css +6 -0
- package/vscode/src/vs/editor/contrib/snippet/browser/snippetSession.d.ts +4 -0
- package/vscode/src/vs/editor/contrib/stickyScroll/browser/stickyScroll.css +15 -0
- package/vscode/src/vs/editor/contrib/stickyScroll/browser/stickyScrollElement.d.ts +22 -1
- package/vscode/src/vs/editor/contrib/stickyScroll/browser/stickyScrollModelProvider.d.ts +5 -0
- package/vscode/src/vs/editor/contrib/stickyScroll/browser/stickyScrollProvider.d.ts +42 -0
- package/vscode/src/vs/editor/contrib/stickyScroll/browser/stickyScrollWidget.d.ts +19 -0
- package/vscode/src/vs/editor/contrib/suggest/browser/completionModel.d.ts +3 -0
- package/vscode/src/vs/editor/contrib/suggest/browser/media/suggest.css +118 -0
- package/vscode/src/vs/editor/contrib/suggest/browser/suggest.d.ts +7 -0
- package/vscode/src/vs/editor/contrib/suggest/browser/suggestModel.d.ts +4 -0
- package/vscode/src/vs/editor/contrib/suggest/browser/suggestWidgetRenderer.d.ts +8 -0
- package/vscode/src/vs/editor/contrib/symbolIcons/browser/symbolIcons.css +5 -0
- package/vscode/src/vs/editor/contrib/unicodeHighlighter/browser/bannerController.css +19 -0
- package/vscode/src/vs/editor/contrib/unicodeHighlighter/browser/unicodeHighlighter.css +5 -0
- package/vscode/src/vs/editor/contrib/wordHighlighter/browser/highlightDecorations.css +8 -0
- package/vscode/src/vs/editor/contrib/zoneWidget/browser/zoneWidget.css +6 -0
- package/vscode/src/vs/editor/contrib/zoneWidget/browser/zoneWidget.d.ts +1 -0
- package/vscode/src/vs/editor/editor.worker.start.d.ts +5 -0
- package/vscode/src/vs/editor/standalone/browser/iPadShowKeyboard/iPadShowKeyboard.css +6 -0
- package/vscode/src/vs/editor/standalone/browser/quickInput/standaloneQuickInput.css +14 -0
- package/vscode/src/vs/editor/standalone/browser/standaloneCodeEditor.d.ts +73 -0
- package/vscode/src/vs/editor/standalone/browser/standaloneServices.d.ts +10 -0
- package/vscode/src/vs/editor/standalone/browser/standaloneTreeSitterLibraryService.d.ts +10 -0
- package/vscode/src/vs/nls.d.ts +96 -0
- package/vscode/src/vs/platform/accessibility/browser/accessibleView.d.ts +31 -0
- package/vscode/src/vs/platform/accessibility/browser/accessibleView.service.d.ts +4 -0
- package/vscode/src/vs/platform/accessibility/browser/accessibleViewRegistry.d.ts +3 -0
- package/vscode/src/vs/platform/accessibility/common/accessibility.d.ts +3 -0
- package/vscode/src/vs/platform/accessibilitySignal/browser/accessibilitySignalService.d.ts +16 -0
- package/vscode/src/vs/platform/accessibilitySignal/browser/accessibilitySignalService.service.d.ts +7 -0
- package/vscode/src/vs/platform/action/common/action.d.ts +32 -0
- package/vscode/src/vs/platform/actionWidget/browser/actionWidget.css +36 -0
- package/vscode/src/vs/platform/actions/browser/floatingMenu.d.ts +4 -0
- package/vscode/src/vs/platform/actions/browser/menuEntryActionViewItem.css +14 -0
- package/vscode/src/vs/platform/actions/browser/menuEntryActionViewItem.d.ts +3 -0
- package/vscode/src/vs/platform/actions/browser/toolbar.d.ts +67 -0
- package/vscode/src/vs/platform/actions/common/actions.d.ts +40 -0
- package/vscode/src/vs/platform/actions/common/actions.service.d.ts +20 -0
- package/vscode/src/vs/platform/clipboard/common/clipboardService.service.d.ts +33 -0
- package/vscode/src/vs/platform/commands/common/commands.d.ts +7 -0
- package/vscode/src/vs/platform/configuration/common/configuration.d.ts +9 -0
- package/vscode/src/vs/platform/configuration/common/configuration.service.d.ts +26 -0
- package/vscode/src/vs/platform/configuration/common/configurationRegistry.d.ts +126 -0
- package/vscode/src/vs/platform/contextkey/common/contextkey.d.ts +30 -0
- package/vscode/src/vs/platform/contextkey/common/scanner.d.ts +21 -1
- package/vscode/src/vs/platform/contextview/browser/contextView.d.ts +18 -0
- package/vscode/src/vs/platform/dialogs/common/dialogs.service.d.ts +87 -0
- package/vscode/src/vs/platform/dnd/browser/dnd.d.ts +22 -0
- package/vscode/src/vs/platform/editor/common/editor.d.ts +231 -0
- package/vscode/src/vs/platform/environment/common/argv.d.ts +3 -0
- package/vscode/src/vs/platform/environment/common/environment.d.ts +5 -0
- package/vscode/src/vs/platform/environment/common/environment.service.d.ts +16 -0
- package/vscode/src/vs/platform/extensionManagement/common/extensionManagement.d.ts +25 -22
- package/vscode/src/vs/platform/extensionManagement/common/extensionManagement.service.d.ts +4 -0
- package/vscode/src/vs/platform/extensionManagement/common/extensionsProfileScannerService.d.ts +6 -0
- package/vscode/src/vs/platform/extensionManagement/common/extensionsScannerService.d.ts +7 -0
- package/vscode/src/vs/platform/extensionManagement/common/implicitActivationEvents.d.ts +8 -0
- package/vscode/src/vs/platform/extensionResourceLoader/common/extensionResourceLoader.service.d.ts +15 -0
- package/vscode/src/vs/platform/extensions/common/extensions.d.ts +944 -0
- package/vscode/src/vs/platform/files/browser/webFileSystemAccess.d.ts +25 -0
- package/vscode/src/vs/platform/files/common/files.d.ts +408 -0
- package/vscode/src/vs/platform/files/common/files.service.d.ts +168 -0
- package/vscode/src/vs/platform/files/common/watcher.d.ts +83 -0
- package/vscode/src/vs/platform/imageResize/common/imageResizeService.service.d.ts +3 -0
- package/vscode/src/vs/platform/instantiation/common/extensions.d.ts +8 -0
- package/vscode/src/vs/platform/instantiation/common/graph.d.ts +4 -0
- package/vscode/src/vs/platform/instantiation/common/instantiation.d.ts +31 -0
- package/vscode/src/vs/platform/jsonschemas/common/jsonContributionRegistry.d.ts +18 -0
- package/vscode/src/vs/platform/keybinding/common/abstractKeybindingService.d.ts +7 -0
- package/vscode/src/vs/platform/keybinding/common/keybinding.service.d.ts +27 -0
- package/vscode/src/vs/platform/keybinding/common/keybindingResolver.d.ts +24 -1
- package/vscode/src/vs/platform/keybinding/common/keybindingsRegistry.d.ts +3 -0
- package/vscode/src/vs/platform/keybinding/common/usLayoutResolvedKeybinding.d.ts +6 -0
- package/vscode/src/vs/platform/label/common/label.service.d.ts +12 -0
- package/vscode/src/vs/platform/layout/browser/layoutService.d.ts +6 -0
- package/vscode/src/vs/platform/layout/browser/layoutService.service.d.ts +51 -0
- package/vscode/src/vs/platform/list/browser/listService.service.d.ts +3 -0
- package/vscode/src/vs/platform/log/common/log.d.ts +30 -0
- package/vscode/src/vs/platform/log/common/log.service.d.ts +52 -0
- package/vscode/src/vs/platform/markers/common/markerService.d.ts +3 -0
- package/vscode/src/vs/platform/markers/common/markers.d.ts +6 -0
- package/vscode/src/vs/platform/notification/common/notification.d.ts +185 -0
- package/vscode/src/vs/platform/notification/common/notification.service.d.ts +63 -0
- package/vscode/src/vs/platform/observable/common/platformObservableUtils.d.ts +2 -0
- package/vscode/src/vs/platform/observable/common/wrapInHotClass.d.ts +10 -0
- package/vscode/src/vs/platform/observable/common/wrapInReloadableClass.d.ts +10 -0
- package/vscode/src/vs/platform/opener/browser/link.css +7 -0
- package/vscode/src/vs/platform/opener/common/opener.d.ts +33 -0
- package/vscode/src/vs/platform/opener/common/opener.service.d.ts +27 -0
- package/vscode/src/vs/platform/product/common/product.d.ts +5 -0
- package/vscode/src/vs/platform/product/common/product.js +2 -2
- package/vscode/src/vs/platform/progress/common/progress.d.ts +15 -0
- package/vscode/src/vs/platform/progress/common/progress.service.d.ts +6 -0
- package/vscode/src/vs/platform/quickinput/browser/media/quickInput.css +115 -0
- package/vscode/src/vs/platform/quickinput/browser/quickInput.d.ts +4 -0
- package/vscode/src/vs/platform/quickinput/browser/quickInputList.d.ts +14 -0
- package/vscode/src/vs/platform/quickinput/browser/tree/quickInputDelegate.d.ts +3 -0
- package/vscode/src/vs/platform/quickinput/browser/tree/quickInputTreeAccessibilityProvider.d.ts +3 -0
- package/vscode/src/vs/platform/quickinput/browser/tree/quickInputTreeController.d.ts +3 -0
- package/vscode/src/vs/platform/quickinput/browser/tree/quickTree.d.ts +4 -0
- package/vscode/src/vs/platform/quickinput/common/quickAccess.d.ts +121 -0
- package/vscode/src/vs/platform/quickinput/common/quickInput.d.ts +574 -0
- package/vscode/src/vs/platform/quickinput/common/quickInput.service.d.ts +63 -0
- package/vscode/src/vs/platform/registry/common/platform.d.ts +14 -0
- package/vscode/src/vs/platform/remote/common/remoteAuthorityResolver.service.d.ts +7 -0
- package/vscode/src/vs/platform/remote/common/remoteExtensionsScanner.service.d.ts +3 -0
- package/vscode/src/vs/platform/remote/common/remoteSocketFactoryService.service.d.ts +6 -0
- package/vscode/src/vs/platform/storage/common/storage.d.ts +45 -0
- package/vscode/src/vs/platform/storage/common/storage.service.d.ts +120 -0
- package/vscode/src/vs/platform/telemetry/common/telemetry.service.d.ts +13 -0
- package/vscode/src/vs/platform/telemetry/common/telemetryUtils.d.ts +40 -0
- package/vscode/src/vs/platform/terminal/common/terminal.d.ts +342 -1
- package/vscode/src/vs/platform/terminal/common/terminal.service.d.ts +28 -0
- package/vscode/src/vs/platform/terminal/common/terminalProcess.d.ts +4 -0
- package/vscode/src/vs/platform/theme/common/colorUtils.d.ts +37 -0
- package/vscode/src/vs/platform/theme/common/iconRegistry.d.ts +32 -0
- package/vscode/src/vs/platform/theme/common/theme.d.ts +3 -0
- package/vscode/src/vs/platform/theme/common/themeService.d.ts +30 -0
- package/vscode/src/vs/platform/tunnel/common/tunnel.d.ts +13 -1
- package/vscode/src/vs/platform/undoRedo/common/undoRedo.d.ts +32 -0
- package/vscode/src/vs/platform/undoRedo/common/undoRedo.service.d.ts +32 -0
- package/vscode/src/vs/platform/update/common/update.d.ts +17 -0
- package/vscode/src/vs/platform/uriIdentity/common/uriIdentity.service.d.ts +26 -0
- package/vscode/src/vs/platform/url/common/url.d.ts +6 -0
- package/vscode/src/vs/platform/url/common/url.service.d.ts +5 -0
- package/vscode/src/vs/platform/userDataProfile/common/userDataProfile.d.ts +3 -0
- package/vscode/src/vs/platform/userDataProfile/common/userDataProfileStorageService.service.d.ts +16 -0
- package/vscode/src/vs/platform/userDataSync/common/userDataSync.d.ts +12 -12
- package/vscode/src/vs/platform/userDataSync/common/userDataSync.service.d.ts +4 -0
- package/vscode/src/vs/platform/webContentExtractor/common/webContentExtractor.d.ts +5 -0
- package/vscode/src/vs/platform/window/common/window.d.ts +39 -0
- package/vscode/src/vs/platform/workspace/common/workspace.d.ts +71 -1
- package/vscode/src/vs/platform/workspace/common/workspace.service.d.ts +36 -0
- package/vscode/src/vs/workbench/api/common/extHost.api.impl.d.ts +3 -0
- package/vscode/src/vs/workbench/api/common/extHost.protocol.d.ts +93 -3
- package/vscode/src/vs/workbench/api/common/extHostAuthentication.d.ts +9 -0
- package/vscode/src/vs/workbench/api/common/extHostConsoleForwarder.d.ts +9 -0
- package/vscode/src/vs/workbench/api/common/extHostExtensionActivator.d.ts +13 -0
- package/vscode/src/vs/workbench/api/common/extHostExtensionService.d.ts +7 -0
- package/vscode/src/vs/workbench/api/common/extHostLanguageModelTools.d.ts +2 -0
- package/vscode/src/vs/workbench/api/common/extHostMcp.d.ts +1 -0
- package/vscode/src/vs/workbench/api/common/extHostNotebook.d.ts +11 -0
- package/vscode/src/vs/workbench/api/common/extHostTerminalService.d.ts +7 -0
- package/vscode/src/vs/workbench/api/common/extHostTestItem.d.ts +3 -0
- package/vscode/src/vs/workbench/api/common/extHostTesting.d.ts +96 -2
- package/vscode/src/vs/workbench/api/common/extHostTestingPrivateApi.d.ts +5 -0
- package/vscode/src/vs/workbench/api/common/extHostTunnelService.d.ts +8 -0
- package/vscode/src/vs/workbench/api/common/extHostTypes.d.ts +123 -0
- package/vscode/src/vs/workbench/api/common/extHostWorkspace.d.ts +3 -0
- package/vscode/src/vs/workbench/browser/actions/media/actions.css +12 -0
- package/vscode/src/vs/workbench/browser/parts/editor/editor.d.ts +69 -0
- package/vscode/src/vs/workbench/common/composite.d.ts +24 -0
- package/vscode/src/vs/workbench/common/contributions.d.ts +62 -0
- package/vscode/src/vs/workbench/common/editor/diffEditorInput.d.ts +4 -0
- package/vscode/src/vs/workbench/common/editor/diffEditorModel.d.ts +4 -0
- package/vscode/src/vs/workbench/common/editor/editorInput.d.ts +181 -0
- package/vscode/src/vs/workbench/common/editor/editorModel.d.ts +17 -0
- package/vscode/src/vs/workbench/common/editor/sideBySideEditorInput.d.ts +3 -0
- package/vscode/src/vs/workbench/common/editor/textDiffEditorModel.d.ts +4 -0
- package/vscode/src/vs/workbench/common/editor/textEditorModel.d.ts +15 -0
- package/vscode/src/vs/workbench/common/editor.d.ts +617 -0
- package/vscode/src/vs/workbench/common/panecomposite.d.ts +3 -0
- package/vscode/src/vs/workbench/common/views.d.ts +74 -0
- package/vscode/src/vs/workbench/contrib/accessibility/browser/accessibilityConfiguration.d.ts +4 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/chat.service.d.ts +3 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/chatContentParts/chatContentParts.d.ts +11 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/chatContentParts/chatMarkdownAnchorService.service.d.ts +3 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/chatContextPickService.service.d.ts +5 -0
- package/vscode/src/vs/workbench/contrib/chat/common/chatAgents.service.d.ts +9 -0
- package/vscode/src/vs/workbench/contrib/chat/common/chatContextKeys.d.ts +3 -0
- package/vscode/src/vs/workbench/contrib/chat/common/chatEditingService.d.ts +58 -0
- package/vscode/src/vs/workbench/contrib/chat/common/chatEditingService.service.d.ts +6 -0
- package/vscode/src/vs/workbench/contrib/chat/common/chatService.d.ts +19 -0
- package/vscode/src/vs/workbench/contrib/chat/common/chatService.service.d.ts +3 -0
- package/vscode/src/vs/workbench/contrib/chat/common/chatSlashCommands.service.d.ts +3 -0
- package/vscode/src/vs/workbench/contrib/chat/common/chatVariableEntries.d.ts +18 -0
- package/vscode/src/vs/workbench/contrib/chat/common/constants.d.ts +3 -0
- package/vscode/src/vs/workbench/contrib/chat/common/languageModelToolsService.d.ts +11 -0
- package/vscode/src/vs/workbench/contrib/chat/common/languageModels.d.ts +12 -0
- package/vscode/src/vs/workbench/contrib/chat/common/languageModels.service.d.ts +5 -0
- package/vscode/src/vs/workbench/contrib/chat/common/promptSyntax/contentProviders/types.d.ts +34 -0
- package/vscode/src/vs/workbench/contrib/chat/common/promptSyntax/parsers/types.d.ts +64 -0
- package/vscode/src/vs/workbench/contrib/chat/common/promptSyntax/service/promptsService.d.ts +78 -0
- package/vscode/src/vs/workbench/contrib/chat/common/promptSyntax/service/promptsService.service.d.ts +40 -0
- package/vscode/src/vs/workbench/contrib/chat/common/tools/promptTsxTypes.d.ts +10 -0
- package/vscode/src/vs/workbench/contrib/codeEditor/browser/dictation/editorDictation.css +9 -0
- package/vscode/src/vs/workbench/contrib/codeEditor/browser/editorLineNumberMenu.d.ts +6 -0
- package/vscode/src/vs/workbench/contrib/codeEditor/browser/largeFileOptimizations.d.ts +3 -0
- package/vscode/src/vs/workbench/contrib/codeEditor/browser/menuPreventer.d.ts +3 -0
- package/vscode/src/vs/workbench/contrib/codeEditor/browser/saveParticipants.d.ts +3 -0
- package/vscode/src/vs/workbench/contrib/codeEditor/browser/toggleWordWrap.d.ts +9 -0
- package/vscode/src/vs/workbench/contrib/comments/common/commentContextKeys.d.ts +33 -0
- package/vscode/src/vs/workbench/contrib/debug/common/abstractDebugAdapter.d.ts +26 -0
- package/vscode/src/vs/workbench/contrib/debug/common/debug.d.ts +161 -0
- package/vscode/src/vs/workbench/contrib/debug/common/debug.service.d.ts +130 -0
- package/vscode/src/vs/workbench/contrib/debug/common/debugUtils.d.ts +11 -0
- package/vscode/src/vs/workbench/contrib/debug/common/debugVisualizers.service.d.ts +18 -0
- package/vscode/src/vs/workbench/contrib/externalUriOpener/common/externalUriOpenerService.service.d.ts +7 -0
- package/vscode/src/vs/workbench/contrib/files/browser/files.service.d.ts +4 -0
- package/vscode/src/vs/workbench/contrib/logs/common/defaultLogLevels.service.d.ts +3 -0
- package/vscode/src/vs/workbench/contrib/mcp/common/mcpRegistryTypes.d.ts +14 -0
- package/vscode/src/vs/workbench/contrib/mcp/common/mcpRegistryTypes.service.d.ts +9 -0
- package/vscode/src/vs/workbench/contrib/mcp/common/mcpTypes.d.ts +124 -0
- package/vscode/src/vs/workbench/contrib/mcp/common/mcpTypes.service.d.ts +15 -0
- package/vscode/src/vs/workbench/contrib/mcp/common/modelContextProtocol.d.ts +787 -0
- package/vscode/src/vs/workbench/contrib/notebook/common/notebookCommon.d.ts +71 -0
- package/vscode/src/vs/workbench/contrib/notebook/common/notebookEditorModelResolverService.d.ts +19 -0
- package/vscode/src/vs/workbench/contrib/notebook/common/notebookKernelService.service.d.ts +13 -0
- package/vscode/src/vs/workbench/contrib/notebook/common/notebookRendererMessagingService.d.ts +7 -0
- package/vscode/src/vs/workbench/contrib/notebook/common/notebookRendererMessagingService.service.d.ts +12 -0
- package/vscode/src/vs/workbench/contrib/notebook/common/notebookService.service.d.ts +2 -0
- package/vscode/src/vs/workbench/contrib/scm/browser/quickDiffModel.service.d.ts +6 -0
- package/vscode/src/vs/workbench/contrib/scm/common/scm.service.d.ts +3 -0
- package/vscode/src/vs/workbench/contrib/search/browser/replace.service.d.ts +14 -0
- package/vscode/src/vs/workbench/contrib/speech/common/speechService.service.d.ts +14 -0
- package/vscode/src/vs/workbench/contrib/tags/common/workspaceTags.service.d.ts +4 -0
- package/vscode/src/vs/workbench/contrib/tasks/common/taskService.service.d.ts +8 -0
- package/vscode/src/vs/workbench/contrib/tasks/common/tasks.d.ts +224 -0
- package/vscode/src/vs/workbench/contrib/terminal/browser/terminal.d.ts +508 -13
- package/vscode/src/vs/workbench/contrib/terminal/browser/terminal.service.d.ts +92 -0
- package/vscode/src/vs/workbench/contrib/terminal/browser/xterm-private.d.ts +4 -0
- package/vscode/src/vs/workbench/contrib/terminal/common/environmentVariable.service.d.ts +21 -0
- package/vscode/src/vs/workbench/contrib/terminal/common/terminal.service.d.ts +3 -0
- package/vscode/src/vs/workbench/contrib/testing/common/testCoverageService.service.d.ts +16 -0
- package/vscode/src/vs/workbench/contrib/testing/common/testExplorerFilterState.service.d.ts +31 -0
- package/vscode/src/vs/workbench/contrib/testing/common/testId.d.ts +79 -0
- package/vscode/src/vs/workbench/contrib/testing/common/testItemCollection.d.ts +49 -0
- package/vscode/src/vs/workbench/contrib/testing/common/testProfileService.service.d.ts +36 -0
- package/vscode/src/vs/workbench/contrib/testing/common/testResultService.service.d.ts +24 -0
- package/vscode/src/vs/workbench/contrib/testing/common/testResultStorage.service.d.ts +6 -0
- package/vscode/src/vs/workbench/contrib/testing/common/testService.service.d.ts +62 -0
- package/vscode/src/vs/workbench/contrib/testing/common/testTypes.d.ts +150 -0
- package/vscode/src/vs/workbench/contrib/testing/common/testingContinuousRunService.service.d.ts +36 -0
- package/vscode/src/vs/workbench/contrib/testing/common/testingDecorations.service.d.ts +19 -0
- package/vscode/src/vs/workbench/contrib/testing/common/testingPeekOpener.d.ts +2 -0
- package/vscode/src/vs/workbench/contrib/testing/common/testingPeekOpener.service.d.ts +18 -0
- package/vscode/src/vs/workbench/contrib/timeline/common/timeline.d.ts +29 -0
- package/vscode/src/vs/workbench/contrib/webview/browser/webview.service.d.ts +18 -0
- package/vscode/src/vs/workbench/contrib/webview/common/webview.d.ts +19 -0
- package/vscode/src/vs/workbench/contrib/webviewPanel/browser/webviewWorkbenchService.service.d.ts +31 -0
- package/vscode/src/vs/workbench/contrib/webviewView/browser/webviewViewService.service.d.ts +10 -0
- package/vscode/src/vs/workbench/services/activity/common/activity.service.d.ts +21 -0
- package/vscode/src/vs/workbench/services/authentication/browser/authenticationAccessService.service.d.ts +8 -0
- package/vscode/src/vs/workbench/services/authentication/browser/authenticationMcpAccessService.service.d.ts +8 -0
- package/vscode/src/vs/workbench/services/authentication/browser/authenticationMcpService.service.d.ts +41 -0
- package/vscode/src/vs/workbench/services/authentication/browser/authenticationMcpUsageService.service.d.ts +24 -0
- package/vscode/src/vs/workbench/services/authentication/browser/authenticationUsageService.service.d.ts +24 -0
- package/vscode/src/vs/workbench/services/authentication/common/authentication.d.ts +107 -0
- package/vscode/src/vs/workbench/services/authentication/common/authentication.service.d.ts +124 -0
- package/vscode/src/vs/workbench/services/authentication/common/authenticationQuery.d.ts +267 -0
- package/vscode/src/vs/workbench/services/authentication/common/authenticationQuery.service.d.ts +33 -0
- package/vscode/src/vs/workbench/services/authentication/common/dynamicAuthenticationProviderStorage.d.ts +3 -0
- package/vscode/src/vs/workbench/services/authentication/common/dynamicAuthenticationProviderStorage.service.d.ts +39 -0
- package/vscode/src/vs/workbench/services/configurationResolver/common/configurationResolver.service.d.ts +20 -0
- package/vscode/src/vs/workbench/services/configurationResolver/common/configurationResolverExpression.d.ts +29 -0
- package/vscode/src/vs/workbench/services/editor/common/editorGroupsService.d.ts +511 -0
- package/vscode/src/vs/workbench/services/editor/common/editorGroupsService.service.d.ts +49 -0
- package/vscode/src/vs/workbench/services/editor/common/editorPaneService.service.d.ts +6 -0
- package/vscode/src/vs/workbench/services/editor/common/editorResolverService.d.ts +12 -0
- package/vscode/src/vs/workbench/services/editor/common/editorResolverService.service.d.ts +41 -0
- package/vscode/src/vs/workbench/services/editor/common/editorService.d.ts +45 -0
- package/vscode/src/vs/workbench/services/editor/common/editorService.service.d.ts +174 -0
- package/vscode/src/vs/workbench/services/environment/common/environmentService.service.d.ts +4 -0
- package/vscode/src/vs/workbench/services/extensionManagement/common/extensionManagement.service.d.ts +44 -0
- package/vscode/src/vs/workbench/services/extensions/common/extensionHostProtocol.d.ts +3 -0
- package/vscode/src/vs/workbench/services/extensions/common/extensionHostProxy.d.ts +3 -0
- package/vscode/src/vs/workbench/services/extensions/common/extensions.d.ts +64 -0
- package/vscode/src/vs/workbench/services/extensions/common/extensions.service.d.ts +94 -0
- package/vscode/src/vs/workbench/services/extensions/common/extensionsRegistry.d.ts +4 -0
- package/vscode/src/vs/workbench/services/extensions/common/proxyIdentifier.d.ts +18 -0
- package/vscode/src/vs/workbench/services/files/common/elevatedFileService.service.d.ts +7 -0
- package/vscode/src/vs/workbench/services/history/common/history.d.ts +28 -0
- package/vscode/src/vs/workbench/services/history/common/history.service.d.ts +51 -0
- package/vscode/src/vs/workbench/services/host/browser/host.service.d.ts +69 -0
- package/vscode/src/vs/workbench/services/keybinding/common/fallbackKeyboardMapper.d.ts +3 -0
- package/vscode/src/vs/workbench/services/languageDetection/common/languageDetectionWorkerService.service.d.ts +9 -0
- package/vscode/src/vs/workbench/services/layout/browser/layoutService.service.d.ts +119 -0
- package/vscode/src/vs/workbench/services/lifecycle/common/lifecycle.d.ts +116 -0
- package/vscode/src/vs/workbench/services/lifecycle/common/lifecycle.service.d.ts +54 -0
- package/vscode/src/vs/workbench/services/lifecycle/common/lifecycleService.d.ts +3 -0
- package/vscode/src/vs/workbench/services/output/common/output.d.ts +57 -0
- package/vscode/src/vs/workbench/services/output/common/output.service.d.ts +45 -0
- package/vscode/src/vs/workbench/services/panecomposite/browser/panecomposite.service.d.ts +30 -0
- package/vscode/src/vs/workbench/services/path/common/pathService.service.d.ts +42 -0
- package/vscode/src/vs/workbench/services/remote/common/remoteAgentService.service.d.ts +16 -0
- package/vscode/src/vs/workbench/services/search/common/folderQuerySearchTree.d.ts +4 -0
- package/vscode/src/vs/workbench/services/search/common/queryBuilder.d.ts +28 -0
- package/vscode/src/vs/workbench/services/search/common/search.d.ts +32 -0
- package/vscode/src/vs/workbench/services/search/common/search.service.d.ts +3 -0
- package/vscode/src/vs/workbench/services/search/common/searchExtConversionTypes.d.ts +273 -0
- package/vscode/src/vs/workbench/services/search/common/searchExtTypes.d.ts +327 -0
- package/vscode/src/vs/workbench/services/search/common/textSearchManager.d.ts +6 -0
- package/vscode/src/vs/workbench/services/statusbar/browser/statusbar.d.ts +91 -0
- package/vscode/src/vs/workbench/services/statusbar/browser/statusbar.service.d.ts +10 -0
- package/vscode/src/vs/workbench/services/terminal/common/embedderTerminalService.service.d.ts +3 -0
- package/vscode/src/vs/workbench/services/textfile/common/encoding.d.ts +9 -0
- package/vscode/src/vs/workbench/services/textfile/common/textEditorService.service.d.ts +17 -0
- package/vscode/src/vs/workbench/services/textfile/common/textfiles.d.ts +179 -0
- package/vscode/src/vs/workbench/services/textfile/common/textfiles.service.d.ts +74 -0
- package/vscode/src/vs/workbench/services/timer/browser/timerService.service.d.ts +31 -0
- package/vscode/src/vs/workbench/services/title/browser/titleService.service.d.ts +6 -0
- package/vscode/src/vs/workbench/services/untitled/common/untitledTextEditorService.service.d.ts +46 -0
- package/vscode/src/vs/workbench/services/userActivity/common/userActivityService.service.d.ts +14 -0
- package/vscode/src/vs/workbench/services/workingCopy/common/workingCopyBackup.d.ts +11 -0
- package/vscode/src/vs/workbench/services/workingCopy/common/workingCopyBackup.service.d.ts +32 -0
- package/vscode/src/vs/workbench/services/workingCopy/common/workingCopyEditorService.service.d.ts +9 -0
- package/vscode/src/vs/workbench/services/workingCopy/common/workingCopyFileService.service.d.ts +84 -0
- package/vscode/src/vs/workbench/services/workingCopy/common/workingCopyHistory.service.d.ts +43 -0
- package/vscode/src/vs/workbench/services/workingCopy/common/workingCopyService.service.d.ts +63 -0
- package/vscode/src/vs/workbench/services/workspaces/common/workspaceEditing.service.d.ts +28 -0
|
@@ -1,14 +1,24 @@
|
|
|
1
1
|
import { IHoverDelegate } from "../hover/hoverDelegate.js";
|
|
2
2
|
import { Disposable } from "../../../common/lifecycle.js";
|
|
3
|
+
/**
|
|
4
|
+
* A range to be highlighted.
|
|
5
|
+
*/
|
|
3
6
|
export interface IHighlight {
|
|
4
7
|
start: number;
|
|
5
8
|
end: number;
|
|
6
9
|
readonly extraClasses?: readonly string[];
|
|
7
10
|
}
|
|
8
11
|
export interface IHighlightedLabelOptions {
|
|
12
|
+
/**
|
|
13
|
+
* Whether the label supports rendering icons.
|
|
14
|
+
*/
|
|
9
15
|
readonly supportIcons?: boolean;
|
|
10
16
|
readonly hoverDelegate?: IHoverDelegate;
|
|
11
17
|
}
|
|
18
|
+
/**
|
|
19
|
+
* A widget which can render a label with substring highlights, often
|
|
20
|
+
* originating from a filter function like the fuzzy matcher.
|
|
21
|
+
*/
|
|
12
22
|
export declare class HighlightedLabel extends Disposable {
|
|
13
23
|
private readonly options?;
|
|
14
24
|
private readonly domNode;
|
|
@@ -18,8 +28,25 @@ export declare class HighlightedLabel extends Disposable {
|
|
|
18
28
|
private supportIcons;
|
|
19
29
|
private didEverRender;
|
|
20
30
|
private customHover;
|
|
31
|
+
/**
|
|
32
|
+
* Create a new {@link HighlightedLabel}.
|
|
33
|
+
*
|
|
34
|
+
* @param container The parent container to append to.
|
|
35
|
+
*/
|
|
21
36
|
constructor(container: HTMLElement, options?: IHighlightedLabelOptions | undefined);
|
|
37
|
+
/**
|
|
38
|
+
* The label's DOM node.
|
|
39
|
+
*/
|
|
22
40
|
get element(): HTMLElement;
|
|
41
|
+
/**
|
|
42
|
+
* Set the label and highlights.
|
|
43
|
+
*
|
|
44
|
+
* @param text The label to display.
|
|
45
|
+
* @param highlights The ranges to highlight.
|
|
46
|
+
* @param title An optional title for the hover tooltip.
|
|
47
|
+
* @param escapeNewLines Whether to escape new lines.
|
|
48
|
+
* @returns
|
|
49
|
+
*/
|
|
23
50
|
set(text: string | undefined, highlights?: readonly IHighlight[], title?: string, escapeNewLines?: boolean): void;
|
|
24
51
|
private render;
|
|
25
52
|
static escapeNewLines(text: string, highlights: readonly IHighlight[]): string;
|
|
@@ -3,30 +3,176 @@ import type { HoverPosition } from "./hoverWidget.js";
|
|
|
3
3
|
import type { CancellationToken } from "../../../common/cancellation.js";
|
|
4
4
|
import type { IMarkdownString } from "../../../common/htmlContent.js";
|
|
5
5
|
import type { IDisposable } from "../../../common/lifecycle.js";
|
|
6
|
+
/**
|
|
7
|
+
* Enables the convenient display of rich markdown-based hovers in the workbench.
|
|
8
|
+
*/
|
|
6
9
|
export interface IHoverDelegate2 {
|
|
10
|
+
/**
|
|
11
|
+
* Shows a hover after a delay, or immediately if the {@link groupId} matches the currently
|
|
12
|
+
* shown hover.
|
|
13
|
+
*
|
|
14
|
+
* Use this method when you want to:
|
|
15
|
+
*
|
|
16
|
+
* - Control showing the hover yourself.
|
|
17
|
+
* - Show the hover after the standard delay.
|
|
18
|
+
*
|
|
19
|
+
* @param options The options of the hover.
|
|
20
|
+
* @param groupId The group ID of the hover. If the group ID is the same as the currently shown
|
|
21
|
+
* hover, the hover will be shown immediately, skipping the delay.
|
|
22
|
+
*/
|
|
7
23
|
showDelayedHover(options: IHoverOptions, lifecycleOptions: Pick<IHoverLifecycleOptions, "groupId">): IHoverWidget | undefined;
|
|
24
|
+
/**
|
|
25
|
+
* A simple wrapper around showDelayedHover that includes listening to events on the
|
|
26
|
+
* {@link target} element that shows the hover.
|
|
27
|
+
*
|
|
28
|
+
* Use this method when you want to:
|
|
29
|
+
*
|
|
30
|
+
* - Let the hover service handle showing the hover.
|
|
31
|
+
* - Show the hover after the standard delay.
|
|
32
|
+
* - Want the hover positioned beside the {@link target} element.
|
|
33
|
+
*
|
|
34
|
+
* @param target The target element to listener for mouseover events on.
|
|
35
|
+
* @param hoverOptions The options of the hover.
|
|
36
|
+
* @param lifecycleOptions The options of the hover's lifecycle.
|
|
37
|
+
*/
|
|
8
38
|
setupDelayedHover(target: HTMLElement, hoverOptions: (() => IDelayedHoverOptions) | IDelayedHoverOptions, lifecycleOptions?: IHoverLifecycleOptions): IDisposable;
|
|
39
|
+
/**
|
|
40
|
+
* A simple wrapper around showDelayedHover that includes listening to events on the
|
|
41
|
+
* {@link target} element that shows the hover. This differs from {@link setupDelayedHover} in
|
|
42
|
+
* that the hover will be shown at the mouse position instead of the
|
|
43
|
+
* {@link target target} element's position, ignoring any
|
|
44
|
+
* {@link IHoverOptions.position position options} that are passed in.
|
|
45
|
+
*
|
|
46
|
+
* Use this method when you want to:
|
|
47
|
+
*
|
|
48
|
+
* - Let the hover service handle showing the hover.
|
|
49
|
+
* - Show the hover after the standard delay.
|
|
50
|
+
* - Want the hover positioned beside the mouse.
|
|
51
|
+
*
|
|
52
|
+
* @param target The target element to listener for mouseover events on.
|
|
53
|
+
* @param hoverOptions The options of the hover.
|
|
54
|
+
* @param lifecycleOptions The options of the hover's lifecycle.
|
|
55
|
+
*/
|
|
9
56
|
setupDelayedHoverAtMouse(target: HTMLElement, hoverOptions: (() => IDelayedHoverAtMouseOptions) | IDelayedHoverAtMouseOptions, lifecycleOptions?: IHoverLifecycleOptions): IDisposable;
|
|
57
|
+
/**
|
|
58
|
+
* Shows a hover immediately, provided a hover with the same {@link options} object is not
|
|
59
|
+
* already visible.
|
|
60
|
+
*
|
|
61
|
+
* Use this method when you want to:
|
|
62
|
+
*
|
|
63
|
+
* - Control showing the hover yourself.
|
|
64
|
+
* - Show the hover immediately.
|
|
65
|
+
*
|
|
66
|
+
* @param options A set of options defining the characteristics of the hover.
|
|
67
|
+
* @param focus Whether to focus the hover (useful for keyboard accessibility).
|
|
68
|
+
*
|
|
69
|
+
* @example A simple usage with a single element target.
|
|
70
|
+
*
|
|
71
|
+
* ```typescript
|
|
72
|
+
* showInstantHover({
|
|
73
|
+
* text: new MarkdownString('Hello world'),
|
|
74
|
+
* target: someElement
|
|
75
|
+
* });
|
|
76
|
+
* ```
|
|
77
|
+
*/
|
|
10
78
|
showInstantHover(options: IHoverOptions, focus?: boolean): IHoverWidget | undefined;
|
|
79
|
+
/**
|
|
80
|
+
* Hides the hover if it was visible. This call will be ignored if the hover is currently
|
|
81
|
+
* "locked" via the alt/option key unless `force` is set.
|
|
82
|
+
*/
|
|
11
83
|
hideHover(force?: boolean): void;
|
|
84
|
+
/**
|
|
85
|
+
* This should only be used until we have the ability to show multiple context views
|
|
86
|
+
* simultaneously. #188822
|
|
87
|
+
*/
|
|
12
88
|
showAndFocusLastHover(): void;
|
|
89
|
+
/**
|
|
90
|
+
* Sets up a managed hover for the given element. A managed hover will set up listeners for
|
|
91
|
+
* mouse events, show the hover after a delay and provide hooks to easily update the content.
|
|
92
|
+
*
|
|
93
|
+
* This should be used over {@link showInstantHover} when fine-grained control is not needed. The
|
|
94
|
+
* managed hover also does not scale well, consider using {@link showInstantHover} when showing hovers
|
|
95
|
+
* for many elements.
|
|
96
|
+
*
|
|
97
|
+
* @param hoverDelegate The hover delegate containing hooks and configuration for the hover.
|
|
98
|
+
* @param targetElement The target element to show the hover for.
|
|
99
|
+
* @param content The content of the hover or a factory that creates it at the time it's shown.
|
|
100
|
+
* @param options Additional options for the managed hover.
|
|
101
|
+
*
|
|
102
|
+
* @deprecated Use {@link setupDelayedHover} or {@link setupDelayedHoverAtMouse} instead where
|
|
103
|
+
* possible.
|
|
104
|
+
*/
|
|
13
105
|
setupManagedHover(hoverDelegate: IHoverDelegate, targetElement: HTMLElement, content: IManagedHoverContentOrFactory, options?: IManagedHoverOptions): IManagedHover;
|
|
106
|
+
/**
|
|
107
|
+
* Shows the hover for the given element if one has been setup.
|
|
108
|
+
*
|
|
109
|
+
* @param targetElement The target element of the hover, as set up in {@link setupManagedHover}.
|
|
110
|
+
*
|
|
111
|
+
* @deprecated Use {@link setupDelayedHover} or {@link setupDelayedHoverAtMouse} instead where
|
|
112
|
+
* possible.
|
|
113
|
+
*/
|
|
14
114
|
showManagedHover(targetElement: HTMLElement): void;
|
|
15
115
|
}
|
|
16
116
|
export interface IHoverWidget extends IDisposable {
|
|
117
|
+
/**
|
|
118
|
+
* Whether the hover widget has been disposed.
|
|
119
|
+
*/
|
|
17
120
|
readonly isDisposed: boolean;
|
|
18
121
|
}
|
|
19
122
|
export interface IHoverOptions {
|
|
123
|
+
/**
|
|
124
|
+
* The content to display in the primary section of the hover. The type of text determines the
|
|
125
|
+
* default `hideOnHover` behavior.
|
|
126
|
+
*/
|
|
20
127
|
content: IMarkdownString | string | HTMLElement;
|
|
128
|
+
/**
|
|
129
|
+
* The target for the hover. This determines the position of the hover and it will only be
|
|
130
|
+
* hidden when the mouse leaves both the hover and the target. A HTMLElement can be used for
|
|
131
|
+
* simple cases and a IHoverTarget for more complex cases where multiple elements and/or a
|
|
132
|
+
* dispose method is required.
|
|
133
|
+
*/
|
|
21
134
|
target: IHoverTarget | HTMLElement;
|
|
22
135
|
container?: HTMLElement;
|
|
136
|
+
/**
|
|
137
|
+
* An ID to associate with the hover to be used as an equality check. Normally when calling
|
|
138
|
+
* {@link IHoverService.showHover} the options object itself is used to determine if the hover
|
|
139
|
+
* is the same one that is already showing, when this is set, the ID will be used instead.
|
|
140
|
+
*
|
|
141
|
+
* When `undefined`, this will default to a serialized version of {@link content}. In this case
|
|
142
|
+
* it will remain `undefined` if {@link content} is a `HTMLElement`.
|
|
143
|
+
*/
|
|
23
144
|
id?: string;
|
|
145
|
+
/**
|
|
146
|
+
* A set of actions for the hover's "status bar".
|
|
147
|
+
*/
|
|
24
148
|
actions?: IHoverAction[];
|
|
149
|
+
/**
|
|
150
|
+
* An optional array of classes to add to the hover element.
|
|
151
|
+
*/
|
|
25
152
|
additionalClasses?: string[];
|
|
153
|
+
/**
|
|
154
|
+
* An optional link handler for markdown links, if this is not provided the IOpenerService will
|
|
155
|
+
* be used to open the links using its default options.
|
|
156
|
+
*/
|
|
26
157
|
linkHandler?(url: string): void;
|
|
158
|
+
/**
|
|
159
|
+
* Whether to trap focus in the following ways:
|
|
160
|
+
* - When the hover closes, focus goes to the element that had focus before the hover opened
|
|
161
|
+
* - If there are elements in the hover to focus, focus stays inside of the hover when tabbing
|
|
162
|
+
* Note that this is overridden to true when in screen reader optimized mode.
|
|
163
|
+
*/
|
|
27
164
|
trapFocus?: boolean;
|
|
165
|
+
/**
|
|
166
|
+
* Options that defines where the hover is positioned.
|
|
167
|
+
*/
|
|
28
168
|
position?: IHoverPositionOptions;
|
|
169
|
+
/**
|
|
170
|
+
* Options that defines how long the hover is shown and when it hides.
|
|
171
|
+
*/
|
|
29
172
|
persistence?: IHoverPersistenceOptions;
|
|
173
|
+
/**
|
|
174
|
+
* Options that define how the hover looks.
|
|
175
|
+
*/
|
|
30
176
|
appearance?: IHoverAppearanceOptions;
|
|
31
177
|
}
|
|
32
178
|
export type IDelayedHoverOptions = Omit<IHoverOptions, "target">;
|
|
@@ -34,34 +180,137 @@ export type IDelayedHoverAtMouseOptions = Omit<IDelayedHoverOptions, "position"
|
|
|
34
180
|
appearance?: Omit<IHoverAppearanceOptions, "showPointer">;
|
|
35
181
|
};
|
|
36
182
|
export interface IHoverLifecycleOptions {
|
|
183
|
+
/**
|
|
184
|
+
* The group ID of the hover. If the group ID is the same as the currently shown hover, the
|
|
185
|
+
* hover will be shown immediately, skipping the delay.
|
|
186
|
+
*
|
|
187
|
+
* @example Use a UUID to set a unique `groupId` for related hovers
|
|
188
|
+
*
|
|
189
|
+
* ```typescript
|
|
190
|
+
* const groupId = generateUuid();
|
|
191
|
+
* showDelayedHover({ content: 'Button 1', target: someElement1 }, { groupId });
|
|
192
|
+
* showDelayedHover({ content: 'Button 2', target: someElement2 }, { groupId });
|
|
193
|
+
* ```
|
|
194
|
+
*
|
|
195
|
+
* @example Use a feature-specific string to set a unqiue `groupId` for related hovers
|
|
196
|
+
*
|
|
197
|
+
* ```typescript
|
|
198
|
+
* showDelayedHover({ content: 'Button 1', target: someElement1 }, { groupId: 'my-feature-items' });
|
|
199
|
+
* showDelayedHover({ content: 'Button 2', target: someElement2 }, { groupId: 'my-feature-items' });
|
|
200
|
+
* ```
|
|
201
|
+
*/
|
|
37
202
|
groupId?: string;
|
|
203
|
+
/**
|
|
204
|
+
* Whether to set up space and enter keyboard events for the hover, when these are pressed when
|
|
205
|
+
* the hover's target is focused it will show and focus the hover.
|
|
206
|
+
*
|
|
207
|
+
* Typically this should _not_ be used when the space or enter events are already handled by
|
|
208
|
+
* something else.
|
|
209
|
+
*/
|
|
38
210
|
setupKeyboardEvents?: boolean;
|
|
39
211
|
}
|
|
40
212
|
export interface IHoverPositionOptions {
|
|
213
|
+
/**
|
|
214
|
+
* Position of the hover. The default is to show above the target. This option will be ignored
|
|
215
|
+
* if there is not enough room to layout the hover in the specified position, unless the
|
|
216
|
+
* forcePosition option is set.
|
|
217
|
+
*/
|
|
41
218
|
hoverPosition?: HoverPosition | MouseEvent;
|
|
219
|
+
/**
|
|
220
|
+
* Force the hover position, reducing the size of the hover instead of adjusting the hover
|
|
221
|
+
* position.
|
|
222
|
+
*/
|
|
42
223
|
forcePosition?: boolean;
|
|
43
224
|
}
|
|
44
225
|
export interface IHoverPersistenceOptions {
|
|
226
|
+
/**
|
|
227
|
+
* Whether to hide the hover when the mouse leaves the `target` and enters the actual hover.
|
|
228
|
+
* This is false by default when text is an `IMarkdownString` and true when `text` is a
|
|
229
|
+
* `string`. Note that this will be ignored if any `actions` are provided as hovering is
|
|
230
|
+
* required to make them accessible.
|
|
231
|
+
*
|
|
232
|
+
* In general hiding on hover is desired for:
|
|
233
|
+
* - Regular text where selection is not important
|
|
234
|
+
* - Markdown that contains no links where selection is not important
|
|
235
|
+
*/
|
|
45
236
|
hideOnHover?: boolean;
|
|
237
|
+
/**
|
|
238
|
+
* Whether to hide the hover when a key is pressed.
|
|
239
|
+
*/
|
|
46
240
|
hideOnKeyDown?: boolean;
|
|
241
|
+
/**
|
|
242
|
+
* Whether to make the hover sticky, this means it will not be hidden when the mouse leaves the
|
|
243
|
+
* hover.
|
|
244
|
+
*/
|
|
47
245
|
sticky?: boolean;
|
|
48
246
|
}
|
|
49
247
|
export interface IHoverAppearanceOptions {
|
|
248
|
+
/**
|
|
249
|
+
* Whether to show the hover pointer, a little arrow that connects the target and the hover.
|
|
250
|
+
*/
|
|
50
251
|
showPointer?: boolean;
|
|
252
|
+
/**
|
|
253
|
+
* Whether to show a compact hover, reducing the font size and padding of the hover.
|
|
254
|
+
*/
|
|
51
255
|
compact?: boolean;
|
|
256
|
+
/**
|
|
257
|
+
* When {@link hideOnHover} is explicitly true or undefined and its auto value is detected to
|
|
258
|
+
* hide, show a hint at the bottom of the hover explaining how to mouse over the widget. This
|
|
259
|
+
* should be used in the cases where despite the hover having no interactive content, it's
|
|
260
|
+
* likely the user may want to interact with it somehow.
|
|
261
|
+
*/
|
|
52
262
|
showHoverHint?: boolean;
|
|
263
|
+
/**
|
|
264
|
+
* Whether to skip the fade in animation, this should be used when hovering from one hover to
|
|
265
|
+
* another in the same group so it looks like the hover is moving from one element to the other.
|
|
266
|
+
*/
|
|
53
267
|
skipFadeInAnimation?: boolean;
|
|
268
|
+
/**
|
|
269
|
+
* The max height of the hover relative to the window height.
|
|
270
|
+
* Accepted values: (0,1]
|
|
271
|
+
* Default: 0.5
|
|
272
|
+
*/
|
|
54
273
|
maxHeightRatio?: number;
|
|
55
274
|
}
|
|
56
275
|
export interface IHoverAction {
|
|
276
|
+
/**
|
|
277
|
+
* The label to use in the hover's status bar.
|
|
278
|
+
*/
|
|
57
279
|
label: string;
|
|
280
|
+
/**
|
|
281
|
+
* The command ID of the action, this is used to resolve the keybinding to display after the
|
|
282
|
+
* action label.
|
|
283
|
+
*/
|
|
58
284
|
commandId: string;
|
|
285
|
+
/**
|
|
286
|
+
* An optional class of an icon that will be displayed before the label.
|
|
287
|
+
*/
|
|
59
288
|
iconClass?: string;
|
|
289
|
+
/**
|
|
290
|
+
* The callback to run the action.
|
|
291
|
+
* @param target The action element that was activated.
|
|
292
|
+
*/
|
|
60
293
|
run(target: HTMLElement): void;
|
|
61
294
|
}
|
|
295
|
+
/**
|
|
296
|
+
* A target for a hover.
|
|
297
|
+
*/
|
|
62
298
|
export interface IHoverTarget extends Partial<IDisposable> {
|
|
299
|
+
/**
|
|
300
|
+
* A set of target elements used to position the hover. If multiple elements are used the hover
|
|
301
|
+
* will try to not overlap any target element. An example use case for this is show a hover for
|
|
302
|
+
* wrapped text.
|
|
303
|
+
*/
|
|
63
304
|
readonly targetElements: readonly HTMLElement[];
|
|
305
|
+
/**
|
|
306
|
+
* An optional absolute x coordinate to position the hover with, for example to position the
|
|
307
|
+
* hover using `MouseEvent.pageX`.
|
|
308
|
+
*/
|
|
64
309
|
readonly x?: number;
|
|
310
|
+
/**
|
|
311
|
+
* An optional absolute y coordinate to position the hover with, for example to position the
|
|
312
|
+
* hover using `MouseEvent.pageY`.
|
|
313
|
+
*/
|
|
65
314
|
readonly y?: number;
|
|
66
315
|
}
|
|
67
316
|
export interface IManagedHoverTooltipMarkdownString {
|
|
@@ -79,7 +328,16 @@ export interface IManagedHoverOptions extends Pick<IHoverOptions, "actions" | "l
|
|
|
79
328
|
appearance?: Pick<IHoverAppearanceOptions, "showHoverHint">;
|
|
80
329
|
}
|
|
81
330
|
export interface IManagedHover extends IDisposable {
|
|
331
|
+
/**
|
|
332
|
+
* Allows to programmatically open the hover.
|
|
333
|
+
*/
|
|
82
334
|
show(focus?: boolean): void;
|
|
335
|
+
/**
|
|
336
|
+
* Allows to programmatically hide the hover.
|
|
337
|
+
*/
|
|
83
338
|
hide(): void;
|
|
339
|
+
/**
|
|
340
|
+
* Updates the contents of the hover.
|
|
341
|
+
*/
|
|
84
342
|
update(tooltip: IManagedHoverContent, options?: IManagedHoverOptions): void;
|
|
85
343
|
}
|
|
@@ -7,15 +7,52 @@ export interface IHoverDelegateTarget extends IDisposable {
|
|
|
7
7
|
x?: number;
|
|
8
8
|
}
|
|
9
9
|
export interface IHoverDelegateOptions extends IManagedHoverOptions {
|
|
10
|
+
/**
|
|
11
|
+
* The content to display in the primary section of the hover. The type of text determines the
|
|
12
|
+
* default `hideOnHover` behavior.
|
|
13
|
+
*/
|
|
10
14
|
content: IMarkdownString | string | HTMLElement;
|
|
15
|
+
/**
|
|
16
|
+
* The target for the hover. This determines the position of the hover and it will only be
|
|
17
|
+
* hidden when the mouse leaves both the hover and the target. A HTMLElement can be used for
|
|
18
|
+
* simple cases and a IHoverDelegateTarget for more complex cases where multiple elements and/or a
|
|
19
|
+
* dispose method is required.
|
|
20
|
+
*/
|
|
11
21
|
target: IHoverDelegateTarget | HTMLElement;
|
|
22
|
+
/**
|
|
23
|
+
* The container to pass to {@link IContextViewProvider.showContextView} which renders the hover
|
|
24
|
+
* in. This is particularly useful for more natural tab focusing behavior, where the hover is
|
|
25
|
+
* created as the next tab index after the element being hovered and/or to workaround the
|
|
26
|
+
* element's container hiding on `focusout`.
|
|
27
|
+
*/
|
|
12
28
|
container?: HTMLElement;
|
|
29
|
+
/**
|
|
30
|
+
* Options that defines where the hover is positioned.
|
|
31
|
+
*/
|
|
13
32
|
position?: {
|
|
33
|
+
/**
|
|
34
|
+
* Position of the hover. The default is to show above the target. This option will be ignored
|
|
35
|
+
* if there is not enough room to layout the hover in the specified position, unless the
|
|
36
|
+
* forcePosition option is set.
|
|
37
|
+
*/
|
|
14
38
|
hoverPosition?: HoverPosition;
|
|
15
39
|
};
|
|
16
40
|
appearance?: {
|
|
41
|
+
/**
|
|
42
|
+
* Whether to show the hover pointer
|
|
43
|
+
*/
|
|
17
44
|
showPointer?: boolean;
|
|
45
|
+
/**
|
|
46
|
+
* When {@link hideOnHover} is explicitly true or undefined and its auto value is detected to
|
|
47
|
+
* hide, show a hint at the bottom of the hover explaining how to mouse over the widget. This
|
|
48
|
+
* should be used in the cases where despite the hover having no interactive content, it's
|
|
49
|
+
* likely the user may want to interact with it somehow.
|
|
50
|
+
*/
|
|
18
51
|
showHoverHint?: boolean;
|
|
52
|
+
/**
|
|
53
|
+
* Whether to skip the fade in animation, this should be used when hovering from one hover to
|
|
54
|
+
* another in the same group so it looks like the hover is moving from one element to the other.
|
|
55
|
+
*/
|
|
19
56
|
skipFadeInAnimation?: boolean;
|
|
20
57
|
};
|
|
21
58
|
}
|
|
@@ -1,3 +1,13 @@
|
|
|
1
1
|
import type { IHoverDelegate2 } from "./hover.js";
|
|
2
|
+
/**
|
|
3
|
+
* Sets the hover delegate for use **only in the `base/` layer**.
|
|
4
|
+
*/
|
|
2
5
|
export declare function setBaseLayerHoverDelegate(hoverDelegate: IHoverDelegate2): void;
|
|
6
|
+
/**
|
|
7
|
+
* Gets the hover delegate for use **only in the `base/` layer**.
|
|
8
|
+
*
|
|
9
|
+
* Since the hover service depends on various platform services, this delegate essentially bypasses
|
|
10
|
+
* the standard dependency injection mechanism by injecting a global hover service at start up. The
|
|
11
|
+
* only reason this should be used is if `IHoverService` is not available.
|
|
12
|
+
*/
|
|
3
13
|
export declare function getBaseLayerHoverDelegate(): IHoverDelegate2;
|
|
@@ -1,3 +1,8 @@
|
|
|
1
|
+
/*---------------------------------------------------------------------------------------------
|
|
2
|
+
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
3
|
+
* Licensed under the MIT License. See License.txt in the project root for license information.
|
|
4
|
+
*--------------------------------------------------------------------------------------------*/
|
|
5
|
+
|
|
1
6
|
.monaco-hover {
|
|
2
7
|
cursor: default;
|
|
3
8
|
position: absolute;
|
|
@@ -8,25 +13,32 @@
|
|
|
8
13
|
line-height: 1.5em;
|
|
9
14
|
white-space: var(--vscode-hover-whiteSpace, normal);
|
|
10
15
|
}
|
|
16
|
+
|
|
11
17
|
.monaco-hover.fade-in {
|
|
12
18
|
animation: fadein 100ms linear;
|
|
13
19
|
}
|
|
20
|
+
|
|
14
21
|
.monaco-hover.hidden {
|
|
15
22
|
display: none;
|
|
16
23
|
}
|
|
24
|
+
|
|
17
25
|
.monaco-hover a:hover:not(.disabled) {
|
|
18
26
|
cursor: pointer;
|
|
19
27
|
}
|
|
28
|
+
|
|
20
29
|
.monaco-hover .hover-contents:not(.html-hover-contents) {
|
|
21
30
|
padding: 4px 8px;
|
|
22
31
|
}
|
|
32
|
+
|
|
23
33
|
.monaco-hover .markdown-hover > .hover-contents:not(.code-hover-contents) {
|
|
24
34
|
max-width: var(--vscode-hover-maxWidth, 500px);
|
|
25
35
|
word-wrap: break-word;
|
|
26
36
|
}
|
|
37
|
+
|
|
27
38
|
.monaco-hover .markdown-hover > .hover-contents:not(.code-hover-contents) hr {
|
|
28
39
|
min-width: 100%;
|
|
29
40
|
}
|
|
41
|
+
|
|
30
42
|
.monaco-hover p,
|
|
31
43
|
.monaco-hover .code,
|
|
32
44
|
.monaco-hover ul,
|
|
@@ -38,6 +50,7 @@
|
|
|
38
50
|
.monaco-hover h6 {
|
|
39
51
|
margin: 8px 0;
|
|
40
52
|
}
|
|
53
|
+
|
|
41
54
|
.monaco-hover h1,
|
|
42
55
|
.monaco-hover h2,
|
|
43
56
|
.monaco-hover h3,
|
|
@@ -46,9 +59,11 @@
|
|
|
46
59
|
.monaco-hover h6 {
|
|
47
60
|
line-height: 1.1;
|
|
48
61
|
}
|
|
62
|
+
|
|
49
63
|
.monaco-hover code {
|
|
50
64
|
font-family: var(--monaco-monospace-font);
|
|
51
65
|
}
|
|
66
|
+
|
|
52
67
|
.monaco-hover hr {
|
|
53
68
|
box-sizing: border-box;
|
|
54
69
|
border-left: 0px;
|
|
@@ -59,48 +74,60 @@
|
|
|
59
74
|
margin-right: -8px;
|
|
60
75
|
height: 1px;
|
|
61
76
|
}
|
|
77
|
+
|
|
62
78
|
.monaco-hover p:first-child,
|
|
63
79
|
.monaco-hover .code:first-child,
|
|
64
80
|
.monaco-hover ul:first-child {
|
|
65
81
|
margin-top: 0;
|
|
66
82
|
}
|
|
83
|
+
|
|
67
84
|
.monaco-hover p:last-child,
|
|
68
85
|
.monaco-hover .code:last-child,
|
|
69
86
|
.monaco-hover ul:last-child {
|
|
70
87
|
margin-bottom: 0;
|
|
71
88
|
}
|
|
89
|
+
|
|
90
|
+
/* MarkupContent Layout */
|
|
72
91
|
.monaco-hover ul {
|
|
73
92
|
padding-left: 20px;
|
|
74
93
|
}
|
|
75
94
|
.monaco-hover ol {
|
|
76
95
|
padding-left: 20px;
|
|
77
96
|
}
|
|
97
|
+
|
|
78
98
|
.monaco-hover li > p {
|
|
79
99
|
margin-bottom: 0;
|
|
80
100
|
}
|
|
101
|
+
|
|
81
102
|
.monaco-hover li > ul {
|
|
82
103
|
margin-top: 0;
|
|
83
104
|
}
|
|
105
|
+
|
|
84
106
|
.monaco-hover code {
|
|
85
107
|
border-radius: 3px;
|
|
86
108
|
padding: 0 0.4em;
|
|
87
109
|
}
|
|
110
|
+
|
|
88
111
|
.monaco-hover .monaco-tokenized-source {
|
|
89
112
|
white-space: var(--vscode-hover-sourceWhiteSpace, pre-wrap);
|
|
90
113
|
}
|
|
114
|
+
|
|
91
115
|
.monaco-hover .hover-row.status-bar {
|
|
92
116
|
font-size: 12px;
|
|
93
117
|
line-height: 22px;
|
|
94
118
|
}
|
|
119
|
+
|
|
95
120
|
.monaco-hover .hover-row.status-bar .info {
|
|
96
121
|
font-style: italic;
|
|
97
122
|
padding: 0px 8px;
|
|
98
123
|
}
|
|
124
|
+
|
|
99
125
|
.monaco-hover .hover-row.status-bar .actions {
|
|
100
126
|
display: flex;
|
|
101
127
|
padding: 0px 8px;
|
|
102
128
|
width: 100%;
|
|
103
129
|
}
|
|
130
|
+
|
|
104
131
|
.monaco-hover .hover-row.status-bar .actions .action-container {
|
|
105
132
|
margin-right: 16px;
|
|
106
133
|
cursor: pointer;
|
|
@@ -108,53 +135,80 @@
|
|
|
108
135
|
text-wrap: nowrap;
|
|
109
136
|
text-overflow: ellipsis;
|
|
110
137
|
}
|
|
138
|
+
|
|
111
139
|
.monaco-hover .hover-row.status-bar .actions .action-container .action .icon {
|
|
112
140
|
padding-right: 4px;
|
|
113
141
|
}
|
|
142
|
+
|
|
114
143
|
.monaco-hover .hover-row.status-bar .actions .action-container a {
|
|
115
144
|
color: var(--vscode-textLink-foreground);
|
|
116
145
|
text-decoration: var(--text-link-decoration);
|
|
117
146
|
}
|
|
147
|
+
|
|
118
148
|
.monaco-hover .markdown-hover .hover-contents .codicon {
|
|
119
149
|
color: inherit;
|
|
120
150
|
font-size: inherit;
|
|
121
151
|
vertical-align: middle;
|
|
122
152
|
}
|
|
153
|
+
|
|
123
154
|
.monaco-hover .hover-contents a.code-link:hover,
|
|
124
155
|
.monaco-hover .hover-contents a.code-link {
|
|
125
156
|
color: inherit;
|
|
126
157
|
}
|
|
158
|
+
|
|
127
159
|
.monaco-hover .hover-contents a.code-link:before {
|
|
128
160
|
content: '(';
|
|
129
161
|
}
|
|
162
|
+
|
|
130
163
|
.monaco-hover .hover-contents a.code-link:after {
|
|
131
164
|
content: ')';
|
|
132
165
|
}
|
|
166
|
+
|
|
133
167
|
.monaco-hover .hover-contents a.code-link > span {
|
|
134
168
|
text-decoration: underline;
|
|
169
|
+
/** Hack to force underline to show **/
|
|
135
170
|
border-bottom: 1px solid transparent;
|
|
136
171
|
text-underline-position: under;
|
|
137
172
|
color: var(--vscode-textLink-foreground);
|
|
138
173
|
}
|
|
174
|
+
|
|
139
175
|
.monaco-hover .hover-contents a.code-link > span:hover {
|
|
140
176
|
color: var(--vscode-textLink-activeForeground);
|
|
141
177
|
}
|
|
178
|
+
|
|
179
|
+
/**
|
|
180
|
+
* Spans in markdown hovers need a margin-bottom to avoid looking cramped:
|
|
181
|
+
* https://github.com/microsoft/vscode/issues/101496
|
|
182
|
+
|
|
183
|
+
* This was later refined to only apply when the last child of a rendered markdown block (before the
|
|
184
|
+
* border or a `hr`) uses background color:
|
|
185
|
+
* https://github.com/microsoft/vscode/issues/228136
|
|
186
|
+
*/
|
|
142
187
|
.monaco-hover .markdown-hover .hover-contents:not(.code-hover-contents):not(.html-hover-contents) p:last-child [style*="background-color"] {
|
|
143
188
|
margin-bottom: 4px;
|
|
144
189
|
display: inline-block;
|
|
145
190
|
}
|
|
191
|
+
|
|
192
|
+
/**
|
|
193
|
+
* Add a slight margin to try vertically align codicons with any text
|
|
194
|
+
* https://github.com/microsoft/vscode/issues/221359
|
|
195
|
+
*/
|
|
146
196
|
.monaco-hover .markdown-hover .hover-contents:not(.code-hover-contents):not(.html-hover-contents) span.codicon {
|
|
147
197
|
margin-bottom: 2px;
|
|
148
198
|
}
|
|
199
|
+
|
|
149
200
|
.monaco-hover-content .action-container a {
|
|
150
201
|
-webkit-user-select: none;
|
|
151
202
|
user-select: none;
|
|
152
203
|
}
|
|
204
|
+
|
|
153
205
|
.monaco-hover-content .action-container.disabled {
|
|
154
206
|
pointer-events: none;
|
|
155
207
|
opacity: 0.4;
|
|
156
208
|
cursor: default;
|
|
157
209
|
}
|
|
210
|
+
|
|
211
|
+
/* Prevent text selection in all button-like elements within hovers */
|
|
158
212
|
.monaco-hover .action-container,
|
|
159
213
|
.monaco-hover .action,
|
|
160
214
|
.monaco-hover button,
|