@codingame/monaco-vscode-api 20.1.1 → 20.2.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/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 +1 -1
- 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
|
@@ -13,12 +13,15 @@ import { IXtermCore } from "./xterm-private.js";
|
|
|
13
13
|
export declare const ITerminalService: import("../../../../platform/instantiation/common/instantiation.js").ServiceIdentifier<ITerminalService>;
|
|
14
14
|
export interface ITerminalService extends ITerminalInstanceHost {
|
|
15
15
|
readonly _serviceBrand: undefined;
|
|
16
|
+
/** Gets all terminal instances, including editor and terminal view (group) instances. */
|
|
16
17
|
readonly instances: readonly ITerminalInstance[];
|
|
18
|
+
/** Gets detached terminal instances created via {@link createDetachedXterm}. */
|
|
17
19
|
readonly detachedInstances: Iterable<IDetachedTerminalInstance>;
|
|
18
20
|
readonly defaultLocation: TerminalLocation;
|
|
19
21
|
readonly isProcessSupportRegistered: boolean;
|
|
20
22
|
readonly connectionState: TerminalConnectionState;
|
|
21
23
|
readonly whenConnected: Promise<void>;
|
|
24
|
+
/** The number of restored terminal groups on startup. */
|
|
22
25
|
readonly restoredGroupCount: number;
|
|
23
26
|
readonly onDidCreateInstance: Event<ITerminalInstance>;
|
|
24
27
|
readonly onDidChangeInstanceDimensions: Event<ITerminalInstance>;
|
|
@@ -42,10 +45,27 @@ export interface ITerminalService extends ITerminalInstanceHost {
|
|
|
42
45
|
readonly onAnyInstanceTitleChange: Event<ITerminalInstance>;
|
|
43
46
|
readonly onAnyInstanceShellTypeChanged: Event<ITerminalInstance>;
|
|
44
47
|
readonly onAnyInstanceAddedCapabilityType: Event<TerminalCapability>;
|
|
48
|
+
/**
|
|
49
|
+
* Creates a terminal.
|
|
50
|
+
* @param options The options to create the terminal with, when not specified the default
|
|
51
|
+
* profile will be used at the default target.
|
|
52
|
+
*/
|
|
45
53
|
createTerminal(options?: ICreateTerminalOptions): Promise<ITerminalInstance>;
|
|
54
|
+
/**
|
|
55
|
+
* Creates a detached xterm instance which is not attached to the DOM or
|
|
56
|
+
* tracked as a terminal instance.
|
|
57
|
+
* @params options The options to create the terminal with
|
|
58
|
+
*/
|
|
46
59
|
createDetachedTerminal(options: IDetachedXTermOptions): Promise<IDetachedTerminalInstance>;
|
|
60
|
+
/**
|
|
61
|
+
* Creates a raw terminal instance, this should not be used outside of the terminal part.
|
|
62
|
+
*/
|
|
47
63
|
getInstanceFromId(terminalId: number): ITerminalInstance | undefined;
|
|
48
64
|
getInstanceFromIndex(terminalIndex: number): ITerminalInstance;
|
|
65
|
+
/**
|
|
66
|
+
* An owner of terminals might be created after reconnection has occurred,
|
|
67
|
+
* so store them to be requested/adopted later
|
|
68
|
+
*/
|
|
49
69
|
getReconnectedTerminals(reconnectionOwner: string): ITerminalInstance[] | undefined;
|
|
50
70
|
getActiveOrCreateInstance(options?: {
|
|
51
71
|
acceptsInput?: boolean;
|
|
@@ -56,6 +76,10 @@ export interface ITerminalService extends ITerminalInstanceHost {
|
|
|
56
76
|
moveIntoNewEditor(source: ITerminalInstance): void;
|
|
57
77
|
moveToTerminalView(source: ITerminalInstance | URI): Promise<void>;
|
|
58
78
|
getPrimaryBackend(): ITerminalBackend | undefined;
|
|
79
|
+
/**
|
|
80
|
+
* Fire the onActiveTabChanged event, this will trigger the terminal dropdown to be updated,
|
|
81
|
+
* among other things.
|
|
82
|
+
*/
|
|
59
83
|
refreshActiveGroup(): void;
|
|
60
84
|
registerProcessSupport(isSupported: boolean): void;
|
|
61
85
|
showProfileQuickPick(type: "setDefault" | "createInstance", cwd?: string | URI): Promise<ITerminalInstance | undefined>;
|
|
@@ -72,24 +96,49 @@ export interface ITerminalService extends ITerminalInstanceHost {
|
|
|
72
96
|
setNativeDelegate(nativeCalls: ITerminalServiceNativeDelegate): void;
|
|
73
97
|
getEditingTerminal(): ITerminalInstance | undefined;
|
|
74
98
|
setEditingTerminal(instance: ITerminalInstance | undefined): void;
|
|
99
|
+
/**
|
|
100
|
+
* Creates an instance event listener that listens to all instances, dynamically adding new
|
|
101
|
+
* instances and removing old instances as needed.
|
|
102
|
+
* @param getEvent Maps the instance to the event.
|
|
103
|
+
*/
|
|
75
104
|
createOnInstanceEvent<T>(getEvent: (instance: ITerminalInstance) => Event<T>): DynamicListEventMultiplexer<ITerminalInstance, T>;
|
|
105
|
+
/**
|
|
106
|
+
* Creates a capability event listener that listens to capabilities on all instances,
|
|
107
|
+
* dynamically adding and removing instances and capabilities as needed.
|
|
108
|
+
* @param capabilityId The capability type to listen to an event on.
|
|
109
|
+
* @param getEvent Maps the capability to the event.
|
|
110
|
+
*/
|
|
76
111
|
createOnInstanceCapabilityEvent<T extends TerminalCapability, K>(capabilityId: T, getEvent: (capability: ITerminalCapabilityImplMap[T]) => Event<K>): IDynamicListEventMultiplexer<{
|
|
77
112
|
instance: ITerminalInstance;
|
|
78
113
|
data: K;
|
|
79
114
|
}>;
|
|
80
115
|
}
|
|
81
116
|
export declare const ITerminalConfigurationService: import("../../../../platform/instantiation/common/instantiation.js").ServiceIdentifier<ITerminalConfigurationService>;
|
|
117
|
+
/**
|
|
118
|
+
* A service that provides convenient access to the terminal configuration and derived values.
|
|
119
|
+
*/
|
|
82
120
|
export interface ITerminalConfigurationService {
|
|
83
121
|
readonly _serviceBrand: undefined;
|
|
122
|
+
/**
|
|
123
|
+
* A typed and partially validated representation of the terminal configuration.
|
|
124
|
+
*/
|
|
84
125
|
readonly config: Readonly<ITerminalConfiguration>;
|
|
126
|
+
/**
|
|
127
|
+
* Fires when something within the terminal configuration changes.
|
|
128
|
+
*/
|
|
85
129
|
readonly onConfigChanged: Event<void>;
|
|
86
130
|
setPanelContainer(panelContainer: HTMLElement): void;
|
|
87
131
|
configFontIsMonospace(): boolean;
|
|
88
132
|
getFont(w: Window, xtermCore?: IXtermCore, excludeDimensions?: boolean): ITerminalFont;
|
|
89
133
|
}
|
|
90
134
|
export declare const ITerminalEditorService: import("../../../../platform/instantiation/common/instantiation.js").ServiceIdentifier<ITerminalEditorService>;
|
|
135
|
+
/**
|
|
136
|
+
* This service is responsible for integrating with the editor service and managing terminal
|
|
137
|
+
* editors.
|
|
138
|
+
*/
|
|
91
139
|
export interface ITerminalEditorService extends ITerminalInstanceHost {
|
|
92
140
|
readonly _serviceBrand: undefined;
|
|
141
|
+
/** Gets all _terminal editor_ instances. */
|
|
93
142
|
readonly instances: readonly ITerminalInstance[];
|
|
94
143
|
openEditor(instance: ITerminalInstance, editorOptions?: TerminalEditorLocation): Promise<void>;
|
|
95
144
|
detachInstance(instance: ITerminalInstance): void;
|
|
@@ -100,21 +149,36 @@ export interface ITerminalEditorService extends ITerminalInstanceHost {
|
|
|
100
149
|
getInputFromResource(resource: URI): EditorInput;
|
|
101
150
|
}
|
|
102
151
|
export declare const ITerminalGroupService: import("../../../../platform/instantiation/common/instantiation.js").ServiceIdentifier<ITerminalGroupService>;
|
|
152
|
+
/**
|
|
153
|
+
* This service is responsible for managing terminal groups, that is the terminals that are hosted
|
|
154
|
+
* within the terminal panel, not in an editor.
|
|
155
|
+
*/
|
|
103
156
|
export interface ITerminalGroupService extends ITerminalInstanceHost {
|
|
104
157
|
readonly _serviceBrand: undefined;
|
|
158
|
+
/** Gets all _terminal view_ instances, ie. instances contained within terminal groups. */
|
|
105
159
|
readonly instances: readonly ITerminalInstance[];
|
|
106
160
|
readonly groups: readonly ITerminalGroup[];
|
|
107
161
|
activeGroup: ITerminalGroup | undefined;
|
|
108
162
|
readonly activeGroupIndex: number;
|
|
163
|
+
/**
|
|
164
|
+
* Gets or sets the last accessed menu, this is used to select the instance(s) for menu actions.
|
|
165
|
+
*/
|
|
109
166
|
lastAccessedMenu: "inline-tab" | "tab-list";
|
|
110
167
|
readonly onDidChangeActiveGroup: Event<ITerminalGroup | undefined>;
|
|
111
168
|
readonly onDidDisposeGroup: Event<ITerminalGroup>;
|
|
169
|
+
/** Fires when a group is created, disposed of, or shown (in the case of a background group). */
|
|
112
170
|
readonly onDidChangeGroups: Event<void>;
|
|
171
|
+
/** Fires when the panel has been shown and expanded, so has non-zero dimensions. */
|
|
113
172
|
readonly onDidShow: Event<void>;
|
|
114
173
|
readonly onDidChangePanelOrientation: Event<Orientation>;
|
|
115
174
|
createGroup(shellLaunchConfig?: IShellLaunchConfig): ITerminalGroup;
|
|
116
175
|
createGroup(instance?: ITerminalInstance): ITerminalGroup;
|
|
117
176
|
getGroupForInstance(instance: ITerminalInstance): ITerminalGroup | undefined;
|
|
177
|
+
/**
|
|
178
|
+
* Moves a terminal instance's group to the target instance group's position.
|
|
179
|
+
* @param source The source instance to move.
|
|
180
|
+
* @param target The target instance to move the source instance to.
|
|
181
|
+
*/
|
|
118
182
|
moveGroup(source: ITerminalInstance | ITerminalInstance[], target: ITerminalInstance): void;
|
|
119
183
|
moveGroupToEnd(source: ITerminalInstance | ITerminalInstance[]): void;
|
|
120
184
|
moveInstance(source: ITerminalInstance, target: ITerminalInstance, side: "before" | "after"): void;
|
|
@@ -134,12 +198,40 @@ export interface ITerminalGroupService extends ITerminalInstanceHost {
|
|
|
134
198
|
updateVisibility(): void;
|
|
135
199
|
}
|
|
136
200
|
export declare const ITerminalInstanceService: import("../../../../platform/instantiation/common/instantiation.js").ServiceIdentifier<ITerminalInstanceService>;
|
|
201
|
+
/**
|
|
202
|
+
* A service used to create instances or fetch backends, this services allows services that
|
|
203
|
+
* ITerminalService depends on to also create instances.
|
|
204
|
+
*
|
|
205
|
+
* **This service is intended to only be used within the terminal contrib.**
|
|
206
|
+
*/
|
|
137
207
|
export interface ITerminalInstanceService {
|
|
138
208
|
readonly _serviceBrand: undefined;
|
|
209
|
+
/**
|
|
210
|
+
* An event that's fired when a terminal instance is created.
|
|
211
|
+
*/
|
|
139
212
|
onDidCreateInstance: Event<ITerminalInstance>;
|
|
213
|
+
/**
|
|
214
|
+
* An event that's fired when a new backend is registered.
|
|
215
|
+
*/
|
|
140
216
|
onDidRegisterBackend: Event<ITerminalBackend>;
|
|
217
|
+
/**
|
|
218
|
+
* Helper function to convert a shell launch config, a profile or undefined into its equivalent
|
|
219
|
+
* shell launch config.
|
|
220
|
+
* @param shellLaunchConfigOrProfile A shell launch config, a profile or undefined
|
|
221
|
+
* @param cwd A cwd to override.
|
|
222
|
+
*/
|
|
141
223
|
convertProfileToShellLaunchConfig(shellLaunchConfigOrProfile?: IShellLaunchConfig | ITerminalProfile, cwd?: string | URI): IShellLaunchConfig;
|
|
224
|
+
/**
|
|
225
|
+
* Create a new terminal instance.
|
|
226
|
+
* @param launchConfig The shell launch config.
|
|
227
|
+
* @param target The target of the terminal.
|
|
228
|
+
*/
|
|
142
229
|
createInstance(launchConfig: IShellLaunchConfig, target: TerminalLocation): ITerminalInstance;
|
|
230
|
+
/**
|
|
231
|
+
* Gets the registered backend for a remote authority (undefined = local). This is a convenience
|
|
232
|
+
* method to avoid using the more verbose fetching from the registry.
|
|
233
|
+
* @param remoteAuthority The remote authority of the backend.
|
|
234
|
+
*/
|
|
143
235
|
getBackend(remoteAuthority?: string): Promise<ITerminalBackend | undefined>;
|
|
144
236
|
getRegisteredBackends(): IterableIterator<ITerminalBackend>;
|
|
145
237
|
didRegisterBackend(backend: ITerminalBackend): void;
|
|
@@ -1,3 +1,7 @@
|
|
|
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
|
+
*--------------------------------------------------------------------------------------------*/
|
|
1
5
|
import { IBufferCell } from "@xterm/xterm";
|
|
2
6
|
export type XtermAttributes = Omit<IBufferCell, "getWidth" | "getChars" | "getCode"> & {
|
|
3
7
|
clone?(): XtermAttributes;
|
|
@@ -1,11 +1,32 @@
|
|
|
1
1
|
import { Event } from "../../../../base/common/event.js";
|
|
2
2
|
import { IEnvironmentVariableCollection, IMergedEnvironmentVariableCollection } from "@codingame/monaco-vscode-07eaa805-9dea-5ec6-a422-a4f04872424d-common/vscode/vs/platform/terminal/common/environmentVariable";
|
|
3
3
|
export declare const IEnvironmentVariableService: import("../../../../platform/instantiation/common/instantiation.js").ServiceIdentifier<IEnvironmentVariableService>;
|
|
4
|
+
/**
|
|
5
|
+
* Tracks and persists environment variable collections as defined by extensions.
|
|
6
|
+
*/
|
|
4
7
|
export interface IEnvironmentVariableService {
|
|
5
8
|
readonly _serviceBrand: undefined;
|
|
9
|
+
/**
|
|
10
|
+
* Gets a single collection constructed by merging all environment variable collections into
|
|
11
|
+
* one.
|
|
12
|
+
*/
|
|
6
13
|
readonly collections: ReadonlyMap<string, IEnvironmentVariableCollection>;
|
|
14
|
+
/**
|
|
15
|
+
* Gets a single collection constructed by merging all environment variable collections into
|
|
16
|
+
* one.
|
|
17
|
+
*/
|
|
7
18
|
readonly mergedCollection: IMergedEnvironmentVariableCollection;
|
|
19
|
+
/**
|
|
20
|
+
* An event that is fired when an extension's environment variable collection changes, the event
|
|
21
|
+
* provides the new merged collection.
|
|
22
|
+
*/
|
|
8
23
|
onDidChangeCollections: Event<IMergedEnvironmentVariableCollection>;
|
|
24
|
+
/**
|
|
25
|
+
* Sets an extension's environment variable collection.
|
|
26
|
+
*/
|
|
9
27
|
set(extensionIdentifier: string, collection: IEnvironmentVariableCollection): void;
|
|
28
|
+
/**
|
|
29
|
+
* Deletes an extension's environment variable collection.
|
|
30
|
+
*/
|
|
10
31
|
delete(extensionIdentifier: string): void;
|
|
11
32
|
}
|
|
@@ -8,6 +8,9 @@ export declare const ITerminalProfileResolverService: import("../../../../platfo
|
|
|
8
8
|
export interface ITerminalProfileResolverService {
|
|
9
9
|
readonly _serviceBrand: undefined;
|
|
10
10
|
readonly defaultProfileName: string | undefined;
|
|
11
|
+
/**
|
|
12
|
+
* Resolves the icon of a shell launch config if this will use the default profile
|
|
13
|
+
*/
|
|
11
14
|
resolveIcon(shellLaunchConfig: IShellLaunchConfig, os: OperatingSystem): void;
|
|
12
15
|
resolveShellLaunchConfig(shellLaunchConfig: IShellLaunchConfig, options: IShellLaunchConfigResolveOptions): Promise<void>;
|
|
13
16
|
getDefaultProfile(options: IShellLaunchConfigResolveOptions): Promise<ITerminalProfile>;
|
|
@@ -5,9 +5,25 @@ import { ITestRunTaskResults } from "@codingame/monaco-vscode-6845754f-e617-5ed9
|
|
|
5
5
|
export declare const ITestCoverageService: import("../../../../platform/instantiation/common/instantiation.js").ServiceIdentifier<ITestCoverageService>;
|
|
6
6
|
export interface ITestCoverageService {
|
|
7
7
|
readonly _serviceBrand: undefined;
|
|
8
|
+
/**
|
|
9
|
+
* Settable observable that can be used to show the test coverage instance
|
|
10
|
+
* currently in the editor.
|
|
11
|
+
*/
|
|
8
12
|
readonly selected: IObservable<TestCoverage | undefined>;
|
|
13
|
+
/**
|
|
14
|
+
* Filter to per-test coverage from the given test ID.
|
|
15
|
+
*/
|
|
9
16
|
readonly filterToTest: ISettableObservable<TestId | undefined>;
|
|
17
|
+
/**
|
|
18
|
+
* Whether inline coverage is shown.
|
|
19
|
+
*/
|
|
10
20
|
readonly showInline: ISettableObservable<boolean>;
|
|
21
|
+
/**
|
|
22
|
+
* Opens a test coverage report from a task, optionally focusing it in the editor.
|
|
23
|
+
*/
|
|
11
24
|
openCoverage(task: ITestRunTaskResults, focus?: boolean): Promise<void>;
|
|
25
|
+
/**
|
|
26
|
+
* Closes any open coverage.
|
|
27
|
+
*/
|
|
12
28
|
closeCoverage(): void;
|
|
13
29
|
}
|
|
@@ -4,21 +4,52 @@ import { IObservableValue, MutableObservableValue } from "@codingame/monaco-vsco
|
|
|
4
4
|
import { TestFilterTerm } from "@codingame/monaco-vscode-testing-service-override/vscode/vs/workbench/contrib/testing/common/testExplorerFilterState";
|
|
5
5
|
export interface ITestExplorerFilterState {
|
|
6
6
|
_serviceBrand: undefined;
|
|
7
|
+
/** Current filter text */
|
|
7
8
|
readonly text: IObservableValue<string>;
|
|
9
|
+
/** Test ID the user wants to reveal in the explorer */
|
|
8
10
|
readonly reveal: ISettableObservable<string | undefined>;
|
|
11
|
+
/** A test was selected in the explorer. */
|
|
9
12
|
readonly onDidSelectTestInExplorer: Event<string | undefined>;
|
|
13
|
+
/** Event that fires when {@link focusInput} is invoked. */
|
|
10
14
|
readonly onDidRequestInputFocus: Event<void>;
|
|
15
|
+
/**
|
|
16
|
+
* Glob list to filter for based on the {@link text}
|
|
17
|
+
*/
|
|
11
18
|
readonly globList: readonly {
|
|
12
19
|
include: boolean;
|
|
13
20
|
text: string;
|
|
14
21
|
}[];
|
|
22
|
+
/**
|
|
23
|
+
* The user requested to filter including tags.
|
|
24
|
+
*/
|
|
15
25
|
readonly includeTags: ReadonlySet<string>;
|
|
26
|
+
/**
|
|
27
|
+
* The user requested to filter excluding tags.
|
|
28
|
+
*/
|
|
16
29
|
readonly excludeTags: ReadonlySet<string>;
|
|
30
|
+
/**
|
|
31
|
+
* Whether fuzzy searching is enabled.
|
|
32
|
+
*/
|
|
17
33
|
readonly fuzzy: MutableObservableValue<boolean>;
|
|
34
|
+
/**
|
|
35
|
+
* Focuses the filter input in the test explorer view.
|
|
36
|
+
*/
|
|
18
37
|
focusInput(): void;
|
|
38
|
+
/**
|
|
39
|
+
* Replaces the filter {@link text}.
|
|
40
|
+
*/
|
|
19
41
|
setText(text: string): void;
|
|
42
|
+
/**
|
|
43
|
+
* Sets whether the {@link text} is filtering for a special term.
|
|
44
|
+
*/
|
|
20
45
|
isFilteringFor(term: TestFilterTerm): boolean;
|
|
46
|
+
/**
|
|
47
|
+
* Sets whether the {@link text} includes a special filter term.
|
|
48
|
+
*/
|
|
21
49
|
toggleFilteringFor(term: TestFilterTerm, shouldFilter?: boolean): void;
|
|
50
|
+
/**
|
|
51
|
+
* Called when a test in the test explorer is selected.
|
|
52
|
+
*/
|
|
22
53
|
didSelectTestInExplorer(testId: string): void;
|
|
23
54
|
}
|
|
24
55
|
export declare const ITestExplorerFilterState: import("../../../../platform/instantiation/common/instantiation.js").ServiceIdentifier<ITestExplorerFilterState>;
|
|
@@ -1,10 +1,19 @@
|
|
|
1
1
|
export declare enum TestIdPathParts {
|
|
2
|
+
/** Delimiter for path parts in test IDs */
|
|
2
3
|
Delimiter = "\0"
|
|
3
4
|
}
|
|
5
|
+
/**
|
|
6
|
+
* Enum for describing relative positions of tests. Similar to
|
|
7
|
+
* `node.compareDocumentPosition` in the DOM.
|
|
8
|
+
*/
|
|
4
9
|
export declare enum TestPosition {
|
|
10
|
+
/** a === b */
|
|
5
11
|
IsSame = 0,
|
|
12
|
+
/** Neither a nor b are a child of one another. They may share a common parent, though. */
|
|
6
13
|
Disconnected = 1,
|
|
14
|
+
/** b is a child of a */
|
|
7
15
|
IsChild = 2,
|
|
16
|
+
/** b is a parent of a */
|
|
8
17
|
IsParent = 3
|
|
9
18
|
}
|
|
10
19
|
type TestItemLike = {
|
|
@@ -12,32 +21,102 @@ type TestItemLike = {
|
|
|
12
21
|
parent?: TestItemLike;
|
|
13
22
|
_isRoot?: boolean;
|
|
14
23
|
};
|
|
24
|
+
/**
|
|
25
|
+
* The test ID is a stringifiable client that
|
|
26
|
+
*/
|
|
15
27
|
export declare class TestId {
|
|
16
28
|
readonly path: readonly string[];
|
|
17
29
|
private readonly viewEnd;
|
|
18
30
|
private stringifed?;
|
|
31
|
+
/**
|
|
32
|
+
* Creates a test ID from an ext host test item.
|
|
33
|
+
*/
|
|
19
34
|
static fromExtHostTestItem(item: TestItemLike, rootId: string, parent?: TestItemLike | undefined): TestId;
|
|
35
|
+
/**
|
|
36
|
+
* Cheaply ets whether the ID refers to the root .
|
|
37
|
+
*/
|
|
20
38
|
static isRoot(idString: string): boolean;
|
|
39
|
+
/**
|
|
40
|
+
* Cheaply gets whether the ID refers to the root .
|
|
41
|
+
*/
|
|
21
42
|
static root(idString: string): string;
|
|
43
|
+
/**
|
|
44
|
+
* Creates a test ID from a serialized TestId instance.
|
|
45
|
+
*/
|
|
22
46
|
static fromString(idString: string): TestId;
|
|
47
|
+
/**
|
|
48
|
+
* Gets the ID resulting from adding b to the base ID.
|
|
49
|
+
*/
|
|
23
50
|
static join(base: TestId, b: string): TestId;
|
|
51
|
+
/**
|
|
52
|
+
* Splits a test ID into its parts.
|
|
53
|
+
*/
|
|
24
54
|
static split(idString: string): string[];
|
|
55
|
+
/**
|
|
56
|
+
* Gets the string ID resulting from adding b to the base ID.
|
|
57
|
+
*/
|
|
25
58
|
static joinToString(base: string | TestId, b: string): string;
|
|
59
|
+
/**
|
|
60
|
+
* Cheaply gets the parent ID of a test identified with the string.
|
|
61
|
+
*/
|
|
26
62
|
static parentId(idString: string): string | undefined;
|
|
63
|
+
/**
|
|
64
|
+
* Cheaply gets the local ID of a test identified with the string.
|
|
65
|
+
*/
|
|
27
66
|
static localId(idString: string): string;
|
|
67
|
+
/**
|
|
68
|
+
* Gets whether maybeChild is a child of maybeParent.
|
|
69
|
+
* todo@connor4312: review usages of this to see if using the WellDefinedPrefixTree is better
|
|
70
|
+
*/
|
|
28
71
|
static isChild(maybeParent: string, maybeChild: string): boolean;
|
|
72
|
+
/**
|
|
73
|
+
* Compares the position of the two ID strings.
|
|
74
|
+
* todo@connor4312: review usages of this to see if using the WellDefinedPrefixTree is better
|
|
75
|
+
*/
|
|
29
76
|
static compare(a: string, b: string): TestPosition;
|
|
30
77
|
static getLengthOfCommonPrefix(length: number, getId: (i: number) => TestId): number;
|
|
31
78
|
constructor(path: readonly string[], viewEnd?: number);
|
|
79
|
+
/**
|
|
80
|
+
* Gets the ID of the parent test.
|
|
81
|
+
*/
|
|
32
82
|
get rootId(): TestId;
|
|
83
|
+
/**
|
|
84
|
+
* Gets the ID of the parent test.
|
|
85
|
+
*/
|
|
33
86
|
get parentId(): TestId | undefined;
|
|
87
|
+
/**
|
|
88
|
+
* Gets the local ID of the current full test ID.
|
|
89
|
+
*/
|
|
34
90
|
get localId(): string;
|
|
91
|
+
/**
|
|
92
|
+
* Gets whether this ID refers to the root.
|
|
93
|
+
*/
|
|
35
94
|
get controllerId(): string;
|
|
95
|
+
/**
|
|
96
|
+
* Gets whether this ID refers to the root.
|
|
97
|
+
*/
|
|
36
98
|
get isRoot(): boolean;
|
|
99
|
+
/**
|
|
100
|
+
* Returns an iterable that yields IDs of all parent items down to and
|
|
101
|
+
* including the current item.
|
|
102
|
+
*/
|
|
37
103
|
idsFromRoot(): Generator<TestId, void, unknown>;
|
|
104
|
+
/**
|
|
105
|
+
* Returns an iterable that yields IDs of the current item up to the root
|
|
106
|
+
* item.
|
|
107
|
+
*/
|
|
38
108
|
idsToRoot(): Generator<TestId, void, unknown>;
|
|
109
|
+
/**
|
|
110
|
+
* Compares the other test ID with this one.
|
|
111
|
+
*/
|
|
39
112
|
compare(other: TestId | string): TestPosition;
|
|
113
|
+
/**
|
|
114
|
+
* Serializes the ID.
|
|
115
|
+
*/
|
|
40
116
|
toJSON(): string;
|
|
117
|
+
/**
|
|
118
|
+
* Serializes the ID to a string.
|
|
119
|
+
*/
|
|
41
120
|
toString(): string;
|
|
42
121
|
}
|
|
43
122
|
export {};
|
|
@@ -3,10 +3,16 @@ import { Disposable } from "../../../../base/common/lifecycle.js";
|
|
|
3
3
|
import { ITestItem, ITestTag, TestItemExpandState, TestsDiff, TestsDiffOp } from "./testTypes.js";
|
|
4
4
|
import { TestId } from "./testId.js";
|
|
5
5
|
import { URI } from "../../../../base/common/uri.js";
|
|
6
|
+
/**
|
|
7
|
+
* @private
|
|
8
|
+
*/
|
|
6
9
|
interface CollectionItem<T> {
|
|
7
10
|
readonly fullId: TestId;
|
|
8
11
|
actual: T;
|
|
9
12
|
expand: TestItemExpandState;
|
|
13
|
+
/**
|
|
14
|
+
* Number of levels of items below this one that are expanded. May be infinite.
|
|
15
|
+
*/
|
|
10
16
|
expandLevels?: number;
|
|
11
17
|
resolveBarrier?: Barrier;
|
|
12
18
|
}
|
|
@@ -54,11 +60,17 @@ export interface ITestItemApi<T> {
|
|
|
54
60
|
listener?: (evt: ExtHostTestItemEvent) => void;
|
|
55
61
|
}
|
|
56
62
|
export interface ITestItemCollectionOptions<T> {
|
|
63
|
+
/** Controller ID to use to prefix these test items. */
|
|
57
64
|
controllerId: string;
|
|
65
|
+
/** Gets the document version at the given URI, if it's open */
|
|
58
66
|
getDocumentVersion(uri: URI | undefined): number | undefined;
|
|
67
|
+
/** Gets API for the given test item, used to listen for events and set parents. */
|
|
59
68
|
getApiFor(item: T): ITestItemApi<T>;
|
|
69
|
+
/** Converts the full test item to the common interface. */
|
|
60
70
|
toITestItem(item: T): ITestItem;
|
|
71
|
+
/** Gets children for the item. */
|
|
61
72
|
getChildren(item: T): ITestChildrenLike<T>;
|
|
73
|
+
/** Root to use for the new test collection. */
|
|
62
74
|
root: T;
|
|
63
75
|
}
|
|
64
76
|
export interface ITestChildrenLike<T> extends Iterable<[
|
|
@@ -74,6 +86,9 @@ export interface ITestItemLike {
|
|
|
74
86
|
uri?: URI;
|
|
75
87
|
canResolveChildren: boolean;
|
|
76
88
|
}
|
|
89
|
+
/**
|
|
90
|
+
* Maintains a collection of test items for a single controller.
|
|
91
|
+
*/
|
|
77
92
|
export declare class TestItemCollection<T extends ITestItemLike> extends Disposable {
|
|
78
93
|
private readonly options;
|
|
79
94
|
private readonly debounceSendDiff;
|
|
@@ -84,11 +99,28 @@ export declare class TestItemCollection<T extends ITestItemLike> extends Disposa
|
|
|
84
99
|
private readonly tags;
|
|
85
100
|
protected diff: TestsDiff;
|
|
86
101
|
constructor(options: ITestItemCollectionOptions<T>);
|
|
102
|
+
/**
|
|
103
|
+
* Handler used for expanding test items.
|
|
104
|
+
*/
|
|
87
105
|
set resolveHandler(handler: undefined | ((item: T | undefined) => void));
|
|
88
106
|
get resolveHandler(): undefined | ((item: T | undefined) => void);
|
|
107
|
+
/**
|
|
108
|
+
* Fires when an operation happens that should result in a diff.
|
|
109
|
+
*/
|
|
89
110
|
readonly onDidGenerateDiff: import("../../../../base/common/event.js").Event<TestsDiff>;
|
|
111
|
+
/**
|
|
112
|
+
* Gets a diff of all changes that have been made, and clears the diff queue.
|
|
113
|
+
*/
|
|
90
114
|
collectDiff(): TestsDiff;
|
|
115
|
+
/**
|
|
116
|
+
* Pushes a new diff entry onto the collected diff list.
|
|
117
|
+
*/
|
|
91
118
|
pushDiff(diff: TestsDiffOp): void;
|
|
119
|
+
/**
|
|
120
|
+
* Expands the test and the given number of `levels` of children. If levels
|
|
121
|
+
* is < 0, then all children will be expanded. If it's 0, then only this
|
|
122
|
+
* item will be expanded.
|
|
123
|
+
*/
|
|
92
124
|
expand(testId: string, levels: number): Promise<void> | void;
|
|
93
125
|
dispose(): void;
|
|
94
126
|
private onTestItemEvent;
|
|
@@ -100,13 +132,30 @@ export declare class TestItemCollection<T extends ITestItemLike> extends Disposa
|
|
|
100
132
|
private setItemParent;
|
|
101
133
|
private connectItem;
|
|
102
134
|
private connectItemAndChildren;
|
|
135
|
+
/**
|
|
136
|
+
* Updates the `expand` state of the item. Should be called whenever the
|
|
137
|
+
* resolved state of the item changes. Can automatically expand the item
|
|
138
|
+
* if requested by a consumer.
|
|
139
|
+
*/
|
|
103
140
|
private updateExpandability;
|
|
141
|
+
/**
|
|
142
|
+
* Expands all children of the item, "levels" deep. If levels is 0, only
|
|
143
|
+
* the children will be expanded. If it's 1, the children and their children
|
|
144
|
+
* will be expanded. If it's <0, it's a no-op.
|
|
145
|
+
*/
|
|
104
146
|
private expandChildren;
|
|
147
|
+
/**
|
|
148
|
+
* Calls `discoverChildren` on the item, refreshing all its tests.
|
|
149
|
+
*/
|
|
105
150
|
private resolveChildren;
|
|
106
151
|
private pushExpandStateUpdate;
|
|
107
152
|
private removeItem;
|
|
153
|
+
/**
|
|
154
|
+
* Immediately emits any pending diffs on the collection.
|
|
155
|
+
*/
|
|
108
156
|
flushDiff(): void;
|
|
109
157
|
}
|
|
158
|
+
/** Implementation of vscode.TestItemCollection */
|
|
110
159
|
export interface ITestItemChildren<T extends ITestItemLike> extends Iterable<[
|
|
111
160
|
string,
|
|
112
161
|
T
|
|
@@ -4,18 +4,54 @@ import { ITestRunProfile, ITestItem, TestRunProfileBitset, InternalTestItem } fr
|
|
|
4
4
|
export declare const ITestProfileService: import("../../../../platform/instantiation/common/instantiation.js").ServiceIdentifier<ITestProfileService>;
|
|
5
5
|
export interface ITestProfileService {
|
|
6
6
|
readonly _serviceBrand: undefined;
|
|
7
|
+
/**
|
|
8
|
+
* Fired when any profile changes.
|
|
9
|
+
*/
|
|
7
10
|
readonly onDidChange: Event<void>;
|
|
11
|
+
/**
|
|
12
|
+
* Publishes a new test profile.
|
|
13
|
+
*/
|
|
8
14
|
addProfile(controller: IMainThreadTestController, profile: ITestRunProfile): void;
|
|
15
|
+
/**
|
|
16
|
+
* Updates an existing test run profile
|
|
17
|
+
*/
|
|
9
18
|
updateProfile(controllerId: string, profileId: number, update: Partial<ITestRunProfile>): void;
|
|
19
|
+
/**
|
|
20
|
+
* Removes a profile. If profileId is not given, all profiles
|
|
21
|
+
* for the given controller will be removed.
|
|
22
|
+
*/
|
|
10
23
|
removeProfile(controllerId: string, profileId?: number): void;
|
|
24
|
+
/**
|
|
25
|
+
* Gets capabilities for the given test, indicating whether
|
|
26
|
+
* there's any usable profiles available for those groups.
|
|
27
|
+
* @returns a bitset to use with {@link TestRunProfileBitset}
|
|
28
|
+
*/
|
|
11
29
|
capabilitiesForTest(test: ITestItem): number;
|
|
30
|
+
/**
|
|
31
|
+
* Configures a test profile.
|
|
32
|
+
*/
|
|
12
33
|
configure(controllerId: string, profileId: number): void;
|
|
34
|
+
/**
|
|
35
|
+
* Gets all registered controllers, grouping by controller.
|
|
36
|
+
*/
|
|
13
37
|
all(): Iterable<Readonly<{
|
|
14
38
|
controller: IMainThreadTestController;
|
|
15
39
|
profiles: ITestRunProfile[];
|
|
16
40
|
}>>;
|
|
41
|
+
/**
|
|
42
|
+
* Gets the default profiles to be run for a given run group.
|
|
43
|
+
*/
|
|
17
44
|
getGroupDefaultProfiles(group: TestRunProfileBitset, controllerId?: string): ITestRunProfile[];
|
|
45
|
+
/**
|
|
46
|
+
* Sets the default profiles to be run for a given run group.
|
|
47
|
+
*/
|
|
18
48
|
setGroupDefaultProfiles(group: TestRunProfileBitset, profiles: ITestRunProfile[]): void;
|
|
49
|
+
/**
|
|
50
|
+
* Gets the profiles for a controller, in priority order.
|
|
51
|
+
*/
|
|
19
52
|
getControllerProfiles(controllerId: string): ITestRunProfile[];
|
|
53
|
+
/**
|
|
54
|
+
* Gets the preferred profile, if any, to run the test.
|
|
55
|
+
*/
|
|
20
56
|
getDefaultProfileForTest(group: TestRunProfileBitset, test: InternalTestItem): ITestRunProfile | undefined;
|
|
21
57
|
}
|
|
@@ -5,13 +5,37 @@ import { ResolvedTestRunRequest, ExtensionRunTestsRequest, TestResultItem } from
|
|
|
5
5
|
export declare const ITestResultService: import("../../../../platform/instantiation/common/instantiation.js").ServiceIdentifier<ITestResultService>;
|
|
6
6
|
export interface ITestResultService {
|
|
7
7
|
readonly _serviceBrand: undefined;
|
|
8
|
+
/**
|
|
9
|
+
* Fired after any results are added, removed, or completed.
|
|
10
|
+
*/
|
|
8
11
|
readonly onResultsChanged: Event<ResultChangeEvent>;
|
|
12
|
+
/**
|
|
13
|
+
* Fired when a test changed it state, or its computed state is updated.
|
|
14
|
+
*/
|
|
9
15
|
readonly onTestChanged: Event<TestResultItemChange>;
|
|
16
|
+
/**
|
|
17
|
+
* List of known test results.
|
|
18
|
+
*/
|
|
10
19
|
readonly results: ReadonlyArray<ITestResult>;
|
|
20
|
+
/**
|
|
21
|
+
* Discards all completed test results.
|
|
22
|
+
*/
|
|
11
23
|
clear(): void;
|
|
24
|
+
/**
|
|
25
|
+
* Creates a new, live test result.
|
|
26
|
+
*/
|
|
12
27
|
createLiveResult(req: ResolvedTestRunRequest | ExtensionRunTestsRequest): LiveTestResult;
|
|
28
|
+
/**
|
|
29
|
+
* Adds a new test result to the collection.
|
|
30
|
+
*/
|
|
13
31
|
push<T extends ITestResult>(result: T): T;
|
|
32
|
+
/**
|
|
33
|
+
* Looks up a set of test results by ID.
|
|
34
|
+
*/
|
|
14
35
|
getResult(resultId: string): ITestResult | undefined;
|
|
36
|
+
/**
|
|
37
|
+
* Looks up a test's most recent state, by its extension-assigned ID.
|
|
38
|
+
*/
|
|
15
39
|
getStateById(extId: string): [
|
|
16
40
|
results: ITestResult,
|
|
17
41
|
item: TestResultItem
|
|
@@ -1,7 +1,13 @@
|
|
|
1
1
|
import { HydratedTestResult, ITestResult } from "@codingame/monaco-vscode-6845754f-e617-5ed9-8aaa-6ca3653a9532-common/vscode/vs/workbench/contrib/testing/common/testResult";
|
|
2
2
|
export interface ITestResultStorage {
|
|
3
3
|
_serviceBrand: undefined;
|
|
4
|
+
/**
|
|
5
|
+
* Retrieves the list of stored test results.
|
|
6
|
+
*/
|
|
4
7
|
read(): Promise<HydratedTestResult[]>;
|
|
8
|
+
/**
|
|
9
|
+
* Persists the list of test results.
|
|
10
|
+
*/
|
|
5
11
|
persist(results: ReadonlyArray<ITestResult>): Promise<void>;
|
|
6
12
|
}
|
|
7
13
|
export declare const ITestResultStorage: import("../../../../platform/instantiation/common/instantiation.js").ServiceIdentifier<unknown>;
|