@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
|
@@ -32,16 +32,43 @@ export interface IFindGroupScope {
|
|
|
32
32
|
readonly location?: GroupLocation;
|
|
33
33
|
}
|
|
34
34
|
export declare enum GroupsArrangement {
|
|
35
|
+
/**
|
|
36
|
+
* Make the current active group consume the entire
|
|
37
|
+
* editor area.
|
|
38
|
+
*/
|
|
35
39
|
MAXIMIZE = 0,
|
|
40
|
+
/**
|
|
41
|
+
* Make the current active group consume the maximum
|
|
42
|
+
* amount of space possible.
|
|
43
|
+
*/
|
|
36
44
|
EXPAND = 1,
|
|
45
|
+
/**
|
|
46
|
+
* Size all groups evenly.
|
|
47
|
+
*/
|
|
37
48
|
EVEN = 2
|
|
38
49
|
}
|
|
39
50
|
export interface GroupLayoutArgument {
|
|
51
|
+
/**
|
|
52
|
+
* Only applies when there are multiple groups
|
|
53
|
+
* arranged next to each other in a row or column.
|
|
54
|
+
* If provided, their sum must be 1 to be applied
|
|
55
|
+
* per row or column.
|
|
56
|
+
*/
|
|
40
57
|
readonly size?: number;
|
|
58
|
+
/**
|
|
59
|
+
* Editor groups will be laid out orthogonal to the
|
|
60
|
+
* parent orientation.
|
|
61
|
+
*/
|
|
41
62
|
readonly groups?: GroupLayoutArgument[];
|
|
42
63
|
}
|
|
43
64
|
export interface EditorGroupLayout {
|
|
65
|
+
/**
|
|
66
|
+
* The initial orientation of the editor groups at the root.
|
|
67
|
+
*/
|
|
44
68
|
readonly orientation: GroupOrientation;
|
|
69
|
+
/**
|
|
70
|
+
* The editor groups at the root of the layout.
|
|
71
|
+
*/
|
|
45
72
|
readonly groups: GroupLayoutArgument[];
|
|
46
73
|
}
|
|
47
74
|
export declare enum MergeGroupMode {
|
|
@@ -51,6 +78,11 @@ export declare enum MergeGroupMode {
|
|
|
51
78
|
export interface IMergeGroupOptions {
|
|
52
79
|
mode?: MergeGroupMode;
|
|
53
80
|
readonly index?: number;
|
|
81
|
+
/**
|
|
82
|
+
* Set this to prevent editors already present in the
|
|
83
|
+
* target group from moving to a different index as
|
|
84
|
+
* they are in the source group.
|
|
85
|
+
*/
|
|
54
86
|
readonly preserveExistingIndex?: boolean;
|
|
55
87
|
}
|
|
56
88
|
export interface ICloseEditorOptions {
|
|
@@ -70,78 +102,316 @@ export interface IEditorReplacement {
|
|
|
70
102
|
readonly editor: EditorInput;
|
|
71
103
|
readonly replacement: EditorInput;
|
|
72
104
|
readonly options?: IEditorOptions;
|
|
105
|
+
/**
|
|
106
|
+
* Skips asking the user for confirmation and doesn't
|
|
107
|
+
* save the document. Only use this if you really need to!
|
|
108
|
+
*/
|
|
73
109
|
readonly forceReplaceDirty?: boolean;
|
|
74
110
|
}
|
|
75
111
|
export declare function isEditorReplacement(replacement: unknown): replacement is IEditorReplacement;
|
|
76
112
|
export declare enum GroupsOrder {
|
|
113
|
+
/**
|
|
114
|
+
* Groups sorted by creation order (oldest one first)
|
|
115
|
+
*/
|
|
77
116
|
CREATION_TIME = 0,
|
|
117
|
+
/**
|
|
118
|
+
* Groups sorted by most recent activity (most recent active first)
|
|
119
|
+
*/
|
|
78
120
|
MOST_RECENTLY_ACTIVE = 1,
|
|
121
|
+
/**
|
|
122
|
+
* Groups sorted by grid widget order
|
|
123
|
+
*/
|
|
79
124
|
GRID_APPEARANCE = 2
|
|
80
125
|
}
|
|
81
126
|
export interface IEditorSideGroup {
|
|
127
|
+
/**
|
|
128
|
+
* Open an editor in this group.
|
|
129
|
+
*
|
|
130
|
+
* @returns a promise that resolves around an IEditor instance unless
|
|
131
|
+
* the call failed, or the editor was not opened as active editor.
|
|
132
|
+
*/
|
|
82
133
|
openEditor(editor: EditorInput, options?: IEditorOptions): Promise<IEditorPane | undefined>;
|
|
83
134
|
}
|
|
84
135
|
export interface IEditorDropTargetDelegate {
|
|
136
|
+
/**
|
|
137
|
+
* A helper to figure out if the drop target contains the provided group.
|
|
138
|
+
*/
|
|
85
139
|
containsGroup?(groupView: IEditorGroup): boolean;
|
|
86
140
|
}
|
|
141
|
+
/**
|
|
142
|
+
* The basic primitive to work with editor groups. This interface is both implemented
|
|
143
|
+
* by editor part component as well as the editor groups service that operates across
|
|
144
|
+
* all opened editor parts.
|
|
145
|
+
*/
|
|
87
146
|
export interface IEditorGroupsContainer {
|
|
147
|
+
/**
|
|
148
|
+
* An event for when the active editor group changes. The active editor
|
|
149
|
+
* group is the default location for new editors to open.
|
|
150
|
+
*/
|
|
88
151
|
readonly onDidChangeActiveGroup: Event<IEditorGroup>;
|
|
152
|
+
/**
|
|
153
|
+
* An event for when a new group was added.
|
|
154
|
+
*/
|
|
89
155
|
readonly onDidAddGroup: Event<IEditorGroup>;
|
|
156
|
+
/**
|
|
157
|
+
* An event for when a group was removed.
|
|
158
|
+
*/
|
|
90
159
|
readonly onDidRemoveGroup: Event<IEditorGroup>;
|
|
160
|
+
/**
|
|
161
|
+
* An event for when a group was moved.
|
|
162
|
+
*/
|
|
91
163
|
readonly onDidMoveGroup: Event<IEditorGroup>;
|
|
164
|
+
/**
|
|
165
|
+
* An event for when a group gets activated.
|
|
166
|
+
*/
|
|
92
167
|
readonly onDidActivateGroup: Event<IEditorGroup>;
|
|
168
|
+
/**
|
|
169
|
+
* An event for when the index of a group changes.
|
|
170
|
+
*/
|
|
93
171
|
readonly onDidChangeGroupIndex: Event<IEditorGroup>;
|
|
172
|
+
/**
|
|
173
|
+
* An event for when the locked state of a group changes.
|
|
174
|
+
*/
|
|
94
175
|
readonly onDidChangeGroupLocked: Event<IEditorGroup>;
|
|
176
|
+
/**
|
|
177
|
+
* An event for when the maximized state of a group changes.
|
|
178
|
+
*/
|
|
95
179
|
readonly onDidChangeGroupMaximized: Event<boolean>;
|
|
180
|
+
/**
|
|
181
|
+
* An event that notifies when container options change.
|
|
182
|
+
*/
|
|
96
183
|
readonly onDidChangeEditorPartOptions: Event<IEditorPartOptionsChangeEvent>;
|
|
184
|
+
/**
|
|
185
|
+
* A property that indicates when groups have been created
|
|
186
|
+
* and are ready to be used in the container.
|
|
187
|
+
*/
|
|
97
188
|
readonly isReady: boolean;
|
|
189
|
+
/**
|
|
190
|
+
* A promise that resolves when groups have been created
|
|
191
|
+
* and are ready to be used in the container.
|
|
192
|
+
*
|
|
193
|
+
* Await this promise to safely work on the editor groups model
|
|
194
|
+
* (for example, install editor group listeners).
|
|
195
|
+
*
|
|
196
|
+
* Use the `whenRestored` property to await visible editors
|
|
197
|
+
* having fully resolved.
|
|
198
|
+
*/
|
|
98
199
|
readonly whenReady: Promise<void>;
|
|
200
|
+
/**
|
|
201
|
+
* A promise that resolves when groups have been restored in
|
|
202
|
+
* the container.
|
|
203
|
+
*
|
|
204
|
+
* For groups with active editor, the promise will resolve
|
|
205
|
+
* when the visible editor has finished to resolve.
|
|
206
|
+
*
|
|
207
|
+
* Use the `whenReady` property to not await editors to
|
|
208
|
+
* resolve.
|
|
209
|
+
*/
|
|
99
210
|
readonly whenRestored: Promise<void>;
|
|
211
|
+
/**
|
|
212
|
+
* Find out if the container has UI state to restore
|
|
213
|
+
* from a previous session.
|
|
214
|
+
*/
|
|
100
215
|
readonly hasRestorableState: boolean;
|
|
216
|
+
/**
|
|
217
|
+
* An active group is the default location for new editors to open.
|
|
218
|
+
*/
|
|
101
219
|
readonly activeGroup: IEditorGroup;
|
|
220
|
+
/**
|
|
221
|
+
* A side group allows a subset of methods on a group that is either
|
|
222
|
+
* created to the side or picked if already there.
|
|
223
|
+
*/
|
|
102
224
|
readonly sideGroup: IEditorSideGroup;
|
|
225
|
+
/**
|
|
226
|
+
* All groups that are currently visible in the container in the order
|
|
227
|
+
* of their creation (oldest first).
|
|
228
|
+
*/
|
|
103
229
|
readonly groups: readonly IEditorGroup[];
|
|
230
|
+
/**
|
|
231
|
+
* The number of editor groups that are currently opened in the
|
|
232
|
+
* container.
|
|
233
|
+
*/
|
|
104
234
|
readonly count: number;
|
|
235
|
+
/**
|
|
236
|
+
* The current layout orientation of the root group.
|
|
237
|
+
*/
|
|
105
238
|
readonly orientation: GroupOrientation;
|
|
239
|
+
/**
|
|
240
|
+
* Access the options of the container.
|
|
241
|
+
*/
|
|
106
242
|
readonly partOptions: IEditorPartOptions;
|
|
243
|
+
/**
|
|
244
|
+
* Enforce container options temporarily.
|
|
245
|
+
*/
|
|
107
246
|
enforcePartOptions(options: DeepPartial<IEditorPartOptions>): IDisposable;
|
|
247
|
+
/**
|
|
248
|
+
* Get all groups that are currently visible in the container.
|
|
249
|
+
*
|
|
250
|
+
* @param order the order of the editors to use
|
|
251
|
+
*/
|
|
108
252
|
getGroups(order: GroupsOrder): readonly IEditorGroup[];
|
|
253
|
+
/**
|
|
254
|
+
* Allows to convert a group identifier to a group.
|
|
255
|
+
*/
|
|
109
256
|
getGroup(identifier: GroupIdentifier): IEditorGroup | undefined;
|
|
257
|
+
/**
|
|
258
|
+
* Set a group as active. An active group is the default location for new editors to open.
|
|
259
|
+
*/
|
|
110
260
|
activateGroup(group: IEditorGroup | GroupIdentifier): IEditorGroup;
|
|
261
|
+
/**
|
|
262
|
+
* Returns the size of a group.
|
|
263
|
+
*/
|
|
111
264
|
getSize(group: IEditorGroup | GroupIdentifier): {
|
|
112
265
|
width: number;
|
|
113
266
|
height: number;
|
|
114
267
|
};
|
|
268
|
+
/**
|
|
269
|
+
* Sets the size of a group.
|
|
270
|
+
*/
|
|
115
271
|
setSize(group: IEditorGroup | GroupIdentifier, size: {
|
|
116
272
|
width: number;
|
|
117
273
|
height: number;
|
|
118
274
|
}): void;
|
|
275
|
+
/**
|
|
276
|
+
* Arrange all groups in the container according to the provided arrangement.
|
|
277
|
+
*/
|
|
119
278
|
arrangeGroups(arrangement: GroupsArrangement, target?: IEditorGroup | GroupIdentifier): void;
|
|
279
|
+
/**
|
|
280
|
+
* Toggles the target goup size to maximize/unmaximize.
|
|
281
|
+
*/
|
|
120
282
|
toggleMaximizeGroup(group?: IEditorGroup | GroupIdentifier): void;
|
|
283
|
+
/**
|
|
284
|
+
* Toggles the target goup size to expand/distribute even.
|
|
285
|
+
*/
|
|
121
286
|
toggleExpandGroup(group?: IEditorGroup | GroupIdentifier): void;
|
|
287
|
+
/**
|
|
288
|
+
* Applies the provided layout by either moving existing groups or creating new groups.
|
|
289
|
+
*/
|
|
122
290
|
applyLayout(layout: EditorGroupLayout): void;
|
|
291
|
+
/**
|
|
292
|
+
* Returns an editor layout of the container.
|
|
293
|
+
*/
|
|
123
294
|
getLayout(): EditorGroupLayout;
|
|
295
|
+
/**
|
|
296
|
+
* Sets the orientation of the root group to be either vertical or horizontal.
|
|
297
|
+
*/
|
|
124
298
|
setGroupOrientation(orientation: GroupOrientation): void;
|
|
299
|
+
/**
|
|
300
|
+
* Find a group in a specific scope:
|
|
301
|
+
* * `GroupLocation.FIRST`: the first group
|
|
302
|
+
* * `GroupLocation.LAST`: the last group
|
|
303
|
+
* * `GroupLocation.NEXT`: the next group from either the active one or `source`
|
|
304
|
+
* * `GroupLocation.PREVIOUS`: the previous group from either the active one or `source`
|
|
305
|
+
* * `GroupDirection.UP`: the next group above the active one or `source`
|
|
306
|
+
* * `GroupDirection.DOWN`: the next group below the active one or `source`
|
|
307
|
+
* * `GroupDirection.LEFT`: the next group to the left of the active one or `source`
|
|
308
|
+
* * `GroupDirection.RIGHT`: the next group to the right of the active one or `source`
|
|
309
|
+
*
|
|
310
|
+
* @param scope the scope of the group to search in
|
|
311
|
+
* @param source optional source to search from
|
|
312
|
+
* @param wrap optionally wrap around if reaching the edge of groups
|
|
313
|
+
*/
|
|
125
314
|
findGroup(scope: IFindGroupScope, source?: IEditorGroup | GroupIdentifier, wrap?: boolean): IEditorGroup | undefined;
|
|
315
|
+
/**
|
|
316
|
+
* Add a new group to the container. A new group is added by splitting a provided one in
|
|
317
|
+
* one of the four directions.
|
|
318
|
+
*
|
|
319
|
+
* @param location the group from which to split to add a new group
|
|
320
|
+
* @param direction the direction of where to split to
|
|
321
|
+
*/
|
|
126
322
|
addGroup(location: IEditorGroup | GroupIdentifier, direction: GroupDirection): IEditorGroup;
|
|
323
|
+
/**
|
|
324
|
+
* Remove a group from the container.
|
|
325
|
+
*/
|
|
127
326
|
removeGroup(group: IEditorGroup | GroupIdentifier): void;
|
|
327
|
+
/**
|
|
328
|
+
* Move a group to a new group in the container.
|
|
329
|
+
*
|
|
330
|
+
* @param group the group to move
|
|
331
|
+
* @param location the group from which to split to add the moved group
|
|
332
|
+
* @param direction the direction of where to split to
|
|
333
|
+
*/
|
|
128
334
|
moveGroup(group: IEditorGroup | GroupIdentifier, location: IEditorGroup | GroupIdentifier, direction: GroupDirection): IEditorGroup;
|
|
335
|
+
/**
|
|
336
|
+
* Merge the editors of a group into a target group. By default, all editors will
|
|
337
|
+
* move and the source group will close. This behaviour can be configured via the
|
|
338
|
+
* `IMergeGroupOptions` options.
|
|
339
|
+
*
|
|
340
|
+
* @param group the group to merge
|
|
341
|
+
* @param target the target group to merge into
|
|
342
|
+
* @param options controls how the merge should be performed. by default all editors
|
|
343
|
+
* will be moved over to the target and the source group will close. Configure to
|
|
344
|
+
* `MOVE_EDITORS_KEEP_GROUP` to prevent the source group from closing. Set to
|
|
345
|
+
* `COPY_EDITORS` to copy the editors into the target instead of moding them.
|
|
346
|
+
*
|
|
347
|
+
* @returns if merging was successful
|
|
348
|
+
*/
|
|
129
349
|
mergeGroup(group: IEditorGroup | GroupIdentifier, target: IEditorGroup | GroupIdentifier, options?: IMergeGroupOptions): boolean;
|
|
350
|
+
/**
|
|
351
|
+
* Merge all editor groups into the target one.
|
|
352
|
+
*
|
|
353
|
+
* @returns if merging was successful
|
|
354
|
+
*/
|
|
130
355
|
mergeAllGroups(target: IEditorGroup | GroupIdentifier): boolean;
|
|
356
|
+
/**
|
|
357
|
+
* Copy a group to a new group in the container.
|
|
358
|
+
*
|
|
359
|
+
* @param group the group to copy
|
|
360
|
+
* @param location the group from which to split to add the copied group
|
|
361
|
+
* @param direction the direction of where to split to
|
|
362
|
+
*/
|
|
131
363
|
copyGroup(group: IEditorGroup | GroupIdentifier, location: IEditorGroup | GroupIdentifier, direction: GroupDirection): IEditorGroup;
|
|
364
|
+
/**
|
|
365
|
+
* Allows to register a drag and drop target for editors
|
|
366
|
+
* on the provided `container`.
|
|
367
|
+
*/
|
|
132
368
|
createEditorDropTarget(container: unknown, delegate: IEditorDropTargetDelegate): IDisposable;
|
|
133
369
|
}
|
|
370
|
+
/**
|
|
371
|
+
* An editor part is a viewer of editor groups. There can be multiple editor
|
|
372
|
+
* parts opened in multiple windows.
|
|
373
|
+
*/
|
|
134
374
|
export interface IEditorPart extends IEditorGroupsContainer {
|
|
375
|
+
/**
|
|
376
|
+
* An event for when the editor part is layed out.
|
|
377
|
+
*/
|
|
135
378
|
readonly onDidLayout: Event<IDimension>;
|
|
379
|
+
/**
|
|
380
|
+
* An event for when the editor part is scrolled.
|
|
381
|
+
*/
|
|
136
382
|
readonly onDidScroll: Event<void>;
|
|
383
|
+
/**
|
|
384
|
+
* An event for when the editor part is disposed.
|
|
385
|
+
*/
|
|
137
386
|
readonly onWillDispose: Event<void>;
|
|
387
|
+
/**
|
|
388
|
+
* The identifier of the window the editor part is contained in.
|
|
389
|
+
*/
|
|
138
390
|
readonly windowId: number;
|
|
391
|
+
/**
|
|
392
|
+
* The size of the editor part.
|
|
393
|
+
*/
|
|
139
394
|
readonly contentDimension: IDimension;
|
|
395
|
+
/**
|
|
396
|
+
* Find out if an editor group is currently maximized.
|
|
397
|
+
*/
|
|
140
398
|
hasMaximizedGroup(): boolean;
|
|
399
|
+
/**
|
|
400
|
+
* Enable or disable centered editor layout.
|
|
401
|
+
*/
|
|
141
402
|
centerLayout(active: boolean): void;
|
|
403
|
+
/**
|
|
404
|
+
* Find out if the editor layout is currently centered.
|
|
405
|
+
*/
|
|
142
406
|
isLayoutCentered(): boolean;
|
|
143
407
|
}
|
|
144
408
|
export interface IAuxiliaryEditorPart extends IEditorPart {
|
|
409
|
+
/**
|
|
410
|
+
* Close this auxiliary editor part after moving all
|
|
411
|
+
* editors of all groups back to the main editor part.
|
|
412
|
+
*
|
|
413
|
+
* @returns `false` if an editor could not be moved back.
|
|
414
|
+
*/
|
|
145
415
|
close(): boolean;
|
|
146
416
|
}
|
|
147
417
|
export interface IEditorWorkingSet {
|
|
@@ -152,8 +422,17 @@ export interface IEditorWorkingSetOptions {
|
|
|
152
422
|
readonly preserveFocus?: boolean;
|
|
153
423
|
}
|
|
154
424
|
export interface IEditorGroupContextKeyProvider<T extends ContextKeyValue> {
|
|
425
|
+
/**
|
|
426
|
+
* The context key that needs to be set for each editor group context and the global context.
|
|
427
|
+
*/
|
|
155
428
|
readonly contextKey: RawContextKey<T>;
|
|
429
|
+
/**
|
|
430
|
+
* Retrieves the context key value for the given editor group.
|
|
431
|
+
*/
|
|
156
432
|
readonly getGroupContextKeyValue: (group: IEditorGroup) => T;
|
|
433
|
+
/**
|
|
434
|
+
* An event that is fired when there was a change leading to the context key value to be re-evaluated.
|
|
435
|
+
*/
|
|
157
436
|
readonly onDidChange?: Event<void>;
|
|
158
437
|
}
|
|
159
438
|
export declare enum OpenEditorContext {
|
|
@@ -166,60 +445,292 @@ export interface IActiveEditorActions {
|
|
|
166
445
|
readonly onDidChange: Event<IMenuChangeEvent | void>;
|
|
167
446
|
}
|
|
168
447
|
export interface IEditorGroup {
|
|
448
|
+
/**
|
|
449
|
+
* An event which fires whenever the underlying group model changes.
|
|
450
|
+
*/
|
|
169
451
|
readonly onDidModelChange: Event<IGroupModelChangeEvent>;
|
|
452
|
+
/**
|
|
453
|
+
* An event that is fired when the group gets disposed.
|
|
454
|
+
*/
|
|
170
455
|
readonly onWillDispose: Event<void>;
|
|
456
|
+
/**
|
|
457
|
+
* An event that is fired when the active editor in the group changed.
|
|
458
|
+
*/
|
|
171
459
|
readonly onDidActiveEditorChange: Event<IActiveEditorChangeEvent>;
|
|
460
|
+
/**
|
|
461
|
+
* An event that is fired when an editor is about to close.
|
|
462
|
+
*/
|
|
172
463
|
readonly onWillCloseEditor: Event<IEditorCloseEvent>;
|
|
464
|
+
/**
|
|
465
|
+
* An event that is fired when an editor is closed.
|
|
466
|
+
*/
|
|
173
467
|
readonly onDidCloseEditor: Event<IEditorCloseEvent>;
|
|
468
|
+
/**
|
|
469
|
+
* An event that is fired when an editor is about to move to
|
|
470
|
+
* a different group.
|
|
471
|
+
*/
|
|
174
472
|
readonly onWillMoveEditor: Event<IEditorWillMoveEvent>;
|
|
473
|
+
/**
|
|
474
|
+
* A unique identifier of this group that remains identical even if the
|
|
475
|
+
* group is moved to different locations.
|
|
476
|
+
*/
|
|
175
477
|
readonly id: GroupIdentifier;
|
|
478
|
+
/**
|
|
479
|
+
* The identifier of the window this editor group is part of.
|
|
480
|
+
*/
|
|
176
481
|
readonly windowId: number;
|
|
482
|
+
/**
|
|
483
|
+
* A number that indicates the position of this group in the visual
|
|
484
|
+
* order of groups from left to right and top to bottom. The lowest
|
|
485
|
+
* index will likely be top-left while the largest index in most
|
|
486
|
+
* cases should be bottom-right, but that depends on the grid.
|
|
487
|
+
*/
|
|
177
488
|
readonly index: number;
|
|
489
|
+
/**
|
|
490
|
+
* A human readable label for the group. This label can change depending
|
|
491
|
+
* on the layout of all editor groups. Clients should listen on the
|
|
492
|
+
* `onDidGroupModelChange` event to react to that.
|
|
493
|
+
*/
|
|
178
494
|
readonly label: string;
|
|
495
|
+
/**
|
|
496
|
+
* A human readable label for the group to be used by screen readers.
|
|
497
|
+
*/
|
|
179
498
|
readonly ariaLabel: string;
|
|
499
|
+
/**
|
|
500
|
+
* The active editor pane is the currently visible editor pane of the group.
|
|
501
|
+
*/
|
|
180
502
|
readonly activeEditorPane: IVisibleEditorPane | undefined;
|
|
503
|
+
/**
|
|
504
|
+
* The active editor is the currently visible editor of the group
|
|
505
|
+
* within the current active editor pane.
|
|
506
|
+
*/
|
|
181
507
|
readonly activeEditor: EditorInput | null;
|
|
508
|
+
/**
|
|
509
|
+
* All selected editor in this group in sequential order.
|
|
510
|
+
* The active editor is always part of the selection.
|
|
511
|
+
*/
|
|
182
512
|
readonly selectedEditors: EditorInput[];
|
|
513
|
+
/**
|
|
514
|
+
* The editor in the group that is in preview mode if any. There can
|
|
515
|
+
* only ever be one editor in preview mode.
|
|
516
|
+
*/
|
|
183
517
|
readonly previewEditor: EditorInput | null;
|
|
518
|
+
/**
|
|
519
|
+
* The number of opened editors in this group.
|
|
520
|
+
*/
|
|
184
521
|
readonly count: number;
|
|
522
|
+
/**
|
|
523
|
+
* Whether the group has editors or not.
|
|
524
|
+
*/
|
|
185
525
|
readonly isEmpty: boolean;
|
|
526
|
+
/**
|
|
527
|
+
* Whether this editor group is locked or not. Locked editor groups
|
|
528
|
+
* will only be considered for editors to open in when the group is
|
|
529
|
+
* explicitly provided for the editor.
|
|
530
|
+
*
|
|
531
|
+
* Note: editor group locking only applies when more than one group
|
|
532
|
+
* is opened.
|
|
533
|
+
*/
|
|
186
534
|
readonly isLocked: boolean;
|
|
535
|
+
/**
|
|
536
|
+
* The number of sticky editors in this group.
|
|
537
|
+
*/
|
|
187
538
|
readonly stickyCount: number;
|
|
539
|
+
/**
|
|
540
|
+
* All opened editors in the group in sequential order of their appearance.
|
|
541
|
+
*/
|
|
188
542
|
readonly editors: readonly EditorInput[];
|
|
543
|
+
/**
|
|
544
|
+
* The scoped context key service for this group.
|
|
545
|
+
*/
|
|
189
546
|
readonly scopedContextKeyService: IContextKeyService;
|
|
547
|
+
/**
|
|
548
|
+
* Get all editors that are currently opened in the group.
|
|
549
|
+
*
|
|
550
|
+
* @param order the order of the editors to use
|
|
551
|
+
* @param options options to select only specific editors as instructed
|
|
552
|
+
*/
|
|
190
553
|
getEditors(order: EditorsOrder, options?: {
|
|
191
554
|
excludeSticky?: boolean;
|
|
192
555
|
}): readonly EditorInput[];
|
|
556
|
+
/**
|
|
557
|
+
* Finds all editors for the given resource that are currently
|
|
558
|
+
* opened in the group. This method will return an entry for
|
|
559
|
+
* each editor that reports a `resource` that matches the
|
|
560
|
+
* provided one.
|
|
561
|
+
*
|
|
562
|
+
* @param resource the resource of the editor to find
|
|
563
|
+
* @param options whether to support side by side editors or not
|
|
564
|
+
*/
|
|
193
565
|
findEditors(resource: URI, options?: IFindEditorOptions): readonly EditorInput[];
|
|
566
|
+
/**
|
|
567
|
+
* Returns the editor at a specific index of the group.
|
|
568
|
+
*/
|
|
194
569
|
getEditorByIndex(index: number): EditorInput | undefined;
|
|
570
|
+
/**
|
|
571
|
+
* Returns the index of the editor in the group or -1 if not opened.
|
|
572
|
+
*/
|
|
195
573
|
getIndexOfEditor(editor: EditorInput): number;
|
|
574
|
+
/**
|
|
575
|
+
* Whether the editor is the first in the group.
|
|
576
|
+
*/
|
|
196
577
|
isFirst(editor: EditorInput): boolean;
|
|
578
|
+
/**
|
|
579
|
+
* Whether the editor is the last in the group.
|
|
580
|
+
*/
|
|
197
581
|
isLast(editor: EditorInput): boolean;
|
|
582
|
+
/**
|
|
583
|
+
* Open an editor in this group.
|
|
584
|
+
*
|
|
585
|
+
* @returns a promise that resolves around an IEditor instance unless
|
|
586
|
+
* the call failed, or the editor was not opened as active editor.
|
|
587
|
+
*/
|
|
198
588
|
openEditor(editor: EditorInput, options?: IEditorOptions): Promise<IEditorPane | undefined>;
|
|
589
|
+
/**
|
|
590
|
+
* Opens editors in this group.
|
|
591
|
+
*
|
|
592
|
+
* @returns a promise that resolves around an IEditor instance unless
|
|
593
|
+
* the call failed, or the editor was not opened as active editor. Since
|
|
594
|
+
* a group can only ever have one active editor, even if many editors are
|
|
595
|
+
* opened, the result will only be one editor.
|
|
596
|
+
*/
|
|
199
597
|
openEditors(editors: EditorInputWithOptions[]): Promise<IEditorPane | undefined>;
|
|
598
|
+
/**
|
|
599
|
+
* Find out if the provided editor is pinned in the group.
|
|
600
|
+
*/
|
|
200
601
|
isPinned(editorOrIndex: EditorInput | number): boolean;
|
|
602
|
+
/**
|
|
603
|
+
* Find out if the provided editor or index of editor is sticky in the group.
|
|
604
|
+
*/
|
|
201
605
|
isSticky(editorOrIndex: EditorInput | number): boolean;
|
|
606
|
+
/**
|
|
607
|
+
* Find out if the provided editor or index of editor is transient in the group.
|
|
608
|
+
*/
|
|
202
609
|
isTransient(editorOrIndex: EditorInput | number): boolean;
|
|
610
|
+
/**
|
|
611
|
+
* Find out if the provided editor is active in the group.
|
|
612
|
+
*/
|
|
203
613
|
isActive(editor: EditorInput | IUntypedEditorInput): boolean;
|
|
614
|
+
/**
|
|
615
|
+
* Whether the editor is selected in the group.
|
|
616
|
+
*/
|
|
204
617
|
isSelected(editor: EditorInput): boolean;
|
|
618
|
+
/**
|
|
619
|
+
* Set a new selection for this group. This will replace the current
|
|
620
|
+
* selection with the new selection.
|
|
621
|
+
*
|
|
622
|
+
* @param activeSelectedEditor the editor to set as active selected editor
|
|
623
|
+
* @param inactiveSelectedEditors the inactive editors to set as selected
|
|
624
|
+
*/
|
|
205
625
|
setSelection(activeSelectedEditor: EditorInput, inactiveSelectedEditors: EditorInput[]): Promise<void>;
|
|
626
|
+
/**
|
|
627
|
+
* Find out if a certain editor is included in the group.
|
|
628
|
+
*
|
|
629
|
+
* @param candidate the editor to find
|
|
630
|
+
* @param options fine tune how to match editors
|
|
631
|
+
*/
|
|
206
632
|
contains(candidate: EditorInput | IUntypedEditorInput, options?: IMatchEditorOptions): boolean;
|
|
633
|
+
/**
|
|
634
|
+
* Move an editor from this group either within this group or to another group.
|
|
635
|
+
*
|
|
636
|
+
* @returns whether the editor was moved or not.
|
|
637
|
+
*/
|
|
207
638
|
moveEditor(editor: EditorInput, target: IEditorGroup, options?: IEditorOptions): boolean;
|
|
639
|
+
/**
|
|
640
|
+
* Move editors from this group either within this group or to another group.
|
|
641
|
+
*
|
|
642
|
+
* @returns whether all editors were moved or not.
|
|
643
|
+
*/
|
|
208
644
|
moveEditors(editors: EditorInputWithOptions[], target: IEditorGroup): boolean;
|
|
645
|
+
/**
|
|
646
|
+
* Copy an editor from this group to another group.
|
|
647
|
+
*
|
|
648
|
+
* Note: It is currently not supported to show the same editor more than once in the same group.
|
|
649
|
+
*/
|
|
209
650
|
copyEditor(editor: EditorInput, target: IEditorGroup, options?: IEditorOptions): void;
|
|
651
|
+
/**
|
|
652
|
+
* Copy editors from this group to another group.
|
|
653
|
+
*
|
|
654
|
+
* Note: It is currently not supported to show the same editor more than once in the same group.
|
|
655
|
+
*/
|
|
210
656
|
copyEditors(editors: EditorInputWithOptions[], target: IEditorGroup): void;
|
|
657
|
+
/**
|
|
658
|
+
* Close an editor from the group. This may trigger a confirmation dialog if
|
|
659
|
+
* the editor is dirty and thus returns a promise as value.
|
|
660
|
+
*
|
|
661
|
+
* @param editor the editor to close, or the currently active editor
|
|
662
|
+
* if unspecified.
|
|
663
|
+
*
|
|
664
|
+
* @returns a promise when the editor is closed or not. If `true`, the editor
|
|
665
|
+
* is closed and if `false` there was a veto closing the editor, e.g. when it
|
|
666
|
+
* is dirty.
|
|
667
|
+
*/
|
|
211
668
|
closeEditor(editor?: EditorInput, options?: ICloseEditorOptions): Promise<boolean>;
|
|
669
|
+
/**
|
|
670
|
+
* Closes specific editors in this group. This may trigger a confirmation dialog if
|
|
671
|
+
* there are dirty editors and thus returns a promise as value.
|
|
672
|
+
*
|
|
673
|
+
* @returns a promise whether the editors were closed or not. If `true`, the editors
|
|
674
|
+
* were closed and if `false` there was a veto closing the editors, e.g. when one
|
|
675
|
+
* is dirty.
|
|
676
|
+
*/
|
|
212
677
|
closeEditors(editors: EditorInput[] | ICloseEditorsFilter, options?: ICloseEditorOptions): Promise<boolean>;
|
|
678
|
+
/**
|
|
679
|
+
* Closes all editors from the group. This may trigger a confirmation dialog if
|
|
680
|
+
* there are dirty editors and thus returns a promise as value.
|
|
681
|
+
*
|
|
682
|
+
* @returns a promise if confirmation is needed when all editors are closed.
|
|
683
|
+
*/
|
|
213
684
|
closeAllEditors(options: {
|
|
214
685
|
excludeConfirming: true;
|
|
215
686
|
}): boolean;
|
|
216
687
|
closeAllEditors(options?: ICloseAllEditorsOptions): Promise<boolean>;
|
|
688
|
+
/**
|
|
689
|
+
* Replaces editors in this group with the provided replacement.
|
|
690
|
+
*
|
|
691
|
+
* @param editors the editors to replace
|
|
692
|
+
*
|
|
693
|
+
* @returns a promise that is resolved when the replaced active
|
|
694
|
+
* editor (if any) has finished loading.
|
|
695
|
+
*/
|
|
217
696
|
replaceEditors(editors: IEditorReplacement[]): Promise<void>;
|
|
697
|
+
/**
|
|
698
|
+
* Set an editor to be pinned. A pinned editor is not replaced
|
|
699
|
+
* when another editor opens at the same location.
|
|
700
|
+
*
|
|
701
|
+
* @param editor the editor to pin, or the currently active editor
|
|
702
|
+
* if unspecified.
|
|
703
|
+
*/
|
|
218
704
|
pinEditor(editor?: EditorInput): void;
|
|
705
|
+
/**
|
|
706
|
+
* Set an editor to be sticky. A sticky editor is showing in the beginning
|
|
707
|
+
* of the tab stripe and will not be impacted by close operations.
|
|
708
|
+
*
|
|
709
|
+
* @param editor the editor to make sticky, or the currently active editor
|
|
710
|
+
* if unspecified.
|
|
711
|
+
*/
|
|
219
712
|
stickEditor(editor?: EditorInput): void;
|
|
713
|
+
/**
|
|
714
|
+
* Set an editor to be non-sticky and thus moves back to a location after
|
|
715
|
+
* sticky editors and can be closed normally.
|
|
716
|
+
*
|
|
717
|
+
* @param editor the editor to make unsticky, or the currently active editor
|
|
718
|
+
* if unspecified.
|
|
719
|
+
*/
|
|
220
720
|
unstickEditor(editor?: EditorInput): void;
|
|
721
|
+
/**
|
|
722
|
+
* Whether this editor group should be locked or not.
|
|
723
|
+
*
|
|
724
|
+
* See {@linkcode IEditorGroup.isLocked `isLocked`}
|
|
725
|
+
*/
|
|
221
726
|
lock(locked: boolean): void;
|
|
727
|
+
/**
|
|
728
|
+
* Move keyboard focus into the group.
|
|
729
|
+
*/
|
|
222
730
|
focus(): void;
|
|
731
|
+
/**
|
|
732
|
+
* Create the editor actions for the current active editor.
|
|
733
|
+
*/
|
|
223
734
|
createEditorActions(disposables: DisposableStore, menuId?: MenuId): IActiveEditorActions;
|
|
224
735
|
}
|
|
225
736
|
export declare function isEditorGroup(obj: unknown): obj is IEditorGroup;
|