@codingame/monaco-vscode-api 13.1.6 → 14.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/extensions.d.ts +3 -2
- package/missing-services.js +177 -63
- package/monaco.d.ts +1 -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 +3 -3
- 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/nls.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/extHostDebugService.js +1 -1
- 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 +67 -6
- 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
|
@@ -32,14 +32,12 @@ export declare class ContentHoverController extends Disposable implements IEdito
|
|
|
32
32
|
private _isMouseOnContentHoverWidget;
|
|
33
33
|
private _onEditorMouseUp;
|
|
34
34
|
private _onEditorMouseLeave;
|
|
35
|
-
private
|
|
35
|
+
private _shouldKeepCurrentHover;
|
|
36
36
|
private _onEditorMouseMove;
|
|
37
|
-
private _shouldReactToEditorMouseMove;
|
|
38
37
|
private _shouldRescheduleHoverComputation;
|
|
39
38
|
private _reactToEditorMouseMove;
|
|
40
39
|
private _onKeyDown;
|
|
41
40
|
private _isPotentialKeyboardShortcut;
|
|
42
|
-
private _isModifierKeyPressed;
|
|
43
41
|
hideContentHover(): void;
|
|
44
42
|
private _getOrCreateContentWidget;
|
|
45
43
|
showContentHover(range: Range, mode: HoverStartMode, source: HoverStartSource, focus: boolean): void;
|
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
|
|
2
2
|
import { __decorate, __param } from '../../../../../../../external/tslib/tslib.es6.js';
|
|
3
3
|
import { SHOW_OR_FOCUS_HOVER_ACTION_ID, INCREASE_HOVER_VERBOSITY_ACTION_ID, DECREASE_HOVER_VERBOSITY_ACTION_ID } from './hoverActionIds.js';
|
|
4
|
-
import { KeyCode } from '../../../../base/common/keyCodes.js';
|
|
5
4
|
import { Disposable, DisposableStore } from '../../../../base/common/lifecycle.js';
|
|
6
5
|
import { EditorOption } from '../../../common/config/editorOptions.js';
|
|
7
6
|
import { IInstantiationService } from '../../../../platform/instantiation/common/instantiation.js';
|
|
@@ -13,7 +12,8 @@ import { isMousePositionWithinElement } from './hoverUtils.js';
|
|
|
13
12
|
import { ContentHoverWidgetWrapper } from './contentHoverWidgetWrapper.js';
|
|
14
13
|
import './hover.css.js';
|
|
15
14
|
import { Emitter } from '../../../../base/common/event.js';
|
|
16
|
-
import { isOnColorDecorator } from '../../colorPicker/browser/hoverColorPicker/
|
|
15
|
+
import { isOnColorDecorator } from '../../colorPicker/browser/hoverColorPicker/hoverColorPicker.js';
|
|
16
|
+
import { KeyCode } from '../../../../base/common/keyCodes.js';
|
|
17
17
|
|
|
18
18
|
var ContentHoverController_1;
|
|
19
19
|
let ContentHoverController = class ContentHoverController extends Disposable {
|
|
@@ -29,7 +29,11 @@ let ContentHoverController = class ContentHoverController extends Disposable {
|
|
|
29
29
|
this.shouldKeepOpenOnEditorMouseMoveOrLeave = false;
|
|
30
30
|
this._listenersStore = ( new DisposableStore());
|
|
31
31
|
this._isMouseDown = false;
|
|
32
|
-
this._reactToEditorMouseMoveRunner = this._register(( new RunOnceScheduler(() =>
|
|
32
|
+
this._reactToEditorMouseMoveRunner = this._register(( new RunOnceScheduler(() => {
|
|
33
|
+
if (this._mouseMoveEvent) {
|
|
34
|
+
this._reactToEditorMouseMove(this._mouseMoveEvent);
|
|
35
|
+
}
|
|
36
|
+
}, 0)));
|
|
33
37
|
this._hookListeners();
|
|
34
38
|
this._register(this._editor.onDidChangeConfiguration((e) => {
|
|
35
39
|
if (e.hasChanged(EditorOption.hover)) {
|
|
@@ -48,19 +52,17 @@ let ContentHoverController = class ContentHoverController extends Disposable {
|
|
|
48
52
|
sticky: hoverOpts.sticky,
|
|
49
53
|
hidingDelay: hoverOpts.hidingDelay
|
|
50
54
|
};
|
|
51
|
-
if (hoverOpts.enabled) {
|
|
52
|
-
this._listenersStore.add(this._editor.onMouseDown((e) => this._onEditorMouseDown(e)));
|
|
53
|
-
this._listenersStore.add(this._editor.onMouseUp(() => this._onEditorMouseUp()));
|
|
54
|
-
this._listenersStore.add(this._editor.onMouseMove((e) => this._onEditorMouseMove(e)));
|
|
55
|
-
this._listenersStore.add(this._editor.onKeyDown((e) => this._onKeyDown(e)));
|
|
56
|
-
this._listenersStore.add(this._editor.onMouseLeave((e) => this._onEditorMouseLeave(e)));
|
|
57
|
-
this._listenersStore.add(this._editor.onDidChangeModel(() => this._cancelSchedulerAndHide()));
|
|
58
|
-
this._listenersStore.add(this._editor.onDidChangeModelContent(() => this._cancelScheduler()));
|
|
59
|
-
this._listenersStore.add(this._editor.onDidScrollChange((e) => this._onEditorScrollChanged(e)));
|
|
60
|
-
}
|
|
61
|
-
else {
|
|
55
|
+
if (!hoverOpts.enabled) {
|
|
62
56
|
this._cancelSchedulerAndHide();
|
|
63
57
|
}
|
|
58
|
+
this._listenersStore.add(this._editor.onMouseDown((e) => this._onEditorMouseDown(e)));
|
|
59
|
+
this._listenersStore.add(this._editor.onMouseUp(() => this._onEditorMouseUp()));
|
|
60
|
+
this._listenersStore.add(this._editor.onMouseMove((e) => this._onEditorMouseMove(e)));
|
|
61
|
+
this._listenersStore.add(this._editor.onKeyDown((e) => this._onKeyDown(e)));
|
|
62
|
+
this._listenersStore.add(this._editor.onMouseLeave((e) => this._onEditorMouseLeave(e)));
|
|
63
|
+
this._listenersStore.add(this._editor.onDidChangeModel(() => this._cancelSchedulerAndHide()));
|
|
64
|
+
this._listenersStore.add(this._editor.onDidChangeModelContent(() => this._cancelScheduler()));
|
|
65
|
+
this._listenersStore.add(this._editor.onDidScrollChange((e) => this._onEditorScrollChanged(e)));
|
|
64
66
|
}
|
|
65
67
|
_unhookListeners() {
|
|
66
68
|
this._listenersStore.clear();
|
|
@@ -109,29 +111,46 @@ let ContentHoverController = class ContentHoverController extends Disposable {
|
|
|
109
111
|
}
|
|
110
112
|
this.hideContentHover();
|
|
111
113
|
}
|
|
112
|
-
|
|
114
|
+
_shouldKeepCurrentHover(mouseEvent) {
|
|
115
|
+
const contentWidget = this._contentWidget;
|
|
116
|
+
if (!contentWidget) {
|
|
117
|
+
return false;
|
|
118
|
+
}
|
|
113
119
|
const isHoverSticky = this._hoverSettings.sticky;
|
|
114
120
|
const isMouseOnStickyContentHoverWidget = (mouseEvent, isHoverSticky) => {
|
|
115
121
|
const isMouseOnContentHoverWidget = this._isMouseOnContentHoverWidget(mouseEvent);
|
|
116
122
|
return isHoverSticky && isMouseOnContentHoverWidget;
|
|
117
123
|
};
|
|
118
|
-
const
|
|
124
|
+
const isMouseOnColorPickerOrChoosingColor = (mouseEvent) => {
|
|
125
|
+
const isColorPickerVisible = contentWidget.isColorPickerVisible;
|
|
119
126
|
const isMouseOnContentHoverWidget = this._isMouseOnContentHoverWidget(mouseEvent);
|
|
120
|
-
const
|
|
121
|
-
|
|
127
|
+
const isMouseOnHoverWithColorPicker = isColorPickerVisible && isMouseOnContentHoverWidget;
|
|
128
|
+
const isMaybeChoosingColor = isColorPickerVisible && this._isMouseDown;
|
|
129
|
+
return isMouseOnHoverWithColorPicker || isMaybeChoosingColor;
|
|
122
130
|
};
|
|
123
131
|
const isTextSelectedWithinContentHoverWidget = (mouseEvent, sticky) => {
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
132
|
+
const view = mouseEvent.event.browserEvent.view;
|
|
133
|
+
if (!view) {
|
|
134
|
+
return false;
|
|
135
|
+
}
|
|
136
|
+
return sticky && contentWidget.containsNode(view.document.activeElement) && !view.getSelection()?.isCollapsed;
|
|
127
137
|
};
|
|
128
|
-
|
|
129
|
-
|
|
138
|
+
const isFocused = contentWidget.isFocused;
|
|
139
|
+
const isResizing = contentWidget.isResizing;
|
|
140
|
+
const isStickyAndVisibleFromKeyboard = this._hoverSettings.sticky && contentWidget.isVisibleFromKeyboard;
|
|
141
|
+
return this.shouldKeepOpenOnEditorMouseMoveOrLeave
|
|
142
|
+
|| isFocused
|
|
143
|
+
|| isResizing
|
|
144
|
+
|| isStickyAndVisibleFromKeyboard
|
|
145
|
+
|| isMouseOnStickyContentHoverWidget(mouseEvent, isHoverSticky)
|
|
146
|
+
|| isMouseOnColorPickerOrChoosingColor(mouseEvent)
|
|
130
147
|
|| isTextSelectedWithinContentHoverWidget(mouseEvent, isHoverSticky);
|
|
131
148
|
}
|
|
132
149
|
_onEditorMouseMove(mouseEvent) {
|
|
133
|
-
|
|
134
|
-
|
|
150
|
+
this._mouseMoveEvent = mouseEvent;
|
|
151
|
+
const shouldKeepCurrentHover = this._shouldKeepCurrentHover(mouseEvent);
|
|
152
|
+
if (shouldKeepCurrentHover) {
|
|
153
|
+
this._reactToEditorMouseMoveRunner.cancel();
|
|
135
154
|
return;
|
|
136
155
|
}
|
|
137
156
|
const shouldRescheduleHoverComputation = this._shouldRescheduleHoverComputation();
|
|
@@ -143,47 +162,29 @@ let ContentHoverController = class ContentHoverController extends Disposable {
|
|
|
143
162
|
}
|
|
144
163
|
this._reactToEditorMouseMove(mouseEvent);
|
|
145
164
|
}
|
|
146
|
-
_shouldReactToEditorMouseMove(mouseEvent) {
|
|
147
|
-
if (this.shouldKeepOpenOnEditorMouseMoveOrLeave) {
|
|
148
|
-
return false;
|
|
149
|
-
}
|
|
150
|
-
this._mouseMoveEvent = mouseEvent;
|
|
151
|
-
if (this._contentWidget && (this._contentWidget.isFocused || this._contentWidget.isResizing || this._isMouseDown && this._contentWidget.isColorPickerVisible)) {
|
|
152
|
-
return false;
|
|
153
|
-
}
|
|
154
|
-
const sticky = this._hoverSettings.sticky;
|
|
155
|
-
if (sticky && this._contentWidget?.isVisibleFromKeyboard) {
|
|
156
|
-
return false;
|
|
157
|
-
}
|
|
158
|
-
const shouldNotRecomputeCurrentHoverWidget = this._shouldNotRecomputeCurrentHoverWidget(mouseEvent);
|
|
159
|
-
if (shouldNotRecomputeCurrentHoverWidget) {
|
|
160
|
-
this._reactToEditorMouseMoveRunner.cancel();
|
|
161
|
-
return false;
|
|
162
|
-
}
|
|
163
|
-
return true;
|
|
164
|
-
}
|
|
165
165
|
_shouldRescheduleHoverComputation() {
|
|
166
166
|
const hidingDelay = this._hoverSettings.hidingDelay;
|
|
167
167
|
const isContentHoverWidgetVisible = this._contentWidget?.isVisible ?? false;
|
|
168
168
|
return isContentHoverWidgetVisible && this._hoverSettings.sticky && hidingDelay > 0;
|
|
169
169
|
}
|
|
170
170
|
_reactToEditorMouseMove(mouseEvent) {
|
|
171
|
-
if (
|
|
172
|
-
|
|
173
|
-
|
|
174
|
-
|
|
175
|
-
|
|
176
|
-
return;
|
|
171
|
+
if (this._hoverSettings.enabled) {
|
|
172
|
+
const contentWidget = this._getOrCreateContentWidget();
|
|
173
|
+
if (contentWidget.showsOrWillShow(mouseEvent)) {
|
|
174
|
+
return;
|
|
175
|
+
}
|
|
177
176
|
}
|
|
178
177
|
this.hideContentHover();
|
|
179
178
|
}
|
|
180
179
|
_onKeyDown(e) {
|
|
181
|
-
if (!this.
|
|
180
|
+
if (!this._contentWidget) {
|
|
182
181
|
return;
|
|
183
182
|
}
|
|
184
183
|
const isPotentialKeyboardShortcut = this._isPotentialKeyboardShortcut(e);
|
|
185
|
-
|
|
186
|
-
|
|
184
|
+
if (isPotentialKeyboardShortcut) {
|
|
185
|
+
return;
|
|
186
|
+
}
|
|
187
|
+
if (this._contentWidget.isFocused && e.keyCode === KeyCode.Tab) {
|
|
187
188
|
return;
|
|
188
189
|
}
|
|
189
190
|
this.hideContentHover();
|
|
@@ -201,12 +202,6 @@ let ContentHoverController = class ContentHoverController extends Disposable {
|
|
|
201
202
|
&& this._contentWidget.isVisible;
|
|
202
203
|
return moreChordsAreNeeded || isHoverAction;
|
|
203
204
|
}
|
|
204
|
-
_isModifierKeyPressed(e) {
|
|
205
|
-
return e.keyCode === KeyCode.Ctrl
|
|
206
|
-
|| e.keyCode === KeyCode.Alt
|
|
207
|
-
|| e.keyCode === KeyCode.Meta
|
|
208
|
-
|| e.keyCode === KeyCode.Shift;
|
|
209
|
-
}
|
|
210
205
|
hideContentHover() {
|
|
211
206
|
if (InlineSuggestionHintsContentWidget.dropDownVisible) {
|
|
212
207
|
return;
|
|
@@ -22,6 +22,7 @@ export declare class RenderedContentHover extends Disposable {
|
|
|
22
22
|
get domNode(): DocumentFragment;
|
|
23
23
|
get domNodeHasChildren(): boolean;
|
|
24
24
|
get focusedHoverPartIndex(): number;
|
|
25
|
+
get hoverPartsCount(): number;
|
|
25
26
|
focusHoverPartWithIndex(index: number): void;
|
|
26
27
|
getAccessibleWidgetContent(): string;
|
|
27
28
|
getAccessibleWidgetContentAtIndex(index: number): string;
|
|
@@ -41,6 +41,9 @@ let RenderedContentHover = RenderedContentHover_1 = class RenderedContentHover e
|
|
|
41
41
|
get focusedHoverPartIndex() {
|
|
42
42
|
return this._renderedHoverParts.focusedHoverPartIndex;
|
|
43
43
|
}
|
|
44
|
+
get hoverPartsCount() {
|
|
45
|
+
return this._renderedHoverParts.hoverPartsCount;
|
|
46
|
+
}
|
|
44
47
|
focusHoverPartWithIndex(index) {
|
|
45
48
|
this._renderedHoverParts.focusHoverPartWithIndex(index);
|
|
46
49
|
}
|
|
@@ -165,6 +168,7 @@ let RenderedContentHoverParts = class RenderedContentHoverParts extends Disposab
|
|
|
165
168
|
...hoverContext
|
|
166
169
|
};
|
|
167
170
|
const disposables = ( new DisposableStore());
|
|
171
|
+
disposables.add(statusBar);
|
|
168
172
|
for (const participant of participants) {
|
|
169
173
|
const renderedHoverParts = this._renderHoverPartsForParticipant(hoverParts, participant, hoverRenderingContext);
|
|
170
174
|
disposables.add(renderedHoverParts);
|
|
@@ -186,7 +190,7 @@ let RenderedContentHoverParts = class RenderedContentHoverParts extends Disposab
|
|
|
186
190
|
actions: renderedStatusBar.actions,
|
|
187
191
|
});
|
|
188
192
|
}
|
|
189
|
-
return
|
|
193
|
+
return disposables;
|
|
190
194
|
}
|
|
191
195
|
_renderHoverPartsForParticipant(hoverParts, participant, hoverRenderingContext) {
|
|
192
196
|
const hoverPartsForParticipant = hoverParts.filter(hoverPart => hoverPart.owner === participant);
|
|
@@ -246,19 +250,19 @@ let RenderedContentHoverParts = class RenderedContentHoverParts extends Disposab
|
|
|
246
250
|
return '';
|
|
247
251
|
}
|
|
248
252
|
if (renderedPart.type === 'statusBar') {
|
|
249
|
-
const statusBarDescription = [( localize(
|
|
253
|
+
const statusBarDescription = [( localize(1122, "This is a hover status bar."))];
|
|
250
254
|
for (const action of renderedPart.actions) {
|
|
251
255
|
const keybinding = action.actionKeybindingLabel;
|
|
252
256
|
if (keybinding) {
|
|
253
257
|
statusBarDescription.push(( localize(
|
|
254
|
-
|
|
258
|
+
1123,
|
|
255
259
|
"It has an action with label {0} and keybinding {1}.",
|
|
256
260
|
action.actionLabel,
|
|
257
261
|
keybinding
|
|
258
262
|
)));
|
|
259
263
|
}
|
|
260
264
|
else {
|
|
261
|
-
statusBarDescription.push(( localize(
|
|
265
|
+
statusBarDescription.push(( localize(1124, "It has an action with label {0}.", action.actionLabel)));
|
|
262
266
|
}
|
|
263
267
|
}
|
|
264
268
|
return statusBarDescription.join('\n');
|
|
@@ -269,20 +273,37 @@ let RenderedContentHoverParts = class RenderedContentHoverParts extends Disposab
|
|
|
269
273
|
if (!this._markdownHoverParticipant) {
|
|
270
274
|
return;
|
|
271
275
|
}
|
|
272
|
-
|
|
273
|
-
if (
|
|
274
|
-
|
|
276
|
+
let rangeOfIndicesToUpdate;
|
|
277
|
+
if (index >= 0) {
|
|
278
|
+
rangeOfIndicesToUpdate = { start: index, endExclusive: index + 1 };
|
|
275
279
|
}
|
|
276
|
-
|
|
277
|
-
|
|
278
|
-
|
|
280
|
+
else {
|
|
281
|
+
rangeOfIndicesToUpdate = this._findRangeOfMarkdownHoverParts(this._markdownHoverParticipant);
|
|
282
|
+
}
|
|
283
|
+
for (let i = rangeOfIndicesToUpdate.start; i < rangeOfIndicesToUpdate.endExclusive; i++) {
|
|
284
|
+
const normalizedMarkdownHoverIndex = this._normalizedIndexToMarkdownHoverIndexRange(this._markdownHoverParticipant, i);
|
|
285
|
+
if (normalizedMarkdownHoverIndex === undefined) {
|
|
286
|
+
continue;
|
|
287
|
+
}
|
|
288
|
+
const renderedPart = await this._markdownHoverParticipant.updateMarkdownHoverVerbosityLevel(action, normalizedMarkdownHoverIndex);
|
|
289
|
+
if (!renderedPart) {
|
|
290
|
+
continue;
|
|
291
|
+
}
|
|
292
|
+
this._renderedParts[i] = {
|
|
293
|
+
type: 'hoverPart',
|
|
294
|
+
participant: this._markdownHoverParticipant,
|
|
295
|
+
hoverPart: renderedPart.hoverPart,
|
|
296
|
+
hoverElement: renderedPart.hoverElement,
|
|
297
|
+
};
|
|
298
|
+
}
|
|
299
|
+
if (focus) {
|
|
300
|
+
if (index >= 0) {
|
|
301
|
+
this.focusHoverPartWithIndex(index);
|
|
302
|
+
}
|
|
303
|
+
else {
|
|
304
|
+
this._context.focus();
|
|
305
|
+
}
|
|
279
306
|
}
|
|
280
|
-
this._renderedParts[index] = {
|
|
281
|
-
type: 'hoverPart',
|
|
282
|
-
participant: this._markdownHoverParticipant,
|
|
283
|
-
hoverPart: renderedPart.hoverPart,
|
|
284
|
-
hoverElement: renderedPart.hoverElement,
|
|
285
|
-
};
|
|
286
307
|
this._context.onContentsChanged();
|
|
287
308
|
}
|
|
288
309
|
doesHoverAtIndexSupportVerbosityAction(index, action) {
|
|
@@ -314,6 +335,13 @@ let RenderedContentHoverParts = class RenderedContentHoverParts extends Disposab
|
|
|
314
335
|
}
|
|
315
336
|
return index - firstIndexOfMarkdownHovers;
|
|
316
337
|
}
|
|
338
|
+
_findRangeOfMarkdownHoverParts(markdownHoverParticipant) {
|
|
339
|
+
const copiedRenderedParts = this._renderedParts.slice();
|
|
340
|
+
const firstIndexOfMarkdownHovers = copiedRenderedParts.findIndex(renderedPart => renderedPart.type === 'hoverPart' && renderedPart.participant === markdownHoverParticipant);
|
|
341
|
+
const inversedLastIndexOfMarkdownHovers = copiedRenderedParts.reverse().findIndex(renderedPart => renderedPart.type === 'hoverPart' && renderedPart.participant === markdownHoverParticipant);
|
|
342
|
+
const lastIndexOfMarkdownHovers = inversedLastIndexOfMarkdownHovers >= 0 ? copiedRenderedParts.length - inversedLastIndexOfMarkdownHovers : inversedLastIndexOfMarkdownHovers;
|
|
343
|
+
return { start: firstIndexOfMarkdownHovers, endExclusive: lastIndexOfMarkdownHovers + 1 };
|
|
344
|
+
}
|
|
317
345
|
get domNode() {
|
|
318
346
|
return this._fragment;
|
|
319
347
|
}
|
|
@@ -323,6 +351,9 @@ let RenderedContentHoverParts = class RenderedContentHoverParts extends Disposab
|
|
|
323
351
|
get focusedHoverPartIndex() {
|
|
324
352
|
return this._focusedHoverPartIndex;
|
|
325
353
|
}
|
|
354
|
+
get hoverPartsCount() {
|
|
355
|
+
return this._renderedParts.length;
|
|
356
|
+
}
|
|
326
357
|
};
|
|
327
358
|
RenderedContentHoverParts = RenderedContentHoverParts_1 = ( __decorate([
|
|
328
359
|
( __param(4, IKeybindingService)),
|
|
@@ -6,6 +6,7 @@ import { IContextKeyService } from "../../../../platform/contextkey/common/conte
|
|
|
6
6
|
import { IConfigurationService } from "../../../../platform/configuration/common/configuration.service.js";
|
|
7
7
|
import { IAccessibilityService } from "../../../../platform/accessibility/common/accessibility.service.js";
|
|
8
8
|
import { RenderedContentHover } from "./contentHoverRendered.js";
|
|
9
|
+
import { ScrollEvent } from "../../../../base/common/scrollable.js";
|
|
9
10
|
export declare class ContentHoverWidget extends ResizableContentWidget {
|
|
10
11
|
private readonly _configurationService;
|
|
11
12
|
private readonly _accessibilityService;
|
|
@@ -21,6 +22,8 @@ export declare class ContentHoverWidget extends ResizableContentWidget {
|
|
|
21
22
|
private readonly _hoverFocusedKey;
|
|
22
23
|
private readonly _onDidResize;
|
|
23
24
|
readonly onDidResize: import("../../../../base/common/event.js").Event<void>;
|
|
25
|
+
private readonly _onDidScroll;
|
|
26
|
+
readonly onDidScroll: import("../../../../base/common/event.js").Event<ScrollEvent>;
|
|
24
27
|
get isVisibleFromKeyboard(): boolean;
|
|
25
28
|
get isVisible(): boolean;
|
|
26
29
|
get isFocused(): boolean;
|
|
@@ -30,6 +33,7 @@ export declare class ContentHoverWidget extends ResizableContentWidget {
|
|
|
30
33
|
private static _applyDimensions;
|
|
31
34
|
private _setContentsDomNodeDimensions;
|
|
32
35
|
private _setContainerDomNodeDimensions;
|
|
36
|
+
private _setScrollableElementDimensions;
|
|
33
37
|
private _setHoverWidgetDimensions;
|
|
34
38
|
private static _applyMaxDimensions;
|
|
35
39
|
private _setHoverWidgetMaxDimensions;
|
|
@@ -16,7 +16,6 @@ import { Emitter } from '../../../../base/common/event.js';
|
|
|
16
16
|
|
|
17
17
|
var ContentHoverWidget_1;
|
|
18
18
|
const HORIZONTAL_SCROLLING_BY = 30;
|
|
19
|
-
const CONTAINER_HEIGHT_PADDING = 6;
|
|
20
19
|
let ContentHoverWidget = class ContentHoverWidget extends ResizableContentWidget {
|
|
21
20
|
static { ContentHoverWidget_1 = this; }
|
|
22
21
|
static { this.ID = 'editor.contrib.resizableContentHoverWidget'; }
|
|
@@ -41,11 +40,14 @@ let ContentHoverWidget = class ContentHoverWidget extends ResizableContentWidget
|
|
|
41
40
|
this._hover = this._register(( new HoverWidget(true)));
|
|
42
41
|
this._onDidResize = this._register(( new Emitter()));
|
|
43
42
|
this.onDidResize = this._onDidResize.event;
|
|
43
|
+
this._onDidScroll = this._register(( new Emitter()));
|
|
44
|
+
this.onDidScroll = this._onDidScroll.event;
|
|
44
45
|
this._minimumSize = minimumSize;
|
|
45
46
|
this._hoverVisibleKey = EditorContextKeys.hoverVisible.bindTo(contextKeyService);
|
|
46
47
|
this._hoverFocusedKey = EditorContextKeys.hoverFocused.bindTo(contextKeyService);
|
|
47
48
|
append(this._resizableNode.domNode, this._hover.containerDomNode);
|
|
48
49
|
this._resizableNode.domNode.style.zIndex = '50';
|
|
50
|
+
this._resizableNode.domNode.className = 'monaco-resizable-hover';
|
|
49
51
|
this._register(this._editor.onDidLayoutChange(() => {
|
|
50
52
|
if (this.isVisible) {
|
|
51
53
|
this._updateMaxDimensions();
|
|
@@ -63,6 +65,9 @@ let ContentHoverWidget = class ContentHoverWidget extends ResizableContentWidget
|
|
|
63
65
|
this._register(focusTracker.onDidBlur(() => {
|
|
64
66
|
this._hoverFocusedKey.set(false);
|
|
65
67
|
}));
|
|
68
|
+
this._register(this._hover.scrollbar.onScroll((e) => {
|
|
69
|
+
this._onDidScroll.fire(e);
|
|
70
|
+
}));
|
|
66
71
|
this._setRenderedHover(undefined);
|
|
67
72
|
this._editor.addContentWidget(this);
|
|
68
73
|
}
|
|
@@ -88,9 +93,14 @@ let ContentHoverWidget = class ContentHoverWidget extends ResizableContentWidget
|
|
|
88
93
|
const containerDomNode = this._hover.containerDomNode;
|
|
89
94
|
return ContentHoverWidget_1._applyDimensions(containerDomNode, width, height);
|
|
90
95
|
}
|
|
96
|
+
_setScrollableElementDimensions(width, height) {
|
|
97
|
+
const scrollbarDomElement = this._hover.scrollbar.getDomNode();
|
|
98
|
+
return ContentHoverWidget_1._applyDimensions(scrollbarDomElement, width, height);
|
|
99
|
+
}
|
|
91
100
|
_setHoverWidgetDimensions(width, height) {
|
|
92
|
-
this._setContentsDomNodeDimensions(width, height);
|
|
93
101
|
this._setContainerDomNodeDimensions(width, height);
|
|
102
|
+
this._setScrollableElementDimensions(width, height);
|
|
103
|
+
this._setContentsDomNodeDimensions(width, height);
|
|
94
104
|
this._layoutContentWidget();
|
|
95
105
|
}
|
|
96
106
|
static _applyMaxDimensions(container, width, height) {
|
|
@@ -101,15 +111,14 @@ let ContentHoverWidget = class ContentHoverWidget extends ResizableContentWidget
|
|
|
101
111
|
}
|
|
102
112
|
_setHoverWidgetMaxDimensions(width, height) {
|
|
103
113
|
ContentHoverWidget_1._applyMaxDimensions(this._hover.contentsDomNode, width, height);
|
|
114
|
+
ContentHoverWidget_1._applyMaxDimensions(this._hover.scrollbar.getDomNode(), width, height);
|
|
104
115
|
ContentHoverWidget_1._applyMaxDimensions(this._hover.containerDomNode, width, height);
|
|
105
116
|
this._hover.containerDomNode.style.setProperty('--vscode-hover-maxWidth', typeof width === 'number' ? `${width}px` : width);
|
|
106
117
|
this._layoutContentWidget();
|
|
107
118
|
}
|
|
108
119
|
_setAdjustedHoverWidgetDimensions(size) {
|
|
109
120
|
this._setHoverWidgetMaxDimensions('none', 'none');
|
|
110
|
-
|
|
111
|
-
const height = size.height;
|
|
112
|
-
this._setHoverWidgetDimensions(width, height);
|
|
121
|
+
this._setHoverWidgetDimensions(size.width, size.height);
|
|
113
122
|
}
|
|
114
123
|
_updateResizableNodeMaxDimensions() {
|
|
115
124
|
const maxRenderingWidth = this._findMaximumRenderingWidth() ?? Infinity;
|
|
@@ -140,7 +149,8 @@ let ContentHoverWidget = class ContentHoverWidget extends ResizableContentWidget
|
|
|
140
149
|
if (!availableSpace) {
|
|
141
150
|
return;
|
|
142
151
|
}
|
|
143
|
-
|
|
152
|
+
const children = this._hover.contentsDomNode.children;
|
|
153
|
+
let maximumHeight = children.length - 1;
|
|
144
154
|
Array.from(this._hover.contentsDomNode.children).forEach((hoverPart) => {
|
|
145
155
|
maximumHeight += hoverPart.clientHeight;
|
|
146
156
|
});
|
|
@@ -161,15 +171,16 @@ let ContentHoverWidget = class ContentHoverWidget extends ResizableContentWidget
|
|
|
161
171
|
return;
|
|
162
172
|
}
|
|
163
173
|
const overflowing = this._isHoverTextOverflowing();
|
|
164
|
-
const initialWidth = (
|
|
165
|
-
|
|
174
|
+
const initialWidth = (typeof this._contentWidth === 'undefined'
|
|
175
|
+
? 0
|
|
176
|
+
: this._contentWidth);
|
|
166
177
|
if (overflowing || this._hover.containerDomNode.clientWidth < initialWidth) {
|
|
167
178
|
const bodyBoxWidth = getClientArea(this._hover.containerDomNode.ownerDocument.body).width;
|
|
168
179
|
const horizontalPadding = 14;
|
|
169
180
|
return bodyBoxWidth - horizontalPadding;
|
|
170
181
|
}
|
|
171
182
|
else {
|
|
172
|
-
return this._hover.containerDomNode.clientWidth
|
|
183
|
+
return this._hover.containerDomNode.clientWidth;
|
|
173
184
|
}
|
|
174
185
|
}
|
|
175
186
|
isMouseGettingCloser(posx, posy) {
|
|
@@ -219,13 +230,13 @@ let ContentHoverWidget = class ContentHoverWidget extends ResizableContentWidget
|
|
|
219
230
|
_updateMaxDimensions() {
|
|
220
231
|
const height = Math.max(this._editor.getLayoutInfo().height / 4, 250, ContentHoverWidget_1._lastDimensions.height);
|
|
221
232
|
const width = Math.max(this._editor.getLayoutInfo().width * 0.66, 750, ContentHoverWidget_1._lastDimensions.width);
|
|
233
|
+
this._resizableNode.maxSize = new Dimension(width, height);
|
|
222
234
|
this._setHoverWidgetMaxDimensions(width, height);
|
|
223
235
|
}
|
|
224
236
|
_render(renderedHover) {
|
|
225
237
|
this._setRenderedHover(renderedHover);
|
|
226
238
|
this._updateFont();
|
|
227
239
|
this._updateContent(renderedHover.domNode);
|
|
228
|
-
this._updateMaxDimensions();
|
|
229
240
|
this.onContentsChanged();
|
|
230
241
|
this._editor.render();
|
|
231
242
|
}
|
|
@@ -277,6 +288,7 @@ let ContentHoverWidget = class ContentHoverWidget extends ResizableContentWidget
|
|
|
277
288
|
const layoutInfo = this._editor.getLayoutInfo();
|
|
278
289
|
this._resizableNode.layout(layoutInfo.height, layoutInfo.width);
|
|
279
290
|
this._setHoverWidgetDimensions('auto', 'auto');
|
|
291
|
+
this._updateMaxDimensions();
|
|
280
292
|
}
|
|
281
293
|
setMinimumDimensions(dimensions) {
|
|
282
294
|
this._minimumSize = new Dimension(Math.max(this._minimumSize.width, dimensions.width), Math.max(this._minimumSize.height, dimensions.height));
|
|
@@ -290,13 +302,13 @@ let ContentHoverWidget = class ContentHoverWidget extends ResizableContentWidget
|
|
|
290
302
|
}
|
|
291
303
|
onContentsChanged() {
|
|
292
304
|
this._removeConstraintsRenderNormally();
|
|
293
|
-
const
|
|
294
|
-
let height = getTotalHeight(
|
|
295
|
-
let width = getTotalWidth(
|
|
305
|
+
const contentsDomNode = this._hover.contentsDomNode;
|
|
306
|
+
let height = getTotalHeight(contentsDomNode);
|
|
307
|
+
let width = getTotalWidth(contentsDomNode) + 2;
|
|
296
308
|
this._resizableNode.layout(height, width);
|
|
297
309
|
this._setHoverWidgetDimensions(width, height);
|
|
298
|
-
height = getTotalHeight(
|
|
299
|
-
width = getTotalWidth(
|
|
310
|
+
height = getTotalHeight(contentsDomNode);
|
|
311
|
+
width = getTotalWidth(contentsDomNode);
|
|
300
312
|
this._contentWidth = width;
|
|
301
313
|
this._updateMinimumWidth();
|
|
302
314
|
this._resizableNode.layout(height, width);
|
|
@@ -43,6 +43,9 @@ let ContentHoverWidgetWrapper = class ContentHoverWidgetWrapper extends Disposab
|
|
|
43
43
|
this._register(this._contentHoverWidget.onDidResize(() => {
|
|
44
44
|
this._participants.forEach(participant => participant.handleResize?.());
|
|
45
45
|
}));
|
|
46
|
+
this._register(this._contentHoverWidget.onDidScroll((e) => {
|
|
47
|
+
this._participants.forEach(participant => participant.handleScroll?.(e));
|
|
48
|
+
}));
|
|
46
49
|
return participants;
|
|
47
50
|
}
|
|
48
51
|
_registerListeners() {
|
|
@@ -197,7 +200,8 @@ let ContentHoverWidgetWrapper = class ContentHoverWidgetWrapper extends Disposab
|
|
|
197
200
|
const setMinimumDimensions = (dimensions) => {
|
|
198
201
|
this._contentHoverWidget.setMinimumDimensions(dimensions);
|
|
199
202
|
};
|
|
200
|
-
|
|
203
|
+
const focus = () => this.focus();
|
|
204
|
+
return { hide, onContentsChanged, setMinimumDimensions, focus };
|
|
201
205
|
}
|
|
202
206
|
showsOrWillShow(mouseEvent) {
|
|
203
207
|
const isContentWidgetResizing = this._contentHoverWidget.isResizing;
|
|
@@ -281,6 +285,11 @@ let ContentHoverWidgetWrapper = class ContentHoverWidgetWrapper extends Disposab
|
|
|
281
285
|
return (node ? this._contentHoverWidget.getDomNode().contains(node) : false);
|
|
282
286
|
}
|
|
283
287
|
focus() {
|
|
288
|
+
const hoverPartsCount = this._renderedContentHover?.hoverPartsCount;
|
|
289
|
+
if (hoverPartsCount === 1) {
|
|
290
|
+
this.focusHoverPartWithIndex(0);
|
|
291
|
+
return;
|
|
292
|
+
}
|
|
284
293
|
this._contentHoverWidget.focus();
|
|
285
294
|
}
|
|
286
295
|
focusHoverPartWithIndex(index) {
|
|
@@ -25,7 +25,7 @@ let GlyphHoverWidget = class GlyphHoverWidget extends Disposable {
|
|
|
25
25
|
this._messages = [];
|
|
26
26
|
this._hover = this._register(( new HoverWidget(true)));
|
|
27
27
|
this._hover.containerDomNode.classList.toggle('hidden', !this._isVisible);
|
|
28
|
-
this._markdownRenderer =
|
|
28
|
+
this._markdownRenderer = ( new MarkdownRenderer({ editor: this._editor }, languageService, openerService));
|
|
29
29
|
this._hoverOperation = this._register(( new HoverOperation(this._editor, ( new GlyphHoverComputer(this._editor)))));
|
|
30
30
|
this._register(this._hoverOperation.onResult((result) => this._withResult(result)));
|
|
31
31
|
this._register(this._editor.onDidChangeModelDecorations(() => this._onModelDecorationsChanged()));
|
|
@@ -136,6 +136,7 @@ let GlyphHoverWidget = class GlyphHoverWidget extends Disposable {
|
|
|
136
136
|
const left = editorLayout.glyphMarginLeft + editorLayout.glyphMarginWidth + (laneOrLine === 'lineNo' ? editorLayout.lineNumbersWidth : 0);
|
|
137
137
|
this._hover.containerDomNode.style.left = `${left}px`;
|
|
138
138
|
this._hover.containerDomNode.style.top = `${Math.max(Math.round(top), 0)}px`;
|
|
139
|
+
this._hover.containerDomNode.style.zIndex = '11';
|
|
139
140
|
}
|
|
140
141
|
_onMouseLeave(e) {
|
|
141
142
|
const editorDomNode = this._editor.getDomNode();
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import n from '../../../../../../../external/rollup-plugin-styles/dist/runtime/inject-css.js';
|
|
2
2
|
|
|
3
|
-
var css = ".monaco-editor .hoverHighlight{background-color:var(--vscode-editor-hoverHighlightBackground)}.monaco-editor .monaco-hover-
|
|
3
|
+
var css = ".monaco-editor .hoverHighlight{background-color:var(--vscode-editor-hoverHighlightBackground)}.monaco-editor .monaco-resizable-hover{border:1px solid var(--vscode-editorHoverWidget-border);border-radius:3px;box-sizing:content-box}.monaco-editor .monaco-resizable-hover>.monaco-hover{border:none;border-radius:none}.monaco-editor .monaco-hover{background-color:var(--vscode-editorHoverWidget-background);border:1px solid var(--vscode-editorHoverWidget-border);border-radius:3px;color:var(--vscode-editorHoverWidget-foreground)}.monaco-editor .monaco-hover a{color:var(--vscode-textLink-foreground)}.monaco-editor .monaco-hover a:hover{color:var(--vscode-textLink-activeForeground)}.monaco-editor .monaco-hover .hover-row{display:flex}.monaco-editor .monaco-hover .hover-row .hover-row-contents{display:flex;flex-direction:column;min-width:0}.monaco-editor .monaco-hover .hover-row .verbosity-actions{border-right:1px solid var(--vscode-editorHoverWidget-border);overflow:hidden;width:22px}.monaco-editor .monaco-hover .hover-row .verbosity-actions-inner{display:flex;flex-direction:column;justify-content:flex-end;padding-left:5px;padding-right:5px;position:relative}.monaco-editor .monaco-hover .hover-row .verbosity-actions-inner .codicon{cursor:pointer;font-size:11px}.monaco-editor .monaco-hover .hover-row .verbosity-actions-inner .codicon.enabled{color:var(--vscode-textLink-foreground)}.monaco-editor .monaco-hover .hover-row .verbosity-actions-inner .codicon.disabled{opacity:.6}.monaco-editor .monaco-hover .hover-row .actions{background-color:var(--vscode-editorHoverWidget-statusBarBackground)}.monaco-editor .monaco-hover code{background-color:var(--vscode-textCodeBlock-background)}";
|
|
4
4
|
n(css,{});
|
|
5
5
|
|
|
6
6
|
export { css, css as default };
|
|
@@ -1,20 +1,20 @@
|
|
|
1
1
|
import { ContentHoverController } from "./contentHoverController.js";
|
|
2
2
|
import { AccessibleViewType, AccessibleViewProviderId, AccessibleContentProvider, IAccessibleViewContentProvider, IAccessibleViewOptions } from "../../../../platform/accessibility/browser/accessibleView.js";
|
|
3
|
-
import {
|
|
3
|
+
import { IAccessibleViewImplementation } from "../../../../platform/accessibility/browser/accessibleViewRegistry.js";
|
|
4
4
|
import { ServicesAccessor } from "../../../../platform/instantiation/common/instantiation.js";
|
|
5
5
|
import { ICodeEditor } from "../../../browser/editorBrowser.js";
|
|
6
6
|
import { IAction } from "../../../../base/common/actions.js";
|
|
7
7
|
import { Event } from "../../../../base/common/event.js";
|
|
8
8
|
import { Disposable } from "../../../../base/common/lifecycle.js";
|
|
9
9
|
import { IKeybindingService } from "../../../../platform/keybinding/common/keybinding.service.js";
|
|
10
|
-
export declare class HoverAccessibleView implements
|
|
10
|
+
export declare class HoverAccessibleView implements IAccessibleViewImplementation {
|
|
11
11
|
readonly type = AccessibleViewType.View;
|
|
12
12
|
readonly priority = 95;
|
|
13
13
|
readonly name = "hover";
|
|
14
14
|
readonly when: import("../../../../platform/contextkey/common/contextkey.js").RawContextKey<boolean>;
|
|
15
15
|
getProvider(accessor: ServicesAccessor): AccessibleContentProvider | undefined;
|
|
16
16
|
}
|
|
17
|
-
export declare class HoverAccessibilityHelp implements
|
|
17
|
+
export declare class HoverAccessibilityHelp implements IAccessibleViewImplementation {
|
|
18
18
|
readonly priority = 100;
|
|
19
19
|
readonly name = "hover";
|
|
20
20
|
readonly type = AccessibleViewType.Help;
|
|
@@ -52,7 +52,7 @@ export declare class HoverAccessibleViewProvider extends BaseHoverAccessibleView
|
|
|
52
52
|
private _getActionFor;
|
|
53
53
|
private _initializeOptions;
|
|
54
54
|
}
|
|
55
|
-
export declare class ExtHoverAccessibleView implements
|
|
55
|
+
export declare class ExtHoverAccessibleView implements IAccessibleViewImplementation {
|
|
56
56
|
readonly type = AccessibleViewType.View;
|
|
57
57
|
readonly priority = 90;
|
|
58
58
|
readonly name = "extension-hover";
|
|
@@ -20,12 +20,12 @@ import { labelForHoverVerbosityAction } from './markdownHoverParticipant.js';
|
|
|
20
20
|
var HoverAccessibilityHelpNLS;
|
|
21
21
|
(function (HoverAccessibilityHelpNLS) {
|
|
22
22
|
HoverAccessibilityHelpNLS.increaseVerbosity = ( localize(
|
|
23
|
-
|
|
23
|
+
1125,
|
|
24
24
|
'- The focused hover part verbosity level can be increased with the Increase Hover Verbosity command.',
|
|
25
25
|
`<keybinding:${INCREASE_HOVER_VERBOSITY_ACTION_ID}>`
|
|
26
26
|
));
|
|
27
27
|
HoverAccessibilityHelpNLS.decreaseVerbosity = ( localize(
|
|
28
|
-
|
|
28
|
+
1126,
|
|
29
29
|
'- The focused hover part verbosity level can be decreased with the Decrease Hover Verbosity command.',
|
|
30
30
|
`<keybinding:${DECREASE_HOVER_VERBOSITY_ACTION_ID}>`
|
|
31
31
|
));
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
export declare const SHOW_OR_FOCUS_HOVER_ACTION_ID = "editor.action.showHover";
|
|
2
2
|
export declare const SHOW_DEFINITION_PREVIEW_HOVER_ACTION_ID = "editor.action.showDefinitionPreviewHover";
|
|
3
|
+
export declare const HIDE_HOVER_ACTION_ID = "editor.action.hideHover";
|
|
3
4
|
export declare const SCROLL_UP_HOVER_ACTION_ID = "editor.action.scrollUpHover";
|
|
4
5
|
export declare const SCROLL_DOWN_HOVER_ACTION_ID = "editor.action.scrollDownHover";
|
|
5
6
|
export declare const SCROLL_LEFT_HOVER_ACTION_ID = "editor.action.scrollLeftHover";
|
|
@@ -3,6 +3,7 @@ import { localize } from '../../../../nls.js';
|
|
|
3
3
|
|
|
4
4
|
const SHOW_OR_FOCUS_HOVER_ACTION_ID = 'editor.action.showHover';
|
|
5
5
|
const SHOW_DEFINITION_PREVIEW_HOVER_ACTION_ID = 'editor.action.showDefinitionPreviewHover';
|
|
6
|
+
const HIDE_HOVER_ACTION_ID = 'editor.action.hideHover';
|
|
6
7
|
const SCROLL_UP_HOVER_ACTION_ID = 'editor.action.scrollUpHover';
|
|
7
8
|
const SCROLL_DOWN_HOVER_ACTION_ID = 'editor.action.scrollDownHover';
|
|
8
9
|
const SCROLL_LEFT_HOVER_ACTION_ID = 'editor.action.scrollLeftHover';
|
|
@@ -13,9 +14,9 @@ const GO_TO_TOP_HOVER_ACTION_ID = 'editor.action.goToTopHover';
|
|
|
13
14
|
const GO_TO_BOTTOM_HOVER_ACTION_ID = 'editor.action.goToBottomHover';
|
|
14
15
|
const INCREASE_HOVER_VERBOSITY_ACTION_ID = 'editor.action.increaseHoverVerbosityLevel';
|
|
15
16
|
const INCREASE_HOVER_VERBOSITY_ACCESSIBLE_ACTION_ID = 'editor.action.increaseHoverVerbosityLevelFromAccessibleView';
|
|
16
|
-
const INCREASE_HOVER_VERBOSITY_ACTION_LABEL = ( localize(
|
|
17
|
+
const INCREASE_HOVER_VERBOSITY_ACTION_LABEL = ( localize(1127, "Increase Hover Verbosity Level"));
|
|
17
18
|
const DECREASE_HOVER_VERBOSITY_ACTION_ID = 'editor.action.decreaseHoverVerbosityLevel';
|
|
18
19
|
const DECREASE_HOVER_VERBOSITY_ACCESSIBLE_ACTION_ID = 'editor.action.decreaseHoverVerbosityLevelFromAccessibleView';
|
|
19
|
-
const DECREASE_HOVER_VERBOSITY_ACTION_LABEL = ( localize(
|
|
20
|
+
const DECREASE_HOVER_VERBOSITY_ACTION_LABEL = ( localize(1128, "Decrease Hover Verbosity Level"));
|
|
20
21
|
|
|
21
|
-
export { DECREASE_HOVER_VERBOSITY_ACCESSIBLE_ACTION_ID, DECREASE_HOVER_VERBOSITY_ACTION_ID, DECREASE_HOVER_VERBOSITY_ACTION_LABEL, GO_TO_BOTTOM_HOVER_ACTION_ID, GO_TO_TOP_HOVER_ACTION_ID, INCREASE_HOVER_VERBOSITY_ACCESSIBLE_ACTION_ID, INCREASE_HOVER_VERBOSITY_ACTION_ID, INCREASE_HOVER_VERBOSITY_ACTION_LABEL, PAGE_DOWN_HOVER_ACTION_ID, PAGE_UP_HOVER_ACTION_ID, SCROLL_DOWN_HOVER_ACTION_ID, SCROLL_LEFT_HOVER_ACTION_ID, SCROLL_RIGHT_HOVER_ACTION_ID, SCROLL_UP_HOVER_ACTION_ID, SHOW_DEFINITION_PREVIEW_HOVER_ACTION_ID, SHOW_OR_FOCUS_HOVER_ACTION_ID };
|
|
22
|
+
export { DECREASE_HOVER_VERBOSITY_ACCESSIBLE_ACTION_ID, DECREASE_HOVER_VERBOSITY_ACTION_ID, DECREASE_HOVER_VERBOSITY_ACTION_LABEL, GO_TO_BOTTOM_HOVER_ACTION_ID, GO_TO_TOP_HOVER_ACTION_ID, HIDE_HOVER_ACTION_ID, INCREASE_HOVER_VERBOSITY_ACCESSIBLE_ACTION_ID, INCREASE_HOVER_VERBOSITY_ACTION_ID, INCREASE_HOVER_VERBOSITY_ACTION_LABEL, PAGE_DOWN_HOVER_ACTION_ID, PAGE_UP_HOVER_ACTION_ID, SCROLL_DOWN_HOVER_ACTION_ID, SCROLL_LEFT_HOVER_ACTION_ID, SCROLL_RIGHT_HOVER_ACTION_ID, SCROLL_UP_HOVER_ACTION_ID, SHOW_DEFINITION_PREVIEW_HOVER_ACTION_ID, SHOW_OR_FOCUS_HOVER_ACTION_ID };
|