@codingame/monaco-vscode-api 20.1.1 → 20.2.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +8 -8
- package/services.js +3 -3
- package/vscode/src/vs/base/browser/browser.d.ts +2 -0
- package/vscode/src/vs/base/browser/canIUse.d.ts +3 -0
- package/vscode/src/vs/base/browser/contextmenu.d.ts +14 -0
- package/vscode/src/vs/base/browser/cssValue.d.ts +8 -0
- package/vscode/src/vs/base/browser/dnd.d.ts +21 -0
- package/vscode/src/vs/base/browser/dom.d.ts +178 -0
- package/vscode/src/vs/base/browser/domSanitize.d.ts +26 -0
- package/vscode/src/vs/base/browser/domStylesheets.d.ts +3 -0
- package/vscode/src/vs/base/browser/dompurify/dompurify.d.ts +19 -0
- package/vscode/src/vs/base/browser/fonts.d.ts +8 -0
- package/vscode/src/vs/base/browser/iframe.d.ts +10 -0
- package/vscode/src/vs/base/browser/keyboardEvent.d.ts +3 -0
- package/vscode/src/vs/base/browser/markdownRenderer.d.ts +18 -0
- package/vscode/src/vs/base/browser/performance.d.ts +22 -0
- package/vscode/src/vs/base/browser/pixelRatio.d.ts +7 -0
- package/vscode/src/vs/base/browser/ui/actionbar/actionbar.css +29 -2
- package/vscode/src/vs/base/browser/ui/actionbar/actionbar.d.ts +5 -0
- package/vscode/src/vs/base/browser/ui/aria/aria.css +6 -1
- package/vscode/src/vs/base/browser/ui/aria/aria.d.ts +6 -0
- package/vscode/src/vs/base/browser/ui/button/button.css +36 -1
- package/vscode/src/vs/base/browser/ui/button/button.d.ts +9 -0
- package/vscode/src/vs/base/browser/ui/codicons/codicon/codicon-modifiers.css +11 -0
- package/vscode/src/vs/base/browser/ui/codicons/codicon/codicon.css +8 -0
- package/vscode/src/vs/base/browser/ui/contextview/contextview.css +6 -0
- package/vscode/src/vs/base/browser/ui/contextview/contextview.d.ts +14 -0
- package/vscode/src/vs/base/browser/ui/countBadge/countBadge.css +6 -0
- package/vscode/src/vs/base/browser/ui/dnd/dnd.css +12 -0
- package/vscode/src/vs/base/browser/ui/dropdown/dropdown.css +11 -0
- package/vscode/src/vs/base/browser/ui/findinput/findInput.css +20 -0
- package/vscode/src/vs/base/browser/ui/highlightedlabel/highlightedLabel.d.ts +27 -0
- package/vscode/src/vs/base/browser/ui/hover/hover.d.ts +258 -0
- package/vscode/src/vs/base/browser/ui/hover/hoverDelegate.d.ts +37 -0
- package/vscode/src/vs/base/browser/ui/hover/hoverDelegate2.d.ts +10 -0
- package/vscode/src/vs/base/browser/ui/hover/hoverWidget.css +54 -0
- package/vscode/src/vs/base/browser/ui/iconLabel/iconlabel.css +34 -6
- package/vscode/src/vs/base/browser/ui/inputbox/inputBox.css +27 -2
- package/vscode/src/vs/base/browser/ui/keybindingLabel/keybindingLabel.css +10 -0
- package/vscode/src/vs/base/browser/ui/keybindingLabel/keybindingLabel.d.ts +3 -0
- package/vscode/src/vs/base/browser/ui/list/list.css +21 -0
- package/vscode/src/vs/base/browser/ui/list/list.d.ts +9 -0
- package/vscode/src/vs/base/browser/ui/list/listView.d.ts +17 -3
- package/vscode/src/vs/base/browser/ui/list/listWidget.d.ts +26 -0
- package/vscode/src/vs/base/browser/ui/list/rangeMap.d.ts +29 -0
- package/vscode/src/vs/base/browser/ui/list/rowCache.d.ts +12 -0
- package/vscode/src/vs/base/browser/ui/mouseCursor/mouseCursor.css +5 -0
- package/vscode/src/vs/base/browser/ui/progressbar/progressbar.css +29 -1
- package/vscode/src/vs/base/browser/ui/progressbar/progressbar.d.ts +33 -0
- package/vscode/src/vs/base/browser/ui/sash/sash.css +31 -0
- package/vscode/src/vs/base/browser/ui/sash/sash.d.ts +125 -0
- package/vscode/src/vs/base/browser/ui/scrollbar/abstractScrollbar.d.ts +6 -0
- package/vscode/src/vs/base/browser/ui/scrollbar/media/scrollbars.css +16 -0
- package/vscode/src/vs/base/browser/ui/scrollbar/scrollableElement.d.ts +22 -0
- package/vscode/src/vs/base/browser/ui/scrollbar/scrollableElementOptions.d.ts +98 -0
- package/vscode/src/vs/base/browser/ui/scrollbar/scrollbarArrow.d.ts +3 -0
- package/vscode/src/vs/base/browser/ui/scrollbar/scrollbarState.d.ts +43 -0
- package/vscode/src/vs/base/browser/ui/selectBox/selectBox.css +11 -0
- package/vscode/src/vs/base/browser/ui/selectBox/selectBoxCustom.css +29 -1
- package/vscode/src/vs/base/browser/ui/severityIcon/media/severityIcon.css +7 -0
- package/vscode/src/vs/base/browser/ui/splitview/splitview.css +16 -0
- package/vscode/src/vs/base/browser/ui/splitview/splitview.d.ts +289 -0
- package/vscode/src/vs/base/browser/ui/table/table.css +12 -0
- package/vscode/src/vs/base/browser/ui/toggle/toggle.css +14 -0
- package/vscode/src/vs/base/browser/ui/toolbar/toolbar.css +6 -0
- package/vscode/src/vs/base/browser/ui/toolbar/toolbar.d.ts +12 -0
- package/vscode/src/vs/base/browser/ui/tree/abstractTree.d.ts +12 -0
- package/vscode/src/vs/base/browser/ui/tree/asyncDataTree.d.ts +19 -0
- package/vscode/src/vs/base/browser/ui/tree/indexTreeModel.d.ts +18 -0
- package/vscode/src/vs/base/browser/ui/tree/media/tree.css +38 -3
- package/vscode/src/vs/base/browser/ui/tree/objectTree.d.ts +12 -0
- package/vscode/src/vs/base/browser/ui/tree/tree.d.ts +43 -0
- package/vscode/src/vs/base/common/actions.d.ts +3 -0
- package/vscode/src/vs/base/common/arrays.d.ts +193 -1
- package/vscode/src/vs/base/common/arraysFind.d.ts +46 -0
- package/vscode/src/vs/base/common/assert.d.ts +28 -0
- package/vscode/src/vs/base/common/async.d.ts +361 -0
- package/vscode/src/vs/base/common/buffer.d.ts +31 -0
- package/vscode/src/vs/base/common/cache.d.ts +11 -0
- package/vscode/src/vs/base/common/cancellation.d.ts +11 -0
- package/vscode/src/vs/base/common/charCode.d.ts +319 -186
- package/vscode/src/vs/base/common/codicons.d.ts +14 -0
- package/vscode/src/vs/base/common/codiconsUtil.d.ts +3 -0
- package/vscode/src/vs/base/common/collections.d.ts +19 -0
- package/vscode/src/vs/base/common/color.d.ts +115 -0
- package/vscode/src/vs/base/common/comparers.d.ts +10 -0
- package/vscode/src/vs/base/common/dataTransfer.d.ts +38 -0
- package/vscode/src/vs/base/common/date.d.ts +15 -0
- package/vscode/src/vs/base/common/diff/diff.d.ts +90 -0
- package/vscode/src/vs/base/common/diff/diffChange.d.ts +29 -0
- package/vscode/src/vs/base/common/equals.d.ts +26 -0
- package/vscode/src/vs/base/common/errorMessage.d.ts +6 -0
- package/vscode/src/vs/base/common/errors.d.ts +26 -0
- package/vscode/src/vs/base/common/event.d.ts +356 -0
- package/vscode/src/vs/base/common/extpath.d.ts +34 -0
- package/vscode/src/vs/base/common/filters.d.ts +22 -0
- package/vscode/src/vs/base/common/functional.d.ts +3 -0
- package/vscode/src/vs/base/common/glob.d.ts +39 -0
- package/vscode/src/vs/base/common/hash.d.ts +12 -0
- package/vscode/src/vs/base/common/history.d.ts +7 -0
- package/vscode/src/vs/base/common/hotReload.d.ts +6 -0
- package/vscode/src/vs/base/common/htmlContent.d.ts +3 -0
- package/vscode/src/vs/base/common/iconLabels.d.ts +9 -0
- package/vscode/src/vs/base/common/ime.d.ts +6 -0
- package/vscode/src/vs/base/common/iterator.d.ts +7 -0
- package/vscode/src/vs/base/common/json.d.ts +98 -0
- package/vscode/src/vs/base/common/jsonSchema.d.ts +5 -0
- package/vscode/src/vs/base/common/keyCodes.d.ts +95 -18
- package/vscode/src/vs/base/common/keybindingLabels.d.ts +13 -0
- package/vscode/src/vs/base/common/keybindings.d.ts +54 -0
- package/vscode/src/vs/base/common/labels.d.ts +41 -0
- package/vscode/src/vs/base/common/lazy.d.ts +12 -0
- package/vscode/src/vs/base/common/lifecycle.d.ts +126 -0
- package/vscode/src/vs/base/common/map.d.ts +33 -0
- package/vscode/src/vs/base/common/marked/marked.d.ts +137 -0
- package/vscode/src/vs/base/common/naturalLanguage/korean.d.ts +8 -0
- package/vscode/src/vs/base/common/network.d.ts +85 -0
- package/vscode/src/vs/base/common/numbers.d.ts +45 -0
- package/vscode/src/vs/base/common/oauth.d.ts +369 -0
- package/vscode/src/vs/base/common/objects.d.ts +19 -0
- package/vscode/src/vs/base/common/observableInternal/base.d.ts +128 -0
- package/vscode/src/vs/base/common/observableInternal/changeTracker.d.ts +11 -0
- package/vscode/src/vs/base/common/observableInternal/debugName.d.ts +16 -0
- package/vscode/src/vs/base/common/observableInternal/experimental/reducer.d.ts +21 -0
- package/vscode/src/vs/base/common/observableInternal/experimental/utils.d.ts +11 -0
- package/vscode/src/vs/base/common/observableInternal/observables/baseObservable.d.ts +15 -0
- package/vscode/src/vs/base/common/observableInternal/observables/constObservable.d.ts +3 -0
- package/vscode/src/vs/base/common/observableInternal/observables/derived.d.ts +25 -0
- package/vscode/src/vs/base/common/observableInternal/observables/derivedImpl.d.ts +15 -0
- package/vscode/src/vs/base/common/observableInternal/observables/lazyObservableValue.d.ts +3 -0
- package/vscode/src/vs/base/common/observableInternal/observables/observableSignal.d.ts +5 -0
- package/vscode/src/vs/base/common/observableInternal/observables/observableValue.d.ts +10 -0
- package/vscode/src/vs/base/common/observableInternal/reactions/autorun.d.ts +27 -0
- package/vscode/src/vs/base/common/observableInternal/reactions/autorunImpl.d.ts +7 -0
- package/vscode/src/vs/base/common/observableInternal/transaction.d.ts +9 -0
- package/vscode/src/vs/base/common/observableInternal/utils/promise.d.ts +47 -1
- package/vscode/src/vs/base/common/observableInternal/utils/utils.d.ts +15 -0
- package/vscode/src/vs/base/common/observableInternal/utils/utilsCancellation.d.ts +3 -0
- package/vscode/src/vs/base/common/performance.d.ts +3 -0
- package/vscode/src/vs/base/common/platform.d.ts +37 -0
- package/vscode/src/vs/base/common/prefixTree.d.ts +23 -0
- package/vscode/src/vs/base/common/process.d.ts +23 -0
- package/vscode/src/vs/base/common/range.d.ts +4 -0
- package/vscode/src/vs/base/common/resources.d.ts +115 -0
- package/vscode/src/vs/base/common/scrollable.d.ts +17 -0
- package/vscode/src/vs/base/common/severity.d.ts +4 -0
- package/vscode/src/vs/base/common/skipList.d.ts +4 -0
- package/vscode/src/vs/base/common/sseParser.d.ts +51 -0
- package/vscode/src/vs/base/common/stream.d.ts +148 -0
- package/vscode/src/vs/base/common/strings.d.ts +134 -0
- package/vscode/src/vs/base/common/symbols.d.ts +3 -0
- package/vscode/src/vs/base/common/ternarySearchTree.d.ts +6 -0
- package/vscode/src/vs/base/common/types.d.ts +135 -0
- package/vscode/src/vs/base/common/uint.d.ts +24 -3
- package/vscode/src/vs/base/common/uri.d.ts +131 -0
- package/vscode/src/vs/base/common/worker/webWorker.d.ts +6 -0
- package/vscode/src/vs/base/parts/sandbox/common/electronTypes.d.ts +179 -0
- package/vscode/src/vs/base/parts/sandbox/common/sandboxTypes.d.ts +39 -0
- package/vscode/src/vs/base/parts/storage/common/storage.d.ts +11 -0
- package/vscode/src/vs/editor/browser/config/editorConfiguration.d.ts +20 -0
- package/vscode/src/vs/editor/browser/config/fontMeasurements.d.ts +15 -0
- package/vscode/src/vs/editor/browser/config/migrateOptions.d.ts +3 -0
- package/vscode/src/vs/editor/browser/config/tabFocus.d.ts +6 -0
- package/vscode/src/vs/editor/browser/controller/dragScrolling.d.ts +9 -0
- package/vscode/src/vs/editor/browser/controller/editContext/clipboardUtils.d.ts +5 -0
- package/vscode/src/vs/editor/browser/controller/editContext/native/editContextFactory.d.ts +3 -0
- package/vscode/src/vs/editor/browser/controller/editContext/native/nativeEditContext.css +11 -0
- package/vscode/src/vs/editor/browser/controller/editContext/native/screenReaderUtils.d.ts +18 -0
- package/vscode/src/vs/editor/browser/controller/editContext/screenReaderUtils.d.ts +5 -0
- package/vscode/src/vs/editor/browser/controller/editContext/textArea/textAreaEditContext.css +19 -0
- package/vscode/src/vs/editor/browser/controller/editContext/textArea/textAreaEditContext.d.ts +7 -0
- package/vscode/src/vs/editor/browser/controller/editContext/textArea/textAreaEditContextInput.d.ts +8 -0
- package/vscode/src/vs/editor/browser/controller/editContext/textArea/textAreaEditContextState.d.ts +13 -1
- package/vscode/src/vs/editor/browser/controller/mouseHandler.d.ts +9 -0
- package/vscode/src/vs/editor/browser/controller/mouseTarget.d.ts +6 -0
- package/vscode/src/vs/editor/browser/controller/pointerHandler.d.ts +3 -0
- package/vscode/src/vs/editor/browser/coreCommands.d.ts +24 -0
- package/vscode/src/vs/editor/browser/editorBrowser.d.ts +439 -0
- package/vscode/src/vs/editor/browser/editorDom.d.ts +39 -0
- package/vscode/src/vs/editor/browser/editorExtensions.d.ts +51 -0
- package/vscode/src/vs/editor/browser/gpu/atlas/atlas.d.ts +65 -0
- package/vscode/src/vs/editor/browser/gpu/atlas/textureAtlas.d.ts +23 -1
- package/vscode/src/vs/editor/browser/gpu/atlas/textureAtlasPage.d.ts +4 -0
- package/vscode/src/vs/editor/browser/gpu/atlas/textureAtlasShelfAllocator.d.ts +5 -0
- package/vscode/src/vs/editor/browser/gpu/atlas/textureAtlasSlabAllocator.d.ts +10 -0
- package/vscode/src/vs/editor/browser/gpu/bufferDirtyTracker.d.ts +20 -0
- package/vscode/src/vs/editor/browser/gpu/contentSegmenter.d.ts +6 -0
- package/vscode/src/vs/editor/browser/gpu/css/decorationCssRuleExtractor.d.ts +3 -0
- package/vscode/src/vs/editor/browser/gpu/css/decorationStyleCache.d.ts +12 -0
- package/vscode/src/vs/editor/browser/gpu/css/media/decorationCssRuleExtractor.css +5 -0
- package/vscode/src/vs/editor/browser/gpu/gpu.d.ts +3 -0
- package/vscode/src/vs/editor/browser/gpu/objectCollectionBuffer.d.ts +33 -0
- package/vscode/src/vs/editor/browser/gpu/raster/glyphRasterizer.d.ts +4 -0
- package/vscode/src/vs/editor/browser/gpu/raster/raster.d.ts +47 -0
- package/vscode/src/vs/editor/browser/gpu/renderStrategy/fullFileRenderStrategy.d.ts +20 -0
- package/vscode/src/vs/editor/browser/gpu/renderStrategy/viewportRenderStrategy.d.ts +10 -0
- package/vscode/src/vs/editor/browser/gpu/taskQueue.d.ts +33 -0
- package/vscode/src/vs/editor/browser/gpu/viewGpuContext.d.ts +22 -0
- package/vscode/src/vs/editor/browser/observableCodeEditor.d.ts +6 -0
- package/vscode/src/vs/editor/browser/services/codeEditorService.service.d.ts +3 -0
- package/vscode/src/vs/editor/browser/services/hoverService/hover.css +32 -0
- package/vscode/src/vs/editor/browser/services/hoverService/hoverWidget.d.ts +4 -0
- package/vscode/src/vs/editor/browser/services/inlineCompletionsService.service.d.ts +16 -0
- package/vscode/src/vs/editor/browser/view/renderingContext.d.ts +17 -1
- package/vscode/src/vs/editor/browser/view/viewController.d.ts +3 -0
- package/vscode/src/vs/editor/browser/view/viewLayer.d.ts +19 -0
- package/vscode/src/vs/editor/browser/viewParts/blockDecorations/blockDecorations.css +6 -0
- package/vscode/src/vs/editor/browser/viewParts/contentWidgets/contentWidgets.d.ts +5 -0
- package/vscode/src/vs/editor/browser/viewParts/currentLineHighlight/currentLineHighlight.css +7 -0
- package/vscode/src/vs/editor/browser/viewParts/currentLineHighlight/currentLineHighlight.d.ts +9 -0
- package/vscode/src/vs/editor/browser/viewParts/decorations/decorations.css +9 -0
- package/vscode/src/vs/editor/browser/viewParts/editorScrollbar/editorScrollbar.d.ts +4 -0
- package/vscode/src/vs/editor/browser/viewParts/glyphMargin/glyphMargin.css +16 -0
- package/vscode/src/vs/editor/browser/viewParts/glyphMargin/glyphMargin.d.ts +20 -0
- package/vscode/src/vs/editor/browser/viewParts/gpuMark/gpuMark.css +6 -0
- package/vscode/src/vs/editor/browser/viewParts/gpuMark/gpuMark.d.ts +3 -0
- package/vscode/src/vs/editor/browser/viewParts/indentGuides/indentGuides.css +5 -0
- package/vscode/src/vs/editor/browser/viewParts/indentGuides/indentGuides.d.ts +4 -0
- package/vscode/src/vs/editor/browser/viewParts/lineNumbers/lineNumbers.css +9 -0
- package/vscode/src/vs/editor/browser/viewParts/lineNumbers/lineNumbers.d.ts +3 -0
- package/vscode/src/vs/editor/browser/viewParts/linesDecorations/linesDecorations.css +9 -0
- package/vscode/src/vs/editor/browser/viewParts/margin/margin.css +5 -0
- package/vscode/src/vs/editor/browser/viewParts/margin/margin.d.ts +5 -0
- package/vscode/src/vs/editor/browser/viewParts/marginDecorations/marginDecorations.css +9 -0
- package/vscode/src/vs/editor/browser/viewParts/minimap/minimap.css +10 -0
- package/vscode/src/vs/editor/browser/viewParts/minimap/minimap.d.ts +31 -0
- package/vscode/src/vs/editor/browser/viewParts/minimap/minimapCharRendererFactory.d.ts +16 -0
- package/vscode/src/vs/editor/browser/viewParts/minimap/minimapCharSheet.d.ts +3 -3
- package/vscode/src/vs/editor/browser/viewParts/minimap/minimapPreBaked.d.ts +5 -0
- package/vscode/src/vs/editor/browser/viewParts/overlayWidgets/overlayWidgets.css +4 -0
- package/vscode/src/vs/editor/browser/viewParts/overviewRuler/overviewRuler.d.ts +4 -0
- package/vscode/src/vs/editor/browser/viewParts/rulers/rulers.css +5 -0
- package/vscode/src/vs/editor/browser/viewParts/rulers/rulers.d.ts +4 -0
- package/vscode/src/vs/editor/browser/viewParts/rulersGpu/rulersGpu.d.ts +4 -0
- package/vscode/src/vs/editor/browser/viewParts/scrollDecoration/scrollDecoration.css +5 -0
- package/vscode/src/vs/editor/browser/viewParts/selections/selections.css +14 -0
- package/vscode/src/vs/editor/browser/viewParts/selections/selections.d.ts +3 -0
- package/vscode/src/vs/editor/browser/viewParts/viewCursors/viewCursor.d.ts +4 -0
- package/vscode/src/vs/editor/browser/viewParts/viewCursors/viewCursors.css +19 -0
- package/vscode/src/vs/editor/browser/viewParts/viewCursors/viewCursors.d.ts +4 -0
- package/vscode/src/vs/editor/browser/viewParts/viewLines/rangeUtil.d.ts +5 -0
- package/vscode/src/vs/editor/browser/viewParts/viewLines/viewLines.css +34 -0
- package/vscode/src/vs/editor/browser/viewParts/viewLines/viewLines.d.ts +19 -0
- package/vscode/src/vs/editor/browser/viewParts/viewLinesGpu/viewLinesGpu.d.ts +3 -0
- package/vscode/src/vs/editor/browser/viewParts/viewZones/viewZones.d.ts +5 -0
- package/vscode/src/vs/editor/browser/viewParts/whitespace/whitespace.css +5 -0
- package/vscode/src/vs/editor/browser/viewParts/whitespace/whitespace.d.ts +4 -0
- package/vscode/src/vs/editor/browser/widget/codeEditor/codeEditorContributions.d.ts +12 -0
- package/vscode/src/vs/editor/browser/widget/codeEditor/codeEditorWidget.d.ts +32 -0
- package/vscode/src/vs/editor/browser/widget/codeEditor/editor.css +27 -0
- package/vscode/src/vs/editor/browser/widget/diffEditor/commands.d.ts +4 -0
- package/vscode/src/vs/editor/browser/widget/diffEditor/components/accessibleDiffViewer.css +20 -0
- package/vscode/src/vs/editor/browser/widget/diffEditor/components/accessibleDiffViewer.d.ts +6 -0
- package/vscode/src/vs/editor/browser/widget/diffEditor/components/diffEditorSash.d.ts +1 -0
- package/vscode/src/vs/editor/browser/widget/diffEditor/components/diffEditorViewZones/diffEditorViewZones.d.ts +7 -0
- package/vscode/src/vs/editor/browser/widget/diffEditor/diffEditorWidget.d.ts +10 -0
- package/vscode/src/vs/editor/browser/widget/diffEditor/features/gutterFeature.d.ts +3 -0
- package/vscode/src/vs/editor/browser/widget/diffEditor/features/hideUnchangedRegionsFeature.d.ts +3 -0
- package/vscode/src/vs/editor/browser/widget/diffEditor/features/revertButtonsFeature.d.ts +6 -0
- package/vscode/src/vs/editor/browser/widget/diffEditor/style.css +92 -1
- package/vscode/src/vs/editor/browser/widget/markdownRenderer/browser/markdownRenderer.d.ts +4 -0
- package/vscode/src/vs/editor/browser/widget/markdownRenderer/browser/renderedMarkdown.css +6 -0
- package/vscode/src/vs/editor/common/commands/surroundSelectionCommand.d.ts +3 -0
- package/vscode/src/vs/editor/common/commands/trimTrailingWhitespaceCommand.d.ts +3 -0
- package/vscode/src/vs/editor/common/config/editorConfiguration.d.ts +41 -0
- package/vscode/src/vs/editor/common/config/editorOptions.d.ts +862 -0
- package/vscode/src/vs/editor/common/config/fontInfo.d.ts +34 -0
- package/vscode/src/vs/editor/common/coordinatesConverter.d.ts +7 -0
- package/vscode/src/vs/editor/common/core/characterClassifier.d.ts +9 -0
- package/vscode/src/vs/editor/common/core/cursorColumns.d.ts +44 -0
- package/vscode/src/vs/editor/common/core/editOperation.d.ts +14 -0
- package/vscode/src/vs/editor/common/core/editorColorRegistry.d.ts +3 -0
- package/vscode/src/vs/editor/common/core/edits/edit.d.ts +55 -1
- package/vscode/src/vs/editor/common/core/edits/lengthEdit.d.ts +6 -0
- package/vscode/src/vs/editor/common/core/edits/lineEdit.d.ts +9 -1
- package/vscode/src/vs/editor/common/core/edits/stringEdit.d.ts +37 -0
- package/vscode/src/vs/editor/common/core/edits/textEdit.d.ts +3 -0
- package/vscode/src/vs/editor/common/core/misc/rgba.d.ts +16 -0
- package/vscode/src/vs/editor/common/core/position.d.ts +67 -0
- package/vscode/src/vs/editor/common/core/range.d.ts +140 -0
- package/vscode/src/vs/editor/common/core/ranges/columnRange.d.ts +8 -1
- package/vscode/src/vs/editor/common/core/ranges/lineRange.d.ts +57 -1
- package/vscode/src/vs/editor/common/core/ranges/offsetRange.d.ts +30 -0
- package/vscode/src/vs/editor/common/core/ranges/rangeSingleLine.d.ts +7 -1
- package/vscode/src/vs/editor/common/core/selection.d.ts +83 -0
- package/vscode/src/vs/editor/common/core/stringBuilder.d.ts +6 -0
- package/vscode/src/vs/editor/common/core/text/positionToOffsetImpl.d.ts +1 -0
- package/vscode/src/vs/editor/common/core/text/textLength.d.ts +3 -0
- package/vscode/src/vs/editor/common/core/wordHelper.d.ts +12 -0
- package/vscode/src/vs/editor/common/cursor/cursorAtomicMoveOperations.d.ts +15 -0
- package/vscode/src/vs/editor/common/cursor/cursorCollection.d.ts +7 -0
- package/vscode/src/vs/editor/common/cursor/cursorMoveCommands.d.ts +15 -0
- package/vscode/src/vs/editor/common/cursor/cursorMoveOperations.d.ts +7 -0
- package/vscode/src/vs/editor/common/cursor/cursorTypeEditOperations.d.ts +14 -0
- package/vscode/src/vs/editor/common/cursor/cursorTypeOperations.d.ts +3 -0
- package/vscode/src/vs/editor/common/cursor/oneCursor.d.ts +3 -0
- package/vscode/src/vs/editor/common/cursorCommon.d.ts +25 -0
- package/vscode/src/vs/editor/common/cursorEvents.d.ts +63 -0
- package/vscode/src/vs/editor/common/diff/defaultLinesDiffComputer/algorithms/diffAlgorithm.d.ts +23 -1
- package/vscode/src/vs/editor/common/diff/defaultLinesDiffComputer/algorithms/dynamicProgrammingDiffing.d.ts +4 -0
- package/vscode/src/vs/editor/common/diff/defaultLinesDiffComputer/algorithms/myersDiffAlgorithm.d.ts +3 -0
- package/vscode/src/vs/editor/common/diff/defaultLinesDiffComputer/linesSliceCharSequence.d.ts +4 -0
- package/vscode/src/vs/editor/common/diff/legacyLinesDiffComputer.d.ts +16 -0
- package/vscode/src/vs/editor/common/diff/linesDiffComputer.d.ts +24 -1
- package/vscode/src/vs/editor/common/diff/rangeMapping.d.ts +41 -0
- package/vscode/src/vs/editor/common/editorCommon.d.ts +218 -0
- package/vscode/src/vs/editor/common/editorContextKeys.d.ts +14 -0
- package/vscode/src/vs/editor/common/editorFeatures.d.ts +7 -0
- package/vscode/src/vs/editor/common/encodedTokenAttributes.d.ts +38 -0
- package/vscode/src/vs/editor/common/inputMode.d.ts +3 -0
- package/vscode/src/vs/editor/common/languageSelector.d.ts +6 -0
- package/vscode/src/vs/editor/common/languages/autoIndent.d.ts +16 -0
- package/vscode/src/vs/editor/common/languages/defaultDocumentColorsComputer.d.ts +3 -0
- package/vscode/src/vs/editor/common/languages/language.d.ts +3 -0
- package/vscode/src/vs/editor/common/languages/language.service.d.ts +77 -0
- package/vscode/src/vs/editor/common/languages/languageConfiguration.d.ts +195 -0
- package/vscode/src/vs/editor/common/languages/languageConfigurationRegistry.d.ts +9 -0
- package/vscode/src/vs/editor/common/languages/languageConfigurationRegistry.service.d.ts +3 -0
- package/vscode/src/vs/editor/common/languages/linkComputer.d.ts +5 -0
- package/vscode/src/vs/editor/common/languages/supports/electricCharacter.d.ts +4 -0
- package/vscode/src/vs/editor/common/languages/supports/indentationLineProcessor.d.ts +27 -0
- package/vscode/src/vs/editor/common/languages/supports/languageBracketsConfiguration.d.ts +22 -1
- package/vscode/src/vs/editor/common/languages/supports/richEditBrackets.d.ts +80 -0
- package/vscode/src/vs/editor/common/languages/supports/tokenization.d.ts +12 -0
- package/vscode/src/vs/editor/common/languages.d.ts +955 -1
- package/vscode/src/vs/editor/common/model/bracketPairsTextModelPart/bracketPairsImpl.d.ts +4 -0
- package/vscode/src/vs/editor/common/model/bracketPairsTextModelPart/bracketPairsTree/ast.d.ts +55 -0
- package/vscode/src/vs/editor/common/model/bracketPairsTextModelPart/bracketPairsTree/beforeEditPositionMapper.d.ts +10 -0
- package/vscode/src/vs/editor/common/model/bracketPairsTextModelPart/bracketPairsTree/bracketPairsTree.d.ts +3 -0
- package/vscode/src/vs/editor/common/model/bracketPairsTextModelPart/bracketPairsTree/brackets.d.ts +3 -0
- package/vscode/src/vs/editor/common/model/bracketPairsTextModelPart/bracketPairsTree/concat23Trees.d.ts +6 -0
- package/vscode/src/vs/editor/common/model/bracketPairsTextModelPart/bracketPairsTree/length.d.ts +16 -0
- package/vscode/src/vs/editor/common/model/bracketPairsTextModelPart/bracketPairsTree/nodeReader.d.ts +8 -0
- package/vscode/src/vs/editor/common/model/bracketPairsTextModelPart/bracketPairsTree/parser.d.ts +3 -0
- package/vscode/src/vs/editor/common/model/bracketPairsTextModelPart/bracketPairsTree/smallImmutableSet.d.ts +7 -0
- package/vscode/src/vs/editor/common/model/bracketPairsTextModelPart/bracketPairsTree/tokenizer.d.ts +23 -1
- package/vscode/src/vs/editor/common/model/decorationProvider.d.ts +13 -0
- package/vscode/src/vs/editor/common/model/fixedArray.d.ts +4 -0
- package/vscode/src/vs/editor/common/model/indentationGuesser.d.ts +9 -0
- package/vscode/src/vs/editor/common/model/intervalTree.d.ts +13 -0
- package/vscode/src/vs/editor/common/model/mirrorTextModel.d.ts +18 -0
- package/vscode/src/vs/editor/common/model/pieceTreeTextBuffer/pieceTreeBase.d.ts +29 -0
- package/vscode/src/vs/editor/common/model/pieceTreeTextBuffer/pieceTreeTextBuffer.d.ts +7 -0
- package/vscode/src/vs/editor/common/model/prefixSumComputer.d.ts +34 -0
- package/vscode/src/vs/editor/common/model/textModel.d.ts +17 -0
- package/vscode/src/vs/editor/common/model/textModelSearch.d.ts +4 -0
- package/vscode/src/vs/editor/common/model/textModelTokens.d.ts +19 -0
- package/vscode/src/vs/editor/common/model/tokens/abstractSyntaxTokenBackend.d.ts +8 -0
- package/vscode/src/vs/editor/common/model/tokens/tokenizationTextModelPart.d.ts +3 -0
- package/vscode/src/vs/editor/common/model/tokens/tokenizerSyntaxTokenBackend.d.ts +1 -0
- package/vscode/src/vs/editor/common/model/tokens/treeSitter/tokenStore.d.ts +22 -0
- package/vscode/src/vs/editor/common/model/tokens/treeSitter/treeSitterTokenizationImpl.d.ts +10 -0
- package/vscode/src/vs/editor/common/model/tokens/treeSitter/treeSitterTree.d.ts +4 -1
- package/vscode/src/vs/editor/common/model/utils.d.ts +5 -0
- package/vscode/src/vs/editor/common/model.d.ts +440 -0
- package/vscode/src/vs/editor/common/modelLineProjectionData.d.ts +52 -1
- package/vscode/src/vs/editor/common/services/editorWebWorker.d.ts +19 -0
- package/vscode/src/vs/editor/common/services/findSectionHeaders.d.ts +19 -0
- package/vscode/src/vs/editor/common/services/languagesAssociations.d.ts +23 -0
- package/vscode/src/vs/editor/common/services/modelService.d.ts +6 -0
- package/vscode/src/vs/editor/common/services/resolverService.service.d.ts +10 -0
- package/vscode/src/vs/editor/common/services/textModelSync/textModelSync.impl.d.ts +3 -0
- package/vscode/src/vs/editor/common/services/textResourceConfiguration.d.ts +11 -0
- package/vscode/src/vs/editor/common/services/textResourceConfiguration.service.d.ts +35 -0
- package/vscode/src/vs/editor/common/services/treeSitter/treeSitterLibraryService.service.d.ts +10 -0
- package/vscode/src/vs/editor/common/standalone/standaloneEnums.d.ts +377 -18
- package/vscode/src/vs/editor/common/textModelBracketPairs.d.ts +56 -3
- package/vscode/src/vs/editor/common/textModelEditSource.d.ts +4 -0
- package/vscode/src/vs/editor/common/textModelEvents.d.ts +210 -0
- package/vscode/src/vs/editor/common/textModelGuides.d.ts +28 -1
- package/vscode/src/vs/editor/common/tokenizationTextModelPart.d.ts +53 -0
- package/vscode/src/vs/editor/common/tokens/contiguousMultilineTokens.d.ts +24 -0
- package/vscode/src/vs/editor/common/tokens/contiguousTokensStore.d.ts +3 -0
- package/vscode/src/vs/editor/common/tokens/lineTokens.d.ts +20 -0
- package/vscode/src/vs/editor/common/tokens/sparseMultilineTokens.d.ts +9 -0
- package/vscode/src/vs/editor/common/tokens/sparseTokensStore.d.ts +3 -0
- package/vscode/src/vs/editor/common/tokens/tokenWithTextArray.d.ts +11 -0
- package/vscode/src/vs/editor/common/viewEvents.d.ts +85 -2
- package/vscode/src/vs/editor/common/viewLayout/lineDecorations.d.ts +3 -0
- package/vscode/src/vs/editor/common/viewLayout/lineHeights.d.ts +26 -0
- package/vscode/src/vs/editor/common/viewLayout/linePart.d.ts +8 -1
- package/vscode/src/vs/editor/common/viewLayout/linesLayout.d.ts +130 -0
- package/vscode/src/vs/editor/common/viewLayout/viewLineRenderer.d.ts +10 -0
- package/vscode/src/vs/editor/common/viewLayout/viewLinesViewportData.d.ts +21 -0
- package/vscode/src/vs/editor/common/viewModel/modelLineProjection.d.ts +3 -0
- package/vscode/src/vs/editor/common/viewModel/overviewZoneManager.d.ts +6 -0
- package/vscode/src/vs/editor/common/viewModel/viewModelDecorations.d.ts +12 -0
- package/vscode/src/vs/editor/common/viewModel/viewModelImpl.d.ts +15 -0
- package/vscode/src/vs/editor/common/viewModel/viewModelLines.d.ts +10 -0
- package/vscode/src/vs/editor/common/viewModel.d.ts +104 -1
- package/vscode/src/vs/editor/contrib/anchorSelect/browser/anchorSelect.css +5 -0
- package/vscode/src/vs/editor/contrib/bracketMatching/browser/bracketMatching.css +5 -0
- package/vscode/src/vs/editor/contrib/codeAction/browser/codeAction.d.ts +1 -1
- package/vscode/src/vs/editor/contrib/codeAction/browser/lightBulbWidget.css +16 -0
- package/vscode/src/vs/editor/contrib/codelens/browser/codelensWidget.css +15 -1
- package/vscode/src/vs/editor/contrib/colorPicker/browser/colorPicker.css +40 -0
- package/vscode/src/vs/editor/contrib/colorPicker/browser/hoverColorPicker/hoverColorPickerParticipant.d.ts +4 -0
- package/vscode/src/vs/editor/contrib/comment/browser/lineCommentCommand.d.ts +26 -0
- package/vscode/src/vs/editor/contrib/dnd/browser/dnd.css +9 -3
- package/vscode/src/vs/editor/contrib/dropOrPasteInto/browser/copyPasteController.d.ts +12 -0
- package/vscode/src/vs/editor/contrib/dropOrPasteInto/browser/dropIntoEditorController.d.ts +5 -0
- package/vscode/src/vs/editor/contrib/dropOrPasteInto/browser/edit.d.ts +4 -0
- package/vscode/src/vs/editor/contrib/dropOrPasteInto/browser/postEditWidget.css +8 -0
- package/vscode/src/vs/editor/contrib/editorState/browser/editorState.d.ts +8 -0
- package/vscode/src/vs/editor/contrib/find/browser/findDecorations.d.ts +1 -0
- package/vscode/src/vs/editor/contrib/find/browser/findOptionsWidget.css +5 -0
- package/vscode/src/vs/editor/contrib/find/browser/findWidget.css +62 -1
- package/vscode/src/vs/editor/contrib/find/browser/findWidget.d.ts +4 -0
- package/vscode/src/vs/editor/contrib/find/browser/replacePattern.d.ts +18 -0
- package/vscode/src/vs/editor/contrib/folding/browser/folding.css +10 -1
- package/vscode/src/vs/editor/contrib/folding/browser/folding.d.ts +6 -0
- package/vscode/src/vs/editor/contrib/folding/browser/foldingModel.d.ts +67 -0
- package/vscode/src/vs/editor/contrib/folding/browser/foldingRanges.d.ts +13 -0
- package/vscode/src/vs/editor/contrib/gotoError/browser/media/gotoErrorWidget.css +20 -0
- package/vscode/src/vs/editor/contrib/gotoSymbol/browser/link/clickLinkGesture.d.ts +9 -0
- package/vscode/src/vs/editor/contrib/gotoSymbol/browser/link/goToDefinitionAtPosition.css +5 -0
- package/vscode/src/vs/editor/contrib/gotoSymbol/browser/peek/referencesWidget.css +22 -0
- package/vscode/src/vs/editor/contrib/gotoSymbol/browser/peek/referencesWidget.d.ts +3 -0
- package/vscode/src/vs/editor/contrib/hover/browser/contentHoverWidgetWrapper.d.ts +3 -0
- package/vscode/src/vs/editor/contrib/hover/browser/hover.css +19 -0
- package/vscode/src/vs/editor/contrib/hover/browser/hoverOperation.d.ts +16 -0
- package/vscode/src/vs/editor/contrib/hover/browser/hoverTypes.d.ts +54 -0
- package/vscode/src/vs/editor/contrib/inPlaceReplace/browser/inPlaceReplace.css +6 -0
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/controller/inlineCompletionsController.d.ts +3 -0
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/hintsWidget/inlineCompletionsHintsWidget.css +12 -0
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/model/computeGhostText.d.ts +12 -0
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/model/ghostText.d.ts +11 -1
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/model/graph.d.ts +3 -0
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/model/inlineCompletionsSource.d.ts +3 -0
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/model/inlineSuggestionItem.d.ts +12 -0
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/model/provideInlineCompletions.d.ts +13 -0
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/model/typingSpeed.d.ts +13 -0
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/structuredLogger.d.ts +3 -0
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/view/ghostText/ghostTextView.css +16 -0
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/view/inlineEdits/inlineEditsViews/inlineEditsWordReplacementView.d.ts +4 -1
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/view/inlineEdits/view.css +58 -7
- package/vscode/src/vs/editor/contrib/inlineProgress/browser/inlineProgress.d.ts +1 -0
- package/vscode/src/vs/editor/contrib/inlineProgress/browser/inlineProgressWidget.css +9 -0
- package/vscode/src/vs/editor/contrib/insertFinalNewLine/browser/insertFinalNewLineCommand.d.ts +4 -0
- package/vscode/src/vs/editor/contrib/linesOperations/browser/linesOperations.d.ts +3 -0
- package/vscode/src/vs/editor/contrib/linesOperations/browser/moveLinesCommand.d.ts +9 -0
- package/vscode/src/vs/editor/contrib/linkedEditing/browser/linkedEditing.css +7 -0
- package/vscode/src/vs/editor/contrib/links/browser/links.css +5 -0
- package/vscode/src/vs/editor/contrib/message/browser/messageController.css +18 -0
- package/vscode/src/vs/editor/contrib/middleScroll/browser/middleScroll.css +7 -0
- package/vscode/src/vs/editor/contrib/parameterHints/browser/parameterHints.css +29 -0
- package/vscode/src/vs/editor/contrib/peekView/browser/media/peekViewWidget.css +18 -0
- package/vscode/src/vs/editor/contrib/placeholderText/browser/placeholderText.css +6 -0
- package/vscode/src/vs/editor/contrib/placeholderText/browser/placeholderTextContribution.d.ts +3 -0
- package/vscode/src/vs/editor/contrib/rename/browser/renameWidget.css +16 -2
- package/vscode/src/vs/editor/contrib/rename/browser/renameWidget.d.ts +27 -0
- package/vscode/src/vs/editor/contrib/snippet/browser/snippetParser.d.ts +4 -0
- package/vscode/src/vs/editor/contrib/snippet/browser/snippetSession.css +6 -0
- package/vscode/src/vs/editor/contrib/snippet/browser/snippetSession.d.ts +4 -0
- package/vscode/src/vs/editor/contrib/stickyScroll/browser/stickyScroll.css +15 -0
- package/vscode/src/vs/editor/contrib/stickyScroll/browser/stickyScrollElement.d.ts +22 -1
- package/vscode/src/vs/editor/contrib/stickyScroll/browser/stickyScrollModelProvider.d.ts +5 -0
- package/vscode/src/vs/editor/contrib/stickyScroll/browser/stickyScrollProvider.d.ts +42 -0
- package/vscode/src/vs/editor/contrib/stickyScroll/browser/stickyScrollWidget.d.ts +19 -0
- package/vscode/src/vs/editor/contrib/suggest/browser/completionModel.d.ts +3 -0
- package/vscode/src/vs/editor/contrib/suggest/browser/media/suggest.css +118 -0
- package/vscode/src/vs/editor/contrib/suggest/browser/suggest.d.ts +7 -0
- package/vscode/src/vs/editor/contrib/suggest/browser/suggestModel.d.ts +4 -0
- package/vscode/src/vs/editor/contrib/suggest/browser/suggestWidgetRenderer.d.ts +8 -0
- package/vscode/src/vs/editor/contrib/symbolIcons/browser/symbolIcons.css +5 -0
- package/vscode/src/vs/editor/contrib/unicodeHighlighter/browser/bannerController.css +19 -0
- package/vscode/src/vs/editor/contrib/unicodeHighlighter/browser/unicodeHighlighter.css +5 -0
- package/vscode/src/vs/editor/contrib/wordHighlighter/browser/highlightDecorations.css +8 -0
- package/vscode/src/vs/editor/contrib/zoneWidget/browser/zoneWidget.css +6 -0
- package/vscode/src/vs/editor/contrib/zoneWidget/browser/zoneWidget.d.ts +1 -0
- package/vscode/src/vs/editor/editor.worker.start.d.ts +5 -0
- package/vscode/src/vs/editor/standalone/browser/iPadShowKeyboard/iPadShowKeyboard.css +6 -0
- package/vscode/src/vs/editor/standalone/browser/quickInput/standaloneQuickInput.css +14 -0
- package/vscode/src/vs/editor/standalone/browser/standaloneCodeEditor.d.ts +73 -0
- package/vscode/src/vs/editor/standalone/browser/standaloneServices.d.ts +10 -0
- package/vscode/src/vs/editor/standalone/browser/standaloneTreeSitterLibraryService.d.ts +10 -0
- package/vscode/src/vs/nls.d.ts +96 -0
- package/vscode/src/vs/platform/accessibility/browser/accessibleView.d.ts +31 -0
- package/vscode/src/vs/platform/accessibility/browser/accessibleView.service.d.ts +4 -0
- package/vscode/src/vs/platform/accessibility/browser/accessibleViewRegistry.d.ts +3 -0
- package/vscode/src/vs/platform/accessibility/common/accessibility.d.ts +3 -0
- package/vscode/src/vs/platform/accessibilitySignal/browser/accessibilitySignalService.d.ts +16 -0
- package/vscode/src/vs/platform/accessibilitySignal/browser/accessibilitySignalService.service.d.ts +7 -0
- package/vscode/src/vs/platform/action/common/action.d.ts +32 -0
- package/vscode/src/vs/platform/actionWidget/browser/actionWidget.css +36 -0
- package/vscode/src/vs/platform/actions/browser/floatingMenu.d.ts +4 -0
- package/vscode/src/vs/platform/actions/browser/menuEntryActionViewItem.css +14 -0
- package/vscode/src/vs/platform/actions/browser/menuEntryActionViewItem.d.ts +3 -0
- package/vscode/src/vs/platform/actions/browser/toolbar.d.ts +67 -0
- package/vscode/src/vs/platform/actions/common/actions.d.ts +40 -0
- package/vscode/src/vs/platform/actions/common/actions.service.d.ts +20 -0
- package/vscode/src/vs/platform/clipboard/common/clipboardService.service.d.ts +33 -0
- package/vscode/src/vs/platform/commands/common/commands.d.ts +7 -0
- package/vscode/src/vs/platform/configuration/common/configuration.d.ts +9 -0
- package/vscode/src/vs/platform/configuration/common/configuration.service.d.ts +26 -0
- package/vscode/src/vs/platform/configuration/common/configurationRegistry.d.ts +126 -0
- package/vscode/src/vs/platform/contextkey/common/contextkey.d.ts +30 -0
- package/vscode/src/vs/platform/contextkey/common/scanner.d.ts +21 -1
- package/vscode/src/vs/platform/contextview/browser/contextView.d.ts +18 -0
- package/vscode/src/vs/platform/dialogs/common/dialogs.service.d.ts +87 -0
- package/vscode/src/vs/platform/dnd/browser/dnd.d.ts +22 -0
- package/vscode/src/vs/platform/editor/common/editor.d.ts +231 -0
- package/vscode/src/vs/platform/environment/common/argv.d.ts +3 -0
- package/vscode/src/vs/platform/environment/common/environment.d.ts +5 -0
- package/vscode/src/vs/platform/environment/common/environment.service.d.ts +16 -0
- package/vscode/src/vs/platform/extensionManagement/common/extensionManagement.d.ts +25 -22
- package/vscode/src/vs/platform/extensionManagement/common/extensionManagement.service.d.ts +4 -0
- package/vscode/src/vs/platform/extensionManagement/common/extensionsProfileScannerService.d.ts +6 -0
- package/vscode/src/vs/platform/extensionManagement/common/extensionsScannerService.d.ts +7 -0
- package/vscode/src/vs/platform/extensionManagement/common/implicitActivationEvents.d.ts +8 -0
- package/vscode/src/vs/platform/extensionResourceLoader/common/extensionResourceLoader.service.d.ts +15 -0
- package/vscode/src/vs/platform/extensions/common/extensions.d.ts +944 -0
- package/vscode/src/vs/platform/files/browser/webFileSystemAccess.d.ts +25 -0
- package/vscode/src/vs/platform/files/common/files.d.ts +408 -0
- package/vscode/src/vs/platform/files/common/files.service.d.ts +168 -0
- package/vscode/src/vs/platform/files/common/watcher.d.ts +83 -0
- package/vscode/src/vs/platform/imageResize/common/imageResizeService.service.d.ts +3 -0
- package/vscode/src/vs/platform/instantiation/common/extensions.d.ts +8 -0
- package/vscode/src/vs/platform/instantiation/common/graph.d.ts +4 -0
- package/vscode/src/vs/platform/instantiation/common/instantiation.d.ts +31 -0
- package/vscode/src/vs/platform/jsonschemas/common/jsonContributionRegistry.d.ts +18 -0
- package/vscode/src/vs/platform/keybinding/common/abstractKeybindingService.d.ts +7 -0
- package/vscode/src/vs/platform/keybinding/common/keybinding.service.d.ts +27 -0
- package/vscode/src/vs/platform/keybinding/common/keybindingResolver.d.ts +24 -1
- package/vscode/src/vs/platform/keybinding/common/keybindingsRegistry.d.ts +3 -0
- package/vscode/src/vs/platform/keybinding/common/usLayoutResolvedKeybinding.d.ts +6 -0
- package/vscode/src/vs/platform/label/common/label.service.d.ts +12 -0
- package/vscode/src/vs/platform/layout/browser/layoutService.d.ts +6 -0
- package/vscode/src/vs/platform/layout/browser/layoutService.service.d.ts +51 -0
- package/vscode/src/vs/platform/list/browser/listService.service.d.ts +3 -0
- package/vscode/src/vs/platform/log/common/log.d.ts +30 -0
- package/vscode/src/vs/platform/log/common/log.service.d.ts +52 -0
- package/vscode/src/vs/platform/markers/common/markerService.d.ts +3 -0
- package/vscode/src/vs/platform/markers/common/markers.d.ts +6 -0
- package/vscode/src/vs/platform/notification/common/notification.d.ts +185 -0
- package/vscode/src/vs/platform/notification/common/notification.service.d.ts +63 -0
- package/vscode/src/vs/platform/observable/common/platformObservableUtils.d.ts +2 -0
- package/vscode/src/vs/platform/observable/common/wrapInHotClass.d.ts +10 -0
- package/vscode/src/vs/platform/observable/common/wrapInReloadableClass.d.ts +10 -0
- package/vscode/src/vs/platform/opener/browser/link.css +7 -0
- package/vscode/src/vs/platform/opener/common/opener.d.ts +33 -0
- package/vscode/src/vs/platform/opener/common/opener.service.d.ts +27 -0
- package/vscode/src/vs/platform/product/common/product.d.ts +5 -0
- package/vscode/src/vs/platform/product/common/product.js +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
|
@@ -7,23 +7,91 @@ import { IFileSystemProviderRegistrationEvent, IFileSystemProviderCapabilitiesCh
|
|
|
7
7
|
export declare const IFileService: import("../../instantiation/common/instantiation.js").ServiceIdentifier<IFileService>;
|
|
8
8
|
export interface IFileService {
|
|
9
9
|
readonly _serviceBrand: undefined;
|
|
10
|
+
/**
|
|
11
|
+
* An event that is fired when a file system provider is added or removed
|
|
12
|
+
*/
|
|
10
13
|
readonly onDidChangeFileSystemProviderRegistrations: Event<IFileSystemProviderRegistrationEvent>;
|
|
14
|
+
/**
|
|
15
|
+
* An event that is fired when a registered file system provider changes its capabilities.
|
|
16
|
+
*/
|
|
11
17
|
readonly onDidChangeFileSystemProviderCapabilities: Event<IFileSystemProviderCapabilitiesChangeEvent>;
|
|
18
|
+
/**
|
|
19
|
+
* An event that is fired when a file system provider is about to be activated. Listeners
|
|
20
|
+
* can join this event with a long running promise to help in the activation process.
|
|
21
|
+
*/
|
|
12
22
|
readonly onWillActivateFileSystemProvider: Event<IFileSystemProviderActivationEvent>;
|
|
23
|
+
/**
|
|
24
|
+
* Registers a file system provider for a certain scheme.
|
|
25
|
+
*/
|
|
13
26
|
registerProvider(scheme: string, provider: IFileSystemProvider): IDisposable;
|
|
27
|
+
/**
|
|
28
|
+
* Returns a file system provider for a certain scheme.
|
|
29
|
+
*/
|
|
14
30
|
getProvider(scheme: string): IFileSystemProvider | undefined;
|
|
31
|
+
/**
|
|
32
|
+
* Tries to activate a provider with the given scheme.
|
|
33
|
+
*/
|
|
15
34
|
activateProvider(scheme: string): Promise<void>;
|
|
35
|
+
/**
|
|
36
|
+
* Checks if this file service can handle the given resource by
|
|
37
|
+
* first activating any extension that wants to be activated
|
|
38
|
+
* on the provided resource scheme to include extensions that
|
|
39
|
+
* contribute file system providers for the given resource.
|
|
40
|
+
*/
|
|
16
41
|
canHandleResource(resource: URI): Promise<boolean>;
|
|
42
|
+
/**
|
|
43
|
+
* Checks if the file service has a registered provider for the
|
|
44
|
+
* provided resource.
|
|
45
|
+
*
|
|
46
|
+
* Note: this does NOT account for contributed providers from
|
|
47
|
+
* extensions that have not been activated yet. To include those,
|
|
48
|
+
* consider to call `await fileService.canHandleResource(resource)`.
|
|
49
|
+
*/
|
|
17
50
|
hasProvider(resource: URI): boolean;
|
|
51
|
+
/**
|
|
52
|
+
* Checks if the provider for the provided resource has the provided file system capability.
|
|
53
|
+
*/
|
|
18
54
|
hasCapability(resource: URI, capability: FileSystemProviderCapabilities): boolean;
|
|
55
|
+
/**
|
|
56
|
+
* List the schemes and capabilities for registered file system providers
|
|
57
|
+
*/
|
|
19
58
|
listCapabilities(): Iterable<{
|
|
20
59
|
scheme: string;
|
|
21
60
|
capabilities: FileSystemProviderCapabilities;
|
|
22
61
|
}>;
|
|
62
|
+
/**
|
|
63
|
+
* Allows to listen for file changes. The event will fire for every file within the opened workspace
|
|
64
|
+
* (if any) as well as all files that have been watched explicitly using the #watch() API.
|
|
65
|
+
*/
|
|
23
66
|
readonly onDidFilesChange: Event<FileChangesEvent>;
|
|
67
|
+
/**
|
|
68
|
+
* An event that is fired upon successful completion of a certain file operation.
|
|
69
|
+
*/
|
|
24
70
|
readonly onDidRunOperation: Event<FileOperationEvent>;
|
|
71
|
+
/**
|
|
72
|
+
* Resolve the properties of a file/folder identified by the resource. For a folder, children
|
|
73
|
+
* information is resolved as well depending on the provided options. Use `stat()` method if
|
|
74
|
+
* you do not need children information.
|
|
75
|
+
*
|
|
76
|
+
* If the optional parameter "resolveTo" is specified in options, the stat service is asked
|
|
77
|
+
* to provide a stat object that should contain the full graph of folders up to all of the
|
|
78
|
+
* target resources.
|
|
79
|
+
*
|
|
80
|
+
* If the optional parameter "resolveSingleChildDescendants" is specified in options,
|
|
81
|
+
* the stat service is asked to automatically resolve child folders that only
|
|
82
|
+
* contain a single element.
|
|
83
|
+
*
|
|
84
|
+
* If the optional parameter "resolveMetadata" is specified in options,
|
|
85
|
+
* the stat will contain metadata information such as size, mtime and etag.
|
|
86
|
+
*/
|
|
25
87
|
resolve(resource: URI, options: IResolveMetadataFileOptions): Promise<IFileStatWithMetadata>;
|
|
26
88
|
resolve(resource: URI, options?: IResolveFileOptions): Promise<IFileStat>;
|
|
89
|
+
/**
|
|
90
|
+
* Same as `resolve()` but supports resolving multiple resources in parallel.
|
|
91
|
+
*
|
|
92
|
+
* If one of the resolve targets fails to resolve returns a fake `IFileStat` instead of
|
|
93
|
+
* making the whole call fail.
|
|
94
|
+
*/
|
|
27
95
|
resolveAll(toResolve: {
|
|
28
96
|
resource: URI;
|
|
29
97
|
options: IResolveMetadataFileOptions;
|
|
@@ -32,26 +100,126 @@ export interface IFileService {
|
|
|
32
100
|
resource: URI;
|
|
33
101
|
options?: IResolveFileOptions;
|
|
34
102
|
}[]): Promise<IFileStatResult[]>;
|
|
103
|
+
/**
|
|
104
|
+
* Same as `resolve()` but without resolving the children of a folder if the
|
|
105
|
+
* resource is pointing to a folder.
|
|
106
|
+
*/
|
|
35
107
|
stat(resource: URI): Promise<IFileStatWithPartialMetadata>;
|
|
108
|
+
/**
|
|
109
|
+
* Attempts to resolve the real path of the provided resource. The real path can be
|
|
110
|
+
* different from the resource path for example when it is a symlink.
|
|
111
|
+
*
|
|
112
|
+
* Will return `undefined` if the real path cannot be resolved.
|
|
113
|
+
*/
|
|
36
114
|
realpath(resource: URI): Promise<URI | undefined>;
|
|
115
|
+
/**
|
|
116
|
+
* Finds out if a file/folder identified by the resource exists.
|
|
117
|
+
*/
|
|
37
118
|
exists(resource: URI): Promise<boolean>;
|
|
119
|
+
/**
|
|
120
|
+
* Read the contents of the provided resource unbuffered.
|
|
121
|
+
*/
|
|
38
122
|
readFile(resource: URI, options?: IReadFileOptions, token?: CancellationToken): Promise<IFileContent>;
|
|
123
|
+
/**
|
|
124
|
+
* Read the contents of the provided resource buffered as stream.
|
|
125
|
+
*/
|
|
39
126
|
readFileStream(resource: URI, options?: IReadFileStreamOptions, token?: CancellationToken): Promise<IFileStreamContent>;
|
|
127
|
+
/**
|
|
128
|
+
* Updates the content replacing its previous value.
|
|
129
|
+
*
|
|
130
|
+
* Emits a `FileOperation.WRITE` file operation event when successful.
|
|
131
|
+
*/
|
|
40
132
|
writeFile(resource: URI, bufferOrReadableOrStream: VSBuffer | VSBufferReadable | VSBufferReadableStream, options?: IWriteFileOptions): Promise<IFileStatWithMetadata>;
|
|
133
|
+
/**
|
|
134
|
+
* Moves the file/folder to a new path identified by the resource.
|
|
135
|
+
*
|
|
136
|
+
* The optional parameter overwrite can be set to replace an existing file at the location.
|
|
137
|
+
*
|
|
138
|
+
* Emits a `FileOperation.MOVE` file operation event when successful.
|
|
139
|
+
*/
|
|
41
140
|
move(source: URI, target: URI, overwrite?: boolean): Promise<IFileStatWithMetadata>;
|
|
141
|
+
/**
|
|
142
|
+
* Find out if a move operation is possible given the arguments. No changes on disk will
|
|
143
|
+
* be performed. Returns an Error if the operation cannot be done.
|
|
144
|
+
*/
|
|
42
145
|
canMove(source: URI, target: URI, overwrite?: boolean): Promise<Error | true>;
|
|
146
|
+
/**
|
|
147
|
+
* Copies the file/folder to a path identified by the resource. A folder is copied
|
|
148
|
+
* recursively.
|
|
149
|
+
*
|
|
150
|
+
* Emits a `FileOperation.COPY` file operation event when successful.
|
|
151
|
+
*/
|
|
43
152
|
copy(source: URI, target: URI, overwrite?: boolean): Promise<IFileStatWithMetadata>;
|
|
153
|
+
/**
|
|
154
|
+
* Find out if a copy operation is possible given the arguments. No changes on disk will
|
|
155
|
+
* be performed. Returns an Error if the operation cannot be done.
|
|
156
|
+
*/
|
|
44
157
|
canCopy(source: URI, target: URI, overwrite?: boolean): Promise<Error | true>;
|
|
158
|
+
/**
|
|
159
|
+
* Clones a file to a path identified by the resource. Folders are not supported.
|
|
160
|
+
*
|
|
161
|
+
* If the target path exists, it will be overwritten.
|
|
162
|
+
*/
|
|
45
163
|
cloneFile(source: URI, target: URI): Promise<void>;
|
|
164
|
+
/**
|
|
165
|
+
* Creates a new file with the given path and optional contents. The returned promise
|
|
166
|
+
* will have the stat model object as a result.
|
|
167
|
+
*
|
|
168
|
+
* The optional parameter content can be used as value to fill into the new file.
|
|
169
|
+
*
|
|
170
|
+
* Emits a `FileOperation.CREATE` file operation event when successful.
|
|
171
|
+
*/
|
|
46
172
|
createFile(resource: URI, bufferOrReadableOrStream?: VSBuffer | VSBufferReadable | VSBufferReadableStream, options?: ICreateFileOptions): Promise<IFileStatWithMetadata>;
|
|
173
|
+
/**
|
|
174
|
+
* Find out if a file create operation is possible given the arguments. No changes on disk will
|
|
175
|
+
* be performed. Returns an Error if the operation cannot be done.
|
|
176
|
+
*/
|
|
47
177
|
canCreateFile(resource: URI, options?: ICreateFileOptions): Promise<Error | true>;
|
|
178
|
+
/**
|
|
179
|
+
* Creates a new folder with the given path. The returned promise
|
|
180
|
+
* will have the stat model object as a result.
|
|
181
|
+
*
|
|
182
|
+
* Emits a `FileOperation.CREATE` file operation event when successful.
|
|
183
|
+
*/
|
|
48
184
|
createFolder(resource: URI): Promise<IFileStatWithMetadata>;
|
|
185
|
+
/**
|
|
186
|
+
* Deletes the provided file. The optional useTrash parameter allows to
|
|
187
|
+
* move the file to trash. The optional recursive parameter allows to delete
|
|
188
|
+
* non-empty folders recursively.
|
|
189
|
+
*
|
|
190
|
+
* Emits a `FileOperation.DELETE` file operation event when successful.
|
|
191
|
+
*/
|
|
49
192
|
del(resource: URI, options?: Partial<IFileDeleteOptions>): Promise<void>;
|
|
193
|
+
/**
|
|
194
|
+
* Find out if a delete operation is possible given the arguments. No changes on disk will
|
|
195
|
+
* be performed. Returns an Error if the operation cannot be done.
|
|
196
|
+
*/
|
|
50
197
|
canDelete(resource: URI, options?: Partial<IFileDeleteOptions>): Promise<Error | true>;
|
|
198
|
+
/**
|
|
199
|
+
* An event that signals an error when watching for file changes.
|
|
200
|
+
*/
|
|
51
201
|
readonly onDidWatchError: Event<Error>;
|
|
202
|
+
/**
|
|
203
|
+
* Allows to start a watcher that reports file/folder change events on the provided resource.
|
|
204
|
+
*
|
|
205
|
+
* The watcher runs correlated and thus, file events will be reported on the returned
|
|
206
|
+
* `IFileSystemWatcher` and not on the generic `IFileService.onDidFilesChange` event.
|
|
207
|
+
*
|
|
208
|
+
* Note: only non-recursive file watching supports event correlation for now.
|
|
209
|
+
*/
|
|
52
210
|
createWatcher(resource: URI, options: IWatchOptionsWithoutCorrelation & {
|
|
53
211
|
recursive: false;
|
|
54
212
|
}): IFileSystemWatcher;
|
|
213
|
+
/**
|
|
214
|
+
* Allows to start a watcher that reports file/folder change events on the provided resource.
|
|
215
|
+
*
|
|
216
|
+
* The watcher runs uncorrelated and thus will report all events from `IFileService.onDidFilesChange`.
|
|
217
|
+
* This means, most listeners in the application will receive your events. It is encouraged to
|
|
218
|
+
* use correlated watchers (via `IWatchOptionsWithCorrelation`) to limit events to your listener.
|
|
219
|
+
*/
|
|
55
220
|
watch(resource: URI, options?: IWatchOptionsWithoutCorrelation): IDisposable;
|
|
221
|
+
/**
|
|
222
|
+
* Frees up any resources occupied by this service.
|
|
223
|
+
*/
|
|
56
224
|
dispose(): void;
|
|
57
225
|
}
|
|
@@ -3,11 +3,37 @@ import { IRelativePattern, ParsedPattern } from "../../../base/common/glob.js";
|
|
|
3
3
|
import { Disposable, DisposableStore, IDisposable } from "../../../base/common/lifecycle.js";
|
|
4
4
|
import { FileChangeFilter, IFileChange } from "./files.js";
|
|
5
5
|
interface IWatchRequest {
|
|
6
|
+
/**
|
|
7
|
+
* The path to watch.
|
|
8
|
+
*/
|
|
6
9
|
readonly path: string;
|
|
10
|
+
/**
|
|
11
|
+
* Whether to watch recursively or not.
|
|
12
|
+
*/
|
|
7
13
|
readonly recursive: boolean;
|
|
14
|
+
/**
|
|
15
|
+
* A set of glob patterns or paths to exclude from watching.
|
|
16
|
+
*/
|
|
8
17
|
readonly excludes: string[];
|
|
18
|
+
/**
|
|
19
|
+
* An optional set of glob patterns or paths to include for
|
|
20
|
+
* watching. If not provided, all paths are considered for
|
|
21
|
+
* events.
|
|
22
|
+
*/
|
|
9
23
|
readonly includes?: Array<string | IRelativePattern>;
|
|
24
|
+
/**
|
|
25
|
+
* If provided, file change events from the watcher that
|
|
26
|
+
* are a result of this watch request will carry the same
|
|
27
|
+
* id.
|
|
28
|
+
*/
|
|
10
29
|
readonly correlationId?: number;
|
|
30
|
+
/**
|
|
31
|
+
* If provided, allows to filter the events that the watcher should consider
|
|
32
|
+
* for emitting. If not provided, all events are emitted.
|
|
33
|
+
*
|
|
34
|
+
* For example, to emit added and updated events, set to:
|
|
35
|
+
* `FileChangeFilter.ADDED | FileChangeFilter.UPDATED`.
|
|
36
|
+
*/
|
|
11
37
|
readonly filter?: FileChangeFilter;
|
|
12
38
|
}
|
|
13
39
|
export interface IWatchRequestWithCorrelation extends IWatchRequest {
|
|
@@ -15,10 +41,20 @@ export interface IWatchRequestWithCorrelation extends IWatchRequest {
|
|
|
15
41
|
}
|
|
16
42
|
export declare function isWatchRequestWithCorrelation(request: IWatchRequest): request is IWatchRequestWithCorrelation;
|
|
17
43
|
export interface INonRecursiveWatchRequest extends IWatchRequest {
|
|
44
|
+
/**
|
|
45
|
+
* The watcher will be non-recursive.
|
|
46
|
+
*/
|
|
18
47
|
readonly recursive: false;
|
|
19
48
|
}
|
|
20
49
|
export interface IRecursiveWatchRequest extends IWatchRequest {
|
|
50
|
+
/**
|
|
51
|
+
* The watcher will be recursive.
|
|
52
|
+
*/
|
|
21
53
|
readonly recursive: true;
|
|
54
|
+
/**
|
|
55
|
+
* @deprecated this only exists for WSL1 support and should never
|
|
56
|
+
* be used in any other case.
|
|
57
|
+
*/
|
|
22
58
|
pollingInterval?: number;
|
|
23
59
|
}
|
|
24
60
|
export declare function isRecursiveWatchRequest(request: IWatchRequest): request is IRecursiveWatchRequest;
|
|
@@ -28,21 +64,68 @@ export interface IWatcherErrorEvent {
|
|
|
28
64
|
readonly request?: IUniversalWatchRequest;
|
|
29
65
|
}
|
|
30
66
|
export interface IWatcher {
|
|
67
|
+
/**
|
|
68
|
+
* A normalized file change event from the raw events
|
|
69
|
+
* the watcher emits.
|
|
70
|
+
*/
|
|
31
71
|
readonly onDidChangeFile: Event<IFileChange[]>;
|
|
72
|
+
/**
|
|
73
|
+
* An event to indicate a message that should get logged.
|
|
74
|
+
*/
|
|
32
75
|
readonly onDidLogMessage: Event<ILogMessage>;
|
|
76
|
+
/**
|
|
77
|
+
* An event to indicate an error occurred from the watcher
|
|
78
|
+
* that is unrecoverable. Listeners should restart the
|
|
79
|
+
* watcher if possible.
|
|
80
|
+
*/
|
|
33
81
|
readonly onDidError: Event<IWatcherErrorEvent>;
|
|
82
|
+
/**
|
|
83
|
+
* Configures the watcher to watch according to the
|
|
84
|
+
* requests. Any existing watched path that is not
|
|
85
|
+
* in the array, will be removed from watching and
|
|
86
|
+
* any new path will be added to watching.
|
|
87
|
+
*/
|
|
34
88
|
watch(requests: IWatchRequest[]): Promise<void>;
|
|
89
|
+
/**
|
|
90
|
+
* Enable verbose logging in the watcher.
|
|
91
|
+
*/
|
|
35
92
|
setVerboseLogging(enabled: boolean): Promise<void>;
|
|
93
|
+
/**
|
|
94
|
+
* Stop all watchers.
|
|
95
|
+
*/
|
|
36
96
|
stop(): Promise<void>;
|
|
37
97
|
}
|
|
38
98
|
export interface IRecursiveWatcher extends IWatcher {
|
|
39
99
|
watch(requests: IRecursiveWatchRequest[]): Promise<void>;
|
|
40
100
|
}
|
|
41
101
|
export interface IRecursiveWatcherWithSubscribe extends IRecursiveWatcher {
|
|
102
|
+
/**
|
|
103
|
+
* Subscribe to file events for the given path. The callback is called
|
|
104
|
+
* whenever a file event occurs for the path. If the watcher failed,
|
|
105
|
+
* the error parameter is set to `true`.
|
|
106
|
+
*
|
|
107
|
+
* @returns an `IDisposable` to stop listening to events or `undefined`
|
|
108
|
+
* if no events can be watched for the path given the current set of
|
|
109
|
+
* recursive watch requests.
|
|
110
|
+
*/
|
|
42
111
|
subscribe(path: string, callback: (error: true | null, change?: IFileChange) => void): IDisposable | undefined;
|
|
43
112
|
}
|
|
44
113
|
export interface IRecursiveWatcherOptions {
|
|
114
|
+
/**
|
|
115
|
+
* If `true`, will enable polling for all watchers, otherwise
|
|
116
|
+
* will enable it for paths included in the string array.
|
|
117
|
+
*
|
|
118
|
+
* @deprecated this only exists for WSL1 support and should never
|
|
119
|
+
* be used in any other case.
|
|
120
|
+
*/
|
|
45
121
|
readonly usePolling: boolean | string[];
|
|
122
|
+
/**
|
|
123
|
+
* If polling is enabled (via `usePolling`), defines the duration
|
|
124
|
+
* in which the watcher will poll for changes.
|
|
125
|
+
*
|
|
126
|
+
* @deprecated this only exists for WSL1 support and should never
|
|
127
|
+
* be used in any other case.
|
|
128
|
+
*/
|
|
46
129
|
readonly pollingInterval?: number;
|
|
47
130
|
}
|
|
48
131
|
export interface INonRecursiveWatcher extends IWatcher {
|
|
@@ -1,5 +1,8 @@
|
|
|
1
1
|
export declare const IImageResizeService: import("../../instantiation/common/instantiation.js").ServiceIdentifier<IImageResizeService>;
|
|
2
2
|
export interface IImageResizeService {
|
|
3
3
|
readonly _serviceBrand: undefined;
|
|
4
|
+
/**
|
|
5
|
+
* Resizes an image to a maximum dimension of 768px while maintaining aspect ratio.
|
|
6
|
+
*/
|
|
4
7
|
resizeImage(data: Uint8Array | string, mimeType?: string): Promise<Uint8Array>;
|
|
5
8
|
}
|
|
@@ -4,7 +4,15 @@ import './vscode-dts/vscode.d.ts'
|
|
|
4
4
|
import { SyncDescriptor } from "./descriptors.js";
|
|
5
5
|
import { BrandedService, ServiceIdentifier } from "./instantiation.js";
|
|
6
6
|
export declare enum InstantiationType {
|
|
7
|
+
/**
|
|
8
|
+
* Instantiate this service as soon as a consumer depends on it. _Note_ that this
|
|
9
|
+
* is more costly as some upfront work is done that is likely not needed
|
|
10
|
+
*/
|
|
7
11
|
Eager = 0,
|
|
12
|
+
/**
|
|
13
|
+
* Instantiate this service as soon as a consumer uses it. This is the _better_
|
|
14
|
+
* way of registering a service.
|
|
15
|
+
*/
|
|
8
16
|
Delayed = 1
|
|
9
17
|
}
|
|
10
18
|
export declare function registerSingleton<T, Services extends BrandedService[]>(id: ServiceIdentifier<T>, ctor: new (...services: Services) => T, supportsDelayedInstantiation: InstantiationType): void;
|
|
@@ -16,6 +16,10 @@ export declare class Graph<T> {
|
|
|
16
16
|
lookup(data: T): Node<T> | undefined;
|
|
17
17
|
isEmpty(): boolean;
|
|
18
18
|
toString(): string;
|
|
19
|
+
/**
|
|
20
|
+
* This is brute force and slow and **only** be used
|
|
21
|
+
* to trouble shoot.
|
|
22
|
+
*/
|
|
19
23
|
findCycleSlow(): string | undefined;
|
|
20
24
|
private _findCycle;
|
|
21
25
|
}
|
|
@@ -24,6 +24,10 @@ export interface ServicesAccessor {
|
|
|
24
24
|
get<T>(id: ServiceIdentifier<T>): T;
|
|
25
25
|
}
|
|
26
26
|
export declare const IInstantiationService: ServiceIdentifier<IInstantiationService>;
|
|
27
|
+
/**
|
|
28
|
+
* Given a list of arguments as a tuple, attempt to extract the leading, non-service arguments
|
|
29
|
+
* to their own tuple.
|
|
30
|
+
*/
|
|
27
31
|
export type GetLeadingNonServiceArgs<TArgs extends any[]> = TArgs extends [
|
|
28
32
|
] ? [
|
|
29
33
|
] : TArgs extends [
|
|
@@ -32,16 +36,43 @@ export type GetLeadingNonServiceArgs<TArgs extends any[]> = TArgs extends [
|
|
|
32
36
|
] ? GetLeadingNonServiceArgs<TFirst> : TArgs;
|
|
33
37
|
export interface IInstantiationService {
|
|
34
38
|
readonly _serviceBrand: undefined;
|
|
39
|
+
/**
|
|
40
|
+
* Synchronously creates an instance that is denoted by the descriptor
|
|
41
|
+
*/
|
|
35
42
|
createInstance<T>(descriptor: descriptors.SyncDescriptor0<T>): T;
|
|
36
43
|
createInstance<Ctor extends new (...args: any[]) => unknown, R extends InstanceType<Ctor>>(ctor: Ctor, ...args: GetLeadingNonServiceArgs<ConstructorParameters<Ctor>>): R;
|
|
44
|
+
/**
|
|
45
|
+
* Calls a function with a service accessor.
|
|
46
|
+
*/
|
|
37
47
|
invokeFunction<R, TS extends any[] = [
|
|
38
48
|
]>(fn: (accessor: ServicesAccessor, ...args: TS) => R, ...args: TS): R;
|
|
49
|
+
/**
|
|
50
|
+
* Creates a child of this service which inherits all current services
|
|
51
|
+
* and adds/overwrites the given services.
|
|
52
|
+
*
|
|
53
|
+
* NOTE that the returned child is `disposable` and should be disposed when not used
|
|
54
|
+
* anymore. This will also dispose all the services that this service has created.
|
|
55
|
+
*/
|
|
39
56
|
createChild(services: ServiceCollection, store?: DisposableStore): IInstantiationService;
|
|
57
|
+
/**
|
|
58
|
+
* Disposes this instantiation service.
|
|
59
|
+
*
|
|
60
|
+
* - Will dispose all services that this instantiation service has created.
|
|
61
|
+
* - Will dispose all its children but not its parent.
|
|
62
|
+
* - Will NOT dispose services-instances that this service has been created with
|
|
63
|
+
* - Will NOT dispose consumer-instances this service has created
|
|
64
|
+
*/
|
|
40
65
|
dispose(): void;
|
|
41
66
|
}
|
|
67
|
+
/**
|
|
68
|
+
* Identifies a service of type `T`.
|
|
69
|
+
*/
|
|
42
70
|
export interface ServiceIdentifier<T> {
|
|
43
71
|
(...args: any[]): void;
|
|
44
72
|
type: T;
|
|
45
73
|
}
|
|
74
|
+
/**
|
|
75
|
+
* The *only* valid way to create a {{ServiceIdentifier}}.
|
|
76
|
+
*/
|
|
46
77
|
export declare function createDecorator<T>(serviceId: string): ServiceIdentifier<T>;
|
|
47
78
|
export declare function refineServiceDecorator<T1, T extends T1>(serviceIdentifier: ServiceIdentifier<T1>): ServiceIdentifier<T>;
|
|
@@ -12,13 +12,31 @@ export interface ISchemaContributions {
|
|
|
12
12
|
export interface IJSONContributionRegistry {
|
|
13
13
|
readonly onDidChangeSchema: Event<string>;
|
|
14
14
|
readonly onDidChangeSchemaAssociations: Event<void>;
|
|
15
|
+
/**
|
|
16
|
+
* Register a schema to the registry.
|
|
17
|
+
*/
|
|
15
18
|
registerSchema(uri: string, unresolvedSchemaContent: IJSONSchema, store?: DisposableStore): void;
|
|
16
19
|
registerSchemaAssociation(uri: string, glob: string): IDisposable;
|
|
20
|
+
/**
|
|
21
|
+
* Notifies all listeners that the content of the given schema has changed.
|
|
22
|
+
* @param uri The id of the schema
|
|
23
|
+
*/
|
|
17
24
|
notifySchemaChanged(uri: string): void;
|
|
25
|
+
/**
|
|
26
|
+
* Get all schemas
|
|
27
|
+
*/
|
|
18
28
|
getSchemaContributions(): ISchemaContributions;
|
|
19
29
|
getSchemaAssociations(): {
|
|
20
30
|
[uri: string]: string[];
|
|
21
31
|
};
|
|
32
|
+
/**
|
|
33
|
+
* Gets the (compressed) content of the schema with the given schema ID (if any)
|
|
34
|
+
* @param uri The id of the schema
|
|
35
|
+
*/
|
|
22
36
|
getSchemaContent(uri: string): string | undefined;
|
|
37
|
+
/**
|
|
38
|
+
* Returns true if there's a schema that matches the given schema ID
|
|
39
|
+
* @param uri The id of the schema
|
|
40
|
+
*/
|
|
23
41
|
hasSchemaContent(uri: string): boolean;
|
|
24
42
|
}
|
|
@@ -20,6 +20,13 @@ export declare abstract class AbstractKeybindingService extends Disposable imple
|
|
|
20
20
|
_serviceBrand: undefined;
|
|
21
21
|
protected readonly _onDidUpdateKeybindings: Emitter<void>;
|
|
22
22
|
get onDidUpdateKeybindings(): Event<void>;
|
|
23
|
+
/** recently recorded keypresses that can trigger a keybinding;
|
|
24
|
+
*
|
|
25
|
+
* example: say, there's "cmd+k cmd+i" keybinding;
|
|
26
|
+
* the user pressed "cmd+k" (before they press "cmd+i")
|
|
27
|
+
* "cmd+k" would be stored in this array, when on pressing "cmd+i", the service
|
|
28
|
+
* would invoke the command bound by the keybinding
|
|
29
|
+
*/
|
|
23
30
|
private _currentChords;
|
|
24
31
|
private _currentChordChecker;
|
|
25
32
|
private _currentChordStatusMessage;
|
|
@@ -12,19 +12,46 @@ export interface IKeybindingService {
|
|
|
12
12
|
readonly inChordMode: boolean;
|
|
13
13
|
registerContainer(container: HTMLElement): IDisposable;
|
|
14
14
|
onDidUpdateKeybindings: Event<void>;
|
|
15
|
+
/**
|
|
16
|
+
* Returns none, one or many (depending on keyboard layout)!
|
|
17
|
+
*/
|
|
15
18
|
resolveKeybinding(keybinding: Keybinding): ResolvedKeybinding[];
|
|
16
19
|
resolveKeyboardEvent(keyboardEvent: IKeyboardEvent): ResolvedKeybinding;
|
|
17
20
|
resolveUserBinding(userBinding: string): ResolvedKeybinding[];
|
|
21
|
+
/**
|
|
22
|
+
* Resolve and dispatch `keyboardEvent` and invoke the command.
|
|
23
|
+
*/
|
|
18
24
|
dispatchEvent(e: IKeyboardEvent, target: IContextKeyServiceTarget): boolean;
|
|
25
|
+
/**
|
|
26
|
+
* Resolve and dispatch `keyboardEvent`, but do not invoke the command or change inner state.
|
|
27
|
+
*/
|
|
19
28
|
softDispatch(keyboardEvent: IKeyboardEvent, target: IContextKeyServiceTarget): ResolutionResult;
|
|
29
|
+
/**
|
|
30
|
+
* Enable hold mode for this command. This is only possible if the command is current being dispatched, meaning
|
|
31
|
+
* we are after its keydown and before is keyup event.
|
|
32
|
+
*
|
|
33
|
+
* @returns A promise that resolves when hold stops, returns undefined if hold mode could not be enabled.
|
|
34
|
+
*/
|
|
20
35
|
enableKeybindingHoldMode(commandId: string): Promise<void> | undefined;
|
|
21
36
|
dispatchByUserSettingsLabel(userSettingsLabel: string, target: IContextKeyServiceTarget): void;
|
|
37
|
+
/**
|
|
38
|
+
* Look up keybindings for a command.
|
|
39
|
+
* Use `lookupKeybinding` if you are interested in the preferred keybinding.
|
|
40
|
+
*/
|
|
22
41
|
lookupKeybindings(commandId: string): ResolvedKeybinding[];
|
|
42
|
+
/**
|
|
43
|
+
* Look up the preferred (last defined) keybinding for a command.
|
|
44
|
+
* @returns The preferred keybinding or null if the command is not bound.
|
|
45
|
+
*/
|
|
23
46
|
lookupKeybinding(commandId: string, context?: IContextKeyService, enforceContextCheck?: boolean): ResolvedKeybinding | undefined;
|
|
24
47
|
getDefaultKeybindingsContent(): string;
|
|
25
48
|
getDefaultKeybindings(): readonly ResolvedKeybindingItem[];
|
|
26
49
|
getKeybindings(): readonly ResolvedKeybindingItem[];
|
|
27
50
|
customKeybindingsCount(): number;
|
|
51
|
+
/**
|
|
52
|
+
* Will the given key event produce a character that's rendered on screen, e.g. in a
|
|
53
|
+
* text box. *Note* that the results of this function can be incorrect.
|
|
54
|
+
*/
|
|
28
55
|
mightProducePrintableCharacter(event: IKeyboardEvent): boolean;
|
|
29
56
|
registerSchemaContribution(contribution: KeybindingsSchemaContribution): IDisposable;
|
|
30
57
|
toggleLogging(): boolean;
|
|
@@ -2,8 +2,11 @@ import { ContextKeyExpression, IContext } from "../../contextkey/common/contextk
|
|
|
2
2
|
import { IContextKeyService } from "../../contextkey/common/contextkey.service.js";
|
|
3
3
|
import { ResolvedKeybindingItem } from "./resolvedKeybindingItem.js";
|
|
4
4
|
export declare enum ResultKind {
|
|
5
|
+
/** No keybinding found this sequence of chords */
|
|
5
6
|
NoMatchingKb = 0,
|
|
7
|
+
/** There're several keybindings that have the given sequence of chords as a prefix */
|
|
6
8
|
MoreChordsNeeded = 1,
|
|
9
|
+
/** A single keybinding found to be dispatched/invoked */
|
|
7
10
|
KbFound = 2
|
|
8
11
|
}
|
|
9
12
|
export type ResolutionResult = {
|
|
@@ -17,6 +20,10 @@ export type ResolutionResult = {
|
|
|
17
20
|
isBubble: boolean;
|
|
18
21
|
};
|
|
19
22
|
export declare const NoMatchingKb: ResolutionResult;
|
|
23
|
+
/**
|
|
24
|
+
* Stores mappings from keybindings to commands and from commands to keybindings.
|
|
25
|
+
* Given a sequence of chords, `resolve`s which keybinding it matches
|
|
26
|
+
*/
|
|
20
27
|
export declare class KeybindingResolver {
|
|
21
28
|
private readonly _log;
|
|
22
29
|
private readonly _defaultKeybindings;
|
|
@@ -24,18 +31,34 @@ export declare class KeybindingResolver {
|
|
|
24
31
|
private readonly _defaultBoundCommands;
|
|
25
32
|
private readonly _map;
|
|
26
33
|
private readonly _lookupMap;
|
|
27
|
-
constructor(
|
|
34
|
+
constructor(
|
|
35
|
+
/** built-in and extension-provided keybindings */
|
|
36
|
+
defaultKeybindings: ResolvedKeybindingItem[],
|
|
37
|
+
/** user's keybindings */
|
|
38
|
+
overrides: ResolvedKeybindingItem[], log: (str: string) => void);
|
|
28
39
|
private static _isTargetedForRemoval;
|
|
40
|
+
/**
|
|
41
|
+
* Looks for rules containing "-commandId" and removes them.
|
|
42
|
+
*/
|
|
29
43
|
static handleRemovals(rules: ResolvedKeybindingItem[]): ResolvedKeybindingItem[];
|
|
30
44
|
private _addKeyPress;
|
|
31
45
|
private _addToLookupMap;
|
|
32
46
|
private _removeFromLookupMap;
|
|
47
|
+
/**
|
|
48
|
+
* Returns true if it is provable `a` implies `b`.
|
|
49
|
+
*/
|
|
33
50
|
static whenIsEntirelyIncluded(a: ContextKeyExpression | null | undefined, b: ContextKeyExpression | null | undefined): boolean;
|
|
34
51
|
getDefaultBoundCommands(): Map<string, boolean>;
|
|
35
52
|
getDefaultKeybindings(): readonly ResolvedKeybindingItem[];
|
|
36
53
|
getKeybindings(): readonly ResolvedKeybindingItem[];
|
|
37
54
|
lookupKeybindings(commandId: string): ResolvedKeybindingItem[];
|
|
38
55
|
lookupPrimaryKeybinding(commandId: string, context: IContextKeyService, enforceContextCheck?: boolean): ResolvedKeybindingItem | null;
|
|
56
|
+
/**
|
|
57
|
+
* Looks up a keybinding trigged as a result of pressing a sequence of chords - `[...currentChords, keypress]`
|
|
58
|
+
*
|
|
59
|
+
* Example: resolving 3 chords pressed sequentially - `cmd+k cmd+p cmd+i`:
|
|
60
|
+
* `currentChords = [ 'cmd+k' , 'cmd+p' ]` and `keypress = `cmd+i` - last pressed chord
|
|
61
|
+
*/
|
|
39
62
|
resolve(context: IContext, currentChords: string[], keypress: string): ResolutionResult;
|
|
40
63
|
private _findCommand;
|
|
41
64
|
private static _contextMatchesRules;
|
|
@@ -32,6 +32,9 @@ export interface IKeybindingRule extends IKeybindings {
|
|
|
32
32
|
id: string;
|
|
33
33
|
weight: number;
|
|
34
34
|
args?: any;
|
|
35
|
+
/**
|
|
36
|
+
* Keybinding is disabled if expression returns false.
|
|
37
|
+
*/
|
|
35
38
|
when?: ContextKeyExpression | null | undefined;
|
|
36
39
|
}
|
|
37
40
|
export interface IExtensionKeybindingRule {
|
|
@@ -1,6 +1,9 @@
|
|
|
1
1
|
import { SingleModifierChord, KeyCodeChord, Keybinding } from "../../../base/common/keybindings.js";
|
|
2
2
|
import { OperatingSystem } from "../../../base/common/platform.js";
|
|
3
3
|
import { BaseResolvedKeybinding } from "./baseResolvedKeybinding.js";
|
|
4
|
+
/**
|
|
5
|
+
* Do not instantiate. Use KeybindingService to get a ResolvedKeybinding seeded with information about the current kb layout.
|
|
6
|
+
*/
|
|
4
7
|
export declare class USLayoutResolvedKeybinding extends BaseResolvedKeybinding<KeyCodeChord> {
|
|
5
8
|
constructor(chords: KeyCodeChord[], os: OperatingSystem);
|
|
6
9
|
private _keyCodeToUILabel;
|
|
@@ -12,6 +15,9 @@ export declare class USLayoutResolvedKeybinding extends BaseResolvedKeybinding<K
|
|
|
12
15
|
protected _getChordDispatch(chord: KeyCodeChord): string | null;
|
|
13
16
|
static getDispatchStr(chord: KeyCodeChord): string | null;
|
|
14
17
|
protected _getSingleModifierChordDispatch(keybinding: KeyCodeChord): SingleModifierChord | null;
|
|
18
|
+
/**
|
|
19
|
+
* *NOTE*: Check return value for `KeyCode.Unknown`.
|
|
20
|
+
*/
|
|
15
21
|
private static _scanCodeToKeyCode;
|
|
16
22
|
private static _toKeyCodeChord;
|
|
17
23
|
static resolveKeybinding(keybinding: Keybinding, os: OperatingSystem): USLayoutResolvedKeybinding[];
|
|
@@ -6,6 +6,13 @@ import { Verbosity, ResourceLabelFormatter, IFormatterChangeEvent } from "@codin
|
|
|
6
6
|
export declare const ILabelService: import("../../instantiation/common/instantiation.js").ServiceIdentifier<ILabelService>;
|
|
7
7
|
export interface ILabelService {
|
|
8
8
|
readonly _serviceBrand: undefined;
|
|
9
|
+
/**
|
|
10
|
+
* Gets the human readable label for a uri.
|
|
11
|
+
* If `relative` is passed returns a label relative to the workspace root that the uri belongs to.
|
|
12
|
+
* If `noPrefix` is passed does not tildify the label and also does not prepand the root name for relative labels in a multi root scenario.
|
|
13
|
+
* If `separator` is passed, will use that over the defined path separator of the formatter.
|
|
14
|
+
* If `appendWorkspaceSuffix` is passed, will append the name of the workspace to the label.
|
|
15
|
+
*/
|
|
9
16
|
getUriLabel(resource: URI, options?: {
|
|
10
17
|
relative?: boolean;
|
|
11
18
|
noPrefix?: boolean;
|
|
@@ -21,5 +28,10 @@ export interface ILabelService {
|
|
|
21
28
|
getSeparator(scheme: string, authority?: string): "/" | "\\";
|
|
22
29
|
registerFormatter(formatter: ResourceLabelFormatter): IDisposable;
|
|
23
30
|
onDidChangeFormatters: Event<IFormatterChangeEvent>;
|
|
31
|
+
/**
|
|
32
|
+
* Registers a formatter that's cached for the machine beyond the lifecycle
|
|
33
|
+
* of the current window. Disposing the formatter _will not_ remove it from
|
|
34
|
+
* the cache.
|
|
35
|
+
*/
|
|
24
36
|
registerCachedFormatter(formatter: ResourceLabelFormatter): IDisposable;
|
|
25
37
|
}
|