@codingame/monaco-vscode-api 13.1.7 → 14.0.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/extensions.d.ts +3 -2
- package/missing-services.js +177 -63
- package/monaco.d.ts +2 -1
- package/package.json +8 -8
- package/services.d.ts +2 -2
- package/services.js +2 -3
- package/vscode/src/vs/base/browser/cssValue.js +1 -1
- package/vscode/src/vs/base/browser/dom.js +4 -1
- package/vscode/src/vs/base/browser/markdownRenderer.js +12 -0
- package/vscode/src/vs/base/browser/touch.js +2 -1
- package/vscode/src/vs/base/browser/ui/actionbar/actionbar.css.js +1 -1
- package/vscode/src/vs/base/browser/ui/button/button.d.ts +2 -1
- package/vscode/src/vs/base/browser/ui/button/button.js +10 -6
- package/vscode/src/vs/base/browser/ui/codicons/codicon/codicon.css.js +1 -1
- package/vscode/src/vs/base/browser/ui/findinput/replaceInput.d.ts +2 -1
- package/vscode/src/vs/base/browser/ui/findinput/replaceInput.js +2 -2
- package/vscode/src/vs/base/browser/ui/hover/hoverWidget.css.js +1 -1
- package/vscode/src/vs/base/browser/ui/inputbox/inputBox.js +1 -1
- package/vscode/src/vs/base/browser/ui/list/listView.d.ts +10 -0
- package/vscode/src/vs/base/browser/ui/list/listView.js +102 -6
- package/vscode/src/vs/base/browser/ui/list/listWidget.d.ts +1 -0
- package/vscode/src/vs/base/browser/ui/menu/menu.js +4 -1
- package/vscode/src/vs/base/browser/ui/tree/abstractTree.d.ts +1 -1
- package/vscode/src/vs/base/browser/ui/tree/abstractTree.js +6 -6
- package/vscode/src/vs/base/browser/ui/tree/asyncDataTree.d.ts +1 -2
- package/vscode/src/vs/base/browser/ui/tree/asyncDataTree.js +18 -8
- package/vscode/src/vs/base/browser/ui/tree/indexTreeModel.js +2 -2
- package/vscode/src/vs/base/common/actions.d.ts +1 -1
- package/vscode/src/vs/base/common/arrays.d.ts +1 -2
- package/vscode/src/vs/base/common/arrays.js +2 -2
- package/vscode/src/vs/base/common/assert.d.ts +1 -1
- package/vscode/src/vs/base/common/assert.js +5 -2
- package/vscode/src/vs/base/common/async.js +16 -2
- package/vscode/src/vs/base/common/codicons.d.ts +1 -0
- package/vscode/src/vs/base/common/codiconsLibrary.d.ts +1 -0
- package/vscode/src/vs/base/common/codiconsLibrary.js +1 -0
- package/vscode/src/vs/base/common/color.d.ts +2 -2
- package/vscode/src/vs/base/common/color.js +4 -4
- package/vscode/src/vs/base/common/decorators.d.ts +1 -0
- package/vscode/src/vs/base/common/decorators.js +2 -0
- package/vscode/src/vs/base/common/errors.d.ts +2 -0
- package/vscode/src/vs/base/common/errors.js +10 -2
- package/vscode/src/vs/base/common/event.d.ts +3 -3
- package/vscode/src/vs/base/common/event.js +2 -2
- package/vscode/src/vs/base/common/filters.js +1 -1
- package/vscode/src/vs/base/common/iterator.d.ts +1 -1
- package/vscode/src/vs/base/common/iterator.js +8 -2
- package/vscode/src/vs/base/common/lifecycle.d.ts +7 -0
- package/vscode/src/vs/base/common/map.d.ts +8 -16
- package/vscode/src/vs/base/common/map.js +43 -30
- package/vscode/src/vs/base/common/network.d.ts +2 -2
- package/vscode/src/vs/base/common/network.js +4 -4
- package/vscode/src/vs/base/common/numbers.d.ts +1 -0
- package/vscode/src/vs/base/common/observableInternal/autorun.d.ts +2 -2
- package/vscode/src/vs/base/common/observableInternal/autorun.js +14 -1
- package/vscode/src/vs/base/common/observableInternal/base.d.ts +13 -9
- package/vscode/src/vs/base/common/observableInternal/base.js +7 -1
- package/vscode/src/vs/base/common/observableInternal/derived.d.ts +5 -3
- package/vscode/src/vs/base/common/observableInternal/derived.js +31 -4
- package/vscode/src/vs/base/common/observableInternal/index.d.ts +2 -2
- package/vscode/src/vs/base/common/observableInternal/lazyObservableValue.js +5 -2
- package/vscode/src/vs/base/common/observableInternal/logging.d.ts +10 -4
- package/vscode/src/vs/base/common/observableInternal/logging.js +310 -1
- package/vscode/src/vs/base/common/observableInternal/utils.d.ts +9 -9
- package/vscode/src/vs/base/common/observableInternal/utils.js +13 -4
- package/vscode/src/vs/base/common/path.js +1 -2
- package/vscode/src/vs/base/common/product.d.ts +5 -0
- package/vscode/src/vs/base/common/stream.d.ts +1 -1
- package/vscode/src/vs/base/common/stream.js +13 -5
- package/vscode/src/vs/base/common/strings.d.ts +1 -0
- package/vscode/src/vs/base/common/strings.js +19 -9
- package/vscode/src/vs/base/common/types.d.ts +2 -1
- package/vscode/src/vs/base/common/types.js +9 -4
- package/vscode/src/vs/base/common/uuid.js +1 -50
- package/vscode/src/vs/editor/browser/controller/editContext/native/nativeEditContext.d.ts +2 -1
- package/vscode/src/vs/editor/browser/controller/editContext/native/nativeEditContext.js +26 -12
- package/vscode/src/vs/editor/browser/editorDom.js +3 -3
- package/vscode/src/vs/editor/browser/editorExtensions.js +15 -0
- package/vscode/src/vs/editor/browser/gpu/atlas/atlas.d.ts +7 -2
- package/vscode/src/vs/editor/browser/gpu/atlas/textureAtlas.d.ts +1 -1
- package/vscode/src/vs/editor/browser/gpu/atlas/textureAtlas.js +34 -27
- package/vscode/src/vs/editor/browser/gpu/atlas/textureAtlasPage.d.ts +1 -1
- package/vscode/src/vs/editor/browser/gpu/atlas/textureAtlasPage.js +8 -8
- package/vscode/src/vs/editor/browser/gpu/atlas/textureAtlasSlabAllocator.js +3 -3
- package/vscode/src/vs/editor/browser/gpu/contentSegmenter.d.ts +7 -0
- package/vscode/src/vs/editor/browser/gpu/contentSegmenter.js +49 -0
- package/vscode/src/vs/editor/browser/gpu/{decorationCssRuleExtractor.d.ts → css/decorationCssRuleExtractor.d.ts} +1 -1
- package/vscode/src/vs/editor/browser/gpu/{decorationCssRuleExtractor.js → css/decorationCssRuleExtractor.js} +2 -2
- package/vscode/src/vs/editor/browser/gpu/css/decorationStyleCache.d.ts +15 -0
- package/vscode/src/vs/editor/browser/gpu/css/decorationStyleCache.js +37 -0
- package/vscode/src/vs/editor/browser/gpu/{media → css/media}/decorationCssRuleExtractor.css.js +1 -1
- package/vscode/src/vs/editor/browser/gpu/gpu.d.ts +6 -2
- package/vscode/src/vs/editor/browser/gpu/raster/glyphRasterizer.d.ts +5 -2
- package/vscode/src/vs/editor/browser/gpu/raster/glyphRasterizer.js +57 -14
- package/vscode/src/vs/editor/browser/gpu/raster/raster.d.ts +2 -1
- package/vscode/src/vs/editor/browser/gpu/rectangleRenderer.d.ts +4 -1
- package/vscode/src/vs/editor/browser/gpu/rectangleRenderer.js +5 -1
- package/vscode/src/vs/editor/browser/gpu/renderStrategy/baseRenderStrategy.d.ts +25 -0
- package/vscode/src/vs/editor/browser/gpu/renderStrategy/baseRenderStrategy.js +16 -0
- package/vscode/src/vs/editor/browser/gpu/{fullFileRenderStrategy.d.ts → renderStrategy/fullFileRenderStrategy.d.ts} +14 -13
- package/vscode/src/vs/editor/browser/gpu/{fullFileRenderStrategy.js → renderStrategy/fullFileRenderStrategy.js} +100 -57
- package/vscode/src/vs/editor/browser/gpu/{fullFileRenderStrategy.wgsl.js → renderStrategy/fullFileRenderStrategy.wgsl.js} +3 -3
- package/vscode/src/vs/editor/browser/gpu/renderStrategy/viewportRenderStrategy.d.ts +40 -0
- package/vscode/src/vs/editor/browser/gpu/renderStrategy/viewportRenderStrategy.js +287 -0
- package/vscode/src/vs/editor/browser/gpu/taskQueue.d.ts +4 -3
- package/vscode/src/vs/editor/browser/gpu/taskQueue.js +17 -2
- package/vscode/src/vs/editor/browser/gpu/viewGpuContext.d.ts +8 -9
- package/vscode/src/vs/editor/browser/gpu/viewGpuContext.js +45 -34
- package/vscode/src/vs/editor/browser/observableCodeEditor.d.ts +28 -21
- package/vscode/src/vs/editor/browser/observableCodeEditor.js +68 -2
- package/vscode/src/vs/editor/browser/point.d.ts +9 -0
- package/vscode/src/vs/editor/browser/point.js +22 -0
- package/vscode/src/vs/editor/browser/rect.d.ts +30 -0
- package/vscode/src/vs/editor/browser/rect.js +131 -0
- package/vscode/src/vs/editor/browser/services/editorWorkerService.d.ts +1 -1
- package/vscode/src/vs/editor/browser/services/hoverService/hoverService.js +1 -1
- package/vscode/src/vs/editor/browser/view/viewLayer.d.ts +1 -1
- package/vscode/src/vs/editor/browser/view/viewLayer.js +8 -1
- package/vscode/src/vs/editor/browser/view.d.ts +1 -0
- package/vscode/src/vs/editor/browser/view.js +9 -5
- package/vscode/src/vs/editor/browser/viewParts/viewLines/viewLines.js +1 -1
- package/vscode/src/vs/editor/browser/viewParts/viewLinesGpu/viewLinesGpu.d.ts +7 -3
- package/vscode/src/vs/editor/browser/viewParts/viewLinesGpu/viewLinesGpu.js +140 -56
- package/vscode/src/vs/editor/browser/widget/codeEditor/codeEditorWidget.d.ts +1 -0
- package/vscode/src/vs/editor/browser/widget/codeEditor/codeEditorWidget.js +5 -0
- package/vscode/src/vs/editor/browser/widget/codeEditor/embeddedCodeEditorWidget.d.ts +2 -1
- package/vscode/src/vs/editor/browser/widget/codeEditor/embeddedCodeEditorWidget.js +8 -1
- package/vscode/src/vs/editor/browser/widget/diffEditor/commands.d.ts +1 -0
- package/vscode/src/vs/editor/browser/widget/diffEditor/commands.js +14 -9
- package/vscode/src/vs/editor/browser/widget/diffEditor/components/diffEditorEditors.d.ts +12 -10
- package/vscode/src/vs/editor/browser/widget/diffEditor/components/diffEditorEditors.js +12 -5
- package/vscode/src/vs/editor/browser/widget/diffEditor/components/diffEditorSash.d.ts +1 -1
- package/vscode/src/vs/editor/browser/widget/diffEditor/components/diffEditorViewZones/renderLines.d.ts +4 -2
- package/vscode/src/vs/editor/browser/widget/diffEditor/components/diffEditorViewZones/renderLines.js +29 -7
- package/vscode/src/vs/editor/browser/widget/diffEditor/diffEditorOptions.d.ts +28 -28
- package/vscode/src/vs/editor/browser/widget/diffEditor/diffEditorViewModel.d.ts +2 -2
- package/vscode/src/vs/editor/browser/widget/diffEditor/diffEditorViewModel.js +0 -1
- package/vscode/src/vs/editor/browser/widget/diffEditor/diffProviderFactoryService.d.ts +1 -1
- package/vscode/src/vs/editor/browser/widget/diffEditor/features/gutterFeature.d.ts +2 -2
- package/vscode/src/vs/editor/browser/widget/diffEditor/utils.d.ts +2 -2
- package/vscode/src/vs/editor/browser/widget/markdownRenderer/browser/markdownRenderer.d.ts +3 -6
- package/vscode/src/vs/editor/browser/widget/markdownRenderer/browser/markdownRenderer.js +3 -10
- package/vscode/src/vs/editor/common/config/editorOptions.d.ts +8 -6
- package/vscode/src/vs/editor/common/config/editorOptions.js +409 -392
- package/vscode/src/vs/editor/common/core/editorColorRegistry.js +71 -71
- package/vscode/src/vs/editor/common/core/offsetEdit.d.ts +3 -0
- package/vscode/src/vs/editor/common/core/offsetEdit.js +9 -0
- package/vscode/src/vs/editor/common/core/offsetRange.d.ts +1 -0
- package/vscode/src/vs/editor/common/core/offsetRange.js +3 -0
- package/vscode/src/vs/editor/common/core/position.js +1 -1
- package/vscode/src/vs/editor/common/core/positionToOffset.d.ts +1 -0
- package/vscode/src/vs/editor/common/core/positionToOffset.js +20 -1
- package/vscode/src/vs/editor/common/core/range.d.ts +1 -0
- package/vscode/src/vs/editor/common/core/range.js +3 -0
- package/vscode/src/vs/editor/common/core/textEdit.d.ts +0 -6
- package/vscode/src/vs/editor/common/core/textEdit.js +0 -1
- package/vscode/src/vs/editor/common/core/textLength.js +1 -1
- package/vscode/src/vs/editor/common/diff/defaultLinesDiffComputer/defaultLinesDiffComputer.js +10 -7
- package/vscode/src/vs/editor/common/diff/defaultLinesDiffComputer/heuristicSequenceOptimizations.d.ts +2 -1
- package/vscode/src/vs/editor/common/diff/defaultLinesDiffComputer/heuristicSequenceOptimizations.js +6 -6
- package/vscode/src/vs/editor/common/diff/defaultLinesDiffComputer/linesSliceCharSequence.d.ts +1 -0
- package/vscode/src/vs/editor/common/diff/defaultLinesDiffComputer/linesSliceCharSequence.js +20 -0
- package/vscode/src/vs/editor/common/diff/linesDiffComputer.d.ts +1 -0
- package/vscode/src/vs/editor/common/diff/rangeMapping.d.ts +1 -1
- package/vscode/src/vs/editor/common/diff/rangeMapping.js +1 -22
- package/vscode/src/vs/editor/common/editorContextKeys.js +46 -46
- package/vscode/src/vs/editor/common/languages/defaultDocumentColorsComputer.js +1 -1
- package/vscode/src/vs/editor/common/languages/languageConfigurationRegistry.js +5 -5
- package/vscode/src/vs/editor/common/languages/modesRegistry.js +1 -1
- package/vscode/src/vs/editor/common/languages.d.ts +21 -25
- package/vscode/src/vs/editor/common/languages.js +27 -27
- package/vscode/src/vs/editor/common/model/editStack.js +1 -1
- package/vscode/src/vs/editor/common/model/textModel.d.ts +1 -0
- package/vscode/src/vs/editor/common/model/textModel.js +6 -3
- package/vscode/src/vs/editor/common/model/textModelTokens.d.ts +2 -2
- package/vscode/src/vs/editor/common/model/textModelTokens.js +11 -18
- package/vscode/src/vs/editor/common/model/tokenStore.d.ts +59 -0
- package/vscode/src/vs/editor/common/model/tokenStore.js +384 -0
- package/vscode/src/vs/editor/common/model/tokenizationTextModelPart.d.ts +5 -5
- package/vscode/src/vs/editor/common/model/tokenizationTextModelPart.js +10 -15
- package/vscode/src/vs/editor/common/model/tokens.d.ts +2 -2
- package/vscode/src/vs/editor/common/model/treeSitterTokenStoreService.d.ts +44 -0
- package/vscode/src/vs/editor/common/model/treeSitterTokenStoreService.js +114 -0
- package/vscode/src/vs/editor/common/model/treeSitterTokens.d.ts +4 -5
- package/vscode/src/vs/editor/common/model/treeSitterTokens.js +18 -10
- package/vscode/src/vs/editor/common/services/editorSimpleWorker.d.ts +1 -1
- package/vscode/src/vs/editor/common/services/editorWorker.d.ts +1 -1
- package/vscode/src/vs/editor/common/services/languageFeatures.d.ts +1 -2
- package/vscode/src/vs/editor/common/services/languageFeaturesService.d.ts +1 -2
- package/vscode/src/vs/editor/common/services/languageFeaturesService.js +0 -1
- package/vscode/src/vs/editor/common/services/treeSitterParserService.d.ts +18 -5
- package/vscode/src/vs/editor/common/standaloneStrings.d.ts +3 -0
- package/vscode/src/vs/editor/common/standaloneStrings.js +54 -38
- package/vscode/src/vs/editor/common/tokenizationTextModelPart.d.ts +1 -13
- package/vscode/src/vs/editor/common/tokenizationTextModelPart.js +1 -13
- package/vscode/src/vs/editor/common/tokens/lineTokens.d.ts +1 -0
- package/vscode/src/vs/editor/common/tokens/lineTokens.js +3 -0
- package/vscode/src/vs/editor/common/tokens/tokenArray.d.ts +5 -0
- package/vscode/src/vs/editor/common/tokens/tokenArray.js +24 -0
- package/vscode/src/vs/editor/common/viewLayout/viewLineRenderer.js +2 -2
- package/vscode/src/vs/editor/contrib/anchorSelect/browser/anchorSelect.js +6 -6
- package/vscode/src/vs/editor/contrib/bracketMatching/browser/bracketMatching.js +6 -6
- package/vscode/src/vs/editor/contrib/caretOperations/browser/caretOperations.js +2 -2
- package/vscode/src/vs/editor/contrib/caretOperations/browser/transpose.js +1 -1
- package/vscode/src/vs/editor/contrib/clipboard/browser/clipboard.js +17 -17
- package/vscode/src/vs/editor/contrib/codeAction/browser/codeAction.js +1 -1
- package/vscode/src/vs/editor/contrib/codeAction/browser/codeActionCommands.js +29 -29
- package/vscode/src/vs/editor/contrib/codeAction/browser/codeActionContributions.js +3 -3
- package/vscode/src/vs/editor/contrib/codeAction/browser/codeActionController.js +3 -3
- package/vscode/src/vs/editor/contrib/codeAction/browser/codeActionMenu.js +8 -8
- package/vscode/src/vs/editor/contrib/codeAction/browser/codeActionModel.js +1 -0
- package/vscode/src/vs/editor/contrib/codeAction/browser/lightBulbWidget.js +9 -9
- package/vscode/src/vs/editor/contrib/codelens/browser/codeLensCache.js +1 -1
- package/vscode/src/vs/editor/contrib/codelens/browser/codelens.d.ts +1 -1
- package/vscode/src/vs/editor/contrib/codelens/browser/codelens.js +7 -5
- package/vscode/src/vs/editor/contrib/codelens/browser/codelensController.js +2 -2
- package/vscode/src/vs/editor/contrib/codelens/browser/codelensWidget.css.js +1 -1
- package/vscode/src/vs/editor/contrib/colorPicker/browser/colorPickerParts/colorPickerCloseButton.js +1 -1
- package/vscode/src/vs/editor/contrib/colorPicker/browser/colorPickerParts/colorPickerHeader.js +1 -1
- package/vscode/src/vs/editor/contrib/colorPicker/browser/hoverColorPicker/hoverColorPicker.d.ts +2 -0
- package/vscode/src/vs/editor/contrib/colorPicker/browser/hoverColorPicker/hoverColorPicker.js +12 -0
- package/vscode/src/vs/editor/contrib/colorPicker/browser/hoverColorPicker/hoverColorPickerContribution.d.ts +1 -2
- package/vscode/src/vs/editor/contrib/colorPicker/browser/hoverColorPicker/hoverColorPickerContribution.js +2 -9
- package/vscode/src/vs/editor/contrib/colorPicker/browser/hoverColorPicker/hoverColorPickerParticipant.js +3 -5
- package/vscode/src/vs/editor/contrib/colorPicker/browser/standaloneColorPicker/standaloneColorPickerActions.js +7 -7
- package/vscode/src/vs/editor/contrib/colorPicker/browser/standaloneColorPicker/standaloneColorPickerParticipant.d.ts +12 -8
- package/vscode/src/vs/editor/contrib/colorPicker/browser/standaloneColorPicker/standaloneColorPickerParticipant.js +41 -41
- package/vscode/src/vs/editor/contrib/colorPicker/browser/standaloneColorPicker/standaloneColorPickerWidget.d.ts +2 -0
- package/vscode/src/vs/editor/contrib/colorPicker/browser/standaloneColorPicker/standaloneColorPickerWidget.js +13 -8
- package/vscode/src/vs/editor/contrib/comment/browser/comment.js +6 -6
- package/vscode/src/vs/editor/contrib/contextmenu/browser/contextmenu.js +10 -10
- package/vscode/src/vs/editor/contrib/cursorUndo/browser/cursorUndo.js +2 -2
- package/vscode/src/vs/editor/contrib/dropOrPasteInto/browser/copyPasteContribution.js +4 -4
- package/vscode/src/vs/editor/contrib/dropOrPasteInto/browser/copyPasteController.js +32 -33
- package/vscode/src/vs/editor/contrib/dropOrPasteInto/browser/defaultProviders.js +8 -8
- package/vscode/src/vs/editor/contrib/dropOrPasteInto/browser/dropIntoEditorController.js +3 -3
- package/vscode/src/vs/editor/contrib/dropOrPasteInto/browser/postEditWidget.js +2 -2
- package/vscode/src/vs/editor/contrib/editorState/browser/keybindingCancellation.js +1 -1
- package/vscode/src/vs/editor/contrib/find/browser/findController.d.ts +1 -0
- package/vscode/src/vs/editor/contrib/find/browser/findController.js +20 -17
- package/vscode/src/vs/editor/contrib/find/browser/findWidget.d.ts +2 -1
- package/vscode/src/vs/editor/contrib/find/browser/findWidget.js +32 -30
- package/vscode/src/vs/editor/contrib/find/browser/replaceWidgetHistory.d.ts +21 -0
- package/vscode/src/vs/editor/contrib/find/browser/replaceWidgetHistory.js +76 -0
- package/vscode/src/vs/editor/contrib/folding/browser/folding.js +20 -20
- package/vscode/src/vs/editor/contrib/folding/browser/foldingDecorations.js +9 -9
- package/vscode/src/vs/editor/contrib/fontZoom/browser/fontZoom.js +3 -3
- package/vscode/src/vs/editor/contrib/format/browser/formatActions.js +2 -2
- package/vscode/src/vs/editor/contrib/gotoError/browser/gotoError.d.ts +1 -1
- package/vscode/src/vs/editor/contrib/gotoError/browser/gotoError.js +40 -36
- package/vscode/src/vs/editor/contrib/gotoError/browser/gotoErrorWidget.js +14 -14
- package/vscode/src/vs/editor/contrib/gotoError/browser/markerNavigationService.js +56 -30
- package/vscode/src/vs/editor/contrib/gotoSymbol/browser/goToCommands.d.ts +1 -1
- package/vscode/src/vs/editor/contrib/gotoSymbol/browser/goToCommands.js +43 -41
- package/vscode/src/vs/editor/contrib/gotoSymbol/browser/link/goToDefinitionAtPosition.js +3 -2
- package/vscode/src/vs/editor/contrib/gotoSymbol/browser/peek/referencesController.js +5 -4
- package/vscode/src/vs/editor/contrib/gotoSymbol/browser/peek/referencesTree.js +3 -3
- package/vscode/src/vs/editor/contrib/gotoSymbol/browser/peek/referencesWidget.js +3 -3
- package/vscode/src/vs/editor/contrib/gotoSymbol/browser/referencesModel.js +8 -8
- package/vscode/src/vs/editor/contrib/gotoSymbol/browser/symbolNavigation.js +3 -3
- package/vscode/src/vs/editor/contrib/gpu/browser/gpuActions.js +5 -5
- package/vscode/src/vs/editor/contrib/hover/browser/contentHoverController.d.ts +1 -3
- package/vscode/src/vs/editor/contrib/hover/browser/contentHoverController.js +54 -59
- package/vscode/src/vs/editor/contrib/hover/browser/contentHoverRendered.d.ts +1 -0
- package/vscode/src/vs/editor/contrib/hover/browser/contentHoverRendered.js +47 -16
- package/vscode/src/vs/editor/contrib/hover/browser/contentHoverWidget.d.ts +4 -0
- package/vscode/src/vs/editor/contrib/hover/browser/contentHoverWidget.js +27 -15
- package/vscode/src/vs/editor/contrib/hover/browser/contentHoverWidgetWrapper.js +10 -1
- package/vscode/src/vs/editor/contrib/hover/browser/glyphHoverWidget.js +2 -1
- package/vscode/src/vs/editor/contrib/hover/browser/hover.css.js +1 -1
- package/vscode/src/vs/editor/contrib/hover/browser/hoverAccessibleViews.d.ts +4 -4
- package/vscode/src/vs/editor/contrib/hover/browser/hoverAccessibleViews.js +2 -2
- package/vscode/src/vs/editor/contrib/hover/browser/hoverActionIds.d.ts +1 -0
- package/vscode/src/vs/editor/contrib/hover/browser/hoverActionIds.js +4 -3
- package/vscode/src/vs/editor/contrib/hover/browser/hoverActions.d.ts +4 -0
- package/vscode/src/vs/editor/contrib/hover/browser/hoverActions.js +38 -25
- package/vscode/src/vs/editor/contrib/hover/browser/hoverContribution.js +2 -1
- package/vscode/src/vs/editor/contrib/hover/browser/hoverOperation.js +1 -0
- package/vscode/src/vs/editor/contrib/hover/browser/hoverTypes.d.ts +4 -1
- package/vscode/src/vs/editor/contrib/hover/browser/markdownHoverParticipant.d.ts +3 -1
- package/vscode/src/vs/editor/contrib/hover/browser/markdownHoverParticipant.js +65 -33
- package/vscode/src/vs/editor/contrib/hover/browser/markerHoverParticipant.js +5 -5
- package/vscode/src/vs/editor/contrib/inPlaceReplace/browser/inPlaceReplace.js +2 -2
- package/vscode/src/vs/editor/contrib/indentation/browser/indentation.js +20 -20
- package/vscode/src/vs/editor/contrib/inlayHints/browser/inlayHintsHover.js +8 -8
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/controller/commands.d.ts +2 -2
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/controller/commands.js +38 -24
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/controller/inlineCompletionContextKeys.d.ts +1 -0
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/controller/inlineCompletionContextKeys.js +11 -10
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/controller/inlineCompletionsController.d.ts +7 -3
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/controller/inlineCompletionsController.js +50 -7
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/hintsWidget/hoverParticipant.js +8 -7
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/hintsWidget/inlineCompletionsHintsWidget.js +5 -5
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/inlineCompletionsAccessibleView.d.ts +2 -2
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/model/computeGhostText.d.ts +2 -0
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/model/computeGhostText.js +1 -1
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/model/inlineCompletionsModel.d.ts +18 -19
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/model/inlineCompletionsModel.js +55 -27
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/model/inlineCompletionsSource.d.ts +22 -7
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/model/inlineCompletionsSource.js +199 -21
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/model/inlineEditsAdapter.js +3 -0
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/model/provideInlineCompletions.d.ts +5 -1
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/model/provideInlineCompletions.js +38 -15
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/model/suggestWidgetAdapter.d.ts +1 -1
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/utils.d.ts +1 -0
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/utils.js +10 -10
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/view/ghostText/ghostTextView.d.ts +16 -3
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/view/ghostText/ghostTextView.js +65 -30
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/view/inlineCompletionsView.d.ts +6 -5
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/view/inlineCompletionsView.js +7 -6
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/view/inlineEdits/deletionView.d.ts +29 -0
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/view/inlineEdits/deletionView.js +141 -0
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/view/inlineEdits/gutterIndicatorMenu.d.ts +19 -0
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/view/inlineEdits/gutterIndicatorMenu.js +143 -0
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/view/inlineEdits/gutterIndicatorView.d.ts +37 -0
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/view/inlineEdits/gutterIndicatorView.js +259 -0
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/view/inlineEdits/{inlineEditsIndicatorView.d.ts → indicatorView.d.ts} +1 -2
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/view/inlineEdits/{inlineEditsIndicatorView.js → indicatorView.js} +9 -8
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/view/inlineEdits/inlineDiffView.d.ts +5 -2
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/view/inlineEdits/inlineDiffView.js +39 -19
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/view/inlineEdits/insertionView.d.ts +32 -0
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/view/inlineEdits/insertionView.js +204 -0
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/view/inlineEdits/sideBySideDiff.d.ts +71 -0
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/view/inlineEdits/sideBySideDiff.js +584 -0
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/view/inlineEdits/utils.d.ts +123 -12
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/view/inlineEdits/utils.js +348 -20
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/view/inlineEdits/view.css.js +6 -0
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/view/inlineEdits/view.d.ts +41 -0
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/view/inlineEdits/view.js +365 -0
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/view/inlineEdits/{inlineEditsViewAndDiffProducer.d.ts → viewAndDiffProducer.d.ts} +7 -13
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/view/inlineEdits/viewAndDiffProducer.js +92 -0
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/view/inlineEdits/wordReplacementView.d.ts +58 -0
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/view/inlineEdits/wordReplacementView.js +520 -0
- package/vscode/src/vs/editor/contrib/lineSelection/browser/lineSelection.js +1 -1
- package/vscode/src/vs/editor/contrib/linesOperations/browser/linesOperations.js +30 -30
- package/vscode/src/vs/editor/contrib/linkedEditing/browser/linkedEditing.js +2 -2
- package/vscode/src/vs/editor/contrib/links/browser/getLinks.d.ts +1 -0
- package/vscode/src/vs/editor/contrib/links/browser/getLinks.js +16 -12
- package/vscode/src/vs/editor/contrib/links/browser/links.d.ts +1 -0
- package/vscode/src/vs/editor/contrib/links/browser/links.js +13 -10
- package/vscode/src/vs/editor/contrib/message/browser/messageController.js +1 -1
- package/vscode/src/vs/editor/contrib/multicursor/browser/multicursor.js +22 -22
- package/vscode/src/vs/editor/contrib/parameterHints/browser/parameterHints.js +1 -1
- package/vscode/src/vs/editor/contrib/parameterHints/browser/parameterHintsWidget.js +5 -5
- package/vscode/src/vs/editor/contrib/peekView/browser/peekView.d.ts +1 -2
- package/vscode/src/vs/editor/contrib/peekView/browser/peekView.js +18 -26
- package/vscode/src/vs/editor/contrib/placeholderText/browser/placeholderText.contribution.js +1 -1
- package/vscode/src/vs/editor/contrib/readOnlyMessage/browser/contribution.js +2 -2
- package/vscode/src/vs/editor/contrib/rename/browser/rename.js +11 -11
- package/vscode/src/vs/editor/contrib/rename/browser/renameWidget.js +6 -6
- package/vscode/src/vs/editor/contrib/smartSelect/browser/smartSelect.js +4 -4
- package/vscode/src/vs/editor/contrib/snippet/browser/snippetController2.js +4 -4
- package/vscode/src/vs/editor/contrib/snippet/browser/snippetVariables.js +4 -4
- package/vscode/src/vs/editor/contrib/stickyScroll/browser/stickyScroll.css.js +1 -1
- package/vscode/src/vs/editor/contrib/stickyScroll/browser/stickyScrollActions.d.ts +2 -3
- package/vscode/src/vs/editor/contrib/stickyScroll/browser/stickyScrollActions.js +19 -15
- package/vscode/src/vs/editor/contrib/stickyScroll/browser/stickyScrollController.d.ts +14 -0
- package/vscode/src/vs/editor/contrib/stickyScroll/browser/stickyScrollController.js +48 -19
- package/vscode/src/vs/editor/contrib/stickyScroll/browser/stickyScrollWidget.d.ts +7 -0
- package/vscode/src/vs/editor/contrib/stickyScroll/browser/stickyScrollWidget.js +25 -6
- package/vscode/src/vs/editor/contrib/suggest/browser/media/suggest.css.js +1 -1
- package/vscode/src/vs/editor/contrib/suggest/browser/suggest.js +8 -8
- package/vscode/src/vs/editor/contrib/suggest/browser/suggestController.js +10 -10
- package/vscode/src/vs/editor/contrib/suggest/browser/suggestWidget.js +20 -20
- package/vscode/src/vs/editor/contrib/suggest/browser/suggestWidgetDetails.js +9 -7
- package/vscode/src/vs/editor/contrib/suggest/browser/suggestWidgetRenderer.d.ts +0 -1
- package/vscode/src/vs/editor/contrib/suggest/browser/suggestWidgetRenderer.js +3 -7
- package/vscode/src/vs/editor/contrib/suggest/browser/wordContextKey.js +5 -1
- package/vscode/src/vs/editor/contrib/symbolIcons/browser/symbolIcons.js +33 -33
- package/vscode/src/vs/editor/contrib/toggleTabFocusMode/browser/toggleTabFocusMode.js +4 -4
- package/vscode/src/vs/editor/contrib/tokenization/browser/tokenization.js +1 -1
- package/vscode/src/vs/editor/contrib/unicodeHighlighter/browser/unicodeHighlighter.js +24 -24
- package/vscode/src/vs/editor/contrib/unusualLineTerminators/browser/unusualLineTerminators.js +5 -5
- package/vscode/src/vs/editor/contrib/wordHighlighter/browser/highlightDecorations.js +9 -9
- package/vscode/src/vs/editor/contrib/wordHighlighter/browser/wordHighlighter.js +3 -3
- package/vscode/src/vs/editor/contrib/wordOperations/browser/wordOperations.js +1 -1
- package/vscode/src/vs/editor/contrib/zoneWidget/browser/zoneWidget.d.ts +2 -2
- package/vscode/src/vs/editor/contrib/zoneWidget/browser/zoneWidget.js +8 -3
- package/vscode/src/vs/editor/standalone/browser/quickInput/standaloneQuickInputService.d.ts +4 -0
- package/vscode/src/vs/editor/standalone/browser/quickInput/standaloneQuickInputService.js +3 -0
- package/vscode/src/vs/editor/standalone/browser/standaloneServices.js +2 -1
- package/vscode/src/vs/editor/standalone/browser/standaloneTreeSitterService.d.ts +3 -7
- package/vscode/src/vs/editor/standalone/browser/standaloneTreeSitterService.js +1 -1
- package/vscode/src/vs/platform/accessibility/browser/accessibleView.d.ts +3 -2
- package/vscode/src/vs/platform/accessibility/browser/accessibleView.js +1 -0
- package/vscode/src/vs/platform/accessibility/browser/accessibleViewRegistry.d.ts +4 -4
- package/vscode/src/vs/platform/accessibilitySignal/browser/accessibilitySignalService.js +52 -52
- package/vscode/src/vs/platform/action/common/actionCommonCategories.js +6 -6
- package/vscode/src/vs/platform/actionWidget/browser/actionList.js +4 -4
- package/vscode/src/vs/platform/actionWidget/browser/actionWidget.js +7 -7
- package/vscode/src/vs/platform/actions/browser/dropdownWithPrimaryActionViewItem.d.ts +39 -0
- package/vscode/src/vs/platform/actions/browser/dropdownWithPrimaryActionViewItem.js +145 -0
- package/vscode/src/vs/platform/actions/browser/menuEntryActionViewItem.d.ts +1 -0
- package/vscode/src/vs/platform/actions/browser/menuEntryActionViewItem.js +6 -6
- package/vscode/src/vs/platform/actions/browser/toolbar.js +2 -2
- package/vscode/src/vs/platform/actions/common/actions.d.ts +4 -1
- package/vscode/src/vs/platform/actions/common/actions.js +9 -6
- package/vscode/src/vs/platform/actions/common/menuResetAction.js +1 -1
- package/vscode/src/vs/platform/actions/common/menuService.js +2 -2
- package/vscode/src/vs/platform/commands/common/commands.js +2 -2
- package/vscode/src/vs/platform/configuration/common/configuration.d.ts +4 -1
- package/vscode/src/vs/platform/configuration/common/configuration.js +3 -0
- package/vscode/src/vs/platform/configuration/common/configurationModels.d.ts +2 -2
- package/vscode/src/vs/platform/configuration/common/configurationModels.js +39 -21
- package/vscode/src/vs/platform/configuration/common/configurationRegistry.d.ts +9 -4
- package/vscode/src/vs/platform/configuration/common/configurationRegistry.js +25 -15
- package/vscode/src/vs/platform/contextkey/browser/contextKeyService.js +1 -1
- package/vscode/src/vs/platform/contextkey/common/contextkey.js +11 -11
- package/vscode/src/vs/platform/contextkey/common/contextkeys.js +9 -9
- package/vscode/src/vs/platform/contextkey/common/scanner.js +5 -5
- package/vscode/src/vs/platform/contextview/browser/contextView.service.d.ts +2 -2
- package/vscode/src/vs/platform/dialogs/common/dialogs.service.d.ts +1 -1
- package/vscode/src/vs/platform/dnd/browser/dnd.js +1 -1
- package/vscode/src/vs/platform/environment/common/argv.d.ts +2 -0
- package/vscode/src/vs/platform/environment/common/environment.service.d.ts +1 -1
- package/vscode/src/vs/platform/extensionManagement/common/extensionManagement.d.ts +5 -3
- package/vscode/src/vs/platform/extensionManagement/common/extensionManagement.js +17 -6
- package/vscode/src/vs/platform/extensionManagement/common/extensionManagement.service.d.ts +5 -5
- package/vscode/src/vs/platform/extensionManagement/common/extensionManagementUtil.d.ts +2 -1
- package/vscode/src/vs/platform/extensionManagement/common/extensionManagementUtil.js +10 -1
- package/vscode/src/vs/platform/extensionManagement/common/extensionNls.js +1 -1
- package/vscode/src/vs/platform/extensionManagement/common/extensionsProfileScannerService.d.ts +3 -5
- package/vscode/src/vs/platform/extensionManagement/common/extensionsProfileScannerService.js +8 -13
- package/vscode/src/vs/platform/extensionManagement/common/extensionsProfileScannerService.service.d.ts +2 -2
- package/vscode/src/vs/platform/extensionManagement/common/extensionsScannerService.d.ts +20 -14
- package/vscode/src/vs/platform/extensionManagement/common/extensionsScannerService.js +127 -125
- package/vscode/src/vs/platform/extensionManagement/common/extensionsScannerService.service.d.ts +8 -9
- package/vscode/src/vs/platform/extensions/common/extensionValidator.js +20 -20
- package/vscode/src/vs/platform/extensions/common/extensions.d.ts +56 -25
- package/vscode/src/vs/platform/extensions/common/extensions.js +8 -1
- package/vscode/src/vs/platform/extensions/common/extensionsApiProposals.d.ts +11 -8
- package/vscode/src/vs/platform/extensions/common/extensionsApiProposals.js +12 -9
- package/vscode/src/vs/platform/files/browser/htmlFileSystemProvider.js +2 -2
- package/vscode/src/vs/platform/files/common/files.js +6 -6
- package/vscode/src/vs/platform/history/browser/contextScopedHistoryWidget.js +1 -1
- package/vscode/src/vs/platform/instantiation/common/extensions.d.ts +3 -2
- package/vscode/src/vs/platform/keybinding/common/abstractKeybindingService.js +4 -4
- package/vscode/src/vs/platform/label/common/label.service.d.ts +2 -1
- package/vscode/src/vs/platform/languagePacks/common/languagePacks.service.d.ts +1 -1
- package/vscode/src/vs/platform/list/browser/listService.d.ts +1 -0
- package/vscode/src/vs/platform/list/browser/listService.js +27 -27
- package/vscode/src/vs/platform/log/common/log.d.ts +6 -0
- package/vscode/src/vs/platform/log/common/log.js +18 -9
- package/vscode/src/vs/platform/markers/common/markers.js +3 -3
- package/vscode/src/vs/platform/quickinput/browser/media/quickInput.css.js +1 -1
- package/vscode/src/vs/platform/quickinput/browser/quickInput.d.ts +5 -0
- package/vscode/src/vs/platform/quickinput/browser/quickInput.js +19 -9
- package/vscode/src/vs/platform/quickinput/browser/quickInputActions.js +3 -3
- package/vscode/src/vs/platform/quickinput/browser/quickInputController.d.ts +11 -1
- package/vscode/src/vs/platform/quickinput/browser/quickInputController.js +241 -12
- package/vscode/src/vs/platform/quickinput/browser/quickInputService.d.ts +4 -0
- package/vscode/src/vs/platform/quickinput/browser/quickInputService.js +3 -0
- package/vscode/src/vs/platform/quickinput/browser/quickInputTree.js +1 -1
- package/vscode/src/vs/platform/quickinput/browser/quickInputUtils.js +1 -1
- package/vscode/src/vs/platform/quickinput/common/quickInput.d.ts +2 -1
- package/vscode/src/vs/platform/quickinput/common/quickInput.service.d.ts +4 -0
- package/vscode/src/vs/platform/request/common/request.d.ts +2 -2
- package/vscode/src/vs/platform/request/common/request.js +171 -112
- package/vscode/src/vs/platform/telemetry/common/telemetryUtils.d.ts +2 -0
- package/vscode/src/vs/platform/telemetry/common/telemetryUtils.js +3 -1
- package/vscode/src/vs/platform/terminal/common/terminal.d.ts +6 -2
- package/vscode/src/vs/platform/terminal/common/terminal.js +5 -1
- package/vscode/src/vs/platform/terminal/common/terminal.service.d.ts +1 -1
- package/vscode/src/vs/platform/theme/common/colorUtils.js +2 -2
- package/vscode/src/vs/platform/theme/common/colors/baseColors.js +17 -17
- package/vscode/src/vs/platform/theme/common/colors/chartsColors.js +8 -8
- package/vscode/src/vs/platform/theme/common/colors/editorColors.js +96 -96
- package/vscode/src/vs/platform/theme/common/colors/inputColors.js +45 -45
- package/vscode/src/vs/platform/theme/common/colors/listColors.js +36 -36
- package/vscode/src/vs/platform/theme/common/colors/menuColors.js +7 -7
- package/vscode/src/vs/platform/theme/common/colors/minimapColors.js +11 -11
- package/vscode/src/vs/platform/theme/common/colors/miscColors.js +15 -15
- package/vscode/src/vs/platform/theme/common/colors/quickpickColors.js +9 -9
- package/vscode/src/vs/platform/theme/common/colors/searchColors.js +3 -3
- package/vscode/src/vs/platform/theme/common/iconRegistry.d.ts +7 -0
- package/vscode/src/vs/platform/theme/common/iconRegistry.js +17 -7
- package/vscode/src/vs/platform/theme/common/theme.d.ts +6 -0
- package/vscode/src/vs/platform/theme/common/theme.js +8 -1
- package/vscode/src/vs/platform/theme/common/themeService.d.ts +12 -3
- package/vscode/src/vs/platform/theme/common/themeService.js +5 -5
- package/vscode/src/vs/platform/undoRedo/common/undoRedoService.js +20 -20
- package/vscode/src/vs/platform/userDataProfile/common/userDataProfile.js +1 -1
- package/vscode/src/vs/platform/userDataSync/common/userDataSync.d.ts +7 -5
- package/vscode/src/vs/platform/userDataSync/common/userDataSync.js +5 -5
- package/vscode/src/vs/platform/userDataSync/common/userDataSync.service.d.ts +3 -3
- package/vscode/src/vs/platform/window/common/window.d.ts +6 -1
- package/vscode/src/vs/platform/workspace/common/workspace.js +1 -1
- package/vscode/src/vs/platform/workspaces/common/workspaces.service.d.ts +2 -2
- package/vscode/src/vs/workbench/api/browser/statusBarService.d.ts +3 -2
- package/vscode/src/vs/workbench/api/browser/statusBarService.js +3 -2
- package/vscode/src/vs/workbench/api/common/extHost.api.impl.js +10 -14
- package/vscode/src/vs/workbench/api/common/extHost.protocol.d.ts +18 -11
- package/vscode/src/vs/workbench/api/common/extHostApiCommands.js +1 -20
- package/vscode/src/vs/workbench/api/common/extHostChatAgents2.d.ts +2 -0
- package/vscode/src/vs/workbench/api/common/extHostChatAgents2.js +37 -10
- package/vscode/src/vs/workbench/api/common/extHostCodeMapper.js +4 -18
- package/vscode/src/vs/workbench/api/common/extHostCommands.d.ts +2 -2
- package/vscode/src/vs/workbench/api/common/extHostCommands.js +1 -1
- package/vscode/src/vs/workbench/api/common/extHostComments.js +3 -5
- package/vscode/src/vs/workbench/api/common/extHostConfiguration.d.ts +16 -0
- package/vscode/src/vs/workbench/api/common/extHostConfiguration.js +4 -0
- package/vscode/src/vs/workbench/api/common/extHostDiagnostics.js +1 -1
- package/vscode/src/vs/workbench/api/common/extHostDialogs.d.ts +1 -2
- package/vscode/src/vs/workbench/api/common/extHostDialogs.js +1 -5
- package/vscode/src/vs/workbench/api/common/extHostExtensionService.js +2 -2
- package/vscode/src/vs/workbench/api/common/extHostLabelService.d.ts +1 -1
- package/vscode/src/vs/workbench/api/common/extHostLanguageFeatures.d.ts +0 -2
- package/vscode/src/vs/workbench/api/common/extHostLanguageFeatures.js +29 -65
- package/vscode/src/vs/workbench/api/common/extHostLanguageModelTools.d.ts +3 -2
- package/vscode/src/vs/workbench/api/common/extHostLanguageModelTools.js +33 -13
- package/vscode/src/vs/workbench/api/common/extHostLanguageModels.js +3 -2
- package/vscode/src/vs/workbench/api/common/extHostLogService.js +1 -1
- package/vscode/src/vs/workbench/api/common/extHostMemento.js +6 -1
- package/vscode/src/vs/workbench/api/common/extHostNotebook.js +2 -2
- package/vscode/src/vs/workbench/api/common/extHostSCM.js +2 -1
- package/vscode/src/vs/workbench/api/common/extHostStatusBar.d.ts +10 -2
- package/vscode/src/vs/workbench/api/common/extHostStatusBar.js +47 -7
- package/vscode/src/vs/workbench/api/common/extHostTelemetry.js +12 -8
- package/vscode/src/vs/workbench/api/common/extHostTerminalService.d.ts +3 -1
- package/vscode/src/vs/workbench/api/common/extHostTerminalService.js +66 -5
- package/vscode/src/vs/workbench/api/common/extHostTerminalShellIntegration.d.ts +1 -0
- package/vscode/src/vs/workbench/api/common/extHostTerminalShellIntegration.js +18 -1
- package/vscode/src/vs/workbench/api/common/extHostTimeline.js +2 -2
- package/vscode/src/vs/workbench/api/common/extHostTreeViews.js +1 -1
- package/vscode/src/vs/workbench/api/common/extHostTunnelService.js +2 -2
- package/vscode/src/vs/workbench/api/common/extHostTypeConverters.d.ts +4 -13
- package/vscode/src/vs/workbench/api/common/extHostTypeConverters.js +7 -61
- package/vscode/src/vs/workbench/api/common/extHostTypes.d.ts +24 -3
- package/vscode/src/vs/workbench/api/common/extHostTypes.js +37 -5
- package/vscode/src/vs/workbench/api/common/extHostVariableResolverService.js +22 -2
- package/vscode/src/vs/workbench/api/common/extHostWorkspace.d.ts +1 -1
- package/vscode/src/vs/workbench/api/common/extHostWorkspace.js +3 -2
- package/vscode/src/vs/workbench/api/common/extensionHostMain.js +17 -8
- package/vscode/src/vs/workbench/api/common/jsonValidationExtensionPoint.js +12 -12
- package/vscode/src/vs/workbench/browser/actions/developerActions.js +31 -31
- package/vscode/src/vs/workbench/browser/actions/textInputActions.js +6 -6
- package/vscode/src/vs/workbench/browser/parts/titlebar/titlebarActions.d.ts +12 -0
- package/vscode/src/vs/workbench/browser/parts/titlebar/titlebarActions.js +247 -0
- package/vscode/src/vs/workbench/common/activity.d.ts +2 -0
- package/vscode/src/vs/workbench/common/activity.js +6 -0
- package/vscode/src/vs/workbench/common/configuration.js +12 -12
- package/vscode/src/vs/workbench/common/contextkeys.js +70 -70
- package/vscode/src/vs/workbench/common/editor/editorInput.d.ts +1 -1
- package/vscode/src/vs/workbench/common/editor/resourceEditorInput.d.ts +44 -0
- package/vscode/src/vs/workbench/common/editor/resourceEditorInput.js +166 -0
- package/vscode/src/vs/workbench/common/editor.d.ts +1 -1
- package/vscode/src/vs/workbench/common/editor.js +4 -4
- package/vscode/src/vs/workbench/common/theme.js +159 -164
- package/vscode/src/vs/workbench/common/views.js +4 -4
- package/vscode/src/vs/workbench/contrib/accessibility/browser/accessibilityConfiguration.d.ts +2 -1
- package/vscode/src/vs/workbench/contrib/accessibility/browser/accessibilityConfiguration.js +152 -142
- package/vscode/src/vs/workbench/contrib/accessibility/browser/accessibleViewActions.js +14 -14
- package/vscode/src/vs/workbench/contrib/accessibility/browser/editorAccessibilityHelp.d.ts +1 -0
- package/vscode/src/vs/workbench/contrib/accessibility/browser/editorAccessibilityHelp.js +16 -1
- package/vscode/src/vs/workbench/contrib/chat/browser/actions/chatActions.d.ts +28 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/actions/chatActions.js +521 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/actions/chatClear.d.ts +3 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/actions/chatClear.js +20 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/chat.d.ts +136 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/chat.js +51 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/chat.service.d.ts +3 -3
- package/vscode/src/vs/workbench/contrib/chat/browser/chatContentParts/chatContentParts.d.ts +2 -2
- package/vscode/src/vs/workbench/contrib/chat/browser/chatContentParts/chatMarkdownAnchorService.service.d.ts +8 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/chatContentParts/chatMarkdownAnchorService.service.js +6 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/chatEditing/chatEditing.d.ts +4 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/chatEditing/chatEditing.js +15 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/chatEditorActions.d.ts +23 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/chatEditorActions.js +309 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/chatEditorController.d.ts +81 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/chatEditorController.js +681 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/chatEditorInput.d.ts +57 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/chatEditorInput.js +169 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/chatEditorOverlay.d.ts +20 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/chatEditorOverlay.js +296 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/chatQuotasService.d.ts +41 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/chatQuotasService.js +198 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/chatQuotasService.service.d.ts +1 -1
- package/vscode/src/vs/workbench/contrib/chat/browser/contrib/screenshot.d.ts +3 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/contrib/screenshot.js +15 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/media/chatEditorController.css.js +6 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/media/chatEditorOverlay.css.js +6 -0
- package/vscode/src/vs/workbench/contrib/chat/common/annotations.d.ts +20 -0
- package/vscode/src/vs/workbench/contrib/chat/common/annotations.js +134 -0
- package/vscode/src/vs/workbench/contrib/chat/common/chatAgents.d.ts +16 -4
- package/vscode/src/vs/workbench/contrib/chat/common/chatAgents.js +48 -5
- package/vscode/src/vs/workbench/contrib/chat/common/chatAgents.service.d.ts +4 -0
- package/vscode/src/vs/workbench/contrib/chat/common/chatCodeMapperService.service.d.ts +1 -2
- package/vscode/src/vs/workbench/contrib/chat/common/chatContextKeys.d.ts +15 -3
- package/vscode/src/vs/workbench/contrib/chat/common/chatContextKeys.js +61 -29
- package/vscode/src/vs/workbench/contrib/chat/common/chatEditingService.d.ts +19 -3
- package/vscode/src/vs/workbench/contrib/chat/common/chatEditingService.js +17 -2
- package/vscode/src/vs/workbench/contrib/chat/common/chatEditingService.service.d.ts +3 -4
- package/vscode/src/vs/workbench/contrib/chat/common/chatModel.d.ts +444 -0
- package/vscode/src/vs/workbench/contrib/chat/common/chatModel.js +991 -0
- package/vscode/src/vs/workbench/contrib/chat/common/chatParserTypes.d.ts +112 -0
- package/vscode/src/vs/workbench/contrib/chat/common/chatParserTypes.js +181 -0
- package/vscode/src/vs/workbench/contrib/chat/common/chatParticipantContribTypes.d.ts +35 -0
- package/vscode/src/vs/workbench/contrib/chat/common/chatParticipantContribTypes.js +5 -0
- package/vscode/src/vs/workbench/contrib/chat/common/chatService.d.ts +6 -1
- package/vscode/src/vs/workbench/contrib/chat/common/chatService.js +1 -2
- package/vscode/src/vs/workbench/contrib/chat/common/chatService.service.d.ts +3 -3
- package/vscode/src/vs/workbench/contrib/chat/common/chatVariables.d.ts +1 -1
- package/vscode/src/vs/workbench/contrib/chat/common/chatVariables.service.d.ts +2 -2
- package/vscode/src/vs/workbench/contrib/chat/common/chatViewModel.d.ts +234 -0
- package/vscode/src/vs/workbench/contrib/chat/common/chatViewModel.js +375 -0
- package/vscode/src/vs/workbench/contrib/chat/common/chatWidgetHistoryService.service.d.ts +1 -1
- package/vscode/src/vs/workbench/contrib/chat/common/chatWordCounter.d.ts +8 -0
- package/vscode/src/vs/workbench/contrib/chat/common/chatWordCounter.js +38 -0
- package/vscode/src/vs/workbench/contrib/chat/common/languageModelStats.d.ts +12 -0
- package/vscode/src/vs/workbench/contrib/chat/common/languageModelStats.js +42 -0
- package/vscode/src/vs/workbench/contrib/chat/common/languageModelToolsService.d.ts +3 -0
- package/vscode/src/vs/workbench/contrib/chat/common/languageModelToolsService.service.d.ts +1 -0
- package/vscode/src/vs/workbench/contrib/chat/common/languageModels.d.ts +10 -5
- package/vscode/src/vs/workbench/contrib/chat/common/languageModels.js +7 -7
- package/vscode/src/vs/workbench/contrib/chat/common/promptSyntax/contentProviders/types.d.ts +9 -0
- package/vscode/src/vs/workbench/contrib/chat/common/promptSyntax/parsers/types.d.ts +27 -0
- package/vscode/src/vs/workbench/contrib/chat/common/tools/editFileTool.d.ts +34 -0
- package/vscode/src/vs/workbench/contrib/chat/common/tools/editFileTool.js +168 -0
- package/vscode/src/vs/workbench/contrib/codeActions/browser/codeActionsContribution.js +13 -13
- package/vscode/src/vs/workbench/contrib/codeEditor/browser/dictation/editorDictation.js +4 -4
- package/vscode/src/vs/workbench/contrib/codeEditor/browser/diffEditorAccessibilityHelp.d.ts +2 -2
- package/vscode/src/vs/workbench/contrib/codeEditor/browser/diffEditorAccessibilityHelp.js +5 -5
- package/vscode/src/vs/workbench/contrib/codeEditor/browser/diffEditorHelper.js +3 -3
- package/vscode/src/vs/workbench/contrib/codeEditor/browser/largeFileOptimizations.js +3 -3
- package/vscode/src/vs/workbench/contrib/codeEditor/browser/saveParticipants.d.ts +1 -1
- package/vscode/src/vs/workbench/contrib/codeEditor/browser/saveParticipants.js +4 -4
- package/vscode/src/vs/workbench/contrib/codeEditor/browser/toggleMinimap.js +2 -2
- package/vscode/src/vs/workbench/contrib/codeEditor/browser/toggleMultiCursorModifier.js +4 -4
- package/vscode/src/vs/workbench/contrib/codeEditor/browser/toggleRenderControlCharacter.js +2 -2
- package/vscode/src/vs/workbench/contrib/codeEditor/browser/toggleRenderWhitespace.js +2 -2
- package/vscode/src/vs/workbench/contrib/codeEditor/browser/toggleWordWrap.js +9 -19
- package/vscode/src/vs/workbench/contrib/comments/browser/commentService.service.d.ts +1 -1
- package/vscode/src/vs/workbench/contrib/comments/browser/commentsAccessibility.d.ts +2 -2
- package/vscode/src/vs/workbench/contrib/comments/browser/commentsAccessibility.js +12 -12
- package/vscode/src/vs/workbench/contrib/comments/common/commentContextKeys.d.ts +1 -0
- package/vscode/src/vs/workbench/contrib/comments/common/commentContextKeys.js +14 -10
- package/vscode/src/vs/workbench/contrib/debug/common/abstractDebugAdapter.js +1 -1
- package/vscode/src/vs/workbench/contrib/debug/common/debug.d.ts +4 -0
- package/vscode/src/vs/workbench/contrib/debug/common/debug.js +64 -64
- package/vscode/src/vs/workbench/contrib/editSessions/common/editSessions.service.d.ts +1 -1
- package/vscode/src/vs/workbench/contrib/extensions/common/extensions.d.ts +167 -0
- package/vscode/src/vs/workbench/contrib/extensions/common/extensions.js +85 -0
- package/vscode/src/vs/workbench/contrib/extensions/common/extensions.service.d.ts +1 -2
- package/vscode/src/vs/workbench/contrib/files/browser/fileConstants.js +6 -6
- package/vscode/src/vs/workbench/contrib/files/browser/files.service.d.ts +2 -2
- package/vscode/src/vs/workbench/contrib/folding/browser/folding.contribution.js +3 -3
- package/vscode/src/vs/workbench/contrib/format/browser/formatActionsMultiple.js +20 -20
- package/vscode/src/vs/workbench/contrib/format/browser/formatActionsNone.js +4 -4
- package/vscode/src/vs/workbench/contrib/format/browser/formatModified.js +2 -2
- package/vscode/src/vs/workbench/contrib/inlayHints/browser/inlayHintsAccessibilty.js +4 -4
- package/vscode/src/vs/workbench/contrib/inlineChat/browser/inlineChatSessionService.d.ts +10 -0
- package/vscode/src/vs/workbench/contrib/inlineChat/browser/inlineChatSessionService.service.d.ts +4 -3
- package/vscode/src/vs/workbench/contrib/list/browser/listResizeColumnAction.js +2 -2
- package/vscode/src/vs/workbench/contrib/list/browser/tableColumnResizeQuickPick.js +5 -5
- package/vscode/src/vs/workbench/contrib/logs/common/defaultLogLevels.service.d.ts +0 -1
- package/vscode/src/vs/workbench/contrib/multiDiffEditor/browser/multiDiffSourceResolverService.service.d.ts +1 -1
- package/vscode/src/vs/workbench/contrib/notebook/browser/contrib/chatEdit/notebookChatEditContext.d.ts +2 -0
- package/vscode/src/vs/workbench/contrib/notebook/browser/contrib/chatEdit/notebookChatEditContext.js +7 -0
- package/vscode/src/vs/workbench/contrib/notebook/browser/contrib/chatEdit/notebookSynchronizer.service.d.ts +1 -1
- package/vscode/src/vs/workbench/contrib/notebook/browser/notebookBrowser.d.ts +602 -0
- package/vscode/src/vs/workbench/contrib/notebook/browser/notebookBrowser.js +143 -0
- package/vscode/src/vs/workbench/contrib/notebook/browser/services/notebookEditorService.service.d.ts +2 -2
- package/vscode/src/vs/workbench/contrib/notebook/common/notebookCommon.d.ts +6 -4
- package/vscode/src/vs/workbench/contrib/notebook/common/notebookCommon.js +2 -0
- package/vscode/src/vs/workbench/contrib/notebook/common/notebookEditorInput.d.ts +60 -0
- package/vscode/src/vs/workbench/contrib/notebook/common/notebookEditorInput.js +316 -0
- package/vscode/src/vs/workbench/contrib/notebook/common/notebookExecutionService.d.ts +1 -1
- package/vscode/src/vs/workbench/contrib/notebook/common/notebookExecutionService.service.d.ts +1 -1
- package/vscode/src/vs/workbench/contrib/notebook/common/notebookExecutionStateService.service.d.ts +1 -1
- package/vscode/src/vs/workbench/contrib/notebook/common/notebookRange.d.ts +13 -0
- package/vscode/src/vs/workbench/contrib/notebook/common/notebookRange.js +73 -0
- package/vscode/src/vs/workbench/contrib/notebook/common/notebookService.d.ts +36 -0
- package/vscode/src/vs/workbench/contrib/notebook/common/notebookService.js +11 -0
- package/vscode/src/vs/workbench/contrib/notebook/common/notebookService.service.d.ts +3 -3
- package/vscode/src/vs/workbench/contrib/notebook/common/notebookSynchronizerService.service.d.ts +1 -1
- package/vscode/src/vs/workbench/contrib/scm/browser/quickDiffModel.service.d.ts +8 -0
- package/vscode/src/vs/workbench/contrib/scm/browser/{diff.service.js → quickDiffModel.service.js} +2 -2
- package/vscode/src/vs/workbench/contrib/scm/common/history.d.ts +5 -1
- package/vscode/src/vs/workbench/contrib/scm/common/quickDiff.d.ts +30 -1
- package/vscode/src/vs/workbench/contrib/scm/common/quickDiff.js +95 -0
- package/vscode/src/vs/workbench/contrib/scm/common/quickDiffService.d.ts +17 -0
- package/vscode/src/vs/workbench/contrib/scm/common/quickDiffService.js +82 -0
- package/vscode/src/vs/workbench/contrib/scm/common/scm.service.d.ts +1 -1
- package/vscode/src/vs/workbench/contrib/snippets/browser/snippetCompletionProvider.js +3 -3
- package/vscode/src/vs/workbench/contrib/snippets/browser/snippetsFile.js +3 -3
- package/vscode/src/vs/workbench/contrib/snippets/browser/snippetsService.js +9 -9
- package/vscode/src/vs/workbench/contrib/speech/common/speechService.d.ts +2 -1
- package/vscode/src/vs/workbench/contrib/speech/common/speechService.js +30 -29
- package/vscode/src/vs/workbench/contrib/tasks/common/taskDefinitionRegistry.js +5 -5
- package/vscode/src/vs/workbench/contrib/tasks/common/tasks.js +3 -3
- package/vscode/src/vs/workbench/contrib/terminal/browser/terminal.d.ts +3 -0
- package/vscode/src/vs/workbench/contrib/terminal/browser/terminal.service.d.ts +3 -2
- package/vscode/src/vs/workbench/contrib/terminal/common/terminal.service.d.ts +2 -2
- package/vscode/src/vs/workbench/contrib/testing/common/constants.js +11 -11
- package/vscode/src/vs/workbench/contrib/testing/common/testCoverageService.service.d.ts +1 -1
- package/vscode/src/vs/workbench/contrib/testing/common/testExplorerFilterState.service.d.ts +1 -1
- package/vscode/src/vs/workbench/contrib/testing/common/testId.d.ts +1 -0
- package/vscode/src/vs/workbench/contrib/testing/common/testId.js +3 -0
- package/vscode/src/vs/workbench/contrib/testing/common/testTypes.js +3 -3
- package/vscode/src/vs/workbench/contrib/webview/browser/webview.service.d.ts +1 -1
- package/vscode/src/vs/workbench/contrib/webviewPanel/browser/webviewWorkbenchService.service.d.ts +2 -2
- package/vscode/src/vs/workbench/services/configurationResolver/common/configurationResolver.d.ts +1 -0
- package/vscode/src/vs/workbench/services/configurationResolver/common/configurationResolver.js +1 -0
- package/vscode/src/vs/workbench/services/configurationResolver/common/variableResolver.d.ts +1 -0
- package/vscode/src/vs/workbench/services/configurationResolver/common/variableResolver.js +26 -15
- package/vscode/src/vs/workbench/services/editor/common/editorResolverService.js +1 -1
- package/vscode/src/vs/workbench/services/extensionManagement/common/extensionManagement.d.ts +5 -1
- package/vscode/src/vs/workbench/services/extensionManagement/common/extensionManagement.service.d.ts +10 -4
- package/vscode/src/vs/workbench/services/extensionRecommendations/common/extensionRecommendations.service.d.ts +1 -1
- package/vscode/src/vs/workbench/services/extensionRecommendations/common/workspaceExtensionsConfig.service.d.ts +1 -1
- package/vscode/src/vs/workbench/services/extensions/browser/extensionUrlHandler.service.d.ts +1 -1
- package/vscode/src/vs/workbench/services/extensions/common/extensions.d.ts +3 -2
- package/vscode/src/vs/workbench/services/extensions/common/extensionsRegistry.js +83 -83
- package/vscode/src/vs/workbench/services/filesConfiguration/common/filesConfigurationService.service.d.ts +1 -1
- package/vscode/src/vs/workbench/services/language/common/languageService.js +28 -28
- package/vscode/src/vs/workbench/services/layout/browser/layoutService.d.ts +63 -0
- package/vscode/src/vs/workbench/services/layout/browser/layoutService.js +164 -0
- package/vscode/src/vs/workbench/services/layout/browser/layoutService.service.d.ts +1 -1
- package/vscode/src/vs/workbench/services/localization/common/locale.service.d.ts +1 -1
- package/vscode/src/vs/workbench/services/log/common/logConstants.d.ts +2 -0
- package/vscode/src/vs/workbench/services/log/common/logConstants.js +3 -1
- package/vscode/src/vs/workbench/services/outline/browser/outline.service.d.ts +1 -1
- package/vscode/src/vs/workbench/services/output/common/output.d.ts +51 -8
- package/vscode/src/vs/workbench/services/output/common/output.js +30 -4
- package/vscode/src/vs/workbench/services/output/common/output.service.d.ts +8 -1
- package/vscode/src/vs/workbench/services/panecomposite/browser/panecomposite.service.d.ts +1 -1
- package/vscode/src/vs/workbench/services/preferences/common/preferences.service.d.ts +2 -2
- package/vscode/src/vs/workbench/services/remote/common/remoteExplorerService.js +8 -8
- package/vscode/src/vs/workbench/services/remote/common/tunnelModel.js +6 -6
- package/vscode/src/vs/workbench/services/search/common/queryBuilder.js +1 -1
- package/vscode/src/vs/workbench/services/statusbar/browser/statusbar.d.ts +9 -4
- package/vscode/src/vs/workbench/services/statusbar/browser/statusbar.js +5 -1
- package/vscode/src/vs/workbench/services/textfile/common/textfiles.service.d.ts +1 -1
- package/vscode/src/vs/workbench/services/themes/common/colorExtensionPoint.js +22 -22
- package/vscode/src/vs/workbench/services/themes/common/iconExtensionPoint.js +15 -21
- package/vscode/src/vs/workbench/services/untitled/common/untitledTextEditorService.service.d.ts +21 -2
- package/vscode/src/vs/workbench/services/userDataProfile/common/userDataProfile.service.d.ts +3 -3
- package/vscode/src/vs/workbench/services/userDataSync/common/userDataSync.js +11 -11
- package/vscode/src/vs/workbench/services/workingCopy/common/workingCopyBackup.d.ts +1 -1
- package/vscode/src/vs/workbench/services/workingCopy/common/workingCopyBackup.service.d.ts +1 -1
- package/vscode/src/vs/workbench/services/workingCopy/common/workingCopyEditorService.service.d.ts +1 -1
- package/vscode/src/vs/workbench/services/workingCopy/common/workingCopyFileService.service.d.ts +1 -1
- package/vscode/src/vs/workbench/services/workingCopy/common/workingCopyService.service.d.ts +1 -1
- package/vscode/src/vs/workbench/services/workspaces/common/workspaceEditing.service.d.ts +1 -1
- package/vscode-dts/vscode.d.ts +375 -32
- package/vscode-dts/vscode.proposed.aiRelatedInformation.d.ts +1 -1
- package/vscode-dts/vscode.proposed.chatParticipantAdditions.d.ts +11 -0
- package/vscode-dts/vscode.proposed.chatParticipantPrivate.d.ts +9 -0
- package/vscode-dts/vscode.proposed.chatProvider.d.ts +4 -0
- package/vscode-dts/vscode.proposed.chatReadonlyPromptReference.d.ts +17 -0
- package/vscode-dts/vscode.proposed.chatReferenceBinaryData.d.ts +5 -0
- package/vscode-dts/vscode.proposed.d.ts +132 -131
- package/vscode-dts/vscode.proposed.externalUriOpener.d.ts +3 -3
- package/vscode-dts/vscode.proposed.inlineCompletionsAdditions.d.ts +2 -0
- package/vscode-dts/vscode.proposed.inlineEdit.d.ts +14 -3
- package/vscode-dts/vscode.proposed.mappedEditsProvider.d.ts +21 -1
- package/vscode-dts/vscode.proposed.notebookVariableProvider.d.ts +3 -3
- package/vscode-dts/vscode.proposed.quickDiffProvider.d.ts +1 -1
- package/vscode-dts/vscode.proposed.resolvers.d.ts +3 -3
- package/vscode-dts/vscode.proposed.scmHistoryProvider.d.ts +4 -2
- package/vscode-dts/vscode.proposed.statusBarItemTooltip.d.ts +19 -0
- package/vscode-dts/vscode.proposed.terminalCompletionProvider.d.ts +10 -0
- package/vscode-dts/vscode.proposed.terminalQuickFixProvider.d.ts +2 -2
- package/vscode-dts/vscode.proposed.terminalShellEnv.d.ts +18 -0
- package/vscode-dts/vscode.proposed.terminalShellType.d.ts +40 -0
- package/vscode/src/vs/base/common/observableInternal/index.js +0 -8
- package/vscode/src/vs/base/common/observableInternal/promise.d.ts +0 -28
- package/vscode/src/vs/base/common/observableInternal/promise.js +0 -65
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/view/inlineEdits/inlineEditsView.css.js +0 -6
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/view/inlineEdits/inlineEditsView.d.ts +0 -45
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/view/inlineEdits/inlineEditsView.js +0 -426
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/view/inlineEdits/inlineEditsViewAndDiffProducer.js +0 -116
- package/vscode/src/vs/workbench/contrib/inlineChat/browser/inlineChatSavingService.service.d.ts +0 -6
- package/vscode/src/vs/workbench/contrib/inlineChat/browser/inlineChatSavingService.service.js +0 -6
- package/vscode/src/vs/workbench/contrib/mappedEdits/common/mappedEdits.contribution.d.ts +0 -1
- package/vscode/src/vs/workbench/contrib/mappedEdits/common/mappedEdits.contribution.js +0 -24
- package/vscode/src/vs/workbench/contrib/output/common/outputChannelModelService.service.d.ts +0 -8
- package/vscode/src/vs/workbench/contrib/output/common/outputChannelModelService.service.js +0 -6
- package/vscode/src/vs/workbench/contrib/scm/browser/diff.service.d.ts +0 -9
- package/vscode/src/vs/workbench/contrib/scm/browser/dirtyDiffSwitcher.d.ts +0 -22
- package/vscode/src/vs/workbench/contrib/scm/browser/dirtyDiffSwitcher.js +0 -66
- package/vscode/src/vs/workbench/contrib/scm/browser/dirtydiffDecorator.d.ts +0 -155
- package/vscode/src/vs/workbench/contrib/scm/browser/dirtydiffDecorator.js +0 -1454
- package/vscode/src/vs/workbench/contrib/scm/browser/media/dirtydiffDecorator.css.js +0 -6
- package/vscode/src/vs/workbench/services/textfile/common/textfiles.d.ts +0 -164
- package/vscode/src/vs/workbench/services/textfile/common/textfiles.js +0 -74
- package/vscode/src/vs/workbench/services/themes/common/productIconThemeSchema.d.ts +0 -8
- package/vscode/src/vs/workbench/services/themes/common/productIconThemeSchema.js +0 -93
- package/vscode-dts/vscode.proposed.documentPaste.d.ts +0 -316
- package/vscode-dts/vscode.proposed.fileComments.d.ts +0 -42
- package/vscode-dts/vscode.proposed.showLocal.d.ts +0 -19
- /package/vscode/src/vs/editor/browser/gpu/{fullFileRenderStrategy.wgsl.d.ts → renderStrategy/fullFileRenderStrategy.wgsl.d.ts} +0 -0
|
@@ -17,14 +17,14 @@ let TableColumnResizeQuickPick = class TableColumnResizeQuickPick extends Dispos
|
|
|
17
17
|
items.push({ label, index });
|
|
18
18
|
}
|
|
19
19
|
});
|
|
20
|
-
const column = await this._quickInputService.pick(items, { placeHolder: ( localize(
|
|
20
|
+
const column = await this._quickInputService.pick(items, { placeHolder: ( localize(7116, "Select the column to resize, type to filter.")) });
|
|
21
21
|
if (!column) {
|
|
22
22
|
return;
|
|
23
23
|
}
|
|
24
24
|
const value = await this._quickInputService.input({
|
|
25
|
-
placeHolder: ( localize(
|
|
25
|
+
placeHolder: ( localize(7117, "i.e. 20, 60, 100...")),
|
|
26
26
|
prompt: ( localize(
|
|
27
|
-
|
|
27
|
+
7118,
|
|
28
28
|
"Please enter a width in percentage for the '{0}' column.",
|
|
29
29
|
column.label
|
|
30
30
|
)),
|
|
@@ -39,11 +39,11 @@ let TableColumnResizeQuickPick = class TableColumnResizeQuickPick extends Dispos
|
|
|
39
39
|
async _validateColumnResizeValue(input) {
|
|
40
40
|
const percentage = Number.parseInt(input);
|
|
41
41
|
if (input && !Number.isInteger(percentage)) {
|
|
42
|
-
return localize(
|
|
42
|
+
return localize(7119, "Please enter an integer.");
|
|
43
43
|
}
|
|
44
44
|
else if (percentage < 0 || percentage > 100) {
|
|
45
45
|
return localize(
|
|
46
|
-
|
|
46
|
+
7120,
|
|
47
47
|
"Please enter a number greater than 0 and less than or equal to 100."
|
|
48
48
|
);
|
|
49
49
|
}
|
|
@@ -8,5 +8,4 @@ export interface IDefaultLogLevelsService {
|
|
|
8
8
|
getDefaultLogLevels(): Promise<DefaultLogLevels>;
|
|
9
9
|
getDefaultLogLevel(extensionId?: string): Promise<LogLevel>;
|
|
10
10
|
setDefaultLogLevel(logLevel: LogLevel, extensionId?: string): Promise<void>;
|
|
11
|
-
migrateLogLevels(): void;
|
|
12
11
|
}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { IDisposable } from "../../../../base/common/lifecycle.js";
|
|
2
2
|
import { URI } from "../../../../base/common/uri.js";
|
|
3
|
-
import { IMultiDiffSourceResolver, IResolvedMultiDiffSource } from "@codingame/monaco-vscode-
|
|
3
|
+
import { IMultiDiffSourceResolver, IResolvedMultiDiffSource } from "@codingame/monaco-vscode-168b98e5-dc20-5807-b1f9-798f1f92b37f-common/vscode/vs/workbench/contrib/multiDiffEditor/browser/multiDiffSourceResolverService";
|
|
4
4
|
export declare const IMultiDiffSourceResolverService: import("../../../../platform/instantiation/common/instantiation.js").ServiceIdentifier<IMultiDiffSourceResolverService>;
|
|
5
5
|
export interface IMultiDiffSourceResolverService {
|
|
6
6
|
readonly _serviceBrand: undefined;
|
package/vscode/src/vs/workbench/contrib/notebook/browser/contrib/chatEdit/notebookChatEditContext.js
ADDED
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
|
|
2
|
+
import { localize } from '../../../../../../nls.js';
|
|
3
|
+
import { RawContextKey } from '../../../../../../platform/contextkey/common/contextkey.js';
|
|
4
|
+
|
|
5
|
+
const ctxNotebookHasEditorModification = ( new RawContextKey('chat.hasNotebookEditorModifications', undefined, ( localize(7475, "The current Notebook editor contains chat modifications"))));
|
|
6
|
+
|
|
7
|
+
export { ctxNotebookHasEditorModification };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { IReference } from "../../../../../../base/common/lifecycle.js";
|
|
2
2
|
import { NotebookTextModel } from "@codingame/monaco-vscode-notebook-service-override/vscode/vs/workbench/contrib/notebook/common/model/notebookTextModel";
|
|
3
|
-
import { NotebookModelSynchronizer } from "@codingame/monaco-vscode-
|
|
3
|
+
import { NotebookModelSynchronizer } from "@codingame/monaco-vscode-notebook-service-override/vscode/vs/workbench/contrib/notebook/browser/contrib/chatEdit/notebookSynchronizer";
|
|
4
4
|
export declare const INotebookModelSynchronizerFactory: import("../../../../../../platform/instantiation/common/instantiation.js").ServiceIdentifier<INotebookModelSynchronizerFactory>;
|
|
5
5
|
export interface INotebookModelSynchronizerFactory {
|
|
6
6
|
readonly _serviceBrand: undefined;
|
|
@@ -0,0 +1,602 @@
|
|
|
1
|
+
import { CodeWindow } from "../../../../base/browser/window.js";
|
|
2
|
+
import { CancellationToken } from "../../../../base/common/cancellation.js";
|
|
3
|
+
import { Event } from "../../../../base/common/event.js";
|
|
4
|
+
import { IDisposable } from "../../../../base/common/lifecycle.js";
|
|
5
|
+
import { URI } from "../../../../base/common/uri.js";
|
|
6
|
+
import { IEditorContributionDescription } from "../../../../editor/browser/editorExtensions.js";
|
|
7
|
+
import * as editorCommon from "../../../../editor/common/editorCommon.js";
|
|
8
|
+
import { FontInfo } from "../../../../editor/common/config/fontInfo.js";
|
|
9
|
+
import { IPosition } from "../../../../editor/common/core/position.js";
|
|
10
|
+
import { IRange, Range } from "../../../../editor/common/core/range.js";
|
|
11
|
+
import { Selection } from "../../../../editor/common/core/selection.js";
|
|
12
|
+
import { FindMatch, IModelDeltaDecoration, IReadonlyTextBuffer, ITextModel, TrackedRangeStickiness } from "../../../../editor/common/model.js";
|
|
13
|
+
import { MenuId } from "../../../../platform/actions/common/actions.js";
|
|
14
|
+
import { ITextEditorOptions, ITextResourceEditorInput } from "../../../../platform/editor/common/editor.js";
|
|
15
|
+
import { IConstructorSignature } from "../../../../platform/instantiation/common/instantiation.js";
|
|
16
|
+
import { IEditorPane, IEditorPaneWithSelection } from "../../../common/editor.js";
|
|
17
|
+
import { CellViewModelStateChangeEvent, NotebookCellStateChangedEvent, NotebookLayoutInfo } from "@codingame/monaco-vscode-e28ac690-06d5-5ee9-92d1-02df70296354-common/vscode/vs/workbench/contrib/notebook/browser/notebookViewEvents";
|
|
18
|
+
import { NotebookCellTextModel } from "@codingame/monaco-vscode-e28ac690-06d5-5ee9-92d1-02df70296354-common/vscode/vs/workbench/contrib/notebook/common/model/notebookCellTextModel";
|
|
19
|
+
import { NotebookTextModel } from "@codingame/monaco-vscode-notebook-service-override/vscode/vs/workbench/contrib/notebook/common/model/notebookTextModel";
|
|
20
|
+
import { CellKind, ICellOutput, INotebookCellStatusBarItem, INotebookRendererInfo, INotebookFindOptions, IOrderedMimeType, NotebookCellInternalMetadata, NotebookCellMetadata } from "../common/notebookCommon.js";
|
|
21
|
+
import { INotebookKernel } from "../common/notebookKernelService.js";
|
|
22
|
+
import { NotebookOptions } from "@codingame/monaco-vscode-e28ac690-06d5-5ee9-92d1-02df70296354-common/vscode/vs/workbench/contrib/notebook/browser/notebookOptions";
|
|
23
|
+
import { ICellRange } from "../common/notebookRange.js";
|
|
24
|
+
import { IWebviewElement } from "@codingame/monaco-vscode-771c2e6d-0284-5ac1-be73-7176085eedc5-common/vscode/vs/workbench/contrib/webview/browser/webview";
|
|
25
|
+
import { IEditorCommentsOptions, IEditorOptions } from "../../../../editor/common/config/editorOptions.js";
|
|
26
|
+
import { IContextKeyService } from "../../../../platform/contextkey/common/contextkey.service.js";
|
|
27
|
+
import { ICodeEditor } from "../../../../editor/browser/editorBrowser.js";
|
|
28
|
+
import { IObservable } from "../../../../base/common/observable.js";
|
|
29
|
+
export declare const EXPAND_CELL_INPUT_COMMAND_ID = "notebook.cell.expandCellInput";
|
|
30
|
+
export declare const EXECUTE_CELL_COMMAND_ID = "notebook.cell.execute";
|
|
31
|
+
export declare const DETECT_CELL_LANGUAGE = "notebook.cell.detectLanguage";
|
|
32
|
+
export declare const CHANGE_CELL_LANGUAGE = "notebook.cell.changeLanguage";
|
|
33
|
+
export declare const QUIT_EDIT_CELL_COMMAND_ID = "notebook.cell.quitEdit";
|
|
34
|
+
export declare const EXPAND_CELL_OUTPUT_COMMAND_ID = "notebook.cell.expandCellOutput";
|
|
35
|
+
export declare const IPYNB_VIEW_TYPE = "jupyter-notebook";
|
|
36
|
+
export declare const JUPYTER_EXTENSION_ID = "ms-toolsai.jupyter";
|
|
37
|
+
export declare const KERNEL_EXTENSIONS: Map<string, string>;
|
|
38
|
+
export declare const KERNEL_RECOMMENDATIONS: Map<string, Map<string, INotebookExtensionRecommendation>>;
|
|
39
|
+
export interface INotebookExtensionRecommendation {
|
|
40
|
+
readonly extensionIds: string[];
|
|
41
|
+
readonly displayName?: string;
|
|
42
|
+
}
|
|
43
|
+
export declare enum RenderOutputType {
|
|
44
|
+
Html = 0,
|
|
45
|
+
Extension = 1
|
|
46
|
+
}
|
|
47
|
+
export interface IRenderPlainHtmlOutput {
|
|
48
|
+
readonly type: RenderOutputType.Html;
|
|
49
|
+
readonly source: IDisplayOutputViewModel;
|
|
50
|
+
readonly htmlContent: string;
|
|
51
|
+
}
|
|
52
|
+
export interface IRenderOutputViaExtension {
|
|
53
|
+
readonly type: RenderOutputType.Extension;
|
|
54
|
+
readonly source: IDisplayOutputViewModel;
|
|
55
|
+
readonly mimeType: string;
|
|
56
|
+
readonly renderer: INotebookRendererInfo;
|
|
57
|
+
}
|
|
58
|
+
export type IInsetRenderOutput = IRenderPlainHtmlOutput | IRenderOutputViaExtension;
|
|
59
|
+
export interface ICellOutputViewModel extends IDisposable {
|
|
60
|
+
cellViewModel: IGenericCellViewModel;
|
|
61
|
+
model: ICellOutput;
|
|
62
|
+
resolveMimeTypes(textModel: NotebookTextModel, kernelProvides: readonly string[] | undefined): [
|
|
63
|
+
readonly IOrderedMimeType[],
|
|
64
|
+
number
|
|
65
|
+
];
|
|
66
|
+
pickedMimeType: IOrderedMimeType | undefined;
|
|
67
|
+
hasMultiMimeType(): boolean;
|
|
68
|
+
readonly onDidResetRenderer: Event<void>;
|
|
69
|
+
readonly visible: IObservable<boolean>;
|
|
70
|
+
setVisible(visible: boolean, force?: boolean): void;
|
|
71
|
+
resetRenderer(): void;
|
|
72
|
+
toRawJSON(): any;
|
|
73
|
+
}
|
|
74
|
+
export interface IDisplayOutputViewModel extends ICellOutputViewModel {
|
|
75
|
+
resolveMimeTypes(textModel: NotebookTextModel, kernelProvides: readonly string[] | undefined): [
|
|
76
|
+
readonly IOrderedMimeType[],
|
|
77
|
+
number
|
|
78
|
+
];
|
|
79
|
+
}
|
|
80
|
+
export interface IGenericCellViewModel {
|
|
81
|
+
id: string;
|
|
82
|
+
handle: number;
|
|
83
|
+
uri: URI;
|
|
84
|
+
metadata: NotebookCellMetadata;
|
|
85
|
+
outputIsHovered: boolean;
|
|
86
|
+
outputIsFocused: boolean;
|
|
87
|
+
inputInOutputIsFocused: boolean;
|
|
88
|
+
outputsViewModels: ICellOutputViewModel[];
|
|
89
|
+
getOutputOffset(index: number): number;
|
|
90
|
+
updateOutputHeight(index: number, height: number, source?: string): void;
|
|
91
|
+
}
|
|
92
|
+
export interface IDisplayOutputLayoutUpdateRequest {
|
|
93
|
+
readonly cell: IGenericCellViewModel;
|
|
94
|
+
output: IDisplayOutputViewModel;
|
|
95
|
+
cellTop: number;
|
|
96
|
+
outputOffset: number;
|
|
97
|
+
forceDisplay: boolean;
|
|
98
|
+
}
|
|
99
|
+
export interface ICommonCellInfo {
|
|
100
|
+
readonly cellId: string;
|
|
101
|
+
readonly cellHandle: number;
|
|
102
|
+
readonly cellUri: URI;
|
|
103
|
+
readonly executionId?: string;
|
|
104
|
+
}
|
|
105
|
+
export declare enum ScrollToRevealBehavior {
|
|
106
|
+
fullCell = 0,
|
|
107
|
+
firstLine = 1
|
|
108
|
+
}
|
|
109
|
+
export interface IFocusNotebookCellOptions {
|
|
110
|
+
readonly skipReveal?: boolean;
|
|
111
|
+
readonly focusEditorLine?: number;
|
|
112
|
+
readonly revealBehavior?: ScrollToRevealBehavior | undefined;
|
|
113
|
+
readonly outputId?: string;
|
|
114
|
+
readonly altOutputId?: string;
|
|
115
|
+
readonly outputWebviewFocused?: boolean;
|
|
116
|
+
}
|
|
117
|
+
export declare enum CellLayoutState {
|
|
118
|
+
Uninitialized = 0,
|
|
119
|
+
Estimated = 1,
|
|
120
|
+
FromCache = 2,
|
|
121
|
+
Measured = 3
|
|
122
|
+
}
|
|
123
|
+
export interface CellLayoutInfo {
|
|
124
|
+
readonly layoutState: CellLayoutState;
|
|
125
|
+
readonly fontInfo: FontInfo | null;
|
|
126
|
+
readonly chatHeight: number;
|
|
127
|
+
readonly editorWidth: number;
|
|
128
|
+
readonly editorHeight: number;
|
|
129
|
+
readonly statusBarHeight: number;
|
|
130
|
+
readonly commentOffset: number;
|
|
131
|
+
readonly commentHeight: number;
|
|
132
|
+
readonly bottomToolbarOffset: number;
|
|
133
|
+
readonly totalHeight: number;
|
|
134
|
+
}
|
|
135
|
+
export interface CellLayoutChangeEvent {
|
|
136
|
+
readonly font?: FontInfo;
|
|
137
|
+
readonly outerWidth?: number;
|
|
138
|
+
readonly commentHeight?: boolean;
|
|
139
|
+
}
|
|
140
|
+
export interface CodeCellLayoutInfo extends CellLayoutInfo {
|
|
141
|
+
readonly estimatedHasHorizontalScrolling: boolean;
|
|
142
|
+
readonly outputContainerOffset: number;
|
|
143
|
+
readonly outputTotalHeight: number;
|
|
144
|
+
readonly outputShowMoreContainerHeight: number;
|
|
145
|
+
readonly outputShowMoreContainerOffset: number;
|
|
146
|
+
readonly codeIndicatorHeight: number;
|
|
147
|
+
readonly outputIndicatorHeight: number;
|
|
148
|
+
}
|
|
149
|
+
export interface CodeCellLayoutChangeEvent extends CellLayoutChangeEvent {
|
|
150
|
+
readonly source?: string;
|
|
151
|
+
readonly chatHeight?: boolean;
|
|
152
|
+
readonly editorHeight?: boolean;
|
|
153
|
+
readonly outputHeight?: boolean;
|
|
154
|
+
readonly outputShowMoreContainerHeight?: number;
|
|
155
|
+
readonly totalHeight?: boolean;
|
|
156
|
+
}
|
|
157
|
+
export interface MarkupCellLayoutInfo extends CellLayoutInfo {
|
|
158
|
+
readonly previewHeight: number;
|
|
159
|
+
readonly foldHintHeight: number;
|
|
160
|
+
}
|
|
161
|
+
export declare enum CellLayoutContext {
|
|
162
|
+
Fold = 0
|
|
163
|
+
}
|
|
164
|
+
export interface MarkupCellLayoutChangeEvent extends CellLayoutChangeEvent {
|
|
165
|
+
readonly editorHeight?: number;
|
|
166
|
+
readonly previewHeight?: number;
|
|
167
|
+
totalHeight?: number;
|
|
168
|
+
readonly context?: CellLayoutContext;
|
|
169
|
+
}
|
|
170
|
+
export interface ICommonCellViewModelLayoutChangeInfo {
|
|
171
|
+
readonly totalHeight?: boolean | number;
|
|
172
|
+
readonly outerWidth?: number;
|
|
173
|
+
readonly context?: CellLayoutContext;
|
|
174
|
+
}
|
|
175
|
+
export interface ICellViewModel extends IGenericCellViewModel {
|
|
176
|
+
readonly model: NotebookCellTextModel;
|
|
177
|
+
readonly id: string;
|
|
178
|
+
readonly textBuffer: IReadonlyTextBuffer;
|
|
179
|
+
readonly layoutInfo: CellLayoutInfo;
|
|
180
|
+
readonly onDidChangeLayout: Event<ICommonCellViewModelLayoutChangeInfo>;
|
|
181
|
+
readonly onDidChangeCellStatusBarItems: Event<void>;
|
|
182
|
+
readonly onCellDecorationsChanged: Event<{
|
|
183
|
+
added: INotebookCellDecorationOptions[];
|
|
184
|
+
removed: INotebookCellDecorationOptions[];
|
|
185
|
+
}>;
|
|
186
|
+
readonly onDidChangeState: Event<CellViewModelStateChangeEvent>;
|
|
187
|
+
readonly onDidChangeEditorAttachState: Event<void>;
|
|
188
|
+
readonly editStateSource: string;
|
|
189
|
+
readonly editorAttached: boolean;
|
|
190
|
+
isInputCollapsed: boolean;
|
|
191
|
+
isOutputCollapsed: boolean;
|
|
192
|
+
dragging: boolean;
|
|
193
|
+
handle: number;
|
|
194
|
+
uri: URI;
|
|
195
|
+
language: string;
|
|
196
|
+
readonly mime: string;
|
|
197
|
+
cellKind: CellKind;
|
|
198
|
+
lineNumbers: "on" | "off" | "inherit";
|
|
199
|
+
commentOptions: IEditorCommentsOptions;
|
|
200
|
+
chatHeight: number;
|
|
201
|
+
commentHeight: number;
|
|
202
|
+
focusMode: CellFocusMode;
|
|
203
|
+
focusedOutputId?: string | undefined;
|
|
204
|
+
outputIsHovered: boolean;
|
|
205
|
+
getText(): string;
|
|
206
|
+
getAlternativeId(): number;
|
|
207
|
+
getTextLength(): number;
|
|
208
|
+
getHeight(lineHeight: number): number;
|
|
209
|
+
metadata: NotebookCellMetadata;
|
|
210
|
+
internalMetadata: NotebookCellInternalMetadata;
|
|
211
|
+
textModel: ITextModel | undefined;
|
|
212
|
+
hasModel(): this is IEditableCellViewModel;
|
|
213
|
+
resolveTextModel(): Promise<ITextModel>;
|
|
214
|
+
getSelections(): Selection[];
|
|
215
|
+
setSelections(selections: Selection[]): void;
|
|
216
|
+
getSelectionsStartPosition(): IPosition[] | undefined;
|
|
217
|
+
getCellDecorations(): INotebookCellDecorationOptions[];
|
|
218
|
+
getCellStatusBarItems(): INotebookCellStatusBarItem[];
|
|
219
|
+
getEditState(): CellEditState;
|
|
220
|
+
updateEditState(state: CellEditState, source: string): void;
|
|
221
|
+
deltaModelDecorations(oldDecorations: readonly string[], newDecorations: readonly IModelDeltaDecoration[]): string[];
|
|
222
|
+
getCellDecorationRange(id: string): Range | null;
|
|
223
|
+
enableAutoLanguageDetection(): void;
|
|
224
|
+
}
|
|
225
|
+
export interface IEditableCellViewModel extends ICellViewModel {
|
|
226
|
+
textModel: ITextModel;
|
|
227
|
+
}
|
|
228
|
+
export interface INotebookEditorMouseEvent {
|
|
229
|
+
readonly event: MouseEvent;
|
|
230
|
+
readonly target: ICellViewModel;
|
|
231
|
+
}
|
|
232
|
+
export interface INotebookEditorContribution {
|
|
233
|
+
dispose(): void;
|
|
234
|
+
saveViewState?(): unknown;
|
|
235
|
+
restoreViewState?(state: unknown): void;
|
|
236
|
+
}
|
|
237
|
+
export declare enum NotebookOverviewRulerLane {
|
|
238
|
+
Left = 1,
|
|
239
|
+
Center = 2,
|
|
240
|
+
Right = 4,
|
|
241
|
+
Full = 7
|
|
242
|
+
}
|
|
243
|
+
export interface INotebookCellDecorationOptions {
|
|
244
|
+
className?: string;
|
|
245
|
+
gutterClassName?: string;
|
|
246
|
+
outputClassName?: string;
|
|
247
|
+
topClassName?: string;
|
|
248
|
+
overviewRuler?: {
|
|
249
|
+
color: string;
|
|
250
|
+
modelRanges: IRange[];
|
|
251
|
+
includeOutput: boolean;
|
|
252
|
+
position: NotebookOverviewRulerLane;
|
|
253
|
+
};
|
|
254
|
+
}
|
|
255
|
+
export interface INotebookDeltaDecoration {
|
|
256
|
+
readonly handle: number;
|
|
257
|
+
readonly options: INotebookCellDecorationOptions;
|
|
258
|
+
}
|
|
259
|
+
export interface INotebookDeltaCellStatusBarItems {
|
|
260
|
+
readonly handle: number;
|
|
261
|
+
readonly items: readonly INotebookCellStatusBarItem[];
|
|
262
|
+
}
|
|
263
|
+
export declare enum CellRevealType {
|
|
264
|
+
Default = 1,
|
|
265
|
+
Top = 2,
|
|
266
|
+
Center = 3,
|
|
267
|
+
CenterIfOutsideViewport = 4,
|
|
268
|
+
NearTopIfOutsideViewport = 5,
|
|
269
|
+
FirstLineIfOutsideViewport = 6
|
|
270
|
+
}
|
|
271
|
+
export declare enum CellRevealRangeType {
|
|
272
|
+
Default = 1,
|
|
273
|
+
Center = 2,
|
|
274
|
+
CenterIfOutsideViewport = 3
|
|
275
|
+
}
|
|
276
|
+
export interface INotebookEditorOptions extends ITextEditorOptions {
|
|
277
|
+
readonly cellOptions?: ITextResourceEditorInput;
|
|
278
|
+
readonly cellRevealType?: CellRevealType;
|
|
279
|
+
readonly cellSelections?: ICellRange[];
|
|
280
|
+
readonly isReadOnly?: boolean;
|
|
281
|
+
readonly viewState?: INotebookEditorViewState;
|
|
282
|
+
readonly indexedCellOptions?: {
|
|
283
|
+
index: number;
|
|
284
|
+
selection?: IRange;
|
|
285
|
+
};
|
|
286
|
+
readonly label?: string;
|
|
287
|
+
}
|
|
288
|
+
export type INotebookEditorContributionCtor = IConstructorSignature<INotebookEditorContribution, [
|
|
289
|
+
INotebookEditor
|
|
290
|
+
]>;
|
|
291
|
+
export interface INotebookEditorContributionDescription {
|
|
292
|
+
id: string;
|
|
293
|
+
ctor: INotebookEditorContributionCtor;
|
|
294
|
+
}
|
|
295
|
+
export interface INotebookEditorCreationOptions {
|
|
296
|
+
readonly isReplHistory?: boolean;
|
|
297
|
+
readonly isReadOnly?: boolean;
|
|
298
|
+
readonly contributions?: INotebookEditorContributionDescription[];
|
|
299
|
+
readonly cellEditorContributions?: IEditorContributionDescription[];
|
|
300
|
+
readonly menuIds: {
|
|
301
|
+
notebookToolbar: MenuId;
|
|
302
|
+
cellTitleToolbar: MenuId;
|
|
303
|
+
cellDeleteToolbar: MenuId;
|
|
304
|
+
cellInsertToolbar: MenuId;
|
|
305
|
+
cellTopInsertToolbar: MenuId;
|
|
306
|
+
cellExecuteToolbar: MenuId;
|
|
307
|
+
cellExecutePrimary?: MenuId;
|
|
308
|
+
};
|
|
309
|
+
readonly options?: NotebookOptions;
|
|
310
|
+
readonly codeWindow?: CodeWindow;
|
|
311
|
+
}
|
|
312
|
+
export interface INotebookWebviewMessage {
|
|
313
|
+
readonly message: unknown;
|
|
314
|
+
}
|
|
315
|
+
export interface INotebookEditorViewState {
|
|
316
|
+
editingCells: {
|
|
317
|
+
[key: number]: boolean;
|
|
318
|
+
};
|
|
319
|
+
collapsedInputCells: {
|
|
320
|
+
[key: number]: boolean;
|
|
321
|
+
};
|
|
322
|
+
collapsedOutputCells: {
|
|
323
|
+
[key: number]: boolean;
|
|
324
|
+
};
|
|
325
|
+
cellLineNumberStates: {
|
|
326
|
+
[key: number]: "on" | "off";
|
|
327
|
+
};
|
|
328
|
+
editorViewStates: {
|
|
329
|
+
[key: number]: editorCommon.ICodeEditorViewState | null;
|
|
330
|
+
};
|
|
331
|
+
hiddenFoldingRanges?: ICellRange[];
|
|
332
|
+
cellTotalHeights?: {
|
|
333
|
+
[key: number]: number;
|
|
334
|
+
};
|
|
335
|
+
scrollPosition?: {
|
|
336
|
+
left: number;
|
|
337
|
+
top: number;
|
|
338
|
+
};
|
|
339
|
+
focus?: number;
|
|
340
|
+
editorFocused?: boolean;
|
|
341
|
+
contributionsState?: {
|
|
342
|
+
[id: string]: unknown;
|
|
343
|
+
};
|
|
344
|
+
selectedKernelId?: string;
|
|
345
|
+
}
|
|
346
|
+
export interface ICellModelDecorations {
|
|
347
|
+
readonly ownerId: number;
|
|
348
|
+
readonly decorations: readonly string[];
|
|
349
|
+
}
|
|
350
|
+
export interface ICellModelDeltaDecorations {
|
|
351
|
+
readonly ownerId: number;
|
|
352
|
+
readonly decorations: readonly IModelDeltaDecoration[];
|
|
353
|
+
}
|
|
354
|
+
export interface IModelDecorationsChangeAccessor {
|
|
355
|
+
deltaDecorations(oldDecorations: ICellModelDecorations[], newDecorations: ICellModelDeltaDecorations[]): ICellModelDecorations[];
|
|
356
|
+
}
|
|
357
|
+
export interface INotebookViewZone {
|
|
358
|
+
afterModelPosition: number;
|
|
359
|
+
domNode: HTMLElement;
|
|
360
|
+
heightInPx: number;
|
|
361
|
+
}
|
|
362
|
+
export interface INotebookViewZoneChangeAccessor {
|
|
363
|
+
addZone(zone: INotebookViewZone): string;
|
|
364
|
+
removeZone(id: string): void;
|
|
365
|
+
layoutZone(id: string): void;
|
|
366
|
+
}
|
|
367
|
+
export type NotebookViewCellsSplice = [
|
|
368
|
+
number,
|
|
369
|
+
number,
|
|
370
|
+
ICellViewModel[]
|
|
371
|
+
];
|
|
372
|
+
export interface INotebookViewCellsUpdateEvent {
|
|
373
|
+
readonly synchronous: boolean;
|
|
374
|
+
readonly splices: readonly NotebookViewCellsSplice[];
|
|
375
|
+
}
|
|
376
|
+
export interface INotebookViewModel {
|
|
377
|
+
notebookDocument: NotebookTextModel;
|
|
378
|
+
readonly viewCells: ICellViewModel[];
|
|
379
|
+
layoutInfo: NotebookLayoutInfo | null;
|
|
380
|
+
viewType: string;
|
|
381
|
+
onDidChangeViewCells: Event<INotebookViewCellsUpdateEvent>;
|
|
382
|
+
onDidChangeSelection: Event<string>;
|
|
383
|
+
onDidFoldingStateChanged: Event<void>;
|
|
384
|
+
getNearestVisibleCellIndexUpwards(index: number): number;
|
|
385
|
+
getTrackedRange(id: string): ICellRange | null;
|
|
386
|
+
setTrackedRange(id: string | null, newRange: ICellRange | null, newStickiness: TrackedRangeStickiness): string | null;
|
|
387
|
+
getSelections(): ICellRange[];
|
|
388
|
+
getCellIndex(cell: ICellViewModel): number;
|
|
389
|
+
getMostRecentlyExecutedCell(): ICellViewModel | undefined;
|
|
390
|
+
deltaCellStatusBarItems(oldItems: string[], newItems: INotebookDeltaCellStatusBarItems[]): string[];
|
|
391
|
+
getFoldedLength(index: number): number;
|
|
392
|
+
getFoldingStartIndex(index: number): number;
|
|
393
|
+
replaceOne(cell: ICellViewModel, range: Range, text: string): Promise<void>;
|
|
394
|
+
replaceAll(matches: CellFindMatchWithIndex[], texts: string[]): Promise<void>;
|
|
395
|
+
}
|
|
396
|
+
export interface INotebookEditor {
|
|
397
|
+
readonly onDidChangeCellState: Event<NotebookCellStateChangedEvent>;
|
|
398
|
+
readonly onDidChangeViewCells: Event<INotebookViewCellsUpdateEvent>;
|
|
399
|
+
readonly onDidChangeVisibleRanges: Event<void>;
|
|
400
|
+
readonly onDidChangeSelection: Event<void>;
|
|
401
|
+
readonly onDidChangeFocus: Event<void>;
|
|
402
|
+
readonly onDidChangeModel: Event<NotebookTextModel | undefined>;
|
|
403
|
+
readonly onDidAttachViewModel: Event<void>;
|
|
404
|
+
readonly onDidFocusWidget: Event<void>;
|
|
405
|
+
readonly onDidBlurWidget: Event<void>;
|
|
406
|
+
readonly onDidScroll: Event<void>;
|
|
407
|
+
readonly onDidChangeLayout: Event<void>;
|
|
408
|
+
readonly onDidChangeActiveCell: Event<void>;
|
|
409
|
+
readonly onDidChangeActiveEditor: Event<INotebookEditor>;
|
|
410
|
+
readonly onDidChangeActiveKernel: Event<void>;
|
|
411
|
+
readonly onMouseUp: Event<INotebookEditorMouseEvent>;
|
|
412
|
+
readonly onMouseDown: Event<INotebookEditorMouseEvent>;
|
|
413
|
+
readonly visibleRanges: ICellRange[];
|
|
414
|
+
readonly textModel?: NotebookTextModel;
|
|
415
|
+
readonly isVisible: boolean;
|
|
416
|
+
readonly isReadOnly: boolean;
|
|
417
|
+
readonly notebookOptions: NotebookOptions;
|
|
418
|
+
readonly isDisposed: boolean;
|
|
419
|
+
readonly activeKernel: INotebookKernel | undefined;
|
|
420
|
+
readonly scrollTop: number;
|
|
421
|
+
readonly scrollBottom: number;
|
|
422
|
+
readonly scopedContextKeyService: IContextKeyService;
|
|
423
|
+
readonly activeCodeEditor: ICodeEditor | undefined;
|
|
424
|
+
readonly codeEditors: [
|
|
425
|
+
ICellViewModel,
|
|
426
|
+
ICodeEditor
|
|
427
|
+
][];
|
|
428
|
+
readonly activeCellAndCodeEditor: [
|
|
429
|
+
ICellViewModel,
|
|
430
|
+
ICodeEditor
|
|
431
|
+
] | undefined;
|
|
432
|
+
getLength(): number;
|
|
433
|
+
getSelections(): ICellRange[];
|
|
434
|
+
setSelections(selections: ICellRange[]): void;
|
|
435
|
+
getFocus(): ICellRange;
|
|
436
|
+
setFocus(focus: ICellRange): void;
|
|
437
|
+
getId(): string;
|
|
438
|
+
getViewModel(): INotebookViewModel | undefined;
|
|
439
|
+
hasModel(): this is IActiveNotebookEditor;
|
|
440
|
+
dispose(): void;
|
|
441
|
+
getDomNode(): HTMLElement;
|
|
442
|
+
getInnerWebview(): IWebviewElement | undefined;
|
|
443
|
+
getSelectionViewModels(): ICellViewModel[];
|
|
444
|
+
getEditorViewState(): INotebookEditorViewState;
|
|
445
|
+
restoreListViewState(viewState: INotebookEditorViewState | undefined): void;
|
|
446
|
+
getBaseCellEditorOptions(language: string): IBaseCellEditorOptions;
|
|
447
|
+
focus(): void;
|
|
448
|
+
focusContainer(clearSelection?: boolean): void;
|
|
449
|
+
hasEditorFocus(): boolean;
|
|
450
|
+
hasWebviewFocus(): boolean;
|
|
451
|
+
hasOutputTextSelection(): boolean;
|
|
452
|
+
setOptions(options: INotebookEditorOptions | undefined): Promise<void>;
|
|
453
|
+
focusElement(cell: ICellViewModel): void;
|
|
454
|
+
getLayoutInfo(): NotebookLayoutInfo;
|
|
455
|
+
getVisibleRangesPlusViewportAboveAndBelow(): ICellRange[];
|
|
456
|
+
focusNotebookCell(cell: ICellViewModel, focus: "editor" | "container" | "output", options?: IFocusNotebookCellOptions): Promise<void>;
|
|
457
|
+
executeNotebookCells(cells?: Iterable<ICellViewModel>): Promise<void>;
|
|
458
|
+
cancelNotebookCells(cells?: Iterable<ICellViewModel>): Promise<void>;
|
|
459
|
+
getActiveCell(): ICellViewModel | undefined;
|
|
460
|
+
layoutNotebookCell(cell: ICellViewModel, height: number): Promise<void>;
|
|
461
|
+
createOutput(cell: ICellViewModel, output: IInsetRenderOutput, offset: number, createWhenIdle: boolean): Promise<void>;
|
|
462
|
+
updateOutput(cell: ICellViewModel, output: IInsetRenderOutput, offset: number): Promise<void>;
|
|
463
|
+
copyOutputImage(cellOutput: ICellOutputViewModel): Promise<void>;
|
|
464
|
+
selectOutputContent(cell: ICellViewModel): void;
|
|
465
|
+
selectInputContents(cell: ICellViewModel): void;
|
|
466
|
+
readonly onDidReceiveMessage: Event<INotebookWebviewMessage>;
|
|
467
|
+
postMessage(message: any): void;
|
|
468
|
+
addClassName(className: string): void;
|
|
469
|
+
removeClassName(className: string): void;
|
|
470
|
+
setScrollTop(scrollTop: number): void;
|
|
471
|
+
revealCellRangeInView(range: ICellRange): void;
|
|
472
|
+
revealInView(cell: ICellViewModel): Promise<void>;
|
|
473
|
+
revealInViewAtTop(cell: ICellViewModel): void;
|
|
474
|
+
revealInCenter(cell: ICellViewModel): void;
|
|
475
|
+
revealInCenterIfOutsideViewport(cell: ICellViewModel): Promise<void>;
|
|
476
|
+
revealFirstLineIfOutsideViewport(cell: ICellViewModel): Promise<void>;
|
|
477
|
+
revealLineInViewAsync(cell: ICellViewModel, line: number): Promise<void>;
|
|
478
|
+
revealLineInCenterAsync(cell: ICellViewModel, line: number): Promise<void>;
|
|
479
|
+
revealLineInCenterIfOutsideViewportAsync(cell: ICellViewModel, line: number): Promise<void>;
|
|
480
|
+
revealRangeInViewAsync(cell: ICellViewModel, range: Selection | Range): Promise<void>;
|
|
481
|
+
revealRangeInCenterAsync(cell: ICellViewModel, range: Selection | Range): Promise<void>;
|
|
482
|
+
revealRangeInCenterIfOutsideViewportAsync(cell: ICellViewModel, range: Selection | Range): Promise<void>;
|
|
483
|
+
revealCellOffsetInCenter(cell: ICellViewModel, offset: number): void;
|
|
484
|
+
revealOffsetInCenterIfOutsideViewport(offset: number): void;
|
|
485
|
+
getCellRangeFromViewRange(startIndex: number, endIndex: number): ICellRange | undefined;
|
|
486
|
+
setHiddenAreas(_ranges: ICellRange[]): boolean;
|
|
487
|
+
setCellEditorSelection(cell: ICellViewModel, selection: Range): void;
|
|
488
|
+
deltaCellDecorations(oldDecorations: string[], newDecorations: INotebookDeltaDecoration[]): string[];
|
|
489
|
+
changeModelDecorations<T>(callback: (changeAccessor: IModelDecorationsChangeAccessor) => T): T | null;
|
|
490
|
+
changeViewZones(callback: (accessor: INotebookViewZoneChangeAccessor) => void): void;
|
|
491
|
+
getContribution<T extends INotebookEditorContribution>(id: string): T;
|
|
492
|
+
getViewIndexByModelIndex(index: number): number;
|
|
493
|
+
getCellsInRange(range?: ICellRange): ReadonlyArray<ICellViewModel>;
|
|
494
|
+
cellAt(index: number): ICellViewModel | undefined;
|
|
495
|
+
getCellByHandle(handle: number): ICellViewModel | undefined;
|
|
496
|
+
getCellIndex(cell: ICellViewModel): number | undefined;
|
|
497
|
+
getNextVisibleCellIndex(index: number): number | undefined;
|
|
498
|
+
getPreviousVisibleCellIndex(index: number): number | undefined;
|
|
499
|
+
find(query: string, options: INotebookFindOptions, token: CancellationToken, skipWarmup?: boolean, shouldGetSearchPreviewInfo?: boolean, ownerID?: string): Promise<CellFindMatchWithIndex[]>;
|
|
500
|
+
findHighlightCurrent(matchIndex: number, ownerID?: string): Promise<number>;
|
|
501
|
+
findUnHighlightCurrent(matchIndex: number, ownerID?: string): Promise<void>;
|
|
502
|
+
findStop(ownerID?: string): void;
|
|
503
|
+
showProgress(): void;
|
|
504
|
+
hideProgress(): void;
|
|
505
|
+
getAbsoluteTopOfElement(cell: ICellViewModel): number;
|
|
506
|
+
getHeightOfElement(cell: ICellViewModel): number;
|
|
507
|
+
}
|
|
508
|
+
export interface IActiveNotebookEditor extends INotebookEditor {
|
|
509
|
+
getViewModel(): INotebookViewModel;
|
|
510
|
+
textModel: NotebookTextModel;
|
|
511
|
+
getFocus(): ICellRange;
|
|
512
|
+
cellAt(index: number): ICellViewModel;
|
|
513
|
+
getCellIndex(cell: ICellViewModel): number;
|
|
514
|
+
getNextVisibleCellIndex(index: number): number;
|
|
515
|
+
}
|
|
516
|
+
export interface INotebookEditorPane extends IEditorPaneWithSelection {
|
|
517
|
+
getControl(): INotebookEditor | undefined;
|
|
518
|
+
readonly onDidChangeModel: Event<void>;
|
|
519
|
+
textModel: NotebookTextModel | undefined;
|
|
520
|
+
}
|
|
521
|
+
export interface IBaseCellEditorOptions extends IDisposable {
|
|
522
|
+
readonly value: IEditorOptions;
|
|
523
|
+
readonly onDidChange: Event<void>;
|
|
524
|
+
}
|
|
525
|
+
export interface INotebookEditorDelegate extends INotebookEditor {
|
|
526
|
+
hasModel(): this is IActiveNotebookEditorDelegate;
|
|
527
|
+
readonly creationOptions: INotebookEditorCreationOptions;
|
|
528
|
+
readonly onDidChangeOptions: Event<void>;
|
|
529
|
+
readonly onDidChangeDecorations: Event<void>;
|
|
530
|
+
createMarkupPreview(cell: ICellViewModel): Promise<void>;
|
|
531
|
+
unhideMarkupPreviews(cells: readonly ICellViewModel[]): Promise<void>;
|
|
532
|
+
hideMarkupPreviews(cells: readonly ICellViewModel[]): Promise<void>;
|
|
533
|
+
removeInset(output: IDisplayOutputViewModel): void;
|
|
534
|
+
hideInset(output: IDisplayOutputViewModel): void;
|
|
535
|
+
deltaCellContainerClassNames(cellId: string, added: string[], removed: string[]): void;
|
|
536
|
+
}
|
|
537
|
+
export interface IActiveNotebookEditorDelegate extends INotebookEditorDelegate {
|
|
538
|
+
getViewModel(): INotebookViewModel;
|
|
539
|
+
textModel: NotebookTextModel;
|
|
540
|
+
getFocus(): ICellRange;
|
|
541
|
+
cellAt(index: number): ICellViewModel;
|
|
542
|
+
getCellIndex(cell: ICellViewModel): number;
|
|
543
|
+
getNextVisibleCellIndex(index: number): number;
|
|
544
|
+
}
|
|
545
|
+
export interface ISearchPreviewInfo {
|
|
546
|
+
line: string;
|
|
547
|
+
range: {
|
|
548
|
+
start: number;
|
|
549
|
+
end: number;
|
|
550
|
+
};
|
|
551
|
+
}
|
|
552
|
+
export interface CellWebviewFindMatch {
|
|
553
|
+
readonly index: number;
|
|
554
|
+
readonly searchPreviewInfo?: ISearchPreviewInfo;
|
|
555
|
+
}
|
|
556
|
+
export type CellContentFindMatch = FindMatch;
|
|
557
|
+
export interface CellFindMatch {
|
|
558
|
+
cell: ICellViewModel;
|
|
559
|
+
contentMatches: CellContentFindMatch[];
|
|
560
|
+
}
|
|
561
|
+
export interface CellFindMatchWithIndex {
|
|
562
|
+
cell: ICellViewModel;
|
|
563
|
+
index: number;
|
|
564
|
+
length: number;
|
|
565
|
+
getMatch(index: number): FindMatch | CellWebviewFindMatch;
|
|
566
|
+
contentMatches: FindMatch[];
|
|
567
|
+
webviewMatches: CellWebviewFindMatch[];
|
|
568
|
+
}
|
|
569
|
+
export declare enum CellEditState {
|
|
570
|
+
Preview = 0,
|
|
571
|
+
Editing = 1
|
|
572
|
+
}
|
|
573
|
+
export declare enum CellFocusMode {
|
|
574
|
+
Container = 0,
|
|
575
|
+
Editor = 1,
|
|
576
|
+
Output = 2,
|
|
577
|
+
ChatInput = 3
|
|
578
|
+
}
|
|
579
|
+
export declare enum CursorAtBoundary {
|
|
580
|
+
None = 0,
|
|
581
|
+
Top = 1,
|
|
582
|
+
Bottom = 2,
|
|
583
|
+
Both = 3
|
|
584
|
+
}
|
|
585
|
+
export declare enum CursorAtLineBoundary {
|
|
586
|
+
None = 0,
|
|
587
|
+
Start = 1,
|
|
588
|
+
End = 2,
|
|
589
|
+
Both = 3
|
|
590
|
+
}
|
|
591
|
+
export declare function getNotebookEditorFromEditorPane(editorPane?: IEditorPane): INotebookEditor | undefined;
|
|
592
|
+
export declare function expandCellRangesWithHiddenCells(editor: INotebookEditor, ranges: ICellRange[]): ICellRange[];
|
|
593
|
+
export declare function cellRangeToViewCells(editor: IActiveNotebookEditor, ranges: ICellRange[]): ICellViewModel[];
|
|
594
|
+
export declare enum CellFoldingState {
|
|
595
|
+
None = 0,
|
|
596
|
+
Expanded = 1,
|
|
597
|
+
Collapsed = 2
|
|
598
|
+
}
|
|
599
|
+
export interface EditorFoldingStateDelegate {
|
|
600
|
+
getCellIndex(cell: ICellViewModel): number;
|
|
601
|
+
getFoldingState(index: number): CellFoldingState;
|
|
602
|
+
}
|