@codingame/monaco-vscode-api 20.1.1 → 20.2.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +8 -8
- package/services.js +3 -3
- package/vscode/src/vs/base/browser/browser.d.ts +2 -0
- package/vscode/src/vs/base/browser/canIUse.d.ts +3 -0
- package/vscode/src/vs/base/browser/contextmenu.d.ts +14 -0
- package/vscode/src/vs/base/browser/cssValue.d.ts +8 -0
- package/vscode/src/vs/base/browser/dnd.d.ts +21 -0
- package/vscode/src/vs/base/browser/dom.d.ts +178 -0
- package/vscode/src/vs/base/browser/domSanitize.d.ts +26 -0
- package/vscode/src/vs/base/browser/domStylesheets.d.ts +3 -0
- package/vscode/src/vs/base/browser/dompurify/dompurify.d.ts +19 -0
- package/vscode/src/vs/base/browser/fonts.d.ts +8 -0
- package/vscode/src/vs/base/browser/iframe.d.ts +10 -0
- package/vscode/src/vs/base/browser/keyboardEvent.d.ts +3 -0
- package/vscode/src/vs/base/browser/markdownRenderer.d.ts +18 -0
- package/vscode/src/vs/base/browser/performance.d.ts +22 -0
- package/vscode/src/vs/base/browser/pixelRatio.d.ts +7 -0
- package/vscode/src/vs/base/browser/ui/actionbar/actionbar.css +29 -2
- package/vscode/src/vs/base/browser/ui/actionbar/actionbar.d.ts +5 -0
- package/vscode/src/vs/base/browser/ui/aria/aria.css +6 -1
- package/vscode/src/vs/base/browser/ui/aria/aria.d.ts +6 -0
- package/vscode/src/vs/base/browser/ui/button/button.css +36 -1
- package/vscode/src/vs/base/browser/ui/button/button.d.ts +9 -0
- package/vscode/src/vs/base/browser/ui/codicons/codicon/codicon-modifiers.css +11 -0
- package/vscode/src/vs/base/browser/ui/codicons/codicon/codicon.css +8 -0
- package/vscode/src/vs/base/browser/ui/contextview/contextview.css +6 -0
- package/vscode/src/vs/base/browser/ui/contextview/contextview.d.ts +14 -0
- package/vscode/src/vs/base/browser/ui/countBadge/countBadge.css +6 -0
- package/vscode/src/vs/base/browser/ui/dnd/dnd.css +12 -0
- package/vscode/src/vs/base/browser/ui/dropdown/dropdown.css +11 -0
- package/vscode/src/vs/base/browser/ui/findinput/findInput.css +20 -0
- package/vscode/src/vs/base/browser/ui/highlightedlabel/highlightedLabel.d.ts +27 -0
- package/vscode/src/vs/base/browser/ui/hover/hover.d.ts +258 -0
- package/vscode/src/vs/base/browser/ui/hover/hoverDelegate.d.ts +37 -0
- package/vscode/src/vs/base/browser/ui/hover/hoverDelegate2.d.ts +10 -0
- package/vscode/src/vs/base/browser/ui/hover/hoverWidget.css +54 -0
- package/vscode/src/vs/base/browser/ui/iconLabel/iconlabel.css +34 -6
- package/vscode/src/vs/base/browser/ui/inputbox/inputBox.css +27 -2
- package/vscode/src/vs/base/browser/ui/keybindingLabel/keybindingLabel.css +10 -0
- package/vscode/src/vs/base/browser/ui/keybindingLabel/keybindingLabel.d.ts +3 -0
- package/vscode/src/vs/base/browser/ui/list/list.css +21 -0
- package/vscode/src/vs/base/browser/ui/list/list.d.ts +9 -0
- package/vscode/src/vs/base/browser/ui/list/listView.d.ts +17 -3
- package/vscode/src/vs/base/browser/ui/list/listWidget.d.ts +26 -0
- package/vscode/src/vs/base/browser/ui/list/rangeMap.d.ts +29 -0
- package/vscode/src/vs/base/browser/ui/list/rowCache.d.ts +12 -0
- package/vscode/src/vs/base/browser/ui/mouseCursor/mouseCursor.css +5 -0
- package/vscode/src/vs/base/browser/ui/progressbar/progressbar.css +29 -1
- package/vscode/src/vs/base/browser/ui/progressbar/progressbar.d.ts +33 -0
- package/vscode/src/vs/base/browser/ui/sash/sash.css +31 -0
- package/vscode/src/vs/base/browser/ui/sash/sash.d.ts +125 -0
- package/vscode/src/vs/base/browser/ui/scrollbar/abstractScrollbar.d.ts +6 -0
- package/vscode/src/vs/base/browser/ui/scrollbar/media/scrollbars.css +16 -0
- package/vscode/src/vs/base/browser/ui/scrollbar/scrollableElement.d.ts +22 -0
- package/vscode/src/vs/base/browser/ui/scrollbar/scrollableElementOptions.d.ts +98 -0
- package/vscode/src/vs/base/browser/ui/scrollbar/scrollbarArrow.d.ts +3 -0
- package/vscode/src/vs/base/browser/ui/scrollbar/scrollbarState.d.ts +43 -0
- package/vscode/src/vs/base/browser/ui/selectBox/selectBox.css +11 -0
- package/vscode/src/vs/base/browser/ui/selectBox/selectBoxCustom.css +29 -1
- package/vscode/src/vs/base/browser/ui/severityIcon/media/severityIcon.css +7 -0
- package/vscode/src/vs/base/browser/ui/splitview/splitview.css +16 -0
- package/vscode/src/vs/base/browser/ui/splitview/splitview.d.ts +289 -0
- package/vscode/src/vs/base/browser/ui/table/table.css +12 -0
- package/vscode/src/vs/base/browser/ui/toggle/toggle.css +14 -0
- package/vscode/src/vs/base/browser/ui/toolbar/toolbar.css +6 -0
- package/vscode/src/vs/base/browser/ui/toolbar/toolbar.d.ts +12 -0
- package/vscode/src/vs/base/browser/ui/tree/abstractTree.d.ts +12 -0
- package/vscode/src/vs/base/browser/ui/tree/asyncDataTree.d.ts +19 -0
- package/vscode/src/vs/base/browser/ui/tree/indexTreeModel.d.ts +18 -0
- package/vscode/src/vs/base/browser/ui/tree/media/tree.css +38 -3
- package/vscode/src/vs/base/browser/ui/tree/objectTree.d.ts +12 -0
- package/vscode/src/vs/base/browser/ui/tree/tree.d.ts +43 -0
- package/vscode/src/vs/base/common/actions.d.ts +3 -0
- package/vscode/src/vs/base/common/arrays.d.ts +193 -1
- package/vscode/src/vs/base/common/arraysFind.d.ts +46 -0
- package/vscode/src/vs/base/common/assert.d.ts +28 -0
- package/vscode/src/vs/base/common/async.d.ts +361 -0
- package/vscode/src/vs/base/common/buffer.d.ts +31 -0
- package/vscode/src/vs/base/common/cache.d.ts +11 -0
- package/vscode/src/vs/base/common/cancellation.d.ts +11 -0
- package/vscode/src/vs/base/common/charCode.d.ts +319 -186
- package/vscode/src/vs/base/common/codicons.d.ts +14 -0
- package/vscode/src/vs/base/common/codiconsUtil.d.ts +3 -0
- package/vscode/src/vs/base/common/collections.d.ts +19 -0
- package/vscode/src/vs/base/common/color.d.ts +115 -0
- package/vscode/src/vs/base/common/comparers.d.ts +10 -0
- package/vscode/src/vs/base/common/dataTransfer.d.ts +38 -0
- package/vscode/src/vs/base/common/date.d.ts +15 -0
- package/vscode/src/vs/base/common/diff/diff.d.ts +90 -0
- package/vscode/src/vs/base/common/diff/diffChange.d.ts +29 -0
- package/vscode/src/vs/base/common/equals.d.ts +26 -0
- package/vscode/src/vs/base/common/errorMessage.d.ts +6 -0
- package/vscode/src/vs/base/common/errors.d.ts +26 -0
- package/vscode/src/vs/base/common/event.d.ts +356 -0
- package/vscode/src/vs/base/common/extpath.d.ts +34 -0
- package/vscode/src/vs/base/common/filters.d.ts +22 -0
- package/vscode/src/vs/base/common/functional.d.ts +3 -0
- package/vscode/src/vs/base/common/glob.d.ts +39 -0
- package/vscode/src/vs/base/common/hash.d.ts +12 -0
- package/vscode/src/vs/base/common/history.d.ts +7 -0
- package/vscode/src/vs/base/common/hotReload.d.ts +6 -0
- package/vscode/src/vs/base/common/htmlContent.d.ts +3 -0
- package/vscode/src/vs/base/common/iconLabels.d.ts +9 -0
- package/vscode/src/vs/base/common/ime.d.ts +6 -0
- package/vscode/src/vs/base/common/iterator.d.ts +7 -0
- package/vscode/src/vs/base/common/json.d.ts +98 -0
- package/vscode/src/vs/base/common/jsonSchema.d.ts +5 -0
- package/vscode/src/vs/base/common/keyCodes.d.ts +95 -18
- package/vscode/src/vs/base/common/keybindingLabels.d.ts +13 -0
- package/vscode/src/vs/base/common/keybindings.d.ts +54 -0
- package/vscode/src/vs/base/common/labels.d.ts +41 -0
- package/vscode/src/vs/base/common/lazy.d.ts +12 -0
- package/vscode/src/vs/base/common/lifecycle.d.ts +126 -0
- package/vscode/src/vs/base/common/map.d.ts +33 -0
- package/vscode/src/vs/base/common/marked/marked.d.ts +137 -0
- package/vscode/src/vs/base/common/naturalLanguage/korean.d.ts +8 -0
- package/vscode/src/vs/base/common/network.d.ts +85 -0
- package/vscode/src/vs/base/common/numbers.d.ts +45 -0
- package/vscode/src/vs/base/common/oauth.d.ts +369 -0
- package/vscode/src/vs/base/common/objects.d.ts +19 -0
- package/vscode/src/vs/base/common/observableInternal/base.d.ts +128 -0
- package/vscode/src/vs/base/common/observableInternal/changeTracker.d.ts +11 -0
- package/vscode/src/vs/base/common/observableInternal/debugName.d.ts +16 -0
- package/vscode/src/vs/base/common/observableInternal/experimental/reducer.d.ts +21 -0
- package/vscode/src/vs/base/common/observableInternal/experimental/utils.d.ts +11 -0
- package/vscode/src/vs/base/common/observableInternal/observables/baseObservable.d.ts +15 -0
- package/vscode/src/vs/base/common/observableInternal/observables/constObservable.d.ts +3 -0
- package/vscode/src/vs/base/common/observableInternal/observables/derived.d.ts +25 -0
- package/vscode/src/vs/base/common/observableInternal/observables/derivedImpl.d.ts +15 -0
- package/vscode/src/vs/base/common/observableInternal/observables/lazyObservableValue.d.ts +3 -0
- package/vscode/src/vs/base/common/observableInternal/observables/observableSignal.d.ts +5 -0
- package/vscode/src/vs/base/common/observableInternal/observables/observableValue.d.ts +10 -0
- package/vscode/src/vs/base/common/observableInternal/reactions/autorun.d.ts +27 -0
- package/vscode/src/vs/base/common/observableInternal/reactions/autorunImpl.d.ts +7 -0
- package/vscode/src/vs/base/common/observableInternal/transaction.d.ts +9 -0
- package/vscode/src/vs/base/common/observableInternal/utils/promise.d.ts +47 -1
- package/vscode/src/vs/base/common/observableInternal/utils/utils.d.ts +15 -0
- package/vscode/src/vs/base/common/observableInternal/utils/utilsCancellation.d.ts +3 -0
- package/vscode/src/vs/base/common/performance.d.ts +3 -0
- package/vscode/src/vs/base/common/platform.d.ts +37 -0
- package/vscode/src/vs/base/common/prefixTree.d.ts +23 -0
- package/vscode/src/vs/base/common/process.d.ts +23 -0
- package/vscode/src/vs/base/common/range.d.ts +4 -0
- package/vscode/src/vs/base/common/resources.d.ts +115 -0
- package/vscode/src/vs/base/common/scrollable.d.ts +17 -0
- package/vscode/src/vs/base/common/severity.d.ts +4 -0
- package/vscode/src/vs/base/common/skipList.d.ts +4 -0
- package/vscode/src/vs/base/common/sseParser.d.ts +51 -0
- package/vscode/src/vs/base/common/stream.d.ts +148 -0
- package/vscode/src/vs/base/common/strings.d.ts +134 -0
- package/vscode/src/vs/base/common/symbols.d.ts +3 -0
- package/vscode/src/vs/base/common/ternarySearchTree.d.ts +6 -0
- package/vscode/src/vs/base/common/types.d.ts +135 -0
- package/vscode/src/vs/base/common/uint.d.ts +24 -3
- package/vscode/src/vs/base/common/uri.d.ts +131 -0
- package/vscode/src/vs/base/common/worker/webWorker.d.ts +6 -0
- package/vscode/src/vs/base/parts/sandbox/common/electronTypes.d.ts +179 -0
- package/vscode/src/vs/base/parts/sandbox/common/sandboxTypes.d.ts +39 -0
- package/vscode/src/vs/base/parts/storage/common/storage.d.ts +11 -0
- package/vscode/src/vs/editor/browser/config/editorConfiguration.d.ts +20 -0
- package/vscode/src/vs/editor/browser/config/fontMeasurements.d.ts +15 -0
- package/vscode/src/vs/editor/browser/config/migrateOptions.d.ts +3 -0
- package/vscode/src/vs/editor/browser/config/tabFocus.d.ts +6 -0
- package/vscode/src/vs/editor/browser/controller/dragScrolling.d.ts +9 -0
- package/vscode/src/vs/editor/browser/controller/editContext/clipboardUtils.d.ts +5 -0
- package/vscode/src/vs/editor/browser/controller/editContext/native/editContextFactory.d.ts +3 -0
- package/vscode/src/vs/editor/browser/controller/editContext/native/nativeEditContext.css +11 -0
- package/vscode/src/vs/editor/browser/controller/editContext/native/screenReaderUtils.d.ts +18 -0
- package/vscode/src/vs/editor/browser/controller/editContext/screenReaderUtils.d.ts +5 -0
- package/vscode/src/vs/editor/browser/controller/editContext/textArea/textAreaEditContext.css +19 -0
- package/vscode/src/vs/editor/browser/controller/editContext/textArea/textAreaEditContext.d.ts +7 -0
- package/vscode/src/vs/editor/browser/controller/editContext/textArea/textAreaEditContextInput.d.ts +8 -0
- package/vscode/src/vs/editor/browser/controller/editContext/textArea/textAreaEditContextState.d.ts +13 -1
- package/vscode/src/vs/editor/browser/controller/mouseHandler.d.ts +9 -0
- package/vscode/src/vs/editor/browser/controller/mouseTarget.d.ts +6 -0
- package/vscode/src/vs/editor/browser/controller/pointerHandler.d.ts +3 -0
- package/vscode/src/vs/editor/browser/coreCommands.d.ts +24 -0
- package/vscode/src/vs/editor/browser/editorBrowser.d.ts +439 -0
- package/vscode/src/vs/editor/browser/editorDom.d.ts +39 -0
- package/vscode/src/vs/editor/browser/editorExtensions.d.ts +51 -0
- package/vscode/src/vs/editor/browser/gpu/atlas/atlas.d.ts +65 -0
- package/vscode/src/vs/editor/browser/gpu/atlas/textureAtlas.d.ts +23 -1
- package/vscode/src/vs/editor/browser/gpu/atlas/textureAtlasPage.d.ts +4 -0
- package/vscode/src/vs/editor/browser/gpu/atlas/textureAtlasShelfAllocator.d.ts +5 -0
- package/vscode/src/vs/editor/browser/gpu/atlas/textureAtlasSlabAllocator.d.ts +10 -0
- package/vscode/src/vs/editor/browser/gpu/bufferDirtyTracker.d.ts +20 -0
- package/vscode/src/vs/editor/browser/gpu/contentSegmenter.d.ts +6 -0
- package/vscode/src/vs/editor/browser/gpu/css/decorationCssRuleExtractor.d.ts +3 -0
- package/vscode/src/vs/editor/browser/gpu/css/decorationStyleCache.d.ts +12 -0
- package/vscode/src/vs/editor/browser/gpu/css/media/decorationCssRuleExtractor.css +5 -0
- package/vscode/src/vs/editor/browser/gpu/gpu.d.ts +3 -0
- package/vscode/src/vs/editor/browser/gpu/objectCollectionBuffer.d.ts +33 -0
- package/vscode/src/vs/editor/browser/gpu/raster/glyphRasterizer.d.ts +4 -0
- package/vscode/src/vs/editor/browser/gpu/raster/raster.d.ts +47 -0
- package/vscode/src/vs/editor/browser/gpu/renderStrategy/fullFileRenderStrategy.d.ts +20 -0
- package/vscode/src/vs/editor/browser/gpu/renderStrategy/viewportRenderStrategy.d.ts +10 -0
- package/vscode/src/vs/editor/browser/gpu/taskQueue.d.ts +33 -0
- package/vscode/src/vs/editor/browser/gpu/viewGpuContext.d.ts +22 -0
- package/vscode/src/vs/editor/browser/observableCodeEditor.d.ts +6 -0
- package/vscode/src/vs/editor/browser/services/codeEditorService.service.d.ts +3 -0
- package/vscode/src/vs/editor/browser/services/hoverService/hover.css +32 -0
- package/vscode/src/vs/editor/browser/services/hoverService/hoverWidget.d.ts +4 -0
- package/vscode/src/vs/editor/browser/services/inlineCompletionsService.service.d.ts +16 -0
- package/vscode/src/vs/editor/browser/view/renderingContext.d.ts +17 -1
- package/vscode/src/vs/editor/browser/view/viewController.d.ts +3 -0
- package/vscode/src/vs/editor/browser/view/viewLayer.d.ts +19 -0
- package/vscode/src/vs/editor/browser/viewParts/blockDecorations/blockDecorations.css +6 -0
- package/vscode/src/vs/editor/browser/viewParts/contentWidgets/contentWidgets.d.ts +5 -0
- package/vscode/src/vs/editor/browser/viewParts/currentLineHighlight/currentLineHighlight.css +7 -0
- package/vscode/src/vs/editor/browser/viewParts/currentLineHighlight/currentLineHighlight.d.ts +9 -0
- package/vscode/src/vs/editor/browser/viewParts/decorations/decorations.css +9 -0
- package/vscode/src/vs/editor/browser/viewParts/editorScrollbar/editorScrollbar.d.ts +4 -0
- package/vscode/src/vs/editor/browser/viewParts/glyphMargin/glyphMargin.css +16 -0
- package/vscode/src/vs/editor/browser/viewParts/glyphMargin/glyphMargin.d.ts +20 -0
- package/vscode/src/vs/editor/browser/viewParts/gpuMark/gpuMark.css +6 -0
- package/vscode/src/vs/editor/browser/viewParts/gpuMark/gpuMark.d.ts +3 -0
- package/vscode/src/vs/editor/browser/viewParts/indentGuides/indentGuides.css +5 -0
- package/vscode/src/vs/editor/browser/viewParts/indentGuides/indentGuides.d.ts +4 -0
- package/vscode/src/vs/editor/browser/viewParts/lineNumbers/lineNumbers.css +9 -0
- package/vscode/src/vs/editor/browser/viewParts/lineNumbers/lineNumbers.d.ts +3 -0
- package/vscode/src/vs/editor/browser/viewParts/linesDecorations/linesDecorations.css +9 -0
- package/vscode/src/vs/editor/browser/viewParts/margin/margin.css +5 -0
- package/vscode/src/vs/editor/browser/viewParts/margin/margin.d.ts +5 -0
- package/vscode/src/vs/editor/browser/viewParts/marginDecorations/marginDecorations.css +9 -0
- package/vscode/src/vs/editor/browser/viewParts/minimap/minimap.css +10 -0
- package/vscode/src/vs/editor/browser/viewParts/minimap/minimap.d.ts +31 -0
- package/vscode/src/vs/editor/browser/viewParts/minimap/minimapCharRendererFactory.d.ts +16 -0
- package/vscode/src/vs/editor/browser/viewParts/minimap/minimapCharSheet.d.ts +3 -3
- package/vscode/src/vs/editor/browser/viewParts/minimap/minimapPreBaked.d.ts +5 -0
- package/vscode/src/vs/editor/browser/viewParts/overlayWidgets/overlayWidgets.css +4 -0
- package/vscode/src/vs/editor/browser/viewParts/overviewRuler/overviewRuler.d.ts +4 -0
- package/vscode/src/vs/editor/browser/viewParts/rulers/rulers.css +5 -0
- package/vscode/src/vs/editor/browser/viewParts/rulers/rulers.d.ts +4 -0
- package/vscode/src/vs/editor/browser/viewParts/rulersGpu/rulersGpu.d.ts +4 -0
- package/vscode/src/vs/editor/browser/viewParts/scrollDecoration/scrollDecoration.css +5 -0
- package/vscode/src/vs/editor/browser/viewParts/selections/selections.css +14 -0
- package/vscode/src/vs/editor/browser/viewParts/selections/selections.d.ts +3 -0
- package/vscode/src/vs/editor/browser/viewParts/viewCursors/viewCursor.d.ts +4 -0
- package/vscode/src/vs/editor/browser/viewParts/viewCursors/viewCursors.css +19 -0
- package/vscode/src/vs/editor/browser/viewParts/viewCursors/viewCursors.d.ts +4 -0
- package/vscode/src/vs/editor/browser/viewParts/viewLines/rangeUtil.d.ts +5 -0
- package/vscode/src/vs/editor/browser/viewParts/viewLines/viewLines.css +34 -0
- package/vscode/src/vs/editor/browser/viewParts/viewLines/viewLines.d.ts +19 -0
- package/vscode/src/vs/editor/browser/viewParts/viewLinesGpu/viewLinesGpu.d.ts +3 -0
- package/vscode/src/vs/editor/browser/viewParts/viewZones/viewZones.d.ts +5 -0
- package/vscode/src/vs/editor/browser/viewParts/whitespace/whitespace.css +5 -0
- package/vscode/src/vs/editor/browser/viewParts/whitespace/whitespace.d.ts +4 -0
- package/vscode/src/vs/editor/browser/widget/codeEditor/codeEditorContributions.d.ts +12 -0
- package/vscode/src/vs/editor/browser/widget/codeEditor/codeEditorWidget.d.ts +32 -0
- package/vscode/src/vs/editor/browser/widget/codeEditor/editor.css +27 -0
- package/vscode/src/vs/editor/browser/widget/diffEditor/commands.d.ts +4 -0
- package/vscode/src/vs/editor/browser/widget/diffEditor/components/accessibleDiffViewer.css +20 -0
- package/vscode/src/vs/editor/browser/widget/diffEditor/components/accessibleDiffViewer.d.ts +6 -0
- package/vscode/src/vs/editor/browser/widget/diffEditor/components/diffEditorSash.d.ts +1 -0
- package/vscode/src/vs/editor/browser/widget/diffEditor/components/diffEditorViewZones/diffEditorViewZones.d.ts +7 -0
- package/vscode/src/vs/editor/browser/widget/diffEditor/diffEditorWidget.d.ts +10 -0
- package/vscode/src/vs/editor/browser/widget/diffEditor/features/gutterFeature.d.ts +3 -0
- package/vscode/src/vs/editor/browser/widget/diffEditor/features/hideUnchangedRegionsFeature.d.ts +3 -0
- package/vscode/src/vs/editor/browser/widget/diffEditor/features/revertButtonsFeature.d.ts +6 -0
- package/vscode/src/vs/editor/browser/widget/diffEditor/style.css +92 -1
- package/vscode/src/vs/editor/browser/widget/markdownRenderer/browser/markdownRenderer.d.ts +4 -0
- package/vscode/src/vs/editor/browser/widget/markdownRenderer/browser/renderedMarkdown.css +6 -0
- package/vscode/src/vs/editor/common/commands/surroundSelectionCommand.d.ts +3 -0
- package/vscode/src/vs/editor/common/commands/trimTrailingWhitespaceCommand.d.ts +3 -0
- package/vscode/src/vs/editor/common/config/editorConfiguration.d.ts +41 -0
- package/vscode/src/vs/editor/common/config/editorOptions.d.ts +862 -0
- package/vscode/src/vs/editor/common/config/fontInfo.d.ts +34 -0
- package/vscode/src/vs/editor/common/coordinatesConverter.d.ts +7 -0
- package/vscode/src/vs/editor/common/core/characterClassifier.d.ts +9 -0
- package/vscode/src/vs/editor/common/core/cursorColumns.d.ts +44 -0
- package/vscode/src/vs/editor/common/core/editOperation.d.ts +14 -0
- package/vscode/src/vs/editor/common/core/editorColorRegistry.d.ts +3 -0
- package/vscode/src/vs/editor/common/core/edits/edit.d.ts +55 -1
- package/vscode/src/vs/editor/common/core/edits/lengthEdit.d.ts +6 -0
- package/vscode/src/vs/editor/common/core/edits/lineEdit.d.ts +9 -1
- package/vscode/src/vs/editor/common/core/edits/stringEdit.d.ts +37 -0
- package/vscode/src/vs/editor/common/core/edits/textEdit.d.ts +3 -0
- package/vscode/src/vs/editor/common/core/misc/rgba.d.ts +16 -0
- package/vscode/src/vs/editor/common/core/position.d.ts +67 -0
- package/vscode/src/vs/editor/common/core/range.d.ts +140 -0
- package/vscode/src/vs/editor/common/core/ranges/columnRange.d.ts +8 -1
- package/vscode/src/vs/editor/common/core/ranges/lineRange.d.ts +57 -1
- package/vscode/src/vs/editor/common/core/ranges/offsetRange.d.ts +30 -0
- package/vscode/src/vs/editor/common/core/ranges/rangeSingleLine.d.ts +7 -1
- package/vscode/src/vs/editor/common/core/selection.d.ts +83 -0
- package/vscode/src/vs/editor/common/core/stringBuilder.d.ts +6 -0
- package/vscode/src/vs/editor/common/core/text/positionToOffsetImpl.d.ts +1 -0
- package/vscode/src/vs/editor/common/core/text/textLength.d.ts +3 -0
- package/vscode/src/vs/editor/common/core/wordHelper.d.ts +12 -0
- package/vscode/src/vs/editor/common/cursor/cursorAtomicMoveOperations.d.ts +15 -0
- package/vscode/src/vs/editor/common/cursor/cursorCollection.d.ts +7 -0
- package/vscode/src/vs/editor/common/cursor/cursorMoveCommands.d.ts +15 -0
- package/vscode/src/vs/editor/common/cursor/cursorMoveOperations.d.ts +7 -0
- package/vscode/src/vs/editor/common/cursor/cursorTypeEditOperations.d.ts +14 -0
- package/vscode/src/vs/editor/common/cursor/cursorTypeOperations.d.ts +3 -0
- package/vscode/src/vs/editor/common/cursor/oneCursor.d.ts +3 -0
- package/vscode/src/vs/editor/common/cursorCommon.d.ts +25 -0
- package/vscode/src/vs/editor/common/cursorEvents.d.ts +63 -0
- package/vscode/src/vs/editor/common/diff/defaultLinesDiffComputer/algorithms/diffAlgorithm.d.ts +23 -1
- package/vscode/src/vs/editor/common/diff/defaultLinesDiffComputer/algorithms/dynamicProgrammingDiffing.d.ts +4 -0
- package/vscode/src/vs/editor/common/diff/defaultLinesDiffComputer/algorithms/myersDiffAlgorithm.d.ts +3 -0
- package/vscode/src/vs/editor/common/diff/defaultLinesDiffComputer/linesSliceCharSequence.d.ts +4 -0
- package/vscode/src/vs/editor/common/diff/legacyLinesDiffComputer.d.ts +16 -0
- package/vscode/src/vs/editor/common/diff/linesDiffComputer.d.ts +24 -1
- package/vscode/src/vs/editor/common/diff/rangeMapping.d.ts +41 -0
- package/vscode/src/vs/editor/common/editorCommon.d.ts +218 -0
- package/vscode/src/vs/editor/common/editorContextKeys.d.ts +14 -0
- package/vscode/src/vs/editor/common/editorFeatures.d.ts +7 -0
- package/vscode/src/vs/editor/common/encodedTokenAttributes.d.ts +38 -0
- package/vscode/src/vs/editor/common/inputMode.d.ts +3 -0
- package/vscode/src/vs/editor/common/languageSelector.d.ts +6 -0
- package/vscode/src/vs/editor/common/languages/autoIndent.d.ts +16 -0
- package/vscode/src/vs/editor/common/languages/defaultDocumentColorsComputer.d.ts +3 -0
- package/vscode/src/vs/editor/common/languages/language.d.ts +3 -0
- package/vscode/src/vs/editor/common/languages/language.service.d.ts +77 -0
- package/vscode/src/vs/editor/common/languages/languageConfiguration.d.ts +195 -0
- package/vscode/src/vs/editor/common/languages/languageConfigurationRegistry.d.ts +9 -0
- package/vscode/src/vs/editor/common/languages/languageConfigurationRegistry.service.d.ts +3 -0
- package/vscode/src/vs/editor/common/languages/linkComputer.d.ts +5 -0
- package/vscode/src/vs/editor/common/languages/supports/electricCharacter.d.ts +4 -0
- package/vscode/src/vs/editor/common/languages/supports/indentationLineProcessor.d.ts +27 -0
- package/vscode/src/vs/editor/common/languages/supports/languageBracketsConfiguration.d.ts +22 -1
- package/vscode/src/vs/editor/common/languages/supports/richEditBrackets.d.ts +80 -0
- package/vscode/src/vs/editor/common/languages/supports/tokenization.d.ts +12 -0
- package/vscode/src/vs/editor/common/languages.d.ts +955 -1
- package/vscode/src/vs/editor/common/model/bracketPairsTextModelPart/bracketPairsImpl.d.ts +4 -0
- package/vscode/src/vs/editor/common/model/bracketPairsTextModelPart/bracketPairsTree/ast.d.ts +55 -0
- package/vscode/src/vs/editor/common/model/bracketPairsTextModelPart/bracketPairsTree/beforeEditPositionMapper.d.ts +10 -0
- package/vscode/src/vs/editor/common/model/bracketPairsTextModelPart/bracketPairsTree/bracketPairsTree.d.ts +3 -0
- package/vscode/src/vs/editor/common/model/bracketPairsTextModelPart/bracketPairsTree/brackets.d.ts +3 -0
- package/vscode/src/vs/editor/common/model/bracketPairsTextModelPart/bracketPairsTree/concat23Trees.d.ts +6 -0
- package/vscode/src/vs/editor/common/model/bracketPairsTextModelPart/bracketPairsTree/length.d.ts +16 -0
- package/vscode/src/vs/editor/common/model/bracketPairsTextModelPart/bracketPairsTree/nodeReader.d.ts +8 -0
- package/vscode/src/vs/editor/common/model/bracketPairsTextModelPart/bracketPairsTree/parser.d.ts +3 -0
- package/vscode/src/vs/editor/common/model/bracketPairsTextModelPart/bracketPairsTree/smallImmutableSet.d.ts +7 -0
- package/vscode/src/vs/editor/common/model/bracketPairsTextModelPart/bracketPairsTree/tokenizer.d.ts +23 -1
- package/vscode/src/vs/editor/common/model/decorationProvider.d.ts +13 -0
- package/vscode/src/vs/editor/common/model/fixedArray.d.ts +4 -0
- package/vscode/src/vs/editor/common/model/indentationGuesser.d.ts +9 -0
- package/vscode/src/vs/editor/common/model/intervalTree.d.ts +13 -0
- package/vscode/src/vs/editor/common/model/mirrorTextModel.d.ts +18 -0
- package/vscode/src/vs/editor/common/model/pieceTreeTextBuffer/pieceTreeBase.d.ts +29 -0
- package/vscode/src/vs/editor/common/model/pieceTreeTextBuffer/pieceTreeTextBuffer.d.ts +7 -0
- package/vscode/src/vs/editor/common/model/prefixSumComputer.d.ts +34 -0
- package/vscode/src/vs/editor/common/model/textModel.d.ts +17 -0
- package/vscode/src/vs/editor/common/model/textModelSearch.d.ts +4 -0
- package/vscode/src/vs/editor/common/model/textModelTokens.d.ts +19 -0
- package/vscode/src/vs/editor/common/model/tokens/abstractSyntaxTokenBackend.d.ts +8 -0
- package/vscode/src/vs/editor/common/model/tokens/tokenizationTextModelPart.d.ts +3 -0
- package/vscode/src/vs/editor/common/model/tokens/tokenizerSyntaxTokenBackend.d.ts +1 -0
- package/vscode/src/vs/editor/common/model/tokens/treeSitter/tokenStore.d.ts +22 -0
- package/vscode/src/vs/editor/common/model/tokens/treeSitter/treeSitterTokenizationImpl.d.ts +10 -0
- package/vscode/src/vs/editor/common/model/tokens/treeSitter/treeSitterTree.d.ts +4 -1
- package/vscode/src/vs/editor/common/model/utils.d.ts +5 -0
- package/vscode/src/vs/editor/common/model.d.ts +440 -0
- package/vscode/src/vs/editor/common/modelLineProjectionData.d.ts +52 -1
- package/vscode/src/vs/editor/common/services/editorWebWorker.d.ts +19 -0
- package/vscode/src/vs/editor/common/services/findSectionHeaders.d.ts +19 -0
- package/vscode/src/vs/editor/common/services/languagesAssociations.d.ts +23 -0
- package/vscode/src/vs/editor/common/services/modelService.d.ts +6 -0
- package/vscode/src/vs/editor/common/services/resolverService.service.d.ts +10 -0
- package/vscode/src/vs/editor/common/services/textModelSync/textModelSync.impl.d.ts +3 -0
- package/vscode/src/vs/editor/common/services/textResourceConfiguration.d.ts +11 -0
- package/vscode/src/vs/editor/common/services/textResourceConfiguration.service.d.ts +35 -0
- package/vscode/src/vs/editor/common/services/treeSitter/treeSitterLibraryService.service.d.ts +10 -0
- package/vscode/src/vs/editor/common/standalone/standaloneEnums.d.ts +377 -18
- package/vscode/src/vs/editor/common/textModelBracketPairs.d.ts +56 -3
- package/vscode/src/vs/editor/common/textModelEditSource.d.ts +4 -0
- package/vscode/src/vs/editor/common/textModelEvents.d.ts +210 -0
- package/vscode/src/vs/editor/common/textModelGuides.d.ts +28 -1
- package/vscode/src/vs/editor/common/tokenizationTextModelPart.d.ts +53 -0
- package/vscode/src/vs/editor/common/tokens/contiguousMultilineTokens.d.ts +24 -0
- package/vscode/src/vs/editor/common/tokens/contiguousTokensStore.d.ts +3 -0
- package/vscode/src/vs/editor/common/tokens/lineTokens.d.ts +20 -0
- package/vscode/src/vs/editor/common/tokens/sparseMultilineTokens.d.ts +9 -0
- package/vscode/src/vs/editor/common/tokens/sparseTokensStore.d.ts +3 -0
- package/vscode/src/vs/editor/common/tokens/tokenWithTextArray.d.ts +11 -0
- package/vscode/src/vs/editor/common/viewEvents.d.ts +85 -2
- package/vscode/src/vs/editor/common/viewLayout/lineDecorations.d.ts +3 -0
- package/vscode/src/vs/editor/common/viewLayout/lineHeights.d.ts +26 -0
- package/vscode/src/vs/editor/common/viewLayout/linePart.d.ts +8 -1
- package/vscode/src/vs/editor/common/viewLayout/linesLayout.d.ts +130 -0
- package/vscode/src/vs/editor/common/viewLayout/viewLineRenderer.d.ts +10 -0
- package/vscode/src/vs/editor/common/viewLayout/viewLinesViewportData.d.ts +21 -0
- package/vscode/src/vs/editor/common/viewModel/modelLineProjection.d.ts +3 -0
- package/vscode/src/vs/editor/common/viewModel/overviewZoneManager.d.ts +6 -0
- package/vscode/src/vs/editor/common/viewModel/viewModelDecorations.d.ts +12 -0
- package/vscode/src/vs/editor/common/viewModel/viewModelImpl.d.ts +15 -0
- package/vscode/src/vs/editor/common/viewModel/viewModelLines.d.ts +10 -0
- package/vscode/src/vs/editor/common/viewModel.d.ts +104 -1
- package/vscode/src/vs/editor/contrib/anchorSelect/browser/anchorSelect.css +5 -0
- package/vscode/src/vs/editor/contrib/bracketMatching/browser/bracketMatching.css +5 -0
- package/vscode/src/vs/editor/contrib/codeAction/browser/codeAction.d.ts +1 -1
- package/vscode/src/vs/editor/contrib/codeAction/browser/lightBulbWidget.css +16 -0
- package/vscode/src/vs/editor/contrib/codelens/browser/codelensWidget.css +15 -1
- package/vscode/src/vs/editor/contrib/colorPicker/browser/colorPicker.css +40 -0
- package/vscode/src/vs/editor/contrib/colorPicker/browser/hoverColorPicker/hoverColorPickerParticipant.d.ts +4 -0
- package/vscode/src/vs/editor/contrib/comment/browser/lineCommentCommand.d.ts +26 -0
- package/vscode/src/vs/editor/contrib/dnd/browser/dnd.css +9 -3
- package/vscode/src/vs/editor/contrib/dropOrPasteInto/browser/copyPasteController.d.ts +12 -0
- package/vscode/src/vs/editor/contrib/dropOrPasteInto/browser/dropIntoEditorController.d.ts +5 -0
- package/vscode/src/vs/editor/contrib/dropOrPasteInto/browser/edit.d.ts +4 -0
- package/vscode/src/vs/editor/contrib/dropOrPasteInto/browser/postEditWidget.css +8 -0
- package/vscode/src/vs/editor/contrib/editorState/browser/editorState.d.ts +8 -0
- package/vscode/src/vs/editor/contrib/find/browser/findDecorations.d.ts +1 -0
- package/vscode/src/vs/editor/contrib/find/browser/findOptionsWidget.css +5 -0
- package/vscode/src/vs/editor/contrib/find/browser/findWidget.css +62 -1
- package/vscode/src/vs/editor/contrib/find/browser/findWidget.d.ts +4 -0
- package/vscode/src/vs/editor/contrib/find/browser/replacePattern.d.ts +18 -0
- package/vscode/src/vs/editor/contrib/folding/browser/folding.css +10 -1
- package/vscode/src/vs/editor/contrib/folding/browser/folding.d.ts +6 -0
- package/vscode/src/vs/editor/contrib/folding/browser/foldingModel.d.ts +67 -0
- package/vscode/src/vs/editor/contrib/folding/browser/foldingRanges.d.ts +13 -0
- package/vscode/src/vs/editor/contrib/gotoError/browser/media/gotoErrorWidget.css +20 -0
- package/vscode/src/vs/editor/contrib/gotoSymbol/browser/link/clickLinkGesture.d.ts +9 -0
- package/vscode/src/vs/editor/contrib/gotoSymbol/browser/link/goToDefinitionAtPosition.css +5 -0
- package/vscode/src/vs/editor/contrib/gotoSymbol/browser/peek/referencesWidget.css +22 -0
- package/vscode/src/vs/editor/contrib/gotoSymbol/browser/peek/referencesWidget.d.ts +3 -0
- package/vscode/src/vs/editor/contrib/hover/browser/contentHoverWidgetWrapper.d.ts +3 -0
- package/vscode/src/vs/editor/contrib/hover/browser/hover.css +19 -0
- package/vscode/src/vs/editor/contrib/hover/browser/hoverOperation.d.ts +16 -0
- package/vscode/src/vs/editor/contrib/hover/browser/hoverTypes.d.ts +54 -0
- package/vscode/src/vs/editor/contrib/inPlaceReplace/browser/inPlaceReplace.css +6 -0
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/controller/inlineCompletionsController.d.ts +3 -0
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/hintsWidget/inlineCompletionsHintsWidget.css +12 -0
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/model/computeGhostText.d.ts +12 -0
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/model/ghostText.d.ts +11 -1
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/model/graph.d.ts +3 -0
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/model/inlineCompletionsSource.d.ts +3 -0
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/model/inlineSuggestionItem.d.ts +12 -0
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/model/provideInlineCompletions.d.ts +13 -0
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/model/typingSpeed.d.ts +13 -0
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/structuredLogger.d.ts +3 -0
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/view/ghostText/ghostTextView.css +16 -0
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/view/inlineEdits/inlineEditsViews/inlineEditsWordReplacementView.d.ts +4 -1
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/view/inlineEdits/view.css +58 -7
- package/vscode/src/vs/editor/contrib/inlineProgress/browser/inlineProgress.d.ts +1 -0
- package/vscode/src/vs/editor/contrib/inlineProgress/browser/inlineProgressWidget.css +9 -0
- package/vscode/src/vs/editor/contrib/insertFinalNewLine/browser/insertFinalNewLineCommand.d.ts +4 -0
- package/vscode/src/vs/editor/contrib/linesOperations/browser/linesOperations.d.ts +3 -0
- package/vscode/src/vs/editor/contrib/linesOperations/browser/moveLinesCommand.d.ts +9 -0
- package/vscode/src/vs/editor/contrib/linkedEditing/browser/linkedEditing.css +7 -0
- package/vscode/src/vs/editor/contrib/links/browser/links.css +5 -0
- package/vscode/src/vs/editor/contrib/message/browser/messageController.css +18 -0
- package/vscode/src/vs/editor/contrib/middleScroll/browser/middleScroll.css +7 -0
- package/vscode/src/vs/editor/contrib/parameterHints/browser/parameterHints.css +29 -0
- package/vscode/src/vs/editor/contrib/peekView/browser/media/peekViewWidget.css +18 -0
- package/vscode/src/vs/editor/contrib/placeholderText/browser/placeholderText.css +6 -0
- package/vscode/src/vs/editor/contrib/placeholderText/browser/placeholderTextContribution.d.ts +3 -0
- package/vscode/src/vs/editor/contrib/rename/browser/renameWidget.css +16 -2
- package/vscode/src/vs/editor/contrib/rename/browser/renameWidget.d.ts +27 -0
- package/vscode/src/vs/editor/contrib/snippet/browser/snippetParser.d.ts +4 -0
- package/vscode/src/vs/editor/contrib/snippet/browser/snippetSession.css +6 -0
- package/vscode/src/vs/editor/contrib/snippet/browser/snippetSession.d.ts +4 -0
- package/vscode/src/vs/editor/contrib/stickyScroll/browser/stickyScroll.css +15 -0
- package/vscode/src/vs/editor/contrib/stickyScroll/browser/stickyScrollElement.d.ts +22 -1
- package/vscode/src/vs/editor/contrib/stickyScroll/browser/stickyScrollModelProvider.d.ts +5 -0
- package/vscode/src/vs/editor/contrib/stickyScroll/browser/stickyScrollProvider.d.ts +42 -0
- package/vscode/src/vs/editor/contrib/stickyScroll/browser/stickyScrollWidget.d.ts +19 -0
- package/vscode/src/vs/editor/contrib/suggest/browser/completionModel.d.ts +3 -0
- package/vscode/src/vs/editor/contrib/suggest/browser/media/suggest.css +118 -0
- package/vscode/src/vs/editor/contrib/suggest/browser/suggest.d.ts +7 -0
- package/vscode/src/vs/editor/contrib/suggest/browser/suggestModel.d.ts +4 -0
- package/vscode/src/vs/editor/contrib/suggest/browser/suggestWidgetRenderer.d.ts +8 -0
- package/vscode/src/vs/editor/contrib/symbolIcons/browser/symbolIcons.css +5 -0
- package/vscode/src/vs/editor/contrib/unicodeHighlighter/browser/bannerController.css +19 -0
- package/vscode/src/vs/editor/contrib/unicodeHighlighter/browser/unicodeHighlighter.css +5 -0
- package/vscode/src/vs/editor/contrib/wordHighlighter/browser/highlightDecorations.css +8 -0
- package/vscode/src/vs/editor/contrib/zoneWidget/browser/zoneWidget.css +6 -0
- package/vscode/src/vs/editor/contrib/zoneWidget/browser/zoneWidget.d.ts +1 -0
- package/vscode/src/vs/editor/editor.worker.start.d.ts +5 -0
- package/vscode/src/vs/editor/standalone/browser/iPadShowKeyboard/iPadShowKeyboard.css +6 -0
- package/vscode/src/vs/editor/standalone/browser/quickInput/standaloneQuickInput.css +14 -0
- package/vscode/src/vs/editor/standalone/browser/standaloneCodeEditor.d.ts +73 -0
- package/vscode/src/vs/editor/standalone/browser/standaloneServices.d.ts +10 -0
- package/vscode/src/vs/editor/standalone/browser/standaloneTreeSitterLibraryService.d.ts +10 -0
- package/vscode/src/vs/nls.d.ts +96 -0
- package/vscode/src/vs/platform/accessibility/browser/accessibleView.d.ts +31 -0
- package/vscode/src/vs/platform/accessibility/browser/accessibleView.service.d.ts +4 -0
- package/vscode/src/vs/platform/accessibility/browser/accessibleViewRegistry.d.ts +3 -0
- package/vscode/src/vs/platform/accessibility/common/accessibility.d.ts +3 -0
- package/vscode/src/vs/platform/accessibilitySignal/browser/accessibilitySignalService.d.ts +16 -0
- package/vscode/src/vs/platform/accessibilitySignal/browser/accessibilitySignalService.service.d.ts +7 -0
- package/vscode/src/vs/platform/action/common/action.d.ts +32 -0
- package/vscode/src/vs/platform/actionWidget/browser/actionWidget.css +36 -0
- package/vscode/src/vs/platform/actions/browser/floatingMenu.d.ts +4 -0
- package/vscode/src/vs/platform/actions/browser/menuEntryActionViewItem.css +14 -0
- package/vscode/src/vs/platform/actions/browser/menuEntryActionViewItem.d.ts +3 -0
- package/vscode/src/vs/platform/actions/browser/toolbar.d.ts +67 -0
- package/vscode/src/vs/platform/actions/common/actions.d.ts +40 -0
- package/vscode/src/vs/platform/actions/common/actions.service.d.ts +20 -0
- package/vscode/src/vs/platform/clipboard/common/clipboardService.service.d.ts +33 -0
- package/vscode/src/vs/platform/commands/common/commands.d.ts +7 -0
- package/vscode/src/vs/platform/configuration/common/configuration.d.ts +9 -0
- package/vscode/src/vs/platform/configuration/common/configuration.service.d.ts +26 -0
- package/vscode/src/vs/platform/configuration/common/configurationRegistry.d.ts +126 -0
- package/vscode/src/vs/platform/contextkey/common/contextkey.d.ts +30 -0
- package/vscode/src/vs/platform/contextkey/common/scanner.d.ts +21 -1
- package/vscode/src/vs/platform/contextview/browser/contextView.d.ts +18 -0
- package/vscode/src/vs/platform/dialogs/common/dialogs.service.d.ts +87 -0
- package/vscode/src/vs/platform/dnd/browser/dnd.d.ts +22 -0
- package/vscode/src/vs/platform/editor/common/editor.d.ts +231 -0
- package/vscode/src/vs/platform/environment/common/argv.d.ts +3 -0
- package/vscode/src/vs/platform/environment/common/environment.d.ts +5 -0
- package/vscode/src/vs/platform/environment/common/environment.service.d.ts +16 -0
- package/vscode/src/vs/platform/extensionManagement/common/extensionManagement.d.ts +25 -22
- package/vscode/src/vs/platform/extensionManagement/common/extensionManagement.service.d.ts +4 -0
- package/vscode/src/vs/platform/extensionManagement/common/extensionsProfileScannerService.d.ts +6 -0
- package/vscode/src/vs/platform/extensionManagement/common/extensionsScannerService.d.ts +7 -0
- package/vscode/src/vs/platform/extensionManagement/common/implicitActivationEvents.d.ts +8 -0
- package/vscode/src/vs/platform/extensionResourceLoader/common/extensionResourceLoader.service.d.ts +15 -0
- package/vscode/src/vs/platform/extensions/common/extensions.d.ts +944 -0
- package/vscode/src/vs/platform/files/browser/webFileSystemAccess.d.ts +25 -0
- package/vscode/src/vs/platform/files/common/files.d.ts +408 -0
- package/vscode/src/vs/platform/files/common/files.service.d.ts +168 -0
- package/vscode/src/vs/platform/files/common/watcher.d.ts +83 -0
- package/vscode/src/vs/platform/imageResize/common/imageResizeService.service.d.ts +3 -0
- package/vscode/src/vs/platform/instantiation/common/extensions.d.ts +8 -0
- package/vscode/src/vs/platform/instantiation/common/graph.d.ts +4 -0
- package/vscode/src/vs/platform/instantiation/common/instantiation.d.ts +31 -0
- package/vscode/src/vs/platform/jsonschemas/common/jsonContributionRegistry.d.ts +18 -0
- package/vscode/src/vs/platform/keybinding/common/abstractKeybindingService.d.ts +7 -0
- package/vscode/src/vs/platform/keybinding/common/keybinding.service.d.ts +27 -0
- package/vscode/src/vs/platform/keybinding/common/keybindingResolver.d.ts +24 -1
- package/vscode/src/vs/platform/keybinding/common/keybindingsRegistry.d.ts +3 -0
- package/vscode/src/vs/platform/keybinding/common/usLayoutResolvedKeybinding.d.ts +6 -0
- package/vscode/src/vs/platform/label/common/label.service.d.ts +12 -0
- package/vscode/src/vs/platform/layout/browser/layoutService.d.ts +6 -0
- package/vscode/src/vs/platform/layout/browser/layoutService.service.d.ts +51 -0
- package/vscode/src/vs/platform/list/browser/listService.service.d.ts +3 -0
- package/vscode/src/vs/platform/log/common/log.d.ts +30 -0
- package/vscode/src/vs/platform/log/common/log.service.d.ts +52 -0
- package/vscode/src/vs/platform/markers/common/markerService.d.ts +3 -0
- package/vscode/src/vs/platform/markers/common/markers.d.ts +6 -0
- package/vscode/src/vs/platform/notification/common/notification.d.ts +185 -0
- package/vscode/src/vs/platform/notification/common/notification.service.d.ts +63 -0
- package/vscode/src/vs/platform/observable/common/platformObservableUtils.d.ts +2 -0
- package/vscode/src/vs/platform/observable/common/wrapInHotClass.d.ts +10 -0
- package/vscode/src/vs/platform/observable/common/wrapInReloadableClass.d.ts +10 -0
- package/vscode/src/vs/platform/opener/browser/link.css +7 -0
- package/vscode/src/vs/platform/opener/common/opener.d.ts +33 -0
- package/vscode/src/vs/platform/opener/common/opener.service.d.ts +27 -0
- package/vscode/src/vs/platform/product/common/product.d.ts +5 -0
- package/vscode/src/vs/platform/product/common/product.js +1 -1
- package/vscode/src/vs/platform/progress/common/progress.d.ts +15 -0
- package/vscode/src/vs/platform/progress/common/progress.service.d.ts +6 -0
- package/vscode/src/vs/platform/quickinput/browser/media/quickInput.css +115 -0
- package/vscode/src/vs/platform/quickinput/browser/quickInput.d.ts +4 -0
- package/vscode/src/vs/platform/quickinput/browser/quickInputList.d.ts +14 -0
- package/vscode/src/vs/platform/quickinput/browser/tree/quickInputDelegate.d.ts +3 -0
- package/vscode/src/vs/platform/quickinput/browser/tree/quickInputTreeAccessibilityProvider.d.ts +3 -0
- package/vscode/src/vs/platform/quickinput/browser/tree/quickInputTreeController.d.ts +3 -0
- package/vscode/src/vs/platform/quickinput/browser/tree/quickTree.d.ts +4 -0
- package/vscode/src/vs/platform/quickinput/common/quickAccess.d.ts +121 -0
- package/vscode/src/vs/platform/quickinput/common/quickInput.d.ts +574 -0
- package/vscode/src/vs/platform/quickinput/common/quickInput.service.d.ts +63 -0
- package/vscode/src/vs/platform/registry/common/platform.d.ts +14 -0
- package/vscode/src/vs/platform/remote/common/remoteAuthorityResolver.service.d.ts +7 -0
- package/vscode/src/vs/platform/remote/common/remoteExtensionsScanner.service.d.ts +3 -0
- package/vscode/src/vs/platform/remote/common/remoteSocketFactoryService.service.d.ts +6 -0
- package/vscode/src/vs/platform/storage/common/storage.d.ts +45 -0
- package/vscode/src/vs/platform/storage/common/storage.service.d.ts +120 -0
- package/vscode/src/vs/platform/telemetry/common/telemetry.service.d.ts +13 -0
- package/vscode/src/vs/platform/telemetry/common/telemetryUtils.d.ts +40 -0
- package/vscode/src/vs/platform/terminal/common/terminal.d.ts +342 -1
- package/vscode/src/vs/platform/terminal/common/terminal.service.d.ts +28 -0
- package/vscode/src/vs/platform/terminal/common/terminalProcess.d.ts +4 -0
- package/vscode/src/vs/platform/theme/common/colorUtils.d.ts +37 -0
- package/vscode/src/vs/platform/theme/common/iconRegistry.d.ts +32 -0
- package/vscode/src/vs/platform/theme/common/theme.d.ts +3 -0
- package/vscode/src/vs/platform/theme/common/themeService.d.ts +30 -0
- package/vscode/src/vs/platform/tunnel/common/tunnel.d.ts +13 -1
- package/vscode/src/vs/platform/undoRedo/common/undoRedo.d.ts +32 -0
- package/vscode/src/vs/platform/undoRedo/common/undoRedo.service.d.ts +32 -0
- package/vscode/src/vs/platform/update/common/update.d.ts +17 -0
- package/vscode/src/vs/platform/uriIdentity/common/uriIdentity.service.d.ts +26 -0
- package/vscode/src/vs/platform/url/common/url.d.ts +6 -0
- package/vscode/src/vs/platform/url/common/url.service.d.ts +5 -0
- package/vscode/src/vs/platform/userDataProfile/common/userDataProfile.d.ts +3 -0
- package/vscode/src/vs/platform/userDataProfile/common/userDataProfileStorageService.service.d.ts +16 -0
- package/vscode/src/vs/platform/userDataSync/common/userDataSync.d.ts +12 -12
- package/vscode/src/vs/platform/userDataSync/common/userDataSync.service.d.ts +4 -0
- package/vscode/src/vs/platform/webContentExtractor/common/webContentExtractor.d.ts +5 -0
- package/vscode/src/vs/platform/window/common/window.d.ts +39 -0
- package/vscode/src/vs/platform/workspace/common/workspace.d.ts +71 -1
- package/vscode/src/vs/platform/workspace/common/workspace.service.d.ts +36 -0
- package/vscode/src/vs/workbench/api/common/extHost.api.impl.d.ts +3 -0
- package/vscode/src/vs/workbench/api/common/extHost.protocol.d.ts +93 -3
- package/vscode/src/vs/workbench/api/common/extHostAuthentication.d.ts +9 -0
- package/vscode/src/vs/workbench/api/common/extHostConsoleForwarder.d.ts +9 -0
- package/vscode/src/vs/workbench/api/common/extHostExtensionActivator.d.ts +13 -0
- package/vscode/src/vs/workbench/api/common/extHostExtensionService.d.ts +7 -0
- package/vscode/src/vs/workbench/api/common/extHostLanguageModelTools.d.ts +2 -0
- package/vscode/src/vs/workbench/api/common/extHostMcp.d.ts +1 -0
- package/vscode/src/vs/workbench/api/common/extHostNotebook.d.ts +11 -0
- package/vscode/src/vs/workbench/api/common/extHostTerminalService.d.ts +7 -0
- package/vscode/src/vs/workbench/api/common/extHostTestItem.d.ts +3 -0
- package/vscode/src/vs/workbench/api/common/extHostTesting.d.ts +96 -2
- package/vscode/src/vs/workbench/api/common/extHostTestingPrivateApi.d.ts +5 -0
- package/vscode/src/vs/workbench/api/common/extHostTunnelService.d.ts +8 -0
- package/vscode/src/vs/workbench/api/common/extHostTypes.d.ts +123 -0
- package/vscode/src/vs/workbench/api/common/extHostWorkspace.d.ts +3 -0
- package/vscode/src/vs/workbench/browser/actions/media/actions.css +12 -0
- package/vscode/src/vs/workbench/browser/parts/editor/editor.d.ts +69 -0
- package/vscode/src/vs/workbench/common/composite.d.ts +24 -0
- package/vscode/src/vs/workbench/common/contributions.d.ts +62 -0
- package/vscode/src/vs/workbench/common/editor/diffEditorInput.d.ts +4 -0
- package/vscode/src/vs/workbench/common/editor/diffEditorModel.d.ts +4 -0
- package/vscode/src/vs/workbench/common/editor/editorInput.d.ts +181 -0
- package/vscode/src/vs/workbench/common/editor/editorModel.d.ts +17 -0
- package/vscode/src/vs/workbench/common/editor/sideBySideEditorInput.d.ts +3 -0
- package/vscode/src/vs/workbench/common/editor/textDiffEditorModel.d.ts +4 -0
- package/vscode/src/vs/workbench/common/editor/textEditorModel.d.ts +15 -0
- package/vscode/src/vs/workbench/common/editor.d.ts +617 -0
- package/vscode/src/vs/workbench/common/panecomposite.d.ts +3 -0
- package/vscode/src/vs/workbench/common/views.d.ts +74 -0
- package/vscode/src/vs/workbench/contrib/accessibility/browser/accessibilityConfiguration.d.ts +4 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/chat.service.d.ts +3 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/chatContentParts/chatContentParts.d.ts +11 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/chatContentParts/chatMarkdownAnchorService.service.d.ts +3 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/chatContextPickService.service.d.ts +5 -0
- package/vscode/src/vs/workbench/contrib/chat/common/chatAgents.service.d.ts +9 -0
- package/vscode/src/vs/workbench/contrib/chat/common/chatContextKeys.d.ts +3 -0
- package/vscode/src/vs/workbench/contrib/chat/common/chatEditingService.d.ts +58 -0
- package/vscode/src/vs/workbench/contrib/chat/common/chatEditingService.service.d.ts +6 -0
- package/vscode/src/vs/workbench/contrib/chat/common/chatService.d.ts +19 -0
- package/vscode/src/vs/workbench/contrib/chat/common/chatService.service.d.ts +3 -0
- package/vscode/src/vs/workbench/contrib/chat/common/chatSlashCommands.service.d.ts +3 -0
- package/vscode/src/vs/workbench/contrib/chat/common/chatVariableEntries.d.ts +18 -0
- package/vscode/src/vs/workbench/contrib/chat/common/constants.d.ts +3 -0
- package/vscode/src/vs/workbench/contrib/chat/common/languageModelToolsService.d.ts +11 -0
- package/vscode/src/vs/workbench/contrib/chat/common/languageModels.d.ts +12 -0
- package/vscode/src/vs/workbench/contrib/chat/common/languageModels.service.d.ts +5 -0
- package/vscode/src/vs/workbench/contrib/chat/common/promptSyntax/contentProviders/types.d.ts +34 -0
- package/vscode/src/vs/workbench/contrib/chat/common/promptSyntax/parsers/types.d.ts +64 -0
- package/vscode/src/vs/workbench/contrib/chat/common/promptSyntax/service/promptsService.d.ts +78 -0
- package/vscode/src/vs/workbench/contrib/chat/common/promptSyntax/service/promptsService.service.d.ts +40 -0
- package/vscode/src/vs/workbench/contrib/chat/common/tools/promptTsxTypes.d.ts +10 -0
- package/vscode/src/vs/workbench/contrib/codeEditor/browser/dictation/editorDictation.css +9 -0
- package/vscode/src/vs/workbench/contrib/codeEditor/browser/editorLineNumberMenu.d.ts +6 -0
- package/vscode/src/vs/workbench/contrib/codeEditor/browser/largeFileOptimizations.d.ts +3 -0
- package/vscode/src/vs/workbench/contrib/codeEditor/browser/menuPreventer.d.ts +3 -0
- package/vscode/src/vs/workbench/contrib/codeEditor/browser/saveParticipants.d.ts +3 -0
- package/vscode/src/vs/workbench/contrib/codeEditor/browser/toggleWordWrap.d.ts +9 -0
- package/vscode/src/vs/workbench/contrib/comments/common/commentContextKeys.d.ts +33 -0
- package/vscode/src/vs/workbench/contrib/debug/common/abstractDebugAdapter.d.ts +26 -0
- package/vscode/src/vs/workbench/contrib/debug/common/debug.d.ts +161 -0
- package/vscode/src/vs/workbench/contrib/debug/common/debug.service.d.ts +130 -0
- package/vscode/src/vs/workbench/contrib/debug/common/debugUtils.d.ts +11 -0
- package/vscode/src/vs/workbench/contrib/debug/common/debugVisualizers.service.d.ts +18 -0
- package/vscode/src/vs/workbench/contrib/externalUriOpener/common/externalUriOpenerService.service.d.ts +7 -0
- package/vscode/src/vs/workbench/contrib/files/browser/files.service.d.ts +4 -0
- package/vscode/src/vs/workbench/contrib/logs/common/defaultLogLevels.service.d.ts +3 -0
- package/vscode/src/vs/workbench/contrib/mcp/common/mcpRegistryTypes.d.ts +14 -0
- package/vscode/src/vs/workbench/contrib/mcp/common/mcpRegistryTypes.service.d.ts +9 -0
- package/vscode/src/vs/workbench/contrib/mcp/common/mcpTypes.d.ts +124 -0
- package/vscode/src/vs/workbench/contrib/mcp/common/mcpTypes.service.d.ts +15 -0
- package/vscode/src/vs/workbench/contrib/mcp/common/modelContextProtocol.d.ts +787 -0
- package/vscode/src/vs/workbench/contrib/notebook/common/notebookCommon.d.ts +71 -0
- package/vscode/src/vs/workbench/contrib/notebook/common/notebookEditorModelResolverService.d.ts +19 -0
- package/vscode/src/vs/workbench/contrib/notebook/common/notebookKernelService.service.d.ts +13 -0
- package/vscode/src/vs/workbench/contrib/notebook/common/notebookRendererMessagingService.d.ts +7 -0
- package/vscode/src/vs/workbench/contrib/notebook/common/notebookRendererMessagingService.service.d.ts +12 -0
- package/vscode/src/vs/workbench/contrib/notebook/common/notebookService.service.d.ts +2 -0
- package/vscode/src/vs/workbench/contrib/scm/browser/quickDiffModel.service.d.ts +6 -0
- package/vscode/src/vs/workbench/contrib/scm/common/scm.service.d.ts +3 -0
- package/vscode/src/vs/workbench/contrib/search/browser/replace.service.d.ts +14 -0
- package/vscode/src/vs/workbench/contrib/speech/common/speechService.service.d.ts +14 -0
- package/vscode/src/vs/workbench/contrib/tags/common/workspaceTags.service.d.ts +4 -0
- package/vscode/src/vs/workbench/contrib/tasks/common/taskService.service.d.ts +8 -0
- package/vscode/src/vs/workbench/contrib/tasks/common/tasks.d.ts +224 -0
- package/vscode/src/vs/workbench/contrib/terminal/browser/terminal.d.ts +508 -13
- package/vscode/src/vs/workbench/contrib/terminal/browser/terminal.service.d.ts +92 -0
- package/vscode/src/vs/workbench/contrib/terminal/browser/xterm-private.d.ts +4 -0
- package/vscode/src/vs/workbench/contrib/terminal/common/environmentVariable.service.d.ts +21 -0
- package/vscode/src/vs/workbench/contrib/terminal/common/terminal.service.d.ts +3 -0
- package/vscode/src/vs/workbench/contrib/testing/common/testCoverageService.service.d.ts +16 -0
- package/vscode/src/vs/workbench/contrib/testing/common/testExplorerFilterState.service.d.ts +31 -0
- package/vscode/src/vs/workbench/contrib/testing/common/testId.d.ts +79 -0
- package/vscode/src/vs/workbench/contrib/testing/common/testItemCollection.d.ts +49 -0
- package/vscode/src/vs/workbench/contrib/testing/common/testProfileService.service.d.ts +36 -0
- package/vscode/src/vs/workbench/contrib/testing/common/testResultService.service.d.ts +24 -0
- package/vscode/src/vs/workbench/contrib/testing/common/testResultStorage.service.d.ts +6 -0
- package/vscode/src/vs/workbench/contrib/testing/common/testService.service.d.ts +62 -0
- package/vscode/src/vs/workbench/contrib/testing/common/testTypes.d.ts +150 -0
- package/vscode/src/vs/workbench/contrib/testing/common/testingContinuousRunService.service.d.ts +36 -0
- package/vscode/src/vs/workbench/contrib/testing/common/testingDecorations.service.d.ts +19 -0
- package/vscode/src/vs/workbench/contrib/testing/common/testingPeekOpener.d.ts +2 -0
- package/vscode/src/vs/workbench/contrib/testing/common/testingPeekOpener.service.d.ts +18 -0
- package/vscode/src/vs/workbench/contrib/timeline/common/timeline.d.ts +29 -0
- package/vscode/src/vs/workbench/contrib/webview/browser/webview.service.d.ts +18 -0
- package/vscode/src/vs/workbench/contrib/webview/common/webview.d.ts +19 -0
- package/vscode/src/vs/workbench/contrib/webviewPanel/browser/webviewWorkbenchService.service.d.ts +31 -0
- package/vscode/src/vs/workbench/contrib/webviewView/browser/webviewViewService.service.d.ts +10 -0
- package/vscode/src/vs/workbench/services/activity/common/activity.service.d.ts +21 -0
- package/vscode/src/vs/workbench/services/authentication/browser/authenticationAccessService.service.d.ts +8 -0
- package/vscode/src/vs/workbench/services/authentication/browser/authenticationMcpAccessService.service.d.ts +8 -0
- package/vscode/src/vs/workbench/services/authentication/browser/authenticationMcpService.service.d.ts +41 -0
- package/vscode/src/vs/workbench/services/authentication/browser/authenticationMcpUsageService.service.d.ts +24 -0
- package/vscode/src/vs/workbench/services/authentication/browser/authenticationUsageService.service.d.ts +24 -0
- package/vscode/src/vs/workbench/services/authentication/common/authentication.d.ts +107 -0
- package/vscode/src/vs/workbench/services/authentication/common/authentication.service.d.ts +124 -0
- package/vscode/src/vs/workbench/services/authentication/common/authenticationQuery.d.ts +267 -0
- package/vscode/src/vs/workbench/services/authentication/common/authenticationQuery.service.d.ts +33 -0
- package/vscode/src/vs/workbench/services/authentication/common/dynamicAuthenticationProviderStorage.d.ts +3 -0
- package/vscode/src/vs/workbench/services/authentication/common/dynamicAuthenticationProviderStorage.service.d.ts +39 -0
- package/vscode/src/vs/workbench/services/configurationResolver/common/configurationResolver.service.d.ts +20 -0
- package/vscode/src/vs/workbench/services/configurationResolver/common/configurationResolverExpression.d.ts +29 -0
- package/vscode/src/vs/workbench/services/editor/common/editorGroupsService.d.ts +511 -0
- package/vscode/src/vs/workbench/services/editor/common/editorGroupsService.service.d.ts +49 -0
- package/vscode/src/vs/workbench/services/editor/common/editorPaneService.service.d.ts +6 -0
- package/vscode/src/vs/workbench/services/editor/common/editorResolverService.d.ts +12 -0
- package/vscode/src/vs/workbench/services/editor/common/editorResolverService.service.d.ts +41 -0
- package/vscode/src/vs/workbench/services/editor/common/editorService.d.ts +45 -0
- package/vscode/src/vs/workbench/services/editor/common/editorService.service.d.ts +174 -0
- package/vscode/src/vs/workbench/services/environment/common/environmentService.service.d.ts +4 -0
- package/vscode/src/vs/workbench/services/extensionManagement/common/extensionManagement.service.d.ts +44 -0
- package/vscode/src/vs/workbench/services/extensions/common/extensionHostProtocol.d.ts +3 -0
- package/vscode/src/vs/workbench/services/extensions/common/extensionHostProxy.d.ts +3 -0
- package/vscode/src/vs/workbench/services/extensions/common/extensions.d.ts +64 -0
- package/vscode/src/vs/workbench/services/extensions/common/extensions.service.d.ts +94 -0
- package/vscode/src/vs/workbench/services/extensions/common/extensionsRegistry.d.ts +4 -0
- package/vscode/src/vs/workbench/services/extensions/common/proxyIdentifier.d.ts +18 -0
- package/vscode/src/vs/workbench/services/files/common/elevatedFileService.service.d.ts +7 -0
- package/vscode/src/vs/workbench/services/history/common/history.d.ts +28 -0
- package/vscode/src/vs/workbench/services/history/common/history.service.d.ts +51 -0
- package/vscode/src/vs/workbench/services/host/browser/host.service.d.ts +69 -0
- package/vscode/src/vs/workbench/services/keybinding/common/fallbackKeyboardMapper.d.ts +3 -0
- package/vscode/src/vs/workbench/services/languageDetection/common/languageDetectionWorkerService.service.d.ts +9 -0
- package/vscode/src/vs/workbench/services/layout/browser/layoutService.service.d.ts +119 -0
- package/vscode/src/vs/workbench/services/lifecycle/common/lifecycle.d.ts +116 -0
- package/vscode/src/vs/workbench/services/lifecycle/common/lifecycle.service.d.ts +54 -0
- package/vscode/src/vs/workbench/services/lifecycle/common/lifecycleService.d.ts +3 -0
- package/vscode/src/vs/workbench/services/output/common/output.d.ts +57 -0
- package/vscode/src/vs/workbench/services/output/common/output.service.d.ts +45 -0
- package/vscode/src/vs/workbench/services/panecomposite/browser/panecomposite.service.d.ts +30 -0
- package/vscode/src/vs/workbench/services/path/common/pathService.service.d.ts +42 -0
- package/vscode/src/vs/workbench/services/remote/common/remoteAgentService.service.d.ts +16 -0
- package/vscode/src/vs/workbench/services/search/common/folderQuerySearchTree.d.ts +4 -0
- package/vscode/src/vs/workbench/services/search/common/queryBuilder.d.ts +28 -0
- package/vscode/src/vs/workbench/services/search/common/search.d.ts +32 -0
- package/vscode/src/vs/workbench/services/search/common/search.service.d.ts +3 -0
- package/vscode/src/vs/workbench/services/search/common/searchExtConversionTypes.d.ts +273 -0
- package/vscode/src/vs/workbench/services/search/common/searchExtTypes.d.ts +327 -0
- package/vscode/src/vs/workbench/services/search/common/textSearchManager.d.ts +6 -0
- package/vscode/src/vs/workbench/services/statusbar/browser/statusbar.d.ts +91 -0
- package/vscode/src/vs/workbench/services/statusbar/browser/statusbar.service.d.ts +10 -0
- package/vscode/src/vs/workbench/services/terminal/common/embedderTerminalService.service.d.ts +3 -0
- package/vscode/src/vs/workbench/services/textfile/common/encoding.d.ts +9 -0
- package/vscode/src/vs/workbench/services/textfile/common/textEditorService.service.d.ts +17 -0
- package/vscode/src/vs/workbench/services/textfile/common/textfiles.d.ts +179 -0
- package/vscode/src/vs/workbench/services/textfile/common/textfiles.service.d.ts +74 -0
- package/vscode/src/vs/workbench/services/timer/browser/timerService.service.d.ts +31 -0
- package/vscode/src/vs/workbench/services/title/browser/titleService.service.d.ts +6 -0
- package/vscode/src/vs/workbench/services/untitled/common/untitledTextEditorService.service.d.ts +46 -0
- package/vscode/src/vs/workbench/services/userActivity/common/userActivityService.service.d.ts +14 -0
- package/vscode/src/vs/workbench/services/workingCopy/common/workingCopyBackup.d.ts +11 -0
- package/vscode/src/vs/workbench/services/workingCopy/common/workingCopyBackup.service.d.ts +32 -0
- package/vscode/src/vs/workbench/services/workingCopy/common/workingCopyEditorService.service.d.ts +9 -0
- package/vscode/src/vs/workbench/services/workingCopy/common/workingCopyFileService.service.d.ts +84 -0
- package/vscode/src/vs/workbench/services/workingCopy/common/workingCopyHistory.service.d.ts +43 -0
- package/vscode/src/vs/workbench/services/workingCopy/common/workingCopyService.service.d.ts +63 -0
- package/vscode/src/vs/workbench/services/workspaces/common/workspaceEditing.service.d.ts +28 -0
|
@@ -111,8 +111,11 @@ export declare enum TerminalSettingId {
|
|
|
111
111
|
FontLigaturesEnabled = "terminal.integrated.fontLigatures.enabled",
|
|
112
112
|
FontLigaturesFeatureSettings = "terminal.integrated.fontLigatures.featureSettings",
|
|
113
113
|
FontLigaturesFallbackLigatures = "terminal.integrated.fontLigatures.fallbackLigatures",
|
|
114
|
+
/** Simulated latency applied to all calls made to the pty host */
|
|
114
115
|
DeveloperPtyHostLatency = "terminal.integrated.developer.ptyHost.latency",
|
|
116
|
+
/** Simulated startup delay of the pty host process */
|
|
115
117
|
DeveloperPtyHostStartupDelay = "terminal.integrated.developer.ptyHost.startupDelay",
|
|
118
|
+
/** Shows the textarea element */
|
|
116
119
|
DevMode = "terminal.integrated.developer.devMode"
|
|
117
120
|
}
|
|
118
121
|
export declare enum PosixShellType {
|
|
@@ -178,18 +181,37 @@ export interface IReconnectionProperties {
|
|
|
178
181
|
}
|
|
179
182
|
export type TerminalType = "Task" | "Local" | undefined;
|
|
180
183
|
export declare enum TitleEventSource {
|
|
184
|
+
/** From the API or the rename command that overrides any other type */
|
|
181
185
|
Api = 0,
|
|
186
|
+
/** From the process name property*/
|
|
182
187
|
Process = 1,
|
|
188
|
+
/** From the VT sequence */
|
|
183
189
|
Sequence = 2,
|
|
190
|
+
/** Config changed */
|
|
184
191
|
Config = 3
|
|
185
192
|
}
|
|
186
193
|
export type ITerminalsLayoutInfo = IRawTerminalsLayoutInfo<IPtyHostAttachTarget | null>;
|
|
187
194
|
export type ITerminalsLayoutInfoById = IRawTerminalsLayoutInfo<number>;
|
|
188
195
|
export declare enum TerminalIpcChannels {
|
|
196
|
+
/**
|
|
197
|
+
* Communicates between the renderer process and shared process.
|
|
198
|
+
*/
|
|
189
199
|
LocalPty = "localPty",
|
|
200
|
+
/**
|
|
201
|
+
* Communicates between the shared process and the pty host process.
|
|
202
|
+
*/
|
|
190
203
|
PtyHost = "ptyHost",
|
|
204
|
+
/**
|
|
205
|
+
* Communicates between the renderer process and the pty host process.
|
|
206
|
+
*/
|
|
191
207
|
PtyHostWindow = "ptyHostWindow",
|
|
208
|
+
/**
|
|
209
|
+
* Deals with logging from the pty host process.
|
|
210
|
+
*/
|
|
192
211
|
Logger = "logger",
|
|
212
|
+
/**
|
|
213
|
+
* Enables the detection of unresponsive pty hosts.
|
|
214
|
+
*/
|
|
193
215
|
Heartbeat = "heartbeat"
|
|
194
216
|
}
|
|
195
217
|
export declare enum ProcessPropertyType {
|
|
@@ -223,7 +245,13 @@ export interface IProcessPropertyMap {
|
|
|
223
245
|
[ProcessPropertyType.ShellIntegrationInjectionFailureReason]: ShellIntegrationInjectionFailureReason | undefined;
|
|
224
246
|
}
|
|
225
247
|
export interface IFixedTerminalDimensions {
|
|
248
|
+
/**
|
|
249
|
+
* The fixed columns of the terminal.
|
|
250
|
+
*/
|
|
226
251
|
cols?: number;
|
|
252
|
+
/**
|
|
253
|
+
* The fixed rows of the terminal.
|
|
254
|
+
*/
|
|
227
255
|
rows?: number;
|
|
228
256
|
}
|
|
229
257
|
export interface ITerminalLaunchResult {
|
|
@@ -245,12 +273,20 @@ export interface IPtyHostController {
|
|
|
245
273
|
acceptPtyHostResolvedVariables(requestId: number, resolved: string[]): Promise<void>;
|
|
246
274
|
getProfiles(workspaceId: string, profiles: unknown, defaultProfile: unknown, includeDetectedProfiles?: boolean): Promise<ITerminalProfile[]>;
|
|
247
275
|
}
|
|
276
|
+
/**
|
|
277
|
+
* A service that communicates with a pty host controller (eg. main or server
|
|
278
|
+
* process) and is able to launch and forward requests to the pty host.
|
|
279
|
+
*/
|
|
248
280
|
export interface IPtyHostService extends IPtyService, IPtyHostController {
|
|
249
281
|
}
|
|
250
282
|
export interface IPtyHostLatencyMeasurement {
|
|
251
283
|
label: string;
|
|
252
284
|
latency: number;
|
|
253
285
|
}
|
|
286
|
+
/**
|
|
287
|
+
* Serialized terminal state matching the interface that can be used across versions, the version
|
|
288
|
+
* should be verified before using the state payload.
|
|
289
|
+
*/
|
|
254
290
|
export interface ICrossVersionSerializedTerminalState {
|
|
255
291
|
version: number;
|
|
256
292
|
state: unknown;
|
|
@@ -275,31 +311,98 @@ export interface IRequestResolveVariablesEvent {
|
|
|
275
311
|
originalText: string[];
|
|
276
312
|
}
|
|
277
313
|
export declare enum HeartbeatConstants {
|
|
314
|
+
/**
|
|
315
|
+
* The duration between heartbeats
|
|
316
|
+
*/
|
|
278
317
|
BeatInterval = 5000,
|
|
318
|
+
/**
|
|
319
|
+
* The duration of the first heartbeat while the pty host is starting up. This is much larger
|
|
320
|
+
* than the regular BeatInterval to accommodate slow machines, we still want to warn about the
|
|
321
|
+
* pty host's unresponsiveness eventually though.
|
|
322
|
+
*/
|
|
279
323
|
ConnectingBeatInterval = 20000,
|
|
324
|
+
/**
|
|
325
|
+
* Defines a multiplier for BeatInterval for how long to wait before starting the second wait
|
|
326
|
+
* timer.
|
|
327
|
+
*/
|
|
280
328
|
FirstWaitMultiplier = 1.2,
|
|
329
|
+
/**
|
|
330
|
+
* Defines a multiplier for BeatInterval for how long to wait before telling the user about
|
|
331
|
+
* non-responsiveness. The second timer is to avoid informing the user incorrectly when waking
|
|
332
|
+
* the computer up from sleep
|
|
333
|
+
*/
|
|
281
334
|
SecondWaitMultiplier = 1,
|
|
335
|
+
/**
|
|
336
|
+
* How long to wait before telling the user about non-responsiveness when they try to create a
|
|
337
|
+
* process. This short circuits the standard wait timeouts to tell the user sooner and only
|
|
338
|
+
* create process is handled to avoid additional perf overhead.
|
|
339
|
+
*/
|
|
282
340
|
CreateProcessTimeout = 5000
|
|
283
341
|
}
|
|
284
342
|
export interface IHeartbeatService {
|
|
285
343
|
readonly onBeat: Event<void>;
|
|
286
344
|
}
|
|
287
345
|
export interface IShellLaunchConfig {
|
|
346
|
+
/**
|
|
347
|
+
* The name of the terminal, if this is not set the name of the process will be used.
|
|
348
|
+
*/
|
|
288
349
|
name?: string;
|
|
350
|
+
/**
|
|
351
|
+
* A string to follow the name of the terminal with, indicating the type of terminal
|
|
352
|
+
*/
|
|
289
353
|
type?: "Task" | "Local";
|
|
354
|
+
/**
|
|
355
|
+
* The shell executable (bash, cmd, etc.).
|
|
356
|
+
*/
|
|
290
357
|
executable?: string;
|
|
358
|
+
/**
|
|
359
|
+
* The CLI arguments to use with executable, a string[] is in argv format and will be escaped,
|
|
360
|
+
* a string is in "CommandLine" pre-escaped format and will be used as is. The string option is
|
|
361
|
+
* only supported on Windows and will throw an exception if used on macOS or Linux.
|
|
362
|
+
*/
|
|
291
363
|
args?: string[] | string;
|
|
364
|
+
/**
|
|
365
|
+
* The current working directory of the terminal, this overrides the `terminal.integrated.cwd`
|
|
366
|
+
* settings key.
|
|
367
|
+
*/
|
|
292
368
|
cwd?: string | URI;
|
|
369
|
+
/**
|
|
370
|
+
* A custom environment for the terminal, if this is not set the environment will be inherited
|
|
371
|
+
* from the VS Code process.
|
|
372
|
+
*/
|
|
293
373
|
env?: ITerminalEnvironment;
|
|
374
|
+
/**
|
|
375
|
+
* Whether to ignore a custom cwd from the `terminal.integrated.cwd` settings key (e.g. if the
|
|
376
|
+
* shell is being launched by an extension).
|
|
377
|
+
*/
|
|
294
378
|
ignoreConfigurationCwd?: boolean;
|
|
379
|
+
/**
|
|
380
|
+
* The reconnection properties for this terminal
|
|
381
|
+
*/
|
|
295
382
|
reconnectionProperties?: IReconnectionProperties;
|
|
383
|
+
/** Whether to wait for a key press before closing the terminal. */
|
|
296
384
|
waitOnExit?: WaitOnExitValue;
|
|
385
|
+
/**
|
|
386
|
+
* A string including ANSI escape sequences that will be written to the terminal emulator
|
|
387
|
+
* _before_ the terminal process has launched, when a string is specified, a trailing \n is
|
|
388
|
+
* added at the end. This allows for example the terminal instance to display a styled message
|
|
389
|
+
* as the first line of the terminal. Use \x1b over \033 or \e for the escape control character.
|
|
390
|
+
*/
|
|
297
391
|
initialText?: string | {
|
|
298
392
|
text: string;
|
|
299
393
|
trailingNewLine: boolean;
|
|
300
394
|
};
|
|
395
|
+
/**
|
|
396
|
+
* Custom PTY/pseudoterminal process to use.
|
|
397
|
+
*/
|
|
301
398
|
customPtyImplementation?: (terminalId: number, cols: number, rows: number) => ITerminalChildProcess;
|
|
399
|
+
/**
|
|
400
|
+
* A UUID generated by the extension host process for terminals created on the extension host process.
|
|
401
|
+
*/
|
|
302
402
|
extHostTerminalId?: string;
|
|
403
|
+
/**
|
|
404
|
+
* This is a terminal that attaches to an already running terminal.
|
|
405
|
+
*/
|
|
303
406
|
attachPersistentProcess?: {
|
|
304
407
|
id: number;
|
|
305
408
|
findRevivedId?: boolean;
|
|
@@ -320,19 +423,77 @@ export interface IShellLaunchConfig {
|
|
|
320
423
|
shellIntegrationNonce: string;
|
|
321
424
|
tabActions?: ITerminalTabAction[];
|
|
322
425
|
};
|
|
426
|
+
/**
|
|
427
|
+
* Whether the terminal process environment should be exactly as provided in
|
|
428
|
+
* `TerminalOptions.env`. When this is false (default), the environment will be based on the
|
|
429
|
+
* window's environment and also apply configured platform settings like
|
|
430
|
+
* `terminal.integrated.env.windows` on top. When this is true, the complete environment must be
|
|
431
|
+
* provided as nothing will be inherited from the process or any configuration.
|
|
432
|
+
*/
|
|
323
433
|
strictEnv?: boolean;
|
|
434
|
+
/**
|
|
435
|
+
* Whether the terminal process environment will inherit VS Code's "shell environment" that may
|
|
436
|
+
* get sourced from running a login shell depnding on how the application was launched.
|
|
437
|
+
* Consumers that rely on development tools being present in the $PATH should set this to true.
|
|
438
|
+
* This will overwrite the value of the inheritEnv setting.
|
|
439
|
+
*/
|
|
324
440
|
useShellEnvironment?: boolean;
|
|
441
|
+
/**
|
|
442
|
+
* When enabled the terminal will run the process as normal but not be surfaced to the user
|
|
443
|
+
* until `Terminal.show` is called. The typical usage for this is when you need to run
|
|
444
|
+
* something that may need interactivity but only want to tell the user about it when
|
|
445
|
+
* interaction is needed. Note that the terminals will still be exposed to all extensions
|
|
446
|
+
* as normal. The hidden terminals will not be restored when the workspace is next opened.
|
|
447
|
+
*/
|
|
325
448
|
hideFromUser?: boolean;
|
|
449
|
+
/**
|
|
450
|
+
* Whether this terminal is not a terminal that the user directly created and uses, but rather
|
|
451
|
+
* a terminal used to drive some VS Code feature.
|
|
452
|
+
*/
|
|
326
453
|
isFeatureTerminal?: boolean;
|
|
454
|
+
/**
|
|
455
|
+
* Whether this terminal was created by an extension.
|
|
456
|
+
*/
|
|
327
457
|
isExtensionOwnedTerminal?: boolean;
|
|
458
|
+
/**
|
|
459
|
+
* The icon for the terminal, used primarily in the terminal tab.
|
|
460
|
+
*/
|
|
328
461
|
icon?: TerminalIcon;
|
|
462
|
+
/**
|
|
463
|
+
* The color ID to use for this terminal. If not specified it will use the default fallback
|
|
464
|
+
*/
|
|
329
465
|
color?: string;
|
|
466
|
+
/**
|
|
467
|
+
* When a parent terminal is provided via API, the group needs
|
|
468
|
+
* to find the index in order to place the child
|
|
469
|
+
* directly to the right of its parent.
|
|
470
|
+
*/
|
|
330
471
|
parentTerminalId?: number;
|
|
472
|
+
/**
|
|
473
|
+
* The dimensions for the instance as set by the user
|
|
474
|
+
* or via Size to Content Width
|
|
475
|
+
*/
|
|
331
476
|
fixedDimensions?: IFixedTerminalDimensions;
|
|
477
|
+
/**
|
|
478
|
+
* Opt-out of the default terminal persistence on restart and reload
|
|
479
|
+
*/
|
|
332
480
|
isTransient?: boolean;
|
|
481
|
+
/**
|
|
482
|
+
* Attempt to force shell integration to be enabled by bypassing the {@link isFeatureTerminal}
|
|
483
|
+
* equals false requirement.
|
|
484
|
+
*/
|
|
333
485
|
forceShellIntegration?: boolean;
|
|
486
|
+
/**
|
|
487
|
+
* Create a terminal without shell integration even when it's enabled
|
|
488
|
+
*/
|
|
334
489
|
ignoreShellIntegration?: boolean;
|
|
490
|
+
/**
|
|
491
|
+
* Actions to include inline on hover of the terminal tab. E.g. the "Rerun task" action
|
|
492
|
+
*/
|
|
335
493
|
tabActions?: ITerminalTabAction[];
|
|
494
|
+
/**
|
|
495
|
+
* Report terminal's shell environment variables to VS Code and extensions
|
|
496
|
+
*/
|
|
336
497
|
shellIntegrationEnvironmentReporting?: boolean;
|
|
337
498
|
}
|
|
338
499
|
export interface ITerminalTabAction {
|
|
@@ -381,6 +542,10 @@ export interface IShellLaunchConfigDto {
|
|
|
381
542
|
tabActions?: ITerminalTabAction[];
|
|
382
543
|
shellIntegrationEnvironmentReporting?: boolean;
|
|
383
544
|
}
|
|
545
|
+
/**
|
|
546
|
+
* A set of options for the terminal process. These differ from the shell launch config in that they
|
|
547
|
+
* are set internally to the terminal component, not from the outside.
|
|
548
|
+
*/
|
|
384
549
|
export interface ITerminalProcessOptions {
|
|
385
550
|
shellIntegration: {
|
|
386
551
|
enabled: boolean;
|
|
@@ -405,11 +570,29 @@ export interface IProcessReadyEvent {
|
|
|
405
570
|
windowsPty: IProcessReadyWindowsPty | undefined;
|
|
406
571
|
}
|
|
407
572
|
export interface IProcessReadyWindowsPty {
|
|
573
|
+
/**
|
|
574
|
+
* What pty emulation backend is being used.
|
|
575
|
+
*/
|
|
408
576
|
backend: "conpty" | "winpty";
|
|
577
|
+
/**
|
|
578
|
+
* The Windows build version (eg. 19045)
|
|
579
|
+
*/
|
|
409
580
|
buildNumber: number;
|
|
410
581
|
}
|
|
582
|
+
/**
|
|
583
|
+
* An interface representing a raw terminal child process, this contains a subset of the
|
|
584
|
+
* child_process.ChildProcess node.js interface.
|
|
585
|
+
*/
|
|
411
586
|
export interface ITerminalChildProcess {
|
|
587
|
+
/**
|
|
588
|
+
* A unique identifier for the terminal process. Note that the uniqueness only applies to a
|
|
589
|
+
* given pty service connection, IDs will be duplicated for remote and local terminals for
|
|
590
|
+
* example. The ID will be 0 if it does not support reconnection.
|
|
591
|
+
*/
|
|
412
592
|
id: number;
|
|
593
|
+
/**
|
|
594
|
+
* Whether the process should be persisted across reloads.
|
|
595
|
+
*/
|
|
413
596
|
shouldPersist: boolean;
|
|
414
597
|
onProcessData: Event<IProcessDataEvent | string>;
|
|
415
598
|
onProcessReady: Event<IProcessReadyEvent>;
|
|
@@ -417,19 +600,48 @@ export interface ITerminalChildProcess {
|
|
|
417
600
|
onDidChangeProperty: Event<IProcessProperty<any>>;
|
|
418
601
|
onProcessExit: Event<number | undefined>;
|
|
419
602
|
onRestoreCommands?: Event<ISerializedCommandDetectionCapability>;
|
|
603
|
+
/**
|
|
604
|
+
* Starts the process.
|
|
605
|
+
*
|
|
606
|
+
* @returns undefined when the process was successfully started, otherwise an object containing
|
|
607
|
+
* information on what went wrong.
|
|
608
|
+
*/
|
|
420
609
|
start(): Promise<ITerminalLaunchError | ITerminalLaunchResult | undefined>;
|
|
610
|
+
/**
|
|
611
|
+
* Detach the process from the UI and await reconnect.
|
|
612
|
+
* @param forcePersist Whether to force the process to persist if it supports persistence.
|
|
613
|
+
*/
|
|
421
614
|
detach?(forcePersist?: boolean): Promise<void>;
|
|
615
|
+
/**
|
|
616
|
+
* Frees the port and kills the process
|
|
617
|
+
*/
|
|
422
618
|
freePortKillProcess?(port: string): Promise<{
|
|
423
619
|
port: string;
|
|
424
620
|
processId: string;
|
|
425
621
|
}>;
|
|
622
|
+
/**
|
|
623
|
+
* Shutdown the terminal process.
|
|
624
|
+
*
|
|
625
|
+
* @param immediate When true the process will be killed immediately, otherwise the process will
|
|
626
|
+
* be given some time to make sure no additional data comes through.
|
|
627
|
+
*/
|
|
426
628
|
shutdown(immediate: boolean): void;
|
|
427
629
|
input(data: string): void;
|
|
428
630
|
sendSignal(signal: string): void;
|
|
429
631
|
processBinary(data: string): Promise<void>;
|
|
430
632
|
resize(cols: number, rows: number): void;
|
|
431
633
|
clearBuffer(): void | Promise<void>;
|
|
634
|
+
/**
|
|
635
|
+
* Acknowledge a data event has been parsed by the terminal, this is used to implement flow
|
|
636
|
+
* control to ensure remote processes to not get too far ahead of the client and flood the
|
|
637
|
+
* connection.
|
|
638
|
+
* @param charCount The number of characters being acknowledged.
|
|
639
|
+
*/
|
|
432
640
|
acknowledgeDataEvent(charCount: number): void;
|
|
641
|
+
/**
|
|
642
|
+
* Sets the unicode version for the process, this drives the size of some characters in the
|
|
643
|
+
* xterm-headless instance.
|
|
644
|
+
*/
|
|
433
645
|
setUnicodeVersion(version: "6" | "11"): Promise<void>;
|
|
434
646
|
getInitialCwd(): Promise<string>;
|
|
435
647
|
getCwd(): Promise<string>;
|
|
@@ -442,30 +654,75 @@ export interface IReconnectConstants {
|
|
|
442
654
|
scrollback: number;
|
|
443
655
|
}
|
|
444
656
|
export declare enum LocalReconnectConstants {
|
|
445
|
-
|
|
657
|
+
/**
|
|
658
|
+
* If there is no reconnection within this time-frame, consider the connection permanently closed...
|
|
659
|
+
*/
|
|
660
|
+
GraceTime = 60000,// 60 seconds
|
|
661
|
+
/**
|
|
662
|
+
* Maximal grace time between the first and the last reconnection...
|
|
663
|
+
*/
|
|
446
664
|
ShortGraceTime = 6000
|
|
447
665
|
}
|
|
448
666
|
export declare enum FlowControlConstants {
|
|
667
|
+
/**
|
|
668
|
+
* The number of _unacknowledged_ chars to have been sent before the pty is paused in order for
|
|
669
|
+
* the client to catch up.
|
|
670
|
+
*/
|
|
449
671
|
HighWatermarkChars = 100000,
|
|
672
|
+
/**
|
|
673
|
+
* After flow control pauses the pty for the client the catch up, this is the number of
|
|
674
|
+
* _unacknowledged_ chars to have been caught up to on the client before resuming the pty again.
|
|
675
|
+
* This is used to attempt to prevent pauses in the flowing data; ideally while the pty is
|
|
676
|
+
* paused the number of unacknowledged chars would always be greater than 0 or the client will
|
|
677
|
+
* appear to stutter. In reality this balance is hard to accomplish though so heavy commands
|
|
678
|
+
* will likely pause as latency grows, not flooding the connection is the important thing as
|
|
679
|
+
* it's shared with other core functionality.
|
|
680
|
+
*/
|
|
450
681
|
LowWatermarkChars = 5000,
|
|
682
|
+
/**
|
|
683
|
+
* The number characters that are accumulated on the client side before sending an ack event.
|
|
684
|
+
* This must be less than or equal to LowWatermarkChars or the terminal max never unpause.
|
|
685
|
+
*/
|
|
451
686
|
CharCountAckSize = 5000
|
|
452
687
|
}
|
|
453
688
|
export interface IProcessDataEvent {
|
|
454
689
|
data: string;
|
|
455
690
|
trackCommit: boolean;
|
|
691
|
+
/**
|
|
692
|
+
* When trackCommit is set, this will be set to a promise that resolves when the data is parsed.
|
|
693
|
+
*/
|
|
456
694
|
writePromise?: Promise<void>;
|
|
457
695
|
}
|
|
458
696
|
export interface ITerminalDimensions {
|
|
697
|
+
/**
|
|
698
|
+
* The columns of the terminal.
|
|
699
|
+
*/
|
|
459
700
|
cols: number;
|
|
701
|
+
/**
|
|
702
|
+
* The rows of the terminal.
|
|
703
|
+
*/
|
|
460
704
|
rows: number;
|
|
461
705
|
}
|
|
462
706
|
export interface ITerminalProfile {
|
|
463
707
|
profileName: string;
|
|
464
708
|
path: string;
|
|
465
709
|
isDefault: boolean;
|
|
710
|
+
/**
|
|
711
|
+
* Whether the terminal profile contains a potentially unsafe {@link path}. For example, the path
|
|
712
|
+
* `C:\Cygwin` is the default install for Cygwin on Windows, but it could be created by any
|
|
713
|
+
* user in a multi-user environment. As such, we don't want to blindly present it as a profile
|
|
714
|
+
* without a warning.
|
|
715
|
+
*/
|
|
466
716
|
isUnsafePath?: boolean;
|
|
717
|
+
/**
|
|
718
|
+
* An additional unsafe path that must exist, for example a script that appears in {@link args}.
|
|
719
|
+
*/
|
|
467
720
|
requiresUnsafePath?: string;
|
|
468
721
|
isAutoDetected?: boolean;
|
|
722
|
+
/**
|
|
723
|
+
* Whether the profile path was found on the `$PATH` environment variable, if so it will be
|
|
724
|
+
* cleaner to display this profile in the UI using only `basename(path)`.
|
|
725
|
+
*/
|
|
469
726
|
isFromPath?: boolean;
|
|
470
727
|
args?: string | string[] | undefined;
|
|
471
728
|
env?: ITerminalEnvironment;
|
|
@@ -477,6 +734,9 @@ export interface ITerminalProfile {
|
|
|
477
734
|
};
|
|
478
735
|
}
|
|
479
736
|
export interface ITerminalDimensionsOverride extends Readonly<ITerminalDimensions> {
|
|
737
|
+
/**
|
|
738
|
+
* indicate that xterm must receive these exact dimensions, even if they overflow the ui!
|
|
739
|
+
*/
|
|
480
740
|
forceExactSize?: boolean;
|
|
481
741
|
}
|
|
482
742
|
export declare enum ProfileSource {
|
|
@@ -534,19 +794,51 @@ export interface ITerminalContributions {
|
|
|
534
794
|
profiles?: ITerminalProfileContribution[];
|
|
535
795
|
}
|
|
536
796
|
export declare enum ShellIntegrationStatus {
|
|
797
|
+
/** No shell integration sequences have been encountered. */
|
|
537
798
|
Off = 0,
|
|
799
|
+
/** Final term shell integration sequences have been encountered. */
|
|
538
800
|
FinalTerm = 1,
|
|
801
|
+
/** VS Code shell integration sequences have been encountered. Supercedes FinalTerm. */
|
|
539
802
|
VSCode = 2
|
|
540
803
|
}
|
|
541
804
|
export declare enum ShellIntegrationInjectionFailureReason {
|
|
805
|
+
/**
|
|
806
|
+
* The setting is disabled.
|
|
807
|
+
*/
|
|
542
808
|
InjectionSettingDisabled = "injectionSettingDisabled",
|
|
809
|
+
/**
|
|
810
|
+
* There is no executable (so there's no way to determine how to inject).
|
|
811
|
+
*/
|
|
543
812
|
NoExecutable = "noExecutable",
|
|
813
|
+
/**
|
|
814
|
+
* It's a feature terminal (tasks, debug), unless it's explicitly being forced.
|
|
815
|
+
*/
|
|
544
816
|
FeatureTerminal = "featureTerminal",
|
|
817
|
+
/**
|
|
818
|
+
* The ignoreShellIntegration flag is passed (eg. relaunching without shell integration).
|
|
819
|
+
*/
|
|
545
820
|
IgnoreShellIntegrationFlag = "ignoreShellIntegrationFlag",
|
|
821
|
+
/**
|
|
822
|
+
* Shell integration doesn't work with winpty.
|
|
823
|
+
*/
|
|
546
824
|
Winpty = "winpty",
|
|
825
|
+
/**
|
|
826
|
+
* We're conservative whether we inject when we don't recognize the arguments used for the
|
|
827
|
+
* shell as we would prefer launching one without shell integration than breaking their profile.
|
|
828
|
+
*/
|
|
547
829
|
UnsupportedArgs = "unsupportedArgs",
|
|
830
|
+
/**
|
|
831
|
+
* The shell doesn't have built-in shell integration. Note that this doesn't mean the shell
|
|
832
|
+
* won't have shell integration in the end.
|
|
833
|
+
*/
|
|
548
834
|
UnsupportedShell = "unsupportedShell",
|
|
835
|
+
/**
|
|
836
|
+
* For zsh, we failed to set the sticky bit on the shell integration script folder.
|
|
837
|
+
*/
|
|
549
838
|
FailedToSetStickyBit = "failedToSetStickyBit",
|
|
839
|
+
/**
|
|
840
|
+
* For zsh, we failed to create a temp directory for the shell integration script.
|
|
841
|
+
*/
|
|
550
842
|
FailedToCreateTmpDir = "failedToCreateTmpDir"
|
|
551
843
|
}
|
|
552
844
|
export declare enum TerminalExitReason {
|
|
@@ -560,11 +852,32 @@ export interface ITerminalOutputMatch {
|
|
|
560
852
|
regexMatch: RegExpMatchArray;
|
|
561
853
|
outputLines: string[];
|
|
562
854
|
}
|
|
855
|
+
/**
|
|
856
|
+
* A matcher that runs on a sub-section of a terminal command's output
|
|
857
|
+
*/
|
|
563
858
|
export interface ITerminalOutputMatcher {
|
|
859
|
+
/**
|
|
860
|
+
* A string or regex to match against the unwrapped line. If this is a regex with the multiline
|
|
861
|
+
* flag, it will scan an amount of lines equal to `\n` instances in the regex + 1.
|
|
862
|
+
*/
|
|
564
863
|
lineMatcher: string | RegExp;
|
|
864
|
+
/**
|
|
865
|
+
* Which side of the output to anchor the {@link offset} and {@link length} against.
|
|
866
|
+
*/
|
|
565
867
|
anchor: "top" | "bottom";
|
|
868
|
+
/**
|
|
869
|
+
* The number of rows above or below the {@link anchor} to start matching against.
|
|
870
|
+
*/
|
|
566
871
|
offset: number;
|
|
872
|
+
/**
|
|
873
|
+
* The number of rows to match against, this should be as small as possible for performance
|
|
874
|
+
* reasons. This is capped at 40.
|
|
875
|
+
*/
|
|
567
876
|
length: number;
|
|
877
|
+
/**
|
|
878
|
+
* If multiple matches are expected - this will result in {@link outputLines} being returned
|
|
879
|
+
* when there's a {@link regexMatch} from {@link offset} to {@link length}
|
|
880
|
+
*/
|
|
568
881
|
multipleMatches?: boolean;
|
|
569
882
|
}
|
|
570
883
|
export interface ITerminalCommandSelector {
|
|
@@ -578,10 +891,29 @@ export interface ITerminalCommandSelector {
|
|
|
578
891
|
export interface ITerminalBackend extends ITerminalBackendPtyServiceContributions {
|
|
579
892
|
readonly remoteAuthority: string | undefined;
|
|
580
893
|
readonly isResponsive: boolean;
|
|
894
|
+
/**
|
|
895
|
+
* A promise that resolves when the backend is ready to be used, ie. after terminal persistence
|
|
896
|
+
* has been actioned.
|
|
897
|
+
*/
|
|
581
898
|
readonly whenReady: Promise<void>;
|
|
899
|
+
/**
|
|
900
|
+
* Signal to the backend that persistence has been actioned and is ready for use.
|
|
901
|
+
*/
|
|
582
902
|
setReady(): void;
|
|
903
|
+
/**
|
|
904
|
+
* Fired when the ptyHost process becomes non-responsive, this should disable stdin for all
|
|
905
|
+
* terminals using this pty host connection and mark them as disconnected.
|
|
906
|
+
*/
|
|
583
907
|
onPtyHostUnresponsive: Event<void>;
|
|
908
|
+
/**
|
|
909
|
+
* Fired when the ptyHost process becomes responsive after being non-responsive. Allowing
|
|
910
|
+
* previously disconnected terminals to reconnect.
|
|
911
|
+
*/
|
|
584
912
|
onPtyHostResponsive: Event<void>;
|
|
913
|
+
/**
|
|
914
|
+
* Fired when the ptyHost has been restarted, this is used as a signal for listening terminals
|
|
915
|
+
* that its pty has been lost and will remain disconnected.
|
|
916
|
+
*/
|
|
585
917
|
onPtyHostRestart: Event<void>;
|
|
586
918
|
onDidRequestDetach: Event<{
|
|
587
919
|
requestId: number;
|
|
@@ -622,9 +954,18 @@ export declare class TerminalBackendChangeEvent {
|
|
|
622
954
|
affects(remoteAuthority?: string): boolean;
|
|
623
955
|
}
|
|
624
956
|
export interface ITerminalBackendRegistry {
|
|
957
|
+
/**
|
|
958
|
+
* Gets all backends in the registry.
|
|
959
|
+
*/
|
|
625
960
|
backends: ReadonlyMap<string, ITerminalBackend>;
|
|
626
961
|
onDidChangeBackends: Event<TerminalBackendChangeEvent>;
|
|
962
|
+
/**
|
|
963
|
+
* Registers a terminal backend for a remote authority.
|
|
964
|
+
*/
|
|
627
965
|
registerTerminalBackend(backend: ITerminalBackend): void;
|
|
966
|
+
/**
|
|
967
|
+
* Returns the registered terminal backend for a remote authority.
|
|
968
|
+
*/
|
|
628
969
|
getTerminalBackend(remoteAuthority?: string): ITerminalBackend | undefined;
|
|
629
970
|
}
|
|
630
971
|
export {};
|
|
@@ -5,6 +5,9 @@ import { ILogService } from "../../log/common/log.service.js";
|
|
|
5
5
|
import { IPtyHostProcessReplayEvent } from "@codingame/monaco-vscode-a9da9abe-278d-5ce6-9418-99c7c07c5c37-common/vscode/vs/platform/terminal/common/capabilities/capabilities";
|
|
6
6
|
import { IProcessDataEvent, IProcessReadyEvent, IProcessProperty, IShellLaunchConfig, ITerminalProcessOptions, IPtyHostLatencyMeasurement, ITerminalLaunchError, ITerminalLaunchResult, TitleEventSource, TerminalIcon, ITerminalsLayoutInfo, ISerializedTerminalState, ProcessPropertyType, IProcessPropertyMap, type IPtyHostService } from "./terminal.js";
|
|
7
7
|
import { IProcessDetails, ISetTerminalLayoutInfoArgs, IGetTerminalLayoutInfoArgs } from "./terminalProcess.js";
|
|
8
|
+
/**
|
|
9
|
+
* A service that communicates with a pty host.
|
|
10
|
+
*/
|
|
8
11
|
export interface IPtyService {
|
|
9
12
|
readonly _serviceBrand: undefined;
|
|
10
13
|
readonly onProcessData: Event<{
|
|
@@ -39,8 +42,14 @@ export interface IPtyService {
|
|
|
39
42
|
attachToProcess(id: number): Promise<void>;
|
|
40
43
|
detachFromProcess(id: number, forcePersist?: boolean): Promise<void>;
|
|
41
44
|
shutdownAll(): Promise<void>;
|
|
45
|
+
/**
|
|
46
|
+
* Lists all orphaned processes, ie. those without a connected frontend.
|
|
47
|
+
*/
|
|
42
48
|
listProcesses(): Promise<IProcessDetails[]>;
|
|
43
49
|
getPerformanceMarks(): Promise<performance.PerformanceMark[]>;
|
|
50
|
+
/**
|
|
51
|
+
* Measures and returns the latency of the current and all other processes to the pty host.
|
|
52
|
+
*/
|
|
44
53
|
getLatency(): Promise<IPtyHostLatencyMeasurement[]>;
|
|
45
54
|
start(id: number): Promise<ITerminalLaunchError | ITerminalLaunchResult | undefined>;
|
|
46
55
|
shutdown(id: number, immediate: boolean): Promise<void>;
|
|
@@ -53,6 +62,7 @@ export interface IPtyService {
|
|
|
53
62
|
acknowledgeDataEvent(id: number, charCount: number): Promise<void>;
|
|
54
63
|
setUnicodeVersion(id: number, version: "6" | "11"): Promise<void>;
|
|
55
64
|
processBinary(id: number, data: string): Promise<void>;
|
|
65
|
+
/** Confirm the process is _not_ an orphan. */
|
|
56
66
|
orphanQuestionReply(id: number): Promise<void>;
|
|
57
67
|
updateTitle(id: number, title: string, titleSource: TitleEventSource): Promise<void>;
|
|
58
68
|
updateIcon(id: number, userInitiated: boolean, icon: TerminalIcon, color?: string): Promise<void>;
|
|
@@ -69,7 +79,15 @@ export interface IPtyService {
|
|
|
69
79
|
port: string;
|
|
70
80
|
processId: string;
|
|
71
81
|
}>;
|
|
82
|
+
/**
|
|
83
|
+
* Serializes and returns terminal state.
|
|
84
|
+
* @param ids The persistent terminal IDs to serialize.
|
|
85
|
+
*/
|
|
72
86
|
serializeTerminalState(ids: number[]): Promise<string>;
|
|
87
|
+
/**
|
|
88
|
+
* Revives a workspaces terminal processes, these can then be reconnected to using the normal
|
|
89
|
+
* flow for restoring terminals after reloading.
|
|
90
|
+
*/
|
|
73
91
|
reviveTerminalProcesses(workspaceId: string, state: ISerializedTerminalState[], dateTimeFormatLocate: string): Promise<void>;
|
|
74
92
|
refreshProperty<T extends ProcessPropertyType>(id: number, property: T): Promise<IProcessPropertyMap[T]>;
|
|
75
93
|
updateProperty<T extends ProcessPropertyType>(id: number, property: T, value: IProcessPropertyMap[T]): Promise<void>;
|
|
@@ -79,9 +97,19 @@ export interface IPtyService {
|
|
|
79
97
|
}
|
|
80
98
|
export declare const IPtyService: import("../../instantiation/common/instantiation.js").ServiceIdentifier<IPtyService>;
|
|
81
99
|
export declare const ILocalPtyService: import("../../instantiation/common/instantiation.js").ServiceIdentifier<ILocalPtyService>;
|
|
100
|
+
/**
|
|
101
|
+
* A service responsible for communicating with the pty host process on Electron.
|
|
102
|
+
*
|
|
103
|
+
* **This service should only be used within the terminal component.**
|
|
104
|
+
*/
|
|
82
105
|
export interface ILocalPtyService extends IPtyHostService {
|
|
83
106
|
}
|
|
84
107
|
export declare const ITerminalLogService: import("../../instantiation/common/instantiation.js").ServiceIdentifier<ITerminalLogService>;
|
|
85
108
|
export interface ITerminalLogService extends ILogService {
|
|
109
|
+
/**
|
|
110
|
+
* Similar to _serviceBrand but used to differentiate this service at compile time from
|
|
111
|
+
* ILogService; ITerminalLogService is an ILogService, but ILogService is not an
|
|
112
|
+
* ITerminalLogService.
|
|
113
|
+
*/
|
|
86
114
|
readonly _logBrand: undefined;
|
|
87
115
|
}
|
|
@@ -57,4 +57,8 @@ export interface ReplayEntry {
|
|
|
57
57
|
rows: number;
|
|
58
58
|
data: string;
|
|
59
59
|
}
|
|
60
|
+
/**
|
|
61
|
+
* Splits incoming pty data into chunks to try prevent data corruption that could occur when pasting
|
|
62
|
+
* large amounts of data.
|
|
63
|
+
*/
|
|
60
64
|
export declare function chunkInput(data: string): string[];
|