@codingame/monaco-vscode-api 20.1.1 → 20.2.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +8 -8
- package/services.js +3 -3
- package/vscode/src/vs/base/browser/browser.d.ts +2 -0
- package/vscode/src/vs/base/browser/canIUse.d.ts +3 -0
- package/vscode/src/vs/base/browser/contextmenu.d.ts +14 -0
- package/vscode/src/vs/base/browser/cssValue.d.ts +8 -0
- package/vscode/src/vs/base/browser/dnd.d.ts +21 -0
- package/vscode/src/vs/base/browser/dom.d.ts +178 -0
- package/vscode/src/vs/base/browser/domSanitize.d.ts +26 -0
- package/vscode/src/vs/base/browser/domStylesheets.d.ts +3 -0
- package/vscode/src/vs/base/browser/dompurify/dompurify.d.ts +19 -0
- package/vscode/src/vs/base/browser/fonts.d.ts +8 -0
- package/vscode/src/vs/base/browser/iframe.d.ts +10 -0
- package/vscode/src/vs/base/browser/keyboardEvent.d.ts +3 -0
- package/vscode/src/vs/base/browser/markdownRenderer.d.ts +18 -0
- package/vscode/src/vs/base/browser/performance.d.ts +22 -0
- package/vscode/src/vs/base/browser/pixelRatio.d.ts +7 -0
- package/vscode/src/vs/base/browser/ui/actionbar/actionbar.css +29 -2
- package/vscode/src/vs/base/browser/ui/actionbar/actionbar.d.ts +5 -0
- package/vscode/src/vs/base/browser/ui/aria/aria.css +6 -1
- package/vscode/src/vs/base/browser/ui/aria/aria.d.ts +6 -0
- package/vscode/src/vs/base/browser/ui/button/button.css +36 -1
- package/vscode/src/vs/base/browser/ui/button/button.d.ts +9 -0
- package/vscode/src/vs/base/browser/ui/codicons/codicon/codicon-modifiers.css +11 -0
- package/vscode/src/vs/base/browser/ui/codicons/codicon/codicon.css +8 -0
- package/vscode/src/vs/base/browser/ui/contextview/contextview.css +6 -0
- package/vscode/src/vs/base/browser/ui/contextview/contextview.d.ts +14 -0
- package/vscode/src/vs/base/browser/ui/countBadge/countBadge.css +6 -0
- package/vscode/src/vs/base/browser/ui/dnd/dnd.css +12 -0
- package/vscode/src/vs/base/browser/ui/dropdown/dropdown.css +11 -0
- package/vscode/src/vs/base/browser/ui/findinput/findInput.css +20 -0
- package/vscode/src/vs/base/browser/ui/highlightedlabel/highlightedLabel.d.ts +27 -0
- package/vscode/src/vs/base/browser/ui/hover/hover.d.ts +258 -0
- package/vscode/src/vs/base/browser/ui/hover/hoverDelegate.d.ts +37 -0
- package/vscode/src/vs/base/browser/ui/hover/hoverDelegate2.d.ts +10 -0
- package/vscode/src/vs/base/browser/ui/hover/hoverWidget.css +54 -0
- package/vscode/src/vs/base/browser/ui/iconLabel/iconlabel.css +34 -6
- package/vscode/src/vs/base/browser/ui/inputbox/inputBox.css +27 -2
- package/vscode/src/vs/base/browser/ui/keybindingLabel/keybindingLabel.css +10 -0
- package/vscode/src/vs/base/browser/ui/keybindingLabel/keybindingLabel.d.ts +3 -0
- package/vscode/src/vs/base/browser/ui/list/list.css +21 -0
- package/vscode/src/vs/base/browser/ui/list/list.d.ts +9 -0
- package/vscode/src/vs/base/browser/ui/list/listView.d.ts +17 -3
- package/vscode/src/vs/base/browser/ui/list/listWidget.d.ts +26 -0
- package/vscode/src/vs/base/browser/ui/list/rangeMap.d.ts +29 -0
- package/vscode/src/vs/base/browser/ui/list/rowCache.d.ts +12 -0
- package/vscode/src/vs/base/browser/ui/mouseCursor/mouseCursor.css +5 -0
- package/vscode/src/vs/base/browser/ui/progressbar/progressbar.css +29 -1
- package/vscode/src/vs/base/browser/ui/progressbar/progressbar.d.ts +33 -0
- package/vscode/src/vs/base/browser/ui/sash/sash.css +31 -0
- package/vscode/src/vs/base/browser/ui/sash/sash.d.ts +125 -0
- package/vscode/src/vs/base/browser/ui/scrollbar/abstractScrollbar.d.ts +6 -0
- package/vscode/src/vs/base/browser/ui/scrollbar/media/scrollbars.css +16 -0
- package/vscode/src/vs/base/browser/ui/scrollbar/scrollableElement.d.ts +22 -0
- package/vscode/src/vs/base/browser/ui/scrollbar/scrollableElementOptions.d.ts +98 -0
- package/vscode/src/vs/base/browser/ui/scrollbar/scrollbarArrow.d.ts +3 -0
- package/vscode/src/vs/base/browser/ui/scrollbar/scrollbarState.d.ts +43 -0
- package/vscode/src/vs/base/browser/ui/selectBox/selectBox.css +11 -0
- package/vscode/src/vs/base/browser/ui/selectBox/selectBoxCustom.css +29 -1
- package/vscode/src/vs/base/browser/ui/severityIcon/media/severityIcon.css +7 -0
- package/vscode/src/vs/base/browser/ui/splitview/splitview.css +16 -0
- package/vscode/src/vs/base/browser/ui/splitview/splitview.d.ts +289 -0
- package/vscode/src/vs/base/browser/ui/table/table.css +12 -0
- package/vscode/src/vs/base/browser/ui/toggle/toggle.css +14 -0
- package/vscode/src/vs/base/browser/ui/toolbar/toolbar.css +6 -0
- package/vscode/src/vs/base/browser/ui/toolbar/toolbar.d.ts +12 -0
- package/vscode/src/vs/base/browser/ui/tree/abstractTree.d.ts +12 -0
- package/vscode/src/vs/base/browser/ui/tree/asyncDataTree.d.ts +19 -0
- package/vscode/src/vs/base/browser/ui/tree/indexTreeModel.d.ts +18 -0
- package/vscode/src/vs/base/browser/ui/tree/media/tree.css +38 -3
- package/vscode/src/vs/base/browser/ui/tree/objectTree.d.ts +12 -0
- package/vscode/src/vs/base/browser/ui/tree/tree.d.ts +43 -0
- package/vscode/src/vs/base/common/actions.d.ts +3 -0
- package/vscode/src/vs/base/common/arrays.d.ts +193 -1
- package/vscode/src/vs/base/common/arraysFind.d.ts +46 -0
- package/vscode/src/vs/base/common/assert.d.ts +28 -0
- package/vscode/src/vs/base/common/async.d.ts +361 -0
- package/vscode/src/vs/base/common/buffer.d.ts +31 -0
- package/vscode/src/vs/base/common/cache.d.ts +11 -0
- package/vscode/src/vs/base/common/cancellation.d.ts +11 -0
- package/vscode/src/vs/base/common/charCode.d.ts +319 -186
- package/vscode/src/vs/base/common/codicons.d.ts +14 -0
- package/vscode/src/vs/base/common/codiconsUtil.d.ts +3 -0
- package/vscode/src/vs/base/common/collections.d.ts +19 -0
- package/vscode/src/vs/base/common/color.d.ts +115 -0
- package/vscode/src/vs/base/common/comparers.d.ts +10 -0
- package/vscode/src/vs/base/common/dataTransfer.d.ts +38 -0
- package/vscode/src/vs/base/common/date.d.ts +15 -0
- package/vscode/src/vs/base/common/diff/diff.d.ts +90 -0
- package/vscode/src/vs/base/common/diff/diffChange.d.ts +29 -0
- package/vscode/src/vs/base/common/equals.d.ts +26 -0
- package/vscode/src/vs/base/common/errorMessage.d.ts +6 -0
- package/vscode/src/vs/base/common/errors.d.ts +26 -0
- package/vscode/src/vs/base/common/event.d.ts +356 -0
- package/vscode/src/vs/base/common/extpath.d.ts +34 -0
- package/vscode/src/vs/base/common/filters.d.ts +22 -0
- package/vscode/src/vs/base/common/functional.d.ts +3 -0
- package/vscode/src/vs/base/common/glob.d.ts +39 -0
- package/vscode/src/vs/base/common/hash.d.ts +12 -0
- package/vscode/src/vs/base/common/history.d.ts +7 -0
- package/vscode/src/vs/base/common/hotReload.d.ts +6 -0
- package/vscode/src/vs/base/common/htmlContent.d.ts +3 -0
- package/vscode/src/vs/base/common/iconLabels.d.ts +9 -0
- package/vscode/src/vs/base/common/ime.d.ts +6 -0
- package/vscode/src/vs/base/common/iterator.d.ts +7 -0
- package/vscode/src/vs/base/common/json.d.ts +98 -0
- package/vscode/src/vs/base/common/jsonSchema.d.ts +5 -0
- package/vscode/src/vs/base/common/keyCodes.d.ts +95 -18
- package/vscode/src/vs/base/common/keybindingLabels.d.ts +13 -0
- package/vscode/src/vs/base/common/keybindings.d.ts +54 -0
- package/vscode/src/vs/base/common/labels.d.ts +41 -0
- package/vscode/src/vs/base/common/lazy.d.ts +12 -0
- package/vscode/src/vs/base/common/lifecycle.d.ts +126 -0
- package/vscode/src/vs/base/common/map.d.ts +33 -0
- package/vscode/src/vs/base/common/marked/marked.d.ts +137 -0
- package/vscode/src/vs/base/common/naturalLanguage/korean.d.ts +8 -0
- package/vscode/src/vs/base/common/network.d.ts +85 -0
- package/vscode/src/vs/base/common/numbers.d.ts +45 -0
- package/vscode/src/vs/base/common/oauth.d.ts +369 -0
- package/vscode/src/vs/base/common/objects.d.ts +19 -0
- package/vscode/src/vs/base/common/observableInternal/base.d.ts +128 -0
- package/vscode/src/vs/base/common/observableInternal/changeTracker.d.ts +11 -0
- package/vscode/src/vs/base/common/observableInternal/debugName.d.ts +16 -0
- package/vscode/src/vs/base/common/observableInternal/experimental/reducer.d.ts +21 -0
- package/vscode/src/vs/base/common/observableInternal/experimental/utils.d.ts +11 -0
- package/vscode/src/vs/base/common/observableInternal/observables/baseObservable.d.ts +15 -0
- package/vscode/src/vs/base/common/observableInternal/observables/constObservable.d.ts +3 -0
- package/vscode/src/vs/base/common/observableInternal/observables/derived.d.ts +25 -0
- package/vscode/src/vs/base/common/observableInternal/observables/derivedImpl.d.ts +15 -0
- package/vscode/src/vs/base/common/observableInternal/observables/lazyObservableValue.d.ts +3 -0
- package/vscode/src/vs/base/common/observableInternal/observables/observableSignal.d.ts +5 -0
- package/vscode/src/vs/base/common/observableInternal/observables/observableValue.d.ts +10 -0
- package/vscode/src/vs/base/common/observableInternal/reactions/autorun.d.ts +27 -0
- package/vscode/src/vs/base/common/observableInternal/reactions/autorunImpl.d.ts +7 -0
- package/vscode/src/vs/base/common/observableInternal/transaction.d.ts +9 -0
- package/vscode/src/vs/base/common/observableInternal/utils/promise.d.ts +47 -1
- package/vscode/src/vs/base/common/observableInternal/utils/utils.d.ts +15 -0
- package/vscode/src/vs/base/common/observableInternal/utils/utilsCancellation.d.ts +3 -0
- package/vscode/src/vs/base/common/performance.d.ts +3 -0
- package/vscode/src/vs/base/common/platform.d.ts +37 -0
- package/vscode/src/vs/base/common/prefixTree.d.ts +23 -0
- package/vscode/src/vs/base/common/process.d.ts +23 -0
- package/vscode/src/vs/base/common/range.d.ts +4 -0
- package/vscode/src/vs/base/common/resources.d.ts +115 -0
- package/vscode/src/vs/base/common/scrollable.d.ts +17 -0
- package/vscode/src/vs/base/common/severity.d.ts +4 -0
- package/vscode/src/vs/base/common/skipList.d.ts +4 -0
- package/vscode/src/vs/base/common/sseParser.d.ts +51 -0
- package/vscode/src/vs/base/common/stream.d.ts +148 -0
- package/vscode/src/vs/base/common/strings.d.ts +134 -0
- package/vscode/src/vs/base/common/symbols.d.ts +3 -0
- package/vscode/src/vs/base/common/ternarySearchTree.d.ts +6 -0
- package/vscode/src/vs/base/common/types.d.ts +135 -0
- package/vscode/src/vs/base/common/uint.d.ts +24 -3
- package/vscode/src/vs/base/common/uri.d.ts +131 -0
- package/vscode/src/vs/base/common/worker/webWorker.d.ts +6 -0
- package/vscode/src/vs/base/parts/sandbox/common/electronTypes.d.ts +179 -0
- package/vscode/src/vs/base/parts/sandbox/common/sandboxTypes.d.ts +39 -0
- package/vscode/src/vs/base/parts/storage/common/storage.d.ts +11 -0
- package/vscode/src/vs/editor/browser/config/editorConfiguration.d.ts +20 -0
- package/vscode/src/vs/editor/browser/config/fontMeasurements.d.ts +15 -0
- package/vscode/src/vs/editor/browser/config/migrateOptions.d.ts +3 -0
- package/vscode/src/vs/editor/browser/config/tabFocus.d.ts +6 -0
- package/vscode/src/vs/editor/browser/controller/dragScrolling.d.ts +9 -0
- package/vscode/src/vs/editor/browser/controller/editContext/clipboardUtils.d.ts +5 -0
- package/vscode/src/vs/editor/browser/controller/editContext/native/editContextFactory.d.ts +3 -0
- package/vscode/src/vs/editor/browser/controller/editContext/native/nativeEditContext.css +11 -0
- package/vscode/src/vs/editor/browser/controller/editContext/native/screenReaderUtils.d.ts +18 -0
- package/vscode/src/vs/editor/browser/controller/editContext/screenReaderUtils.d.ts +5 -0
- package/vscode/src/vs/editor/browser/controller/editContext/textArea/textAreaEditContext.css +19 -0
- package/vscode/src/vs/editor/browser/controller/editContext/textArea/textAreaEditContext.d.ts +7 -0
- package/vscode/src/vs/editor/browser/controller/editContext/textArea/textAreaEditContextInput.d.ts +8 -0
- package/vscode/src/vs/editor/browser/controller/editContext/textArea/textAreaEditContextState.d.ts +13 -1
- package/vscode/src/vs/editor/browser/controller/mouseHandler.d.ts +9 -0
- package/vscode/src/vs/editor/browser/controller/mouseTarget.d.ts +6 -0
- package/vscode/src/vs/editor/browser/controller/pointerHandler.d.ts +3 -0
- package/vscode/src/vs/editor/browser/coreCommands.d.ts +24 -0
- package/vscode/src/vs/editor/browser/editorBrowser.d.ts +439 -0
- package/vscode/src/vs/editor/browser/editorDom.d.ts +39 -0
- package/vscode/src/vs/editor/browser/editorExtensions.d.ts +51 -0
- package/vscode/src/vs/editor/browser/gpu/atlas/atlas.d.ts +65 -0
- package/vscode/src/vs/editor/browser/gpu/atlas/textureAtlas.d.ts +23 -1
- package/vscode/src/vs/editor/browser/gpu/atlas/textureAtlasPage.d.ts +4 -0
- package/vscode/src/vs/editor/browser/gpu/atlas/textureAtlasShelfAllocator.d.ts +5 -0
- package/vscode/src/vs/editor/browser/gpu/atlas/textureAtlasSlabAllocator.d.ts +10 -0
- package/vscode/src/vs/editor/browser/gpu/bufferDirtyTracker.d.ts +20 -0
- package/vscode/src/vs/editor/browser/gpu/contentSegmenter.d.ts +6 -0
- package/vscode/src/vs/editor/browser/gpu/css/decorationCssRuleExtractor.d.ts +3 -0
- package/vscode/src/vs/editor/browser/gpu/css/decorationStyleCache.d.ts +12 -0
- package/vscode/src/vs/editor/browser/gpu/css/media/decorationCssRuleExtractor.css +5 -0
- package/vscode/src/vs/editor/browser/gpu/gpu.d.ts +3 -0
- package/vscode/src/vs/editor/browser/gpu/objectCollectionBuffer.d.ts +33 -0
- package/vscode/src/vs/editor/browser/gpu/raster/glyphRasterizer.d.ts +4 -0
- package/vscode/src/vs/editor/browser/gpu/raster/raster.d.ts +47 -0
- package/vscode/src/vs/editor/browser/gpu/renderStrategy/fullFileRenderStrategy.d.ts +20 -0
- package/vscode/src/vs/editor/browser/gpu/renderStrategy/viewportRenderStrategy.d.ts +10 -0
- package/vscode/src/vs/editor/browser/gpu/taskQueue.d.ts +33 -0
- package/vscode/src/vs/editor/browser/gpu/viewGpuContext.d.ts +22 -0
- package/vscode/src/vs/editor/browser/observableCodeEditor.d.ts +6 -0
- package/vscode/src/vs/editor/browser/services/codeEditorService.service.d.ts +3 -0
- package/vscode/src/vs/editor/browser/services/hoverService/hover.css +32 -0
- package/vscode/src/vs/editor/browser/services/hoverService/hoverWidget.d.ts +4 -0
- package/vscode/src/vs/editor/browser/services/inlineCompletionsService.service.d.ts +16 -0
- package/vscode/src/vs/editor/browser/view/renderingContext.d.ts +17 -1
- package/vscode/src/vs/editor/browser/view/viewController.d.ts +3 -0
- package/vscode/src/vs/editor/browser/view/viewLayer.d.ts +19 -0
- package/vscode/src/vs/editor/browser/viewParts/blockDecorations/blockDecorations.css +6 -0
- package/vscode/src/vs/editor/browser/viewParts/contentWidgets/contentWidgets.d.ts +5 -0
- package/vscode/src/vs/editor/browser/viewParts/currentLineHighlight/currentLineHighlight.css +7 -0
- package/vscode/src/vs/editor/browser/viewParts/currentLineHighlight/currentLineHighlight.d.ts +9 -0
- package/vscode/src/vs/editor/browser/viewParts/decorations/decorations.css +9 -0
- package/vscode/src/vs/editor/browser/viewParts/editorScrollbar/editorScrollbar.d.ts +4 -0
- package/vscode/src/vs/editor/browser/viewParts/glyphMargin/glyphMargin.css +16 -0
- package/vscode/src/vs/editor/browser/viewParts/glyphMargin/glyphMargin.d.ts +20 -0
- package/vscode/src/vs/editor/browser/viewParts/gpuMark/gpuMark.css +6 -0
- package/vscode/src/vs/editor/browser/viewParts/gpuMark/gpuMark.d.ts +3 -0
- package/vscode/src/vs/editor/browser/viewParts/indentGuides/indentGuides.css +5 -0
- package/vscode/src/vs/editor/browser/viewParts/indentGuides/indentGuides.d.ts +4 -0
- package/vscode/src/vs/editor/browser/viewParts/lineNumbers/lineNumbers.css +9 -0
- package/vscode/src/vs/editor/browser/viewParts/lineNumbers/lineNumbers.d.ts +3 -0
- package/vscode/src/vs/editor/browser/viewParts/linesDecorations/linesDecorations.css +9 -0
- package/vscode/src/vs/editor/browser/viewParts/margin/margin.css +5 -0
- package/vscode/src/vs/editor/browser/viewParts/margin/margin.d.ts +5 -0
- package/vscode/src/vs/editor/browser/viewParts/marginDecorations/marginDecorations.css +9 -0
- package/vscode/src/vs/editor/browser/viewParts/minimap/minimap.css +10 -0
- package/vscode/src/vs/editor/browser/viewParts/minimap/minimap.d.ts +31 -0
- package/vscode/src/vs/editor/browser/viewParts/minimap/minimapCharRendererFactory.d.ts +16 -0
- package/vscode/src/vs/editor/browser/viewParts/minimap/minimapCharSheet.d.ts +3 -3
- package/vscode/src/vs/editor/browser/viewParts/minimap/minimapPreBaked.d.ts +5 -0
- package/vscode/src/vs/editor/browser/viewParts/overlayWidgets/overlayWidgets.css +4 -0
- package/vscode/src/vs/editor/browser/viewParts/overviewRuler/overviewRuler.d.ts +4 -0
- package/vscode/src/vs/editor/browser/viewParts/rulers/rulers.css +5 -0
- package/vscode/src/vs/editor/browser/viewParts/rulers/rulers.d.ts +4 -0
- package/vscode/src/vs/editor/browser/viewParts/rulersGpu/rulersGpu.d.ts +4 -0
- package/vscode/src/vs/editor/browser/viewParts/scrollDecoration/scrollDecoration.css +5 -0
- package/vscode/src/vs/editor/browser/viewParts/selections/selections.css +14 -0
- package/vscode/src/vs/editor/browser/viewParts/selections/selections.d.ts +3 -0
- package/vscode/src/vs/editor/browser/viewParts/viewCursors/viewCursor.d.ts +4 -0
- package/vscode/src/vs/editor/browser/viewParts/viewCursors/viewCursors.css +19 -0
- package/vscode/src/vs/editor/browser/viewParts/viewCursors/viewCursors.d.ts +4 -0
- package/vscode/src/vs/editor/browser/viewParts/viewLines/rangeUtil.d.ts +5 -0
- package/vscode/src/vs/editor/browser/viewParts/viewLines/viewLines.css +34 -0
- package/vscode/src/vs/editor/browser/viewParts/viewLines/viewLines.d.ts +19 -0
- package/vscode/src/vs/editor/browser/viewParts/viewLinesGpu/viewLinesGpu.d.ts +3 -0
- package/vscode/src/vs/editor/browser/viewParts/viewZones/viewZones.d.ts +5 -0
- package/vscode/src/vs/editor/browser/viewParts/whitespace/whitespace.css +5 -0
- package/vscode/src/vs/editor/browser/viewParts/whitespace/whitespace.d.ts +4 -0
- package/vscode/src/vs/editor/browser/widget/codeEditor/codeEditorContributions.d.ts +12 -0
- package/vscode/src/vs/editor/browser/widget/codeEditor/codeEditorWidget.d.ts +32 -0
- package/vscode/src/vs/editor/browser/widget/codeEditor/editor.css +27 -0
- package/vscode/src/vs/editor/browser/widget/diffEditor/commands.d.ts +4 -0
- package/vscode/src/vs/editor/browser/widget/diffEditor/components/accessibleDiffViewer.css +20 -0
- package/vscode/src/vs/editor/browser/widget/diffEditor/components/accessibleDiffViewer.d.ts +6 -0
- package/vscode/src/vs/editor/browser/widget/diffEditor/components/diffEditorSash.d.ts +1 -0
- package/vscode/src/vs/editor/browser/widget/diffEditor/components/diffEditorViewZones/diffEditorViewZones.d.ts +7 -0
- package/vscode/src/vs/editor/browser/widget/diffEditor/diffEditorWidget.d.ts +10 -0
- package/vscode/src/vs/editor/browser/widget/diffEditor/features/gutterFeature.d.ts +3 -0
- package/vscode/src/vs/editor/browser/widget/diffEditor/features/hideUnchangedRegionsFeature.d.ts +3 -0
- package/vscode/src/vs/editor/browser/widget/diffEditor/features/revertButtonsFeature.d.ts +6 -0
- package/vscode/src/vs/editor/browser/widget/diffEditor/style.css +92 -1
- package/vscode/src/vs/editor/browser/widget/markdownRenderer/browser/markdownRenderer.d.ts +4 -0
- package/vscode/src/vs/editor/browser/widget/markdownRenderer/browser/renderedMarkdown.css +6 -0
- package/vscode/src/vs/editor/common/commands/surroundSelectionCommand.d.ts +3 -0
- package/vscode/src/vs/editor/common/commands/trimTrailingWhitespaceCommand.d.ts +3 -0
- package/vscode/src/vs/editor/common/config/editorConfiguration.d.ts +41 -0
- package/vscode/src/vs/editor/common/config/editorOptions.d.ts +862 -0
- package/vscode/src/vs/editor/common/config/fontInfo.d.ts +34 -0
- package/vscode/src/vs/editor/common/coordinatesConverter.d.ts +7 -0
- package/vscode/src/vs/editor/common/core/characterClassifier.d.ts +9 -0
- package/vscode/src/vs/editor/common/core/cursorColumns.d.ts +44 -0
- package/vscode/src/vs/editor/common/core/editOperation.d.ts +14 -0
- package/vscode/src/vs/editor/common/core/editorColorRegistry.d.ts +3 -0
- package/vscode/src/vs/editor/common/core/edits/edit.d.ts +55 -1
- package/vscode/src/vs/editor/common/core/edits/lengthEdit.d.ts +6 -0
- package/vscode/src/vs/editor/common/core/edits/lineEdit.d.ts +9 -1
- package/vscode/src/vs/editor/common/core/edits/stringEdit.d.ts +37 -0
- package/vscode/src/vs/editor/common/core/edits/textEdit.d.ts +3 -0
- package/vscode/src/vs/editor/common/core/misc/rgba.d.ts +16 -0
- package/vscode/src/vs/editor/common/core/position.d.ts +67 -0
- package/vscode/src/vs/editor/common/core/range.d.ts +140 -0
- package/vscode/src/vs/editor/common/core/ranges/columnRange.d.ts +8 -1
- package/vscode/src/vs/editor/common/core/ranges/lineRange.d.ts +57 -1
- package/vscode/src/vs/editor/common/core/ranges/offsetRange.d.ts +30 -0
- package/vscode/src/vs/editor/common/core/ranges/rangeSingleLine.d.ts +7 -1
- package/vscode/src/vs/editor/common/core/selection.d.ts +83 -0
- package/vscode/src/vs/editor/common/core/stringBuilder.d.ts +6 -0
- package/vscode/src/vs/editor/common/core/text/positionToOffsetImpl.d.ts +1 -0
- package/vscode/src/vs/editor/common/core/text/textLength.d.ts +3 -0
- package/vscode/src/vs/editor/common/core/wordHelper.d.ts +12 -0
- package/vscode/src/vs/editor/common/cursor/cursorAtomicMoveOperations.d.ts +15 -0
- package/vscode/src/vs/editor/common/cursor/cursorCollection.d.ts +7 -0
- package/vscode/src/vs/editor/common/cursor/cursorMoveCommands.d.ts +15 -0
- package/vscode/src/vs/editor/common/cursor/cursorMoveOperations.d.ts +7 -0
- package/vscode/src/vs/editor/common/cursor/cursorTypeEditOperations.d.ts +14 -0
- package/vscode/src/vs/editor/common/cursor/cursorTypeOperations.d.ts +3 -0
- package/vscode/src/vs/editor/common/cursor/oneCursor.d.ts +3 -0
- package/vscode/src/vs/editor/common/cursorCommon.d.ts +25 -0
- package/vscode/src/vs/editor/common/cursorEvents.d.ts +63 -0
- package/vscode/src/vs/editor/common/diff/defaultLinesDiffComputer/algorithms/diffAlgorithm.d.ts +23 -1
- package/vscode/src/vs/editor/common/diff/defaultLinesDiffComputer/algorithms/dynamicProgrammingDiffing.d.ts +4 -0
- package/vscode/src/vs/editor/common/diff/defaultLinesDiffComputer/algorithms/myersDiffAlgorithm.d.ts +3 -0
- package/vscode/src/vs/editor/common/diff/defaultLinesDiffComputer/linesSliceCharSequence.d.ts +4 -0
- package/vscode/src/vs/editor/common/diff/legacyLinesDiffComputer.d.ts +16 -0
- package/vscode/src/vs/editor/common/diff/linesDiffComputer.d.ts +24 -1
- package/vscode/src/vs/editor/common/diff/rangeMapping.d.ts +41 -0
- package/vscode/src/vs/editor/common/editorCommon.d.ts +218 -0
- package/vscode/src/vs/editor/common/editorContextKeys.d.ts +14 -0
- package/vscode/src/vs/editor/common/editorFeatures.d.ts +7 -0
- package/vscode/src/vs/editor/common/encodedTokenAttributes.d.ts +38 -0
- package/vscode/src/vs/editor/common/inputMode.d.ts +3 -0
- package/vscode/src/vs/editor/common/languageSelector.d.ts +6 -0
- package/vscode/src/vs/editor/common/languages/autoIndent.d.ts +16 -0
- package/vscode/src/vs/editor/common/languages/defaultDocumentColorsComputer.d.ts +3 -0
- package/vscode/src/vs/editor/common/languages/language.d.ts +3 -0
- package/vscode/src/vs/editor/common/languages/language.service.d.ts +77 -0
- package/vscode/src/vs/editor/common/languages/languageConfiguration.d.ts +195 -0
- package/vscode/src/vs/editor/common/languages/languageConfigurationRegistry.d.ts +9 -0
- package/vscode/src/vs/editor/common/languages/languageConfigurationRegistry.service.d.ts +3 -0
- package/vscode/src/vs/editor/common/languages/linkComputer.d.ts +5 -0
- package/vscode/src/vs/editor/common/languages/supports/electricCharacter.d.ts +4 -0
- package/vscode/src/vs/editor/common/languages/supports/indentationLineProcessor.d.ts +27 -0
- package/vscode/src/vs/editor/common/languages/supports/languageBracketsConfiguration.d.ts +22 -1
- package/vscode/src/vs/editor/common/languages/supports/richEditBrackets.d.ts +80 -0
- package/vscode/src/vs/editor/common/languages/supports/tokenization.d.ts +12 -0
- package/vscode/src/vs/editor/common/languages.d.ts +955 -1
- package/vscode/src/vs/editor/common/model/bracketPairsTextModelPart/bracketPairsImpl.d.ts +4 -0
- package/vscode/src/vs/editor/common/model/bracketPairsTextModelPart/bracketPairsTree/ast.d.ts +55 -0
- package/vscode/src/vs/editor/common/model/bracketPairsTextModelPart/bracketPairsTree/beforeEditPositionMapper.d.ts +10 -0
- package/vscode/src/vs/editor/common/model/bracketPairsTextModelPart/bracketPairsTree/bracketPairsTree.d.ts +3 -0
- package/vscode/src/vs/editor/common/model/bracketPairsTextModelPart/bracketPairsTree/brackets.d.ts +3 -0
- package/vscode/src/vs/editor/common/model/bracketPairsTextModelPart/bracketPairsTree/concat23Trees.d.ts +6 -0
- package/vscode/src/vs/editor/common/model/bracketPairsTextModelPart/bracketPairsTree/length.d.ts +16 -0
- package/vscode/src/vs/editor/common/model/bracketPairsTextModelPart/bracketPairsTree/nodeReader.d.ts +8 -0
- package/vscode/src/vs/editor/common/model/bracketPairsTextModelPart/bracketPairsTree/parser.d.ts +3 -0
- package/vscode/src/vs/editor/common/model/bracketPairsTextModelPart/bracketPairsTree/smallImmutableSet.d.ts +7 -0
- package/vscode/src/vs/editor/common/model/bracketPairsTextModelPart/bracketPairsTree/tokenizer.d.ts +23 -1
- package/vscode/src/vs/editor/common/model/decorationProvider.d.ts +13 -0
- package/vscode/src/vs/editor/common/model/fixedArray.d.ts +4 -0
- package/vscode/src/vs/editor/common/model/indentationGuesser.d.ts +9 -0
- package/vscode/src/vs/editor/common/model/intervalTree.d.ts +13 -0
- package/vscode/src/vs/editor/common/model/mirrorTextModel.d.ts +18 -0
- package/vscode/src/vs/editor/common/model/pieceTreeTextBuffer/pieceTreeBase.d.ts +29 -0
- package/vscode/src/vs/editor/common/model/pieceTreeTextBuffer/pieceTreeTextBuffer.d.ts +7 -0
- package/vscode/src/vs/editor/common/model/prefixSumComputer.d.ts +34 -0
- package/vscode/src/vs/editor/common/model/textModel.d.ts +17 -0
- package/vscode/src/vs/editor/common/model/textModelSearch.d.ts +4 -0
- package/vscode/src/vs/editor/common/model/textModelTokens.d.ts +19 -0
- package/vscode/src/vs/editor/common/model/tokens/abstractSyntaxTokenBackend.d.ts +8 -0
- package/vscode/src/vs/editor/common/model/tokens/tokenizationTextModelPart.d.ts +3 -0
- package/vscode/src/vs/editor/common/model/tokens/tokenizerSyntaxTokenBackend.d.ts +1 -0
- package/vscode/src/vs/editor/common/model/tokens/treeSitter/tokenStore.d.ts +22 -0
- package/vscode/src/vs/editor/common/model/tokens/treeSitter/treeSitterTokenizationImpl.d.ts +10 -0
- package/vscode/src/vs/editor/common/model/tokens/treeSitter/treeSitterTree.d.ts +4 -1
- package/vscode/src/vs/editor/common/model/utils.d.ts +5 -0
- package/vscode/src/vs/editor/common/model.d.ts +440 -0
- package/vscode/src/vs/editor/common/modelLineProjectionData.d.ts +52 -1
- package/vscode/src/vs/editor/common/services/editorWebWorker.d.ts +19 -0
- package/vscode/src/vs/editor/common/services/findSectionHeaders.d.ts +19 -0
- package/vscode/src/vs/editor/common/services/languagesAssociations.d.ts +23 -0
- package/vscode/src/vs/editor/common/services/modelService.d.ts +6 -0
- package/vscode/src/vs/editor/common/services/resolverService.service.d.ts +10 -0
- package/vscode/src/vs/editor/common/services/textModelSync/textModelSync.impl.d.ts +3 -0
- package/vscode/src/vs/editor/common/services/textResourceConfiguration.d.ts +11 -0
- package/vscode/src/vs/editor/common/services/textResourceConfiguration.service.d.ts +35 -0
- package/vscode/src/vs/editor/common/services/treeSitter/treeSitterLibraryService.service.d.ts +10 -0
- package/vscode/src/vs/editor/common/standalone/standaloneEnums.d.ts +377 -18
- package/vscode/src/vs/editor/common/textModelBracketPairs.d.ts +56 -3
- package/vscode/src/vs/editor/common/textModelEditSource.d.ts +4 -0
- package/vscode/src/vs/editor/common/textModelEvents.d.ts +210 -0
- package/vscode/src/vs/editor/common/textModelGuides.d.ts +28 -1
- package/vscode/src/vs/editor/common/tokenizationTextModelPart.d.ts +53 -0
- package/vscode/src/vs/editor/common/tokens/contiguousMultilineTokens.d.ts +24 -0
- package/vscode/src/vs/editor/common/tokens/contiguousTokensStore.d.ts +3 -0
- package/vscode/src/vs/editor/common/tokens/lineTokens.d.ts +20 -0
- package/vscode/src/vs/editor/common/tokens/sparseMultilineTokens.d.ts +9 -0
- package/vscode/src/vs/editor/common/tokens/sparseTokensStore.d.ts +3 -0
- package/vscode/src/vs/editor/common/tokens/tokenWithTextArray.d.ts +11 -0
- package/vscode/src/vs/editor/common/viewEvents.d.ts +85 -2
- package/vscode/src/vs/editor/common/viewLayout/lineDecorations.d.ts +3 -0
- package/vscode/src/vs/editor/common/viewLayout/lineHeights.d.ts +26 -0
- package/vscode/src/vs/editor/common/viewLayout/linePart.d.ts +8 -1
- package/vscode/src/vs/editor/common/viewLayout/linesLayout.d.ts +130 -0
- package/vscode/src/vs/editor/common/viewLayout/viewLineRenderer.d.ts +10 -0
- package/vscode/src/vs/editor/common/viewLayout/viewLinesViewportData.d.ts +21 -0
- package/vscode/src/vs/editor/common/viewModel/modelLineProjection.d.ts +3 -0
- package/vscode/src/vs/editor/common/viewModel/overviewZoneManager.d.ts +6 -0
- package/vscode/src/vs/editor/common/viewModel/viewModelDecorations.d.ts +12 -0
- package/vscode/src/vs/editor/common/viewModel/viewModelImpl.d.ts +15 -0
- package/vscode/src/vs/editor/common/viewModel/viewModelLines.d.ts +10 -0
- package/vscode/src/vs/editor/common/viewModel.d.ts +104 -1
- package/vscode/src/vs/editor/contrib/anchorSelect/browser/anchorSelect.css +5 -0
- package/vscode/src/vs/editor/contrib/bracketMatching/browser/bracketMatching.css +5 -0
- package/vscode/src/vs/editor/contrib/codeAction/browser/codeAction.d.ts +1 -1
- package/vscode/src/vs/editor/contrib/codeAction/browser/lightBulbWidget.css +16 -0
- package/vscode/src/vs/editor/contrib/codelens/browser/codelensWidget.css +15 -1
- package/vscode/src/vs/editor/contrib/colorPicker/browser/colorPicker.css +40 -0
- package/vscode/src/vs/editor/contrib/colorPicker/browser/hoverColorPicker/hoverColorPickerParticipant.d.ts +4 -0
- package/vscode/src/vs/editor/contrib/comment/browser/lineCommentCommand.d.ts +26 -0
- package/vscode/src/vs/editor/contrib/dnd/browser/dnd.css +9 -3
- package/vscode/src/vs/editor/contrib/dropOrPasteInto/browser/copyPasteController.d.ts +12 -0
- package/vscode/src/vs/editor/contrib/dropOrPasteInto/browser/dropIntoEditorController.d.ts +5 -0
- package/vscode/src/vs/editor/contrib/dropOrPasteInto/browser/edit.d.ts +4 -0
- package/vscode/src/vs/editor/contrib/dropOrPasteInto/browser/postEditWidget.css +8 -0
- package/vscode/src/vs/editor/contrib/editorState/browser/editorState.d.ts +8 -0
- package/vscode/src/vs/editor/contrib/find/browser/findDecorations.d.ts +1 -0
- package/vscode/src/vs/editor/contrib/find/browser/findOptionsWidget.css +5 -0
- package/vscode/src/vs/editor/contrib/find/browser/findWidget.css +62 -1
- package/vscode/src/vs/editor/contrib/find/browser/findWidget.d.ts +4 -0
- package/vscode/src/vs/editor/contrib/find/browser/replacePattern.d.ts +18 -0
- package/vscode/src/vs/editor/contrib/folding/browser/folding.css +10 -1
- package/vscode/src/vs/editor/contrib/folding/browser/folding.d.ts +6 -0
- package/vscode/src/vs/editor/contrib/folding/browser/foldingModel.d.ts +67 -0
- package/vscode/src/vs/editor/contrib/folding/browser/foldingRanges.d.ts +13 -0
- package/vscode/src/vs/editor/contrib/gotoError/browser/media/gotoErrorWidget.css +20 -0
- package/vscode/src/vs/editor/contrib/gotoSymbol/browser/link/clickLinkGesture.d.ts +9 -0
- package/vscode/src/vs/editor/contrib/gotoSymbol/browser/link/goToDefinitionAtPosition.css +5 -0
- package/vscode/src/vs/editor/contrib/gotoSymbol/browser/peek/referencesWidget.css +22 -0
- package/vscode/src/vs/editor/contrib/gotoSymbol/browser/peek/referencesWidget.d.ts +3 -0
- package/vscode/src/vs/editor/contrib/hover/browser/contentHoverWidgetWrapper.d.ts +3 -0
- package/vscode/src/vs/editor/contrib/hover/browser/hover.css +19 -0
- package/vscode/src/vs/editor/contrib/hover/browser/hoverOperation.d.ts +16 -0
- package/vscode/src/vs/editor/contrib/hover/browser/hoverTypes.d.ts +54 -0
- package/vscode/src/vs/editor/contrib/inPlaceReplace/browser/inPlaceReplace.css +6 -0
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/controller/inlineCompletionsController.d.ts +3 -0
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/hintsWidget/inlineCompletionsHintsWidget.css +12 -0
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/model/computeGhostText.d.ts +12 -0
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/model/ghostText.d.ts +11 -1
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/model/graph.d.ts +3 -0
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/model/inlineCompletionsSource.d.ts +3 -0
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/model/inlineSuggestionItem.d.ts +12 -0
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/model/provideInlineCompletions.d.ts +13 -0
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/model/typingSpeed.d.ts +13 -0
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/structuredLogger.d.ts +3 -0
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/view/ghostText/ghostTextView.css +16 -0
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/view/inlineEdits/inlineEditsViews/inlineEditsWordReplacementView.d.ts +4 -1
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/view/inlineEdits/view.css +58 -7
- package/vscode/src/vs/editor/contrib/inlineProgress/browser/inlineProgress.d.ts +1 -0
- package/vscode/src/vs/editor/contrib/inlineProgress/browser/inlineProgressWidget.css +9 -0
- package/vscode/src/vs/editor/contrib/insertFinalNewLine/browser/insertFinalNewLineCommand.d.ts +4 -0
- package/vscode/src/vs/editor/contrib/linesOperations/browser/linesOperations.d.ts +3 -0
- package/vscode/src/vs/editor/contrib/linesOperations/browser/moveLinesCommand.d.ts +9 -0
- package/vscode/src/vs/editor/contrib/linkedEditing/browser/linkedEditing.css +7 -0
- package/vscode/src/vs/editor/contrib/links/browser/links.css +5 -0
- package/vscode/src/vs/editor/contrib/message/browser/messageController.css +18 -0
- package/vscode/src/vs/editor/contrib/middleScroll/browser/middleScroll.css +7 -0
- package/vscode/src/vs/editor/contrib/parameterHints/browser/parameterHints.css +29 -0
- package/vscode/src/vs/editor/contrib/peekView/browser/media/peekViewWidget.css +18 -0
- package/vscode/src/vs/editor/contrib/placeholderText/browser/placeholderText.css +6 -0
- package/vscode/src/vs/editor/contrib/placeholderText/browser/placeholderTextContribution.d.ts +3 -0
- package/vscode/src/vs/editor/contrib/rename/browser/renameWidget.css +16 -2
- package/vscode/src/vs/editor/contrib/rename/browser/renameWidget.d.ts +27 -0
- package/vscode/src/vs/editor/contrib/snippet/browser/snippetParser.d.ts +4 -0
- package/vscode/src/vs/editor/contrib/snippet/browser/snippetSession.css +6 -0
- package/vscode/src/vs/editor/contrib/snippet/browser/snippetSession.d.ts +4 -0
- package/vscode/src/vs/editor/contrib/stickyScroll/browser/stickyScroll.css +15 -0
- package/vscode/src/vs/editor/contrib/stickyScroll/browser/stickyScrollElement.d.ts +22 -1
- package/vscode/src/vs/editor/contrib/stickyScroll/browser/stickyScrollModelProvider.d.ts +5 -0
- package/vscode/src/vs/editor/contrib/stickyScroll/browser/stickyScrollProvider.d.ts +42 -0
- package/vscode/src/vs/editor/contrib/stickyScroll/browser/stickyScrollWidget.d.ts +19 -0
- package/vscode/src/vs/editor/contrib/suggest/browser/completionModel.d.ts +3 -0
- package/vscode/src/vs/editor/contrib/suggest/browser/media/suggest.css +118 -0
- package/vscode/src/vs/editor/contrib/suggest/browser/suggest.d.ts +7 -0
- package/vscode/src/vs/editor/contrib/suggest/browser/suggestModel.d.ts +4 -0
- package/vscode/src/vs/editor/contrib/suggest/browser/suggestWidgetRenderer.d.ts +8 -0
- package/vscode/src/vs/editor/contrib/symbolIcons/browser/symbolIcons.css +5 -0
- package/vscode/src/vs/editor/contrib/unicodeHighlighter/browser/bannerController.css +19 -0
- package/vscode/src/vs/editor/contrib/unicodeHighlighter/browser/unicodeHighlighter.css +5 -0
- package/vscode/src/vs/editor/contrib/wordHighlighter/browser/highlightDecorations.css +8 -0
- package/vscode/src/vs/editor/contrib/zoneWidget/browser/zoneWidget.css +6 -0
- package/vscode/src/vs/editor/contrib/zoneWidget/browser/zoneWidget.d.ts +1 -0
- package/vscode/src/vs/editor/editor.worker.start.d.ts +5 -0
- package/vscode/src/vs/editor/standalone/browser/iPadShowKeyboard/iPadShowKeyboard.css +6 -0
- package/vscode/src/vs/editor/standalone/browser/quickInput/standaloneQuickInput.css +14 -0
- package/vscode/src/vs/editor/standalone/browser/standaloneCodeEditor.d.ts +73 -0
- package/vscode/src/vs/editor/standalone/browser/standaloneServices.d.ts +10 -0
- package/vscode/src/vs/editor/standalone/browser/standaloneTreeSitterLibraryService.d.ts +10 -0
- package/vscode/src/vs/nls.d.ts +96 -0
- package/vscode/src/vs/platform/accessibility/browser/accessibleView.d.ts +31 -0
- package/vscode/src/vs/platform/accessibility/browser/accessibleView.service.d.ts +4 -0
- package/vscode/src/vs/platform/accessibility/browser/accessibleViewRegistry.d.ts +3 -0
- package/vscode/src/vs/platform/accessibility/common/accessibility.d.ts +3 -0
- package/vscode/src/vs/platform/accessibilitySignal/browser/accessibilitySignalService.d.ts +16 -0
- package/vscode/src/vs/platform/accessibilitySignal/browser/accessibilitySignalService.service.d.ts +7 -0
- package/vscode/src/vs/platform/action/common/action.d.ts +32 -0
- package/vscode/src/vs/platform/actionWidget/browser/actionWidget.css +36 -0
- package/vscode/src/vs/platform/actions/browser/floatingMenu.d.ts +4 -0
- package/vscode/src/vs/platform/actions/browser/menuEntryActionViewItem.css +14 -0
- package/vscode/src/vs/platform/actions/browser/menuEntryActionViewItem.d.ts +3 -0
- package/vscode/src/vs/platform/actions/browser/toolbar.d.ts +67 -0
- package/vscode/src/vs/platform/actions/common/actions.d.ts +40 -0
- package/vscode/src/vs/platform/actions/common/actions.service.d.ts +20 -0
- package/vscode/src/vs/platform/clipboard/common/clipboardService.service.d.ts +33 -0
- package/vscode/src/vs/platform/commands/common/commands.d.ts +7 -0
- package/vscode/src/vs/platform/configuration/common/configuration.d.ts +9 -0
- package/vscode/src/vs/platform/configuration/common/configuration.service.d.ts +26 -0
- package/vscode/src/vs/platform/configuration/common/configurationRegistry.d.ts +126 -0
- package/vscode/src/vs/platform/contextkey/common/contextkey.d.ts +30 -0
- package/vscode/src/vs/platform/contextkey/common/scanner.d.ts +21 -1
- package/vscode/src/vs/platform/contextview/browser/contextView.d.ts +18 -0
- package/vscode/src/vs/platform/dialogs/common/dialogs.service.d.ts +87 -0
- package/vscode/src/vs/platform/dnd/browser/dnd.d.ts +22 -0
- package/vscode/src/vs/platform/editor/common/editor.d.ts +231 -0
- package/vscode/src/vs/platform/environment/common/argv.d.ts +3 -0
- package/vscode/src/vs/platform/environment/common/environment.d.ts +5 -0
- package/vscode/src/vs/platform/environment/common/environment.service.d.ts +16 -0
- package/vscode/src/vs/platform/extensionManagement/common/extensionManagement.d.ts +25 -22
- package/vscode/src/vs/platform/extensionManagement/common/extensionManagement.service.d.ts +4 -0
- package/vscode/src/vs/platform/extensionManagement/common/extensionsProfileScannerService.d.ts +6 -0
- package/vscode/src/vs/platform/extensionManagement/common/extensionsScannerService.d.ts +7 -0
- package/vscode/src/vs/platform/extensionManagement/common/implicitActivationEvents.d.ts +8 -0
- package/vscode/src/vs/platform/extensionResourceLoader/common/extensionResourceLoader.service.d.ts +15 -0
- package/vscode/src/vs/platform/extensions/common/extensions.d.ts +944 -0
- package/vscode/src/vs/platform/files/browser/webFileSystemAccess.d.ts +25 -0
- package/vscode/src/vs/platform/files/common/files.d.ts +408 -0
- package/vscode/src/vs/platform/files/common/files.service.d.ts +168 -0
- package/vscode/src/vs/platform/files/common/watcher.d.ts +83 -0
- package/vscode/src/vs/platform/imageResize/common/imageResizeService.service.d.ts +3 -0
- package/vscode/src/vs/platform/instantiation/common/extensions.d.ts +8 -0
- package/vscode/src/vs/platform/instantiation/common/graph.d.ts +4 -0
- package/vscode/src/vs/platform/instantiation/common/instantiation.d.ts +31 -0
- package/vscode/src/vs/platform/jsonschemas/common/jsonContributionRegistry.d.ts +18 -0
- package/vscode/src/vs/platform/keybinding/common/abstractKeybindingService.d.ts +7 -0
- package/vscode/src/vs/platform/keybinding/common/keybinding.service.d.ts +27 -0
- package/vscode/src/vs/platform/keybinding/common/keybindingResolver.d.ts +24 -1
- package/vscode/src/vs/platform/keybinding/common/keybindingsRegistry.d.ts +3 -0
- package/vscode/src/vs/platform/keybinding/common/usLayoutResolvedKeybinding.d.ts +6 -0
- package/vscode/src/vs/platform/label/common/label.service.d.ts +12 -0
- package/vscode/src/vs/platform/layout/browser/layoutService.d.ts +6 -0
- package/vscode/src/vs/platform/layout/browser/layoutService.service.d.ts +51 -0
- package/vscode/src/vs/platform/list/browser/listService.service.d.ts +3 -0
- package/vscode/src/vs/platform/log/common/log.d.ts +30 -0
- package/vscode/src/vs/platform/log/common/log.service.d.ts +52 -0
- package/vscode/src/vs/platform/markers/common/markerService.d.ts +3 -0
- package/vscode/src/vs/platform/markers/common/markers.d.ts +6 -0
- package/vscode/src/vs/platform/notification/common/notification.d.ts +185 -0
- package/vscode/src/vs/platform/notification/common/notification.service.d.ts +63 -0
- package/vscode/src/vs/platform/observable/common/platformObservableUtils.d.ts +2 -0
- package/vscode/src/vs/platform/observable/common/wrapInHotClass.d.ts +10 -0
- package/vscode/src/vs/platform/observable/common/wrapInReloadableClass.d.ts +10 -0
- package/vscode/src/vs/platform/opener/browser/link.css +7 -0
- package/vscode/src/vs/platform/opener/common/opener.d.ts +33 -0
- package/vscode/src/vs/platform/opener/common/opener.service.d.ts +27 -0
- package/vscode/src/vs/platform/product/common/product.d.ts +5 -0
- package/vscode/src/vs/platform/product/common/product.js +1 -1
- package/vscode/src/vs/platform/progress/common/progress.d.ts +15 -0
- package/vscode/src/vs/platform/progress/common/progress.service.d.ts +6 -0
- package/vscode/src/vs/platform/quickinput/browser/media/quickInput.css +115 -0
- package/vscode/src/vs/platform/quickinput/browser/quickInput.d.ts +4 -0
- package/vscode/src/vs/platform/quickinput/browser/quickInputList.d.ts +14 -0
- package/vscode/src/vs/platform/quickinput/browser/tree/quickInputDelegate.d.ts +3 -0
- package/vscode/src/vs/platform/quickinput/browser/tree/quickInputTreeAccessibilityProvider.d.ts +3 -0
- package/vscode/src/vs/platform/quickinput/browser/tree/quickInputTreeController.d.ts +3 -0
- package/vscode/src/vs/platform/quickinput/browser/tree/quickTree.d.ts +4 -0
- package/vscode/src/vs/platform/quickinput/common/quickAccess.d.ts +121 -0
- package/vscode/src/vs/platform/quickinput/common/quickInput.d.ts +574 -0
- package/vscode/src/vs/platform/quickinput/common/quickInput.service.d.ts +63 -0
- package/vscode/src/vs/platform/registry/common/platform.d.ts +14 -0
- package/vscode/src/vs/platform/remote/common/remoteAuthorityResolver.service.d.ts +7 -0
- package/vscode/src/vs/platform/remote/common/remoteExtensionsScanner.service.d.ts +3 -0
- package/vscode/src/vs/platform/remote/common/remoteSocketFactoryService.service.d.ts +6 -0
- package/vscode/src/vs/platform/storage/common/storage.d.ts +45 -0
- package/vscode/src/vs/platform/storage/common/storage.service.d.ts +120 -0
- package/vscode/src/vs/platform/telemetry/common/telemetry.service.d.ts +13 -0
- package/vscode/src/vs/platform/telemetry/common/telemetryUtils.d.ts +40 -0
- package/vscode/src/vs/platform/terminal/common/terminal.d.ts +342 -1
- package/vscode/src/vs/platform/terminal/common/terminal.service.d.ts +28 -0
- package/vscode/src/vs/platform/terminal/common/terminalProcess.d.ts +4 -0
- package/vscode/src/vs/platform/theme/common/colorUtils.d.ts +37 -0
- package/vscode/src/vs/platform/theme/common/iconRegistry.d.ts +32 -0
- package/vscode/src/vs/platform/theme/common/theme.d.ts +3 -0
- package/vscode/src/vs/platform/theme/common/themeService.d.ts +30 -0
- package/vscode/src/vs/platform/tunnel/common/tunnel.d.ts +13 -1
- package/vscode/src/vs/platform/undoRedo/common/undoRedo.d.ts +32 -0
- package/vscode/src/vs/platform/undoRedo/common/undoRedo.service.d.ts +32 -0
- package/vscode/src/vs/platform/update/common/update.d.ts +17 -0
- package/vscode/src/vs/platform/uriIdentity/common/uriIdentity.service.d.ts +26 -0
- package/vscode/src/vs/platform/url/common/url.d.ts +6 -0
- package/vscode/src/vs/platform/url/common/url.service.d.ts +5 -0
- package/vscode/src/vs/platform/userDataProfile/common/userDataProfile.d.ts +3 -0
- package/vscode/src/vs/platform/userDataProfile/common/userDataProfileStorageService.service.d.ts +16 -0
- package/vscode/src/vs/platform/userDataSync/common/userDataSync.d.ts +12 -12
- package/vscode/src/vs/platform/userDataSync/common/userDataSync.service.d.ts +4 -0
- package/vscode/src/vs/platform/webContentExtractor/common/webContentExtractor.d.ts +5 -0
- package/vscode/src/vs/platform/window/common/window.d.ts +39 -0
- package/vscode/src/vs/platform/workspace/common/workspace.d.ts +71 -1
- package/vscode/src/vs/platform/workspace/common/workspace.service.d.ts +36 -0
- package/vscode/src/vs/workbench/api/common/extHost.api.impl.d.ts +3 -0
- package/vscode/src/vs/workbench/api/common/extHost.protocol.d.ts +93 -3
- package/vscode/src/vs/workbench/api/common/extHostAuthentication.d.ts +9 -0
- package/vscode/src/vs/workbench/api/common/extHostConsoleForwarder.d.ts +9 -0
- package/vscode/src/vs/workbench/api/common/extHostExtensionActivator.d.ts +13 -0
- package/vscode/src/vs/workbench/api/common/extHostExtensionService.d.ts +7 -0
- package/vscode/src/vs/workbench/api/common/extHostLanguageModelTools.d.ts +2 -0
- package/vscode/src/vs/workbench/api/common/extHostMcp.d.ts +1 -0
- package/vscode/src/vs/workbench/api/common/extHostNotebook.d.ts +11 -0
- package/vscode/src/vs/workbench/api/common/extHostTerminalService.d.ts +7 -0
- package/vscode/src/vs/workbench/api/common/extHostTestItem.d.ts +3 -0
- package/vscode/src/vs/workbench/api/common/extHostTesting.d.ts +96 -2
- package/vscode/src/vs/workbench/api/common/extHostTestingPrivateApi.d.ts +5 -0
- package/vscode/src/vs/workbench/api/common/extHostTunnelService.d.ts +8 -0
- package/vscode/src/vs/workbench/api/common/extHostTypes.d.ts +123 -0
- package/vscode/src/vs/workbench/api/common/extHostWorkspace.d.ts +3 -0
- package/vscode/src/vs/workbench/browser/actions/media/actions.css +12 -0
- package/vscode/src/vs/workbench/browser/parts/editor/editor.d.ts +69 -0
- package/vscode/src/vs/workbench/common/composite.d.ts +24 -0
- package/vscode/src/vs/workbench/common/contributions.d.ts +62 -0
- package/vscode/src/vs/workbench/common/editor/diffEditorInput.d.ts +4 -0
- package/vscode/src/vs/workbench/common/editor/diffEditorModel.d.ts +4 -0
- package/vscode/src/vs/workbench/common/editor/editorInput.d.ts +181 -0
- package/vscode/src/vs/workbench/common/editor/editorModel.d.ts +17 -0
- package/vscode/src/vs/workbench/common/editor/sideBySideEditorInput.d.ts +3 -0
- package/vscode/src/vs/workbench/common/editor/textDiffEditorModel.d.ts +4 -0
- package/vscode/src/vs/workbench/common/editor/textEditorModel.d.ts +15 -0
- package/vscode/src/vs/workbench/common/editor.d.ts +617 -0
- package/vscode/src/vs/workbench/common/panecomposite.d.ts +3 -0
- package/vscode/src/vs/workbench/common/views.d.ts +74 -0
- package/vscode/src/vs/workbench/contrib/accessibility/browser/accessibilityConfiguration.d.ts +4 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/chat.service.d.ts +3 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/chatContentParts/chatContentParts.d.ts +11 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/chatContentParts/chatMarkdownAnchorService.service.d.ts +3 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/chatContextPickService.service.d.ts +5 -0
- package/vscode/src/vs/workbench/contrib/chat/common/chatAgents.service.d.ts +9 -0
- package/vscode/src/vs/workbench/contrib/chat/common/chatContextKeys.d.ts +3 -0
- package/vscode/src/vs/workbench/contrib/chat/common/chatEditingService.d.ts +58 -0
- package/vscode/src/vs/workbench/contrib/chat/common/chatEditingService.service.d.ts +6 -0
- package/vscode/src/vs/workbench/contrib/chat/common/chatService.d.ts +19 -0
- package/vscode/src/vs/workbench/contrib/chat/common/chatService.service.d.ts +3 -0
- package/vscode/src/vs/workbench/contrib/chat/common/chatSlashCommands.service.d.ts +3 -0
- package/vscode/src/vs/workbench/contrib/chat/common/chatVariableEntries.d.ts +18 -0
- package/vscode/src/vs/workbench/contrib/chat/common/constants.d.ts +3 -0
- package/vscode/src/vs/workbench/contrib/chat/common/languageModelToolsService.d.ts +11 -0
- package/vscode/src/vs/workbench/contrib/chat/common/languageModels.d.ts +12 -0
- package/vscode/src/vs/workbench/contrib/chat/common/languageModels.service.d.ts +5 -0
- package/vscode/src/vs/workbench/contrib/chat/common/promptSyntax/contentProviders/types.d.ts +34 -0
- package/vscode/src/vs/workbench/contrib/chat/common/promptSyntax/parsers/types.d.ts +64 -0
- package/vscode/src/vs/workbench/contrib/chat/common/promptSyntax/service/promptsService.d.ts +78 -0
- package/vscode/src/vs/workbench/contrib/chat/common/promptSyntax/service/promptsService.service.d.ts +40 -0
- package/vscode/src/vs/workbench/contrib/chat/common/tools/promptTsxTypes.d.ts +10 -0
- package/vscode/src/vs/workbench/contrib/codeEditor/browser/dictation/editorDictation.css +9 -0
- package/vscode/src/vs/workbench/contrib/codeEditor/browser/editorLineNumberMenu.d.ts +6 -0
- package/vscode/src/vs/workbench/contrib/codeEditor/browser/largeFileOptimizations.d.ts +3 -0
- package/vscode/src/vs/workbench/contrib/codeEditor/browser/menuPreventer.d.ts +3 -0
- package/vscode/src/vs/workbench/contrib/codeEditor/browser/saveParticipants.d.ts +3 -0
- package/vscode/src/vs/workbench/contrib/codeEditor/browser/toggleWordWrap.d.ts +9 -0
- package/vscode/src/vs/workbench/contrib/comments/common/commentContextKeys.d.ts +33 -0
- package/vscode/src/vs/workbench/contrib/debug/common/abstractDebugAdapter.d.ts +26 -0
- package/vscode/src/vs/workbench/contrib/debug/common/debug.d.ts +161 -0
- package/vscode/src/vs/workbench/contrib/debug/common/debug.service.d.ts +130 -0
- package/vscode/src/vs/workbench/contrib/debug/common/debugUtils.d.ts +11 -0
- package/vscode/src/vs/workbench/contrib/debug/common/debugVisualizers.service.d.ts +18 -0
- package/vscode/src/vs/workbench/contrib/externalUriOpener/common/externalUriOpenerService.service.d.ts +7 -0
- package/vscode/src/vs/workbench/contrib/files/browser/files.service.d.ts +4 -0
- package/vscode/src/vs/workbench/contrib/logs/common/defaultLogLevels.service.d.ts +3 -0
- package/vscode/src/vs/workbench/contrib/mcp/common/mcpRegistryTypes.d.ts +14 -0
- package/vscode/src/vs/workbench/contrib/mcp/common/mcpRegistryTypes.service.d.ts +9 -0
- package/vscode/src/vs/workbench/contrib/mcp/common/mcpTypes.d.ts +124 -0
- package/vscode/src/vs/workbench/contrib/mcp/common/mcpTypes.service.d.ts +15 -0
- package/vscode/src/vs/workbench/contrib/mcp/common/modelContextProtocol.d.ts +787 -0
- package/vscode/src/vs/workbench/contrib/notebook/common/notebookCommon.d.ts +71 -0
- package/vscode/src/vs/workbench/contrib/notebook/common/notebookEditorModelResolverService.d.ts +19 -0
- package/vscode/src/vs/workbench/contrib/notebook/common/notebookKernelService.service.d.ts +13 -0
- package/vscode/src/vs/workbench/contrib/notebook/common/notebookRendererMessagingService.d.ts +7 -0
- package/vscode/src/vs/workbench/contrib/notebook/common/notebookRendererMessagingService.service.d.ts +12 -0
- package/vscode/src/vs/workbench/contrib/notebook/common/notebookService.service.d.ts +2 -0
- package/vscode/src/vs/workbench/contrib/scm/browser/quickDiffModel.service.d.ts +6 -0
- package/vscode/src/vs/workbench/contrib/scm/common/scm.service.d.ts +3 -0
- package/vscode/src/vs/workbench/contrib/search/browser/replace.service.d.ts +14 -0
- package/vscode/src/vs/workbench/contrib/speech/common/speechService.service.d.ts +14 -0
- package/vscode/src/vs/workbench/contrib/tags/common/workspaceTags.service.d.ts +4 -0
- package/vscode/src/vs/workbench/contrib/tasks/common/taskService.service.d.ts +8 -0
- package/vscode/src/vs/workbench/contrib/tasks/common/tasks.d.ts +224 -0
- package/vscode/src/vs/workbench/contrib/terminal/browser/terminal.d.ts +508 -13
- package/vscode/src/vs/workbench/contrib/terminal/browser/terminal.service.d.ts +92 -0
- package/vscode/src/vs/workbench/contrib/terminal/browser/xterm-private.d.ts +4 -0
- package/vscode/src/vs/workbench/contrib/terminal/common/environmentVariable.service.d.ts +21 -0
- package/vscode/src/vs/workbench/contrib/terminal/common/terminal.service.d.ts +3 -0
- package/vscode/src/vs/workbench/contrib/testing/common/testCoverageService.service.d.ts +16 -0
- package/vscode/src/vs/workbench/contrib/testing/common/testExplorerFilterState.service.d.ts +31 -0
- package/vscode/src/vs/workbench/contrib/testing/common/testId.d.ts +79 -0
- package/vscode/src/vs/workbench/contrib/testing/common/testItemCollection.d.ts +49 -0
- package/vscode/src/vs/workbench/contrib/testing/common/testProfileService.service.d.ts +36 -0
- package/vscode/src/vs/workbench/contrib/testing/common/testResultService.service.d.ts +24 -0
- package/vscode/src/vs/workbench/contrib/testing/common/testResultStorage.service.d.ts +6 -0
- package/vscode/src/vs/workbench/contrib/testing/common/testService.service.d.ts +62 -0
- package/vscode/src/vs/workbench/contrib/testing/common/testTypes.d.ts +150 -0
- package/vscode/src/vs/workbench/contrib/testing/common/testingContinuousRunService.service.d.ts +36 -0
- package/vscode/src/vs/workbench/contrib/testing/common/testingDecorations.service.d.ts +19 -0
- package/vscode/src/vs/workbench/contrib/testing/common/testingPeekOpener.d.ts +2 -0
- package/vscode/src/vs/workbench/contrib/testing/common/testingPeekOpener.service.d.ts +18 -0
- package/vscode/src/vs/workbench/contrib/timeline/common/timeline.d.ts +29 -0
- package/vscode/src/vs/workbench/contrib/webview/browser/webview.service.d.ts +18 -0
- package/vscode/src/vs/workbench/contrib/webview/common/webview.d.ts +19 -0
- package/vscode/src/vs/workbench/contrib/webviewPanel/browser/webviewWorkbenchService.service.d.ts +31 -0
- package/vscode/src/vs/workbench/contrib/webviewView/browser/webviewViewService.service.d.ts +10 -0
- package/vscode/src/vs/workbench/services/activity/common/activity.service.d.ts +21 -0
- package/vscode/src/vs/workbench/services/authentication/browser/authenticationAccessService.service.d.ts +8 -0
- package/vscode/src/vs/workbench/services/authentication/browser/authenticationMcpAccessService.service.d.ts +8 -0
- package/vscode/src/vs/workbench/services/authentication/browser/authenticationMcpService.service.d.ts +41 -0
- package/vscode/src/vs/workbench/services/authentication/browser/authenticationMcpUsageService.service.d.ts +24 -0
- package/vscode/src/vs/workbench/services/authentication/browser/authenticationUsageService.service.d.ts +24 -0
- package/vscode/src/vs/workbench/services/authentication/common/authentication.d.ts +107 -0
- package/vscode/src/vs/workbench/services/authentication/common/authentication.service.d.ts +124 -0
- package/vscode/src/vs/workbench/services/authentication/common/authenticationQuery.d.ts +267 -0
- package/vscode/src/vs/workbench/services/authentication/common/authenticationQuery.service.d.ts +33 -0
- package/vscode/src/vs/workbench/services/authentication/common/dynamicAuthenticationProviderStorage.d.ts +3 -0
- package/vscode/src/vs/workbench/services/authentication/common/dynamicAuthenticationProviderStorage.service.d.ts +39 -0
- package/vscode/src/vs/workbench/services/configurationResolver/common/configurationResolver.service.d.ts +20 -0
- package/vscode/src/vs/workbench/services/configurationResolver/common/configurationResolverExpression.d.ts +29 -0
- package/vscode/src/vs/workbench/services/editor/common/editorGroupsService.d.ts +511 -0
- package/vscode/src/vs/workbench/services/editor/common/editorGroupsService.service.d.ts +49 -0
- package/vscode/src/vs/workbench/services/editor/common/editorPaneService.service.d.ts +6 -0
- package/vscode/src/vs/workbench/services/editor/common/editorResolverService.d.ts +12 -0
- package/vscode/src/vs/workbench/services/editor/common/editorResolverService.service.d.ts +41 -0
- package/vscode/src/vs/workbench/services/editor/common/editorService.d.ts +45 -0
- package/vscode/src/vs/workbench/services/editor/common/editorService.service.d.ts +174 -0
- package/vscode/src/vs/workbench/services/environment/common/environmentService.service.d.ts +4 -0
- package/vscode/src/vs/workbench/services/extensionManagement/common/extensionManagement.service.d.ts +44 -0
- package/vscode/src/vs/workbench/services/extensions/common/extensionHostProtocol.d.ts +3 -0
- package/vscode/src/vs/workbench/services/extensions/common/extensionHostProxy.d.ts +3 -0
- package/vscode/src/vs/workbench/services/extensions/common/extensions.d.ts +64 -0
- package/vscode/src/vs/workbench/services/extensions/common/extensions.service.d.ts +94 -0
- package/vscode/src/vs/workbench/services/extensions/common/extensionsRegistry.d.ts +4 -0
- package/vscode/src/vs/workbench/services/extensions/common/proxyIdentifier.d.ts +18 -0
- package/vscode/src/vs/workbench/services/files/common/elevatedFileService.service.d.ts +7 -0
- package/vscode/src/vs/workbench/services/history/common/history.d.ts +28 -0
- package/vscode/src/vs/workbench/services/history/common/history.service.d.ts +51 -0
- package/vscode/src/vs/workbench/services/host/browser/host.service.d.ts +69 -0
- package/vscode/src/vs/workbench/services/keybinding/common/fallbackKeyboardMapper.d.ts +3 -0
- package/vscode/src/vs/workbench/services/languageDetection/common/languageDetectionWorkerService.service.d.ts +9 -0
- package/vscode/src/vs/workbench/services/layout/browser/layoutService.service.d.ts +119 -0
- package/vscode/src/vs/workbench/services/lifecycle/common/lifecycle.d.ts +116 -0
- package/vscode/src/vs/workbench/services/lifecycle/common/lifecycle.service.d.ts +54 -0
- package/vscode/src/vs/workbench/services/lifecycle/common/lifecycleService.d.ts +3 -0
- package/vscode/src/vs/workbench/services/output/common/output.d.ts +57 -0
- package/vscode/src/vs/workbench/services/output/common/output.service.d.ts +45 -0
- package/vscode/src/vs/workbench/services/panecomposite/browser/panecomposite.service.d.ts +30 -0
- package/vscode/src/vs/workbench/services/path/common/pathService.service.d.ts +42 -0
- package/vscode/src/vs/workbench/services/remote/common/remoteAgentService.service.d.ts +16 -0
- package/vscode/src/vs/workbench/services/search/common/folderQuerySearchTree.d.ts +4 -0
- package/vscode/src/vs/workbench/services/search/common/queryBuilder.d.ts +28 -0
- package/vscode/src/vs/workbench/services/search/common/search.d.ts +32 -0
- package/vscode/src/vs/workbench/services/search/common/search.service.d.ts +3 -0
- package/vscode/src/vs/workbench/services/search/common/searchExtConversionTypes.d.ts +273 -0
- package/vscode/src/vs/workbench/services/search/common/searchExtTypes.d.ts +327 -0
- package/vscode/src/vs/workbench/services/search/common/textSearchManager.d.ts +6 -0
- package/vscode/src/vs/workbench/services/statusbar/browser/statusbar.d.ts +91 -0
- package/vscode/src/vs/workbench/services/statusbar/browser/statusbar.service.d.ts +10 -0
- package/vscode/src/vs/workbench/services/terminal/common/embedderTerminalService.service.d.ts +3 -0
- package/vscode/src/vs/workbench/services/textfile/common/encoding.d.ts +9 -0
- package/vscode/src/vs/workbench/services/textfile/common/textEditorService.service.d.ts +17 -0
- package/vscode/src/vs/workbench/services/textfile/common/textfiles.d.ts +179 -0
- package/vscode/src/vs/workbench/services/textfile/common/textfiles.service.d.ts +74 -0
- package/vscode/src/vs/workbench/services/timer/browser/timerService.service.d.ts +31 -0
- package/vscode/src/vs/workbench/services/title/browser/titleService.service.d.ts +6 -0
- package/vscode/src/vs/workbench/services/untitled/common/untitledTextEditorService.service.d.ts +46 -0
- package/vscode/src/vs/workbench/services/userActivity/common/userActivityService.service.d.ts +14 -0
- package/vscode/src/vs/workbench/services/workingCopy/common/workingCopyBackup.d.ts +11 -0
- package/vscode/src/vs/workbench/services/workingCopy/common/workingCopyBackup.service.d.ts +32 -0
- package/vscode/src/vs/workbench/services/workingCopy/common/workingCopyEditorService.service.d.ts +9 -0
- package/vscode/src/vs/workbench/services/workingCopy/common/workingCopyFileService.service.d.ts +84 -0
- package/vscode/src/vs/workbench/services/workingCopy/common/workingCopyHistory.service.d.ts +43 -0
- package/vscode/src/vs/workbench/services/workingCopy/common/workingCopyService.service.d.ts +63 -0
- package/vscode/src/vs/workbench/services/workspaces/common/workspaceEditing.service.d.ts +28 -0
|
@@ -20,6 +20,11 @@ export interface IQuickPickItem {
|
|
|
20
20
|
description?: string;
|
|
21
21
|
detail?: string;
|
|
22
22
|
tooltip?: string | IMarkdownString;
|
|
23
|
+
/**
|
|
24
|
+
* Allows to show a keybinding next to the item to indicate
|
|
25
|
+
* how the item can be triggered outside of the picker using
|
|
26
|
+
* keyboard shortcut.
|
|
27
|
+
*/
|
|
23
28
|
keybinding?: ResolvedKeybinding;
|
|
24
29
|
iconClasses?: readonly string[];
|
|
25
30
|
iconPath?: {
|
|
@@ -32,9 +37,13 @@ export interface IQuickPickItem {
|
|
|
32
37
|
highlights?: IQuickPickItemHighlights;
|
|
33
38
|
buttons?: readonly IQuickInputButton[];
|
|
34
39
|
picked?: boolean;
|
|
40
|
+
/**
|
|
41
|
+
* Used when we're in multi-select mode. Renders a disabled checkbox.
|
|
42
|
+
*/
|
|
35
43
|
disabled?: boolean;
|
|
36
44
|
alwaysShow?: boolean;
|
|
37
45
|
indented?: boolean;
|
|
46
|
+
/** Defauls to true with `IQuickPick.canSelectMany`, can be false to disable picks for a single item */
|
|
38
47
|
pickable?: boolean;
|
|
39
48
|
}
|
|
40
49
|
export interface IQuickPickSeparator {
|
|
@@ -55,18 +64,59 @@ export interface IQuickNavigateConfiguration {
|
|
|
55
64
|
keybindings: readonly ResolvedKeybinding[];
|
|
56
65
|
}
|
|
57
66
|
export interface IPickOptions<T extends IQuickPickItem> {
|
|
67
|
+
/**
|
|
68
|
+
* an optional string to show as the title of the quick input
|
|
69
|
+
*/
|
|
58
70
|
title?: string;
|
|
71
|
+
/**
|
|
72
|
+
* the value to prefill in the input box
|
|
73
|
+
*/
|
|
59
74
|
value?: string;
|
|
75
|
+
/**
|
|
76
|
+
* an optional string to show as placeholder in the input box to guide the user what she picks on
|
|
77
|
+
*/
|
|
60
78
|
placeHolder?: string;
|
|
79
|
+
/**
|
|
80
|
+
* an optional flag to include the description when filtering the picks
|
|
81
|
+
*/
|
|
61
82
|
matchOnDescription?: boolean;
|
|
83
|
+
/**
|
|
84
|
+
* an optional flag to include the detail when filtering the picks
|
|
85
|
+
*/
|
|
62
86
|
matchOnDetail?: boolean;
|
|
87
|
+
/**
|
|
88
|
+
* an optional flag to filter the picks based on label. Defaults to true.
|
|
89
|
+
*/
|
|
63
90
|
matchOnLabel?: boolean;
|
|
91
|
+
/**
|
|
92
|
+
* an optional flag to sort the picks based by the label.
|
|
93
|
+
*/
|
|
64
94
|
sortByLabel?: boolean;
|
|
95
|
+
/**
|
|
96
|
+
* an optional flag to not close the picker on focus lost
|
|
97
|
+
*/
|
|
65
98
|
ignoreFocusLost?: boolean;
|
|
99
|
+
/**
|
|
100
|
+
* an optional flag to make this picker multi-select
|
|
101
|
+
*/
|
|
66
102
|
canPickMany?: boolean;
|
|
103
|
+
/**
|
|
104
|
+
* enables quick navigate in the picker to open an element without typing
|
|
105
|
+
*/
|
|
67
106
|
quickNavigate?: IQuickNavigateConfiguration;
|
|
107
|
+
/**
|
|
108
|
+
* Hides the input box from the picker UI. This is typically used
|
|
109
|
+
* in combination with quick-navigation where no search UI should
|
|
110
|
+
* be presented.
|
|
111
|
+
*/
|
|
68
112
|
hideInput?: boolean;
|
|
113
|
+
/**
|
|
114
|
+
* a context key to set when this picker is active
|
|
115
|
+
*/
|
|
69
116
|
contextKey?: string;
|
|
117
|
+
/**
|
|
118
|
+
* an optional property for the item to focus initially.
|
|
119
|
+
*/
|
|
70
120
|
activeItem?: Promise<T> | T;
|
|
71
121
|
onKeyMods?: (keyMods: IKeyMods) => void;
|
|
72
122
|
onDidFocus?: (entry: T) => void;
|
|
@@ -74,178 +124,572 @@ export interface IPickOptions<T extends IQuickPickItem> {
|
|
|
74
124
|
onDidTriggerSeparatorButton?: (context: IQuickPickSeparatorButtonEvent) => void;
|
|
75
125
|
}
|
|
76
126
|
export interface IInputOptions {
|
|
127
|
+
/**
|
|
128
|
+
* an optional string to show as the title of the quick input
|
|
129
|
+
*/
|
|
77
130
|
title?: string;
|
|
131
|
+
/**
|
|
132
|
+
* the value to prefill in the input box
|
|
133
|
+
*/
|
|
78
134
|
value?: string;
|
|
135
|
+
/**
|
|
136
|
+
* the selection of value, default to the whole prefilled value
|
|
137
|
+
*/
|
|
79
138
|
valueSelection?: readonly [
|
|
80
139
|
number,
|
|
81
140
|
number
|
|
82
141
|
];
|
|
142
|
+
/**
|
|
143
|
+
* the text to display underneath the input box
|
|
144
|
+
*/
|
|
83
145
|
prompt?: string;
|
|
146
|
+
/**
|
|
147
|
+
* an optional string to show as placeholder in the input box to guide the user what to type
|
|
148
|
+
*/
|
|
84
149
|
placeHolder?: string;
|
|
150
|
+
/**
|
|
151
|
+
* Controls if a password input is shown. Password input hides the typed text.
|
|
152
|
+
*/
|
|
85
153
|
password?: boolean;
|
|
154
|
+
/**
|
|
155
|
+
* an optional flag to not close the input on focus lost
|
|
156
|
+
*/
|
|
86
157
|
ignoreFocusLost?: boolean;
|
|
158
|
+
/**
|
|
159
|
+
* an optional function that is used to validate user input.
|
|
160
|
+
*/
|
|
87
161
|
validateInput?: (input: string) => Promise<string | null | undefined | {
|
|
88
162
|
content: string;
|
|
89
163
|
severity: Severity;
|
|
90
164
|
}>;
|
|
91
165
|
}
|
|
92
166
|
export declare enum QuickInputHideReason {
|
|
167
|
+
/**
|
|
168
|
+
* Focus moved away from the quick input.
|
|
169
|
+
*/
|
|
93
170
|
Blur = 1,
|
|
171
|
+
/**
|
|
172
|
+
* An explicit user gesture, e.g. pressing Escape key.
|
|
173
|
+
*/
|
|
94
174
|
Gesture = 2,
|
|
175
|
+
/**
|
|
176
|
+
* Anything else.
|
|
177
|
+
*/
|
|
95
178
|
Other = 3
|
|
96
179
|
}
|
|
97
180
|
export interface IQuickInputHideEvent {
|
|
98
181
|
reason: QuickInputHideReason;
|
|
99
182
|
}
|
|
183
|
+
/**
|
|
184
|
+
* A collection of the different types of QuickInput
|
|
185
|
+
*/
|
|
100
186
|
export declare enum QuickInputType {
|
|
101
187
|
QuickPick = "quickPick",
|
|
102
188
|
InputBox = "inputBox",
|
|
103
189
|
QuickWidget = "quickWidget",
|
|
104
190
|
QuickTree = "quickTree"
|
|
105
191
|
}
|
|
192
|
+
/**
|
|
193
|
+
* Represents a quick input control that allows users to make selections or provide input quickly.
|
|
194
|
+
*/
|
|
106
195
|
export interface IQuickInput extends IDisposable {
|
|
196
|
+
/**
|
|
197
|
+
* The type of the quick input.
|
|
198
|
+
*/
|
|
107
199
|
readonly type: QuickInputType;
|
|
200
|
+
/**
|
|
201
|
+
* An event that is fired when the quick input is hidden.
|
|
202
|
+
*/
|
|
108
203
|
readonly onDidHide: Event<IQuickInputHideEvent>;
|
|
204
|
+
/**
|
|
205
|
+
* An event that is fired when the quick input will be hidden.
|
|
206
|
+
*/
|
|
109
207
|
readonly onWillHide: Event<IQuickInputHideEvent>;
|
|
208
|
+
/**
|
|
209
|
+
* An event that is fired when the quick input is disposed.
|
|
210
|
+
*/
|
|
110
211
|
readonly onDispose: Event<void>;
|
|
212
|
+
/**
|
|
213
|
+
* The title of the quick input.
|
|
214
|
+
*/
|
|
111
215
|
title: string | undefined;
|
|
216
|
+
/**
|
|
217
|
+
* The description of the quick input. This is rendered right below the input box.
|
|
218
|
+
*/
|
|
112
219
|
description: string | undefined;
|
|
220
|
+
/**
|
|
221
|
+
* An HTML widget rendered below the input.
|
|
222
|
+
* @deprecated Use an IQuickWidget instead.
|
|
223
|
+
*/
|
|
113
224
|
widget: any | undefined;
|
|
225
|
+
/**
|
|
226
|
+
* The current step of the quick input rendered in the titlebar.
|
|
227
|
+
*/
|
|
114
228
|
step: number | undefined;
|
|
229
|
+
/**
|
|
230
|
+
* The total number of steps in the quick input rendered in the titlebar.
|
|
231
|
+
*/
|
|
115
232
|
totalSteps: number | undefined;
|
|
233
|
+
/**
|
|
234
|
+
* The buttons displayed in the quick input titlebar.
|
|
235
|
+
*/
|
|
116
236
|
buttons: ReadonlyArray<IQuickInputButton>;
|
|
237
|
+
/**
|
|
238
|
+
* An event that is fired when a button in the quick input is triggered.
|
|
239
|
+
*/
|
|
117
240
|
readonly onDidTriggerButton: Event<IQuickInputButton>;
|
|
241
|
+
/**
|
|
242
|
+
* Indicates whether the input is enabled.
|
|
243
|
+
*/
|
|
118
244
|
enabled: boolean;
|
|
245
|
+
/**
|
|
246
|
+
* The context key associated with the quick input.
|
|
247
|
+
*/
|
|
119
248
|
contextKey: string | undefined;
|
|
249
|
+
/**
|
|
250
|
+
* Indicates whether the quick input is busy. Renders a progress bar if true.
|
|
251
|
+
*/
|
|
120
252
|
busy: boolean;
|
|
253
|
+
/**
|
|
254
|
+
* Indicates whether the quick input should be hidden when it loses focus.
|
|
255
|
+
*/
|
|
121
256
|
ignoreFocusOut: boolean;
|
|
257
|
+
/**
|
|
258
|
+
* Shows the quick input.
|
|
259
|
+
*/
|
|
122
260
|
show(): void;
|
|
261
|
+
/**
|
|
262
|
+
* Hides the quick input.
|
|
263
|
+
*/
|
|
123
264
|
hide(): void;
|
|
265
|
+
/**
|
|
266
|
+
* Notifies that the quick input has been hidden.
|
|
267
|
+
* @param reason The reason why the quick input was hidden.
|
|
268
|
+
*/
|
|
124
269
|
didHide(reason?: QuickInputHideReason): void;
|
|
270
|
+
/**
|
|
271
|
+
* Notifies that the quick input will be hidden.
|
|
272
|
+
* @param reason The reason why the quick input will be hidden.
|
|
273
|
+
*/
|
|
125
274
|
willHide(reason?: QuickInputHideReason): void;
|
|
126
275
|
}
|
|
127
276
|
export interface IQuickWidget extends IQuickInput {
|
|
277
|
+
/**
|
|
278
|
+
* The type of the quick input.
|
|
279
|
+
*/
|
|
128
280
|
readonly type: QuickInputType.QuickWidget;
|
|
281
|
+
/**
|
|
282
|
+
* Should be an HTMLElement (TODO: move this entire file into browser)
|
|
283
|
+
* @override
|
|
284
|
+
*/
|
|
129
285
|
widget: any | undefined;
|
|
130
286
|
}
|
|
131
287
|
export interface IQuickPickWillAcceptEvent {
|
|
288
|
+
/**
|
|
289
|
+
* Allows to disable the default accept handling
|
|
290
|
+
* of the picker. If `veto` is called, the picker
|
|
291
|
+
* will not trigger the `onDidAccept` event.
|
|
292
|
+
*/
|
|
132
293
|
veto(): void;
|
|
133
294
|
}
|
|
134
295
|
export interface IQuickPickDidAcceptEvent {
|
|
296
|
+
/**
|
|
297
|
+
* Signals if the picker item is to be accepted
|
|
298
|
+
* in the background while keeping the picker open.
|
|
299
|
+
*/
|
|
135
300
|
inBackground: boolean;
|
|
136
301
|
}
|
|
302
|
+
/**
|
|
303
|
+
* Represents the activation behavior for items in a quick input. This means which item will be
|
|
304
|
+
* "active" (aka focused).
|
|
305
|
+
*/
|
|
137
306
|
export declare enum ItemActivation {
|
|
307
|
+
/**
|
|
308
|
+
* No item will be active.
|
|
309
|
+
*/
|
|
138
310
|
NONE = 0,
|
|
311
|
+
/**
|
|
312
|
+
* First item will be active.
|
|
313
|
+
*/
|
|
139
314
|
FIRST = 1,
|
|
315
|
+
/**
|
|
316
|
+
* Second item will be active.
|
|
317
|
+
*/
|
|
140
318
|
SECOND = 2,
|
|
319
|
+
/**
|
|
320
|
+
* Last item will be active.
|
|
321
|
+
*/
|
|
141
322
|
LAST = 3
|
|
142
323
|
}
|
|
324
|
+
/**
|
|
325
|
+
* Represents the focus options for a quick pick.
|
|
326
|
+
*/
|
|
143
327
|
export declare enum QuickPickFocus {
|
|
328
|
+
/**
|
|
329
|
+
* Focus the first item in the list.
|
|
330
|
+
*/
|
|
144
331
|
First = 1,
|
|
332
|
+
/**
|
|
333
|
+
* Focus the second item in the list.
|
|
334
|
+
*/
|
|
145
335
|
Second = 2,
|
|
336
|
+
/**
|
|
337
|
+
* Focus the last item in the list.
|
|
338
|
+
*/
|
|
146
339
|
Last = 3,
|
|
340
|
+
/**
|
|
341
|
+
* Focus the next item in the list.
|
|
342
|
+
*/
|
|
147
343
|
Next = 4,
|
|
344
|
+
/**
|
|
345
|
+
* Focus the previous item in the list.
|
|
346
|
+
*/
|
|
148
347
|
Previous = 5,
|
|
348
|
+
/**
|
|
349
|
+
* Focus the next page in the list.
|
|
350
|
+
*/
|
|
149
351
|
NextPage = 6,
|
|
352
|
+
/**
|
|
353
|
+
* Focus the previous page in the list.
|
|
354
|
+
*/
|
|
150
355
|
PreviousPage = 7,
|
|
356
|
+
/**
|
|
357
|
+
* Focus the first item under the next separator.
|
|
358
|
+
*/
|
|
151
359
|
NextSeparator = 8,
|
|
360
|
+
/**
|
|
361
|
+
* Focus the first item under the current separator.
|
|
362
|
+
*/
|
|
152
363
|
PreviousSeparator = 9
|
|
153
364
|
}
|
|
365
|
+
/**
|
|
366
|
+
* Represents a quick pick control that allows the user to select an item from a list of options.
|
|
367
|
+
*/
|
|
154
368
|
export interface IQuickPick<T extends IQuickPickItem, O extends {
|
|
155
369
|
useSeparators: boolean;
|
|
156
370
|
} = {
|
|
157
371
|
useSeparators: false;
|
|
158
372
|
}> extends IQuickInput {
|
|
373
|
+
/**
|
|
374
|
+
* The type of the quick input.
|
|
375
|
+
*/
|
|
159
376
|
readonly type: QuickInputType.QuickPick;
|
|
377
|
+
/**
|
|
378
|
+
* The current value of the quick pick input.
|
|
379
|
+
*/
|
|
160
380
|
value: string;
|
|
381
|
+
/**
|
|
382
|
+
* A method that allows to massage the value used for filtering, e.g, to remove certain parts.
|
|
383
|
+
* @param value The value to be filtered.
|
|
384
|
+
* @returns The filtered value.
|
|
385
|
+
*/
|
|
161
386
|
filterValue: (value: string) => string;
|
|
387
|
+
/**
|
|
388
|
+
* The ARIA label for the quick pick input.
|
|
389
|
+
*/
|
|
162
390
|
ariaLabel: string | undefined;
|
|
391
|
+
/**
|
|
392
|
+
* The placeholder text for the quick pick input.
|
|
393
|
+
*/
|
|
163
394
|
placeholder: string | undefined;
|
|
395
|
+
/**
|
|
396
|
+
* An event that is fired when the value of the quick pick input changes.
|
|
397
|
+
*/
|
|
164
398
|
readonly onDidChangeValue: Event<string>;
|
|
399
|
+
/**
|
|
400
|
+
* An event that is fired when the quick pick is about to accept the selected item.
|
|
401
|
+
*/
|
|
165
402
|
readonly onWillAccept: Event<IQuickPickWillAcceptEvent>;
|
|
403
|
+
/**
|
|
404
|
+
* An event that is fired when the quick pick has accepted the selected item.
|
|
405
|
+
*/
|
|
166
406
|
readonly onDidAccept: Event<IQuickPickDidAcceptEvent>;
|
|
407
|
+
/**
|
|
408
|
+
* If enabled, the `onDidAccept` event will be fired when pressing the arrow-right key to accept the selected item without closing the picker.
|
|
409
|
+
*/
|
|
167
410
|
canAcceptInBackground: boolean;
|
|
411
|
+
/**
|
|
412
|
+
* The OK button state. It can be a boolean value or the string 'default'.
|
|
413
|
+
*/
|
|
168
414
|
ok: boolean | "default";
|
|
415
|
+
/**
|
|
416
|
+
* The OK button label.
|
|
417
|
+
*/
|
|
169
418
|
okLabel: string | undefined;
|
|
419
|
+
/**
|
|
420
|
+
* An event that is fired when the custom button is triggered. The custom button is a button with text rendered to the right of the input.
|
|
421
|
+
*/
|
|
170
422
|
readonly onDidCustom: Event<void>;
|
|
423
|
+
/**
|
|
424
|
+
* Whether to show the custom button. The custom button is a button with text rendered to the right of the input.
|
|
425
|
+
*/
|
|
171
426
|
customButton: boolean;
|
|
427
|
+
/**
|
|
428
|
+
* The label for the custom button. The custom button is a button with text rendered to the right of the input.
|
|
429
|
+
*/
|
|
172
430
|
customLabel: string | undefined;
|
|
431
|
+
/**
|
|
432
|
+
* The hover text for the custom button. The custom button is a button with text rendered to the right of the input.
|
|
433
|
+
*/
|
|
173
434
|
customHover: string | undefined;
|
|
435
|
+
/**
|
|
436
|
+
* An event that is fired when an item button is triggered.
|
|
437
|
+
*/
|
|
174
438
|
readonly onDidTriggerItemButton: Event<IQuickPickItemButtonEvent<T>>;
|
|
439
|
+
/**
|
|
440
|
+
* An event that is fired when a separator button is triggered.
|
|
441
|
+
*/
|
|
175
442
|
readonly onDidTriggerSeparatorButton: Event<IQuickPickSeparatorButtonEvent>;
|
|
443
|
+
/**
|
|
444
|
+
* The items to be displayed in the quick pick.
|
|
445
|
+
*/
|
|
176
446
|
items: O extends {
|
|
177
447
|
useSeparators: true;
|
|
178
448
|
} ? ReadonlyArray<T | IQuickPickSeparator> : ReadonlyArray<T>;
|
|
449
|
+
/**
|
|
450
|
+
* Whether multiple items can be selected. If so, checkboxes will be rendered.
|
|
451
|
+
*/
|
|
179
452
|
canSelectMany: boolean;
|
|
453
|
+
/**
|
|
454
|
+
* Whether to match on the description of the items.
|
|
455
|
+
*/
|
|
180
456
|
matchOnDescription: boolean;
|
|
457
|
+
/**
|
|
458
|
+
* Whether to match on the detail of the items.
|
|
459
|
+
*/
|
|
181
460
|
matchOnDetail: boolean;
|
|
461
|
+
/**
|
|
462
|
+
* Whether to match on the label of the items.
|
|
463
|
+
*/
|
|
182
464
|
matchOnLabel: boolean;
|
|
465
|
+
/**
|
|
466
|
+
* The mode to filter the label with. It can be 'fuzzy' or 'contiguous'. Defaults to 'fuzzy'.
|
|
467
|
+
*/
|
|
183
468
|
matchOnLabelMode: "fuzzy" | "contiguous";
|
|
469
|
+
/**
|
|
470
|
+
* Whether to sort the items by label.
|
|
471
|
+
*/
|
|
184
472
|
sortByLabel: boolean;
|
|
473
|
+
/**
|
|
474
|
+
* Whether to keep the scroll position when the quick pick input is updated.
|
|
475
|
+
*/
|
|
185
476
|
keepScrollPosition: boolean;
|
|
477
|
+
/**
|
|
478
|
+
* The configuration for quick navigation.
|
|
479
|
+
*/
|
|
186
480
|
quickNavigate: IQuickNavigateConfiguration | undefined;
|
|
481
|
+
/**
|
|
482
|
+
* The currently active items.
|
|
483
|
+
*/
|
|
187
484
|
activeItems: ReadonlyArray<T>;
|
|
485
|
+
/**
|
|
486
|
+
* An event that is fired when the active items change.
|
|
487
|
+
*/
|
|
188
488
|
readonly onDidChangeActive: Event<T[]>;
|
|
489
|
+
/**
|
|
490
|
+
* The item activation behavior for the next time `items` is set. Item activation means which
|
|
491
|
+
* item is "active" (aka focused) when the quick pick is opened or when `items` is set.
|
|
492
|
+
*/
|
|
189
493
|
itemActivation: ItemActivation;
|
|
494
|
+
/**
|
|
495
|
+
* The currently selected items.
|
|
496
|
+
*/
|
|
190
497
|
selectedItems: ReadonlyArray<T>;
|
|
498
|
+
/**
|
|
499
|
+
* An event that is fired when the selected items change.
|
|
500
|
+
*/
|
|
191
501
|
readonly onDidChangeSelection: Event<T[]>;
|
|
502
|
+
/**
|
|
503
|
+
* The key modifiers.
|
|
504
|
+
*/
|
|
192
505
|
readonly keyMods: IKeyMods;
|
|
506
|
+
/**
|
|
507
|
+
* The selection range for the value in the input.
|
|
508
|
+
*/
|
|
193
509
|
valueSelection: Readonly<[
|
|
194
510
|
number,
|
|
195
511
|
number
|
|
196
512
|
]> | undefined;
|
|
513
|
+
/**
|
|
514
|
+
* The validation message for the quick pick. This is rendered below the input.
|
|
515
|
+
*/
|
|
197
516
|
validationMessage: string | undefined;
|
|
517
|
+
/**
|
|
518
|
+
* The severity of the validation message.
|
|
519
|
+
*/
|
|
198
520
|
severity: Severity;
|
|
521
|
+
/**
|
|
522
|
+
* Checks if the quick pick input has focus.
|
|
523
|
+
* @returns `true` if the quick pick input has focus, `false` otherwise.
|
|
524
|
+
*/
|
|
199
525
|
inputHasFocus(): boolean;
|
|
526
|
+
/**
|
|
527
|
+
* Focuses on the quick pick input.
|
|
528
|
+
*/
|
|
200
529
|
focusOnInput(): void;
|
|
530
|
+
/**
|
|
531
|
+
* Hides the input box from the picker UI. This is typically used in combination with quick-navigation where no search UI should be presented.
|
|
532
|
+
*/
|
|
201
533
|
hideInput: boolean;
|
|
534
|
+
/**
|
|
535
|
+
* Controls whether the count for the items should be shown.
|
|
536
|
+
*/
|
|
202
537
|
hideCountBadge: boolean;
|
|
538
|
+
/**
|
|
539
|
+
* Whether to hide the "Check All" checkbox.
|
|
540
|
+
*/
|
|
203
541
|
hideCheckAll: boolean;
|
|
542
|
+
/**
|
|
543
|
+
* The toggle buttons to be added to the input box.
|
|
544
|
+
*/
|
|
204
545
|
toggles: IQuickInputToggle[] | undefined;
|
|
546
|
+
/**
|
|
547
|
+
* Focus a particular item in the list. Used internally for keyboard navigation.
|
|
548
|
+
* @param focus The focus behavior.
|
|
549
|
+
*/
|
|
205
550
|
focus(focus: QuickPickFocus): void;
|
|
551
|
+
/**
|
|
552
|
+
* Programmatically accepts an item. Used internally for keyboard navigation.
|
|
553
|
+
* @param inBackground Whether you are accepting an item in the background and keeping the picker open.
|
|
554
|
+
*/
|
|
206
555
|
accept(inBackground?: boolean): void;
|
|
207
556
|
}
|
|
557
|
+
/**
|
|
558
|
+
* Represents a toggle for quick input.
|
|
559
|
+
*/
|
|
208
560
|
export interface IQuickInputToggle {
|
|
561
|
+
/**
|
|
562
|
+
* Event that is fired when the toggle value changes.
|
|
563
|
+
* The boolean value indicates whether the change was triggered via keyboard.
|
|
564
|
+
*/
|
|
209
565
|
onChange: Event<boolean>;
|
|
210
566
|
}
|
|
567
|
+
/**
|
|
568
|
+
* Represents an input box in a quick input dialog.
|
|
569
|
+
*/
|
|
211
570
|
export interface IInputBox extends IQuickInput {
|
|
571
|
+
/**
|
|
572
|
+
* The type of the quick input.
|
|
573
|
+
*/
|
|
212
574
|
readonly type: QuickInputType.InputBox;
|
|
575
|
+
/**
|
|
576
|
+
* Value shown in the input box.
|
|
577
|
+
*/
|
|
213
578
|
value: string;
|
|
579
|
+
/**
|
|
580
|
+
* Provide start and end values to be selected in the input box.
|
|
581
|
+
*/
|
|
214
582
|
valueSelection: Readonly<[
|
|
215
583
|
number,
|
|
216
584
|
number
|
|
217
585
|
]> | undefined;
|
|
586
|
+
/**
|
|
587
|
+
* Value shown as example for input.
|
|
588
|
+
*/
|
|
218
589
|
placeholder: string | undefined;
|
|
590
|
+
/**
|
|
591
|
+
* Determines if the input value should be hidden while typing.
|
|
592
|
+
*/
|
|
219
593
|
password: boolean;
|
|
594
|
+
/**
|
|
595
|
+
* Event called when the input value changes.
|
|
596
|
+
*/
|
|
220
597
|
readonly onDidChangeValue: Event<string>;
|
|
598
|
+
/**
|
|
599
|
+
* Event called when the user submits the input.
|
|
600
|
+
*/
|
|
221
601
|
readonly onDidAccept: Event<void>;
|
|
602
|
+
/**
|
|
603
|
+
* Text show below the input box.
|
|
604
|
+
*/
|
|
222
605
|
prompt: string | undefined;
|
|
606
|
+
/**
|
|
607
|
+
* An optional validation message indicating a problem with the current input value.
|
|
608
|
+
* Returning undefined clears the validation message.
|
|
609
|
+
*/
|
|
223
610
|
validationMessage: string | undefined;
|
|
611
|
+
/**
|
|
612
|
+
* Severity of the input validation message.
|
|
613
|
+
*/
|
|
224
614
|
severity: Severity;
|
|
225
615
|
}
|
|
226
616
|
export declare enum QuickInputButtonLocation {
|
|
617
|
+
/**
|
|
618
|
+
* In the title bar.
|
|
619
|
+
*/
|
|
227
620
|
Title = 1,
|
|
621
|
+
/**
|
|
622
|
+
* To the right of the input box.
|
|
623
|
+
*/
|
|
228
624
|
Inline = 2
|
|
229
625
|
}
|
|
626
|
+
/**
|
|
627
|
+
* Represents a button in the quick input UI.
|
|
628
|
+
*/
|
|
230
629
|
export interface IQuickInputButton {
|
|
630
|
+
/**
|
|
631
|
+
* The path to the icon for the button.
|
|
632
|
+
* Either `iconPath` or `iconClass` is required.
|
|
633
|
+
*/
|
|
231
634
|
iconPath?: {
|
|
232
635
|
dark: URI;
|
|
233
636
|
light?: URI;
|
|
234
637
|
};
|
|
638
|
+
/**
|
|
639
|
+
* The CSS class for the icon of the button.
|
|
640
|
+
* Either `iconPath` or `iconClass` is required.
|
|
641
|
+
*/
|
|
235
642
|
iconClass?: string;
|
|
643
|
+
/**
|
|
644
|
+
* The tooltip text for the button.
|
|
645
|
+
*/
|
|
236
646
|
tooltip?: string;
|
|
647
|
+
/**
|
|
648
|
+
* Whether to always show the button.
|
|
649
|
+
* By default, buttons are only visible when hovering over them with the mouse.
|
|
650
|
+
*/
|
|
237
651
|
alwaysVisible?: boolean;
|
|
652
|
+
/**
|
|
653
|
+
* Where the button should be rendered. The default is {@link QuickInputButtonLocation.Title}.
|
|
654
|
+
* @note This property is ignored if the button was added to a QuickPickItem.
|
|
655
|
+
*/
|
|
238
656
|
location?: QuickInputButtonLocation;
|
|
239
657
|
}
|
|
658
|
+
/**
|
|
659
|
+
* Represents an event that occurs when a button associated with a quick pick item is clicked.
|
|
660
|
+
* @template T - The type of the quick pick item.
|
|
661
|
+
*/
|
|
240
662
|
export interface IQuickPickItemButtonEvent<T extends IQuickPickItem> {
|
|
663
|
+
/**
|
|
664
|
+
* The button that was clicked.
|
|
665
|
+
*/
|
|
241
666
|
button: IQuickInputButton;
|
|
667
|
+
/**
|
|
668
|
+
* The quick pick item associated with the button.
|
|
669
|
+
*/
|
|
242
670
|
item: T;
|
|
243
671
|
}
|
|
672
|
+
/**
|
|
673
|
+
* Represents an event that occurs when a separator button is clicked in a quick pick.
|
|
674
|
+
*/
|
|
244
675
|
export interface IQuickPickSeparatorButtonEvent {
|
|
676
|
+
/**
|
|
677
|
+
* The button that was clicked.
|
|
678
|
+
*/
|
|
245
679
|
button: IQuickInputButton;
|
|
680
|
+
/**
|
|
681
|
+
* The separator associated with the button.
|
|
682
|
+
*/
|
|
246
683
|
separator: IQuickPickSeparator;
|
|
247
684
|
}
|
|
685
|
+
/**
|
|
686
|
+
* Represents a context for a button associated with a quick pick item.
|
|
687
|
+
* @template T - The type of the quick pick item.
|
|
688
|
+
*/
|
|
248
689
|
export interface IQuickPickItemButtonContext<T extends IQuickPickItem> extends IQuickPickItemButtonEvent<T> {
|
|
690
|
+
/**
|
|
691
|
+
* Removes the associated item from the quick pick.
|
|
692
|
+
*/
|
|
249
693
|
removeItem(): void;
|
|
250
694
|
}
|
|
251
695
|
export type QuickPickInput<T = IQuickPickItem> = T | IQuickPickSeparator;
|
|
@@ -264,46 +708,176 @@ export declare class QuickPickItemScorerAccessor implements IItemAccessor<IQuick
|
|
|
264
708
|
}
|
|
265
709
|
export declare const quickPickItemScorerAccessor: QuickPickItemScorerAccessor;
|
|
266
710
|
export type Omit<T, K extends keyof T> = Pick<T, Exclude<keyof T, K>>;
|
|
711
|
+
/**
|
|
712
|
+
* Represents a quick tree control that displays hierarchical data with checkboxes.
|
|
713
|
+
*/
|
|
267
714
|
export interface IQuickTree<T extends IQuickTreeItem> extends IQuickInput {
|
|
715
|
+
/**
|
|
716
|
+
* The type of the quick input.
|
|
717
|
+
*/
|
|
268
718
|
readonly type: QuickInputType.QuickTree;
|
|
719
|
+
/**
|
|
720
|
+
* The current value of the quick tree filter input.
|
|
721
|
+
*/
|
|
269
722
|
value: string;
|
|
723
|
+
/**
|
|
724
|
+
* The ARIA label for the quick tree input.
|
|
725
|
+
*/
|
|
270
726
|
ariaLabel: string | undefined;
|
|
727
|
+
/**
|
|
728
|
+
* The placeholder text for the quick tree filter input.
|
|
729
|
+
*/
|
|
271
730
|
placeholder: string | undefined;
|
|
731
|
+
/**
|
|
732
|
+
* An event that is fired when the filter value changes.
|
|
733
|
+
*/
|
|
272
734
|
readonly onDidChangeValue: Event<string>;
|
|
735
|
+
/**
|
|
736
|
+
* An event that is fired when the quick tree has accepted the selected items.
|
|
737
|
+
*/
|
|
273
738
|
readonly onDidAccept: Event<void>;
|
|
739
|
+
/**
|
|
740
|
+
* Whether to match on the description of the items.
|
|
741
|
+
*/
|
|
274
742
|
matchOnDescription: boolean;
|
|
743
|
+
/**
|
|
744
|
+
* Whether to match on the detail of the items.
|
|
745
|
+
*/
|
|
275
746
|
matchOnDetail: boolean;
|
|
747
|
+
/**
|
|
748
|
+
* Whether to match on the label of the items.
|
|
749
|
+
*/
|
|
276
750
|
matchOnLabel: boolean;
|
|
751
|
+
/**
|
|
752
|
+
* The currently active items.
|
|
753
|
+
*/
|
|
277
754
|
activeItems: ReadonlyArray<T>;
|
|
755
|
+
/**
|
|
756
|
+
* The validation message for the quick pick. This is rendered below the input.
|
|
757
|
+
*/
|
|
278
758
|
validationMessage: string | undefined;
|
|
759
|
+
/**
|
|
760
|
+
* The severity of the validation message.
|
|
761
|
+
*/
|
|
279
762
|
severity: Severity;
|
|
763
|
+
/**
|
|
764
|
+
* The items currently displayed in the quick tree.
|
|
765
|
+
* @note modifications to this array directly will not cause updates.
|
|
766
|
+
*/
|
|
280
767
|
readonly itemTree: ReadonlyArray<Readonly<T>>;
|
|
768
|
+
/**
|
|
769
|
+
* The currently selected leaf items.
|
|
770
|
+
*/
|
|
281
771
|
readonly checkedLeafItems: ReadonlyArray<T>;
|
|
772
|
+
/**
|
|
773
|
+
* Get the parent element of the element passed in
|
|
774
|
+
* @param element
|
|
775
|
+
*/
|
|
282
776
|
getParent(element: T): T | undefined;
|
|
777
|
+
/**
|
|
778
|
+
* An event that is fired when the active items change.
|
|
779
|
+
*/
|
|
283
780
|
readonly onDidChangeActive: Event<ReadonlyArray<T>>;
|
|
781
|
+
/**
|
|
782
|
+
* An event that is fired when the selected items change.
|
|
783
|
+
*/
|
|
284
784
|
readonly onDidChangeCheckedLeafItems: Event<ReadonlyArray<T>>;
|
|
785
|
+
/**
|
|
786
|
+
* An event that is fired when an item button is triggered.
|
|
787
|
+
*/
|
|
285
788
|
readonly onDidTriggerItemButton: Event<IQuickTreeItemButtonEvent<T>>;
|
|
789
|
+
/**
|
|
790
|
+
* Sets the items to be displayed in the quick tree.
|
|
791
|
+
* @param itemTree The items to display.
|
|
792
|
+
*/
|
|
286
793
|
setItemTree(itemTree: T[]): void;
|
|
794
|
+
/**
|
|
795
|
+
* Sets the checkbox state of an item.
|
|
796
|
+
* @param element The item to update.
|
|
797
|
+
* @param checked The new checkbox state.
|
|
798
|
+
*/
|
|
287
799
|
setCheckboxState(element: T, checked: boolean | "partial"): void;
|
|
800
|
+
/**
|
|
801
|
+
* Expands an item.
|
|
802
|
+
* @param element The item to expand.
|
|
803
|
+
*/
|
|
288
804
|
expand(element: T): void;
|
|
805
|
+
/**
|
|
806
|
+
* Collapses an item.
|
|
807
|
+
* @param element The item to collapse.
|
|
808
|
+
*/
|
|
289
809
|
collapse(element: T): void;
|
|
810
|
+
/**
|
|
811
|
+
* Checks if an item is collapsed.
|
|
812
|
+
* @param element The item to check.
|
|
813
|
+
* @returns True if the item is collapsed.
|
|
814
|
+
*/
|
|
290
815
|
isCollapsed(element: T): boolean;
|
|
816
|
+
/**
|
|
817
|
+
* Focuses on the tree input.
|
|
818
|
+
*/
|
|
291
819
|
focusOnInput(): void;
|
|
820
|
+
/**
|
|
821
|
+
* Focus a particular item in the list. Used internally for keyboard navigation.
|
|
822
|
+
* @param focus The focus behavior.
|
|
823
|
+
*/
|
|
292
824
|
focus(focus: QuickPickFocus): void;
|
|
825
|
+
/**
|
|
826
|
+
* Programmatically accepts an item. Used internally for keyboard navigation.
|
|
827
|
+
* @param inBackground Whether you are accepting an item in the background and keeping the picker open.
|
|
828
|
+
*/
|
|
293
829
|
accept(inBackground?: boolean): void;
|
|
294
830
|
}
|
|
831
|
+
/**
|
|
832
|
+
* Represents a tree item in the quick tree.
|
|
833
|
+
*/
|
|
295
834
|
export interface IQuickTreeItem extends IQuickPickItem {
|
|
835
|
+
/**
|
|
836
|
+
* The checked state of the item. Can be true, false, or 'partial' for tri-state.
|
|
837
|
+
* When canSelectMany is false, this is ignored and the item is treated as a single selection.
|
|
838
|
+
* When canSelectMany is true, this indicates the checkbox state of the item.
|
|
839
|
+
* If undefined, the item is unchecked by default.
|
|
840
|
+
*/
|
|
296
841
|
checked?: boolean | "partial";
|
|
842
|
+
/**
|
|
843
|
+
* TODO:@TylerLeonhardt Bring this back.
|
|
844
|
+
*/
|
|
297
845
|
detail?: undefined;
|
|
298
846
|
picked?: undefined;
|
|
847
|
+
/**
|
|
848
|
+
* The collapsible state of the tree item. Defaults to 'Expanded' if children are present.
|
|
849
|
+
*/
|
|
299
850
|
collapsed?: boolean;
|
|
851
|
+
/**
|
|
852
|
+
* The children of this tree item.
|
|
853
|
+
*/
|
|
300
854
|
children?: readonly IQuickTreeItem[];
|
|
301
855
|
}
|
|
856
|
+
/**
|
|
857
|
+
* Represents an event that occurs when the checkbox state of a tree item changes.
|
|
858
|
+
* @template T - The type of the tree item.
|
|
859
|
+
*/
|
|
302
860
|
export interface IQuickTreeCheckboxEvent<T extends IQuickTreeItem> {
|
|
861
|
+
/**
|
|
862
|
+
* The tree item whose checkbox state changed.
|
|
863
|
+
*/
|
|
303
864
|
item: T;
|
|
865
|
+
/**
|
|
866
|
+
* The new checked state.
|
|
867
|
+
*/
|
|
304
868
|
checked: boolean | "partial";
|
|
305
869
|
}
|
|
870
|
+
/**
|
|
871
|
+
* Represents an event that occurs when a button associated with a quick tree item is clicked.
|
|
872
|
+
* @template T - The type of the quick tree item.
|
|
873
|
+
*/
|
|
306
874
|
export interface IQuickTreeItemButtonEvent<T extends IQuickTreeItem> {
|
|
875
|
+
/**
|
|
876
|
+
* The button that was clicked.
|
|
877
|
+
*/
|
|
307
878
|
button: IQuickInputButton;
|
|
879
|
+
/**
|
|
880
|
+
* The quick tree item associated with the button.
|
|
881
|
+
*/
|
|
308
882
|
item: T;
|
|
309
883
|
}
|