@codingame/monaco-vscode-api 13.1.7 → 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 +2 -2
- package/vscode/src/vs/base/common/filters.js +1 -1
- package/vscode/src/vs/base/common/iterator.d.ts +1 -1
- package/vscode/src/vs/base/common/iterator.js +8 -2
- package/vscode/src/vs/base/common/lifecycle.d.ts +7 -0
- package/vscode/src/vs/base/common/map.d.ts +8 -16
- package/vscode/src/vs/base/common/map.js +43 -30
- package/vscode/src/vs/base/common/network.d.ts +2 -2
- package/vscode/src/vs/base/common/network.js +4 -4
- package/vscode/src/vs/base/common/numbers.d.ts +1 -0
- package/vscode/src/vs/base/common/observableInternal/autorun.d.ts +2 -2
- package/vscode/src/vs/base/common/observableInternal/autorun.js +14 -1
- package/vscode/src/vs/base/common/observableInternal/base.d.ts +13 -9
- package/vscode/src/vs/base/common/observableInternal/base.js +7 -1
- package/vscode/src/vs/base/common/observableInternal/derived.d.ts +5 -3
- package/vscode/src/vs/base/common/observableInternal/derived.js +31 -4
- package/vscode/src/vs/base/common/observableInternal/index.d.ts +2 -2
- package/vscode/src/vs/base/common/observableInternal/lazyObservableValue.js +5 -2
- package/vscode/src/vs/base/common/observableInternal/logging.d.ts +10 -4
- package/vscode/src/vs/base/common/observableInternal/logging.js +310 -1
- package/vscode/src/vs/base/common/observableInternal/utils.d.ts +9 -9
- package/vscode/src/vs/base/common/observableInternal/utils.js +13 -4
- package/vscode/src/vs/base/common/path.js +1 -2
- package/vscode/src/vs/base/common/product.d.ts +5 -0
- package/vscode/src/vs/base/common/stream.d.ts +1 -1
- package/vscode/src/vs/base/common/stream.js +13 -5
- package/vscode/src/vs/base/common/strings.d.ts +1 -0
- package/vscode/src/vs/base/common/strings.js +19 -9
- package/vscode/src/vs/base/common/types.d.ts +2 -1
- package/vscode/src/vs/base/common/types.js +9 -4
- package/vscode/src/vs/base/common/uuid.js +1 -50
- package/vscode/src/vs/editor/browser/controller/editContext/native/nativeEditContext.d.ts +2 -1
- package/vscode/src/vs/editor/browser/controller/editContext/native/nativeEditContext.js +26 -12
- package/vscode/src/vs/editor/browser/editorDom.js +3 -3
- package/vscode/src/vs/editor/browser/editorExtensions.js +15 -0
- package/vscode/src/vs/editor/browser/gpu/atlas/atlas.d.ts +7 -2
- package/vscode/src/vs/editor/browser/gpu/atlas/textureAtlas.d.ts +1 -1
- package/vscode/src/vs/editor/browser/gpu/atlas/textureAtlas.js +34 -27
- package/vscode/src/vs/editor/browser/gpu/atlas/textureAtlasPage.d.ts +1 -1
- package/vscode/src/vs/editor/browser/gpu/atlas/textureAtlasPage.js +8 -8
- package/vscode/src/vs/editor/browser/gpu/atlas/textureAtlasSlabAllocator.js +3 -3
- package/vscode/src/vs/editor/browser/gpu/contentSegmenter.d.ts +7 -0
- package/vscode/src/vs/editor/browser/gpu/contentSegmenter.js +49 -0
- package/vscode/src/vs/editor/browser/gpu/{decorationCssRuleExtractor.d.ts → css/decorationCssRuleExtractor.d.ts} +1 -1
- package/vscode/src/vs/editor/browser/gpu/{decorationCssRuleExtractor.js → css/decorationCssRuleExtractor.js} +2 -2
- package/vscode/src/vs/editor/browser/gpu/css/decorationStyleCache.d.ts +15 -0
- package/vscode/src/vs/editor/browser/gpu/css/decorationStyleCache.js +37 -0
- package/vscode/src/vs/editor/browser/gpu/{media → css/media}/decorationCssRuleExtractor.css.js +1 -1
- package/vscode/src/vs/editor/browser/gpu/gpu.d.ts +6 -2
- package/vscode/src/vs/editor/browser/gpu/raster/glyphRasterizer.d.ts +5 -2
- package/vscode/src/vs/editor/browser/gpu/raster/glyphRasterizer.js +57 -14
- package/vscode/src/vs/editor/browser/gpu/raster/raster.d.ts +2 -1
- package/vscode/src/vs/editor/browser/gpu/rectangleRenderer.d.ts +4 -1
- package/vscode/src/vs/editor/browser/gpu/rectangleRenderer.js +5 -1
- package/vscode/src/vs/editor/browser/gpu/renderStrategy/baseRenderStrategy.d.ts +25 -0
- package/vscode/src/vs/editor/browser/gpu/renderStrategy/baseRenderStrategy.js +16 -0
- package/vscode/src/vs/editor/browser/gpu/{fullFileRenderStrategy.d.ts → renderStrategy/fullFileRenderStrategy.d.ts} +14 -13
- package/vscode/src/vs/editor/browser/gpu/{fullFileRenderStrategy.js → renderStrategy/fullFileRenderStrategy.js} +100 -57
- package/vscode/src/vs/editor/browser/gpu/{fullFileRenderStrategy.wgsl.js → renderStrategy/fullFileRenderStrategy.wgsl.js} +3 -3
- package/vscode/src/vs/editor/browser/gpu/renderStrategy/viewportRenderStrategy.d.ts +40 -0
- package/vscode/src/vs/editor/browser/gpu/renderStrategy/viewportRenderStrategy.js +287 -0
- package/vscode/src/vs/editor/browser/gpu/taskQueue.d.ts +4 -3
- package/vscode/src/vs/editor/browser/gpu/taskQueue.js +17 -2
- package/vscode/src/vs/editor/browser/gpu/viewGpuContext.d.ts +8 -9
- package/vscode/src/vs/editor/browser/gpu/viewGpuContext.js +45 -34
- package/vscode/src/vs/editor/browser/observableCodeEditor.d.ts +28 -21
- package/vscode/src/vs/editor/browser/observableCodeEditor.js +68 -2
- package/vscode/src/vs/editor/browser/point.d.ts +9 -0
- package/vscode/src/vs/editor/browser/point.js +22 -0
- package/vscode/src/vs/editor/browser/rect.d.ts +30 -0
- package/vscode/src/vs/editor/browser/rect.js +131 -0
- package/vscode/src/vs/editor/browser/services/editorWorkerService.d.ts +1 -1
- package/vscode/src/vs/editor/browser/services/hoverService/hoverService.js +1 -1
- package/vscode/src/vs/editor/browser/view/viewLayer.d.ts +1 -1
- package/vscode/src/vs/editor/browser/view/viewLayer.js +8 -1
- package/vscode/src/vs/editor/browser/view.d.ts +1 -0
- package/vscode/src/vs/editor/browser/view.js +9 -5
- package/vscode/src/vs/editor/browser/viewParts/viewLines/viewLines.js +1 -1
- package/vscode/src/vs/editor/browser/viewParts/viewLinesGpu/viewLinesGpu.d.ts +7 -3
- package/vscode/src/vs/editor/browser/viewParts/viewLinesGpu/viewLinesGpu.js +140 -56
- package/vscode/src/vs/editor/browser/widget/codeEditor/codeEditorWidget.d.ts +1 -0
- package/vscode/src/vs/editor/browser/widget/codeEditor/codeEditorWidget.js +5 -0
- package/vscode/src/vs/editor/browser/widget/codeEditor/embeddedCodeEditorWidget.d.ts +2 -1
- package/vscode/src/vs/editor/browser/widget/codeEditor/embeddedCodeEditorWidget.js +8 -1
- package/vscode/src/vs/editor/browser/widget/diffEditor/commands.d.ts +1 -0
- package/vscode/src/vs/editor/browser/widget/diffEditor/commands.js +14 -9
- package/vscode/src/vs/editor/browser/widget/diffEditor/components/diffEditorEditors.d.ts +12 -10
- package/vscode/src/vs/editor/browser/widget/diffEditor/components/diffEditorEditors.js +12 -5
- package/vscode/src/vs/editor/browser/widget/diffEditor/components/diffEditorSash.d.ts +1 -1
- package/vscode/src/vs/editor/browser/widget/diffEditor/components/diffEditorViewZones/renderLines.d.ts +4 -2
- package/vscode/src/vs/editor/browser/widget/diffEditor/components/diffEditorViewZones/renderLines.js +29 -7
- package/vscode/src/vs/editor/browser/widget/diffEditor/diffEditorOptions.d.ts +28 -28
- package/vscode/src/vs/editor/browser/widget/diffEditor/diffEditorViewModel.d.ts +2 -2
- package/vscode/src/vs/editor/browser/widget/diffEditor/diffEditorViewModel.js +0 -1
- package/vscode/src/vs/editor/browser/widget/diffEditor/diffProviderFactoryService.d.ts +1 -1
- package/vscode/src/vs/editor/browser/widget/diffEditor/features/gutterFeature.d.ts +2 -2
- package/vscode/src/vs/editor/browser/widget/diffEditor/utils.d.ts +2 -2
- package/vscode/src/vs/editor/browser/widget/markdownRenderer/browser/markdownRenderer.d.ts +3 -6
- package/vscode/src/vs/editor/browser/widget/markdownRenderer/browser/markdownRenderer.js +3 -10
- package/vscode/src/vs/editor/common/config/editorOptions.d.ts +8 -6
- package/vscode/src/vs/editor/common/config/editorOptions.js +409 -392
- package/vscode/src/vs/editor/common/core/editorColorRegistry.js +71 -71
- package/vscode/src/vs/editor/common/core/offsetEdit.d.ts +3 -0
- package/vscode/src/vs/editor/common/core/offsetEdit.js +9 -0
- package/vscode/src/vs/editor/common/core/offsetRange.d.ts +1 -0
- package/vscode/src/vs/editor/common/core/offsetRange.js +3 -0
- package/vscode/src/vs/editor/common/core/position.js +1 -1
- package/vscode/src/vs/editor/common/core/positionToOffset.d.ts +1 -0
- package/vscode/src/vs/editor/common/core/positionToOffset.js +20 -1
- package/vscode/src/vs/editor/common/core/range.d.ts +1 -0
- package/vscode/src/vs/editor/common/core/range.js +3 -0
- package/vscode/src/vs/editor/common/core/textEdit.d.ts +0 -6
- package/vscode/src/vs/editor/common/core/textEdit.js +0 -1
- package/vscode/src/vs/editor/common/core/textLength.js +1 -1
- package/vscode/src/vs/editor/common/diff/defaultLinesDiffComputer/defaultLinesDiffComputer.js +10 -7
- package/vscode/src/vs/editor/common/diff/defaultLinesDiffComputer/heuristicSequenceOptimizations.d.ts +2 -1
- package/vscode/src/vs/editor/common/diff/defaultLinesDiffComputer/heuristicSequenceOptimizations.js +6 -6
- package/vscode/src/vs/editor/common/diff/defaultLinesDiffComputer/linesSliceCharSequence.d.ts +1 -0
- package/vscode/src/vs/editor/common/diff/defaultLinesDiffComputer/linesSliceCharSequence.js +20 -0
- package/vscode/src/vs/editor/common/diff/linesDiffComputer.d.ts +1 -0
- package/vscode/src/vs/editor/common/diff/rangeMapping.d.ts +1 -1
- package/vscode/src/vs/editor/common/diff/rangeMapping.js +1 -22
- package/vscode/src/vs/editor/common/editorContextKeys.js +46 -46
- package/vscode/src/vs/editor/common/languages/defaultDocumentColorsComputer.js +1 -1
- package/vscode/src/vs/editor/common/languages/languageConfigurationRegistry.js +5 -5
- package/vscode/src/vs/editor/common/languages/modesRegistry.js +1 -1
- package/vscode/src/vs/editor/common/languages.d.ts +21 -25
- package/vscode/src/vs/editor/common/languages.js +27 -27
- package/vscode/src/vs/editor/common/model/editStack.js +1 -1
- package/vscode/src/vs/editor/common/model/textModel.d.ts +1 -0
- package/vscode/src/vs/editor/common/model/textModel.js +6 -3
- package/vscode/src/vs/editor/common/model/textModelTokens.d.ts +2 -2
- package/vscode/src/vs/editor/common/model/textModelTokens.js +11 -18
- package/vscode/src/vs/editor/common/model/tokenStore.d.ts +59 -0
- package/vscode/src/vs/editor/common/model/tokenStore.js +384 -0
- package/vscode/src/vs/editor/common/model/tokenizationTextModelPart.d.ts +5 -5
- package/vscode/src/vs/editor/common/model/tokenizationTextModelPart.js +10 -15
- package/vscode/src/vs/editor/common/model/tokens.d.ts +2 -2
- package/vscode/src/vs/editor/common/model/treeSitterTokenStoreService.d.ts +44 -0
- package/vscode/src/vs/editor/common/model/treeSitterTokenStoreService.js +114 -0
- package/vscode/src/vs/editor/common/model/treeSitterTokens.d.ts +4 -5
- package/vscode/src/vs/editor/common/model/treeSitterTokens.js +18 -10
- package/vscode/src/vs/editor/common/services/editorSimpleWorker.d.ts +1 -1
- package/vscode/src/vs/editor/common/services/editorWorker.d.ts +1 -1
- package/vscode/src/vs/editor/common/services/languageFeatures.d.ts +1 -2
- package/vscode/src/vs/editor/common/services/languageFeaturesService.d.ts +1 -2
- package/vscode/src/vs/editor/common/services/languageFeaturesService.js +0 -1
- package/vscode/src/vs/editor/common/services/treeSitterParserService.d.ts +18 -5
- package/vscode/src/vs/editor/common/standaloneStrings.d.ts +3 -0
- package/vscode/src/vs/editor/common/standaloneStrings.js +54 -38
- package/vscode/src/vs/editor/common/tokenizationTextModelPart.d.ts +1 -13
- package/vscode/src/vs/editor/common/tokenizationTextModelPart.js +1 -13
- package/vscode/src/vs/editor/common/tokens/lineTokens.d.ts +1 -0
- package/vscode/src/vs/editor/common/tokens/lineTokens.js +3 -0
- package/vscode/src/vs/editor/common/tokens/tokenArray.d.ts +5 -0
- package/vscode/src/vs/editor/common/tokens/tokenArray.js +24 -0
- package/vscode/src/vs/editor/common/viewLayout/viewLineRenderer.js +2 -2
- package/vscode/src/vs/editor/contrib/anchorSelect/browser/anchorSelect.js +6 -6
- package/vscode/src/vs/editor/contrib/bracketMatching/browser/bracketMatching.js +6 -6
- package/vscode/src/vs/editor/contrib/caretOperations/browser/caretOperations.js +2 -2
- package/vscode/src/vs/editor/contrib/caretOperations/browser/transpose.js +1 -1
- package/vscode/src/vs/editor/contrib/clipboard/browser/clipboard.js +17 -17
- package/vscode/src/vs/editor/contrib/codeAction/browser/codeAction.js +1 -1
- package/vscode/src/vs/editor/contrib/codeAction/browser/codeActionCommands.js +29 -29
- package/vscode/src/vs/editor/contrib/codeAction/browser/codeActionContributions.js +3 -3
- package/vscode/src/vs/editor/contrib/codeAction/browser/codeActionController.js +3 -3
- package/vscode/src/vs/editor/contrib/codeAction/browser/codeActionMenu.js +8 -8
- package/vscode/src/vs/editor/contrib/codeAction/browser/codeActionModel.js +1 -0
- package/vscode/src/vs/editor/contrib/codeAction/browser/lightBulbWidget.js +9 -9
- package/vscode/src/vs/editor/contrib/codelens/browser/codeLensCache.js +1 -1
- package/vscode/src/vs/editor/contrib/codelens/browser/codelens.d.ts +1 -1
- package/vscode/src/vs/editor/contrib/codelens/browser/codelens.js +7 -5
- package/vscode/src/vs/editor/contrib/codelens/browser/codelensController.js +2 -2
- package/vscode/src/vs/editor/contrib/codelens/browser/codelensWidget.css.js +1 -1
- package/vscode/src/vs/editor/contrib/colorPicker/browser/colorPickerParts/colorPickerCloseButton.js +1 -1
- package/vscode/src/vs/editor/contrib/colorPicker/browser/colorPickerParts/colorPickerHeader.js +1 -1
- package/vscode/src/vs/editor/contrib/colorPicker/browser/hoverColorPicker/hoverColorPicker.d.ts +2 -0
- package/vscode/src/vs/editor/contrib/colorPicker/browser/hoverColorPicker/hoverColorPicker.js +12 -0
- package/vscode/src/vs/editor/contrib/colorPicker/browser/hoverColorPicker/hoverColorPickerContribution.d.ts +1 -2
- package/vscode/src/vs/editor/contrib/colorPicker/browser/hoverColorPicker/hoverColorPickerContribution.js +2 -9
- package/vscode/src/vs/editor/contrib/colorPicker/browser/hoverColorPicker/hoverColorPickerParticipant.js +3 -5
- package/vscode/src/vs/editor/contrib/colorPicker/browser/standaloneColorPicker/standaloneColorPickerActions.js +7 -7
- package/vscode/src/vs/editor/contrib/colorPicker/browser/standaloneColorPicker/standaloneColorPickerParticipant.d.ts +12 -8
- package/vscode/src/vs/editor/contrib/colorPicker/browser/standaloneColorPicker/standaloneColorPickerParticipant.js +41 -41
- package/vscode/src/vs/editor/contrib/colorPicker/browser/standaloneColorPicker/standaloneColorPickerWidget.d.ts +2 -0
- package/vscode/src/vs/editor/contrib/colorPicker/browser/standaloneColorPicker/standaloneColorPickerWidget.js +13 -8
- package/vscode/src/vs/editor/contrib/comment/browser/comment.js +6 -6
- package/vscode/src/vs/editor/contrib/contextmenu/browser/contextmenu.js +10 -10
- package/vscode/src/vs/editor/contrib/cursorUndo/browser/cursorUndo.js +2 -2
- package/vscode/src/vs/editor/contrib/dropOrPasteInto/browser/copyPasteContribution.js +4 -4
- package/vscode/src/vs/editor/contrib/dropOrPasteInto/browser/copyPasteController.js +32 -33
- package/vscode/src/vs/editor/contrib/dropOrPasteInto/browser/defaultProviders.js +8 -8
- package/vscode/src/vs/editor/contrib/dropOrPasteInto/browser/dropIntoEditorController.js +3 -3
- package/vscode/src/vs/editor/contrib/dropOrPasteInto/browser/postEditWidget.js +2 -2
- package/vscode/src/vs/editor/contrib/editorState/browser/keybindingCancellation.js +1 -1
- package/vscode/src/vs/editor/contrib/find/browser/findController.d.ts +1 -0
- package/vscode/src/vs/editor/contrib/find/browser/findController.js +20 -17
- package/vscode/src/vs/editor/contrib/find/browser/findWidget.d.ts +2 -1
- package/vscode/src/vs/editor/contrib/find/browser/findWidget.js +32 -30
- package/vscode/src/vs/editor/contrib/find/browser/replaceWidgetHistory.d.ts +21 -0
- package/vscode/src/vs/editor/contrib/find/browser/replaceWidgetHistory.js +76 -0
- package/vscode/src/vs/editor/contrib/folding/browser/folding.js +20 -20
- package/vscode/src/vs/editor/contrib/folding/browser/foldingDecorations.js +9 -9
- package/vscode/src/vs/editor/contrib/fontZoom/browser/fontZoom.js +3 -3
- package/vscode/src/vs/editor/contrib/format/browser/formatActions.js +2 -2
- package/vscode/src/vs/editor/contrib/gotoError/browser/gotoError.d.ts +1 -1
- package/vscode/src/vs/editor/contrib/gotoError/browser/gotoError.js +40 -36
- package/vscode/src/vs/editor/contrib/gotoError/browser/gotoErrorWidget.js +14 -14
- package/vscode/src/vs/editor/contrib/gotoError/browser/markerNavigationService.js +56 -30
- package/vscode/src/vs/editor/contrib/gotoSymbol/browser/goToCommands.d.ts +1 -1
- package/vscode/src/vs/editor/contrib/gotoSymbol/browser/goToCommands.js +43 -41
- package/vscode/src/vs/editor/contrib/gotoSymbol/browser/link/goToDefinitionAtPosition.js +3 -2
- package/vscode/src/vs/editor/contrib/gotoSymbol/browser/peek/referencesController.js +5 -4
- package/vscode/src/vs/editor/contrib/gotoSymbol/browser/peek/referencesTree.js +3 -3
- package/vscode/src/vs/editor/contrib/gotoSymbol/browser/peek/referencesWidget.js +3 -3
- package/vscode/src/vs/editor/contrib/gotoSymbol/browser/referencesModel.js +8 -8
- package/vscode/src/vs/editor/contrib/gotoSymbol/browser/symbolNavigation.js +3 -3
- package/vscode/src/vs/editor/contrib/gpu/browser/gpuActions.js +5 -5
- package/vscode/src/vs/editor/contrib/hover/browser/contentHoverController.d.ts +1 -3
- package/vscode/src/vs/editor/contrib/hover/browser/contentHoverController.js +54 -59
- package/vscode/src/vs/editor/contrib/hover/browser/contentHoverRendered.d.ts +1 -0
- package/vscode/src/vs/editor/contrib/hover/browser/contentHoverRendered.js +47 -16
- package/vscode/src/vs/editor/contrib/hover/browser/contentHoverWidget.d.ts +4 -0
- package/vscode/src/vs/editor/contrib/hover/browser/contentHoverWidget.js +27 -15
- package/vscode/src/vs/editor/contrib/hover/browser/contentHoverWidgetWrapper.js +10 -1
- package/vscode/src/vs/editor/contrib/hover/browser/glyphHoverWidget.js +2 -1
- package/vscode/src/vs/editor/contrib/hover/browser/hover.css.js +1 -1
- package/vscode/src/vs/editor/contrib/hover/browser/hoverAccessibleViews.d.ts +4 -4
- package/vscode/src/vs/editor/contrib/hover/browser/hoverAccessibleViews.js +2 -2
- package/vscode/src/vs/editor/contrib/hover/browser/hoverActionIds.d.ts +1 -0
- package/vscode/src/vs/editor/contrib/hover/browser/hoverActionIds.js +4 -3
- package/vscode/src/vs/editor/contrib/hover/browser/hoverActions.d.ts +4 -0
- package/vscode/src/vs/editor/contrib/hover/browser/hoverActions.js +38 -25
- package/vscode/src/vs/editor/contrib/hover/browser/hoverContribution.js +2 -1
- package/vscode/src/vs/editor/contrib/hover/browser/hoverOperation.js +1 -0
- package/vscode/src/vs/editor/contrib/hover/browser/hoverTypes.d.ts +4 -1
- package/vscode/src/vs/editor/contrib/hover/browser/markdownHoverParticipant.d.ts +3 -1
- package/vscode/src/vs/editor/contrib/hover/browser/markdownHoverParticipant.js +65 -33
- package/vscode/src/vs/editor/contrib/hover/browser/markerHoverParticipant.js +5 -5
- package/vscode/src/vs/editor/contrib/inPlaceReplace/browser/inPlaceReplace.js +2 -2
- package/vscode/src/vs/editor/contrib/indentation/browser/indentation.js +20 -20
- package/vscode/src/vs/editor/contrib/inlayHints/browser/inlayHintsHover.js +8 -8
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/controller/commands.d.ts +2 -2
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/controller/commands.js +38 -24
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/controller/inlineCompletionContextKeys.d.ts +1 -0
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/controller/inlineCompletionContextKeys.js +11 -10
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/controller/inlineCompletionsController.d.ts +7 -3
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/controller/inlineCompletionsController.js +50 -7
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/hintsWidget/hoverParticipant.js +8 -7
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/hintsWidget/inlineCompletionsHintsWidget.js +5 -5
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/inlineCompletionsAccessibleView.d.ts +2 -2
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/model/computeGhostText.d.ts +2 -0
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/model/computeGhostText.js +1 -1
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/model/inlineCompletionsModel.d.ts +18 -19
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/model/inlineCompletionsModel.js +55 -27
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/model/inlineCompletionsSource.d.ts +22 -7
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/model/inlineCompletionsSource.js +199 -21
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/model/inlineEditsAdapter.js +3 -0
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/model/provideInlineCompletions.d.ts +5 -1
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/model/provideInlineCompletions.js +38 -15
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/model/suggestWidgetAdapter.d.ts +1 -1
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/utils.d.ts +1 -0
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/utils.js +10 -10
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/view/ghostText/ghostTextView.d.ts +16 -3
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/view/ghostText/ghostTextView.js +65 -30
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/view/inlineCompletionsView.d.ts +6 -5
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/view/inlineCompletionsView.js +7 -6
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/view/inlineEdits/deletionView.d.ts +29 -0
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/view/inlineEdits/deletionView.js +141 -0
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/view/inlineEdits/gutterIndicatorMenu.d.ts +19 -0
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/view/inlineEdits/gutterIndicatorMenu.js +143 -0
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/view/inlineEdits/gutterIndicatorView.d.ts +37 -0
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/view/inlineEdits/gutterIndicatorView.js +259 -0
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/view/inlineEdits/{inlineEditsIndicatorView.d.ts → indicatorView.d.ts} +1 -2
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/view/inlineEdits/{inlineEditsIndicatorView.js → indicatorView.js} +9 -8
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/view/inlineEdits/inlineDiffView.d.ts +5 -2
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/view/inlineEdits/inlineDiffView.js +39 -19
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/view/inlineEdits/insertionView.d.ts +32 -0
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/view/inlineEdits/insertionView.js +204 -0
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/view/inlineEdits/sideBySideDiff.d.ts +71 -0
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/view/inlineEdits/sideBySideDiff.js +584 -0
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/view/inlineEdits/utils.d.ts +123 -12
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/view/inlineEdits/utils.js +348 -20
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/view/inlineEdits/view.css.js +6 -0
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/view/inlineEdits/view.d.ts +41 -0
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/view/inlineEdits/view.js +365 -0
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/view/inlineEdits/{inlineEditsViewAndDiffProducer.d.ts → viewAndDiffProducer.d.ts} +7 -13
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/view/inlineEdits/viewAndDiffProducer.js +92 -0
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/view/inlineEdits/wordReplacementView.d.ts +58 -0
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/view/inlineEdits/wordReplacementView.js +520 -0
- package/vscode/src/vs/editor/contrib/lineSelection/browser/lineSelection.js +1 -1
- package/vscode/src/vs/editor/contrib/linesOperations/browser/linesOperations.js +30 -30
- package/vscode/src/vs/editor/contrib/linkedEditing/browser/linkedEditing.js +2 -2
- package/vscode/src/vs/editor/contrib/links/browser/getLinks.d.ts +1 -0
- package/vscode/src/vs/editor/contrib/links/browser/getLinks.js +16 -12
- package/vscode/src/vs/editor/contrib/links/browser/links.d.ts +1 -0
- package/vscode/src/vs/editor/contrib/links/browser/links.js +13 -10
- package/vscode/src/vs/editor/contrib/message/browser/messageController.js +1 -1
- package/vscode/src/vs/editor/contrib/multicursor/browser/multicursor.js +22 -22
- package/vscode/src/vs/editor/contrib/parameterHints/browser/parameterHints.js +1 -1
- package/vscode/src/vs/editor/contrib/parameterHints/browser/parameterHintsWidget.js +5 -5
- package/vscode/src/vs/editor/contrib/peekView/browser/peekView.d.ts +1 -2
- package/vscode/src/vs/editor/contrib/peekView/browser/peekView.js +18 -26
- package/vscode/src/vs/editor/contrib/placeholderText/browser/placeholderText.contribution.js +1 -1
- package/vscode/src/vs/editor/contrib/readOnlyMessage/browser/contribution.js +2 -2
- package/vscode/src/vs/editor/contrib/rename/browser/rename.js +11 -11
- package/vscode/src/vs/editor/contrib/rename/browser/renameWidget.js +6 -6
- package/vscode/src/vs/editor/contrib/smartSelect/browser/smartSelect.js +4 -4
- package/vscode/src/vs/editor/contrib/snippet/browser/snippetController2.js +4 -4
- package/vscode/src/vs/editor/contrib/snippet/browser/snippetVariables.js +4 -4
- package/vscode/src/vs/editor/contrib/stickyScroll/browser/stickyScroll.css.js +1 -1
- package/vscode/src/vs/editor/contrib/stickyScroll/browser/stickyScrollActions.d.ts +2 -3
- package/vscode/src/vs/editor/contrib/stickyScroll/browser/stickyScrollActions.js +19 -15
- package/vscode/src/vs/editor/contrib/stickyScroll/browser/stickyScrollController.d.ts +14 -0
- package/vscode/src/vs/editor/contrib/stickyScroll/browser/stickyScrollController.js +48 -19
- package/vscode/src/vs/editor/contrib/stickyScroll/browser/stickyScrollWidget.d.ts +7 -0
- package/vscode/src/vs/editor/contrib/stickyScroll/browser/stickyScrollWidget.js +25 -6
- package/vscode/src/vs/editor/contrib/suggest/browser/media/suggest.css.js +1 -1
- package/vscode/src/vs/editor/contrib/suggest/browser/suggest.js +8 -8
- package/vscode/src/vs/editor/contrib/suggest/browser/suggestController.js +10 -10
- package/vscode/src/vs/editor/contrib/suggest/browser/suggestWidget.js +20 -20
- package/vscode/src/vs/editor/contrib/suggest/browser/suggestWidgetDetails.js +9 -7
- package/vscode/src/vs/editor/contrib/suggest/browser/suggestWidgetRenderer.d.ts +0 -1
- package/vscode/src/vs/editor/contrib/suggest/browser/suggestWidgetRenderer.js +3 -7
- package/vscode/src/vs/editor/contrib/suggest/browser/wordContextKey.js +5 -1
- package/vscode/src/vs/editor/contrib/symbolIcons/browser/symbolIcons.js +33 -33
- package/vscode/src/vs/editor/contrib/toggleTabFocusMode/browser/toggleTabFocusMode.js +4 -4
- package/vscode/src/vs/editor/contrib/tokenization/browser/tokenization.js +1 -1
- package/vscode/src/vs/editor/contrib/unicodeHighlighter/browser/unicodeHighlighter.js +24 -24
- package/vscode/src/vs/editor/contrib/unusualLineTerminators/browser/unusualLineTerminators.js +5 -5
- package/vscode/src/vs/editor/contrib/wordHighlighter/browser/highlightDecorations.js +9 -9
- package/vscode/src/vs/editor/contrib/wordHighlighter/browser/wordHighlighter.js +3 -3
- package/vscode/src/vs/editor/contrib/wordOperations/browser/wordOperations.js +1 -1
- package/vscode/src/vs/editor/contrib/zoneWidget/browser/zoneWidget.d.ts +2 -2
- package/vscode/src/vs/editor/contrib/zoneWidget/browser/zoneWidget.js +8 -3
- package/vscode/src/vs/editor/standalone/browser/quickInput/standaloneQuickInputService.d.ts +4 -0
- package/vscode/src/vs/editor/standalone/browser/quickInput/standaloneQuickInputService.js +3 -0
- package/vscode/src/vs/editor/standalone/browser/standaloneServices.js +2 -1
- package/vscode/src/vs/editor/standalone/browser/standaloneTreeSitterService.d.ts +3 -7
- package/vscode/src/vs/editor/standalone/browser/standaloneTreeSitterService.js +1 -1
- package/vscode/src/vs/platform/accessibility/browser/accessibleView.d.ts +3 -2
- package/vscode/src/vs/platform/accessibility/browser/accessibleView.js +1 -0
- package/vscode/src/vs/platform/accessibility/browser/accessibleViewRegistry.d.ts +4 -4
- package/vscode/src/vs/platform/accessibilitySignal/browser/accessibilitySignalService.js +52 -52
- package/vscode/src/vs/platform/action/common/actionCommonCategories.js +6 -6
- package/vscode/src/vs/platform/actionWidget/browser/actionList.js +4 -4
- package/vscode/src/vs/platform/actionWidget/browser/actionWidget.js +7 -7
- package/vscode/src/vs/platform/actions/browser/dropdownWithPrimaryActionViewItem.d.ts +39 -0
- package/vscode/src/vs/platform/actions/browser/dropdownWithPrimaryActionViewItem.js +145 -0
- package/vscode/src/vs/platform/actions/browser/menuEntryActionViewItem.d.ts +1 -0
- package/vscode/src/vs/platform/actions/browser/menuEntryActionViewItem.js +6 -6
- package/vscode/src/vs/platform/actions/browser/toolbar.js +2 -2
- package/vscode/src/vs/platform/actions/common/actions.d.ts +4 -1
- package/vscode/src/vs/platform/actions/common/actions.js +9 -6
- package/vscode/src/vs/platform/actions/common/menuResetAction.js +1 -1
- package/vscode/src/vs/platform/actions/common/menuService.js +2 -2
- package/vscode/src/vs/platform/commands/common/commands.js +2 -2
- package/vscode/src/vs/platform/configuration/common/configuration.d.ts +4 -1
- package/vscode/src/vs/platform/configuration/common/configuration.js +3 -0
- package/vscode/src/vs/platform/configuration/common/configurationModels.d.ts +2 -2
- package/vscode/src/vs/platform/configuration/common/configurationModels.js +39 -21
- package/vscode/src/vs/platform/configuration/common/configurationRegistry.d.ts +9 -4
- package/vscode/src/vs/platform/configuration/common/configurationRegistry.js +25 -15
- package/vscode/src/vs/platform/contextkey/browser/contextKeyService.js +1 -1
- package/vscode/src/vs/platform/contextkey/common/contextkey.js +11 -11
- package/vscode/src/vs/platform/contextkey/common/contextkeys.js +9 -9
- package/vscode/src/vs/platform/contextkey/common/scanner.js +5 -5
- package/vscode/src/vs/platform/contextview/browser/contextView.service.d.ts +2 -2
- package/vscode/src/vs/platform/dialogs/common/dialogs.service.d.ts +1 -1
- package/vscode/src/vs/platform/dnd/browser/dnd.js +1 -1
- package/vscode/src/vs/platform/environment/common/argv.d.ts +2 -0
- package/vscode/src/vs/platform/environment/common/environment.service.d.ts +1 -1
- package/vscode/src/vs/platform/extensionManagement/common/extensionManagement.d.ts +5 -3
- package/vscode/src/vs/platform/extensionManagement/common/extensionManagement.js +17 -6
- package/vscode/src/vs/platform/extensionManagement/common/extensionManagement.service.d.ts +5 -5
- package/vscode/src/vs/platform/extensionManagement/common/extensionManagementUtil.d.ts +2 -1
- package/vscode/src/vs/platform/extensionManagement/common/extensionManagementUtil.js +10 -1
- package/vscode/src/vs/platform/extensionManagement/common/extensionNls.js +1 -1
- package/vscode/src/vs/platform/extensionManagement/common/extensionsProfileScannerService.d.ts +3 -5
- package/vscode/src/vs/platform/extensionManagement/common/extensionsProfileScannerService.js +8 -13
- package/vscode/src/vs/platform/extensionManagement/common/extensionsProfileScannerService.service.d.ts +2 -2
- package/vscode/src/vs/platform/extensionManagement/common/extensionsScannerService.d.ts +20 -14
- package/vscode/src/vs/platform/extensionManagement/common/extensionsScannerService.js +127 -125
- package/vscode/src/vs/platform/extensionManagement/common/extensionsScannerService.service.d.ts +8 -9
- package/vscode/src/vs/platform/extensions/common/extensionValidator.js +20 -20
- package/vscode/src/vs/platform/extensions/common/extensions.d.ts +56 -25
- package/vscode/src/vs/platform/extensions/common/extensions.js +8 -1
- package/vscode/src/vs/platform/extensions/common/extensionsApiProposals.d.ts +11 -8
- package/vscode/src/vs/platform/extensions/common/extensionsApiProposals.js +12 -9
- package/vscode/src/vs/platform/files/browser/htmlFileSystemProvider.js +2 -2
- package/vscode/src/vs/platform/files/common/files.js +6 -6
- package/vscode/src/vs/platform/history/browser/contextScopedHistoryWidget.js +1 -1
- package/vscode/src/vs/platform/instantiation/common/extensions.d.ts +3 -2
- package/vscode/src/vs/platform/keybinding/common/abstractKeybindingService.js +4 -4
- package/vscode/src/vs/platform/label/common/label.service.d.ts +2 -1
- package/vscode/src/vs/platform/languagePacks/common/languagePacks.service.d.ts +1 -1
- package/vscode/src/vs/platform/list/browser/listService.d.ts +1 -0
- package/vscode/src/vs/platform/list/browser/listService.js +27 -27
- package/vscode/src/vs/platform/log/common/log.d.ts +6 -0
- package/vscode/src/vs/platform/log/common/log.js +18 -9
- package/vscode/src/vs/platform/markers/common/markers.js +3 -3
- package/vscode/src/vs/platform/quickinput/browser/media/quickInput.css.js +1 -1
- package/vscode/src/vs/platform/quickinput/browser/quickInput.d.ts +5 -0
- package/vscode/src/vs/platform/quickinput/browser/quickInput.js +19 -9
- package/vscode/src/vs/platform/quickinput/browser/quickInputActions.js +3 -3
- package/vscode/src/vs/platform/quickinput/browser/quickInputController.d.ts +11 -1
- package/vscode/src/vs/platform/quickinput/browser/quickInputController.js +241 -12
- package/vscode/src/vs/platform/quickinput/browser/quickInputService.d.ts +4 -0
- package/vscode/src/vs/platform/quickinput/browser/quickInputService.js +3 -0
- package/vscode/src/vs/platform/quickinput/browser/quickInputTree.js +1 -1
- package/vscode/src/vs/platform/quickinput/browser/quickInputUtils.js +1 -1
- package/vscode/src/vs/platform/quickinput/common/quickInput.d.ts +2 -1
- package/vscode/src/vs/platform/quickinput/common/quickInput.service.d.ts +4 -0
- package/vscode/src/vs/platform/request/common/request.d.ts +2 -2
- package/vscode/src/vs/platform/request/common/request.js +171 -112
- package/vscode/src/vs/platform/telemetry/common/telemetryUtils.d.ts +2 -0
- package/vscode/src/vs/platform/telemetry/common/telemetryUtils.js +3 -1
- package/vscode/src/vs/platform/terminal/common/terminal.d.ts +6 -2
- package/vscode/src/vs/platform/terminal/common/terminal.js +5 -1
- package/vscode/src/vs/platform/terminal/common/terminal.service.d.ts +1 -1
- package/vscode/src/vs/platform/theme/common/colorUtils.js +2 -2
- package/vscode/src/vs/platform/theme/common/colors/baseColors.js +17 -17
- package/vscode/src/vs/platform/theme/common/colors/chartsColors.js +8 -8
- package/vscode/src/vs/platform/theme/common/colors/editorColors.js +96 -96
- package/vscode/src/vs/platform/theme/common/colors/inputColors.js +45 -45
- package/vscode/src/vs/platform/theme/common/colors/listColors.js +36 -36
- package/vscode/src/vs/platform/theme/common/colors/menuColors.js +7 -7
- package/vscode/src/vs/platform/theme/common/colors/minimapColors.js +11 -11
- package/vscode/src/vs/platform/theme/common/colors/miscColors.js +15 -15
- package/vscode/src/vs/platform/theme/common/colors/quickpickColors.js +9 -9
- package/vscode/src/vs/platform/theme/common/colors/searchColors.js +3 -3
- package/vscode/src/vs/platform/theme/common/iconRegistry.d.ts +7 -0
- package/vscode/src/vs/platform/theme/common/iconRegistry.js +17 -7
- package/vscode/src/vs/platform/theme/common/theme.d.ts +6 -0
- package/vscode/src/vs/platform/theme/common/theme.js +8 -1
- package/vscode/src/vs/platform/theme/common/themeService.d.ts +12 -3
- package/vscode/src/vs/platform/theme/common/themeService.js +5 -5
- package/vscode/src/vs/platform/undoRedo/common/undoRedoService.js +20 -20
- package/vscode/src/vs/platform/userDataProfile/common/userDataProfile.js +1 -1
- package/vscode/src/vs/platform/userDataSync/common/userDataSync.d.ts +7 -5
- package/vscode/src/vs/platform/userDataSync/common/userDataSync.js +5 -5
- package/vscode/src/vs/platform/userDataSync/common/userDataSync.service.d.ts +3 -3
- package/vscode/src/vs/platform/window/common/window.d.ts +6 -1
- package/vscode/src/vs/platform/workspace/common/workspace.js +1 -1
- package/vscode/src/vs/platform/workspaces/common/workspaces.service.d.ts +2 -2
- package/vscode/src/vs/workbench/api/browser/statusBarService.d.ts +3 -2
- package/vscode/src/vs/workbench/api/browser/statusBarService.js +3 -2
- package/vscode/src/vs/workbench/api/common/extHost.api.impl.js +10 -14
- package/vscode/src/vs/workbench/api/common/extHost.protocol.d.ts +18 -11
- package/vscode/src/vs/workbench/api/common/extHostApiCommands.js +1 -20
- package/vscode/src/vs/workbench/api/common/extHostChatAgents2.d.ts +2 -0
- package/vscode/src/vs/workbench/api/common/extHostChatAgents2.js +37 -10
- package/vscode/src/vs/workbench/api/common/extHostCodeMapper.js +4 -18
- package/vscode/src/vs/workbench/api/common/extHostCommands.d.ts +2 -2
- package/vscode/src/vs/workbench/api/common/extHostCommands.js +1 -1
- package/vscode/src/vs/workbench/api/common/extHostComments.js +3 -5
- package/vscode/src/vs/workbench/api/common/extHostConfiguration.d.ts +16 -0
- package/vscode/src/vs/workbench/api/common/extHostConfiguration.js +4 -0
- package/vscode/src/vs/workbench/api/common/extHostDiagnostics.js +1 -1
- package/vscode/src/vs/workbench/api/common/extHostDialogs.d.ts +1 -2
- package/vscode/src/vs/workbench/api/common/extHostDialogs.js +1 -5
- package/vscode/src/vs/workbench/api/common/extHostExtensionService.js +2 -2
- package/vscode/src/vs/workbench/api/common/extHostLabelService.d.ts +1 -1
- package/vscode/src/vs/workbench/api/common/extHostLanguageFeatures.d.ts +0 -2
- package/vscode/src/vs/workbench/api/common/extHostLanguageFeatures.js +29 -65
- package/vscode/src/vs/workbench/api/common/extHostLanguageModelTools.d.ts +3 -2
- package/vscode/src/vs/workbench/api/common/extHostLanguageModelTools.js +33 -13
- package/vscode/src/vs/workbench/api/common/extHostLanguageModels.js +3 -2
- package/vscode/src/vs/workbench/api/common/extHostLogService.js +1 -1
- package/vscode/src/vs/workbench/api/common/extHostMemento.js +6 -1
- package/vscode/src/vs/workbench/api/common/extHostNotebook.js +2 -2
- package/vscode/src/vs/workbench/api/common/extHostSCM.js +2 -1
- package/vscode/src/vs/workbench/api/common/extHostStatusBar.d.ts +10 -2
- package/vscode/src/vs/workbench/api/common/extHostStatusBar.js +47 -7
- package/vscode/src/vs/workbench/api/common/extHostTelemetry.js +12 -8
- package/vscode/src/vs/workbench/api/common/extHostTerminalService.d.ts +3 -1
- package/vscode/src/vs/workbench/api/common/extHostTerminalService.js +66 -5
- package/vscode/src/vs/workbench/api/common/extHostTerminalShellIntegration.d.ts +1 -0
- package/vscode/src/vs/workbench/api/common/extHostTerminalShellIntegration.js +18 -1
- package/vscode/src/vs/workbench/api/common/extHostTimeline.js +2 -2
- package/vscode/src/vs/workbench/api/common/extHostTreeViews.js +1 -1
- package/vscode/src/vs/workbench/api/common/extHostTunnelService.js +2 -2
- package/vscode/src/vs/workbench/api/common/extHostTypeConverters.d.ts +4 -13
- package/vscode/src/vs/workbench/api/common/extHostTypeConverters.js +7 -61
- package/vscode/src/vs/workbench/api/common/extHostTypes.d.ts +24 -3
- package/vscode/src/vs/workbench/api/common/extHostTypes.js +37 -5
- package/vscode/src/vs/workbench/api/common/extHostVariableResolverService.js +22 -2
- package/vscode/src/vs/workbench/api/common/extHostWorkspace.d.ts +1 -1
- package/vscode/src/vs/workbench/api/common/extHostWorkspace.js +3 -2
- package/vscode/src/vs/workbench/api/common/extensionHostMain.js +17 -8
- package/vscode/src/vs/workbench/api/common/jsonValidationExtensionPoint.js +12 -12
- package/vscode/src/vs/workbench/browser/actions/developerActions.js +31 -31
- package/vscode/src/vs/workbench/browser/actions/textInputActions.js +6 -6
- package/vscode/src/vs/workbench/browser/parts/titlebar/titlebarActions.d.ts +12 -0
- package/vscode/src/vs/workbench/browser/parts/titlebar/titlebarActions.js +247 -0
- package/vscode/src/vs/workbench/common/activity.d.ts +2 -0
- package/vscode/src/vs/workbench/common/activity.js +6 -0
- package/vscode/src/vs/workbench/common/configuration.js +12 -12
- package/vscode/src/vs/workbench/common/contextkeys.js +70 -70
- package/vscode/src/vs/workbench/common/editor/editorInput.d.ts +1 -1
- package/vscode/src/vs/workbench/common/editor/resourceEditorInput.d.ts +44 -0
- package/vscode/src/vs/workbench/common/editor/resourceEditorInput.js +166 -0
- package/vscode/src/vs/workbench/common/editor.d.ts +1 -1
- package/vscode/src/vs/workbench/common/editor.js +4 -4
- package/vscode/src/vs/workbench/common/theme.js +159 -164
- package/vscode/src/vs/workbench/common/views.js +4 -4
- package/vscode/src/vs/workbench/contrib/accessibility/browser/accessibilityConfiguration.d.ts +2 -1
- package/vscode/src/vs/workbench/contrib/accessibility/browser/accessibilityConfiguration.js +152 -142
- package/vscode/src/vs/workbench/contrib/accessibility/browser/accessibleViewActions.js +14 -14
- package/vscode/src/vs/workbench/contrib/accessibility/browser/editorAccessibilityHelp.d.ts +1 -0
- package/vscode/src/vs/workbench/contrib/accessibility/browser/editorAccessibilityHelp.js +16 -1
- package/vscode/src/vs/workbench/contrib/chat/browser/actions/chatActions.d.ts +28 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/actions/chatActions.js +521 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/actions/chatClear.d.ts +3 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/actions/chatClear.js +20 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/chat.d.ts +136 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/chat.js +51 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/chat.service.d.ts +3 -3
- package/vscode/src/vs/workbench/contrib/chat/browser/chatContentParts/chatContentParts.d.ts +2 -2
- package/vscode/src/vs/workbench/contrib/chat/browser/chatContentParts/chatMarkdownAnchorService.service.d.ts +8 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/chatContentParts/chatMarkdownAnchorService.service.js +6 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/chatEditing/chatEditing.d.ts +4 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/chatEditing/chatEditing.js +15 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/chatEditorActions.d.ts +23 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/chatEditorActions.js +309 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/chatEditorController.d.ts +81 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/chatEditorController.js +681 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/chatEditorInput.d.ts +57 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/chatEditorInput.js +169 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/chatEditorOverlay.d.ts +20 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/chatEditorOverlay.js +296 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/chatQuotasService.d.ts +41 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/chatQuotasService.js +198 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/chatQuotasService.service.d.ts +1 -1
- package/vscode/src/vs/workbench/contrib/chat/browser/contrib/screenshot.d.ts +3 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/contrib/screenshot.js +15 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/media/chatEditorController.css.js +6 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/media/chatEditorOverlay.css.js +6 -0
- package/vscode/src/vs/workbench/contrib/chat/common/annotations.d.ts +20 -0
- package/vscode/src/vs/workbench/contrib/chat/common/annotations.js +134 -0
- package/vscode/src/vs/workbench/contrib/chat/common/chatAgents.d.ts +16 -4
- package/vscode/src/vs/workbench/contrib/chat/common/chatAgents.js +48 -5
- package/vscode/src/vs/workbench/contrib/chat/common/chatAgents.service.d.ts +4 -0
- package/vscode/src/vs/workbench/contrib/chat/common/chatCodeMapperService.service.d.ts +1 -2
- package/vscode/src/vs/workbench/contrib/chat/common/chatContextKeys.d.ts +15 -3
- package/vscode/src/vs/workbench/contrib/chat/common/chatContextKeys.js +61 -29
- package/vscode/src/vs/workbench/contrib/chat/common/chatEditingService.d.ts +19 -3
- package/vscode/src/vs/workbench/contrib/chat/common/chatEditingService.js +17 -2
- package/vscode/src/vs/workbench/contrib/chat/common/chatEditingService.service.d.ts +3 -4
- package/vscode/src/vs/workbench/contrib/chat/common/chatModel.d.ts +444 -0
- package/vscode/src/vs/workbench/contrib/chat/common/chatModel.js +991 -0
- package/vscode/src/vs/workbench/contrib/chat/common/chatParserTypes.d.ts +112 -0
- package/vscode/src/vs/workbench/contrib/chat/common/chatParserTypes.js +181 -0
- package/vscode/src/vs/workbench/contrib/chat/common/chatParticipantContribTypes.d.ts +35 -0
- package/vscode/src/vs/workbench/contrib/chat/common/chatParticipantContribTypes.js +5 -0
- package/vscode/src/vs/workbench/contrib/chat/common/chatService.d.ts +6 -1
- package/vscode/src/vs/workbench/contrib/chat/common/chatService.js +1 -2
- package/vscode/src/vs/workbench/contrib/chat/common/chatService.service.d.ts +3 -3
- package/vscode/src/vs/workbench/contrib/chat/common/chatVariables.d.ts +1 -1
- package/vscode/src/vs/workbench/contrib/chat/common/chatVariables.service.d.ts +2 -2
- package/vscode/src/vs/workbench/contrib/chat/common/chatViewModel.d.ts +234 -0
- package/vscode/src/vs/workbench/contrib/chat/common/chatViewModel.js +375 -0
- package/vscode/src/vs/workbench/contrib/chat/common/chatWidgetHistoryService.service.d.ts +1 -1
- package/vscode/src/vs/workbench/contrib/chat/common/chatWordCounter.d.ts +8 -0
- package/vscode/src/vs/workbench/contrib/chat/common/chatWordCounter.js +38 -0
- package/vscode/src/vs/workbench/contrib/chat/common/languageModelStats.d.ts +12 -0
- package/vscode/src/vs/workbench/contrib/chat/common/languageModelStats.js +42 -0
- package/vscode/src/vs/workbench/contrib/chat/common/languageModelToolsService.d.ts +3 -0
- package/vscode/src/vs/workbench/contrib/chat/common/languageModelToolsService.service.d.ts +1 -0
- package/vscode/src/vs/workbench/contrib/chat/common/languageModels.d.ts +10 -5
- package/vscode/src/vs/workbench/contrib/chat/common/languageModels.js +7 -7
- package/vscode/src/vs/workbench/contrib/chat/common/promptSyntax/contentProviders/types.d.ts +9 -0
- package/vscode/src/vs/workbench/contrib/chat/common/promptSyntax/parsers/types.d.ts +27 -0
- package/vscode/src/vs/workbench/contrib/chat/common/tools/editFileTool.d.ts +34 -0
- package/vscode/src/vs/workbench/contrib/chat/common/tools/editFileTool.js +168 -0
- package/vscode/src/vs/workbench/contrib/codeActions/browser/codeActionsContribution.js +13 -13
- package/vscode/src/vs/workbench/contrib/codeEditor/browser/dictation/editorDictation.js +4 -4
- package/vscode/src/vs/workbench/contrib/codeEditor/browser/diffEditorAccessibilityHelp.d.ts +2 -2
- package/vscode/src/vs/workbench/contrib/codeEditor/browser/diffEditorAccessibilityHelp.js +5 -5
- package/vscode/src/vs/workbench/contrib/codeEditor/browser/diffEditorHelper.js +3 -3
- package/vscode/src/vs/workbench/contrib/codeEditor/browser/largeFileOptimizations.js +3 -3
- package/vscode/src/vs/workbench/contrib/codeEditor/browser/saveParticipants.d.ts +1 -1
- package/vscode/src/vs/workbench/contrib/codeEditor/browser/saveParticipants.js +4 -4
- package/vscode/src/vs/workbench/contrib/codeEditor/browser/toggleMinimap.js +2 -2
- package/vscode/src/vs/workbench/contrib/codeEditor/browser/toggleMultiCursorModifier.js +4 -4
- package/vscode/src/vs/workbench/contrib/codeEditor/browser/toggleRenderControlCharacter.js +2 -2
- package/vscode/src/vs/workbench/contrib/codeEditor/browser/toggleRenderWhitespace.js +2 -2
- package/vscode/src/vs/workbench/contrib/codeEditor/browser/toggleWordWrap.js +9 -19
- package/vscode/src/vs/workbench/contrib/comments/browser/commentService.service.d.ts +1 -1
- package/vscode/src/vs/workbench/contrib/comments/browser/commentsAccessibility.d.ts +2 -2
- package/vscode/src/vs/workbench/contrib/comments/browser/commentsAccessibility.js +12 -12
- package/vscode/src/vs/workbench/contrib/comments/common/commentContextKeys.d.ts +1 -0
- package/vscode/src/vs/workbench/contrib/comments/common/commentContextKeys.js +14 -10
- package/vscode/src/vs/workbench/contrib/debug/common/abstractDebugAdapter.js +1 -1
- package/vscode/src/vs/workbench/contrib/debug/common/debug.d.ts +4 -0
- package/vscode/src/vs/workbench/contrib/debug/common/debug.js +64 -64
- package/vscode/src/vs/workbench/contrib/editSessions/common/editSessions.service.d.ts +1 -1
- package/vscode/src/vs/workbench/contrib/extensions/common/extensions.d.ts +167 -0
- package/vscode/src/vs/workbench/contrib/extensions/common/extensions.js +85 -0
- package/vscode/src/vs/workbench/contrib/extensions/common/extensions.service.d.ts +1 -2
- package/vscode/src/vs/workbench/contrib/files/browser/fileConstants.js +6 -6
- package/vscode/src/vs/workbench/contrib/files/browser/files.service.d.ts +2 -2
- package/vscode/src/vs/workbench/contrib/folding/browser/folding.contribution.js +3 -3
- package/vscode/src/vs/workbench/contrib/format/browser/formatActionsMultiple.js +20 -20
- package/vscode/src/vs/workbench/contrib/format/browser/formatActionsNone.js +4 -4
- package/vscode/src/vs/workbench/contrib/format/browser/formatModified.js +2 -2
- package/vscode/src/vs/workbench/contrib/inlayHints/browser/inlayHintsAccessibilty.js +4 -4
- package/vscode/src/vs/workbench/contrib/inlineChat/browser/inlineChatSessionService.d.ts +10 -0
- package/vscode/src/vs/workbench/contrib/inlineChat/browser/inlineChatSessionService.service.d.ts +4 -3
- package/vscode/src/vs/workbench/contrib/list/browser/listResizeColumnAction.js +2 -2
- package/vscode/src/vs/workbench/contrib/list/browser/tableColumnResizeQuickPick.js +5 -5
- package/vscode/src/vs/workbench/contrib/logs/common/defaultLogLevels.service.d.ts +0 -1
- package/vscode/src/vs/workbench/contrib/multiDiffEditor/browser/multiDiffSourceResolverService.service.d.ts +1 -1
- package/vscode/src/vs/workbench/contrib/notebook/browser/contrib/chatEdit/notebookChatEditContext.d.ts +2 -0
- package/vscode/src/vs/workbench/contrib/notebook/browser/contrib/chatEdit/notebookChatEditContext.js +7 -0
- package/vscode/src/vs/workbench/contrib/notebook/browser/contrib/chatEdit/notebookSynchronizer.service.d.ts +1 -1
- package/vscode/src/vs/workbench/contrib/notebook/browser/notebookBrowser.d.ts +602 -0
- package/vscode/src/vs/workbench/contrib/notebook/browser/notebookBrowser.js +143 -0
- package/vscode/src/vs/workbench/contrib/notebook/browser/services/notebookEditorService.service.d.ts +2 -2
- package/vscode/src/vs/workbench/contrib/notebook/common/notebookCommon.d.ts +6 -4
- package/vscode/src/vs/workbench/contrib/notebook/common/notebookCommon.js +2 -0
- package/vscode/src/vs/workbench/contrib/notebook/common/notebookEditorInput.d.ts +60 -0
- package/vscode/src/vs/workbench/contrib/notebook/common/notebookEditorInput.js +316 -0
- package/vscode/src/vs/workbench/contrib/notebook/common/notebookExecutionService.d.ts +1 -1
- package/vscode/src/vs/workbench/contrib/notebook/common/notebookExecutionService.service.d.ts +1 -1
- package/vscode/src/vs/workbench/contrib/notebook/common/notebookExecutionStateService.service.d.ts +1 -1
- package/vscode/src/vs/workbench/contrib/notebook/common/notebookRange.d.ts +13 -0
- package/vscode/src/vs/workbench/contrib/notebook/common/notebookRange.js +73 -0
- package/vscode/src/vs/workbench/contrib/notebook/common/notebookService.d.ts +36 -0
- package/vscode/src/vs/workbench/contrib/notebook/common/notebookService.js +11 -0
- package/vscode/src/vs/workbench/contrib/notebook/common/notebookService.service.d.ts +3 -3
- package/vscode/src/vs/workbench/contrib/notebook/common/notebookSynchronizerService.service.d.ts +1 -1
- package/vscode/src/vs/workbench/contrib/scm/browser/quickDiffModel.service.d.ts +8 -0
- package/vscode/src/vs/workbench/contrib/scm/browser/{diff.service.js → quickDiffModel.service.js} +2 -2
- package/vscode/src/vs/workbench/contrib/scm/common/history.d.ts +5 -1
- package/vscode/src/vs/workbench/contrib/scm/common/quickDiff.d.ts +30 -1
- package/vscode/src/vs/workbench/contrib/scm/common/quickDiff.js +95 -0
- package/vscode/src/vs/workbench/contrib/scm/common/quickDiffService.d.ts +17 -0
- package/vscode/src/vs/workbench/contrib/scm/common/quickDiffService.js +82 -0
- package/vscode/src/vs/workbench/contrib/scm/common/scm.service.d.ts +1 -1
- package/vscode/src/vs/workbench/contrib/snippets/browser/snippetCompletionProvider.js +3 -3
- package/vscode/src/vs/workbench/contrib/snippets/browser/snippetsFile.js +3 -3
- package/vscode/src/vs/workbench/contrib/snippets/browser/snippetsService.js +9 -9
- package/vscode/src/vs/workbench/contrib/speech/common/speechService.d.ts +2 -1
- package/vscode/src/vs/workbench/contrib/speech/common/speechService.js +30 -29
- package/vscode/src/vs/workbench/contrib/tasks/common/taskDefinitionRegistry.js +5 -5
- package/vscode/src/vs/workbench/contrib/tasks/common/tasks.js +3 -3
- package/vscode/src/vs/workbench/contrib/terminal/browser/terminal.d.ts +3 -0
- package/vscode/src/vs/workbench/contrib/terminal/browser/terminal.service.d.ts +3 -2
- package/vscode/src/vs/workbench/contrib/terminal/common/terminal.service.d.ts +2 -2
- package/vscode/src/vs/workbench/contrib/testing/common/constants.js +11 -11
- package/vscode/src/vs/workbench/contrib/testing/common/testCoverageService.service.d.ts +1 -1
- package/vscode/src/vs/workbench/contrib/testing/common/testExplorerFilterState.service.d.ts +1 -1
- package/vscode/src/vs/workbench/contrib/testing/common/testId.d.ts +1 -0
- package/vscode/src/vs/workbench/contrib/testing/common/testId.js +3 -0
- package/vscode/src/vs/workbench/contrib/testing/common/testTypes.js +3 -3
- package/vscode/src/vs/workbench/contrib/webview/browser/webview.service.d.ts +1 -1
- package/vscode/src/vs/workbench/contrib/webviewPanel/browser/webviewWorkbenchService.service.d.ts +2 -2
- package/vscode/src/vs/workbench/services/configurationResolver/common/configurationResolver.d.ts +1 -0
- package/vscode/src/vs/workbench/services/configurationResolver/common/configurationResolver.js +1 -0
- package/vscode/src/vs/workbench/services/configurationResolver/common/variableResolver.d.ts +1 -0
- package/vscode/src/vs/workbench/services/configurationResolver/common/variableResolver.js +26 -15
- package/vscode/src/vs/workbench/services/editor/common/editorResolverService.js +1 -1
- package/vscode/src/vs/workbench/services/extensionManagement/common/extensionManagement.d.ts +5 -1
- package/vscode/src/vs/workbench/services/extensionManagement/common/extensionManagement.service.d.ts +10 -4
- package/vscode/src/vs/workbench/services/extensionRecommendations/common/extensionRecommendations.service.d.ts +1 -1
- package/vscode/src/vs/workbench/services/extensionRecommendations/common/workspaceExtensionsConfig.service.d.ts +1 -1
- package/vscode/src/vs/workbench/services/extensions/browser/extensionUrlHandler.service.d.ts +1 -1
- package/vscode/src/vs/workbench/services/extensions/common/extensions.d.ts +3 -2
- package/vscode/src/vs/workbench/services/extensions/common/extensionsRegistry.js +83 -83
- package/vscode/src/vs/workbench/services/filesConfiguration/common/filesConfigurationService.service.d.ts +1 -1
- package/vscode/src/vs/workbench/services/language/common/languageService.js +28 -28
- package/vscode/src/vs/workbench/services/layout/browser/layoutService.d.ts +63 -0
- package/vscode/src/vs/workbench/services/layout/browser/layoutService.js +164 -0
- package/vscode/src/vs/workbench/services/layout/browser/layoutService.service.d.ts +1 -1
- package/vscode/src/vs/workbench/services/localization/common/locale.service.d.ts +1 -1
- package/vscode/src/vs/workbench/services/log/common/logConstants.d.ts +2 -0
- package/vscode/src/vs/workbench/services/log/common/logConstants.js +3 -1
- package/vscode/src/vs/workbench/services/outline/browser/outline.service.d.ts +1 -1
- package/vscode/src/vs/workbench/services/output/common/output.d.ts +51 -8
- package/vscode/src/vs/workbench/services/output/common/output.js +30 -4
- package/vscode/src/vs/workbench/services/output/common/output.service.d.ts +8 -1
- package/vscode/src/vs/workbench/services/panecomposite/browser/panecomposite.service.d.ts +1 -1
- package/vscode/src/vs/workbench/services/preferences/common/preferences.service.d.ts +2 -2
- package/vscode/src/vs/workbench/services/remote/common/remoteExplorerService.js +8 -8
- package/vscode/src/vs/workbench/services/remote/common/tunnelModel.js +6 -6
- package/vscode/src/vs/workbench/services/search/common/queryBuilder.js +1 -1
- package/vscode/src/vs/workbench/services/statusbar/browser/statusbar.d.ts +9 -4
- package/vscode/src/vs/workbench/services/statusbar/browser/statusbar.js +5 -1
- package/vscode/src/vs/workbench/services/textfile/common/textfiles.service.d.ts +1 -1
- package/vscode/src/vs/workbench/services/themes/common/colorExtensionPoint.js +22 -22
- package/vscode/src/vs/workbench/services/themes/common/iconExtensionPoint.js +15 -21
- package/vscode/src/vs/workbench/services/untitled/common/untitledTextEditorService.service.d.ts +21 -2
- package/vscode/src/vs/workbench/services/userDataProfile/common/userDataProfile.service.d.ts +3 -3
- package/vscode/src/vs/workbench/services/userDataSync/common/userDataSync.js +11 -11
- package/vscode/src/vs/workbench/services/workingCopy/common/workingCopyBackup.d.ts +1 -1
- package/vscode/src/vs/workbench/services/workingCopy/common/workingCopyBackup.service.d.ts +1 -1
- package/vscode/src/vs/workbench/services/workingCopy/common/workingCopyEditorService.service.d.ts +1 -1
- package/vscode/src/vs/workbench/services/workingCopy/common/workingCopyFileService.service.d.ts +1 -1
- package/vscode/src/vs/workbench/services/workingCopy/common/workingCopyService.service.d.ts +1 -1
- package/vscode/src/vs/workbench/services/workspaces/common/workspaceEditing.service.d.ts +1 -1
- package/vscode-dts/vscode.d.ts +375 -32
- package/vscode-dts/vscode.proposed.aiRelatedInformation.d.ts +1 -1
- package/vscode-dts/vscode.proposed.chatParticipantAdditions.d.ts +11 -0
- package/vscode-dts/vscode.proposed.chatParticipantPrivate.d.ts +9 -0
- package/vscode-dts/vscode.proposed.chatProvider.d.ts +4 -0
- package/vscode-dts/vscode.proposed.chatReadonlyPromptReference.d.ts +17 -0
- package/vscode-dts/vscode.proposed.chatReferenceBinaryData.d.ts +5 -0
- package/vscode-dts/vscode.proposed.d.ts +132 -131
- package/vscode-dts/vscode.proposed.externalUriOpener.d.ts +3 -3
- package/vscode-dts/vscode.proposed.inlineCompletionsAdditions.d.ts +2 -0
- package/vscode-dts/vscode.proposed.inlineEdit.d.ts +14 -3
- package/vscode-dts/vscode.proposed.mappedEditsProvider.d.ts +21 -1
- package/vscode-dts/vscode.proposed.notebookVariableProvider.d.ts +3 -3
- package/vscode-dts/vscode.proposed.quickDiffProvider.d.ts +1 -1
- package/vscode-dts/vscode.proposed.resolvers.d.ts +3 -3
- package/vscode-dts/vscode.proposed.scmHistoryProvider.d.ts +4 -2
- package/vscode-dts/vscode.proposed.statusBarItemTooltip.d.ts +19 -0
- package/vscode-dts/vscode.proposed.terminalCompletionProvider.d.ts +10 -0
- package/vscode-dts/vscode.proposed.terminalQuickFixProvider.d.ts +2 -2
- package/vscode-dts/vscode.proposed.terminalShellEnv.d.ts +18 -0
- package/vscode-dts/vscode.proposed.terminalShellType.d.ts +40 -0
- package/vscode/src/vs/base/common/observableInternal/index.js +0 -8
- package/vscode/src/vs/base/common/observableInternal/promise.d.ts +0 -28
- package/vscode/src/vs/base/common/observableInternal/promise.js +0 -65
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/view/inlineEdits/inlineEditsView.css.js +0 -6
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/view/inlineEdits/inlineEditsView.d.ts +0 -45
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/view/inlineEdits/inlineEditsView.js +0 -426
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/view/inlineEdits/inlineEditsViewAndDiffProducer.js +0 -116
- package/vscode/src/vs/workbench/contrib/inlineChat/browser/inlineChatSavingService.service.d.ts +0 -6
- package/vscode/src/vs/workbench/contrib/inlineChat/browser/inlineChatSavingService.service.js +0 -6
- package/vscode/src/vs/workbench/contrib/mappedEdits/common/mappedEdits.contribution.d.ts +0 -1
- package/vscode/src/vs/workbench/contrib/mappedEdits/common/mappedEdits.contribution.js +0 -24
- package/vscode/src/vs/workbench/contrib/output/common/outputChannelModelService.service.d.ts +0 -8
- package/vscode/src/vs/workbench/contrib/output/common/outputChannelModelService.service.js +0 -6
- package/vscode/src/vs/workbench/contrib/scm/browser/diff.service.d.ts +0 -9
- package/vscode/src/vs/workbench/contrib/scm/browser/dirtyDiffSwitcher.d.ts +0 -22
- package/vscode/src/vs/workbench/contrib/scm/browser/dirtyDiffSwitcher.js +0 -66
- package/vscode/src/vs/workbench/contrib/scm/browser/dirtydiffDecorator.d.ts +0 -155
- package/vscode/src/vs/workbench/contrib/scm/browser/dirtydiffDecorator.js +0 -1454
- package/vscode/src/vs/workbench/contrib/scm/browser/media/dirtydiffDecorator.css.js +0 -6
- package/vscode/src/vs/workbench/services/textfile/common/textfiles.d.ts +0 -164
- package/vscode/src/vs/workbench/services/textfile/common/textfiles.js +0 -74
- package/vscode/src/vs/workbench/services/themes/common/productIconThemeSchema.d.ts +0 -8
- package/vscode/src/vs/workbench/services/themes/common/productIconThemeSchema.js +0 -93
- package/vscode-dts/vscode.proposed.documentPaste.d.ts +0 -316
- package/vscode-dts/vscode.proposed.fileComments.d.ts +0 -42
- package/vscode-dts/vscode.proposed.showLocal.d.ts +0 -19
- /package/vscode/src/vs/editor/browser/gpu/{fullFileRenderStrategy.wgsl.d.ts → renderStrategy/fullFileRenderStrategy.wgsl.d.ts} +0 -0
|
@@ -39,7 +39,7 @@ import { PostEditWidgetManager } from './postEditWidget.js';
|
|
|
39
39
|
var CopyPasteController_1;
|
|
40
40
|
const changePasteTypeCommandId = 'editor.changePasteType';
|
|
41
41
|
const pasteAsPreferenceConfig = 'editor.pasteAs.preferences';
|
|
42
|
-
const pasteWidgetVisibleCtx = ( new RawContextKey('pasteWidgetVisible', false, ( localize(
|
|
42
|
+
const pasteWidgetVisibleCtx = ( new RawContextKey('pasteWidgetVisible', false, ( localize(941, "Whether the paste widget is showing"))));
|
|
43
43
|
const vscodeClipboardMime = 'application/vnd.code.copymetadata';
|
|
44
44
|
let CopyPasteController = class CopyPasteController extends Disposable {
|
|
45
45
|
static { CopyPasteController_1 = this; }
|
|
@@ -65,7 +65,7 @@ let CopyPasteController = class CopyPasteController extends Disposable {
|
|
|
65
65
|
this._register(addDisposableListener(container, 'cut', e => this.handleCopy(e)));
|
|
66
66
|
this._register(addDisposableListener(container, 'paste', e => this.handlePaste(e), true));
|
|
67
67
|
this._pasteProgressManager = this._register(( new InlineProgressManager('pasteIntoEditor', editor, instantiationService)));
|
|
68
|
-
this._postPasteWidgetManager = this._register(instantiationService.createInstance(PostEditWidgetManager, 'pasteIntoEditor', editor, pasteWidgetVisibleCtx, { id: changePasteTypeCommandId, label: ( localize(
|
|
68
|
+
this._postPasteWidgetManager = this._register(instantiationService.createInstance(PostEditWidgetManager, 'pasteIntoEditor', editor, pasteWidgetVisibleCtx, { id: changePasteTypeCommandId, label: ( localize(942, "Show paste options...")) }, () => CopyPasteController_1._configureDefaultAction ? [CopyPasteController_1._configureDefaultAction] : []));
|
|
69
69
|
}
|
|
70
70
|
changePasteType() {
|
|
71
71
|
this._postPasteWidgetManager.tryShowSelector();
|
|
@@ -138,26 +138,18 @@ let CopyPasteController = class CopyPasteController extends Disposable {
|
|
|
138
138
|
providerCopyMimeTypes,
|
|
139
139
|
defaultPastePayload
|
|
140
140
|
});
|
|
141
|
-
const
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
catch (err) {
|
|
141
|
+
const operations = ( providers.map((provider) => {
|
|
142
|
+
return {
|
|
143
|
+
providerMimeTypes: provider.copyMimeTypes,
|
|
144
|
+
operation: createCancelablePromise(token => provider.prepareDocumentPaste(model, ranges, dataTransfer, token)
|
|
145
|
+
.catch(err => {
|
|
147
146
|
console.error(err);
|
|
148
147
|
return undefined;
|
|
149
|
-
}
|
|
150
|
-
}
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
dataTransfer.replace(mime, value);
|
|
155
|
-
}
|
|
156
|
-
}
|
|
157
|
-
return dataTransfer;
|
|
158
|
-
});
|
|
159
|
-
CopyPasteController_1._currentCopyOperation?.dataTransferPromise.cancel();
|
|
160
|
-
CopyPasteController_1._currentCopyOperation = { handle: handle, dataTransferPromise: promise };
|
|
148
|
+
}))
|
|
149
|
+
};
|
|
150
|
+
}));
|
|
151
|
+
CopyPasteController_1._currentCopyOperation?.operations.forEach(entry => entry.operation.cancel());
|
|
152
|
+
CopyPasteController_1._currentCopyOperation = { handle, operations };
|
|
161
153
|
}
|
|
162
154
|
async handlePaste(e) {
|
|
163
155
|
if (!e.clipboardData || !this._editor.hasTextFocus()) {
|
|
@@ -218,9 +210,9 @@ let CopyPasteController = class CopyPasteController extends Disposable {
|
|
|
218
210
|
const kindLabel = 'only' in preference
|
|
219
211
|
? preference.only.value
|
|
220
212
|
: 'preferences' in preference
|
|
221
|
-
? (preference.preferences.length ? ( preference.preferences.map(preference => preference.value)).join(', ') : ( localize(
|
|
213
|
+
? (preference.preferences.length ? ( preference.preferences.map(preference => preference.value)).join(', ') : ( localize(943, "empty")))
|
|
222
214
|
: preference.providerId;
|
|
223
|
-
MessageController.get(this._editor)?.showMessage(( localize(
|
|
215
|
+
MessageController.get(this._editor)?.showMessage(( localize(944, "No paste edits for '{0}' found", kindLabel)), selections[0].getStartPosition());
|
|
224
216
|
}
|
|
225
217
|
doPasteInline(allProviders, selections, dataTransfer, metadata, clipboardEvent) {
|
|
226
218
|
const editor = this._editor;
|
|
@@ -243,7 +235,7 @@ let CopyPasteController = class CopyPasteController extends Disposable {
|
|
|
243
235
|
disposables.add(editorStateCts.token.onCancellationRequested(() => cts.cancel()));
|
|
244
236
|
const token = cts.token;
|
|
245
237
|
try {
|
|
246
|
-
await this.mergeInDataFromCopy(dataTransfer, metadata, token);
|
|
238
|
+
await this.mergeInDataFromCopy(allProviders, dataTransfer, metadata, token);
|
|
247
239
|
if (token.isCancellationRequested) {
|
|
248
240
|
return;
|
|
249
241
|
}
|
|
@@ -272,7 +264,7 @@ let CopyPasteController = class CopyPasteController extends Disposable {
|
|
|
272
264
|
try {
|
|
273
265
|
const resolveP = edit.provider.resolveDocumentPasteEdit?.(edit, token);
|
|
274
266
|
const showP = ( new DeferredPromise());
|
|
275
|
-
const resolved = resolveP && (await this._pasteProgressManager.showWhile(selections[0].getEndPosition(), ( localize(
|
|
267
|
+
const resolved = resolveP && (await this._pasteProgressManager.showWhile(selections[0].getEndPosition(), ( localize(945, "Resolving paste edit. Click to cancel")), Promise.race([showP.p, resolveP]), {
|
|
276
268
|
cancel: () => {
|
|
277
269
|
showP.cancel();
|
|
278
270
|
return reject(( new CancellationError()));
|
|
@@ -299,7 +291,7 @@ let CopyPasteController = class CopyPasteController extends Disposable {
|
|
|
299
291
|
}
|
|
300
292
|
}
|
|
301
293
|
});
|
|
302
|
-
this._pasteProgressManager.showWhile(selections[0].getEndPosition(), ( localize(
|
|
294
|
+
this._pasteProgressManager.showWhile(selections[0].getEndPosition(), ( localize(946, "Running paste handlers. Click to cancel and do basic paste")), p, {
|
|
303
295
|
cancel: async () => {
|
|
304
296
|
try {
|
|
305
297
|
p.cancel();
|
|
@@ -332,7 +324,7 @@ let CopyPasteController = class CopyPasteController extends Disposable {
|
|
|
332
324
|
token
|
|
333
325
|
)));
|
|
334
326
|
try {
|
|
335
|
-
await this.mergeInDataFromCopy(dataTransfer, metadata, tokenSource.token);
|
|
327
|
+
await this.mergeInDataFromCopy(allProviders, dataTransfer, metadata, tokenSource.token);
|
|
336
328
|
if (tokenSource.token.isCancellationRequested) {
|
|
337
329
|
return;
|
|
338
330
|
}
|
|
@@ -377,7 +369,7 @@ let CopyPasteController = class CopyPasteController extends Disposable {
|
|
|
377
369
|
else {
|
|
378
370
|
const configureDefaultItem = {
|
|
379
371
|
id: 'editor.pasteAs.default',
|
|
380
|
-
label: ( localize(
|
|
372
|
+
label: ( localize(947, "Configure default paste action")),
|
|
381
373
|
edit: undefined,
|
|
382
374
|
};
|
|
383
375
|
const selected = await this._quickInputService.pick([
|
|
@@ -394,7 +386,7 @@ let CopyPasteController = class CopyPasteController extends Disposable {
|
|
|
394
386
|
}
|
|
395
387
|
] : [])
|
|
396
388
|
], {
|
|
397
|
-
placeHolder: ( localize(
|
|
389
|
+
placeHolder: ( localize(948, "Select Paste Action")),
|
|
398
390
|
});
|
|
399
391
|
if (selected === configureDefaultItem) {
|
|
400
392
|
CopyPasteController_1._configureDefaultAction?.run();
|
|
@@ -417,7 +409,7 @@ let CopyPasteController = class CopyPasteController extends Disposable {
|
|
|
417
409
|
});
|
|
418
410
|
this._progressService.withProgress({
|
|
419
411
|
location: ProgressLocation.Window,
|
|
420
|
-
title: ( localize(
|
|
412
|
+
title: ( localize(949, "Running paste handlers")),
|
|
421
413
|
}, () => p);
|
|
422
414
|
}
|
|
423
415
|
setCopyMetadata(dataTransfer, metadata) {
|
|
@@ -448,14 +440,21 @@ let CopyPasteController = class CopyPasteController extends Disposable {
|
|
|
448
440
|
}
|
|
449
441
|
return undefined;
|
|
450
442
|
}
|
|
451
|
-
async mergeInDataFromCopy(dataTransfer, metadata, token) {
|
|
443
|
+
async mergeInDataFromCopy(allProviders, dataTransfer, metadata, token) {
|
|
452
444
|
if (metadata?.id && CopyPasteController_1._currentCopyOperation?.handle === metadata.id) {
|
|
453
|
-
const
|
|
445
|
+
const toResolve = ( CopyPasteController_1._currentCopyOperation.operations
|
|
446
|
+
.filter(op => ( allProviders.some(provider => ( provider.pasteMimeTypes.some(type => matchesMimeType(type, op.providerMimeTypes))))))
|
|
447
|
+
.map(op => op.operation));
|
|
448
|
+
const toMergeResults = await Promise.all(toResolve);
|
|
454
449
|
if (token.isCancellationRequested) {
|
|
455
450
|
return;
|
|
456
451
|
}
|
|
457
|
-
for (const
|
|
458
|
-
|
|
452
|
+
for (const toMergeData of toMergeResults.reverse()) {
|
|
453
|
+
if (toMergeData) {
|
|
454
|
+
for (const [key, value] of toMergeData) {
|
|
455
|
+
dataTransfer.replace(key, value);
|
|
456
|
+
}
|
|
457
|
+
}
|
|
459
458
|
}
|
|
460
459
|
}
|
|
461
460
|
if (!( dataTransfer.has(Mimes.uriList))) {
|
|
@@ -60,7 +60,7 @@ class DefaultTextPasteOrDropEditProvider extends SimplePasteAndDropProvider {
|
|
|
60
60
|
const insertText = await textEntry.asString();
|
|
61
61
|
return {
|
|
62
62
|
handledMimeType: Mimes.text,
|
|
63
|
-
title: ( localize(
|
|
63
|
+
title: ( localize(950, "Insert Plain Text")),
|
|
64
64
|
insertText,
|
|
65
65
|
kind: this.kind,
|
|
66
66
|
};
|
|
@@ -92,13 +92,13 @@ class PathProvider extends SimplePasteAndDropProvider {
|
|
|
92
92
|
let label;
|
|
93
93
|
if (uriCount > 0) {
|
|
94
94
|
label = entries.length > 1
|
|
95
|
-
? ( localize(
|
|
96
|
-
: ( localize(
|
|
95
|
+
? ( localize(951, "Insert Uris"))
|
|
96
|
+
: ( localize(952, "Insert Uri"));
|
|
97
97
|
}
|
|
98
98
|
else {
|
|
99
99
|
label = entries.length > 1
|
|
100
|
-
? ( localize(
|
|
101
|
-
: ( localize(
|
|
100
|
+
? ( localize(953, "Insert Paths"))
|
|
101
|
+
: ( localize(954, "Insert Path"));
|
|
102
102
|
}
|
|
103
103
|
return {
|
|
104
104
|
handledMimeType: Mimes.uriList,
|
|
@@ -131,8 +131,8 @@ let RelativePathProvider = class RelativePathProvider extends SimplePasteAndDrop
|
|
|
131
131
|
handledMimeType: Mimes.uriList,
|
|
132
132
|
insertText: relativeUris.join(' '),
|
|
133
133
|
title: entries.length > 1
|
|
134
|
-
? ( localize(
|
|
135
|
-
: ( localize(
|
|
134
|
+
? ( localize(955, "Insert Relative Paths"))
|
|
135
|
+
: ( localize(956, "Insert Relative Path")),
|
|
136
136
|
kind: this.kind,
|
|
137
137
|
};
|
|
138
138
|
}
|
|
@@ -162,7 +162,7 @@ class PasteHtmlProvider {
|
|
|
162
162
|
edits: [{
|
|
163
163
|
insertText: htmlText,
|
|
164
164
|
yieldTo: this._yieldTo,
|
|
165
|
-
title: ( localize(
|
|
165
|
+
title: ( localize(957, 'Insert HTML')),
|
|
166
166
|
kind: this.kind,
|
|
167
167
|
}],
|
|
168
168
|
};
|
|
@@ -25,7 +25,7 @@ import { PostEditWidgetManager } from './postEditWidget.js';
|
|
|
25
25
|
var DropIntoEditorController_1;
|
|
26
26
|
const dropAsPreferenceConfig = 'editor.dropIntoEditor.preferences';
|
|
27
27
|
const changeDropTypeCommandId = 'editor.changeDropType';
|
|
28
|
-
const dropWidgetVisibleCtx = ( new RawContextKey('dropWidgetVisible', false, ( localize(
|
|
28
|
+
const dropWidgetVisibleCtx = ( new RawContextKey('dropWidgetVisible', false, ( localize(958, "Whether the drop widget is showing"))));
|
|
29
29
|
let DropIntoEditorController = class DropIntoEditorController extends Disposable {
|
|
30
30
|
static { DropIntoEditorController_1 = this; }
|
|
31
31
|
static { this.ID = 'editor.contrib.dropIntoEditorController'; }
|
|
@@ -42,7 +42,7 @@ let DropIntoEditorController = class DropIntoEditorController extends Disposable
|
|
|
42
42
|
this._treeViewsDragAndDropService = _treeViewsDragAndDropService;
|
|
43
43
|
this.treeItemsTransfer = LocalSelectionTransfer.getInstance();
|
|
44
44
|
this._dropProgressManager = this._register(instantiationService.createInstance(InlineProgressManager, 'dropIntoEditor', editor));
|
|
45
|
-
this._postDropWidgetManager = this._register(instantiationService.createInstance(PostEditWidgetManager, 'dropIntoEditor', editor, dropWidgetVisibleCtx, { id: changeDropTypeCommandId, label: ( localize(
|
|
45
|
+
this._postDropWidgetManager = this._register(instantiationService.createInstance(PostEditWidgetManager, 'dropIntoEditor', editor, dropWidgetVisibleCtx, { id: changeDropTypeCommandId, label: ( localize(959, "Show drop options...")) }, () => DropIntoEditorController_1._configureDefaultAction ? [DropIntoEditorController_1._configureDefaultAction] : []));
|
|
46
46
|
this._register(editor.onDropIntoEditor(e => this.onDropIntoEditor(editor, e.position, e.event)));
|
|
47
47
|
}
|
|
48
48
|
clearWidgets() {
|
|
@@ -95,7 +95,7 @@ let DropIntoEditorController = class DropIntoEditorController extends Disposable
|
|
|
95
95
|
}
|
|
96
96
|
}
|
|
97
97
|
});
|
|
98
|
-
this._dropProgressManager.showWhile(position, ( localize(
|
|
98
|
+
this._dropProgressManager.showWhile(position, ( localize(960, "Running drop handlers. Click to cancel")), p, { cancel: () => p.cancel() });
|
|
99
99
|
DropIntoEditorController_1._currentDropOperation = p;
|
|
100
100
|
}
|
|
101
101
|
async getDropEdits(providers, model, position, dataTransfer, token) {
|
|
@@ -152,7 +152,7 @@ let PostEditWidgetManager = class PostEditWidgetManager extends Disposable {
|
|
|
152
152
|
resolvedEdit = await resolve(edit, token);
|
|
153
153
|
}
|
|
154
154
|
catch (e) {
|
|
155
|
-
return handleError(e, ( localize(
|
|
155
|
+
return handleError(e, ( localize(961, "Error resolving edit '{0}':\n{1}", edit.title, toErrorMessage(e))));
|
|
156
156
|
}
|
|
157
157
|
if (token.isCancellationRequested) {
|
|
158
158
|
return;
|
|
@@ -171,7 +171,7 @@ let PostEditWidgetManager = class PostEditWidgetManager extends Disposable {
|
|
|
171
171
|
editRange = model.getDecorationRange(editTrackingDecoration[0]);
|
|
172
172
|
}
|
|
173
173
|
catch (e) {
|
|
174
|
-
return handleError(e, ( localize(
|
|
174
|
+
return handleError(e, ( localize(962, "Error applying edit '{0}':\n{1}", edit.title, toErrorMessage(e))));
|
|
175
175
|
}
|
|
176
176
|
finally {
|
|
177
177
|
model.deltaDecorations(editTrackingDecoration, []);
|
|
@@ -12,7 +12,7 @@ import { localize } from '../../../../nls.js';
|
|
|
12
12
|
|
|
13
13
|
const IEditorCancellationTokens = ( createDecorator('IEditorCancelService'));
|
|
14
14
|
const ctxCancellableOperation = ( new RawContextKey('cancellableOperation', false, ( localize(
|
|
15
|
-
|
|
15
|
+
963,
|
|
16
16
|
'Whether the editor runs a cancellable operation, e.g. like \'Peek References\''
|
|
17
17
|
))));
|
|
18
18
|
registerSingleton(IEditorCancellationTokens, class {
|
|
@@ -86,6 +86,7 @@ export declare class FindController extends CommonFindController implements IFin
|
|
|
86
86
|
private _widget;
|
|
87
87
|
private _findOptionsWidget;
|
|
88
88
|
private _findWidgetSearchHistory;
|
|
89
|
+
private _replaceWidgetHistory;
|
|
89
90
|
constructor(editor: ICodeEditor, _contextViewService: IContextViewService, _contextKeyService: IContextKeyService, _keybindingService: IKeybindingService, _themeService: IThemeService, notificationService: INotificationService, _storageService: IStorageService, clipboardService: IClipboardService, hoverService: IHoverService);
|
|
90
91
|
protected _start(opts: IFindStartOptions, newState?: INewFindReplaceState): Promise<void>;
|
|
91
92
|
highlightFindOptions(ignoreWhenVisible?: boolean): void;
|
|
@@ -30,6 +30,7 @@ import { themeColorFromId } from '../../../../platform/theme/common/themeService
|
|
|
30
30
|
import { IThemeService } from '../../../../platform/theme/common/themeService.service.js';
|
|
31
31
|
import { IHoverService } from '../../../../platform/hover/browser/hover.service.js';
|
|
32
32
|
import { FindWidgetSearchHistory } from './findWidgetSearchHistory.js';
|
|
33
|
+
import { ReplaceWidgetHistory } from './replaceWidgetHistory.js';
|
|
33
34
|
import Severity$1 from '../../../../base/common/severity.js';
|
|
34
35
|
|
|
35
36
|
var CommonFindController_1;
|
|
@@ -309,7 +310,7 @@ let CommonFindController = class CommonFindController extends Disposable {
|
|
|
309
310
|
replaceAll() {
|
|
310
311
|
if (this._model) {
|
|
311
312
|
if (this._editor.getModel()?.isTooLargeForHeapOperation()) {
|
|
312
|
-
this._notificationService.warn(( localize(
|
|
313
|
+
this._notificationService.warn(( localize(964, "The file is too large to perform a replace all operation.")));
|
|
313
314
|
return false;
|
|
314
315
|
}
|
|
315
316
|
this._model.replaceAll();
|
|
@@ -357,6 +358,7 @@ let FindController = class FindController extends CommonFindController {
|
|
|
357
358
|
this._widget = null;
|
|
358
359
|
this._findOptionsWidget = null;
|
|
359
360
|
this._findWidgetSearchHistory = FindWidgetSearchHistory.getOrCreate(_storageService);
|
|
361
|
+
this._replaceWidgetHistory = ReplaceWidgetHistory.getOrCreate(_storageService);
|
|
360
362
|
}
|
|
361
363
|
async _start(opts, newState) {
|
|
362
364
|
if (!this._widget) {
|
|
@@ -411,7 +413,8 @@ let FindController = class FindController extends CommonFindController {
|
|
|
411
413
|
this._storageService,
|
|
412
414
|
this._notificationService,
|
|
413
415
|
this._hoverService,
|
|
414
|
-
this._findWidgetSearchHistory
|
|
416
|
+
this._findWidgetSearchHistory,
|
|
417
|
+
this._replaceWidgetHistory
|
|
415
418
|
)));
|
|
416
419
|
this._findOptionsWidget = this._register(( new FindOptionsWidget(this._editor, this._state, this._keybindingService)));
|
|
417
420
|
}
|
|
@@ -434,7 +437,7 @@ FindController = ( __decorate([
|
|
|
434
437
|
], FindController));
|
|
435
438
|
const StartFindAction = registerMultiEditorAction(( new MultiEditorAction({
|
|
436
439
|
id: FIND_IDS.StartFindAction,
|
|
437
|
-
label: ( localize2(
|
|
440
|
+
label: ( localize2(965, "Find")),
|
|
438
441
|
precondition: ( ContextKeyExpr.or(EditorContextKeys.focus, ( ContextKeyExpr.has('editorIsOpen')))),
|
|
439
442
|
kbOpts: {
|
|
440
443
|
kbExpr: null,
|
|
@@ -444,7 +447,7 @@ const StartFindAction = registerMultiEditorAction(( new MultiEditorAction({
|
|
|
444
447
|
menuOpts: {
|
|
445
448
|
menuId: MenuId.MenubarEditMenu,
|
|
446
449
|
group: '3_find',
|
|
447
|
-
title: ( localize(
|
|
450
|
+
title: ( localize(966, "&&Find")),
|
|
448
451
|
order: 1
|
|
449
452
|
}
|
|
450
453
|
})));
|
|
@@ -485,7 +488,7 @@ class StartFindWithArgsAction extends EditorAction {
|
|
|
485
488
|
constructor() {
|
|
486
489
|
super({
|
|
487
490
|
id: FIND_IDS.StartFindWithArgs,
|
|
488
|
-
label: ( localize2(
|
|
491
|
+
label: ( localize2(967, "Find With Arguments")),
|
|
489
492
|
precondition: undefined,
|
|
490
493
|
kbOpts: {
|
|
491
494
|
kbExpr: null,
|
|
@@ -525,7 +528,7 @@ class StartFindWithSelectionAction extends EditorAction {
|
|
|
525
528
|
constructor() {
|
|
526
529
|
super({
|
|
527
530
|
id: FIND_IDS.StartFindWithSelection,
|
|
528
|
-
label: ( localize2(
|
|
531
|
+
label: ( localize2(968, "Find With Selection")),
|
|
529
532
|
precondition: undefined,
|
|
530
533
|
kbOpts: {
|
|
531
534
|
kbExpr: null,
|
|
@@ -576,7 +579,7 @@ class NextMatchFindAction extends MatchFindAction {
|
|
|
576
579
|
constructor() {
|
|
577
580
|
super({
|
|
578
581
|
id: FIND_IDS.NextMatchFindAction,
|
|
579
|
-
label: ( localize2(
|
|
582
|
+
label: ( localize2(969, "Find Next")),
|
|
580
583
|
precondition: undefined,
|
|
581
584
|
kbOpts: [{
|
|
582
585
|
kbExpr: EditorContextKeys.focus,
|
|
@@ -603,7 +606,7 @@ class PreviousMatchFindAction extends MatchFindAction {
|
|
|
603
606
|
constructor() {
|
|
604
607
|
super({
|
|
605
608
|
id: FIND_IDS.PreviousMatchFindAction,
|
|
606
|
-
label: ( localize2(
|
|
609
|
+
label: ( localize2(970, "Find Previous")),
|
|
607
610
|
precondition: undefined,
|
|
608
611
|
kbOpts: [{
|
|
609
612
|
kbExpr: EditorContextKeys.focus,
|
|
@@ -626,7 +629,7 @@ class MoveToMatchFindAction extends EditorAction {
|
|
|
626
629
|
constructor() {
|
|
627
630
|
super({
|
|
628
631
|
id: FIND_IDS.GoToMatchFindAction,
|
|
629
|
-
label: ( localize2(
|
|
632
|
+
label: ( localize2(971, "Go to Match...")),
|
|
630
633
|
precondition: CONTEXT_FIND_WIDGET_VISIBLE
|
|
631
634
|
});
|
|
632
635
|
this._highlightDecorations = [];
|
|
@@ -641,7 +644,7 @@ class MoveToMatchFindAction extends EditorAction {
|
|
|
641
644
|
const notificationService = accessor.get(INotificationService);
|
|
642
645
|
notificationService.notify({
|
|
643
646
|
severity: Severity$1.Warning,
|
|
644
|
-
message: ( localize(
|
|
647
|
+
message: ( localize(972, "No matches. Try searching for something else."))
|
|
645
648
|
});
|
|
646
649
|
return;
|
|
647
650
|
}
|
|
@@ -649,7 +652,7 @@ class MoveToMatchFindAction extends EditorAction {
|
|
|
649
652
|
const disposables = ( new DisposableStore());
|
|
650
653
|
const inputBox = disposables.add(quickInputService.createInputBox());
|
|
651
654
|
inputBox.placeholder = ( localize(
|
|
652
|
-
|
|
655
|
+
973,
|
|
653
656
|
"Type a number to go to a specific match (between 1 and {0})",
|
|
654
657
|
matchesCount
|
|
655
658
|
));
|
|
@@ -679,7 +682,7 @@ class MoveToMatchFindAction extends EditorAction {
|
|
|
679
682
|
}
|
|
680
683
|
else {
|
|
681
684
|
inputBox.validationMessage = ( localize(
|
|
682
|
-
|
|
685
|
+
974,
|
|
683
686
|
"Please type a number between 1 and {0}",
|
|
684
687
|
controller.getState().matchesCount
|
|
685
688
|
));
|
|
@@ -697,7 +700,7 @@ class MoveToMatchFindAction extends EditorAction {
|
|
|
697
700
|
}
|
|
698
701
|
else {
|
|
699
702
|
inputBox.validationMessage = ( localize(
|
|
700
|
-
|
|
703
|
+
974,
|
|
701
704
|
"Please type a number between 1 and {0}",
|
|
702
705
|
controller.getState().matchesCount
|
|
703
706
|
));
|
|
@@ -768,7 +771,7 @@ class NextSelectionMatchFindAction extends SelectionMatchFindAction {
|
|
|
768
771
|
constructor() {
|
|
769
772
|
super({
|
|
770
773
|
id: FIND_IDS.NextSelectionMatchFindAction,
|
|
771
|
-
label: ( localize2(
|
|
774
|
+
label: ( localize2(975, "Find Next Selection")),
|
|
772
775
|
precondition: undefined,
|
|
773
776
|
kbOpts: {
|
|
774
777
|
kbExpr: EditorContextKeys.focus,
|
|
@@ -785,7 +788,7 @@ class PreviousSelectionMatchFindAction extends SelectionMatchFindAction {
|
|
|
785
788
|
constructor() {
|
|
786
789
|
super({
|
|
787
790
|
id: FIND_IDS.PreviousSelectionMatchFindAction,
|
|
788
|
-
label: ( localize2(
|
|
791
|
+
label: ( localize2(976, "Find Previous Selection")),
|
|
789
792
|
precondition: undefined,
|
|
790
793
|
kbOpts: {
|
|
791
794
|
kbExpr: EditorContextKeys.focus,
|
|
@@ -800,7 +803,7 @@ class PreviousSelectionMatchFindAction extends SelectionMatchFindAction {
|
|
|
800
803
|
}
|
|
801
804
|
const StartFindReplaceAction = registerMultiEditorAction(( new MultiEditorAction({
|
|
802
805
|
id: FIND_IDS.StartFindReplaceAction,
|
|
803
|
-
label: ( localize2(
|
|
806
|
+
label: ( localize2(977, "Replace")),
|
|
804
807
|
precondition: ( ContextKeyExpr.or(EditorContextKeys.focus, ( ContextKeyExpr.has('editorIsOpen')))),
|
|
805
808
|
kbOpts: {
|
|
806
809
|
kbExpr: null,
|
|
@@ -811,7 +814,7 @@ const StartFindReplaceAction = registerMultiEditorAction(( new MultiEditorAction
|
|
|
811
814
|
menuOpts: {
|
|
812
815
|
menuId: MenuId.MenubarEditMenu,
|
|
813
816
|
group: '3_find',
|
|
814
|
-
title: ( localize(
|
|
817
|
+
title: ( localize(978, "&&Replace")),
|
|
815
818
|
order: 2
|
|
816
819
|
}
|
|
817
820
|
})));
|
|
@@ -35,6 +35,7 @@ export declare class FindWidgetViewZone implements IViewZone {
|
|
|
35
35
|
export declare class FindWidget extends Widget implements IOverlayWidget, IVerticalSashLayoutProvider {
|
|
36
36
|
private readonly _hoverService;
|
|
37
37
|
private readonly _findWidgetSearchHistory;
|
|
38
|
+
private readonly _replaceWidgetHistory;
|
|
38
39
|
private static readonly ID;
|
|
39
40
|
private readonly _codeEditor;
|
|
40
41
|
private readonly _state;
|
|
@@ -69,7 +70,7 @@ export declare class FindWidget extends Widget implements IOverlayWidget, IVerti
|
|
|
69
70
|
private _resizeSash;
|
|
70
71
|
private _resized;
|
|
71
72
|
private readonly _updateHistoryDelayer;
|
|
72
|
-
constructor(codeEditor: ICodeEditor, controller: IFindController, state: FindReplaceState, contextViewProvider: IContextViewProvider, keybindingService: IKeybindingService, contextKeyService: IContextKeyService, themeService: IThemeService, storageService: IStorageService, notificationService: INotificationService, _hoverService: IHoverService, _findWidgetSearchHistory: IHistory<string> | undefined);
|
|
73
|
+
constructor(codeEditor: ICodeEditor, controller: IFindController, state: FindReplaceState, contextViewProvider: IContextViewProvider, keybindingService: IKeybindingService, contextKeyService: IContextKeyService, themeService: IThemeService, storageService: IStorageService, notificationService: INotificationService, _hoverService: IHoverService, _findWidgetSearchHistory: IHistory<string> | undefined, _replaceWidgetHistory: IHistory<string> | undefined);
|
|
73
74
|
getId(): string;
|
|
74
75
|
getDomNode(): HTMLElement;
|
|
75
76
|
getPosition(): IOverlayWidgetPosition | null;
|
|
@@ -40,32 +40,32 @@ import { assertIsDefined } from '../../../../base/common/types.js';
|
|
|
40
40
|
import { defaultToggleStyles, defaultInputBoxStyles } from '../../../../platform/theme/browser/defaultStyles.js';
|
|
41
41
|
import { createInstantHoverDelegate, getDefaultHoverDelegate } from '../../../../base/browser/ui/hover/hoverDelegateFactory.js';
|
|
42
42
|
|
|
43
|
-
const findCollapsedIcon = registerIcon('find-collapsed', Codicon.chevronRight, ( localize(
|
|
44
|
-
const findExpandedIcon = registerIcon('find-expanded', Codicon.chevronDown, ( localize(
|
|
45
|
-
const findSelectionIcon = registerIcon('find-selection', Codicon.selection, ( localize(
|
|
46
|
-
const findReplaceIcon = registerIcon('find-replace', Codicon.replace, ( localize(
|
|
47
|
-
const findReplaceAllIcon = registerIcon('find-replace-all', Codicon.replaceAll, ( localize(
|
|
48
|
-
const findPreviousMatchIcon = registerIcon('find-previous-match', Codicon.arrowUp, ( localize(
|
|
49
|
-
const findNextMatchIcon = registerIcon('find-next-match', Codicon.arrowDown, ( localize(
|
|
50
|
-
const NLS_FIND_DIALOG_LABEL = ( localize(
|
|
51
|
-
const NLS_FIND_INPUT_LABEL = ( localize(
|
|
52
|
-
const NLS_FIND_INPUT_PLACEHOLDER = ( localize(
|
|
53
|
-
const NLS_PREVIOUS_MATCH_BTN_LABEL = ( localize(
|
|
54
|
-
const NLS_NEXT_MATCH_BTN_LABEL = ( localize(
|
|
55
|
-
const NLS_TOGGLE_SELECTION_FIND_TITLE = ( localize(
|
|
56
|
-
const NLS_CLOSE_BTN_LABEL = ( localize(
|
|
57
|
-
const NLS_REPLACE_INPUT_LABEL = ( localize(
|
|
58
|
-
const NLS_REPLACE_INPUT_PLACEHOLDER = ( localize(
|
|
59
|
-
const NLS_REPLACE_BTN_LABEL = ( localize(
|
|
60
|
-
const NLS_REPLACE_ALL_BTN_LABEL = ( localize(
|
|
61
|
-
const NLS_TOGGLE_REPLACE_MODE_BTN_LABEL = ( localize(
|
|
43
|
+
const findCollapsedIcon = registerIcon('find-collapsed', Codicon.chevronRight, ( localize(979, 'Icon to indicate that the editor find widget is collapsed.')));
|
|
44
|
+
const findExpandedIcon = registerIcon('find-expanded', Codicon.chevronDown, ( localize(980, 'Icon to indicate that the editor find widget is expanded.')));
|
|
45
|
+
const findSelectionIcon = registerIcon('find-selection', Codicon.selection, ( localize(981, 'Icon for \'Find in Selection\' in the editor find widget.')));
|
|
46
|
+
const findReplaceIcon = registerIcon('find-replace', Codicon.replace, ( localize(982, 'Icon for \'Replace\' in the editor find widget.')));
|
|
47
|
+
const findReplaceAllIcon = registerIcon('find-replace-all', Codicon.replaceAll, ( localize(983, 'Icon for \'Replace All\' in the editor find widget.')));
|
|
48
|
+
const findPreviousMatchIcon = registerIcon('find-previous-match', Codicon.arrowUp, ( localize(984, 'Icon for \'Find Previous\' in the editor find widget.')));
|
|
49
|
+
const findNextMatchIcon = registerIcon('find-next-match', Codicon.arrowDown, ( localize(985, 'Icon for \'Find Next\' in the editor find widget.')));
|
|
50
|
+
const NLS_FIND_DIALOG_LABEL = ( localize(986, "Find / Replace"));
|
|
51
|
+
const NLS_FIND_INPUT_LABEL = ( localize(987, "Find"));
|
|
52
|
+
const NLS_FIND_INPUT_PLACEHOLDER = ( localize(988, "Find"));
|
|
53
|
+
const NLS_PREVIOUS_MATCH_BTN_LABEL = ( localize(989, "Previous Match"));
|
|
54
|
+
const NLS_NEXT_MATCH_BTN_LABEL = ( localize(990, "Next Match"));
|
|
55
|
+
const NLS_TOGGLE_SELECTION_FIND_TITLE = ( localize(991, "Find in Selection"));
|
|
56
|
+
const NLS_CLOSE_BTN_LABEL = ( localize(992, "Close"));
|
|
57
|
+
const NLS_REPLACE_INPUT_LABEL = ( localize(993, "Replace"));
|
|
58
|
+
const NLS_REPLACE_INPUT_PLACEHOLDER = ( localize(994, "Replace"));
|
|
59
|
+
const NLS_REPLACE_BTN_LABEL = ( localize(995, "Replace"));
|
|
60
|
+
const NLS_REPLACE_ALL_BTN_LABEL = ( localize(996, "Replace All"));
|
|
61
|
+
const NLS_TOGGLE_REPLACE_MODE_BTN_LABEL = ( localize(997, "Toggle Replace"));
|
|
62
62
|
const NLS_MATCHES_COUNT_LIMIT_TITLE = ( localize(
|
|
63
|
-
|
|
63
|
+
998,
|
|
64
64
|
"Only the first {0} results are highlighted, but all find operations work on the entire text.",
|
|
65
65
|
MATCHES_LIMIT
|
|
66
66
|
));
|
|
67
|
-
const NLS_MATCHES_LOCATION = ( localize(
|
|
68
|
-
const NLS_NO_RESULTS = ( localize(
|
|
67
|
+
const NLS_MATCHES_LOCATION = ( localize(999, "{0} of {1}"));
|
|
68
|
+
const NLS_NO_RESULTS = ( localize(1000, "No results"));
|
|
69
69
|
const FIND_WIDGET_INITIAL_WIDTH = 419;
|
|
70
70
|
const PART_WIDTH = 275;
|
|
71
71
|
const FIND_INPUT_AREA_WIDTH = PART_WIDTH - 54;
|
|
@@ -98,10 +98,11 @@ function stopPropagationForMultiLineDownwards(event, value, textarea) {
|
|
|
98
98
|
}
|
|
99
99
|
class FindWidget extends Widget {
|
|
100
100
|
static { this.ID = 'editor.contrib.findWidget'; }
|
|
101
|
-
constructor(codeEditor, controller, state, contextViewProvider, keybindingService, contextKeyService, themeService, storageService, notificationService, _hoverService, _findWidgetSearchHistory) {
|
|
101
|
+
constructor(codeEditor, controller, state, contextViewProvider, keybindingService, contextKeyService, themeService, storageService, notificationService, _hoverService, _findWidgetSearchHistory, _replaceWidgetHistory) {
|
|
102
102
|
super();
|
|
103
103
|
this._hoverService = _hoverService;
|
|
104
104
|
this._findWidgetSearchHistory = _findWidgetSearchHistory;
|
|
105
|
+
this._replaceWidgetHistory = _replaceWidgetHistory;
|
|
105
106
|
this._cachedHeight = null;
|
|
106
107
|
this._revealTimeouts = [];
|
|
107
108
|
this._codeEditor = codeEditor;
|
|
@@ -338,12 +339,12 @@ class FindWidget extends Widget {
|
|
|
338
339
|
_getAriaLabel(label, currentMatch, searchString) {
|
|
339
340
|
if (label === NLS_NO_RESULTS) {
|
|
340
341
|
return searchString === ''
|
|
341
|
-
? ( localize(
|
|
342
|
-
: ( localize(
|
|
342
|
+
? ( localize(1001, "{0} found", label))
|
|
343
|
+
: ( localize(1002, "{0} found for '{1}'", label, searchString));
|
|
343
344
|
}
|
|
344
345
|
if (currentMatch) {
|
|
345
346
|
const ariaLabel = ( localize(
|
|
346
|
-
|
|
347
|
+
1003,
|
|
347
348
|
"{0} found for '{1}', at {2}",
|
|
348
349
|
label,
|
|
349
350
|
searchString,
|
|
@@ -356,7 +357,7 @@ class FindWidget extends Widget {
|
|
|
356
357
|
}
|
|
357
358
|
return ariaLabel;
|
|
358
359
|
}
|
|
359
|
-
return localize(
|
|
360
|
+
return localize(1004, "{0} found for '{1}'", label, searchString);
|
|
360
361
|
}
|
|
361
362
|
_updateToggleSelectionFindButton() {
|
|
362
363
|
const selection = this._codeEditor.getSelection();
|
|
@@ -689,7 +690,7 @@ class FindWidget extends Widget {
|
|
|
689
690
|
else {
|
|
690
691
|
if (isWindows && isNative && !this._ctrlEnterReplaceAllWarningPrompted) {
|
|
691
692
|
this._notificationService.info(( localize(
|
|
692
|
-
|
|
693
|
+
1005,
|
|
693
694
|
'Ctrl+Enter now inserts line break instead of replacing all. You can modify the keybinding for editor.action.replaceAll to override this behavior.'
|
|
694
695
|
)));
|
|
695
696
|
this._ctrlEnterReplaceAllWarningPrompted = true;
|
|
@@ -736,6 +737,7 @@ class FindWidget extends Widget {
|
|
|
736
737
|
const flexibleHeight = true;
|
|
737
738
|
const flexibleWidth = true;
|
|
738
739
|
const findSearchHistoryConfig = this._codeEditor.getOption(EditorOption.find).history;
|
|
740
|
+
const replaceHistoryConfig = this._codeEditor.getOption(EditorOption.find).replaceHistory;
|
|
739
741
|
this._findInput = this._register(( new ContextScopedFindInput(null, this._contextViewProvider, {
|
|
740
742
|
width: FIND_INPUT_AREA_WIDTH,
|
|
741
743
|
label: NLS_FIND_INPUT_LABEL,
|
|
@@ -891,13 +893,13 @@ class FindWidget extends Widget {
|
|
|
891
893
|
label: NLS_REPLACE_INPUT_LABEL,
|
|
892
894
|
placeholder: NLS_REPLACE_INPUT_PLACEHOLDER,
|
|
893
895
|
appendPreserveCaseLabel: this._keybindingLabelFor(FIND_IDS.TogglePreserveCaseCommand),
|
|
894
|
-
history: [],
|
|
896
|
+
history: replaceHistoryConfig === 'workspace' ? this._replaceWidgetHistory : ( new Set([])),
|
|
895
897
|
flexibleHeight,
|
|
896
898
|
flexibleWidth,
|
|
897
899
|
flexibleMaxHeight: 118,
|
|
898
900
|
showHistoryHint: () => showHistoryKeybindingHint(this._keybindingService),
|
|
899
901
|
inputBoxStyles: defaultInputBoxStyles,
|
|
900
|
-
toggleStyles: defaultToggleStyles
|
|
902
|
+
toggleStyles: defaultToggleStyles,
|
|
901
903
|
}, this._contextKeyService, true)));
|
|
902
904
|
this._replaceInput.setPreserveCase(!!this._state.preserveCase);
|
|
903
905
|
this._register(this._replaceInput.onKeyDown((e) => this._onReplaceInputKeyDown(e)));
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import { Event } from "../../../../base/common/event.js";
|
|
2
|
+
import { IHistory } from "../../../../base/common/history.js";
|
|
3
|
+
import { IStorageService } from "../../../../platform/storage/common/storage.service.js";
|
|
4
|
+
export declare class ReplaceWidgetHistory implements IHistory<string> {
|
|
5
|
+
private readonly storageService;
|
|
6
|
+
static readonly FIND_HISTORY_KEY = "workbench.replace.history";
|
|
7
|
+
private inMemoryValues;
|
|
8
|
+
onDidChange?: Event<string[]>;
|
|
9
|
+
private _onDidChangeEmitter;
|
|
10
|
+
private static _instance;
|
|
11
|
+
static getOrCreate(storageService: IStorageService): ReplaceWidgetHistory;
|
|
12
|
+
constructor(storageService: IStorageService);
|
|
13
|
+
delete(t: string): boolean;
|
|
14
|
+
add(t: string): this;
|
|
15
|
+
has(t: string): boolean;
|
|
16
|
+
clear(): void;
|
|
17
|
+
forEach(callbackfn: (value: string, value2: string, set: Set<string>) => void, thisArg?: any): void;
|
|
18
|
+
replace?(t: string[]): void;
|
|
19
|
+
load(): void;
|
|
20
|
+
save(): Promise<void>;
|
|
21
|
+
}
|