@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
|
@@ -6,22 +6,71 @@ import { IRectangle } from "../../../../platform/window/common/window.js";
|
|
|
6
6
|
import { GroupIdentifier } from "../../../common/editor.js";
|
|
7
7
|
import { IEditorGroupsContainer, IAuxiliaryEditorPart, IEditorPart, IEditorGroup, IEditorWorkingSet, IEditorWorkingSetOptions, IEditorGroupContextKeyProvider } from "./editorGroupsService.js";
|
|
8
8
|
export declare const IEditorGroupsService: import("../../../../platform/instantiation/common/instantiation.js").ServiceIdentifier<IEditorGroupsService>;
|
|
9
|
+
/**
|
|
10
|
+
* The main service to interact with editor groups across all opened editor parts.
|
|
11
|
+
*/
|
|
9
12
|
export interface IEditorGroupsService extends IEditorGroupsContainer {
|
|
10
13
|
readonly _serviceBrand: undefined;
|
|
14
|
+
/**
|
|
15
|
+
* An event for when a new auxiliary editor part is created.
|
|
16
|
+
*/
|
|
11
17
|
readonly onDidCreateAuxiliaryEditorPart: Event<IAuxiliaryEditorPart>;
|
|
18
|
+
/**
|
|
19
|
+
* Provides access to the main window editor part.
|
|
20
|
+
*/
|
|
12
21
|
readonly mainPart: IEditorPart;
|
|
22
|
+
/**
|
|
23
|
+
* Provides access to all editor parts.
|
|
24
|
+
*/
|
|
13
25
|
readonly parts: ReadonlyArray<IEditorPart>;
|
|
26
|
+
/**
|
|
27
|
+
* Get the editor part that contains the group with the provided identifier.
|
|
28
|
+
*/
|
|
14
29
|
getPart(group: IEditorGroup | GroupIdentifier): IEditorPart;
|
|
30
|
+
/**
|
|
31
|
+
* Get the editor part that is rooted in the provided container.
|
|
32
|
+
*/
|
|
15
33
|
getPart(container: unknown): IEditorPart;
|
|
34
|
+
/**
|
|
35
|
+
* Opens a new window with a full editor part instantiated
|
|
36
|
+
* in there at the optional position and size on screen.
|
|
37
|
+
*/
|
|
16
38
|
createAuxiliaryEditorPart(options?: {
|
|
17
39
|
bounds?: Partial<IRectangle>;
|
|
18
40
|
compact?: boolean;
|
|
19
41
|
alwaysOnTop?: boolean;
|
|
20
42
|
}): Promise<IAuxiliaryEditorPart>;
|
|
43
|
+
/**
|
|
44
|
+
* Returns the instantiation service that is scoped to the
|
|
45
|
+
* provided editor part. Use this method when building UI
|
|
46
|
+
* that contributes to auxiliary editor parts to ensure the
|
|
47
|
+
* UI is scoped to that part.
|
|
48
|
+
*/
|
|
21
49
|
getScopedInstantiationService(part: IEditorPart): IInstantiationService;
|
|
50
|
+
/**
|
|
51
|
+
* Save a new editor working set from the currently opened
|
|
52
|
+
* editors and group layout.
|
|
53
|
+
*/
|
|
22
54
|
saveWorkingSet(name: string): IEditorWorkingSet;
|
|
55
|
+
/**
|
|
56
|
+
* Returns all known editor working sets.
|
|
57
|
+
*/
|
|
23
58
|
getWorkingSets(): IEditorWorkingSet[];
|
|
59
|
+
/**
|
|
60
|
+
* Applies the working set. Use `empty` to apply an empty working set.
|
|
61
|
+
*
|
|
62
|
+
* @returns `true` when the working set as applied.
|
|
63
|
+
*/
|
|
24
64
|
applyWorkingSet(workingSet: IEditorWorkingSet | "empty", options?: IEditorWorkingSetOptions): Promise<boolean>;
|
|
65
|
+
/**
|
|
66
|
+
* Deletes a working set.
|
|
67
|
+
*/
|
|
25
68
|
deleteWorkingSet(workingSet: IEditorWorkingSet): void;
|
|
69
|
+
/**
|
|
70
|
+
* Registers a context key provider. This provider sets a context key for each scoped editor group context and the global context.
|
|
71
|
+
*
|
|
72
|
+
* @param provider - The context key provider to be registered.
|
|
73
|
+
* @returns - A disposable object to unregister the provider.
|
|
74
|
+
*/
|
|
26
75
|
registerContextKeyProvider<T extends ContextKeyValue>(provider: IEditorGroupContextKeyProvider<T>): IDisposable;
|
|
27
76
|
}
|
|
@@ -3,6 +3,12 @@ import { IWillInstantiateEditorPaneEvent } from "../../../common/editor.js";
|
|
|
3
3
|
export declare const IEditorPaneService: import("../../../../platform/instantiation/common/instantiation.js").ServiceIdentifier<IEditorPaneService>;
|
|
4
4
|
export interface IEditorPaneService {
|
|
5
5
|
readonly _serviceBrand: undefined;
|
|
6
|
+
/**
|
|
7
|
+
* Emitted when an editor pane is about to be instantiated.
|
|
8
|
+
*/
|
|
6
9
|
readonly onWillInstantiateEditorPane: Event<IWillInstantiateEditorPaneEvent>;
|
|
10
|
+
/**
|
|
11
|
+
* Returns whether a editor pane with the given type id has been instantiated.
|
|
12
|
+
*/
|
|
7
13
|
didInstantiateEditorPane(typeId: string): boolean;
|
|
8
14
|
}
|
|
@@ -21,13 +21,25 @@ export declare enum RegisteredEditorPriority {
|
|
|
21
21
|
exclusive = "exclusive",
|
|
22
22
|
default = "default"
|
|
23
23
|
}
|
|
24
|
+
/**
|
|
25
|
+
* If we didn't resolve an editor dictates what to do with the opening state
|
|
26
|
+
* ABORT = Do not continue with opening the editor
|
|
27
|
+
* NONE = Continue as if the resolution has been disabled as the service could not resolve one
|
|
28
|
+
*/
|
|
24
29
|
export declare enum ResolvedStatus {
|
|
25
30
|
ABORT = 1,
|
|
26
31
|
NONE = 2
|
|
27
32
|
}
|
|
28
33
|
export type ResolvedEditor = EditorInputWithOptionsAndGroup | ResolvedStatus;
|
|
29
34
|
export type RegisteredEditorOptions = {
|
|
35
|
+
/**
|
|
36
|
+
* If your editor cannot be opened in multiple groups for the same resource
|
|
37
|
+
*/
|
|
30
38
|
singlePerResource?: boolean | (() => boolean);
|
|
39
|
+
/**
|
|
40
|
+
* Whether or not you can support opening the given resource.
|
|
41
|
+
* If omitted we assume you can open everything
|
|
42
|
+
*/
|
|
31
43
|
canSupportResource?: (resource: URI) => boolean;
|
|
32
44
|
};
|
|
33
45
|
export type RegisteredEditorInfo = {
|
|
@@ -8,13 +8,54 @@ import { PreferredGroup } from "./editorService.js";
|
|
|
8
8
|
export declare const IEditorResolverService: import("../../../../platform/instantiation/common/instantiation.js").ServiceIdentifier<IEditorResolverService>;
|
|
9
9
|
export interface IEditorResolverService {
|
|
10
10
|
readonly _serviceBrand: undefined;
|
|
11
|
+
/**
|
|
12
|
+
* Given a resource finds the editor associations that match it from the user's settings
|
|
13
|
+
* @param resource The resource to match
|
|
14
|
+
* @return The matching associations
|
|
15
|
+
*/
|
|
11
16
|
getAssociationsForResource(resource: URI): EditorAssociations;
|
|
17
|
+
/**
|
|
18
|
+
* Updates the user's association to include a specific editor ID as a default for the given glob pattern
|
|
19
|
+
* @param globPattern The glob pattern (must be a string as settings don't support relative glob)
|
|
20
|
+
* @param editorID The ID of the editor to make a user default
|
|
21
|
+
*/
|
|
12
22
|
updateUserAssociations(globPattern: string, editorID: string): void;
|
|
23
|
+
/**
|
|
24
|
+
* Emitted when an editor is registered or unregistered.
|
|
25
|
+
*/
|
|
13
26
|
readonly onDidChangeEditorRegistrations: Event<void>;
|
|
27
|
+
/**
|
|
28
|
+
* Given a callback, run the callback pausing the registration emitter
|
|
29
|
+
*/
|
|
14
30
|
bufferChangeEvents(callback: Function): void;
|
|
31
|
+
/**
|
|
32
|
+
* Registers a specific editor. Editors with the same glob pattern and ID will be grouped together by the resolver.
|
|
33
|
+
* This allows for registration of the factories in different locations
|
|
34
|
+
* @param globPattern The glob pattern for this registration
|
|
35
|
+
* @param editorInfo Information about the registration
|
|
36
|
+
* @param options Specific options which apply to this registration
|
|
37
|
+
* @param editorFactoryObject The editor input factory functions
|
|
38
|
+
*/
|
|
15
39
|
registerEditor(globPattern: string | glob.IRelativePattern, editorInfo: RegisteredEditorInfo, options: RegisteredEditorOptions, editorFactoryObject: EditorInputFactoryObject): IDisposable;
|
|
40
|
+
/**
|
|
41
|
+
* Given an editor resolves it to the suitable ResolvedEitor based on user extensions, settings, and built-in editors
|
|
42
|
+
* @param editor The editor to resolve
|
|
43
|
+
* @param preferredGroup The group you want to open the editor in
|
|
44
|
+
* @returns An EditorInputWithOptionsAndGroup if there is an available editor or a status of how to proceed
|
|
45
|
+
*/
|
|
16
46
|
resolveEditor(editor: IUntypedEditorInput, preferredGroup: PreferredGroup | undefined): Promise<ResolvedEditor>;
|
|
47
|
+
/**
|
|
48
|
+
* Given a resource returns all the editor ids that match that resource. If there is exclusive editor we return an empty array
|
|
49
|
+
* @param resource The resource
|
|
50
|
+
* @returns A list of editor ids
|
|
51
|
+
*/
|
|
17
52
|
getEditors(resource: URI): RegisteredEditorInfo[];
|
|
53
|
+
/**
|
|
54
|
+
* A set of all the editors that are registered to the editor resolver.
|
|
55
|
+
*/
|
|
18
56
|
getEditors(): RegisteredEditorInfo[];
|
|
57
|
+
/**
|
|
58
|
+
* Get a complete list of editor associations.
|
|
59
|
+
*/
|
|
19
60
|
getAllUserAssociations(): EditorAssociations;
|
|
20
61
|
}
|
|
@@ -2,30 +2,68 @@ import { GroupIdentifier, ISaveOptions, IRevertOptions, IUntypedEditorInput } fr
|
|
|
2
2
|
import { EditorInput } from "../../../common/editor/editorInput.js";
|
|
3
3
|
import { IEditorGroup } from "./editorGroupsService.js";
|
|
4
4
|
import { IGroupModelChangeEvent } from "@codingame/monaco-vscode-622c0cca-d5fa-59b6-b730-0715afcf93ee-common/vscode/vs/workbench/common/editor/editorGroupModel";
|
|
5
|
+
/**
|
|
6
|
+
* Open an editor in the currently active group.
|
|
7
|
+
*/
|
|
5
8
|
export declare const ACTIVE_GROUP = -1;
|
|
6
9
|
export type ACTIVE_GROUP_TYPE = typeof ACTIVE_GROUP;
|
|
10
|
+
/**
|
|
11
|
+
* Open an editor to the side of the active group.
|
|
12
|
+
*/
|
|
7
13
|
export declare const SIDE_GROUP = -2;
|
|
8
14
|
export type SIDE_GROUP_TYPE = typeof SIDE_GROUP;
|
|
15
|
+
/**
|
|
16
|
+
* Open an editor in a new auxiliary window.
|
|
17
|
+
*/
|
|
9
18
|
export declare const AUX_WINDOW_GROUP = -3;
|
|
10
19
|
export type AUX_WINDOW_GROUP_TYPE = typeof AUX_WINDOW_GROUP;
|
|
11
20
|
export type PreferredGroup = IEditorGroup | GroupIdentifier | SIDE_GROUP_TYPE | ACTIVE_GROUP_TYPE | AUX_WINDOW_GROUP_TYPE;
|
|
12
21
|
export declare function isPreferredGroup(obj: unknown): obj is PreferredGroup;
|
|
13
22
|
export interface ISaveEditorsOptions extends ISaveOptions {
|
|
23
|
+
/**
|
|
24
|
+
* If true, will ask for a location of the editor to save to.
|
|
25
|
+
*/
|
|
14
26
|
readonly saveAs?: boolean;
|
|
15
27
|
}
|
|
16
28
|
export interface ISaveEditorsResult {
|
|
29
|
+
/**
|
|
30
|
+
* Whether the save operation was successful.
|
|
31
|
+
*/
|
|
17
32
|
readonly success: boolean;
|
|
33
|
+
/**
|
|
34
|
+
* Resulting editors after the save operation.
|
|
35
|
+
*/
|
|
18
36
|
readonly editors: Array<EditorInput | IUntypedEditorInput>;
|
|
19
37
|
}
|
|
20
38
|
export interface IUntypedEditorReplacement {
|
|
39
|
+
/**
|
|
40
|
+
* The editor to replace.
|
|
41
|
+
*/
|
|
21
42
|
readonly editor: EditorInput;
|
|
43
|
+
/**
|
|
44
|
+
* The replacement for the editor.
|
|
45
|
+
*/
|
|
22
46
|
readonly replacement: IUntypedEditorInput;
|
|
47
|
+
/**
|
|
48
|
+
* Skips asking the user for confirmation and doesn't
|
|
49
|
+
* save the document. Only use this if you really need to!
|
|
50
|
+
*/
|
|
23
51
|
forceReplaceDirty?: boolean;
|
|
24
52
|
}
|
|
25
53
|
export interface IBaseSaveRevertAllEditorOptions {
|
|
54
|
+
/**
|
|
55
|
+
* Whether to include untitled editors as well.
|
|
56
|
+
*/
|
|
26
57
|
readonly includeUntitled?: {
|
|
58
|
+
/**
|
|
59
|
+
* Whether to include scratchpad editors.
|
|
60
|
+
* Scratchpads are not included if not specified.
|
|
61
|
+
*/
|
|
27
62
|
readonly includeScratchpad: boolean;
|
|
28
63
|
} | boolean;
|
|
64
|
+
/**
|
|
65
|
+
* Whether to exclude sticky editors.
|
|
66
|
+
*/
|
|
29
67
|
readonly excludeSticky?: boolean;
|
|
30
68
|
}
|
|
31
69
|
export interface ISaveAllEditorsOptions extends ISaveEditorsOptions, IBaseSaveRevertAllEditorOptions {
|
|
@@ -33,9 +71,16 @@ export interface ISaveAllEditorsOptions extends ISaveEditorsOptions, IBaseSaveRe
|
|
|
33
71
|
export interface IRevertAllEditorsOptions extends IRevertOptions, IBaseSaveRevertAllEditorOptions {
|
|
34
72
|
}
|
|
35
73
|
export interface IOpenEditorsOptions {
|
|
74
|
+
/**
|
|
75
|
+
* Whether to validate trust when opening editors
|
|
76
|
+
* that are potentially not inside the workspace.
|
|
77
|
+
*/
|
|
36
78
|
readonly validateTrust?: boolean;
|
|
37
79
|
}
|
|
38
80
|
export interface IEditorsChangeEvent {
|
|
81
|
+
/**
|
|
82
|
+
* The group which had the editor change
|
|
83
|
+
*/
|
|
39
84
|
groupId: GroupIdentifier;
|
|
40
85
|
event: IGroupModelChangeEvent;
|
|
41
86
|
}
|
|
@@ -10,40 +10,214 @@ import { IEditorsChangeEvent, SIDE_GROUP_TYPE, ACTIVE_GROUP_TYPE, AUX_WINDOW_GRO
|
|
|
10
10
|
export declare const IEditorService: import("../../../../platform/instantiation/common/instantiation.js").ServiceIdentifier<IEditorService>;
|
|
11
11
|
export interface IEditorService {
|
|
12
12
|
readonly _serviceBrand: undefined;
|
|
13
|
+
/**
|
|
14
|
+
* Emitted when the currently active editor changes.
|
|
15
|
+
*
|
|
16
|
+
* @see {@link IEditorService.activeEditorPane}
|
|
17
|
+
*/
|
|
13
18
|
readonly onDidActiveEditorChange: Event<void>;
|
|
19
|
+
/**
|
|
20
|
+
* Emitted when any of the current visible editors changes.
|
|
21
|
+
*
|
|
22
|
+
* @see {@link IEditorService.visibleEditorPanes}
|
|
23
|
+
*/
|
|
14
24
|
readonly onDidVisibleEditorsChange: Event<void>;
|
|
25
|
+
/**
|
|
26
|
+
* An aggregated event for any change to any editor across
|
|
27
|
+
* all groups.
|
|
28
|
+
*/
|
|
15
29
|
readonly onDidEditorsChange: Event<IEditorsChangeEvent>;
|
|
30
|
+
/**
|
|
31
|
+
* Emitted when an editor is about to open.
|
|
32
|
+
*/
|
|
16
33
|
readonly onWillOpenEditor: Event<IEditorWillOpenEvent>;
|
|
34
|
+
/**
|
|
35
|
+
* Emitted when an editor is closed.
|
|
36
|
+
*/
|
|
17
37
|
readonly onDidCloseEditor: Event<IEditorCloseEvent>;
|
|
38
|
+
/**
|
|
39
|
+
* The currently active editor pane or `undefined` if none. The editor pane is
|
|
40
|
+
* the workbench container for editors of any kind.
|
|
41
|
+
*
|
|
42
|
+
* @see {@link IEditorService.activeEditor} for access to the active editor input
|
|
43
|
+
*/
|
|
18
44
|
readonly activeEditorPane: IVisibleEditorPane | undefined;
|
|
45
|
+
/**
|
|
46
|
+
* The currently active editor or `undefined` if none. An editor is active when it is
|
|
47
|
+
* located in the currently active editor group. It will be `undefined` if the active
|
|
48
|
+
* editor group has no editors open.
|
|
49
|
+
*/
|
|
19
50
|
readonly activeEditor: EditorInput | undefined;
|
|
51
|
+
/**
|
|
52
|
+
* The currently active text editor control or `undefined` if there is currently no active
|
|
53
|
+
* editor or the active editor widget is neither a text nor a diff editor.
|
|
54
|
+
*
|
|
55
|
+
* @see {@link IEditorService.activeEditor}
|
|
56
|
+
*/
|
|
20
57
|
readonly activeTextEditorControl: IEditor | IDiffEditor | undefined;
|
|
58
|
+
/**
|
|
59
|
+
* The currently active text editor language id or `undefined` if there is currently no active
|
|
60
|
+
* editor or the active editor control is neither a text nor a diff editor. If the active
|
|
61
|
+
* editor is a diff editor, the modified side's language id will be taken.
|
|
62
|
+
*/
|
|
21
63
|
readonly activeTextEditorLanguageId: string | undefined;
|
|
64
|
+
/**
|
|
65
|
+
* All editor panes that are currently visible across all editor groups.
|
|
66
|
+
*
|
|
67
|
+
* @see {@link IEditorService.visibleEditors} for access to the visible editor inputs
|
|
68
|
+
*/
|
|
22
69
|
readonly visibleEditorPanes: readonly IVisibleEditorPane[];
|
|
70
|
+
/**
|
|
71
|
+
* All editors that are currently visible. An editor is visible when it is opened in an
|
|
72
|
+
* editor group and active in that group. Multiple editor groups can be opened at the same time.
|
|
73
|
+
*/
|
|
23
74
|
readonly visibleEditors: readonly EditorInput[];
|
|
75
|
+
/**
|
|
76
|
+
* All text editor widgets that are currently visible across all editor groups. A text editor
|
|
77
|
+
* widget is either a text or a diff editor.
|
|
78
|
+
*
|
|
79
|
+
* This property supports side-by-side editors as well, by returning both sides if they are
|
|
80
|
+
* text editor widgets.
|
|
81
|
+
*/
|
|
24
82
|
readonly visibleTextEditorControls: readonly (IEditor | IDiffEditor)[];
|
|
83
|
+
/**
|
|
84
|
+
* All text editor widgets that are currently visible across all editor groups. A text editor
|
|
85
|
+
* widget is either a text or a diff editor.
|
|
86
|
+
*
|
|
87
|
+
* This property supports side-by-side editors as well, by returning both sides if they are
|
|
88
|
+
* text editor widgets.
|
|
89
|
+
*
|
|
90
|
+
* @param order the order of the editors to use
|
|
91
|
+
*/
|
|
25
92
|
getVisibleTextEditorControls(order: EditorsOrder): readonly (IEditor | IDiffEditor)[];
|
|
93
|
+
/**
|
|
94
|
+
* All editors that are opened across all editor groups in sequential order
|
|
95
|
+
* of appearance.
|
|
96
|
+
*
|
|
97
|
+
* This includes active as well as inactive editors in each editor group.
|
|
98
|
+
*/
|
|
26
99
|
readonly editors: readonly EditorInput[];
|
|
100
|
+
/**
|
|
101
|
+
* The total number of editors that are opened either inactive or active.
|
|
102
|
+
*/
|
|
27
103
|
readonly count: number;
|
|
104
|
+
/**
|
|
105
|
+
* All editors that are opened across all editor groups with their group
|
|
106
|
+
* identifier.
|
|
107
|
+
*
|
|
108
|
+
* @param order the order of the editors to use
|
|
109
|
+
* @param options whether to exclude sticky editors or not
|
|
110
|
+
*/
|
|
28
111
|
getEditors(order: EditorsOrder, options?: {
|
|
29
112
|
excludeSticky?: boolean;
|
|
30
113
|
}): readonly IEditorIdentifier[];
|
|
114
|
+
/**
|
|
115
|
+
* Open an editor in an editor group.
|
|
116
|
+
*
|
|
117
|
+
* @param editor the editor to open
|
|
118
|
+
* @param options the options to use for the editor
|
|
119
|
+
* @param group the target group. If unspecified, the editor will open in the currently
|
|
120
|
+
* active group. Use `SIDE_GROUP` to open the editor in a new editor group to the side
|
|
121
|
+
* of the currently active group.
|
|
122
|
+
*
|
|
123
|
+
* @returns the editor that opened or `undefined` if the operation failed or the editor was not
|
|
124
|
+
* opened to be active.
|
|
125
|
+
*/
|
|
31
126
|
openEditor(editor: IResourceEditorInput, group?: IEditorGroup | GroupIdentifier | SIDE_GROUP_TYPE | ACTIVE_GROUP_TYPE | AUX_WINDOW_GROUP_TYPE): Promise<IEditorPane | undefined>;
|
|
32
127
|
openEditor(editor: ITextResourceEditorInput | IUntitledTextResourceEditorInput, group?: IEditorGroup | GroupIdentifier | SIDE_GROUP_TYPE | ACTIVE_GROUP_TYPE | AUX_WINDOW_GROUP_TYPE): Promise<IEditorPane | undefined>;
|
|
33
128
|
openEditor(editor: ITextResourceDiffEditorInput | IResourceDiffEditorInput, group?: IEditorGroup | GroupIdentifier | SIDE_GROUP_TYPE | ACTIVE_GROUP_TYPE | AUX_WINDOW_GROUP_TYPE): Promise<ITextDiffEditorPane | undefined>;
|
|
34
129
|
openEditor(editor: IUntypedEditorInput, group?: IEditorGroup | GroupIdentifier | SIDE_GROUP_TYPE | ACTIVE_GROUP_TYPE | AUX_WINDOW_GROUP_TYPE): Promise<IEditorPane | undefined>;
|
|
130
|
+
/**
|
|
131
|
+
* @deprecated using this method is a sign that your editor has not adopted the editor
|
|
132
|
+
* resolver yet. Please use `IEditorResolverService.registerEditor` to make your editor
|
|
133
|
+
* known to the workbench and then use untyped editor inputs for opening:
|
|
134
|
+
*
|
|
135
|
+
* ```ts
|
|
136
|
+
* editorService.openEditor({ resource });
|
|
137
|
+
* ```
|
|
138
|
+
*
|
|
139
|
+
* If you already have an `EditorInput` in hand and must use it for opening, use `group.openEditor`
|
|
140
|
+
* instead, via `IEditorGroupsService`.
|
|
141
|
+
*/
|
|
35
142
|
openEditor(editor: EditorInput, options?: IEditorOptions, group?: IEditorGroup | GroupIdentifier | SIDE_GROUP_TYPE | ACTIVE_GROUP_TYPE | AUX_WINDOW_GROUP_TYPE): Promise<IEditorPane | undefined>;
|
|
143
|
+
/**
|
|
144
|
+
* Open editors in an editor group.
|
|
145
|
+
*
|
|
146
|
+
* @param editors the editors to open with associated options
|
|
147
|
+
* @param group the target group. If unspecified, the editor will open in the currently
|
|
148
|
+
* active group. Use `SIDE_GROUP` to open the editor in a new editor group to the side
|
|
149
|
+
* of the currently active group.
|
|
150
|
+
*
|
|
151
|
+
* @returns the editors that opened. The array can be empty or have less elements for editors
|
|
152
|
+
* that failed to open or were instructed to open as inactive.
|
|
153
|
+
*/
|
|
36
154
|
openEditors(editors: IUntypedEditorInput[], group?: IEditorGroup | GroupIdentifier | SIDE_GROUP_TYPE | ACTIVE_GROUP_TYPE | AUX_WINDOW_GROUP_TYPE, options?: IOpenEditorsOptions): Promise<readonly IEditorPane[]>;
|
|
155
|
+
/**
|
|
156
|
+
* Replaces editors in an editor group with the provided replacement.
|
|
157
|
+
*
|
|
158
|
+
* @param replacements the editors to replace
|
|
159
|
+
* @param group the editor group
|
|
160
|
+
*
|
|
161
|
+
* @returns a promise that is resolved when the replaced active
|
|
162
|
+
* editor (if any) has finished loading.
|
|
163
|
+
*/
|
|
37
164
|
replaceEditors(replacements: IUntypedEditorReplacement[], group: IEditorGroup | GroupIdentifier): Promise<void>;
|
|
165
|
+
/**
|
|
166
|
+
* Find out if the provided editor is opened in any editor group.
|
|
167
|
+
*
|
|
168
|
+
* Note: An editor can be opened but not actively visible.
|
|
169
|
+
*
|
|
170
|
+
* Note: This method will return `true` if a side by side editor
|
|
171
|
+
* is opened where the `primary` editor matches too.
|
|
172
|
+
*/
|
|
38
173
|
isOpened(editor: IResourceEditorInputIdentifier): boolean;
|
|
174
|
+
/**
|
|
175
|
+
* Find out if the provided editor is visible in any editor group.
|
|
176
|
+
*/
|
|
39
177
|
isVisible(editor: EditorInput): boolean;
|
|
178
|
+
/**
|
|
179
|
+
* Close an editor in a specific editor group.
|
|
180
|
+
*/
|
|
40
181
|
closeEditor(editor: IEditorIdentifier, options?: ICloseEditorOptions): Promise<void>;
|
|
182
|
+
/**
|
|
183
|
+
* Close multiple editors in specific editor groups.
|
|
184
|
+
*/
|
|
41
185
|
closeEditors(editors: readonly IEditorIdentifier[], options?: ICloseEditorOptions): Promise<void>;
|
|
186
|
+
/**
|
|
187
|
+
* This method will return an entry for each editor that reports
|
|
188
|
+
* a `resource` that matches the provided one in the group or
|
|
189
|
+
* across all groups.
|
|
190
|
+
*
|
|
191
|
+
* It is possible that multiple editors are returned in case the
|
|
192
|
+
* same resource is opened in different editors. To find the specific
|
|
193
|
+
* editor, use the `IResourceEditorInputIdentifier` as input.
|
|
194
|
+
*/
|
|
42
195
|
findEditors(resource: URI, options?: IFindEditorOptions): readonly IEditorIdentifier[];
|
|
43
196
|
findEditors(editor: IResourceEditorInputIdentifier, options?: IFindEditorOptions): readonly IEditorIdentifier[];
|
|
197
|
+
/**
|
|
198
|
+
* Save the provided list of editors.
|
|
199
|
+
*/
|
|
44
200
|
save(editors: IEditorIdentifier | readonly IEditorIdentifier[], options?: ISaveEditorsOptions): Promise<ISaveEditorsResult>;
|
|
201
|
+
/**
|
|
202
|
+
* Save all editors.
|
|
203
|
+
*/
|
|
45
204
|
saveAll(options?: ISaveAllEditorsOptions): Promise<ISaveEditorsResult>;
|
|
205
|
+
/**
|
|
206
|
+
* Reverts the provided list of editors.
|
|
207
|
+
*
|
|
208
|
+
* @returns `true` if all editors reverted and `false` otherwise.
|
|
209
|
+
*/
|
|
46
210
|
revert(editors: IEditorIdentifier | readonly IEditorIdentifier[], options?: IRevertOptions): Promise<boolean>;
|
|
211
|
+
/**
|
|
212
|
+
* Reverts all editors.
|
|
213
|
+
*
|
|
214
|
+
* @returns `true` if all editors reverted and `false` otherwise.
|
|
215
|
+
*/
|
|
47
216
|
revertAll(options?: IRevertAllEditorsOptions): Promise<boolean>;
|
|
217
|
+
/**
|
|
218
|
+
* Create a scoped editor service that only operates on the provided
|
|
219
|
+
* editor group container. Use `main` to create a scoped editor service
|
|
220
|
+
* to the main editor group container of the main window.
|
|
221
|
+
*/
|
|
48
222
|
createScoped(editorGroupsContainer: IEditorGroupsContainer, disposables: DisposableStore): IEditorService;
|
|
49
223
|
}
|
|
@@ -2,6 +2,10 @@ import { URI } from "../../../../base/common/uri.js";
|
|
|
2
2
|
import { IEnvironmentService } from "../../../../platform/environment/common/environment.service.js";
|
|
3
3
|
import { IPath } from "../../../../platform/window/common/window.js";
|
|
4
4
|
export declare const IWorkbenchEnvironmentService: import("../../../../platform/instantiation/common/instantiation.js").ServiceIdentifier<IWorkbenchEnvironmentService>;
|
|
5
|
+
/**
|
|
6
|
+
* A workbench specific environment service that is only present in workbench
|
|
7
|
+
* layer.
|
|
8
|
+
*/
|
|
5
9
|
export interface IWorkbenchEnvironmentService extends IEnvironmentService {
|
|
6
10
|
readonly logFile: URI;
|
|
7
11
|
readonly windowLogsPath: URI;
|
package/vscode/src/vs/workbench/services/extensionManagement/common/extensionManagement.service.d.ts
CHANGED
|
@@ -53,21 +53,65 @@ export interface IWorkbenchExtensionManagementService extends IProfileAwareExten
|
|
|
53
53
|
export declare const IWorkbenchExtensionEnablementService: import("../../../../platform/instantiation/common/instantiation.js").ServiceIdentifier<IWorkbenchExtensionEnablementService>;
|
|
54
54
|
export interface IWorkbenchExtensionEnablementService {
|
|
55
55
|
readonly _serviceBrand: undefined;
|
|
56
|
+
/**
|
|
57
|
+
* Event to listen on for extension enablement changes
|
|
58
|
+
*/
|
|
56
59
|
readonly onEnablementChanged: Event<readonly IExtension[]>;
|
|
60
|
+
/**
|
|
61
|
+
* Returns the enablement state for the given extension
|
|
62
|
+
*/
|
|
57
63
|
getEnablementState(extension: IExtension): EnablementState;
|
|
64
|
+
/**
|
|
65
|
+
* Returns the enablement states for the given extensions
|
|
66
|
+
* @param extensions list of extensions
|
|
67
|
+
* @param workspaceTypeOverrides Workspace type overrides
|
|
68
|
+
*/
|
|
58
69
|
getEnablementStates(extensions: IExtension[], workspaceTypeOverrides?: {
|
|
59
70
|
trusted?: boolean;
|
|
60
71
|
}): EnablementState[];
|
|
72
|
+
/**
|
|
73
|
+
* Returns the enablement states for the dependencies of the given extension
|
|
74
|
+
*/
|
|
61
75
|
getDependenciesEnablementStates(extension: IExtension): [
|
|
62
76
|
IExtension,
|
|
63
77
|
EnablementState
|
|
64
78
|
][];
|
|
79
|
+
/**
|
|
80
|
+
* Returns `true` if the enablement can be changed.
|
|
81
|
+
*/
|
|
65
82
|
canChangeEnablement(extension: IExtension): boolean;
|
|
83
|
+
/**
|
|
84
|
+
* Returns `true` if the enablement can be changed.
|
|
85
|
+
*/
|
|
66
86
|
canChangeWorkspaceEnablement(extension: IExtension): boolean;
|
|
87
|
+
/**
|
|
88
|
+
* Returns `true` if the given extension is enabled.
|
|
89
|
+
*/
|
|
67
90
|
isEnabled(extension: IExtension): boolean;
|
|
91
|
+
/**
|
|
92
|
+
* Returns `true` if the given enablement state is enabled enablement state.
|
|
93
|
+
*/
|
|
68
94
|
isEnabledEnablementState(enablementState: EnablementState): boolean;
|
|
95
|
+
/**
|
|
96
|
+
* Returns `true` if the given extension identifier is disabled globally.
|
|
97
|
+
* Extensions can be disabled globally or in workspace or both.
|
|
98
|
+
* If an extension is disabled in both then enablement state shows only workspace.
|
|
99
|
+
* This will
|
|
100
|
+
*/
|
|
69
101
|
isDisabledGlobally(extension: IExtension): boolean;
|
|
102
|
+
/**
|
|
103
|
+
* Enable or disable the given extension.
|
|
104
|
+
* if `workspace` is `true` then enablement is done for workspace, otherwise globally.
|
|
105
|
+
*
|
|
106
|
+
* Returns a promise that resolves to boolean value.
|
|
107
|
+
* if resolves to `true` then requires restart for the change to take effect.
|
|
108
|
+
*
|
|
109
|
+
* Throws error if enablement is requested for workspace and there is no workspace
|
|
110
|
+
*/
|
|
70
111
|
setEnablement(extensions: IExtension[], state: EnablementState): Promise<boolean[]>;
|
|
112
|
+
/**
|
|
113
|
+
* Updates the enablement state of the extensions when workspace trust changes.
|
|
114
|
+
*/
|
|
71
115
|
updateExtensionsEnablementsWhenWorkspaceTrustChanges(): Promise<void>;
|
|
72
116
|
}
|
|
73
117
|
export declare const IWebExtensionsScannerService: import("../../../../platform/instantiation/common/instantiation.js").ServiceIdentifier<IWebExtensionsScannerService>;
|
|
@@ -26,6 +26,9 @@ export interface IExtensionHostInitData {
|
|
|
26
26
|
quality: string | undefined;
|
|
27
27
|
commit?: string;
|
|
28
28
|
date?: string;
|
|
29
|
+
/**
|
|
30
|
+
* When set to `0`, no polling for the parent process still running will happen.
|
|
31
|
+
*/
|
|
29
32
|
parentPid: number | 0;
|
|
30
33
|
environment: IEnvironment;
|
|
31
34
|
workspace?: IStaticWorkspaceData | null;
|
|
@@ -19,6 +19,9 @@ export interface IResolveAuthorityOKResult {
|
|
|
19
19
|
export type IResolveAuthorityResult = IResolveAuthorityErrorResult | IResolveAuthorityOKResult;
|
|
20
20
|
export interface IExtensionHostProxy {
|
|
21
21
|
resolveAuthority(remoteAuthority: string, resolveAttempt: number): Promise<IResolveAuthorityResult>;
|
|
22
|
+
/**
|
|
23
|
+
* Returns `null` if no resolver for `remoteAuthority` is found.
|
|
24
|
+
*/
|
|
22
25
|
getCanonicalURI(remoteAuthority: string, uri: URI): Promise<URI | null>;
|
|
23
26
|
startExtensionHost(extensionsDelta: IExtensionDescriptionDelta): Promise<void>;
|
|
24
27
|
extensionTestsExecute(): Promise<number>;
|
|
@@ -33,17 +33,55 @@ export declare class MissingExtensionDependency {
|
|
|
33
33
|
readonly dependency: string;
|
|
34
34
|
constructor(dependency: string);
|
|
35
35
|
}
|
|
36
|
+
/**
|
|
37
|
+
* e.g.
|
|
38
|
+
* ```
|
|
39
|
+
* {
|
|
40
|
+
* startTime: 1511954813493000,
|
|
41
|
+
* endTime: 1511954835590000,
|
|
42
|
+
* deltas: [ 100, 1500, 123456, 1500, 100000 ],
|
|
43
|
+
* ids: [ 'idle', 'self', 'extension1', 'self', 'idle' ]
|
|
44
|
+
* }
|
|
45
|
+
* ```
|
|
46
|
+
*/
|
|
36
47
|
export interface IExtensionHostProfile {
|
|
48
|
+
/**
|
|
49
|
+
* Profiling start timestamp in microseconds.
|
|
50
|
+
*/
|
|
37
51
|
startTime: number;
|
|
52
|
+
/**
|
|
53
|
+
* Profiling end timestamp in microseconds.
|
|
54
|
+
*/
|
|
38
55
|
endTime: number;
|
|
56
|
+
/**
|
|
57
|
+
* Duration of segment in microseconds.
|
|
58
|
+
*/
|
|
39
59
|
deltas: number[];
|
|
60
|
+
/**
|
|
61
|
+
* Segment identifier: extension id or one of the four known strings.
|
|
62
|
+
*/
|
|
40
63
|
ids: ProfileSegmentId[];
|
|
64
|
+
/**
|
|
65
|
+
* Get the information as a .cpuprofile.
|
|
66
|
+
*/
|
|
41
67
|
data: IV8Profile;
|
|
68
|
+
/**
|
|
69
|
+
* Get the aggregated time per segmentId
|
|
70
|
+
*/
|
|
42
71
|
getAggregatedTimes(): Map<ProfileSegmentId, number>;
|
|
43
72
|
}
|
|
44
73
|
export declare enum ExtensionHostStartup {
|
|
74
|
+
/**
|
|
75
|
+
* The extension host should be launched immediately and doesn't require a `$startExtensionHost` call.
|
|
76
|
+
*/
|
|
45
77
|
EagerAutoStart = 1,
|
|
78
|
+
/**
|
|
79
|
+
* The extension host should be launched immediately and needs a `$startExtensionHost` call.
|
|
80
|
+
*/
|
|
46
81
|
EagerManualStart = 2,
|
|
82
|
+
/**
|
|
83
|
+
* The extension host should be launched lazily and only when it has extensions it needs to host. It doesn't require a `$startExtensionHost` call.
|
|
84
|
+
*/
|
|
47
85
|
LazyAutoStart = 3
|
|
48
86
|
}
|
|
49
87
|
export interface IExtensionInspectInfo {
|
|
@@ -57,6 +95,11 @@ export interface IExtensionHost {
|
|
|
57
95
|
readonly runningLocation: ExtensionRunningLocation;
|
|
58
96
|
readonly remoteAuthority: string | null;
|
|
59
97
|
readonly startup: ExtensionHostStartup;
|
|
98
|
+
/**
|
|
99
|
+
* A collection of extensions which includes information about which
|
|
100
|
+
* extension will execute or is executing on this extension host.
|
|
101
|
+
* **NOTE**: this will reflect extensions correctly only after `start()` resolves.
|
|
102
|
+
*/
|
|
60
103
|
readonly extensions: ExtensionHostExtensions | null;
|
|
61
104
|
readonly onExit: Event<[
|
|
62
105
|
number,
|
|
@@ -86,6 +129,9 @@ export declare class ExtensionHostExtensions {
|
|
|
86
129
|
}
|
|
87
130
|
export declare function isProposedApiEnabled(extension: IExtensionDescription, proposal: ApiProposalName): boolean;
|
|
88
131
|
export declare function checkProposedApiEnabled(extension: IExtensionDescription, proposal: ApiProposalName): void;
|
|
132
|
+
/**
|
|
133
|
+
* Extension id or one of the four known program states.
|
|
134
|
+
*/
|
|
89
135
|
export type ProfileSegmentId = string | "idle" | "program" | "gc" | "self";
|
|
90
136
|
export interface ExtensionActivationReason {
|
|
91
137
|
readonly startup: boolean;
|
|
@@ -111,6 +157,9 @@ export interface IWillActivateEvent {
|
|
|
111
157
|
export interface IResponsiveStateChangeEvent {
|
|
112
158
|
extensionHostKind: ExtensionHostKind;
|
|
113
159
|
isResponsive: boolean;
|
|
160
|
+
/**
|
|
161
|
+
* Return the inspect port or `0`. `0` means inspection is not possible.
|
|
162
|
+
*/
|
|
114
163
|
getInspectListener(tryEnableInspector: boolean): Promise<IExtensionInspectInfo | undefined>;
|
|
115
164
|
}
|
|
116
165
|
export declare enum ActivationKind {
|
|
@@ -118,8 +167,23 @@ export declare enum ActivationKind {
|
|
|
118
167
|
Immediate = 1
|
|
119
168
|
}
|
|
120
169
|
export interface WillStopExtensionHostsEvent {
|
|
170
|
+
/**
|
|
171
|
+
* A human readable reason for stopping the extension hosts
|
|
172
|
+
* that e.g. can be shown in a confirmation dialog to the
|
|
173
|
+
* user.
|
|
174
|
+
*/
|
|
121
175
|
readonly reason: string;
|
|
176
|
+
/**
|
|
177
|
+
* A flag to indicate if the operation was triggered automatically
|
|
178
|
+
*/
|
|
122
179
|
readonly auto: boolean;
|
|
180
|
+
/**
|
|
181
|
+
* Allows to veto the stopping of extension hosts. The veto can be a long running
|
|
182
|
+
* operation.
|
|
183
|
+
*
|
|
184
|
+
* @param reason a human readable reason for vetoing the extension host stop in case
|
|
185
|
+
* where the resolved `value: true`.
|
|
186
|
+
*/
|
|
123
187
|
veto(value: boolean | Promise<boolean>, reason: string): void;
|
|
124
188
|
}
|
|
125
189
|
export interface IInternalExtensionService {
|