@codingame/monaco-vscode-api 20.1.0 → 20.2.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +8 -8
- package/services.js +3 -3
- package/vscode/src/vs/base/browser/browser.d.ts +2 -0
- package/vscode/src/vs/base/browser/canIUse.d.ts +3 -0
- package/vscode/src/vs/base/browser/contextmenu.d.ts +14 -0
- package/vscode/src/vs/base/browser/cssValue.d.ts +8 -0
- package/vscode/src/vs/base/browser/dnd.d.ts +21 -0
- package/vscode/src/vs/base/browser/dom.d.ts +178 -0
- package/vscode/src/vs/base/browser/domSanitize.d.ts +26 -0
- package/vscode/src/vs/base/browser/domStylesheets.d.ts +3 -0
- package/vscode/src/vs/base/browser/dompurify/dompurify.d.ts +19 -0
- package/vscode/src/vs/base/browser/fonts.d.ts +8 -0
- package/vscode/src/vs/base/browser/iframe.d.ts +10 -0
- package/vscode/src/vs/base/browser/keyboardEvent.d.ts +3 -0
- package/vscode/src/vs/base/browser/markdownRenderer.d.ts +18 -0
- package/vscode/src/vs/base/browser/performance.d.ts +22 -0
- package/vscode/src/vs/base/browser/pixelRatio.d.ts +7 -0
- package/vscode/src/vs/base/browser/ui/actionbar/actionbar.css +29 -2
- package/vscode/src/vs/base/browser/ui/actionbar/actionbar.d.ts +5 -0
- package/vscode/src/vs/base/browser/ui/aria/aria.css +6 -1
- package/vscode/src/vs/base/browser/ui/aria/aria.d.ts +6 -0
- package/vscode/src/vs/base/browser/ui/button/button.css +36 -1
- package/vscode/src/vs/base/browser/ui/button/button.d.ts +9 -0
- package/vscode/src/vs/base/browser/ui/codicons/codicon/codicon-modifiers.css +11 -0
- package/vscode/src/vs/base/browser/ui/codicons/codicon/codicon.css +8 -0
- package/vscode/src/vs/base/browser/ui/contextview/contextview.css +6 -0
- package/vscode/src/vs/base/browser/ui/contextview/contextview.d.ts +14 -0
- package/vscode/src/vs/base/browser/ui/countBadge/countBadge.css +6 -0
- package/vscode/src/vs/base/browser/ui/dnd/dnd.css +12 -0
- package/vscode/src/vs/base/browser/ui/dropdown/dropdown.css +11 -0
- package/vscode/src/vs/base/browser/ui/findinput/findInput.css +20 -0
- package/vscode/src/vs/base/browser/ui/highlightedlabel/highlightedLabel.d.ts +27 -0
- package/vscode/src/vs/base/browser/ui/hover/hover.d.ts +258 -0
- package/vscode/src/vs/base/browser/ui/hover/hoverDelegate.d.ts +37 -0
- package/vscode/src/vs/base/browser/ui/hover/hoverDelegate2.d.ts +10 -0
- package/vscode/src/vs/base/browser/ui/hover/hoverWidget.css +54 -0
- package/vscode/src/vs/base/browser/ui/iconLabel/iconlabel.css +34 -6
- package/vscode/src/vs/base/browser/ui/inputbox/inputBox.css +27 -2
- package/vscode/src/vs/base/browser/ui/keybindingLabel/keybindingLabel.css +10 -0
- package/vscode/src/vs/base/browser/ui/keybindingLabel/keybindingLabel.d.ts +3 -0
- package/vscode/src/vs/base/browser/ui/list/list.css +21 -0
- package/vscode/src/vs/base/browser/ui/list/list.d.ts +9 -0
- package/vscode/src/vs/base/browser/ui/list/listView.d.ts +17 -3
- package/vscode/src/vs/base/browser/ui/list/listWidget.d.ts +26 -0
- package/vscode/src/vs/base/browser/ui/list/rangeMap.d.ts +29 -0
- package/vscode/src/vs/base/browser/ui/list/rowCache.d.ts +12 -0
- package/vscode/src/vs/base/browser/ui/mouseCursor/mouseCursor.css +5 -0
- package/vscode/src/vs/base/browser/ui/progressbar/progressbar.css +29 -1
- package/vscode/src/vs/base/browser/ui/progressbar/progressbar.d.ts +33 -0
- package/vscode/src/vs/base/browser/ui/sash/sash.css +31 -0
- package/vscode/src/vs/base/browser/ui/sash/sash.d.ts +125 -0
- package/vscode/src/vs/base/browser/ui/scrollbar/abstractScrollbar.d.ts +6 -0
- package/vscode/src/vs/base/browser/ui/scrollbar/media/scrollbars.css +16 -0
- package/vscode/src/vs/base/browser/ui/scrollbar/scrollableElement.d.ts +22 -0
- package/vscode/src/vs/base/browser/ui/scrollbar/scrollableElementOptions.d.ts +98 -0
- package/vscode/src/vs/base/browser/ui/scrollbar/scrollbarArrow.d.ts +3 -0
- package/vscode/src/vs/base/browser/ui/scrollbar/scrollbarState.d.ts +43 -0
- package/vscode/src/vs/base/browser/ui/selectBox/selectBox.css +11 -0
- package/vscode/src/vs/base/browser/ui/selectBox/selectBoxCustom.css +29 -1
- package/vscode/src/vs/base/browser/ui/severityIcon/media/severityIcon.css +7 -0
- package/vscode/src/vs/base/browser/ui/splitview/splitview.css +16 -0
- package/vscode/src/vs/base/browser/ui/splitview/splitview.d.ts +289 -0
- package/vscode/src/vs/base/browser/ui/table/table.css +12 -0
- package/vscode/src/vs/base/browser/ui/toggle/toggle.css +14 -0
- package/vscode/src/vs/base/browser/ui/toolbar/toolbar.css +6 -0
- package/vscode/src/vs/base/browser/ui/toolbar/toolbar.d.ts +12 -0
- package/vscode/src/vs/base/browser/ui/tree/abstractTree.d.ts +12 -0
- package/vscode/src/vs/base/browser/ui/tree/asyncDataTree.d.ts +19 -0
- package/vscode/src/vs/base/browser/ui/tree/indexTreeModel.d.ts +18 -0
- package/vscode/src/vs/base/browser/ui/tree/media/tree.css +38 -3
- package/vscode/src/vs/base/browser/ui/tree/objectTree.d.ts +12 -0
- package/vscode/src/vs/base/browser/ui/tree/tree.d.ts +43 -0
- package/vscode/src/vs/base/common/actions.d.ts +3 -0
- package/vscode/src/vs/base/common/arrays.d.ts +193 -1
- package/vscode/src/vs/base/common/arraysFind.d.ts +46 -0
- package/vscode/src/vs/base/common/assert.d.ts +28 -0
- package/vscode/src/vs/base/common/async.d.ts +361 -0
- package/vscode/src/vs/base/common/buffer.d.ts +31 -0
- package/vscode/src/vs/base/common/cache.d.ts +11 -0
- package/vscode/src/vs/base/common/cancellation.d.ts +11 -0
- package/vscode/src/vs/base/common/charCode.d.ts +319 -186
- package/vscode/src/vs/base/common/codicons.d.ts +14 -0
- package/vscode/src/vs/base/common/codiconsUtil.d.ts +3 -0
- package/vscode/src/vs/base/common/collections.d.ts +19 -0
- package/vscode/src/vs/base/common/color.d.ts +115 -0
- package/vscode/src/vs/base/common/comparers.d.ts +10 -0
- package/vscode/src/vs/base/common/dataTransfer.d.ts +38 -0
- package/vscode/src/vs/base/common/date.d.ts +15 -0
- package/vscode/src/vs/base/common/diff/diff.d.ts +90 -0
- package/vscode/src/vs/base/common/diff/diffChange.d.ts +29 -0
- package/vscode/src/vs/base/common/equals.d.ts +26 -0
- package/vscode/src/vs/base/common/errorMessage.d.ts +6 -0
- package/vscode/src/vs/base/common/errors.d.ts +26 -0
- package/vscode/src/vs/base/common/event.d.ts +356 -0
- package/vscode/src/vs/base/common/extpath.d.ts +34 -0
- package/vscode/src/vs/base/common/filters.d.ts +22 -0
- package/vscode/src/vs/base/common/functional.d.ts +3 -0
- package/vscode/src/vs/base/common/glob.d.ts +39 -0
- package/vscode/src/vs/base/common/hash.d.ts +12 -0
- package/vscode/src/vs/base/common/history.d.ts +7 -0
- package/vscode/src/vs/base/common/hotReload.d.ts +6 -0
- package/vscode/src/vs/base/common/htmlContent.d.ts +3 -0
- package/vscode/src/vs/base/common/iconLabels.d.ts +9 -0
- package/vscode/src/vs/base/common/ime.d.ts +6 -0
- package/vscode/src/vs/base/common/iterator.d.ts +7 -0
- package/vscode/src/vs/base/common/json.d.ts +98 -0
- package/vscode/src/vs/base/common/jsonSchema.d.ts +5 -0
- package/vscode/src/vs/base/common/keyCodes.d.ts +95 -18
- package/vscode/src/vs/base/common/keybindingLabels.d.ts +13 -0
- package/vscode/src/vs/base/common/keybindings.d.ts +54 -0
- package/vscode/src/vs/base/common/labels.d.ts +41 -0
- package/vscode/src/vs/base/common/lazy.d.ts +12 -0
- package/vscode/src/vs/base/common/lifecycle.d.ts +126 -0
- package/vscode/src/vs/base/common/map.d.ts +33 -0
- package/vscode/src/vs/base/common/marked/marked.d.ts +137 -0
- package/vscode/src/vs/base/common/naturalLanguage/korean.d.ts +8 -0
- package/vscode/src/vs/base/common/network.d.ts +85 -0
- package/vscode/src/vs/base/common/numbers.d.ts +45 -0
- package/vscode/src/vs/base/common/oauth.d.ts +369 -0
- package/vscode/src/vs/base/common/objects.d.ts +19 -0
- package/vscode/src/vs/base/common/observableInternal/base.d.ts +128 -0
- package/vscode/src/vs/base/common/observableInternal/changeTracker.d.ts +11 -0
- package/vscode/src/vs/base/common/observableInternal/debugName.d.ts +16 -0
- package/vscode/src/vs/base/common/observableInternal/experimental/reducer.d.ts +21 -0
- package/vscode/src/vs/base/common/observableInternal/experimental/utils.d.ts +11 -0
- package/vscode/src/vs/base/common/observableInternal/observables/baseObservable.d.ts +15 -0
- package/vscode/src/vs/base/common/observableInternal/observables/constObservable.d.ts +3 -0
- package/vscode/src/vs/base/common/observableInternal/observables/derived.d.ts +25 -0
- package/vscode/src/vs/base/common/observableInternal/observables/derivedImpl.d.ts +15 -0
- package/vscode/src/vs/base/common/observableInternal/observables/lazyObservableValue.d.ts +3 -0
- package/vscode/src/vs/base/common/observableInternal/observables/observableSignal.d.ts +5 -0
- package/vscode/src/vs/base/common/observableInternal/observables/observableValue.d.ts +10 -0
- package/vscode/src/vs/base/common/observableInternal/reactions/autorun.d.ts +27 -0
- package/vscode/src/vs/base/common/observableInternal/reactions/autorunImpl.d.ts +7 -0
- package/vscode/src/vs/base/common/observableInternal/transaction.d.ts +9 -0
- package/vscode/src/vs/base/common/observableInternal/utils/promise.d.ts +47 -1
- package/vscode/src/vs/base/common/observableInternal/utils/utils.d.ts +15 -0
- package/vscode/src/vs/base/common/observableInternal/utils/utilsCancellation.d.ts +3 -0
- package/vscode/src/vs/base/common/performance.d.ts +3 -0
- package/vscode/src/vs/base/common/platform.d.ts +37 -0
- package/vscode/src/vs/base/common/prefixTree.d.ts +23 -0
- package/vscode/src/vs/base/common/process.d.ts +23 -0
- package/vscode/src/vs/base/common/range.d.ts +4 -0
- package/vscode/src/vs/base/common/resources.d.ts +115 -0
- package/vscode/src/vs/base/common/scrollable.d.ts +17 -0
- package/vscode/src/vs/base/common/severity.d.ts +4 -0
- package/vscode/src/vs/base/common/skipList.d.ts +4 -0
- package/vscode/src/vs/base/common/sseParser.d.ts +51 -0
- package/vscode/src/vs/base/common/stream.d.ts +148 -0
- package/vscode/src/vs/base/common/strings.d.ts +134 -0
- package/vscode/src/vs/base/common/symbols.d.ts +3 -0
- package/vscode/src/vs/base/common/ternarySearchTree.d.ts +6 -0
- package/vscode/src/vs/base/common/types.d.ts +135 -0
- package/vscode/src/vs/base/common/uint.d.ts +24 -3
- package/vscode/src/vs/base/common/uri.d.ts +131 -0
- package/vscode/src/vs/base/common/worker/webWorker.d.ts +6 -0
- package/vscode/src/vs/base/parts/sandbox/common/electronTypes.d.ts +179 -0
- package/vscode/src/vs/base/parts/sandbox/common/sandboxTypes.d.ts +39 -0
- package/vscode/src/vs/base/parts/storage/common/storage.d.ts +11 -0
- package/vscode/src/vs/editor/browser/config/editorConfiguration.d.ts +20 -0
- package/vscode/src/vs/editor/browser/config/fontMeasurements.d.ts +15 -0
- package/vscode/src/vs/editor/browser/config/migrateOptions.d.ts +3 -0
- package/vscode/src/vs/editor/browser/config/tabFocus.d.ts +6 -0
- package/vscode/src/vs/editor/browser/controller/dragScrolling.d.ts +9 -0
- package/vscode/src/vs/editor/browser/controller/editContext/clipboardUtils.d.ts +5 -0
- package/vscode/src/vs/editor/browser/controller/editContext/native/editContextFactory.d.ts +3 -0
- package/vscode/src/vs/editor/browser/controller/editContext/native/nativeEditContext.css +11 -0
- package/vscode/src/vs/editor/browser/controller/editContext/native/screenReaderUtils.d.ts +18 -0
- package/vscode/src/vs/editor/browser/controller/editContext/screenReaderUtils.d.ts +5 -0
- package/vscode/src/vs/editor/browser/controller/editContext/textArea/textAreaEditContext.css +19 -0
- package/vscode/src/vs/editor/browser/controller/editContext/textArea/textAreaEditContext.d.ts +7 -0
- package/vscode/src/vs/editor/browser/controller/editContext/textArea/textAreaEditContextInput.d.ts +8 -0
- package/vscode/src/vs/editor/browser/controller/editContext/textArea/textAreaEditContextState.d.ts +13 -1
- package/vscode/src/vs/editor/browser/controller/mouseHandler.d.ts +9 -0
- package/vscode/src/vs/editor/browser/controller/mouseTarget.d.ts +6 -0
- package/vscode/src/vs/editor/browser/controller/pointerHandler.d.ts +3 -0
- package/vscode/src/vs/editor/browser/coreCommands.d.ts +24 -0
- package/vscode/src/vs/editor/browser/editorBrowser.d.ts +439 -0
- package/vscode/src/vs/editor/browser/editorDom.d.ts +39 -0
- package/vscode/src/vs/editor/browser/editorExtensions.d.ts +51 -0
- package/vscode/src/vs/editor/browser/gpu/atlas/atlas.d.ts +65 -0
- package/vscode/src/vs/editor/browser/gpu/atlas/textureAtlas.d.ts +23 -1
- package/vscode/src/vs/editor/browser/gpu/atlas/textureAtlasPage.d.ts +4 -0
- package/vscode/src/vs/editor/browser/gpu/atlas/textureAtlasShelfAllocator.d.ts +5 -0
- package/vscode/src/vs/editor/browser/gpu/atlas/textureAtlasSlabAllocator.d.ts +10 -0
- package/vscode/src/vs/editor/browser/gpu/bufferDirtyTracker.d.ts +20 -0
- package/vscode/src/vs/editor/browser/gpu/contentSegmenter.d.ts +6 -0
- package/vscode/src/vs/editor/browser/gpu/css/decorationCssRuleExtractor.d.ts +3 -0
- package/vscode/src/vs/editor/browser/gpu/css/decorationStyleCache.d.ts +12 -0
- package/vscode/src/vs/editor/browser/gpu/css/media/decorationCssRuleExtractor.css +5 -0
- package/vscode/src/vs/editor/browser/gpu/gpu.d.ts +3 -0
- package/vscode/src/vs/editor/browser/gpu/objectCollectionBuffer.d.ts +33 -0
- package/vscode/src/vs/editor/browser/gpu/raster/glyphRasterizer.d.ts +4 -0
- package/vscode/src/vs/editor/browser/gpu/raster/raster.d.ts +47 -0
- package/vscode/src/vs/editor/browser/gpu/renderStrategy/fullFileRenderStrategy.d.ts +20 -0
- package/vscode/src/vs/editor/browser/gpu/renderStrategy/viewportRenderStrategy.d.ts +10 -0
- package/vscode/src/vs/editor/browser/gpu/taskQueue.d.ts +33 -0
- package/vscode/src/vs/editor/browser/gpu/viewGpuContext.d.ts +22 -0
- package/vscode/src/vs/editor/browser/observableCodeEditor.d.ts +6 -0
- package/vscode/src/vs/editor/browser/services/codeEditorService.service.d.ts +3 -0
- package/vscode/src/vs/editor/browser/services/hoverService/hover.css +32 -0
- package/vscode/src/vs/editor/browser/services/hoverService/hoverWidget.d.ts +4 -0
- package/vscode/src/vs/editor/browser/services/inlineCompletionsService.service.d.ts +16 -0
- package/vscode/src/vs/editor/browser/view/renderingContext.d.ts +17 -1
- package/vscode/src/vs/editor/browser/view/viewController.d.ts +3 -0
- package/vscode/src/vs/editor/browser/view/viewLayer.d.ts +19 -0
- package/vscode/src/vs/editor/browser/viewParts/blockDecorations/blockDecorations.css +6 -0
- package/vscode/src/vs/editor/browser/viewParts/contentWidgets/contentWidgets.d.ts +5 -0
- package/vscode/src/vs/editor/browser/viewParts/currentLineHighlight/currentLineHighlight.css +7 -0
- package/vscode/src/vs/editor/browser/viewParts/currentLineHighlight/currentLineHighlight.d.ts +9 -0
- package/vscode/src/vs/editor/browser/viewParts/decorations/decorations.css +9 -0
- package/vscode/src/vs/editor/browser/viewParts/editorScrollbar/editorScrollbar.d.ts +4 -0
- package/vscode/src/vs/editor/browser/viewParts/glyphMargin/glyphMargin.css +16 -0
- package/vscode/src/vs/editor/browser/viewParts/glyphMargin/glyphMargin.d.ts +20 -0
- package/vscode/src/vs/editor/browser/viewParts/gpuMark/gpuMark.css +6 -0
- package/vscode/src/vs/editor/browser/viewParts/gpuMark/gpuMark.d.ts +3 -0
- package/vscode/src/vs/editor/browser/viewParts/indentGuides/indentGuides.css +5 -0
- package/vscode/src/vs/editor/browser/viewParts/indentGuides/indentGuides.d.ts +4 -0
- package/vscode/src/vs/editor/browser/viewParts/lineNumbers/lineNumbers.css +9 -0
- package/vscode/src/vs/editor/browser/viewParts/lineNumbers/lineNumbers.d.ts +3 -0
- package/vscode/src/vs/editor/browser/viewParts/linesDecorations/linesDecorations.css +9 -0
- package/vscode/src/vs/editor/browser/viewParts/margin/margin.css +5 -0
- package/vscode/src/vs/editor/browser/viewParts/margin/margin.d.ts +5 -0
- package/vscode/src/vs/editor/browser/viewParts/marginDecorations/marginDecorations.css +9 -0
- package/vscode/src/vs/editor/browser/viewParts/minimap/minimap.css +10 -0
- package/vscode/src/vs/editor/browser/viewParts/minimap/minimap.d.ts +31 -0
- package/vscode/src/vs/editor/browser/viewParts/minimap/minimapCharRendererFactory.d.ts +16 -0
- package/vscode/src/vs/editor/browser/viewParts/minimap/minimapCharSheet.d.ts +3 -3
- package/vscode/src/vs/editor/browser/viewParts/minimap/minimapPreBaked.d.ts +5 -0
- package/vscode/src/vs/editor/browser/viewParts/overlayWidgets/overlayWidgets.css +4 -0
- package/vscode/src/vs/editor/browser/viewParts/overviewRuler/overviewRuler.d.ts +4 -0
- package/vscode/src/vs/editor/browser/viewParts/rulers/rulers.css +5 -0
- package/vscode/src/vs/editor/browser/viewParts/rulers/rulers.d.ts +4 -0
- package/vscode/src/vs/editor/browser/viewParts/rulersGpu/rulersGpu.d.ts +4 -0
- package/vscode/src/vs/editor/browser/viewParts/scrollDecoration/scrollDecoration.css +5 -0
- package/vscode/src/vs/editor/browser/viewParts/selections/selections.css +14 -0
- package/vscode/src/vs/editor/browser/viewParts/selections/selections.d.ts +3 -0
- package/vscode/src/vs/editor/browser/viewParts/viewCursors/viewCursor.d.ts +4 -0
- package/vscode/src/vs/editor/browser/viewParts/viewCursors/viewCursors.css +19 -0
- package/vscode/src/vs/editor/browser/viewParts/viewCursors/viewCursors.d.ts +4 -0
- package/vscode/src/vs/editor/browser/viewParts/viewLines/rangeUtil.d.ts +5 -0
- package/vscode/src/vs/editor/browser/viewParts/viewLines/viewLines.css +34 -0
- package/vscode/src/vs/editor/browser/viewParts/viewLines/viewLines.d.ts +19 -0
- package/vscode/src/vs/editor/browser/viewParts/viewLinesGpu/viewLinesGpu.d.ts +3 -0
- package/vscode/src/vs/editor/browser/viewParts/viewZones/viewZones.d.ts +5 -0
- package/vscode/src/vs/editor/browser/viewParts/whitespace/whitespace.css +5 -0
- package/vscode/src/vs/editor/browser/viewParts/whitespace/whitespace.d.ts +4 -0
- package/vscode/src/vs/editor/browser/widget/codeEditor/codeEditorContributions.d.ts +12 -0
- package/vscode/src/vs/editor/browser/widget/codeEditor/codeEditorWidget.d.ts +32 -0
- package/vscode/src/vs/editor/browser/widget/codeEditor/editor.css +27 -0
- package/vscode/src/vs/editor/browser/widget/diffEditor/commands.d.ts +4 -0
- package/vscode/src/vs/editor/browser/widget/diffEditor/components/accessibleDiffViewer.css +20 -0
- package/vscode/src/vs/editor/browser/widget/diffEditor/components/accessibleDiffViewer.d.ts +6 -0
- package/vscode/src/vs/editor/browser/widget/diffEditor/components/diffEditorSash.d.ts +1 -0
- package/vscode/src/vs/editor/browser/widget/diffEditor/components/diffEditorViewZones/diffEditorViewZones.d.ts +7 -0
- package/vscode/src/vs/editor/browser/widget/diffEditor/diffEditorWidget.d.ts +10 -0
- package/vscode/src/vs/editor/browser/widget/diffEditor/features/gutterFeature.d.ts +3 -0
- package/vscode/src/vs/editor/browser/widget/diffEditor/features/hideUnchangedRegionsFeature.d.ts +3 -0
- package/vscode/src/vs/editor/browser/widget/diffEditor/features/revertButtonsFeature.d.ts +6 -0
- package/vscode/src/vs/editor/browser/widget/diffEditor/style.css +92 -1
- package/vscode/src/vs/editor/browser/widget/markdownRenderer/browser/markdownRenderer.d.ts +4 -0
- package/vscode/src/vs/editor/browser/widget/markdownRenderer/browser/renderedMarkdown.css +6 -0
- package/vscode/src/vs/editor/common/commands/surroundSelectionCommand.d.ts +3 -0
- package/vscode/src/vs/editor/common/commands/trimTrailingWhitespaceCommand.d.ts +3 -0
- package/vscode/src/vs/editor/common/config/editorConfiguration.d.ts +41 -0
- package/vscode/src/vs/editor/common/config/editorOptions.d.ts +862 -0
- package/vscode/src/vs/editor/common/config/fontInfo.d.ts +34 -0
- package/vscode/src/vs/editor/common/coordinatesConverter.d.ts +7 -0
- package/vscode/src/vs/editor/common/core/characterClassifier.d.ts +9 -0
- package/vscode/src/vs/editor/common/core/cursorColumns.d.ts +44 -0
- package/vscode/src/vs/editor/common/core/editOperation.d.ts +14 -0
- package/vscode/src/vs/editor/common/core/editorColorRegistry.d.ts +3 -0
- package/vscode/src/vs/editor/common/core/edits/edit.d.ts +55 -1
- package/vscode/src/vs/editor/common/core/edits/lengthEdit.d.ts +6 -0
- package/vscode/src/vs/editor/common/core/edits/lineEdit.d.ts +9 -1
- package/vscode/src/vs/editor/common/core/edits/stringEdit.d.ts +37 -0
- package/vscode/src/vs/editor/common/core/edits/textEdit.d.ts +3 -0
- package/vscode/src/vs/editor/common/core/misc/rgba.d.ts +16 -0
- package/vscode/src/vs/editor/common/core/position.d.ts +67 -0
- package/vscode/src/vs/editor/common/core/range.d.ts +140 -0
- package/vscode/src/vs/editor/common/core/ranges/columnRange.d.ts +8 -1
- package/vscode/src/vs/editor/common/core/ranges/lineRange.d.ts +57 -1
- package/vscode/src/vs/editor/common/core/ranges/offsetRange.d.ts +30 -0
- package/vscode/src/vs/editor/common/core/ranges/rangeSingleLine.d.ts +7 -1
- package/vscode/src/vs/editor/common/core/selection.d.ts +83 -0
- package/vscode/src/vs/editor/common/core/stringBuilder.d.ts +6 -0
- package/vscode/src/vs/editor/common/core/text/positionToOffsetImpl.d.ts +1 -0
- package/vscode/src/vs/editor/common/core/text/textLength.d.ts +3 -0
- package/vscode/src/vs/editor/common/core/wordHelper.d.ts +12 -0
- package/vscode/src/vs/editor/common/cursor/cursorAtomicMoveOperations.d.ts +15 -0
- package/vscode/src/vs/editor/common/cursor/cursorCollection.d.ts +7 -0
- package/vscode/src/vs/editor/common/cursor/cursorMoveCommands.d.ts +15 -0
- package/vscode/src/vs/editor/common/cursor/cursorMoveOperations.d.ts +7 -0
- package/vscode/src/vs/editor/common/cursor/cursorTypeEditOperations.d.ts +14 -0
- package/vscode/src/vs/editor/common/cursor/cursorTypeOperations.d.ts +3 -0
- package/vscode/src/vs/editor/common/cursor/oneCursor.d.ts +3 -0
- package/vscode/src/vs/editor/common/cursorCommon.d.ts +25 -0
- package/vscode/src/vs/editor/common/cursorEvents.d.ts +63 -0
- package/vscode/src/vs/editor/common/diff/defaultLinesDiffComputer/algorithms/diffAlgorithm.d.ts +23 -1
- package/vscode/src/vs/editor/common/diff/defaultLinesDiffComputer/algorithms/dynamicProgrammingDiffing.d.ts +4 -0
- package/vscode/src/vs/editor/common/diff/defaultLinesDiffComputer/algorithms/myersDiffAlgorithm.d.ts +3 -0
- package/vscode/src/vs/editor/common/diff/defaultLinesDiffComputer/linesSliceCharSequence.d.ts +4 -0
- package/vscode/src/vs/editor/common/diff/legacyLinesDiffComputer.d.ts +16 -0
- package/vscode/src/vs/editor/common/diff/linesDiffComputer.d.ts +24 -1
- package/vscode/src/vs/editor/common/diff/rangeMapping.d.ts +41 -0
- package/vscode/src/vs/editor/common/editorCommon.d.ts +218 -0
- package/vscode/src/vs/editor/common/editorContextKeys.d.ts +14 -0
- package/vscode/src/vs/editor/common/editorFeatures.d.ts +7 -0
- package/vscode/src/vs/editor/common/encodedTokenAttributes.d.ts +38 -0
- package/vscode/src/vs/editor/common/inputMode.d.ts +3 -0
- package/vscode/src/vs/editor/common/languageSelector.d.ts +6 -0
- package/vscode/src/vs/editor/common/languages/autoIndent.d.ts +16 -0
- package/vscode/src/vs/editor/common/languages/defaultDocumentColorsComputer.d.ts +3 -0
- package/vscode/src/vs/editor/common/languages/language.d.ts +3 -0
- package/vscode/src/vs/editor/common/languages/language.service.d.ts +77 -0
- package/vscode/src/vs/editor/common/languages/languageConfiguration.d.ts +195 -0
- package/vscode/src/vs/editor/common/languages/languageConfigurationRegistry.d.ts +9 -0
- package/vscode/src/vs/editor/common/languages/languageConfigurationRegistry.service.d.ts +3 -0
- package/vscode/src/vs/editor/common/languages/linkComputer.d.ts +5 -0
- package/vscode/src/vs/editor/common/languages/supports/electricCharacter.d.ts +4 -0
- package/vscode/src/vs/editor/common/languages/supports/indentationLineProcessor.d.ts +27 -0
- package/vscode/src/vs/editor/common/languages/supports/languageBracketsConfiguration.d.ts +22 -1
- package/vscode/src/vs/editor/common/languages/supports/richEditBrackets.d.ts +80 -0
- package/vscode/src/vs/editor/common/languages/supports/tokenization.d.ts +12 -0
- package/vscode/src/vs/editor/common/languages.d.ts +955 -1
- package/vscode/src/vs/editor/common/model/bracketPairsTextModelPart/bracketPairsImpl.d.ts +4 -0
- package/vscode/src/vs/editor/common/model/bracketPairsTextModelPart/bracketPairsTree/ast.d.ts +55 -0
- package/vscode/src/vs/editor/common/model/bracketPairsTextModelPart/bracketPairsTree/beforeEditPositionMapper.d.ts +10 -0
- package/vscode/src/vs/editor/common/model/bracketPairsTextModelPart/bracketPairsTree/bracketPairsTree.d.ts +3 -0
- package/vscode/src/vs/editor/common/model/bracketPairsTextModelPart/bracketPairsTree/brackets.d.ts +3 -0
- package/vscode/src/vs/editor/common/model/bracketPairsTextModelPart/bracketPairsTree/concat23Trees.d.ts +6 -0
- package/vscode/src/vs/editor/common/model/bracketPairsTextModelPart/bracketPairsTree/length.d.ts +16 -0
- package/vscode/src/vs/editor/common/model/bracketPairsTextModelPart/bracketPairsTree/nodeReader.d.ts +8 -0
- package/vscode/src/vs/editor/common/model/bracketPairsTextModelPart/bracketPairsTree/parser.d.ts +3 -0
- package/vscode/src/vs/editor/common/model/bracketPairsTextModelPart/bracketPairsTree/smallImmutableSet.d.ts +7 -0
- package/vscode/src/vs/editor/common/model/bracketPairsTextModelPart/bracketPairsTree/tokenizer.d.ts +23 -1
- package/vscode/src/vs/editor/common/model/decorationProvider.d.ts +13 -0
- package/vscode/src/vs/editor/common/model/fixedArray.d.ts +4 -0
- package/vscode/src/vs/editor/common/model/indentationGuesser.d.ts +9 -0
- package/vscode/src/vs/editor/common/model/intervalTree.d.ts +13 -0
- package/vscode/src/vs/editor/common/model/mirrorTextModel.d.ts +18 -0
- package/vscode/src/vs/editor/common/model/pieceTreeTextBuffer/pieceTreeBase.d.ts +29 -0
- package/vscode/src/vs/editor/common/model/pieceTreeTextBuffer/pieceTreeTextBuffer.d.ts +7 -0
- package/vscode/src/vs/editor/common/model/prefixSumComputer.d.ts +34 -0
- package/vscode/src/vs/editor/common/model/textModel.d.ts +17 -0
- package/vscode/src/vs/editor/common/model/textModelSearch.d.ts +4 -0
- package/vscode/src/vs/editor/common/model/textModelTokens.d.ts +19 -0
- package/vscode/src/vs/editor/common/model/tokens/abstractSyntaxTokenBackend.d.ts +8 -0
- package/vscode/src/vs/editor/common/model/tokens/tokenizationTextModelPart.d.ts +3 -0
- package/vscode/src/vs/editor/common/model/tokens/tokenizerSyntaxTokenBackend.d.ts +1 -0
- package/vscode/src/vs/editor/common/model/tokens/treeSitter/tokenStore.d.ts +22 -0
- package/vscode/src/vs/editor/common/model/tokens/treeSitter/treeSitterTokenizationImpl.d.ts +10 -0
- package/vscode/src/vs/editor/common/model/tokens/treeSitter/treeSitterTree.d.ts +4 -1
- package/vscode/src/vs/editor/common/model/utils.d.ts +5 -0
- package/vscode/src/vs/editor/common/model.d.ts +440 -0
- package/vscode/src/vs/editor/common/modelLineProjectionData.d.ts +52 -1
- package/vscode/src/vs/editor/common/services/editorWebWorker.d.ts +19 -0
- package/vscode/src/vs/editor/common/services/findSectionHeaders.d.ts +19 -0
- package/vscode/src/vs/editor/common/services/languagesAssociations.d.ts +23 -0
- package/vscode/src/vs/editor/common/services/modelService.d.ts +6 -0
- package/vscode/src/vs/editor/common/services/resolverService.service.d.ts +10 -0
- package/vscode/src/vs/editor/common/services/textModelSync/textModelSync.impl.d.ts +3 -0
- package/vscode/src/vs/editor/common/services/textResourceConfiguration.d.ts +11 -0
- package/vscode/src/vs/editor/common/services/textResourceConfiguration.service.d.ts +35 -0
- package/vscode/src/vs/editor/common/services/treeSitter/treeSitterLibraryService.service.d.ts +10 -0
- package/vscode/src/vs/editor/common/standalone/standaloneEnums.d.ts +377 -18
- package/vscode/src/vs/editor/common/textModelBracketPairs.d.ts +56 -3
- package/vscode/src/vs/editor/common/textModelEditSource.d.ts +4 -0
- package/vscode/src/vs/editor/common/textModelEvents.d.ts +210 -0
- package/vscode/src/vs/editor/common/textModelGuides.d.ts +28 -1
- package/vscode/src/vs/editor/common/tokenizationTextModelPart.d.ts +53 -0
- package/vscode/src/vs/editor/common/tokens/contiguousMultilineTokens.d.ts +24 -0
- package/vscode/src/vs/editor/common/tokens/contiguousTokensStore.d.ts +3 -0
- package/vscode/src/vs/editor/common/tokens/lineTokens.d.ts +20 -0
- package/vscode/src/vs/editor/common/tokens/sparseMultilineTokens.d.ts +9 -0
- package/vscode/src/vs/editor/common/tokens/sparseTokensStore.d.ts +3 -0
- package/vscode/src/vs/editor/common/tokens/tokenWithTextArray.d.ts +11 -0
- package/vscode/src/vs/editor/common/viewEvents.d.ts +85 -2
- package/vscode/src/vs/editor/common/viewLayout/lineDecorations.d.ts +3 -0
- package/vscode/src/vs/editor/common/viewLayout/lineHeights.d.ts +26 -0
- package/vscode/src/vs/editor/common/viewLayout/linePart.d.ts +8 -1
- package/vscode/src/vs/editor/common/viewLayout/linesLayout.d.ts +130 -0
- package/vscode/src/vs/editor/common/viewLayout/viewLineRenderer.d.ts +10 -0
- package/vscode/src/vs/editor/common/viewLayout/viewLinesViewportData.d.ts +21 -0
- package/vscode/src/vs/editor/common/viewModel/modelLineProjection.d.ts +3 -0
- package/vscode/src/vs/editor/common/viewModel/overviewZoneManager.d.ts +6 -0
- package/vscode/src/vs/editor/common/viewModel/viewModelDecorations.d.ts +12 -0
- package/vscode/src/vs/editor/common/viewModel/viewModelImpl.d.ts +15 -0
- package/vscode/src/vs/editor/common/viewModel/viewModelLines.d.ts +10 -0
- package/vscode/src/vs/editor/common/viewModel.d.ts +104 -1
- package/vscode/src/vs/editor/contrib/anchorSelect/browser/anchorSelect.css +5 -0
- package/vscode/src/vs/editor/contrib/bracketMatching/browser/bracketMatching.css +5 -0
- package/vscode/src/vs/editor/contrib/codeAction/browser/codeAction.d.ts +1 -1
- package/vscode/src/vs/editor/contrib/codeAction/browser/lightBulbWidget.css +16 -0
- package/vscode/src/vs/editor/contrib/codelens/browser/codelensWidget.css +15 -1
- package/vscode/src/vs/editor/contrib/colorPicker/browser/colorPicker.css +40 -0
- package/vscode/src/vs/editor/contrib/colorPicker/browser/hoverColorPicker/hoverColorPickerParticipant.d.ts +4 -0
- package/vscode/src/vs/editor/contrib/comment/browser/lineCommentCommand.d.ts +26 -0
- package/vscode/src/vs/editor/contrib/dnd/browser/dnd.css +9 -3
- package/vscode/src/vs/editor/contrib/dropOrPasteInto/browser/copyPasteController.d.ts +12 -0
- package/vscode/src/vs/editor/contrib/dropOrPasteInto/browser/dropIntoEditorController.d.ts +5 -0
- package/vscode/src/vs/editor/contrib/dropOrPasteInto/browser/edit.d.ts +4 -0
- package/vscode/src/vs/editor/contrib/dropOrPasteInto/browser/postEditWidget.css +8 -0
- package/vscode/src/vs/editor/contrib/editorState/browser/editorState.d.ts +8 -0
- package/vscode/src/vs/editor/contrib/find/browser/findDecorations.d.ts +1 -0
- package/vscode/src/vs/editor/contrib/find/browser/findOptionsWidget.css +5 -0
- package/vscode/src/vs/editor/contrib/find/browser/findWidget.css +62 -1
- package/vscode/src/vs/editor/contrib/find/browser/findWidget.d.ts +4 -0
- package/vscode/src/vs/editor/contrib/find/browser/replacePattern.d.ts +18 -0
- package/vscode/src/vs/editor/contrib/folding/browser/folding.css +10 -1
- package/vscode/src/vs/editor/contrib/folding/browser/folding.d.ts +6 -0
- package/vscode/src/vs/editor/contrib/folding/browser/foldingModel.d.ts +67 -0
- package/vscode/src/vs/editor/contrib/folding/browser/foldingRanges.d.ts +13 -0
- package/vscode/src/vs/editor/contrib/gotoError/browser/media/gotoErrorWidget.css +20 -0
- package/vscode/src/vs/editor/contrib/gotoSymbol/browser/link/clickLinkGesture.d.ts +9 -0
- package/vscode/src/vs/editor/contrib/gotoSymbol/browser/link/goToDefinitionAtPosition.css +5 -0
- package/vscode/src/vs/editor/contrib/gotoSymbol/browser/peek/referencesWidget.css +22 -0
- package/vscode/src/vs/editor/contrib/gotoSymbol/browser/peek/referencesWidget.d.ts +3 -0
- package/vscode/src/vs/editor/contrib/hover/browser/contentHoverWidgetWrapper.d.ts +3 -0
- package/vscode/src/vs/editor/contrib/hover/browser/hover.css +19 -0
- package/vscode/src/vs/editor/contrib/hover/browser/hoverOperation.d.ts +16 -0
- package/vscode/src/vs/editor/contrib/hover/browser/hoverTypes.d.ts +54 -0
- package/vscode/src/vs/editor/contrib/inPlaceReplace/browser/inPlaceReplace.css +6 -0
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/controller/inlineCompletionsController.d.ts +3 -0
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/hintsWidget/inlineCompletionsHintsWidget.css +12 -0
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/model/computeGhostText.d.ts +12 -0
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/model/ghostText.d.ts +11 -1
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/model/graph.d.ts +3 -0
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/model/inlineCompletionsSource.d.ts +3 -0
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/model/inlineSuggestionItem.d.ts +12 -0
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/model/provideInlineCompletions.d.ts +13 -0
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/model/typingSpeed.d.ts +13 -0
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/structuredLogger.d.ts +3 -0
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/view/ghostText/ghostTextView.css +16 -0
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/view/inlineEdits/inlineEditsViews/inlineEditsWordReplacementView.d.ts +4 -1
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/view/inlineEdits/view.css +58 -7
- package/vscode/src/vs/editor/contrib/inlineProgress/browser/inlineProgress.d.ts +1 -0
- package/vscode/src/vs/editor/contrib/inlineProgress/browser/inlineProgressWidget.css +9 -0
- package/vscode/src/vs/editor/contrib/insertFinalNewLine/browser/insertFinalNewLineCommand.d.ts +4 -0
- package/vscode/src/vs/editor/contrib/linesOperations/browser/linesOperations.d.ts +3 -0
- package/vscode/src/vs/editor/contrib/linesOperations/browser/moveLinesCommand.d.ts +9 -0
- package/vscode/src/vs/editor/contrib/linkedEditing/browser/linkedEditing.css +7 -0
- package/vscode/src/vs/editor/contrib/links/browser/links.css +5 -0
- package/vscode/src/vs/editor/contrib/message/browser/messageController.css +18 -0
- package/vscode/src/vs/editor/contrib/middleScroll/browser/middleScroll.css +7 -0
- package/vscode/src/vs/editor/contrib/parameterHints/browser/parameterHints.css +29 -0
- package/vscode/src/vs/editor/contrib/peekView/browser/media/peekViewWidget.css +18 -0
- package/vscode/src/vs/editor/contrib/placeholderText/browser/placeholderText.css +6 -0
- package/vscode/src/vs/editor/contrib/placeholderText/browser/placeholderTextContribution.d.ts +3 -0
- package/vscode/src/vs/editor/contrib/rename/browser/renameWidget.css +16 -2
- package/vscode/src/vs/editor/contrib/rename/browser/renameWidget.d.ts +27 -0
- package/vscode/src/vs/editor/contrib/snippet/browser/snippetParser.d.ts +4 -0
- package/vscode/src/vs/editor/contrib/snippet/browser/snippetSession.css +6 -0
- package/vscode/src/vs/editor/contrib/snippet/browser/snippetSession.d.ts +4 -0
- package/vscode/src/vs/editor/contrib/stickyScroll/browser/stickyScroll.css +15 -0
- package/vscode/src/vs/editor/contrib/stickyScroll/browser/stickyScrollElement.d.ts +22 -1
- package/vscode/src/vs/editor/contrib/stickyScroll/browser/stickyScrollModelProvider.d.ts +5 -0
- package/vscode/src/vs/editor/contrib/stickyScroll/browser/stickyScrollProvider.d.ts +42 -0
- package/vscode/src/vs/editor/contrib/stickyScroll/browser/stickyScrollWidget.d.ts +19 -0
- package/vscode/src/vs/editor/contrib/suggest/browser/completionModel.d.ts +3 -0
- package/vscode/src/vs/editor/contrib/suggest/browser/media/suggest.css +118 -0
- package/vscode/src/vs/editor/contrib/suggest/browser/suggest.d.ts +7 -0
- package/vscode/src/vs/editor/contrib/suggest/browser/suggestModel.d.ts +4 -0
- package/vscode/src/vs/editor/contrib/suggest/browser/suggestWidgetRenderer.d.ts +8 -0
- package/vscode/src/vs/editor/contrib/symbolIcons/browser/symbolIcons.css +5 -0
- package/vscode/src/vs/editor/contrib/unicodeHighlighter/browser/bannerController.css +19 -0
- package/vscode/src/vs/editor/contrib/unicodeHighlighter/browser/unicodeHighlighter.css +5 -0
- package/vscode/src/vs/editor/contrib/wordHighlighter/browser/highlightDecorations.css +8 -0
- package/vscode/src/vs/editor/contrib/zoneWidget/browser/zoneWidget.css +6 -0
- package/vscode/src/vs/editor/contrib/zoneWidget/browser/zoneWidget.d.ts +1 -0
- package/vscode/src/vs/editor/editor.worker.start.d.ts +5 -0
- package/vscode/src/vs/editor/standalone/browser/iPadShowKeyboard/iPadShowKeyboard.css +6 -0
- package/vscode/src/vs/editor/standalone/browser/quickInput/standaloneQuickInput.css +14 -0
- package/vscode/src/vs/editor/standalone/browser/standaloneCodeEditor.d.ts +73 -0
- package/vscode/src/vs/editor/standalone/browser/standaloneServices.d.ts +10 -0
- package/vscode/src/vs/editor/standalone/browser/standaloneTreeSitterLibraryService.d.ts +10 -0
- package/vscode/src/vs/nls.d.ts +96 -0
- package/vscode/src/vs/platform/accessibility/browser/accessibleView.d.ts +31 -0
- package/vscode/src/vs/platform/accessibility/browser/accessibleView.service.d.ts +4 -0
- package/vscode/src/vs/platform/accessibility/browser/accessibleViewRegistry.d.ts +3 -0
- package/vscode/src/vs/platform/accessibility/common/accessibility.d.ts +3 -0
- package/vscode/src/vs/platform/accessibilitySignal/browser/accessibilitySignalService.d.ts +16 -0
- package/vscode/src/vs/platform/accessibilitySignal/browser/accessibilitySignalService.service.d.ts +7 -0
- package/vscode/src/vs/platform/action/common/action.d.ts +32 -0
- package/vscode/src/vs/platform/actionWidget/browser/actionWidget.css +36 -0
- package/vscode/src/vs/platform/actions/browser/floatingMenu.d.ts +4 -0
- package/vscode/src/vs/platform/actions/browser/menuEntryActionViewItem.css +14 -0
- package/vscode/src/vs/platform/actions/browser/menuEntryActionViewItem.d.ts +3 -0
- package/vscode/src/vs/platform/actions/browser/toolbar.d.ts +67 -0
- package/vscode/src/vs/platform/actions/common/actions.d.ts +40 -0
- package/vscode/src/vs/platform/actions/common/actions.service.d.ts +20 -0
- package/vscode/src/vs/platform/clipboard/common/clipboardService.service.d.ts +33 -0
- package/vscode/src/vs/platform/commands/common/commands.d.ts +7 -0
- package/vscode/src/vs/platform/configuration/common/configuration.d.ts +9 -0
- package/vscode/src/vs/platform/configuration/common/configuration.service.d.ts +26 -0
- package/vscode/src/vs/platform/configuration/common/configurationRegistry.d.ts +126 -0
- package/vscode/src/vs/platform/contextkey/common/contextkey.d.ts +30 -0
- package/vscode/src/vs/platform/contextkey/common/scanner.d.ts +21 -1
- package/vscode/src/vs/platform/contextview/browser/contextView.d.ts +18 -0
- package/vscode/src/vs/platform/dialogs/common/dialogs.service.d.ts +87 -0
- package/vscode/src/vs/platform/dnd/browser/dnd.d.ts +22 -0
- package/vscode/src/vs/platform/editor/common/editor.d.ts +231 -0
- package/vscode/src/vs/platform/environment/common/argv.d.ts +3 -0
- package/vscode/src/vs/platform/environment/common/environment.d.ts +5 -0
- package/vscode/src/vs/platform/environment/common/environment.service.d.ts +16 -0
- package/vscode/src/vs/platform/extensionManagement/common/extensionManagement.d.ts +25 -22
- package/vscode/src/vs/platform/extensionManagement/common/extensionManagement.service.d.ts +4 -0
- package/vscode/src/vs/platform/extensionManagement/common/extensionsProfileScannerService.d.ts +6 -0
- package/vscode/src/vs/platform/extensionManagement/common/extensionsScannerService.d.ts +7 -0
- package/vscode/src/vs/platform/extensionManagement/common/implicitActivationEvents.d.ts +8 -0
- package/vscode/src/vs/platform/extensionResourceLoader/common/extensionResourceLoader.service.d.ts +15 -0
- package/vscode/src/vs/platform/extensions/common/extensions.d.ts +944 -0
- package/vscode/src/vs/platform/files/browser/webFileSystemAccess.d.ts +25 -0
- package/vscode/src/vs/platform/files/common/files.d.ts +408 -0
- package/vscode/src/vs/platform/files/common/files.service.d.ts +168 -0
- package/vscode/src/vs/platform/files/common/watcher.d.ts +83 -0
- package/vscode/src/vs/platform/imageResize/common/imageResizeService.service.d.ts +3 -0
- package/vscode/src/vs/platform/instantiation/common/extensions.d.ts +8 -0
- package/vscode/src/vs/platform/instantiation/common/graph.d.ts +4 -0
- package/vscode/src/vs/platform/instantiation/common/instantiation.d.ts +31 -0
- package/vscode/src/vs/platform/jsonschemas/common/jsonContributionRegistry.d.ts +18 -0
- package/vscode/src/vs/platform/keybinding/common/abstractKeybindingService.d.ts +7 -0
- package/vscode/src/vs/platform/keybinding/common/keybinding.service.d.ts +27 -0
- package/vscode/src/vs/platform/keybinding/common/keybindingResolver.d.ts +24 -1
- package/vscode/src/vs/platform/keybinding/common/keybindingsRegistry.d.ts +3 -0
- package/vscode/src/vs/platform/keybinding/common/usLayoutResolvedKeybinding.d.ts +6 -0
- package/vscode/src/vs/platform/label/common/label.service.d.ts +12 -0
- package/vscode/src/vs/platform/layout/browser/layoutService.d.ts +6 -0
- package/vscode/src/vs/platform/layout/browser/layoutService.service.d.ts +51 -0
- package/vscode/src/vs/platform/list/browser/listService.service.d.ts +3 -0
- package/vscode/src/vs/platform/log/common/log.d.ts +30 -0
- package/vscode/src/vs/platform/log/common/log.service.d.ts +52 -0
- package/vscode/src/vs/platform/markers/common/markerService.d.ts +3 -0
- package/vscode/src/vs/platform/markers/common/markers.d.ts +6 -0
- package/vscode/src/vs/platform/notification/common/notification.d.ts +185 -0
- package/vscode/src/vs/platform/notification/common/notification.service.d.ts +63 -0
- package/vscode/src/vs/platform/observable/common/platformObservableUtils.d.ts +2 -0
- package/vscode/src/vs/platform/observable/common/wrapInHotClass.d.ts +10 -0
- package/vscode/src/vs/platform/observable/common/wrapInReloadableClass.d.ts +10 -0
- package/vscode/src/vs/platform/opener/browser/link.css +7 -0
- package/vscode/src/vs/platform/opener/common/opener.d.ts +33 -0
- package/vscode/src/vs/platform/opener/common/opener.service.d.ts +27 -0
- package/vscode/src/vs/platform/product/common/product.d.ts +5 -0
- package/vscode/src/vs/platform/product/common/product.js +2 -2
- package/vscode/src/vs/platform/progress/common/progress.d.ts +15 -0
- package/vscode/src/vs/platform/progress/common/progress.service.d.ts +6 -0
- package/vscode/src/vs/platform/quickinput/browser/media/quickInput.css +115 -0
- package/vscode/src/vs/platform/quickinput/browser/quickInput.d.ts +4 -0
- package/vscode/src/vs/platform/quickinput/browser/quickInputList.d.ts +14 -0
- package/vscode/src/vs/platform/quickinput/browser/tree/quickInputDelegate.d.ts +3 -0
- package/vscode/src/vs/platform/quickinput/browser/tree/quickInputTreeAccessibilityProvider.d.ts +3 -0
- package/vscode/src/vs/platform/quickinput/browser/tree/quickInputTreeController.d.ts +3 -0
- package/vscode/src/vs/platform/quickinput/browser/tree/quickTree.d.ts +4 -0
- package/vscode/src/vs/platform/quickinput/common/quickAccess.d.ts +121 -0
- package/vscode/src/vs/platform/quickinput/common/quickInput.d.ts +574 -0
- package/vscode/src/vs/platform/quickinput/common/quickInput.service.d.ts +63 -0
- package/vscode/src/vs/platform/registry/common/platform.d.ts +14 -0
- package/vscode/src/vs/platform/remote/common/remoteAuthorityResolver.service.d.ts +7 -0
- package/vscode/src/vs/platform/remote/common/remoteExtensionsScanner.service.d.ts +3 -0
- package/vscode/src/vs/platform/remote/common/remoteSocketFactoryService.service.d.ts +6 -0
- package/vscode/src/vs/platform/storage/common/storage.d.ts +45 -0
- package/vscode/src/vs/platform/storage/common/storage.service.d.ts +120 -0
- package/vscode/src/vs/platform/telemetry/common/telemetry.service.d.ts +13 -0
- package/vscode/src/vs/platform/telemetry/common/telemetryUtils.d.ts +40 -0
- package/vscode/src/vs/platform/terminal/common/terminal.d.ts +342 -1
- package/vscode/src/vs/platform/terminal/common/terminal.service.d.ts +28 -0
- package/vscode/src/vs/platform/terminal/common/terminalProcess.d.ts +4 -0
- package/vscode/src/vs/platform/theme/common/colorUtils.d.ts +37 -0
- package/vscode/src/vs/platform/theme/common/iconRegistry.d.ts +32 -0
- package/vscode/src/vs/platform/theme/common/theme.d.ts +3 -0
- package/vscode/src/vs/platform/theme/common/themeService.d.ts +30 -0
- package/vscode/src/vs/platform/tunnel/common/tunnel.d.ts +13 -1
- package/vscode/src/vs/platform/undoRedo/common/undoRedo.d.ts +32 -0
- package/vscode/src/vs/platform/undoRedo/common/undoRedo.service.d.ts +32 -0
- package/vscode/src/vs/platform/update/common/update.d.ts +17 -0
- package/vscode/src/vs/platform/uriIdentity/common/uriIdentity.service.d.ts +26 -0
- package/vscode/src/vs/platform/url/common/url.d.ts +6 -0
- package/vscode/src/vs/platform/url/common/url.service.d.ts +5 -0
- package/vscode/src/vs/platform/userDataProfile/common/userDataProfile.d.ts +3 -0
- package/vscode/src/vs/platform/userDataProfile/common/userDataProfileStorageService.service.d.ts +16 -0
- package/vscode/src/vs/platform/userDataSync/common/userDataSync.d.ts +12 -12
- package/vscode/src/vs/platform/userDataSync/common/userDataSync.service.d.ts +4 -0
- package/vscode/src/vs/platform/webContentExtractor/common/webContentExtractor.d.ts +5 -0
- package/vscode/src/vs/platform/window/common/window.d.ts +39 -0
- package/vscode/src/vs/platform/workspace/common/workspace.d.ts +71 -1
- package/vscode/src/vs/platform/workspace/common/workspace.service.d.ts +36 -0
- package/vscode/src/vs/workbench/api/common/extHost.api.impl.d.ts +3 -0
- package/vscode/src/vs/workbench/api/common/extHost.protocol.d.ts +93 -3
- package/vscode/src/vs/workbench/api/common/extHostAuthentication.d.ts +9 -0
- package/vscode/src/vs/workbench/api/common/extHostConsoleForwarder.d.ts +9 -0
- package/vscode/src/vs/workbench/api/common/extHostExtensionActivator.d.ts +13 -0
- package/vscode/src/vs/workbench/api/common/extHostExtensionService.d.ts +7 -0
- package/vscode/src/vs/workbench/api/common/extHostLanguageModelTools.d.ts +2 -0
- package/vscode/src/vs/workbench/api/common/extHostMcp.d.ts +1 -0
- package/vscode/src/vs/workbench/api/common/extHostNotebook.d.ts +11 -0
- package/vscode/src/vs/workbench/api/common/extHostTerminalService.d.ts +7 -0
- package/vscode/src/vs/workbench/api/common/extHostTestItem.d.ts +3 -0
- package/vscode/src/vs/workbench/api/common/extHostTesting.d.ts +96 -2
- package/vscode/src/vs/workbench/api/common/extHostTestingPrivateApi.d.ts +5 -0
- package/vscode/src/vs/workbench/api/common/extHostTunnelService.d.ts +8 -0
- package/vscode/src/vs/workbench/api/common/extHostTypes.d.ts +123 -0
- package/vscode/src/vs/workbench/api/common/extHostWorkspace.d.ts +3 -0
- package/vscode/src/vs/workbench/browser/actions/media/actions.css +12 -0
- package/vscode/src/vs/workbench/browser/parts/editor/editor.d.ts +69 -0
- package/vscode/src/vs/workbench/common/composite.d.ts +24 -0
- package/vscode/src/vs/workbench/common/contributions.d.ts +62 -0
- package/vscode/src/vs/workbench/common/editor/diffEditorInput.d.ts +4 -0
- package/vscode/src/vs/workbench/common/editor/diffEditorModel.d.ts +4 -0
- package/vscode/src/vs/workbench/common/editor/editorInput.d.ts +181 -0
- package/vscode/src/vs/workbench/common/editor/editorModel.d.ts +17 -0
- package/vscode/src/vs/workbench/common/editor/sideBySideEditorInput.d.ts +3 -0
- package/vscode/src/vs/workbench/common/editor/textDiffEditorModel.d.ts +4 -0
- package/vscode/src/vs/workbench/common/editor/textEditorModel.d.ts +15 -0
- package/vscode/src/vs/workbench/common/editor.d.ts +617 -0
- package/vscode/src/vs/workbench/common/panecomposite.d.ts +3 -0
- package/vscode/src/vs/workbench/common/views.d.ts +74 -0
- package/vscode/src/vs/workbench/contrib/accessibility/browser/accessibilityConfiguration.d.ts +4 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/chat.service.d.ts +3 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/chatContentParts/chatContentParts.d.ts +11 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/chatContentParts/chatMarkdownAnchorService.service.d.ts +3 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/chatContextPickService.service.d.ts +5 -0
- package/vscode/src/vs/workbench/contrib/chat/common/chatAgents.service.d.ts +9 -0
- package/vscode/src/vs/workbench/contrib/chat/common/chatContextKeys.d.ts +3 -0
- package/vscode/src/vs/workbench/contrib/chat/common/chatEditingService.d.ts +58 -0
- package/vscode/src/vs/workbench/contrib/chat/common/chatEditingService.service.d.ts +6 -0
- package/vscode/src/vs/workbench/contrib/chat/common/chatService.d.ts +19 -0
- package/vscode/src/vs/workbench/contrib/chat/common/chatService.service.d.ts +3 -0
- package/vscode/src/vs/workbench/contrib/chat/common/chatSlashCommands.service.d.ts +3 -0
- package/vscode/src/vs/workbench/contrib/chat/common/chatVariableEntries.d.ts +18 -0
- package/vscode/src/vs/workbench/contrib/chat/common/constants.d.ts +3 -0
- package/vscode/src/vs/workbench/contrib/chat/common/languageModelToolsService.d.ts +11 -0
- package/vscode/src/vs/workbench/contrib/chat/common/languageModels.d.ts +12 -0
- package/vscode/src/vs/workbench/contrib/chat/common/languageModels.service.d.ts +5 -0
- package/vscode/src/vs/workbench/contrib/chat/common/promptSyntax/contentProviders/types.d.ts +34 -0
- package/vscode/src/vs/workbench/contrib/chat/common/promptSyntax/parsers/types.d.ts +64 -0
- package/vscode/src/vs/workbench/contrib/chat/common/promptSyntax/service/promptsService.d.ts +78 -0
- package/vscode/src/vs/workbench/contrib/chat/common/promptSyntax/service/promptsService.service.d.ts +40 -0
- package/vscode/src/vs/workbench/contrib/chat/common/tools/promptTsxTypes.d.ts +10 -0
- package/vscode/src/vs/workbench/contrib/codeEditor/browser/dictation/editorDictation.css +9 -0
- package/vscode/src/vs/workbench/contrib/codeEditor/browser/editorLineNumberMenu.d.ts +6 -0
- package/vscode/src/vs/workbench/contrib/codeEditor/browser/largeFileOptimizations.d.ts +3 -0
- package/vscode/src/vs/workbench/contrib/codeEditor/browser/menuPreventer.d.ts +3 -0
- package/vscode/src/vs/workbench/contrib/codeEditor/browser/saveParticipants.d.ts +3 -0
- package/vscode/src/vs/workbench/contrib/codeEditor/browser/toggleWordWrap.d.ts +9 -0
- package/vscode/src/vs/workbench/contrib/comments/common/commentContextKeys.d.ts +33 -0
- package/vscode/src/vs/workbench/contrib/debug/common/abstractDebugAdapter.d.ts +26 -0
- package/vscode/src/vs/workbench/contrib/debug/common/debug.d.ts +161 -0
- package/vscode/src/vs/workbench/contrib/debug/common/debug.service.d.ts +130 -0
- package/vscode/src/vs/workbench/contrib/debug/common/debugUtils.d.ts +11 -0
- package/vscode/src/vs/workbench/contrib/debug/common/debugVisualizers.service.d.ts +18 -0
- package/vscode/src/vs/workbench/contrib/externalUriOpener/common/externalUriOpenerService.service.d.ts +7 -0
- package/vscode/src/vs/workbench/contrib/files/browser/files.service.d.ts +4 -0
- package/vscode/src/vs/workbench/contrib/logs/common/defaultLogLevels.service.d.ts +3 -0
- package/vscode/src/vs/workbench/contrib/mcp/common/mcpRegistryTypes.d.ts +14 -0
- package/vscode/src/vs/workbench/contrib/mcp/common/mcpRegistryTypes.service.d.ts +9 -0
- package/vscode/src/vs/workbench/contrib/mcp/common/mcpTypes.d.ts +124 -0
- package/vscode/src/vs/workbench/contrib/mcp/common/mcpTypes.service.d.ts +15 -0
- package/vscode/src/vs/workbench/contrib/mcp/common/modelContextProtocol.d.ts +787 -0
- package/vscode/src/vs/workbench/contrib/notebook/common/notebookCommon.d.ts +71 -0
- package/vscode/src/vs/workbench/contrib/notebook/common/notebookEditorModelResolverService.d.ts +19 -0
- package/vscode/src/vs/workbench/contrib/notebook/common/notebookKernelService.service.d.ts +13 -0
- package/vscode/src/vs/workbench/contrib/notebook/common/notebookRendererMessagingService.d.ts +7 -0
- package/vscode/src/vs/workbench/contrib/notebook/common/notebookRendererMessagingService.service.d.ts +12 -0
- package/vscode/src/vs/workbench/contrib/notebook/common/notebookService.service.d.ts +2 -0
- package/vscode/src/vs/workbench/contrib/scm/browser/quickDiffModel.service.d.ts +6 -0
- package/vscode/src/vs/workbench/contrib/scm/common/scm.service.d.ts +3 -0
- package/vscode/src/vs/workbench/contrib/search/browser/replace.service.d.ts +14 -0
- package/vscode/src/vs/workbench/contrib/speech/common/speechService.service.d.ts +14 -0
- package/vscode/src/vs/workbench/contrib/tags/common/workspaceTags.service.d.ts +4 -0
- package/vscode/src/vs/workbench/contrib/tasks/common/taskService.service.d.ts +8 -0
- package/vscode/src/vs/workbench/contrib/tasks/common/tasks.d.ts +224 -0
- package/vscode/src/vs/workbench/contrib/terminal/browser/terminal.d.ts +508 -13
- package/vscode/src/vs/workbench/contrib/terminal/browser/terminal.service.d.ts +92 -0
- package/vscode/src/vs/workbench/contrib/terminal/browser/xterm-private.d.ts +4 -0
- package/vscode/src/vs/workbench/contrib/terminal/common/environmentVariable.service.d.ts +21 -0
- package/vscode/src/vs/workbench/contrib/terminal/common/terminal.service.d.ts +3 -0
- package/vscode/src/vs/workbench/contrib/testing/common/testCoverageService.service.d.ts +16 -0
- package/vscode/src/vs/workbench/contrib/testing/common/testExplorerFilterState.service.d.ts +31 -0
- package/vscode/src/vs/workbench/contrib/testing/common/testId.d.ts +79 -0
- package/vscode/src/vs/workbench/contrib/testing/common/testItemCollection.d.ts +49 -0
- package/vscode/src/vs/workbench/contrib/testing/common/testProfileService.service.d.ts +36 -0
- package/vscode/src/vs/workbench/contrib/testing/common/testResultService.service.d.ts +24 -0
- package/vscode/src/vs/workbench/contrib/testing/common/testResultStorage.service.d.ts +6 -0
- package/vscode/src/vs/workbench/contrib/testing/common/testService.service.d.ts +62 -0
- package/vscode/src/vs/workbench/contrib/testing/common/testTypes.d.ts +150 -0
- package/vscode/src/vs/workbench/contrib/testing/common/testingContinuousRunService.service.d.ts +36 -0
- package/vscode/src/vs/workbench/contrib/testing/common/testingDecorations.service.d.ts +19 -0
- package/vscode/src/vs/workbench/contrib/testing/common/testingPeekOpener.d.ts +2 -0
- package/vscode/src/vs/workbench/contrib/testing/common/testingPeekOpener.service.d.ts +18 -0
- package/vscode/src/vs/workbench/contrib/timeline/common/timeline.d.ts +29 -0
- package/vscode/src/vs/workbench/contrib/webview/browser/webview.service.d.ts +18 -0
- package/vscode/src/vs/workbench/contrib/webview/common/webview.d.ts +19 -0
- package/vscode/src/vs/workbench/contrib/webviewPanel/browser/webviewWorkbenchService.service.d.ts +31 -0
- package/vscode/src/vs/workbench/contrib/webviewView/browser/webviewViewService.service.d.ts +10 -0
- package/vscode/src/vs/workbench/services/activity/common/activity.service.d.ts +21 -0
- package/vscode/src/vs/workbench/services/authentication/browser/authenticationAccessService.service.d.ts +8 -0
- package/vscode/src/vs/workbench/services/authentication/browser/authenticationMcpAccessService.service.d.ts +8 -0
- package/vscode/src/vs/workbench/services/authentication/browser/authenticationMcpService.service.d.ts +41 -0
- package/vscode/src/vs/workbench/services/authentication/browser/authenticationMcpUsageService.service.d.ts +24 -0
- package/vscode/src/vs/workbench/services/authentication/browser/authenticationUsageService.service.d.ts +24 -0
- package/vscode/src/vs/workbench/services/authentication/common/authentication.d.ts +107 -0
- package/vscode/src/vs/workbench/services/authentication/common/authentication.service.d.ts +124 -0
- package/vscode/src/vs/workbench/services/authentication/common/authenticationQuery.d.ts +267 -0
- package/vscode/src/vs/workbench/services/authentication/common/authenticationQuery.service.d.ts +33 -0
- package/vscode/src/vs/workbench/services/authentication/common/dynamicAuthenticationProviderStorage.d.ts +3 -0
- package/vscode/src/vs/workbench/services/authentication/common/dynamicAuthenticationProviderStorage.service.d.ts +39 -0
- package/vscode/src/vs/workbench/services/configurationResolver/common/configurationResolver.service.d.ts +20 -0
- package/vscode/src/vs/workbench/services/configurationResolver/common/configurationResolverExpression.d.ts +29 -0
- package/vscode/src/vs/workbench/services/editor/common/editorGroupsService.d.ts +511 -0
- package/vscode/src/vs/workbench/services/editor/common/editorGroupsService.service.d.ts +49 -0
- package/vscode/src/vs/workbench/services/editor/common/editorPaneService.service.d.ts +6 -0
- package/vscode/src/vs/workbench/services/editor/common/editorResolverService.d.ts +12 -0
- package/vscode/src/vs/workbench/services/editor/common/editorResolverService.service.d.ts +41 -0
- package/vscode/src/vs/workbench/services/editor/common/editorService.d.ts +45 -0
- package/vscode/src/vs/workbench/services/editor/common/editorService.service.d.ts +174 -0
- package/vscode/src/vs/workbench/services/environment/common/environmentService.service.d.ts +4 -0
- package/vscode/src/vs/workbench/services/extensionManagement/common/extensionManagement.service.d.ts +44 -0
- package/vscode/src/vs/workbench/services/extensions/common/extensionHostProtocol.d.ts +3 -0
- package/vscode/src/vs/workbench/services/extensions/common/extensionHostProxy.d.ts +3 -0
- package/vscode/src/vs/workbench/services/extensions/common/extensions.d.ts +64 -0
- package/vscode/src/vs/workbench/services/extensions/common/extensions.service.d.ts +94 -0
- package/vscode/src/vs/workbench/services/extensions/common/extensionsRegistry.d.ts +4 -0
- package/vscode/src/vs/workbench/services/extensions/common/proxyIdentifier.d.ts +18 -0
- package/vscode/src/vs/workbench/services/files/common/elevatedFileService.service.d.ts +7 -0
- package/vscode/src/vs/workbench/services/history/common/history.d.ts +28 -0
- package/vscode/src/vs/workbench/services/history/common/history.service.d.ts +51 -0
- package/vscode/src/vs/workbench/services/host/browser/host.service.d.ts +69 -0
- package/vscode/src/vs/workbench/services/keybinding/common/fallbackKeyboardMapper.d.ts +3 -0
- package/vscode/src/vs/workbench/services/languageDetection/common/languageDetectionWorkerService.service.d.ts +9 -0
- package/vscode/src/vs/workbench/services/layout/browser/layoutService.service.d.ts +119 -0
- package/vscode/src/vs/workbench/services/lifecycle/common/lifecycle.d.ts +116 -0
- package/vscode/src/vs/workbench/services/lifecycle/common/lifecycle.service.d.ts +54 -0
- package/vscode/src/vs/workbench/services/lifecycle/common/lifecycleService.d.ts +3 -0
- package/vscode/src/vs/workbench/services/output/common/output.d.ts +57 -0
- package/vscode/src/vs/workbench/services/output/common/output.service.d.ts +45 -0
- package/vscode/src/vs/workbench/services/panecomposite/browser/panecomposite.service.d.ts +30 -0
- package/vscode/src/vs/workbench/services/path/common/pathService.service.d.ts +42 -0
- package/vscode/src/vs/workbench/services/remote/common/remoteAgentService.service.d.ts +16 -0
- package/vscode/src/vs/workbench/services/search/common/folderQuerySearchTree.d.ts +4 -0
- package/vscode/src/vs/workbench/services/search/common/queryBuilder.d.ts +28 -0
- package/vscode/src/vs/workbench/services/search/common/search.d.ts +32 -0
- package/vscode/src/vs/workbench/services/search/common/search.service.d.ts +3 -0
- package/vscode/src/vs/workbench/services/search/common/searchExtConversionTypes.d.ts +273 -0
- package/vscode/src/vs/workbench/services/search/common/searchExtTypes.d.ts +327 -0
- package/vscode/src/vs/workbench/services/search/common/textSearchManager.d.ts +6 -0
- package/vscode/src/vs/workbench/services/statusbar/browser/statusbar.d.ts +91 -0
- package/vscode/src/vs/workbench/services/statusbar/browser/statusbar.service.d.ts +10 -0
- package/vscode/src/vs/workbench/services/terminal/common/embedderTerminalService.service.d.ts +3 -0
- package/vscode/src/vs/workbench/services/textfile/common/encoding.d.ts +9 -0
- package/vscode/src/vs/workbench/services/textfile/common/textEditorService.service.d.ts +17 -0
- package/vscode/src/vs/workbench/services/textfile/common/textfiles.d.ts +179 -0
- package/vscode/src/vs/workbench/services/textfile/common/textfiles.service.d.ts +74 -0
- package/vscode/src/vs/workbench/services/timer/browser/timerService.service.d.ts +31 -0
- package/vscode/src/vs/workbench/services/title/browser/titleService.service.d.ts +6 -0
- package/vscode/src/vs/workbench/services/untitled/common/untitledTextEditorService.service.d.ts +46 -0
- package/vscode/src/vs/workbench/services/userActivity/common/userActivityService.service.d.ts +14 -0
- package/vscode/src/vs/workbench/services/workingCopy/common/workingCopyBackup.d.ts +11 -0
- package/vscode/src/vs/workbench/services/workingCopy/common/workingCopyBackup.service.d.ts +32 -0
- package/vscode/src/vs/workbench/services/workingCopy/common/workingCopyEditorService.service.d.ts +9 -0
- package/vscode/src/vs/workbench/services/workingCopy/common/workingCopyFileService.service.d.ts +84 -0
- package/vscode/src/vs/workbench/services/workingCopy/common/workingCopyHistory.service.d.ts +43 -0
- package/vscode/src/vs/workbench/services/workingCopy/common/workingCopyService.service.d.ts +63 -0
- package/vscode/src/vs/workbench/services/workspaces/common/workspaceEditing.service.d.ts +28 -0
|
@@ -23,6 +23,11 @@ import type { ICurrentPartialCommand } from "@codingame/monaco-vscode-88141f48-1
|
|
|
23
23
|
import type { IMenu } from "../../../../platform/actions/common/actions.js";
|
|
24
24
|
import type { Barrier } from "../../../../base/common/async.js";
|
|
25
25
|
import type { IProgressState } from "@xterm/addon-progress";
|
|
26
|
+
/**
|
|
27
|
+
* A terminal contribution that gets created whenever a terminal is created. A contribution has
|
|
28
|
+
* access to the process manager through the constructor and provides a method for when xterm.js has
|
|
29
|
+
* been initialized.
|
|
30
|
+
*/
|
|
26
31
|
export interface ITerminalContribution extends IDisposable {
|
|
27
32
|
layout?(xterm: IXtermTerminal & {
|
|
28
33
|
raw: RawXtermTerminal;
|
|
@@ -108,19 +113,65 @@ export interface IDetachedXTermOptions {
|
|
|
108
113
|
readonly?: boolean;
|
|
109
114
|
processInfo: ITerminalProcessInfo;
|
|
110
115
|
}
|
|
116
|
+
/**
|
|
117
|
+
* A generic interface implemented in both the {@link ITerminalInstance} (an
|
|
118
|
+
* interface used for terminals attached to the terminal panel or editor) and
|
|
119
|
+
* {@link IDetachedTerminalInstance} (a terminal used elsewhere in VS Code UI).
|
|
120
|
+
*/
|
|
111
121
|
export interface IBaseTerminalInstance {
|
|
112
122
|
readonly capabilities: ITerminalCapabilityStore;
|
|
123
|
+
/**
|
|
124
|
+
* DOM element the terminal is mounted in.
|
|
125
|
+
*/
|
|
113
126
|
readonly domElement?: HTMLElement;
|
|
127
|
+
/**
|
|
128
|
+
* Current selection in the terminal.
|
|
129
|
+
*/
|
|
114
130
|
readonly selection: string | undefined;
|
|
131
|
+
/**
|
|
132
|
+
* Check if anything is selected in terminal.
|
|
133
|
+
*/
|
|
115
134
|
hasSelection(): boolean;
|
|
135
|
+
/**
|
|
136
|
+
* Clear current selection.
|
|
137
|
+
*/
|
|
116
138
|
clearSelection(): void;
|
|
139
|
+
/**
|
|
140
|
+
* Focuses the terminal instance if it's able to (the xterm.js instance must exist).
|
|
141
|
+
*
|
|
142
|
+
* @param force Force focus even if there is a selection.
|
|
143
|
+
*/
|
|
117
144
|
focus(force?: boolean): void;
|
|
145
|
+
/**
|
|
146
|
+
* Force the scroll bar to be visible until {@link resetScrollbarVisibility} is called.
|
|
147
|
+
*/
|
|
118
148
|
forceScrollbarVisibility(): void;
|
|
149
|
+
/**
|
|
150
|
+
* Resets the scroll bar to only be visible when needed, this does nothing unless
|
|
151
|
+
* {@link forceScrollbarVisibility} was called.
|
|
152
|
+
*/
|
|
119
153
|
resetScrollbarVisibility(): void;
|
|
154
|
+
/**
|
|
155
|
+
* Gets a terminal contribution by its ID.
|
|
156
|
+
*/
|
|
120
157
|
getContribution<T extends ITerminalContribution>(id: string): T | null;
|
|
121
158
|
}
|
|
159
|
+
/**
|
|
160
|
+
* A {@link ITerminalInstance}-like object that emulates a subset of
|
|
161
|
+
* capabilities. This instance is returned from {@link ITerminalService.createDetachedTerminal}
|
|
162
|
+
* to represent terminals that appear in other parts of the VS Code UI outside
|
|
163
|
+
* of the "Terminal" view or editors.
|
|
164
|
+
*/
|
|
122
165
|
export interface IDetachedTerminalInstance extends IDisposable, IBaseTerminalInstance {
|
|
123
166
|
readonly xterm: IDetachedXtermTerminal;
|
|
167
|
+
/**
|
|
168
|
+
* Attached the terminal to the given element. This should be preferred over
|
|
169
|
+
* calling {@link IXtermTerminal.attachToElement} so that extra DOM elements
|
|
170
|
+
* for contributions are initialized.
|
|
171
|
+
*
|
|
172
|
+
* @param container Container the terminal will be rendered in
|
|
173
|
+
* @param options Additional options for mounting the terminal in an element
|
|
174
|
+
*/
|
|
124
175
|
attachToElement(container: HTMLElement, options?: Partial<IXtermAttachToElementOptions>): void;
|
|
125
176
|
}
|
|
126
177
|
export declare const isDetachedTerminalInstance: (t: ITerminalInstance | IDetachedTerminalInstance) => t is IDetachedTerminalInstance;
|
|
@@ -155,16 +206,38 @@ export type ITerminalLocationOptions = TerminalLocation | TerminalEditorLocation
|
|
|
155
206
|
splitActiveTerminal: boolean;
|
|
156
207
|
};
|
|
157
208
|
export interface ICreateTerminalOptions {
|
|
209
|
+
/**
|
|
210
|
+
* The shell launch config or profile to launch with, when not specified the default terminal
|
|
211
|
+
* profile will be used.
|
|
212
|
+
*/
|
|
158
213
|
config?: IShellLaunchConfig | ITerminalProfile | IExtensionTerminalProfile;
|
|
214
|
+
/**
|
|
215
|
+
* The current working directory to start with, this will override IShellLaunchConfig.cwd if
|
|
216
|
+
* specified.
|
|
217
|
+
*/
|
|
159
218
|
cwd?: string | URI;
|
|
219
|
+
/**
|
|
220
|
+
* The terminal's resource, passed when the terminal has moved windows.
|
|
221
|
+
*/
|
|
160
222
|
resource?: URI;
|
|
223
|
+
/**
|
|
224
|
+
* The terminal's location (editor or panel), it's terminal parent (split to the right), or editor group
|
|
225
|
+
*/
|
|
161
226
|
location?: ITerminalLocationOptions;
|
|
227
|
+
/**
|
|
228
|
+
* This terminal will not wait for contributed profiles to resolve which means it will proceed
|
|
229
|
+
* when the workbench is not yet loaded.
|
|
230
|
+
*/
|
|
162
231
|
skipContributedProfileCheck?: boolean;
|
|
163
232
|
}
|
|
164
233
|
export interface TerminalEditorLocation {
|
|
165
234
|
viewColumn: GroupIdentifier | SIDE_GROUP_TYPE | ACTIVE_GROUP_TYPE | AUX_WINDOW_GROUP_TYPE;
|
|
166
235
|
preserveFocus?: boolean;
|
|
167
236
|
}
|
|
237
|
+
/**
|
|
238
|
+
* An interface that indicates the implementer hosts terminal instances, exposing a common set of
|
|
239
|
+
* properties and events.
|
|
240
|
+
*/
|
|
168
241
|
export interface ITerminalInstanceHost {
|
|
169
242
|
readonly activeInstance: ITerminalInstance | undefined;
|
|
170
243
|
readonly instances: readonly ITerminalInstance[];
|
|
@@ -174,27 +247,64 @@ export interface ITerminalInstanceHost {
|
|
|
174
247
|
readonly onDidChangeInstances: Event<void>;
|
|
175
248
|
readonly onDidChangeInstanceCapability: Event<ITerminalInstance>;
|
|
176
249
|
setActiveInstance(instance: ITerminalInstance): void;
|
|
250
|
+
/**
|
|
251
|
+
* Reveal and focus the instance, regardless of its location.
|
|
252
|
+
*/
|
|
177
253
|
focusInstance(instance: ITerminalInstance): void;
|
|
254
|
+
/**
|
|
255
|
+
* Reveal and focus the active instance, regardless of its location.
|
|
256
|
+
*/
|
|
178
257
|
focusActiveInstance(): Promise<void>;
|
|
258
|
+
/**
|
|
259
|
+
* Gets an instance from a resource if it exists. This MUST be used instead of getInstanceFromId
|
|
260
|
+
* when you only know about a terminal's URI. (a URI's instance ID may not be this window's instance ID)
|
|
261
|
+
*/
|
|
179
262
|
getInstanceFromResource(resource: URI | undefined): ITerminalInstance | undefined;
|
|
180
263
|
}
|
|
264
|
+
/**
|
|
265
|
+
* Similar to xterm.js' ILinkProvider but using promises and hides xterm.js internals (like buffer
|
|
266
|
+
* positions, decorations, etc.) from the rest of vscode. This is the interface to use for
|
|
267
|
+
* workbench integrations.
|
|
268
|
+
*/
|
|
181
269
|
export interface ITerminalExternalLinkProvider {
|
|
182
270
|
provideLinks(instance: ITerminalInstance, line: string): Promise<ITerminalLink[] | undefined>;
|
|
183
271
|
}
|
|
184
272
|
export interface ITerminalLink {
|
|
273
|
+
/** The startIndex of the link in the line. */
|
|
185
274
|
startIndex: number;
|
|
275
|
+
/** The length of the link in the line. */
|
|
186
276
|
length: number;
|
|
277
|
+
/** The descriptive label for what the link does when activated. */
|
|
187
278
|
label?: string;
|
|
279
|
+
/**
|
|
280
|
+
* Activates the link.
|
|
281
|
+
* @param text The text of the link.
|
|
282
|
+
*/
|
|
188
283
|
activate(text: string): void;
|
|
189
284
|
}
|
|
190
285
|
export interface ISearchOptions {
|
|
286
|
+
/** Whether the find should be done as a regex. */
|
|
191
287
|
regex?: boolean;
|
|
288
|
+
/** Whether only whole words should match. */
|
|
192
289
|
wholeWord?: boolean;
|
|
290
|
+
/** Whether find should pay attention to case. */
|
|
193
291
|
caseSensitive?: boolean;
|
|
292
|
+
/** Whether the search should start at the current search position (not the next row). */
|
|
194
293
|
incremental?: boolean;
|
|
195
294
|
}
|
|
196
295
|
export interface ITerminalInstance extends IBaseTerminalInstance {
|
|
296
|
+
/**
|
|
297
|
+
* The ID of the terminal instance, this is an arbitrary number only used to uniquely identify
|
|
298
|
+
* terminal instances within a window.
|
|
299
|
+
*/
|
|
197
300
|
readonly instanceId: number;
|
|
301
|
+
/**
|
|
302
|
+
* A unique URI for this terminal instance with the following encoding:
|
|
303
|
+
* path: /<workspace ID>/<instance ID>
|
|
304
|
+
* fragment: Title
|
|
305
|
+
* Note that when dragging terminals across windows, this will retain the original workspace ID /instance ID
|
|
306
|
+
* from the other window.
|
|
307
|
+
*/
|
|
198
308
|
readonly resource: URI;
|
|
199
309
|
readonly cols: number;
|
|
200
310
|
readonly rows: number;
|
|
@@ -218,24 +328,67 @@ export interface ITerminalInstance extends IBaseTerminalInstance {
|
|
|
218
328
|
readonly shellIntegrationInjectionFailureReason: ShellIntegrationInjectionFailureReason | undefined;
|
|
219
329
|
readonly injectedArgs: string[] | undefined;
|
|
220
330
|
readonly extEnvironmentVariableCollection: IMergedEnvironmentVariableCollection | undefined;
|
|
331
|
+
/**
|
|
332
|
+
* The underlying disposable store, allowing objects who share the same lifecycle as the
|
|
333
|
+
* terminal instance but are created externally to be managed by the instance.
|
|
334
|
+
*/
|
|
221
335
|
readonly store: DisposableStore;
|
|
222
336
|
readonly statusList: ITerminalStatusList;
|
|
337
|
+
/**
|
|
338
|
+
* The process ID of the shell process, this is undefined when there is no process associated
|
|
339
|
+
* with this terminal.
|
|
340
|
+
*/
|
|
223
341
|
processId: number | undefined;
|
|
342
|
+
/**
|
|
343
|
+
* The position of the terminal.
|
|
344
|
+
*/
|
|
224
345
|
target: TerminalLocation | undefined;
|
|
225
346
|
targetRef: IReference<TerminalLocation | undefined>;
|
|
347
|
+
/**
|
|
348
|
+
* The id of a persistent process. This is defined if this is a terminal created by a pty host
|
|
349
|
+
* that supports reconnection.
|
|
350
|
+
*/
|
|
226
351
|
readonly persistentProcessId: number | undefined;
|
|
352
|
+
/**
|
|
353
|
+
* Whether the process should be persisted across reloads.
|
|
354
|
+
*/
|
|
227
355
|
readonly shouldPersist: boolean;
|
|
228
356
|
readonly isDisposed: boolean;
|
|
357
|
+
/**
|
|
358
|
+
* Whether the terminal's pty is hosted on a remote.
|
|
359
|
+
*/
|
|
229
360
|
readonly isRemote: boolean;
|
|
361
|
+
/**
|
|
362
|
+
* The remote authority of the terminal's pty.
|
|
363
|
+
*/
|
|
230
364
|
readonly remoteAuthority: string | undefined;
|
|
365
|
+
/**
|
|
366
|
+
* Whether an element within this terminal is focused.
|
|
367
|
+
*/
|
|
231
368
|
readonly hasFocus: boolean;
|
|
369
|
+
/**
|
|
370
|
+
* The ID of the session that this terminal is connected to
|
|
371
|
+
*/
|
|
232
372
|
readonly sessionId: string;
|
|
373
|
+
/**
|
|
374
|
+
* Get or set the behavior of the terminal when it closes. This was indented only to be called
|
|
375
|
+
* after reconnecting to a terminal.
|
|
376
|
+
*/
|
|
233
377
|
waitOnExit: WaitOnExitValue | undefined;
|
|
378
|
+
/**
|
|
379
|
+
* An event that fires when the terminal instance's title changes.
|
|
380
|
+
*/
|
|
234
381
|
onTitleChanged: Event<ITerminalInstance>;
|
|
382
|
+
/**
|
|
383
|
+
* An event that fires when the terminal instance's icon changes.
|
|
384
|
+
*/
|
|
235
385
|
onIconChanged: Event<{
|
|
236
386
|
instance: ITerminalInstance;
|
|
237
387
|
userInitiated: boolean;
|
|
238
388
|
}>;
|
|
389
|
+
/**
|
|
390
|
+
* An event that fires when the terminal instance is disposed.
|
|
391
|
+
*/
|
|
239
392
|
onDisposed: Event<ITerminalInstance>;
|
|
240
393
|
onProcessIdReady: Event<ITerminalInstance>;
|
|
241
394
|
onProcessReplayComplete: Event<void>;
|
|
@@ -253,81 +406,323 @@ export interface ITerminalInstance extends IBaseTerminalInstance {
|
|
|
253
406
|
onDidSendText: Event<string>;
|
|
254
407
|
onDidChangeShellType: Event<TerminalShellType>;
|
|
255
408
|
onDidChangeVisibility: Event<boolean>;
|
|
409
|
+
/**
|
|
410
|
+
* An event that fires when a terminal is dropped on this instance via drag and drop.
|
|
411
|
+
*/
|
|
256
412
|
onRequestAddInstanceToGroup: Event<IRequestAddInstanceToGroupEvent>;
|
|
413
|
+
/**
|
|
414
|
+
* Attach a listener to the raw data stream coming from the pty, including ANSI escape
|
|
415
|
+
* sequences.
|
|
416
|
+
*/
|
|
257
417
|
onData: Event<string>;
|
|
258
418
|
onWillData: Event<string>;
|
|
419
|
+
/**
|
|
420
|
+
* Attach a listener to the binary data stream coming from xterm and going to pty
|
|
421
|
+
*/
|
|
259
422
|
onBinary: Event<string>;
|
|
423
|
+
/**
|
|
424
|
+
* Attach a listener to listen for new lines added to this terminal instance.
|
|
425
|
+
*
|
|
426
|
+
* @param listener The listener function which takes new line strings added to the terminal,
|
|
427
|
+
* excluding ANSI escape sequences. The line event will fire when an LF character is added to
|
|
428
|
+
* the terminal (ie. the line is not wrapped). Note that this means that the line data will
|
|
429
|
+
* not fire for the last line, until either the line is ended with a LF character of the process
|
|
430
|
+
* is exited. The lineData string will contain the fully wrapped line, not containing any LF/CR
|
|
431
|
+
* characters.
|
|
432
|
+
*/
|
|
260
433
|
onLineData: Event<string>;
|
|
434
|
+
/**
|
|
435
|
+
* Attach a listener that fires when the terminal's pty process exits. The number in the event
|
|
436
|
+
* is the processes' exit code, an exit code of undefined means the process was killed as a result of
|
|
437
|
+
* the ITerminalInstance being disposed.
|
|
438
|
+
*/
|
|
261
439
|
onExit: Event<number | ITerminalLaunchError | undefined>;
|
|
440
|
+
/**
|
|
441
|
+
* The exit code or undefined when the terminal process hasn't yet exited or
|
|
442
|
+
* the process exit code could not be determined. Use {@link exitReason} to see
|
|
443
|
+
* why the process has exited.
|
|
444
|
+
*/
|
|
262
445
|
readonly exitCode: number | undefined;
|
|
446
|
+
/**
|
|
447
|
+
* The reason the terminal process exited, this will be undefined if the process is still
|
|
448
|
+
* running.
|
|
449
|
+
*/
|
|
263
450
|
readonly exitReason: TerminalExitReason | undefined;
|
|
451
|
+
/**
|
|
452
|
+
* The xterm.js instance for this terminal.
|
|
453
|
+
*/
|
|
264
454
|
readonly xterm?: XtermTerminal;
|
|
455
|
+
/**
|
|
456
|
+
* Resolves when the xterm.js instance for this terminal is ready.
|
|
457
|
+
*/
|
|
265
458
|
readonly xtermReadyPromise: Promise<XtermTerminal | undefined>;
|
|
459
|
+
/**
|
|
460
|
+
* Returns an array of data events that have fired within the first 10 seconds. If this is
|
|
461
|
+
* called 10 seconds after the terminal has existed the result will be undefined. This is useful
|
|
462
|
+
* when objects that depend on the data events have delayed initialization, like extension
|
|
463
|
+
* hosts.
|
|
464
|
+
*/
|
|
266
465
|
readonly initialDataEvents: string[] | undefined;
|
|
466
|
+
/** A promise that resolves when the terminal's pty/process have been created. */
|
|
267
467
|
readonly processReady: Promise<void>;
|
|
468
|
+
/** Whether the terminal's process has child processes (ie. is dirty/busy). */
|
|
268
469
|
readonly hasChildProcesses: boolean;
|
|
470
|
+
/**
|
|
471
|
+
* The title of the terminal. This is either title or the process currently running or an
|
|
472
|
+
* explicit name given to the terminal instance through the extension API.
|
|
473
|
+
*/
|
|
269
474
|
readonly title: string;
|
|
475
|
+
/**
|
|
476
|
+
* How the current title was set.
|
|
477
|
+
*/
|
|
270
478
|
readonly titleSource: TitleEventSource;
|
|
479
|
+
/**
|
|
480
|
+
* The shell type of the terminal.
|
|
481
|
+
*/
|
|
271
482
|
readonly shellType: TerminalShellType | undefined;
|
|
483
|
+
/**
|
|
484
|
+
* The focus state of the terminal before exiting.
|
|
485
|
+
*/
|
|
272
486
|
readonly hadFocusOnExit: boolean;
|
|
487
|
+
/**
|
|
488
|
+
* False when the title is set by an API or the user. We check this to make sure we
|
|
489
|
+
* do not override the title when the process title changes in the terminal.
|
|
490
|
+
*/
|
|
273
491
|
isTitleSetByProcess: boolean;
|
|
492
|
+
/**
|
|
493
|
+
* The shell launch config used to launch the shell.
|
|
494
|
+
*/
|
|
274
495
|
readonly shellLaunchConfig: IShellLaunchConfig;
|
|
496
|
+
/**
|
|
497
|
+
* Whether to disable layout for the terminal. This is useful when the size of the terminal is
|
|
498
|
+
* being manipulating (e.g. adding a split pane) and we want the terminal to ignore particular
|
|
499
|
+
* resize events.
|
|
500
|
+
*/
|
|
275
501
|
disableLayout: boolean;
|
|
502
|
+
/**
|
|
503
|
+
* The description of the terminal, this is typically displayed next to {@link title}.
|
|
504
|
+
*/
|
|
276
505
|
description: string | undefined;
|
|
506
|
+
/**
|
|
507
|
+
* The remote-aware $HOME directory (or Windows equivalent) of the terminal.
|
|
508
|
+
*/
|
|
277
509
|
userHome: string | undefined;
|
|
510
|
+
/**
|
|
511
|
+
* The nonce used to verify commands coming from shell integration.
|
|
512
|
+
*/
|
|
278
513
|
shellIntegrationNonce: string;
|
|
514
|
+
/**
|
|
515
|
+
* Registers and returns a marker
|
|
516
|
+
* @param the y offset from the cursor
|
|
517
|
+
*/
|
|
279
518
|
registerMarker(offset?: number): IMarker | undefined;
|
|
519
|
+
/**
|
|
520
|
+
* Adds a marker to the buffer, mapping it to an ID if provided.
|
|
521
|
+
*/
|
|
280
522
|
addBufferMarker(properties: IMarkProperties): void;
|
|
523
|
+
/**
|
|
524
|
+
*
|
|
525
|
+
* @param startMarkId The ID for the start marker
|
|
526
|
+
* @param endMarkId The ID for the end marker
|
|
527
|
+
* @param highlight Whether the buffer from startMarker to endMarker
|
|
528
|
+
* should be highlighted
|
|
529
|
+
*/
|
|
281
530
|
scrollToMark(startMarkId: string, endMarkId?: string, highlight?: boolean): void;
|
|
531
|
+
/**
|
|
532
|
+
* Dispose the terminal instance, removing it from the panel/service and freeing up resources.
|
|
533
|
+
*
|
|
534
|
+
* @param reason The reason why the terminal is being disposed
|
|
535
|
+
*/
|
|
282
536
|
dispose(reason?: TerminalExitReason): void;
|
|
537
|
+
/**
|
|
538
|
+
* Informs the process that the terminal is now detached and
|
|
539
|
+
* then disposes the terminal.
|
|
540
|
+
*
|
|
541
|
+
* @param reason The reason why the terminal is being disposed
|
|
542
|
+
*/
|
|
283
543
|
detachProcessAndDispose(reason: TerminalExitReason): Promise<void>;
|
|
544
|
+
/**
|
|
545
|
+
* When the panel is hidden or a terminal in the editor area becomes inactive, reset the focus context key
|
|
546
|
+
* to avoid issues like #147180.
|
|
547
|
+
*/
|
|
284
548
|
resetFocusContextKey(): void;
|
|
549
|
+
/**
|
|
550
|
+
* Focuses the terminal instance when it's ready (the xterm.js instance much exist). This is the
|
|
551
|
+
* best focus call when the terminal is being shown for example.
|
|
552
|
+
* when the terminal is being shown.
|
|
553
|
+
*
|
|
554
|
+
* @param force Force focus even if there is a selection.
|
|
555
|
+
*/
|
|
285
556
|
focusWhenReady(force?: boolean): Promise<void>;
|
|
557
|
+
/**
|
|
558
|
+
* Send text to the terminal instance. The text is written to the stdin of the underlying pty
|
|
559
|
+
* process (shell) of the terminal instance.
|
|
560
|
+
*
|
|
561
|
+
* @param text The text to send.
|
|
562
|
+
* @param shouldExecute Indicates that the text being sent should be executed rather than just inserted in the terminal.
|
|
563
|
+
* The character(s) added are \n or \r\n, depending on the platform. This defaults to `true`.
|
|
564
|
+
* @param bracketedPasteMode Whether to wrap the text in the bracketed paste mode sequence when
|
|
565
|
+
* it's enabled. When true, the shell will treat the text as if it were pasted into the shell,
|
|
566
|
+
* this may for example select the text and it will also ensure that the text will not be
|
|
567
|
+
* interpreted as a shell keybinding.
|
|
568
|
+
*/
|
|
286
569
|
sendText(text: string, shouldExecute: boolean, bracketedPasteMode?: boolean): Promise<void>;
|
|
570
|
+
/**
|
|
571
|
+
* Sends a signal to the terminal instance's process.
|
|
572
|
+
*
|
|
573
|
+
* @param signal The signal to send (e.g., 'SIGTERM', 'SIGINT', 'SIGKILL').
|
|
574
|
+
*/
|
|
287
575
|
sendSignal(signal: string): Promise<void>;
|
|
576
|
+
/**
|
|
577
|
+
* Sends a path to the terminal instance, preparing it as needed based on the detected shell
|
|
578
|
+
* running within the terminal. The text is written to the stdin of the underlying pty process
|
|
579
|
+
* (shell) of the terminal instance.
|
|
580
|
+
*
|
|
581
|
+
* @param originalPath The path to send.
|
|
582
|
+
* @param shouldExecute Indicates that the text being sent should be executed rather than just inserted in the terminal.
|
|
583
|
+
* The character(s) added are \n or \r\n, depending on the platform. This defaults to `true`.
|
|
584
|
+
*/
|
|
288
585
|
sendPath(originalPath: string | URI, shouldExecute: boolean): Promise<void>;
|
|
289
586
|
runCommand(command: string, shouldExecute?: boolean): Promise<void>;
|
|
587
|
+
/**
|
|
588
|
+
* Takes a path and returns the properly escaped path to send to a given shell. On Windows, this
|
|
589
|
+
* includes trying to prepare the path for WSL if needed.
|
|
590
|
+
*
|
|
591
|
+
* @param originalPath The path to be escaped and formatted.
|
|
592
|
+
*/
|
|
290
593
|
preparePathForShell(originalPath: string): Promise<string>;
|
|
291
|
-
scrollDownLine(): void;
|
|
292
|
-
scrollDownPage(): void;
|
|
293
|
-
scrollToBottom(): void;
|
|
294
|
-
scrollUpLine(): void;
|
|
295
|
-
scrollUpPage(): void;
|
|
296
|
-
scrollToTop(): void;
|
|
594
|
+
/** Scroll the terminal buffer down 1 line. */ scrollDownLine(): void;
|
|
595
|
+
/** Scroll the terminal buffer down 1 page. */ scrollDownPage(): void;
|
|
596
|
+
/** Scroll the terminal buffer to the bottom. */ scrollToBottom(): void;
|
|
597
|
+
/** Scroll the terminal buffer up 1 line. */ scrollUpLine(): void;
|
|
598
|
+
/** Scroll the terminal buffer up 1 page. */ scrollUpPage(): void;
|
|
599
|
+
/** Scroll the terminal buffer to the top. */ scrollToTop(): void;
|
|
600
|
+
/**
|
|
601
|
+
* Clears the terminal buffer, leaving only the prompt line and moving it to the top of the
|
|
602
|
+
* viewport.
|
|
603
|
+
*/
|
|
297
604
|
clearBuffer(): void;
|
|
605
|
+
/**
|
|
606
|
+
* Attaches the terminal instance to an element on the DOM, before this is called the terminal
|
|
607
|
+
* instance process may run in the background but cannot be displayed on the UI.
|
|
608
|
+
*
|
|
609
|
+
* @param container The element to attach the terminal instance to.
|
|
610
|
+
*/
|
|
298
611
|
attachToElement(container: HTMLElement): void;
|
|
612
|
+
/**
|
|
613
|
+
* Detaches the terminal instance from the terminal editor DOM element.
|
|
614
|
+
*/
|
|
299
615
|
detachFromElement(): void;
|
|
616
|
+
/**
|
|
617
|
+
* Layout the terminal instance.
|
|
618
|
+
*
|
|
619
|
+
* @param dimension The dimensions of the container.
|
|
620
|
+
*/
|
|
300
621
|
layout(dimension: {
|
|
301
622
|
width: number;
|
|
302
623
|
height: number;
|
|
303
624
|
}): void;
|
|
625
|
+
/**
|
|
626
|
+
* Sets whether the terminal instance's element is visible in the DOM.
|
|
627
|
+
*
|
|
628
|
+
* @param visible Whether the element is visible.
|
|
629
|
+
*/
|
|
304
630
|
setVisible(visible: boolean): void;
|
|
631
|
+
/**
|
|
632
|
+
* Immediately kills the terminal's current pty process and launches a new one to replace it.
|
|
633
|
+
*
|
|
634
|
+
* @param shell The new launch configuration.
|
|
635
|
+
*/
|
|
305
636
|
reuseTerminal(shell: IShellLaunchConfig): Promise<void>;
|
|
637
|
+
/**
|
|
638
|
+
* Relaunches the terminal, killing it and reusing the launch config used initially. Any
|
|
639
|
+
* environment variable changes will be recalculated when this happens.
|
|
640
|
+
*/
|
|
306
641
|
relaunch(): void;
|
|
642
|
+
/**
|
|
643
|
+
* Sets the terminal instance's dimensions to the values provided via the onDidOverrideDimensions event,
|
|
644
|
+
* which allows overriding the regular dimensions (fit to the size of the panel).
|
|
645
|
+
*/
|
|
307
646
|
setOverrideDimensions(dimensions: ITerminalDimensions): void;
|
|
647
|
+
/**
|
|
648
|
+
* Sets the terminal instance's dimensions to the values provided via quick input.
|
|
649
|
+
*/
|
|
308
650
|
setFixedDimensions(): Promise<void>;
|
|
651
|
+
/**
|
|
652
|
+
* Toggles terminal line wrapping.
|
|
653
|
+
*/
|
|
309
654
|
toggleSizeToContentWidth(): Promise<void>;
|
|
655
|
+
/**
|
|
656
|
+
* Gets the initial current working directory, fetching it from the backend if required.
|
|
657
|
+
*/
|
|
310
658
|
getInitialCwd(): Promise<string>;
|
|
659
|
+
/**
|
|
660
|
+
* Gets the current working directory from cwd detection capabilities if available, otherwise
|
|
661
|
+
* from the backend. This will return the initial cwd if cwd detection is not available (ie.
|
|
662
|
+
* on Windows when shell integration is disabled).
|
|
663
|
+
*/
|
|
311
664
|
getSpeculativeCwd(): Promise<string>;
|
|
665
|
+
/**
|
|
666
|
+
* Gets the cwd as a URI that has been validated to exist.
|
|
667
|
+
*/
|
|
312
668
|
getCwdResource(): Promise<URI | undefined>;
|
|
669
|
+
/**
|
|
670
|
+
* Sets the title of the terminal to the provided string. If no title is provided, it will reset
|
|
671
|
+
* to the terminal's title if it was not explicitly set by the user or API.
|
|
672
|
+
* @param title The new title.
|
|
673
|
+
*/
|
|
313
674
|
rename(title?: string): Promise<void>;
|
|
675
|
+
/**
|
|
676
|
+
* Sets or triggers a quick pick to change the icon of this terminal.
|
|
677
|
+
*/
|
|
314
678
|
changeIcon(icon?: TerminalIcon): Promise<TerminalIcon | undefined>;
|
|
679
|
+
/**
|
|
680
|
+
* Sets or triggers a quick pick to change the color of the associated terminal tab icon.
|
|
681
|
+
*/
|
|
315
682
|
changeColor(color?: string, skipQuickPick?: boolean): Promise<string | undefined>;
|
|
683
|
+
/**
|
|
684
|
+
* Attempts to detect and kill the process listening on specified port.
|
|
685
|
+
* If successful, places commandToRun on the command line
|
|
686
|
+
*/
|
|
316
687
|
freePortKillProcess(port: string, commandToRun: string): Promise<void>;
|
|
688
|
+
/**
|
|
689
|
+
* Update the parent context key service to use for this terminal instance.
|
|
690
|
+
*/
|
|
317
691
|
setParentContextKeyService(parentContextKeyService: IContextKeyService): void;
|
|
692
|
+
/**
|
|
693
|
+
* Handles a mouse event for the terminal, this may happen on an anscestor of the terminal
|
|
694
|
+
* instance's element.
|
|
695
|
+
* @param event The mouse event.
|
|
696
|
+
* @param contextMenu The context menu to show if needed.
|
|
697
|
+
* @returns Whether the context menu should be suppressed.
|
|
698
|
+
*/
|
|
318
699
|
handleMouseEvent(event: MouseEvent, contextMenu: IMenu): Promise<{
|
|
319
700
|
cancelContextMenu: boolean;
|
|
320
701
|
} | void>;
|
|
702
|
+
/**
|
|
703
|
+
* Pause input events until the provided barrier is resolved.
|
|
704
|
+
* @param barrier The barrier to wait for until input events can continue.
|
|
705
|
+
*/
|
|
321
706
|
pauseInputEvents(barrier: Barrier): void;
|
|
322
707
|
}
|
|
323
708
|
export declare enum XtermTerminalConstants {
|
|
324
709
|
SearchHighlightLimit = 20000
|
|
325
710
|
}
|
|
326
711
|
export interface IXtermAttachToElementOptions {
|
|
712
|
+
/**
|
|
713
|
+
* Whether GPU rendering should be enabled for this element, defaults to true.
|
|
714
|
+
*/
|
|
327
715
|
enableGpu: boolean;
|
|
328
716
|
}
|
|
329
717
|
export interface IXtermTerminal extends IDisposable {
|
|
718
|
+
/**
|
|
719
|
+
* An object that tracks when commands are run and enables navigating and selecting between
|
|
720
|
+
* them.
|
|
721
|
+
*/
|
|
330
722
|
readonly markTracker: IMarkTracker;
|
|
723
|
+
/**
|
|
724
|
+
* Reports the status of shell integration and fires events relating to it.
|
|
725
|
+
*/
|
|
331
726
|
readonly shellIntegration: IShellIntegration;
|
|
332
727
|
readonly decorationAddon: IDecorationAddon;
|
|
333
728
|
readonly onDidChangeSelection: Event<void>;
|
|
@@ -342,48 +737,148 @@ export interface IXtermTerminal extends IDisposable {
|
|
|
342
737
|
readonly onDidRequestCopyAsHtml: Event<{
|
|
343
738
|
command: ITerminalCommand;
|
|
344
739
|
}>;
|
|
740
|
+
/**
|
|
741
|
+
* Event fired when focus enters (fires with true) or leaves (false) the terminal.
|
|
742
|
+
*/
|
|
345
743
|
readonly onDidChangeFocus: Event<boolean>;
|
|
744
|
+
/**
|
|
745
|
+
* Gets a view of the current texture atlas used by the renderers.
|
|
746
|
+
*/
|
|
346
747
|
readonly textureAtlas: Promise<ImageBitmap> | undefined;
|
|
748
|
+
/**
|
|
749
|
+
* Whether the `disableStdin` option in xterm.js is set.
|
|
750
|
+
*/
|
|
347
751
|
readonly isStdinDisabled: boolean;
|
|
752
|
+
/**
|
|
753
|
+
* Whether the terminal is currently focused.
|
|
754
|
+
*/
|
|
348
755
|
readonly isFocused: boolean;
|
|
756
|
+
/**
|
|
757
|
+
* Whether a canvas-based renderer is being used.
|
|
758
|
+
*/
|
|
349
759
|
readonly isGpuAccelerated: boolean;
|
|
760
|
+
/**
|
|
761
|
+
* The last `onData` input event fired by {@link RawXtermTerminal.onData}.
|
|
762
|
+
*/
|
|
350
763
|
readonly lastInputEvent: string | undefined;
|
|
764
|
+
/**
|
|
765
|
+
* Attached the terminal to the given element
|
|
766
|
+
* @param container Container the terminal will be rendered in
|
|
767
|
+
* @param options Additional options for mounting the terminal in an element
|
|
768
|
+
*/
|
|
351
769
|
attachToElement(container: HTMLElement, options?: Partial<IXtermAttachToElementOptions>): void;
|
|
352
770
|
findResult?: {
|
|
353
771
|
resultIndex: number;
|
|
354
772
|
resultCount: number;
|
|
355
773
|
};
|
|
774
|
+
/**
|
|
775
|
+
* Find the next instance of the term
|
|
776
|
+
*/
|
|
356
777
|
findNext(term: string, searchOptions: ISearchOptions): Promise<boolean>;
|
|
778
|
+
/**
|
|
779
|
+
* Find the previous instance of the term
|
|
780
|
+
*/
|
|
357
781
|
findPrevious(term: string, searchOptions: ISearchOptions): Promise<boolean>;
|
|
782
|
+
/**
|
|
783
|
+
* Forces the terminal to redraw its viewport.
|
|
784
|
+
*/
|
|
358
785
|
forceRedraw(): void;
|
|
786
|
+
/**
|
|
787
|
+
* Gets the font metrics of this xterm.js instance.
|
|
788
|
+
*/
|
|
359
789
|
getFont(): ITerminalFont;
|
|
790
|
+
/**
|
|
791
|
+
* Gets whether there's any terminal selection.
|
|
792
|
+
*/
|
|
360
793
|
hasSelection(): boolean;
|
|
794
|
+
/**
|
|
795
|
+
* Clears any terminal selection.
|
|
796
|
+
*/
|
|
361
797
|
clearSelection(): void;
|
|
798
|
+
/**
|
|
799
|
+
* Selects all terminal contents/
|
|
800
|
+
*/
|
|
362
801
|
selectAll(): void;
|
|
802
|
+
/**
|
|
803
|
+
* Selects the content between the two markers by their VS Code OSC `SetMarker`
|
|
804
|
+
* ID. It's a no-op if either of the two markers are not found.
|
|
805
|
+
*
|
|
806
|
+
* @param fromMarkerId Start marker ID
|
|
807
|
+
* @param toMarkerId End marker ID
|
|
808
|
+
* @param scrollIntoView Whether the terminal should scroll to the start of
|
|
809
|
+
* the range, defaults tof alse
|
|
810
|
+
*/
|
|
363
811
|
selectMarkedRange(fromMarkerId: string, toMarkerId: string, scrollIntoView?: boolean): void;
|
|
812
|
+
/**
|
|
813
|
+
* Copies the terminal selection.
|
|
814
|
+
* @param copyAsHtml Whether to copy selection as HTML, defaults to false.
|
|
815
|
+
*/
|
|
364
816
|
copySelection(copyAsHtml?: boolean, command?: ITerminalCommand): void;
|
|
817
|
+
/**
|
|
818
|
+
* Focuses the terminal. Warning: {@link ITerminalInstance.focus} should be
|
|
819
|
+
* preferred when dealing with terminal instances in order to get
|
|
820
|
+
* accessibility triggers.
|
|
821
|
+
*/
|
|
365
822
|
focus(): void;
|
|
366
|
-
scrollDownLine(): void;
|
|
367
|
-
scrollDownPage(): void;
|
|
368
|
-
scrollToBottom(): void;
|
|
369
|
-
scrollUpLine(): void;
|
|
370
|
-
scrollUpPage(): void;
|
|
371
|
-
scrollToTop(): void;
|
|
372
|
-
scrollToLine(line: number, position?: ScrollPosition): void;
|
|
823
|
+
/** Scroll the terminal buffer down 1 line. */ scrollDownLine(): void;
|
|
824
|
+
/** Scroll the terminal buffer down 1 page. */ scrollDownPage(): void;
|
|
825
|
+
/** Scroll the terminal buffer to the bottom. */ scrollToBottom(): void;
|
|
826
|
+
/** Scroll the terminal buffer up 1 line. */ scrollUpLine(): void;
|
|
827
|
+
/** Scroll the terminal buffer up 1 page. */ scrollUpPage(): void;
|
|
828
|
+
/** Scroll the terminal buffer to the top. */ scrollToTop(): void;
|
|
829
|
+
/** Scroll the terminal buffer to a set line */ scrollToLine(line: number, position?: ScrollPosition): void;
|
|
830
|
+
/**
|
|
831
|
+
* Clears the terminal buffer, leaving only the prompt line and moving it to the top of the
|
|
832
|
+
* viewport.
|
|
833
|
+
*/
|
|
373
834
|
clearBuffer(): void;
|
|
835
|
+
/**
|
|
836
|
+
* Clears the search result decorations
|
|
837
|
+
*/
|
|
374
838
|
clearSearchDecorations(): void;
|
|
839
|
+
/**
|
|
840
|
+
* Clears the active search result decorations
|
|
841
|
+
*/
|
|
375
842
|
clearActiveSearchDecoration(): void;
|
|
843
|
+
/**
|
|
844
|
+
* Returns a reverse iterator of buffer lines as strings
|
|
845
|
+
*/
|
|
376
846
|
getBufferReverseIterator(): IterableIterator<string>;
|
|
847
|
+
/**
|
|
848
|
+
* Gets the contents of the buffer from a start marker (or line 0) to the end marker (or the
|
|
849
|
+
* last line).
|
|
850
|
+
*/
|
|
377
851
|
getContentsAsText(startMarker?: IXtermMarker, endMarker?: IXtermMarker): string;
|
|
852
|
+
/**
|
|
853
|
+
* Gets the buffer contents as HTML.
|
|
854
|
+
*/
|
|
378
855
|
getContentsAsHtml(): Promise<string>;
|
|
856
|
+
/**
|
|
857
|
+
* Refreshes the terminal after it has been moved.
|
|
858
|
+
*/
|
|
379
859
|
refresh(): void;
|
|
380
860
|
getXtermTheme(theme?: IColorTheme): ITheme;
|
|
381
861
|
}
|
|
382
862
|
export interface IDetachedXtermTerminal extends IXtermTerminal {
|
|
863
|
+
/**
|
|
864
|
+
* Writes data to the terminal.
|
|
865
|
+
* @param data data to write
|
|
866
|
+
* @param callback Optional callback that fires when the data was processed
|
|
867
|
+
* by the parser.
|
|
868
|
+
*/
|
|
383
869
|
write(data: string | Uint8Array, callback?: () => void): void;
|
|
870
|
+
/**
|
|
871
|
+
* Resizes the terminal.
|
|
872
|
+
*/
|
|
384
873
|
resize(columns: number, rows: number): void;
|
|
385
874
|
}
|
|
386
875
|
export interface IInternalXtermTerminal {
|
|
876
|
+
/**
|
|
877
|
+
* Writes text directly to the terminal, bypassing the process.
|
|
878
|
+
*
|
|
879
|
+
* **WARNING:** This should never be used outside of the terminal component and only for
|
|
880
|
+
* developer purposed inside the terminal component.
|
|
881
|
+
*/
|
|
387
882
|
_writeText(data: string): void;
|
|
388
883
|
}
|
|
389
884
|
export interface IXtermColorProvider {
|