@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
|
@@ -5,25 +5,76 @@ import { ILayoutOffsetInfo } from "./layoutService.js";
|
|
|
5
5
|
export declare const ILayoutService: import("../../instantiation/common/instantiation.js").ServiceIdentifier<ILayoutService>;
|
|
6
6
|
export interface ILayoutService {
|
|
7
7
|
readonly _serviceBrand: undefined;
|
|
8
|
+
/**
|
|
9
|
+
* An event that is emitted when the main container is layed out.
|
|
10
|
+
*/
|
|
8
11
|
readonly onDidLayoutMainContainer: Event<IDimension>;
|
|
12
|
+
/**
|
|
13
|
+
* An event that is emitted when any container is layed out.
|
|
14
|
+
*/
|
|
9
15
|
readonly onDidLayoutContainer: Event<{
|
|
10
16
|
readonly container: HTMLElement;
|
|
11
17
|
readonly dimension: IDimension;
|
|
12
18
|
}>;
|
|
19
|
+
/**
|
|
20
|
+
* An event that is emitted when the active container is layed out.
|
|
21
|
+
*/
|
|
13
22
|
readonly onDidLayoutActiveContainer: Event<IDimension>;
|
|
23
|
+
/**
|
|
24
|
+
* An event that is emitted when a new container is added. This
|
|
25
|
+
* can happen in multi-window environments.
|
|
26
|
+
*/
|
|
14
27
|
readonly onDidAddContainer: Event<{
|
|
15
28
|
readonly container: HTMLElement;
|
|
16
29
|
readonly disposables: DisposableStore;
|
|
17
30
|
}>;
|
|
31
|
+
/**
|
|
32
|
+
* An event that is emitted when the active container changes.
|
|
33
|
+
*/
|
|
18
34
|
readonly onDidChangeActiveContainer: Event<void>;
|
|
35
|
+
/**
|
|
36
|
+
* The dimensions of the main container.
|
|
37
|
+
*/
|
|
19
38
|
readonly mainContainerDimension: IDimension;
|
|
39
|
+
/**
|
|
40
|
+
* The dimensions of the active container.
|
|
41
|
+
*/
|
|
20
42
|
readonly activeContainerDimension: IDimension;
|
|
43
|
+
/**
|
|
44
|
+
* Main container of the application.
|
|
45
|
+
*/
|
|
21
46
|
readonly mainContainer: HTMLElement;
|
|
47
|
+
/**
|
|
48
|
+
* Active container of the application. When multiple windows are opened, will return
|
|
49
|
+
* the container of the active, focused window.
|
|
50
|
+
*/
|
|
22
51
|
readonly activeContainer: HTMLElement;
|
|
52
|
+
/**
|
|
53
|
+
* All the containers of the application. There can be one container per window.
|
|
54
|
+
*/
|
|
23
55
|
readonly containers: Iterable<HTMLElement>;
|
|
56
|
+
/**
|
|
57
|
+
* Get the container for the given window.
|
|
58
|
+
*/
|
|
24
59
|
getContainer(window: Window): HTMLElement;
|
|
60
|
+
/**
|
|
61
|
+
* Ensures that the styles for the container associated
|
|
62
|
+
* to the window have loaded. For the main window, this
|
|
63
|
+
* will resolve instantly, but for floating windows, this
|
|
64
|
+
* will resolve once the styles have been loaded and helps
|
|
65
|
+
* for when certain layout assumptions are made.
|
|
66
|
+
*/
|
|
25
67
|
whenContainerStylesLoaded(window: Window): Promise<void> | undefined;
|
|
68
|
+
/**
|
|
69
|
+
* An offset to use for positioning elements inside the main container.
|
|
70
|
+
*/
|
|
26
71
|
readonly mainContainerOffset: ILayoutOffsetInfo;
|
|
72
|
+
/**
|
|
73
|
+
* An offset to use for positioning elements inside the container.
|
|
74
|
+
*/
|
|
27
75
|
readonly activeContainerOffset: ILayoutOffsetInfo;
|
|
76
|
+
/**
|
|
77
|
+
* Focus the primary component of the active container.
|
|
78
|
+
*/
|
|
28
79
|
focus(): void;
|
|
29
80
|
}
|
|
@@ -2,5 +2,8 @@ import { WorkbenchListWidget } from "./listService.js";
|
|
|
2
2
|
export declare const IListService: import("../../instantiation/common/instantiation.js").ServiceIdentifier<IListService>;
|
|
3
3
|
export interface IListService {
|
|
4
4
|
readonly _serviceBrand: undefined;
|
|
5
|
+
/**
|
|
6
|
+
* Returns the currently focused list widget if any.
|
|
7
|
+
*/
|
|
5
8
|
readonly lastFocusedList: WorkbenchListWidget | undefined;
|
|
6
9
|
}
|
|
@@ -24,6 +24,9 @@ export interface ILogger extends IDisposable {
|
|
|
24
24
|
info(message: string, ...args: any[]): void;
|
|
25
25
|
warn(message: string, ...args: any[]): void;
|
|
26
26
|
error(message: string | Error, ...args: any[]): void;
|
|
27
|
+
/**
|
|
28
|
+
* An operation to flush the contents. Can be synchronous.
|
|
29
|
+
*/
|
|
27
30
|
flush(): void;
|
|
28
31
|
}
|
|
29
32
|
export declare function canLog(loggerLevel: LogLevel, messageLevel: LogLevel): boolean;
|
|
@@ -33,14 +36,41 @@ export type LoggerGroup = {
|
|
|
33
36
|
readonly name: string;
|
|
34
37
|
};
|
|
35
38
|
export interface ILoggerOptions {
|
|
39
|
+
/**
|
|
40
|
+
* Id of the logger.
|
|
41
|
+
*/
|
|
36
42
|
id?: string;
|
|
43
|
+
/**
|
|
44
|
+
* Name of the logger.
|
|
45
|
+
*/
|
|
37
46
|
name?: string;
|
|
47
|
+
/**
|
|
48
|
+
* Do not create rotating files if max size exceeds.
|
|
49
|
+
*/
|
|
38
50
|
donotRotate?: boolean;
|
|
51
|
+
/**
|
|
52
|
+
* Do not use formatters.
|
|
53
|
+
*/
|
|
39
54
|
donotUseFormatters?: boolean;
|
|
55
|
+
/**
|
|
56
|
+
* When to log. Set to `always` to log always.
|
|
57
|
+
*/
|
|
40
58
|
logLevel?: "always" | LogLevel;
|
|
59
|
+
/**
|
|
60
|
+
* Whether the log should be hidden from the user.
|
|
61
|
+
*/
|
|
41
62
|
hidden?: boolean;
|
|
63
|
+
/**
|
|
64
|
+
* Condition which must be true to show this logger
|
|
65
|
+
*/
|
|
42
66
|
when?: string;
|
|
67
|
+
/**
|
|
68
|
+
* Id of the extension that created this logger.
|
|
69
|
+
*/
|
|
43
70
|
extensionId?: string;
|
|
71
|
+
/**
|
|
72
|
+
* Group of the logger.
|
|
73
|
+
*/
|
|
44
74
|
group?: LoggerGroup;
|
|
45
75
|
}
|
|
46
76
|
export interface ILoggerResource {
|
|
@@ -8,24 +8,76 @@ export interface ILogService extends ILogger {
|
|
|
8
8
|
export declare const ILoggerService: import("../../instantiation/common/instantiation.js").ServiceIdentifier<ILoggerService>;
|
|
9
9
|
export interface ILoggerService {
|
|
10
10
|
readonly _serviceBrand: undefined;
|
|
11
|
+
/**
|
|
12
|
+
* Creates a logger for the given resource, or gets one if it already exists.
|
|
13
|
+
*
|
|
14
|
+
* This will also register the logger with the logger service.
|
|
15
|
+
*/
|
|
11
16
|
createLogger(resource: URI, options?: ILoggerOptions): ILogger;
|
|
17
|
+
/**
|
|
18
|
+
* Creates a logger with the given id in the logs folder, or gets one if it already exists.
|
|
19
|
+
*
|
|
20
|
+
* This will also register the logger with the logger service.
|
|
21
|
+
*/
|
|
12
22
|
createLogger(id: string, options?: Omit<ILoggerOptions, "id">): ILogger;
|
|
23
|
+
/**
|
|
24
|
+
* Gets an existing logger, if any.
|
|
25
|
+
*/
|
|
13
26
|
getLogger(resourceOrId: URI | string): ILogger | undefined;
|
|
27
|
+
/**
|
|
28
|
+
* An event which fires when the log level of a logger has changed
|
|
29
|
+
*/
|
|
14
30
|
readonly onDidChangeLogLevel: Event<LogLevel | [
|
|
15
31
|
URI,
|
|
16
32
|
LogLevel
|
|
17
33
|
]>;
|
|
34
|
+
/**
|
|
35
|
+
* Set default log level.
|
|
36
|
+
*/
|
|
18
37
|
setLogLevel(level: LogLevel): void;
|
|
38
|
+
/**
|
|
39
|
+
* Set log level for a logger.
|
|
40
|
+
*/
|
|
19
41
|
setLogLevel(resource: URI, level: LogLevel): void;
|
|
42
|
+
/**
|
|
43
|
+
* Get log level for a logger or the default log level.
|
|
44
|
+
*/
|
|
20
45
|
getLogLevel(resource?: URI): LogLevel;
|
|
46
|
+
/**
|
|
47
|
+
* An event which fires when the visibility of a logger has changed
|
|
48
|
+
*/
|
|
21
49
|
readonly onDidChangeVisibility: Event<[
|
|
22
50
|
URI,
|
|
23
51
|
boolean
|
|
24
52
|
]>;
|
|
53
|
+
/**
|
|
54
|
+
* Set the visibility of a logger.
|
|
55
|
+
*/
|
|
25
56
|
setVisibility(resourceOrId: URI | string, visible: boolean): void;
|
|
57
|
+
/**
|
|
58
|
+
* An event which fires when the logger resources are changed
|
|
59
|
+
*/
|
|
26
60
|
readonly onDidChangeLoggers: Event<DidChangeLoggersEvent>;
|
|
61
|
+
/**
|
|
62
|
+
* Register a logger with the logger service.
|
|
63
|
+
*
|
|
64
|
+
* Note that this will not create a logger, but only register it.
|
|
65
|
+
*
|
|
66
|
+
* Use `createLogger` to create a logger and register it.
|
|
67
|
+
*
|
|
68
|
+
* Use it when you want to register a logger that is not created by the logger service.
|
|
69
|
+
*/
|
|
27
70
|
registerLogger(resource: ILoggerResource): void;
|
|
71
|
+
/**
|
|
72
|
+
* Deregister the logger for the given resource.
|
|
73
|
+
*/
|
|
28
74
|
deregisterLogger(idOrResource: URI | string): void;
|
|
75
|
+
/**
|
|
76
|
+
* Get all registered loggers
|
|
77
|
+
*/
|
|
29
78
|
getRegisteredLoggers(): Iterable<ILoggerResource>;
|
|
79
|
+
/**
|
|
80
|
+
* Get the registered logger for the given resource.
|
|
81
|
+
*/
|
|
30
82
|
getRegisteredLogger(resource: URI): ILoggerResource | undefined;
|
|
31
83
|
}
|
|
@@ -17,6 +17,9 @@ export declare class MarkerService implements IMarkerService {
|
|
|
17
17
|
installResourceFilter(resource: URI, reason: string): IDisposable;
|
|
18
18
|
private static _toMarker;
|
|
19
19
|
changeAll(owner: string, data: IResourceMarker[]): void;
|
|
20
|
+
/**
|
|
21
|
+
* Creates an information marker for filtered resources
|
|
22
|
+
*/
|
|
20
23
|
private _createFilteredMarker;
|
|
21
24
|
read(filter?: IMarkerReadOptions): IMarker[];
|
|
22
25
|
private static _accept;
|
|
@@ -7,6 +7,9 @@ export interface IMarkerReadOptions {
|
|
|
7
7
|
take?: number;
|
|
8
8
|
ignoreResourceFilters?: boolean;
|
|
9
9
|
}
|
|
10
|
+
/**
|
|
11
|
+
*
|
|
12
|
+
*/
|
|
10
13
|
export interface IRelatedInformation {
|
|
11
14
|
resource: URI;
|
|
12
15
|
message: string;
|
|
@@ -32,6 +35,9 @@ export declare namespace MarkerSeverity {
|
|
|
32
35
|
function fromSeverity(severity: Severity): MarkerSeverity;
|
|
33
36
|
function toSeverity(severity: MarkerSeverity): Severity;
|
|
34
37
|
}
|
|
38
|
+
/**
|
|
39
|
+
* A structure defining a problem/warning/etc.
|
|
40
|
+
*/
|
|
35
41
|
export interface IMarkerData {
|
|
36
42
|
code?: string | {
|
|
37
43
|
value: string;
|
|
@@ -4,87 +4,272 @@ import Severity from "../../../base/common/severity.js";
|
|
|
4
4
|
export { Severity };
|
|
5
5
|
export type NotificationMessage = string | Error;
|
|
6
6
|
export declare enum NotificationPriority {
|
|
7
|
+
/**
|
|
8
|
+
* Default priority: notification will be visible unless do not disturb mode is enabled.
|
|
9
|
+
*/
|
|
7
10
|
DEFAULT = 0,
|
|
11
|
+
/**
|
|
12
|
+
* Optional priority: notification might only be visible from the notifications center.
|
|
13
|
+
*/
|
|
8
14
|
OPTIONAL = 1,
|
|
15
|
+
/**
|
|
16
|
+
* Silent priority: notification will only be visible from the notifications center.
|
|
17
|
+
*/
|
|
9
18
|
SILENT = 2,
|
|
19
|
+
/**
|
|
20
|
+
* Urgent priority: notification will be visible even when do not disturb mode is enabled.
|
|
21
|
+
*/
|
|
10
22
|
URGENT = 3
|
|
11
23
|
}
|
|
12
24
|
export interface INotificationProperties {
|
|
25
|
+
/**
|
|
26
|
+
* Sticky notifications are not automatically removed after a certain timeout.
|
|
27
|
+
*
|
|
28
|
+
* Currently, only 2 kinds of notifications are sticky:
|
|
29
|
+
* - Error notifications with primary actions
|
|
30
|
+
* - Notifications that show progress
|
|
31
|
+
*/
|
|
13
32
|
readonly sticky?: boolean;
|
|
33
|
+
/**
|
|
34
|
+
* Allows to override the priority of the notification based on needs.
|
|
35
|
+
*/
|
|
14
36
|
readonly priority?: NotificationPriority;
|
|
37
|
+
/**
|
|
38
|
+
* Adds an action to never show the notification again. The choice will be persisted
|
|
39
|
+
* such as future requests will not cause the notification to show again.
|
|
40
|
+
*/
|
|
15
41
|
readonly neverShowAgain?: INeverShowAgainOptions;
|
|
16
42
|
}
|
|
17
43
|
export declare enum NeverShowAgainScope {
|
|
44
|
+
/**
|
|
45
|
+
* Will never show this notification on the current workspace again.
|
|
46
|
+
*/
|
|
18
47
|
WORKSPACE = 0,
|
|
48
|
+
/**
|
|
49
|
+
* Will never show this notification on any workspace of the same
|
|
50
|
+
* profile again.
|
|
51
|
+
*/
|
|
19
52
|
PROFILE = 1,
|
|
53
|
+
/**
|
|
54
|
+
* Will never show this notification on any workspace across all
|
|
55
|
+
* profiles again.
|
|
56
|
+
*/
|
|
20
57
|
APPLICATION = 2
|
|
21
58
|
}
|
|
22
59
|
export interface INeverShowAgainOptions {
|
|
60
|
+
/**
|
|
61
|
+
* The id is used to persist the selection of not showing the notification again.
|
|
62
|
+
*/
|
|
23
63
|
readonly id: string;
|
|
64
|
+
/**
|
|
65
|
+
* By default the action will show up as primary action. Setting this to true will
|
|
66
|
+
* make it a secondary action instead.
|
|
67
|
+
*/
|
|
24
68
|
readonly isSecondary?: boolean;
|
|
69
|
+
/**
|
|
70
|
+
* Whether to persist the choice in the current workspace or for all workspaces. By
|
|
71
|
+
* default it will be persisted for all workspaces across all profiles
|
|
72
|
+
* (= `NeverShowAgainScope.APPLICATION`).
|
|
73
|
+
*/
|
|
25
74
|
readonly scope?: NeverShowAgainScope;
|
|
26
75
|
}
|
|
27
76
|
export interface INotificationSource {
|
|
77
|
+
/**
|
|
78
|
+
* The id of the source.
|
|
79
|
+
*/
|
|
28
80
|
readonly id: string;
|
|
81
|
+
/**
|
|
82
|
+
* The label of the source.
|
|
83
|
+
*/
|
|
29
84
|
readonly label: string;
|
|
30
85
|
}
|
|
31
86
|
export declare function isNotificationSource(thing: unknown): thing is INotificationSource;
|
|
32
87
|
export interface INotification extends INotificationProperties {
|
|
88
|
+
/**
|
|
89
|
+
* The id of the notification. If provided, will be used to compare
|
|
90
|
+
* notifications with others to decide whether a notification is
|
|
91
|
+
* duplicate or not.
|
|
92
|
+
*/
|
|
33
93
|
readonly id?: string;
|
|
94
|
+
/**
|
|
95
|
+
* The severity of the notification. Either `Info`, `Warning` or `Error`.
|
|
96
|
+
*/
|
|
34
97
|
readonly severity: Severity;
|
|
98
|
+
/**
|
|
99
|
+
* The message of the notification. This can either be a `string` or `Error`. Messages
|
|
100
|
+
* can optionally include links in the format: `[text](link)`
|
|
101
|
+
*/
|
|
35
102
|
readonly message: NotificationMessage;
|
|
103
|
+
/**
|
|
104
|
+
* The source of the notification appears as additional information.
|
|
105
|
+
*/
|
|
36
106
|
readonly source?: string | INotificationSource;
|
|
107
|
+
/**
|
|
108
|
+
* Actions to show as part of the notification. Primary actions show up as
|
|
109
|
+
* buttons as part of the message and will close the notification once clicked.
|
|
110
|
+
*
|
|
111
|
+
* Secondary actions are meant to provide additional configuration or context
|
|
112
|
+
* for the notification and will show up less prominent. A notification does not
|
|
113
|
+
* close automatically when invoking a secondary action.
|
|
114
|
+
*
|
|
115
|
+
* **Note:** If your intent is to show a message with actions to the user, consider
|
|
116
|
+
* the `INotificationService.prompt()` method instead which are optimized for
|
|
117
|
+
* this usecase and much easier to use!
|
|
118
|
+
*/
|
|
37
119
|
actions?: INotificationActions;
|
|
120
|
+
/**
|
|
121
|
+
* The initial set of progress properties for the notification. To update progress
|
|
122
|
+
* later on, access the `INotificationHandle.progress` property.
|
|
123
|
+
*/
|
|
38
124
|
readonly progress?: INotificationProgressProperties;
|
|
39
125
|
}
|
|
40
126
|
export interface INotificationActions {
|
|
127
|
+
/**
|
|
128
|
+
* Primary actions show up as buttons as part of the message and will close
|
|
129
|
+
* the notification once clicked.
|
|
130
|
+
*
|
|
131
|
+
* Pass `ActionWithMenuAction` for an action that has additional menu actions.
|
|
132
|
+
*/
|
|
41
133
|
readonly primary?: readonly IAction[];
|
|
134
|
+
/**
|
|
135
|
+
* Secondary actions are meant to provide additional configuration or context
|
|
136
|
+
* for the notification and will show up less prominent. A notification does not
|
|
137
|
+
* close automatically when invoking a secondary action.
|
|
138
|
+
*/
|
|
42
139
|
readonly secondary?: readonly IAction[];
|
|
43
140
|
}
|
|
44
141
|
export interface INotificationProgressProperties {
|
|
142
|
+
/**
|
|
143
|
+
* Causes the progress bar to spin infinitley.
|
|
144
|
+
*/
|
|
45
145
|
readonly infinite?: boolean;
|
|
146
|
+
/**
|
|
147
|
+
* Indicate the total amount of work.
|
|
148
|
+
*/
|
|
46
149
|
readonly total?: number;
|
|
150
|
+
/**
|
|
151
|
+
* Indicate that a specific chunk of work is done.
|
|
152
|
+
*/
|
|
47
153
|
readonly worked?: number;
|
|
48
154
|
}
|
|
49
155
|
export interface INotificationProgress {
|
|
156
|
+
/**
|
|
157
|
+
* Causes the progress bar to spin infinitley.
|
|
158
|
+
*/
|
|
50
159
|
infinite(): void;
|
|
160
|
+
/**
|
|
161
|
+
* Indicate the total amount of work.
|
|
162
|
+
*/
|
|
51
163
|
total(value: number): void;
|
|
164
|
+
/**
|
|
165
|
+
* Indicate that a specific chunk of work is done.
|
|
166
|
+
*/
|
|
52
167
|
worked(value: number): void;
|
|
168
|
+
/**
|
|
169
|
+
* Indicate that the long running operation is done.
|
|
170
|
+
*/
|
|
53
171
|
done(): void;
|
|
54
172
|
}
|
|
55
173
|
export interface INotificationHandle {
|
|
174
|
+
/**
|
|
175
|
+
* Will be fired once the notification is closed.
|
|
176
|
+
*/
|
|
56
177
|
readonly onDidClose: Event<void>;
|
|
178
|
+
/**
|
|
179
|
+
* Will be fired whenever the visibility of the notification changes.
|
|
180
|
+
* A notification can either be visible as toast or inside the notification
|
|
181
|
+
* center if it is visible.
|
|
182
|
+
*/
|
|
57
183
|
readonly onDidChangeVisibility: Event<boolean>;
|
|
184
|
+
/**
|
|
185
|
+
* Allows to indicate progress on the notification even after the
|
|
186
|
+
* notification is already visible.
|
|
187
|
+
*/
|
|
58
188
|
readonly progress: INotificationProgress;
|
|
189
|
+
/**
|
|
190
|
+
* Allows to update the severity of the notification.
|
|
191
|
+
*/
|
|
59
192
|
updateSeverity(severity: Severity): void;
|
|
193
|
+
/**
|
|
194
|
+
* Allows to update the message of the notification even after the
|
|
195
|
+
* notification is already visible.
|
|
196
|
+
*/
|
|
60
197
|
updateMessage(message: NotificationMessage): void;
|
|
198
|
+
/**
|
|
199
|
+
* Allows to update the actions of the notification even after the
|
|
200
|
+
* notification is already visible.
|
|
201
|
+
*/
|
|
61
202
|
updateActions(actions?: INotificationActions): void;
|
|
203
|
+
/**
|
|
204
|
+
* Hide the notification and remove it from the notification center.
|
|
205
|
+
*/
|
|
62
206
|
close(): void;
|
|
63
207
|
}
|
|
64
208
|
export interface IStatusHandle {
|
|
209
|
+
/**
|
|
210
|
+
* Hide the status message.
|
|
211
|
+
*/
|
|
65
212
|
close(): void;
|
|
66
213
|
}
|
|
67
214
|
interface IBasePromptChoice {
|
|
215
|
+
/**
|
|
216
|
+
* Label to show for the choice to the user.
|
|
217
|
+
*/
|
|
68
218
|
readonly label: string;
|
|
219
|
+
/**
|
|
220
|
+
* Whether to keep the notification open after the choice was selected
|
|
221
|
+
* by the user. By default, will close the notification upon click.
|
|
222
|
+
*/
|
|
69
223
|
readonly keepOpen?: boolean;
|
|
224
|
+
/**
|
|
225
|
+
* Triggered when the user selects the choice.
|
|
226
|
+
*/
|
|
70
227
|
run: () => void;
|
|
71
228
|
}
|
|
72
229
|
export interface IPromptChoice extends IBasePromptChoice {
|
|
230
|
+
/**
|
|
231
|
+
* Primary choices show up as buttons in the notification below the message.
|
|
232
|
+
* Secondary choices show up under the gear icon in the header of the notification.
|
|
233
|
+
*/
|
|
73
234
|
readonly isSecondary?: boolean;
|
|
74
235
|
}
|
|
75
236
|
export interface IPromptChoiceWithMenu extends IPromptChoice {
|
|
237
|
+
/**
|
|
238
|
+
* Additional choices those will be shown in the dropdown menu for this choice.
|
|
239
|
+
*/
|
|
76
240
|
readonly menu: IBasePromptChoice[];
|
|
241
|
+
/**
|
|
242
|
+
* Menu is not supported on secondary choices
|
|
243
|
+
*/
|
|
77
244
|
readonly isSecondary: false | undefined;
|
|
78
245
|
}
|
|
79
246
|
export interface IPromptOptions extends INotificationProperties {
|
|
247
|
+
/**
|
|
248
|
+
* Will be called if the user closed the notification without picking
|
|
249
|
+
* any of the provided choices.
|
|
250
|
+
*/
|
|
80
251
|
onCancel?: () => void;
|
|
81
252
|
}
|
|
82
253
|
export interface IStatusMessageOptions {
|
|
254
|
+
/**
|
|
255
|
+
* An optional timeout after which the status message should show. By default
|
|
256
|
+
* the status message will show immediately.
|
|
257
|
+
*/
|
|
83
258
|
readonly showAfter?: number;
|
|
259
|
+
/**
|
|
260
|
+
* An optional timeout after which the status message is to be hidden. By default
|
|
261
|
+
* the status message will not hide until another status message is displayed.
|
|
262
|
+
*/
|
|
84
263
|
readonly hideAfter?: number;
|
|
85
264
|
}
|
|
86
265
|
export declare enum NotificationsFilter {
|
|
266
|
+
/**
|
|
267
|
+
* No filter is enabled.
|
|
268
|
+
*/
|
|
87
269
|
OFF = 0,
|
|
270
|
+
/**
|
|
271
|
+
* All notifications are silent except error notifications.
|
|
272
|
+
*/
|
|
88
273
|
ERROR = 1
|
|
89
274
|
}
|
|
90
275
|
export interface INotificationSourceFilter extends INotificationSource {
|
|
@@ -2,17 +2,80 @@ import { Event } from "../../../base/common/event.js";
|
|
|
2
2
|
import Severity from "../../../base/common/severity.js";
|
|
3
3
|
import { NotificationsFilter, INotificationSourceFilter, INotificationSource, INotification, INotificationHandle, NotificationMessage, IPromptChoice, IPromptChoiceWithMenu, IPromptOptions, IStatusMessageOptions, IStatusHandle } from "./notification.js";
|
|
4
4
|
export declare const INotificationService: import("../../instantiation/common/instantiation.js").ServiceIdentifier<INotificationService>;
|
|
5
|
+
/**
|
|
6
|
+
* A service to bring up notifications and non-modal prompts.
|
|
7
|
+
*
|
|
8
|
+
* Note: use the `IDialogService` for a modal way to ask the user for input.
|
|
9
|
+
*/
|
|
5
10
|
export interface INotificationService {
|
|
6
11
|
readonly _serviceBrand: undefined;
|
|
12
|
+
/**
|
|
13
|
+
* Emitted when the notifications filter changed.
|
|
14
|
+
*/
|
|
7
15
|
readonly onDidChangeFilter: Event<void>;
|
|
16
|
+
/**
|
|
17
|
+
* Sets a notification filter either for all notifications
|
|
18
|
+
* or for a specific source.
|
|
19
|
+
*/
|
|
8
20
|
setFilter(filter: NotificationsFilter | INotificationSourceFilter): void;
|
|
21
|
+
/**
|
|
22
|
+
* Gets the notification filter either for all notifications
|
|
23
|
+
* or for a specific source.
|
|
24
|
+
*/
|
|
9
25
|
getFilter(source?: INotificationSource): NotificationsFilter;
|
|
26
|
+
/**
|
|
27
|
+
* Returns all filters with their sources.
|
|
28
|
+
*/
|
|
10
29
|
getFilters(): INotificationSourceFilter[];
|
|
30
|
+
/**
|
|
31
|
+
* Removes a filter for a specific source.
|
|
32
|
+
*/
|
|
11
33
|
removeFilter(sourceId: string): void;
|
|
34
|
+
/**
|
|
35
|
+
* Show the provided notification to the user. The returned `INotificationHandle`
|
|
36
|
+
* can be used to control the notification afterwards.
|
|
37
|
+
*
|
|
38
|
+
* **Note:** If your intent is to show a message with actions to the user, consider
|
|
39
|
+
* the `INotificationService.prompt()` method instead which are optimized for
|
|
40
|
+
* this usecase and much easier to use!
|
|
41
|
+
*
|
|
42
|
+
* @returns a handle on the notification to e.g. hide it or update message, buttons, etc.
|
|
43
|
+
*/
|
|
12
44
|
notify(notification: INotification): INotificationHandle;
|
|
45
|
+
/**
|
|
46
|
+
* A convenient way of reporting infos. Use the `INotificationService.notify`
|
|
47
|
+
* method if you need more control over the notification.
|
|
48
|
+
*/
|
|
13
49
|
info(message: NotificationMessage | NotificationMessage[]): void;
|
|
50
|
+
/**
|
|
51
|
+
* A convenient way of reporting warnings. Use the `INotificationService.notify`
|
|
52
|
+
* method if you need more control over the notification.
|
|
53
|
+
*/
|
|
14
54
|
warn(message: NotificationMessage | NotificationMessage[]): void;
|
|
55
|
+
/**
|
|
56
|
+
* A convenient way of reporting errors. Use the `INotificationService.notify`
|
|
57
|
+
* method if you need more control over the notification.
|
|
58
|
+
*/
|
|
15
59
|
error(message: NotificationMessage | NotificationMessage[]): void;
|
|
60
|
+
/**
|
|
61
|
+
* Shows a prompt in the notification area with the provided choices. The prompt
|
|
62
|
+
* is non-modal. If you want to show a modal dialog instead, use `IDialogService`.
|
|
63
|
+
*
|
|
64
|
+
* @param severity the severity of the notification. Either `Info`, `Warning` or `Error`.
|
|
65
|
+
* @param message the message to show as status.
|
|
66
|
+
* @param choices options to be chosen from.
|
|
67
|
+
* @param options provides some optional configuration options.
|
|
68
|
+
*
|
|
69
|
+
* @returns a handle on the notification to e.g. hide it or update message, buttons, etc.
|
|
70
|
+
*/
|
|
16
71
|
prompt(severity: Severity, message: string, choices: (IPromptChoice | IPromptChoiceWithMenu)[], options?: IPromptOptions): INotificationHandle;
|
|
72
|
+
/**
|
|
73
|
+
* Shows a status message in the status area with the provided text.
|
|
74
|
+
*
|
|
75
|
+
* @param message the message to show as status
|
|
76
|
+
* @param options provides some optional configuration options
|
|
77
|
+
*
|
|
78
|
+
* @returns a handle to hide the status message
|
|
79
|
+
*/
|
|
17
80
|
status(message: NotificationMessage, options?: IStatusMessageOptions): IStatusHandle;
|
|
18
81
|
}
|
|
@@ -3,6 +3,8 @@ import { IObservable, IReader } from "../../../base/common/observable.js";
|
|
|
3
3
|
import { IConfigurationService } from "../../configuration/common/configuration.service.js";
|
|
4
4
|
import { ContextKeyValue, RawContextKey } from "../../contextkey/common/contextkey.js";
|
|
5
5
|
import { IContextKeyService } from "../../contextkey/common/contextkey.service.js";
|
|
6
|
+
/** Creates an observable update when a configuration key updates. */
|
|
6
7
|
export declare function observableConfigValue<T>(key: string, defaultValue: T, configurationService: IConfigurationService): IObservable<T>;
|
|
8
|
+
/** Update the configuration key with a value derived from observables. */
|
|
7
9
|
export declare function bindContextKey<T extends ContextKeyValue>(key: RawContextKey<T>, service: IContextKeyService, computeValue: (reader: IReader) => T): IDisposable;
|
|
8
10
|
export declare function observableContextKey<T>(key: string, contextKeyService: IContextKeyService): IObservable<T | undefined>;
|
|
@@ -2,8 +2,18 @@ import { IDisposable } from "../../../base/common/lifecycle.js";
|
|
|
2
2
|
import { IObservable } from "../../../base/common/observable.js";
|
|
3
3
|
import { BrandedService } from "../../instantiation/common/instantiation.js";
|
|
4
4
|
export declare function hotClassGetOriginalInstance<T>(value: T): T;
|
|
5
|
+
/**
|
|
6
|
+
* Wrap a class in a reloadable wrapper.
|
|
7
|
+
* When the wrapper is created, the original class is created.
|
|
8
|
+
* When the original class changes, the instance is re-created.
|
|
9
|
+
*/
|
|
5
10
|
export declare function wrapInHotClass0<TArgs extends BrandedService[]>(clazz: IObservable<Result<TArgs>>): Result<TArgs>;
|
|
6
11
|
type Result<TArgs extends any[]> = new (...args: TArgs) => IDisposable;
|
|
12
|
+
/**
|
|
13
|
+
* Wrap a class in a reloadable wrapper.
|
|
14
|
+
* When the wrapper is created, the original class is created.
|
|
15
|
+
* When the original class changes, the instance is re-created.
|
|
16
|
+
*/
|
|
7
17
|
export declare function wrapInHotClass1<TArgs extends [
|
|
8
18
|
any,
|
|
9
19
|
...BrandedService[]
|
|
@@ -1,7 +1,17 @@
|
|
|
1
1
|
import { IDisposable } from "../../../base/common/lifecycle.js";
|
|
2
2
|
import { BrandedService, GetLeadingNonServiceArgs } from "../../instantiation/common/instantiation.js";
|
|
3
|
+
/**
|
|
4
|
+
* Wrap a class in a reloadable wrapper.
|
|
5
|
+
* When the wrapper is created, the original class is created.
|
|
6
|
+
* When the original class changes, the instance is re-created.
|
|
7
|
+
*/
|
|
3
8
|
export declare function wrapInReloadableClass0<TArgs extends BrandedService[]>(getClass: () => Result<TArgs>): Result<TArgs>;
|
|
4
9
|
type Result<TArgs extends any[]> = new (...args: TArgs) => IDisposable;
|
|
10
|
+
/**
|
|
11
|
+
* Wrap a class in a reloadable wrapper.
|
|
12
|
+
* When the wrapper is created, the original class is created.
|
|
13
|
+
* When the original class changes, the instance is re-created.
|
|
14
|
+
*/
|
|
5
15
|
export declare function wrapInReloadableClass1<TArgs extends [
|
|
6
16
|
any,
|
|
7
17
|
...BrandedService[]
|
|
@@ -1,6 +1,13 @@
|
|
|
1
|
+
/*---------------------------------------------------------------------------------------------
|
|
2
|
+
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
3
|
+
* Licensed under the MIT License. See License.txt in the project root for license information.
|
|
4
|
+
*--------------------------------------------------------------------------------------------*/
|
|
5
|
+
|
|
1
6
|
.monaco-link {
|
|
2
7
|
color: var(--vscode-textLink-foreground);
|
|
3
8
|
}
|
|
9
|
+
|
|
4
10
|
.monaco-link:hover {
|
|
5
11
|
color: var(--vscode-textLink-activeForeground);
|
|
6
12
|
}
|
|
13
|
+
|