@codingame/monaco-vscode-api 22.1.9 → 23.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 +1 -1
- package/extensions.js +4 -3
- package/external/vscode-semver/semver.js +43 -43
- package/missing-services.js +170 -43
- package/package.json +10 -10
- package/services.d.ts +4 -4
- package/services.js +3 -4
- package/vscode/product.json.js +1 -1
- package/vscode/src/vs/base/browser/browser.d.ts +7 -0
- package/vscode/src/vs/base/browser/browser.js +5 -2
- package/vscode/src/vs/base/browser/dom.d.ts +11 -9
- package/vscode/src/vs/base/browser/dom.js +13 -6
- package/vscode/src/vs/base/browser/domSanitize.d.ts +1 -1
- package/vscode/src/vs/base/browser/domSanitize.js +29 -21
- package/vscode/src/vs/base/browser/formattedTextRenderer.js +2 -2
- package/vscode/src/vs/base/browser/history.d.ts +2 -2
- package/vscode/src/vs/base/browser/keyboardEvent.d.ts +6 -0
- package/vscode/src/vs/base/browser/keyboardEvent.js +4 -1
- package/vscode/src/vs/base/browser/markdownRenderer.d.ts +5 -4
- package/vscode/src/vs/base/browser/markdownRenderer.js +49 -2
- package/vscode/src/vs/base/browser/trustedTypes.d.ts +3 -1
- package/vscode/src/vs/base/browser/trustedTypes.js +2 -1
- package/vscode/src/vs/base/browser/ui/button/button.js +2 -8
- package/vscode/src/vs/base/browser/ui/codicons/codicon/codicon.ttf +0 -0
- package/vscode/src/vs/base/browser/ui/countBadge/countBadge.css +1 -1
- package/vscode/src/vs/base/browser/ui/findinput/findInput.d.ts +2 -0
- package/vscode/src/vs/base/browser/ui/findinput/findInput.js +4 -5
- package/vscode/src/vs/base/browser/ui/findinput/findInputToggles.d.ts +2 -2
- package/vscode/src/vs/base/browser/ui/findinput/findInputToggles.js +3 -4
- package/vscode/src/vs/base/browser/ui/findinput/replaceInput.d.ts +2 -0
- package/vscode/src/vs/base/browser/ui/findinput/replaceInput.js +2 -2
- package/vscode/src/vs/base/browser/ui/highlightedlabel/highlightedLabel.d.ts +1 -6
- package/vscode/src/vs/base/browser/ui/highlightedlabel/highlightedLabel.js +6 -7
- package/vscode/src/vs/base/browser/ui/hover/hover.d.ts +14 -0
- package/vscode/src/vs/base/browser/ui/hover/hover.js +6 -1
- package/vscode/src/vs/base/browser/ui/iconLabel/iconLabel.d.ts +4 -1
- package/vscode/src/vs/base/browser/ui/iconLabel/iconLabel.js +20 -13
- package/vscode/src/vs/base/browser/ui/iconLabel/iconlabel.css +7 -3
- package/vscode/src/vs/base/browser/ui/list/listPaging.d.ts +3 -2
- package/vscode/src/vs/base/browser/ui/list/listPaging.js +5 -1
- package/vscode/src/vs/base/browser/ui/list/listView.d.ts +2 -1
- package/vscode/src/vs/base/browser/ui/list/listView.js +4 -3
- package/vscode/src/vs/base/browser/ui/list/listWidget.d.ts +1 -1
- package/vscode/src/vs/base/browser/ui/list/listWidget.js +5 -5
- package/vscode/src/vs/base/browser/ui/progressbar/progressAccessibilitySignal.d.ts +2 -2
- package/vscode/src/vs/base/browser/ui/progressbar/progressAccessibilitySignal.js +3 -3
- package/vscode/src/vs/base/browser/ui/progressbar/progressbar.js +2 -2
- package/vscode/src/vs/base/browser/ui/sash/sash.css +1 -1
- package/vscode/src/vs/base/browser/ui/scrollbar/media/scrollbars.css +4 -0
- package/vscode/src/vs/base/browser/ui/scrollbar/scrollableElement.js +1 -1
- package/vscode/src/vs/base/browser/ui/selectBox/selectBoxCustom.d.ts +1 -0
- package/vscode/src/vs/base/browser/ui/selectBox/selectBoxCustom.js +6 -3
- package/vscode/src/vs/base/browser/ui/table/table.css +2 -2
- package/vscode/src/vs/base/browser/ui/toggle/toggle.d.ts +7 -7
- package/vscode/src/vs/base/browser/ui/toggle/toggle.js +12 -9
- package/vscode/src/vs/base/browser/ui/toolbar/toolbar.css +7 -0
- package/vscode/src/vs/base/browser/ui/toolbar/toolbar.d.ts +10 -0
- package/vscode/src/vs/base/browser/ui/toolbar/toolbar.js +91 -13
- package/vscode/src/vs/base/browser/ui/tree/abstractTree.d.ts +12 -12
- package/vscode/src/vs/base/browser/ui/tree/abstractTree.js +11 -10
- package/vscode/src/vs/base/browser/ui/tree/asyncDataTree.js +6 -4
- package/vscode/src/vs/base/browser/ui/tree/dataTree.d.ts +1 -1
- package/vscode/src/vs/base/browser/ui/tree/indexTreeModel.js +1 -1
- package/vscode/src/vs/base/browser/ui/tree/media/tree.css +2 -2
- package/vscode/src/vs/base/browser/ui/tree/objectTree.d.ts +2 -2
- package/vscode/src/vs/base/browser/ui/tree/tree.d.ts +1 -1
- package/vscode/src/vs/base/browser/webWorkerFactory.js +2 -1
- package/vscode/src/vs/base/common/actions.d.ts +5 -0
- package/vscode/src/vs/base/common/arrays.d.ts +2 -0
- package/vscode/src/vs/base/common/arrays.js +11 -1
- package/vscode/src/vs/base/common/arraysFind.d.ts +6 -3
- package/vscode/src/vs/base/common/arraysFind.js +18 -2
- package/vscode/src/vs/base/common/async.d.ts +13 -3
- package/vscode/src/vs/base/common/async.js +15 -7
- package/vscode/src/vs/base/common/cache.d.ts +11 -0
- package/vscode/src/vs/base/common/codicons.d.ts +26 -4
- package/vscode/src/vs/base/common/codiconsLibrary.d.ts +26 -4
- package/vscode/src/vs/base/common/codiconsLibrary.js +26 -4
- package/vscode/src/vs/base/common/collections.d.ts +1 -1
- package/vscode/src/vs/base/common/decorators/cancelPreviousCalls.d.ts +1 -1
- package/vscode/src/vs/base/common/extpath.js +4 -4
- package/vscode/src/vs/base/common/glob.d.ts +7 -3
- package/vscode/src/vs/base/common/glob.js +40 -32
- package/vscode/src/vs/base/common/history.d.ts +2 -2
- package/vscode/src/vs/base/common/htmlContent.d.ts +4 -0
- package/vscode/src/vs/base/common/htmlContent.js +5 -1
- package/vscode/src/vs/base/common/jsonSchema.d.ts +45 -17
- package/vscode/src/vs/base/common/lifecycle.d.ts +18 -3
- package/vscode/src/vs/base/common/lifecycle.js +3 -1
- package/vscode/src/vs/base/common/network.d.ts +6 -2
- package/vscode/src/vs/base/common/network.js +2 -1
- package/vscode/src/vs/base/common/oauth.d.ts +128 -3
- package/vscode/src/vs/base/common/oauth.js +83 -18
- package/vscode/src/vs/base/common/observableInternal/observables/derived.d.ts +2 -2
- package/vscode/src/vs/base/common/observableInternal/observables/derived.js +3 -1
- package/vscode/src/vs/base/common/observableInternal/utils/promise.d.ts +1 -0
- package/vscode/src/vs/base/common/observableInternal/utils/promise.js +3 -0
- package/vscode/src/vs/base/common/platform.d.ts +1 -0
- package/vscode/src/vs/base/common/policy.d.ts +33 -2
- package/vscode/src/vs/base/common/policy.js +13 -0
- package/vscode/src/vs/base/common/product.d.ts +2 -0
- package/vscode/src/vs/base/common/strings.d.ts +2 -0
- package/vscode/src/vs/base/common/strings.js +9 -7
- package/vscode/src/vs/base/common/themables.d.ts +8 -0
- package/vscode/src/vs/base/common/themables.js +8 -0
- package/vscode/src/vs/base/common/types.d.ts +37 -0
- package/vscode/src/vs/base/common/types.js +14 -3
- package/vscode/src/vs/base/common/validation.d.ts +62 -0
- package/vscode/src/vs/base/common/validation.js +182 -0
- package/vscode/src/vs/base/common/worker/webWorker.d.ts +15 -14
- package/vscode/src/vs/base/common/worker/webWorker.js +28 -14
- package/vscode/src/vs/base/parts/storage/common/storage.js +1 -1
- package/vscode/src/vs/editor/browser/config/editorConfiguration.js +2 -2
- package/vscode/src/vs/editor/browser/config/migrateOptions.d.ts +5 -5
- package/vscode/src/vs/editor/browser/config/migrateOptions.js +1 -1
- package/vscode/src/vs/editor/browser/controller/editContext/native/nativeEditContext.d.ts +5 -2
- package/vscode/src/vs/editor/browser/controller/editContext/native/nativeEditContext.js +19 -12
- package/vscode/src/vs/editor/browser/controller/editContext/native/nativeEditContextUtils.d.ts +1 -1
- package/vscode/src/vs/editor/browser/controller/mouseHandler.js +2 -1
- package/vscode/src/vs/editor/browser/controller/mouseTarget.js +1 -1
- package/vscode/src/vs/editor/browser/coreCommands.js +4 -2
- package/vscode/src/vs/editor/browser/editorBrowser.d.ts +17 -9
- package/vscode/src/vs/editor/browser/editorExtensions.d.ts +17 -15
- package/vscode/src/vs/editor/browser/editorExtensions.js +5 -0
- package/vscode/src/vs/editor/browser/services/abstractCodeEditorService.d.ts +7 -7
- package/vscode/src/vs/editor/browser/services/bulkEditService.d.ts +2 -2
- package/vscode/src/vs/editor/browser/services/codeEditorService.service.d.ts +5 -5
- package/vscode/src/vs/editor/browser/services/editorWorkerService.d.ts +2 -2
- package/vscode/src/vs/editor/browser/services/inlineCompletionsService.js +12 -12
- package/vscode/src/vs/editor/browser/services/inlineCompletionsService.service.d.ts +1 -1
- package/vscode/src/vs/editor/browser/triggerInlineEditCommandsRegistry.d.ts +8 -0
- package/vscode/src/vs/editor/browser/triggerInlineEditCommandsRegistry.js +13 -0
- package/vscode/src/vs/editor/browser/view/viewLayer.js +1 -1
- package/vscode/src/vs/editor/browser/view.d.ts +1 -1
- package/vscode/src/vs/editor/browser/viewParts/viewZones/viewZones.d.ts +1 -1
- package/vscode/src/vs/editor/browser/viewParts/viewZones/viewZones.js +1 -0
- package/vscode/src/vs/editor/browser/widget/codeEditor/codeEditorContributions.d.ts +2 -2
- package/vscode/src/vs/editor/browser/widget/codeEditor/codeEditorWidget.d.ts +6 -7
- package/vscode/src/vs/editor/browser/widget/codeEditor/codeEditorWidget.js +6 -3
- package/vscode/src/vs/editor/browser/widget/diffEditor/commands.js +12 -12
- package/vscode/src/vs/editor/browser/widget/diffEditor/components/accessibleDiffViewer.d.ts +1 -3
- package/vscode/src/vs/editor/browser/widget/diffEditor/components/accessibleDiffViewer.js +18 -18
- package/vscode/src/vs/editor/browser/widget/diffEditor/components/diffEditorEditors.js +1 -1
- package/vscode/src/vs/editor/browser/widget/diffEditor/components/diffEditorViewZones/copySelection.d.ts +18 -0
- package/vscode/src/vs/editor/browser/widget/diffEditor/components/diffEditorViewZones/copySelection.js +44 -0
- package/vscode/src/vs/editor/browser/widget/diffEditor/components/diffEditorViewZones/diffEditorViewZones.js +4 -3
- package/vscode/src/vs/editor/browser/widget/diffEditor/components/diffEditorViewZones/inlineDiffDeletedCodeMargin.d.ts +4 -2
- package/vscode/src/vs/editor/browser/widget/diffEditor/components/diffEditorViewZones/inlineDiffDeletedCodeMargin.js +24 -27
- package/vscode/src/vs/editor/browser/widget/diffEditor/components/diffEditorViewZones/renderLines.d.ts +21 -4
- package/vscode/src/vs/editor/browser/widget/diffEditor/components/diffEditorViewZones/renderLines.js +75 -10
- package/vscode/src/vs/editor/browser/widget/diffEditor/delegatingEditorImpl.d.ts +2 -2
- package/vscode/src/vs/editor/browser/widget/diffEditor/diffEditor.contribution.js +5 -5
- package/vscode/src/vs/editor/browser/widget/diffEditor/diffEditorViewModel.js +1 -1
- package/vscode/src/vs/editor/browser/widget/diffEditor/diffEditorWidget.d.ts +2 -1
- package/vscode/src/vs/editor/browser/widget/diffEditor/diffEditorWidget.js +13 -3
- package/vscode/src/vs/editor/browser/widget/diffEditor/features/hideUnchangedRegionsFeature.js +8 -8
- package/vscode/src/vs/editor/browser/widget/diffEditor/features/movedBlocksLinesFeature.js +4 -4
- package/vscode/src/vs/editor/browser/widget/diffEditor/features/revertButtonsFeature.js +2 -2
- package/vscode/src/vs/editor/browser/widget/diffEditor/registrations.contribution.js +5 -5
- package/vscode/src/vs/editor/browser/widget/diffEditor/style.css +11 -0
- package/vscode/src/vs/editor/browser/widget/markdownRenderer/browser/editorMarkdownCodeBlockRenderer.d.ts +14 -0
- package/vscode/src/vs/editor/browser/widget/markdownRenderer/browser/editorMarkdownCodeBlockRenderer.js +68 -0
- package/vscode/src/vs/editor/common/config/editorConfiguration.d.ts +2 -2
- package/vscode/src/vs/editor/common/config/editorConfigurationSchema.js +54 -54
- package/vscode/src/vs/editor/common/config/editorOptions.d.ts +15 -25
- package/vscode/src/vs/editor/common/config/editorOptions.js +530 -473
- package/vscode/src/vs/editor/common/config/editorZoom.d.ts +1 -1
- package/vscode/src/vs/editor/common/config/fontInfo.d.ts +31 -17
- package/vscode/src/vs/editor/common/config/fontInfo.js +16 -25
- package/vscode/src/vs/editor/common/config/fontInfoFromSettings.d.ts +11 -0
- package/vscode/src/vs/editor/common/config/fontInfoFromSettings.js +26 -0
- package/vscode/src/vs/editor/common/core/editorColorRegistry.js +71 -71
- package/vscode/src/vs/editor/common/core/position.d.ts +1 -1
- package/vscode/src/vs/editor/common/core/position.js +1 -1
- package/vscode/src/vs/editor/common/core/range.d.ts +1 -1
- package/vscode/src/vs/editor/common/core/range.js +1 -1
- package/vscode/src/vs/editor/common/core/selection.d.ts +1 -1
- package/vscode/src/vs/editor/common/core/selection.js +1 -1
- package/vscode/src/vs/editor/common/core/text/abstractText.d.ts +3 -2
- package/vscode/src/vs/editor/common/core/text/abstractText.js +4 -1
- package/vscode/src/vs/editor/common/cursor/cursorMoveCommands.d.ts +2 -0
- package/vscode/src/vs/editor/common/cursor/cursorMoveCommands.js +10 -1
- package/vscode/src/vs/editor/common/cursor/cursorWordOperations.js +8 -0
- package/vscode/src/vs/editor/common/editorCommon.d.ts +5 -5
- package/vscode/src/vs/editor/common/editorCommon.js +1 -1
- package/vscode/src/vs/editor/common/editorContextKeys.d.ts +1 -0
- package/vscode/src/vs/editor/common/editorContextKeys.js +47 -46
- package/vscode/src/vs/editor/common/languages/language.service.d.ts +3 -3
- package/vscode/src/vs/editor/common/languages/languageConfigurationRegistry.service.d.ts +1 -1
- package/vscode/src/vs/editor/common/languages/modesRegistry.js +1 -1
- package/vscode/src/vs/editor/common/languages/textToHtmlTokenizer.js +22 -11
- package/vscode/src/vs/editor/common/languages.d.ts +38 -33
- package/vscode/src/vs/editor/common/languages.js +74 -64
- package/vscode/src/vs/editor/common/model/decorationProvider.d.ts +1 -1
- package/vscode/src/vs/editor/common/model/editStack.js +1 -1
- package/vscode/src/vs/editor/common/model/textModel.d.ts +2 -2
- package/vscode/src/vs/editor/common/model/textModel.js +4 -3
- package/vscode/src/vs/editor/common/model/tokens/treeSitter/tokenStore.d.ts +2 -2
- package/vscode/src/vs/editor/common/model/tokens/treeSitter/tokenStore.js +1 -1
- package/vscode/src/vs/editor/common/model/tokens/treeSitter/treeSitterSyntaxTokenBackend.js +1 -1
- package/vscode/src/vs/editor/common/model.d.ts +2 -2
- package/vscode/src/vs/editor/common/model.js +1 -1
- package/vscode/src/vs/editor/common/services/editorWebWorker.d.ts +3 -3
- package/vscode/src/vs/editor/common/services/editorWebWorker.js +1 -0
- package/vscode/src/vs/editor/common/services/editorWorkerHost.d.ts +2 -2
- package/vscode/src/vs/editor/common/services/markerDecorations.service.d.ts +1 -1
- package/vscode/src/vs/editor/common/services/modelService.d.ts +5 -5
- package/vscode/src/vs/editor/common/services/modelService.js +16 -23
- package/vscode/src/vs/editor/common/services/textModelSync/textModelSync.impl.d.ts +1 -1
- package/vscode/src/vs/editor/common/services/textResourceConfiguration.service.d.ts +1 -1
- package/vscode/src/vs/editor/common/services/treeSitter/treeSitterLibraryService.service.d.ts +38 -7
- package/vscode/src/vs/editor/common/standalone/standaloneEnums.d.ts +4 -4
- package/vscode/src/vs/editor/common/standalone/standaloneEnums.js +6 -6
- package/vscode/src/vs/editor/common/standaloneStrings.js +48 -48
- package/vscode/src/vs/editor/common/textModelBracketPairs.d.ts +1 -1
- package/vscode/src/vs/editor/common/textModelEditSource.d.ts +3 -1
- package/vscode/src/vs/editor/common/textModelEditSource.js +3 -2
- package/vscode/src/vs/editor/common/tokens/sparseMultilineTokens.js +3 -0
- package/vscode/src/vs/editor/common/tokens/sparseTokensStore.js +6 -1
- package/vscode/src/vs/editor/common/viewLayout/viewLineRenderer.d.ts +24 -0
- package/vscode/src/vs/editor/common/viewLayout/viewLineRenderer.js +39 -3
- package/vscode/src/vs/editor/common/viewModel/monospaceLineBreaksComputer.js +25 -13
- package/vscode/src/vs/editor/common/viewModel/viewModelImpl.js +2 -1
- package/vscode/src/vs/editor/contrib/anchorSelect/browser/anchorSelect.js +6 -6
- package/vscode/src/vs/editor/contrib/bracketMatching/browser/bracketMatching.js +8 -7
- 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.d.ts +42 -3
- 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 +4 -4
- package/vscode/src/vs/editor/contrib/codeAction/browser/codeActionMenu.js +8 -8
- package/vscode/src/vs/editor/contrib/codeAction/browser/lightBulbWidget.js +9 -9
- package/vscode/src/vs/editor/contrib/codelens/browser/codelensController.js +4 -3
- package/vscode/src/vs/editor/contrib/colorPicker/browser/colorPickerContribution.js +3 -0
- 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/hoverColorPickerParticipant.js +1 -1
- package/vscode/src/vs/editor/contrib/colorPicker/browser/standaloneColorPicker/standaloneColorPickerActions.js +7 -7
- package/vscode/src/vs/editor/contrib/colorPicker/browser/standaloneColorPicker/standaloneColorPickerWidget.js +2 -2
- package/vscode/src/vs/editor/contrib/comment/browser/comment.js +17 -13
- package/vscode/src/vs/editor/contrib/contextmenu/browser/contextmenu.js +13 -13
- package/vscode/src/vs/editor/contrib/cursorUndo/browser/cursorUndo.d.ts +2 -2
- package/vscode/src/vs/editor/contrib/cursorUndo/browser/cursorUndo.js +2 -2
- package/vscode/src/vs/editor/contrib/dropOrPasteInto/browser/copyPasteContribution.js +7 -5
- package/vscode/src/vs/editor/contrib/dropOrPasteInto/browser/copyPasteController.js +9 -9
- 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 +2 -8
- package/vscode/src/vs/editor/contrib/find/browser/findController.js +69 -76
- package/vscode/src/vs/editor/contrib/find/browser/findOptionsWidget.js +4 -5
- package/vscode/src/vs/editor/contrib/find/browser/findWidget.css +5 -5
- package/vscode/src/vs/editor/contrib/find/browser/findWidget.d.ts +2 -2
- package/vscode/src/vs/editor/contrib/find/browser/findWidget.js +41 -38
- package/vscode/src/vs/editor/contrib/folding/browser/folding.css +4 -4
- package/vscode/src/vs/editor/contrib/folding/browser/folding.js +20 -20
- package/vscode/src/vs/editor/contrib/folding/browser/foldingDecorations.d.ts +1 -1
- 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/format.js +7 -0
- package/vscode/src/vs/editor/contrib/format/browser/formatActions.js +2 -2
- package/vscode/src/vs/editor/contrib/gotoError/browser/gotoError.js +8 -8
- package/vscode/src/vs/editor/contrib/gotoError/browser/gotoErrorWidget.js +14 -14
- package/vscode/src/vs/editor/contrib/gotoSymbol/browser/goToCommands.js +39 -39
- package/vscode/src/vs/editor/contrib/gotoSymbol/browser/link/goToDefinitionAtPosition.js +2 -2
- package/vscode/src/vs/editor/contrib/gotoSymbol/browser/peek/referencesController.js +3 -3
- package/vscode/src/vs/editor/contrib/gotoSymbol/browser/peek/referencesTree.js +3 -3
- package/vscode/src/vs/editor/contrib/gotoSymbol/browser/peek/referencesWidget.css +2 -1
- package/vscode/src/vs/editor/contrib/gotoSymbol/browser/peek/referencesWidget.d.ts +2 -2
- 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 +4 -4
- package/vscode/src/vs/editor/contrib/hover/browser/contentHoverRendered.d.ts +2 -1
- package/vscode/src/vs/editor/contrib/hover/browser/contentHoverRendered.js +34 -11
- package/vscode/src/vs/editor/contrib/hover/browser/contentHoverWidgetWrapper.d.ts +3 -1
- package/vscode/src/vs/editor/contrib/hover/browser/contentHoverWidgetWrapper.js +7 -3
- package/vscode/src/vs/editor/contrib/hover/browser/glyphHoverWidget.d.ts +4 -4
- package/vscode/src/vs/editor/contrib/hover/browser/glyphHoverWidget.js +26 -12
- package/vscode/src/vs/editor/contrib/hover/browser/hover.css +37 -0
- package/vscode/src/vs/editor/contrib/hover/browser/hoverAccessibleViews.js +2 -2
- package/vscode/src/vs/editor/contrib/hover/browser/hoverActionIds.js +2 -2
- package/vscode/src/vs/editor/contrib/hover/browser/hoverActions.js +24 -24
- package/vscode/src/vs/editor/contrib/hover/browser/hoverCopyButton.d.ts +15 -0
- package/vscode/src/vs/editor/contrib/hover/browser/hoverCopyButton.js +40 -0
- package/vscode/src/vs/editor/contrib/hover/browser/markdownHoverParticipant.d.ts +4 -6
- package/vscode/src/vs/editor/contrib/hover/browser/markdownHoverParticipant.js +27 -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.d.ts +1 -1
- package/vscode/src/vs/editor/contrib/indentation/browser/indentation.js +29 -27
- package/vscode/src/vs/editor/contrib/inlayHints/browser/inlayHintsController.js +29 -16
- package/vscode/src/vs/editor/contrib/inlayHints/browser/inlayHintsHover.d.ts +2 -3
- package/vscode/src/vs/editor/contrib/inlayHints/browser/inlayHintsHover.js +18 -20
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/controller/commands.d.ts +5 -12
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/controller/commands.js +64 -53
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/controller/inlineCompletionContextKeys.js +12 -12
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/controller/inlineCompletionsController.js +17 -10
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/hintsWidget/hoverParticipant.d.ts +3 -5
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/hintsWidget/hoverParticipant.js +11 -15
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/hintsWidget/inlineCompletionsHintsWidget.js +6 -6
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/inlineCompletions.contribution.js +2 -4
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/model/inlineCompletionsModel.d.ts +4 -1
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/model/inlineCompletionsModel.js +36 -32
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/model/inlineCompletionsSource.js +5 -4
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/model/inlineSuggestionItem.d.ts +18 -13
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/model/inlineSuggestionItem.js +43 -28
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/model/provideInlineCompletions.d.ts +5 -10
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/model/provideInlineCompletions.js +17 -21
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/telemetry.d.ts +0 -5
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/view/ghostText/ghostTextView.d.ts +1 -3
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/view/ghostText/ghostTextView.js +2 -4
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/view/inlineEdits/components/gutterIndicatorMenu.js +12 -5
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/view/inlineEdits/components/gutterIndicatorView.d.ts +1 -1
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/view/inlineEdits/components/gutterIndicatorView.js +1 -1
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/view/inlineEdits/inlineEditWithChanges.d.ts +4 -3
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/view/inlineEdits/inlineEditWithChanges.js +5 -1
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/view/inlineEdits/inlineEditsModel.d.ts +3 -4
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/view/inlineEdits/inlineEditsModel.js +3 -8
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/view/inlineEdits/inlineEditsView.d.ts +1 -0
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/view/inlineEdits/inlineEditsView.js +40 -10
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/view/inlineEdits/inlineEditsViewInterface.d.ts +4 -4
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/view/inlineEdits/inlineEditsViewProducer.js +3 -4
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/view/inlineEdits/inlineEditsViews/inlineEditsCustomView.d.ts +2 -2
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/view/inlineEdits/inlineEditsViews/inlineEditsCustomView.js +6 -6
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/view/inlineEdits/inlineEditsViews/inlineEditsLineReplacementView.js +1 -1
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/view/inlineEdits/theme.js +20 -20
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/view/inlineEdits/utils/utils.d.ts +3 -3
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/view/inlineEdits/utils/utils.js +9 -6
- package/vscode/src/vs/editor/contrib/insertFinalNewLine/browser/insertFinalNewLine.d.ts +1 -1
- package/vscode/src/vs/editor/contrib/insertFinalNewLine/browser/insertFinalNewLine.js +1 -1
- package/vscode/src/vs/editor/contrib/lineSelection/browser/lineSelection.d.ts +5 -1
- package/vscode/src/vs/editor/contrib/lineSelection/browser/lineSelection.js +1 -1
- package/vscode/src/vs/editor/contrib/linesOperations/browser/linesOperations.d.ts +8 -2
- package/vscode/src/vs/editor/contrib/linesOperations/browser/linesOperations.js +104 -69
- package/vscode/src/vs/editor/contrib/linkedEditing/browser/linkedEditing.d.ts +2 -2
- package/vscode/src/vs/editor/contrib/linkedEditing/browser/linkedEditing.js +2 -2
- package/vscode/src/vs/editor/contrib/links/browser/links.js +10 -10
- package/vscode/src/vs/editor/contrib/message/browser/messageController.js +2 -2
- package/vscode/src/vs/editor/contrib/multicursor/browser/multicursor.d.ts +12 -4
- 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.d.ts +3 -4
- package/vscode/src/vs/editor/contrib/parameterHints/browser/parameterHintsWidget.js +12 -13
- package/vscode/src/vs/editor/contrib/peekView/browser/peekView.js +18 -18
- 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 +13 -12
- package/vscode/src/vs/editor/contrib/rename/browser/renameWidget.js +8 -10
- package/vscode/src/vs/editor/contrib/semanticTokens/browser/viewportSemanticTokens.d.ts +3 -0
- package/vscode/src/vs/editor/contrib/semanticTokens/browser/viewportSemanticTokens.js +33 -1
- package/vscode/src/vs/editor/contrib/semanticTokens/common/getSemanticTokens.d.ts +2 -2
- package/vscode/src/vs/editor/contrib/smartSelect/browser/smartSelect.js +7 -6
- package/vscode/src/vs/editor/contrib/snippet/browser/snippetController2.js +4 -4
- package/vscode/src/vs/editor/contrib/snippet/browser/snippetParser.d.ts +1 -1
- package/vscode/src/vs/editor/contrib/snippet/browser/snippetVariables.js +11 -4
- package/vscode/src/vs/editor/contrib/stickyScroll/browser/stickyScrollActions.js +11 -11
- package/vscode/src/vs/editor/contrib/stickyScroll/browser/stickyScrollController.d.ts +1 -1
- package/vscode/src/vs/editor/contrib/stickyScroll/browser/stickyScrollProvider.d.ts +1 -1
- package/vscode/src/vs/editor/contrib/stickyScroll/browser/stickyScrollWidget.js +2 -2
- package/vscode/src/vs/editor/contrib/suggest/browser/suggest.js +8 -8
- package/vscode/src/vs/editor/contrib/suggest/browser/suggestAlternatives.d.ts +1 -1
- package/vscode/src/vs/editor/contrib/suggest/browser/suggestCommitCharacters.d.ts +1 -1
- package/vscode/src/vs/editor/contrib/suggest/browser/suggestController.d.ts +1 -1
- package/vscode/src/vs/editor/contrib/suggest/browser/suggestController.js +10 -10
- package/vscode/src/vs/editor/contrib/suggest/browser/suggestInlineCompletions.d.ts +2 -2
- package/vscode/src/vs/editor/contrib/suggest/browser/suggestInlineCompletions.js +2 -2
- package/vscode/src/vs/editor/contrib/suggest/browser/suggestWidget.d.ts +0 -1
- package/vscode/src/vs/editor/contrib/suggest/browser/suggestWidget.js +18 -24
- package/vscode/src/vs/editor/contrib/suggest/browser/suggestWidgetDetails.d.ts +5 -6
- package/vscode/src/vs/editor/contrib/suggest/browser/suggestWidgetDetails.js +16 -19
- package/vscode/src/vs/editor/contrib/suggest/browser/suggestWidgetRenderer.js +2 -2
- package/vscode/src/vs/editor/contrib/suggest/browser/wordContextKey.js +1 -1
- package/vscode/src/vs/editor/contrib/symbolIcons/browser/symbolIcons.css +2 -0
- 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/bannerController.js +7 -6
- package/vscode/src/vs/editor/contrib/unicodeHighlighter/browser/unicodeHighlighter.d.ts +3 -5
- package/vscode/src/vs/editor/contrib/unicodeHighlighter/browser/unicodeHighlighter.js +29 -32
- 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.d.ts +5 -5
- package/vscode/src/vs/editor/contrib/wordOperations/browser/wordOperations.js +11 -11
- package/vscode/src/vs/editor/standalone/browser/standaloneCodeEditor.d.ts +4 -3
- package/vscode/src/vs/editor/standalone/browser/standaloneCodeEditor.js +10 -5
- package/vscode/src/vs/editor/standalone/browser/standaloneServices.d.ts +5 -4
- package/vscode/src/vs/editor/standalone/browser/standaloneServices.js +2 -2
- package/vscode/src/vs/editor/standalone/browser/standaloneTreeSitterLibraryService.d.ts +3 -11
- package/vscode/src/vs/editor/standalone/browser/standaloneTreeSitterLibraryService.js +8 -2
- package/vscode/src/vs/platform/accessibility/browser/accessibilityService.js +2 -2
- package/vscode/src/vs/platform/accessibility/browser/accessibleView.d.ts +3 -3
- package/vscode/src/vs/platform/accessibilitySignal/browser/accessibilitySignalService.js +62 -62
- package/vscode/src/vs/platform/action/common/action.d.ts +1 -1
- package/vscode/src/vs/platform/action/common/action.js +1 -1
- package/vscode/src/vs/platform/action/common/actionCommonCategories.js +6 -6
- package/vscode/src/vs/platform/actionWidget/browser/actionList.d.ts +1 -1
- 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/actionViewItemService.service.d.ts +1 -1
- package/vscode/src/vs/platform/actions/browser/menuEntryActionViewItem.d.ts +4 -2
- package/vscode/src/vs/platform/actions/browser/menuEntryActionViewItem.js +29 -18
- package/vscode/src/vs/platform/actions/browser/toolbar.js +2 -2
- package/vscode/src/vs/platform/actions/common/actions.d.ts +29 -9
- package/vscode/src/vs/platform/actions/common/actions.js +7 -3
- 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.d.ts +8 -10
- package/vscode/src/vs/platform/commands/common/commands.service.d.ts +3 -3
- package/vscode/src/vs/platform/configuration/common/configuration.service.d.ts +2 -1
- package/vscode/src/vs/platform/configuration/common/configurationModels.d.ts +1 -0
- package/vscode/src/vs/platform/configuration/common/configurationModels.js +1 -0
- package/vscode/src/vs/platform/configuration/common/configurationRegistry.d.ts +8 -1
- package/vscode/src/vs/platform/configuration/common/configurationRegistry.js +28 -14
- 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/contextkey.service.d.ts +1 -1
- 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/dataChannel/browser/forwardingTelemetryService.js +1 -1
- package/vscode/src/vs/platform/dialogs/common/dialogs.service.d.ts +3 -3
- package/vscode/src/vs/platform/dnd/browser/dnd.js +2 -2
- package/vscode/src/vs/platform/environment/common/argv.d.ts +1 -0
- package/vscode/src/vs/platform/environment/common/environment.service.d.ts +1 -0
- package/vscode/src/vs/platform/extensionManagement/common/extensionManagement.d.ts +1 -0
- package/vscode/src/vs/platform/extensionManagement/common/extensionManagement.js +31 -23
- package/vscode/src/vs/platform/extensionManagement/common/extensionManagement.service.d.ts +1 -1
- package/vscode/src/vs/platform/extensionManagement/common/extensionNls.js +1 -1
- package/vscode/src/vs/platform/extensionManagement/common/extensionsScannerService.js +7 -7
- package/vscode/src/vs/platform/extensions/common/extensionValidator.js +20 -20
- package/vscode/src/vs/platform/extensions/common/extensionsApiProposals.d.ts +27 -7
- package/vscode/src/vs/platform/extensions/common/extensionsApiProposals.js +31 -11
- package/vscode/src/vs/platform/files/browser/htmlFileSystemProvider.js +2 -2
- package/vscode/src/vs/platform/files/browser/webFileSystemAccess.d.ts +8 -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/{editor/browser/services/hoverService → platform/hover/browser}/hover.css +33 -31
- package/vscode/src/vs/{editor/browser/services/hoverService → platform/hover/browser}/hoverService.d.ts +10 -10
- package/vscode/src/vs/{editor/browser/services/hoverService → platform/hover/browser}/hoverService.js +47 -40
- package/vscode/src/vs/{editor/browser/services/hoverService → platform/hover/browser}/hoverWidget.d.ts +10 -12
- package/vscode/src/vs/{editor/browser/services/hoverService → platform/hover/browser}/hoverWidget.js +44 -37
- package/vscode/src/vs/{editor/browser/services/hoverService → platform/hover/browser}/updatableHoverWidget.d.ts +3 -3
- package/vscode/src/vs/{editor/browser/services/hoverService → platform/hover/browser}/updatableHoverWidget.js +8 -8
- package/vscode/src/vs/platform/instantiation/common/descriptors.d.ts +2 -2
- package/vscode/src/vs/platform/instantiation/common/instantiation.d.ts +8 -1
- package/vscode/src/vs/platform/keybinding/common/abstractKeybindingService.js +4 -4
- package/vscode/src/vs/platform/keybinding/common/keybinding.service.d.ts +1 -1
- package/vscode/src/vs/platform/keybinding/common/keybindingsRegistry.d.ts +3 -3
- package/vscode/src/vs/platform/label/common/label.service.d.ts +1 -1
- package/vscode/src/vs/platform/languagePacks/common/languagePacks.service.d.ts +1 -1
- package/vscode/src/vs/platform/list/browser/listService.js +29 -29
- package/vscode/src/vs/platform/log/common/log.d.ts +42 -42
- package/vscode/src/vs/platform/log/common/log.js +6 -6
- package/vscode/src/vs/platform/log/common/logService.d.ts +5 -5
- package/vscode/src/vs/platform/markdown/browser/markdownRenderer.d.ts +32 -0
- package/vscode/src/vs/platform/markdown/browser/markdownRenderer.js +61 -0
- package/vscode/src/vs/platform/markdown/browser/markdownRenderer.service.d.ts +17 -0
- package/vscode/src/vs/platform/markdown/browser/markdownRenderer.service.js +6 -0
- package/vscode/src/vs/platform/markers/common/markerService.js +2 -2
- package/vscode/src/vs/platform/markers/common/markers.js +6 -6
- package/vscode/src/vs/platform/mcp/common/mcpGalleryManifest.d.ts +4 -3
- package/vscode/src/vs/platform/mcp/common/mcpGalleryManifest.js +3 -2
- package/vscode/src/vs/platform/mcp/common/mcpManagement.service.d.ts +7 -6
- package/vscode/src/vs/platform/notification/common/notification.js +3 -3
- package/vscode/src/vs/platform/product/common/product.js +3 -3
- package/vscode/src/vs/platform/quickinput/browser/quickInput.d.ts +7 -4
- package/vscode/src/vs/platform/quickinput/browser/quickInput.js +34 -19
- package/vscode/src/vs/platform/quickinput/browser/quickInputActions.js +6 -6
- package/vscode/src/vs/platform/quickinput/browser/quickInputController.js +15 -8
- package/vscode/src/vs/platform/quickinput/browser/quickInputList.d.ts +4 -4
- package/vscode/src/vs/platform/quickinput/browser/quickInputList.js +1 -1
- package/vscode/src/vs/platform/quickinput/browser/quickInputUtils.js +1 -1
- package/vscode/src/vs/platform/quickinput/browser/tree/quickInputTree.d.ts +1 -1
- package/vscode/src/vs/platform/quickinput/browser/tree/quickInputTree.js +9 -9
- package/vscode/src/vs/platform/quickinput/browser/tree/quickInputTreeAccessibilityProvider.d.ts +2 -1
- package/vscode/src/vs/platform/quickinput/browser/tree/quickInputTreeAccessibilityProvider.js +2 -2
- package/vscode/src/vs/platform/quickinput/browser/tree/quickInputTreeController.d.ts +5 -2
- package/vscode/src/vs/platform/quickinput/browser/tree/quickInputTreeController.js +14 -25
- package/vscode/src/vs/platform/quickinput/browser/tree/quickInputTreeSorter.d.ts +9 -0
- package/vscode/src/vs/platform/quickinput/browser/tree/quickInputTreeSorter.js +43 -0
- package/vscode/src/vs/platform/quickinput/browser/tree/quickTree.d.ts +7 -2
- package/vscode/src/vs/platform/quickinput/browser/tree/quickTree.js +14 -3
- package/vscode/src/vs/platform/quickinput/common/quickInput.d.ts +40 -11
- package/vscode/src/vs/platform/quickinput/common/quickInput.js +1 -0
- package/vscode/src/vs/platform/request/common/request.js +34 -19
- package/vscode/src/vs/platform/secrets/common/secrets.service.d.ts +1 -1
- package/vscode/src/vs/platform/telemetry/common/telemetryUtils.js +1 -1
- package/vscode/src/vs/platform/terminal/common/terminal.d.ts +33 -17
- package/vscode/src/vs/platform/terminal/common/terminal.js +2 -1
- package/vscode/src/vs/platform/terminal/common/terminal.service.d.ts +2 -1
- package/vscode/src/vs/platform/terminal/common/terminalProcess.d.ts +1 -0
- package/vscode/src/vs/platform/theme/browser/defaultStyles.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 +18 -18
- package/vscode/src/vs/platform/theme/common/colors/chartsColors.js +8 -8
- package/vscode/src/vs/platform/theme/common/colors/editorColors.js +95 -95
- package/vscode/src/vs/platform/theme/common/colors/inputColors.js +47 -47
- 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.d.ts +1 -0
- package/vscode/src/vs/platform/theme/common/colors/miscColors.js +16 -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.js +6 -6
- package/vscode/src/vs/platform/tunnel/common/tunnel.d.ts +3 -2
- package/vscode/src/vs/platform/tunnel/common/tunnel.js +5 -1
- 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.js +5 -5
- package/vscode/src/vs/platform/webContentExtractor/common/webContentExtractor.d.ts +18 -1
- package/vscode/src/vs/platform/webContentExtractor/common/webContentExtractor.service.d.ts +2 -1
- package/vscode/src/vs/platform/window/common/window.d.ts +1 -1
- package/vscode/src/vs/platform/workspace/common/workspace.js +1 -1
- package/vscode/src/vs/platform/workspace/common/workspaceTrust.service.d.ts +2 -2
- package/vscode/src/vs/workbench/api/browser/statusBarService.d.ts +1 -1
- package/vscode/src/vs/workbench/api/common/extHost.api.impl.js +37 -15
- package/vscode/src/vs/workbench/api/common/extHost.protocol.d.ts +127 -62
- package/vscode/src/vs/workbench/api/common/extHost.protocol.js +2 -0
- package/vscode/src/vs/workbench/api/common/extHostAuthentication.js +25 -6
- package/vscode/src/vs/workbench/api/common/extHostChatAgents2.d.ts +6 -6
- package/vscode/src/vs/workbench/api/common/extHostChatAgents2.js +29 -6
- package/vscode/src/vs/workbench/api/common/extHostChatContext.d.ts +22 -0
- package/vscode/src/vs/workbench/api/common/extHostChatContext.js +99 -0
- package/vscode/src/vs/workbench/api/common/extHostChatSessions.d.ts +26 -10
- package/vscode/src/vs/workbench/api/common/extHostChatSessions.js +120 -47
- package/vscode/src/vs/workbench/api/common/extHostCommands.d.ts +2 -2
- package/vscode/src/vs/workbench/api/common/extHostCustomEditors.d.ts +1 -1
- package/vscode/src/vs/workbench/api/common/extHostDebugService.d.ts +6 -6
- package/vscode/src/vs/workbench/api/common/extHostDiagnostics.js +4 -3
- package/vscode/src/vs/workbench/api/common/extHostExtensionActivator.js +2 -2
- package/vscode/src/vs/workbench/api/common/extHostExtensionService.d.ts +1 -1
- package/vscode/src/vs/workbench/api/common/extHostExtensionService.js +2 -2
- package/vscode/src/vs/workbench/api/common/extHostLanguageFeatures.js +21 -13
- package/vscode/src/vs/workbench/api/common/extHostLanguageModelTools.js +3 -3
- package/vscode/src/vs/workbench/api/common/extHostLanguageModels.d.ts +7 -1
- package/vscode/src/vs/workbench/api/common/extHostLanguageModels.js +45 -5
- package/vscode/src/vs/workbench/api/common/extHostLogService.js +1 -1
- package/vscode/src/vs/workbench/api/common/extHostMcp.d.ts +9 -4
- package/vscode/src/vs/workbench/api/common/extHostMcp.js +136 -79
- package/vscode/src/vs/workbench/api/common/extHostNotebook.d.ts +3 -3
- package/vscode/src/vs/workbench/api/common/extHostNotebook.js +2 -2
- package/vscode/src/vs/workbench/api/common/extHostNotebookKernels.d.ts +1 -1
- package/vscode/src/vs/workbench/api/common/extHostProfileContentHandler.d.ts +1 -1
- package/vscode/src/vs/workbench/api/common/extHostQuickOpen.js +50 -60
- package/vscode/src/vs/workbench/api/common/extHostSCM.d.ts +3 -1
- package/vscode/src/vs/workbench/api/common/extHostSCM.js +52 -3
- package/vscode/src/vs/workbench/api/common/extHostStatusBar.js +2 -2
- package/vscode/src/vs/workbench/api/common/extHostTask.d.ts +6 -6
- package/vscode/src/vs/workbench/api/common/extHostTelemetry.js +2 -2
- package/vscode/src/vs/workbench/api/common/extHostTerminalService.d.ts +2 -2
- package/vscode/src/vs/workbench/api/common/extHostTerminalService.js +12 -8
- package/vscode/src/vs/workbench/api/common/extHostTerminalShellIntegration.d.ts +3 -3
- package/vscode/src/vs/workbench/api/common/extHostTerminalShellIntegration.js +12 -5
- package/vscode/src/vs/workbench/api/common/extHostTreeViews.js +26 -13
- package/vscode/src/vs/workbench/api/common/extHostTunnelService.js +2 -2
- package/vscode/src/vs/workbench/api/common/extHostTypeConverters.d.ts +31 -11
- package/vscode/src/vs/workbench/api/common/extHostTypeConverters.js +153 -36
- package/vscode/src/vs/workbench/api/common/extHostTypes/diagnostic.d.ts +8 -2
- package/vscode/src/vs/workbench/api/common/extHostTypes/location.d.ts +1 -1
- package/vscode/src/vs/workbench/api/common/extHostTypes/markdownString.d.ts +3 -1
- package/vscode/src/vs/workbench/api/common/extHostTypes/markdownString.js +10 -1
- package/vscode/src/vs/workbench/api/common/extHostTypes/notebooks.d.ts +13 -13
- package/vscode/src/vs/workbench/api/common/extHostTypes/position.d.ts +5 -2
- package/vscode/src/vs/workbench/api/common/extHostTypes/range.d.ts +2 -2
- package/vscode/src/vs/workbench/api/common/extHostTypes/range.js +1 -1
- package/vscode/src/vs/workbench/api/common/extHostTypes/selection.d.ts +1 -1
- package/vscode/src/vs/workbench/api/common/extHostTypes/selection.js +1 -1
- package/vscode/src/vs/workbench/api/common/extHostTypes/snippetString.d.ts +3 -3
- package/vscode/src/vs/workbench/api/common/extHostTypes/snippetString.js +1 -1
- package/vscode/src/vs/workbench/api/common/extHostTypes/snippetTextEdit.d.ts +1 -1
- package/vscode/src/vs/workbench/api/common/extHostTypes/symbolInformation.d.ts +6 -1
- package/vscode/src/vs/workbench/api/common/extHostTypes/textEdit.d.ts +6 -2
- package/vscode/src/vs/workbench/api/common/extHostTypes/textEdit.js +1 -1
- package/vscode/src/vs/workbench/api/common/extHostTypes/workspaceEdit.d.ts +4 -1
- package/vscode/src/vs/workbench/api/common/extHostTypes.d.ts +54 -38
- package/vscode/src/vs/workbench/api/common/extHostTypes.js +32 -21
- package/vscode/src/vs/workbench/api/common/extHostWebviewPanels.d.ts +1 -1
- package/vscode/src/vs/workbench/api/common/extHostWorkspace.js +11 -2
- package/vscode/src/vs/workbench/api/common/jsonValidationExtensionPoint.js +12 -12
- package/vscode/src/vs/workbench/browser/actions/developerActions.js +35 -35
- package/vscode/src/vs/workbench/browser/actions/media/actions.css +4 -4
- package/vscode/src/vs/workbench/browser/actions/textInputActions.js +6 -6
- package/vscode/src/vs/workbench/browser/codeeditor.d.ts +1 -1
- package/vscode/src/vs/workbench/browser/parts/editor/breadcrumbs.service.d.ts +1 -1
- package/vscode/src/vs/workbench/browser/web.api.d.ts +5 -5
- package/vscode/src/vs/workbench/common/configuration.d.ts +3 -2
- package/vscode/src/vs/workbench/common/configuration.js +9 -9
- package/vscode/src/vs/workbench/common/contextkeys.js +73 -73
- package/vscode/src/vs/workbench/common/editor/diffEditorInput.js +1 -1
- package/vscode/src/vs/workbench/common/editor/editorInput.d.ts +2 -2
- package/vscode/src/vs/workbench/common/editor/sideBySideEditorInput.js +1 -1
- package/vscode/src/vs/workbench/common/editor/textEditorModel.js +1 -1
- package/vscode/src/vs/workbench/common/editor.d.ts +1 -1
- package/vscode/src/vs/workbench/common/editor.js +7 -7
- package/vscode/src/vs/workbench/common/theme.js +160 -160
- package/vscode/src/vs/workbench/common/views.d.ts +7 -8
- package/vscode/src/vs/workbench/common/views.js +4 -4
- package/vscode/src/vs/workbench/contrib/accessibility/browser/accessibilityConfiguration.d.ts +1 -1
- package/vscode/src/vs/workbench/contrib/accessibility/browser/accessibilityConfiguration.js +165 -161
- package/vscode/src/vs/workbench/contrib/accessibility/browser/accessibleViewActions.js +12 -12
- package/vscode/src/vs/workbench/contrib/chat/browser/chat.service.d.ts +5 -3
- package/vscode/src/vs/workbench/contrib/chat/browser/chatAttachmentResolveService.service.d.ts +1 -1
- 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 +1 -1
- package/vscode/src/vs/workbench/contrib/chat/browser/chatContextPickService.service.d.ts +1 -1
- package/vscode/src/vs/workbench/contrib/chat/browser/chatContextService.service.d.ts +4 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/chatContextService.service.js +6 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/chatEditing/chatEditingEditorContextKeys.d.ts +1 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/chatEditing/chatEditingEditorContextKeys.js +9 -8
- package/vscode/src/vs/workbench/contrib/chat/common/chatActions.d.ts +3 -2
- package/vscode/src/vs/workbench/contrib/chat/common/chatActions.js +2 -1
- package/vscode/src/vs/workbench/contrib/chat/common/chatAgents.service.d.ts +1 -1
- package/vscode/src/vs/workbench/contrib/chat/common/chatContextKeys.d.ts +5 -0
- package/vscode/src/vs/workbench/contrib/chat/common/chatContextKeys.js +70 -50
- package/vscode/src/vs/workbench/contrib/chat/common/chatEditingService.d.ts +30 -8
- package/vscode/src/vs/workbench/contrib/chat/common/chatEditingService.js +4 -3
- package/vscode/src/vs/workbench/contrib/chat/common/chatEditingService.service.d.ts +7 -3
- package/vscode/src/vs/workbench/contrib/chat/common/chatModes.service.d.ts +2 -2
- package/vscode/src/vs/workbench/contrib/chat/common/chatService.d.ts +112 -40
- package/vscode/src/vs/workbench/contrib/chat/common/chatService.js +143 -1
- package/vscode/src/vs/workbench/contrib/chat/common/chatService.service.d.ts +27 -28
- package/vscode/src/vs/workbench/contrib/chat/common/chatSessionsService.d.ts +50 -11
- package/vscode/src/vs/workbench/contrib/chat/common/chatSessionsService.js +2 -1
- package/vscode/src/vs/workbench/contrib/chat/common/chatSessionsService.service.d.ts +43 -12
- package/vscode/src/vs/workbench/contrib/chat/common/chatTodoListService.service.d.ts +5 -2
- package/vscode/src/vs/workbench/contrib/chat/common/chatUri.d.ts +25 -0
- package/vscode/src/vs/workbench/contrib/chat/common/chatUri.js +51 -0
- package/vscode/src/vs/workbench/contrib/chat/common/chatVariableEntries.d.ts +29 -3
- package/vscode/src/vs/workbench/contrib/chat/common/chatVariableEntries.js +19 -4
- package/vscode/src/vs/workbench/contrib/chat/common/chatVariables.d.ts +3 -3
- package/vscode/src/vs/workbench/contrib/chat/common/chatVariables.service.d.ts +3 -2
- package/vscode/src/vs/workbench/contrib/chat/common/chatWidgetHistoryService.service.d.ts +1 -1
- package/vscode/src/vs/workbench/contrib/chat/common/constants.d.ts +14 -8
- package/vscode/src/vs/workbench/contrib/chat/common/constants.js +33 -9
- package/vscode/src/vs/workbench/contrib/chat/common/languageModelToolsConfirmationService.d.ts +49 -0
- package/vscode/src/vs/workbench/contrib/chat/common/languageModelToolsConfirmationService.service.d.ts +31 -0
- package/vscode/src/vs/workbench/contrib/chat/common/languageModelToolsConfirmationService.service.js +6 -0
- package/vscode/src/vs/workbench/contrib/chat/common/languageModelToolsService.d.ts +26 -3
- package/vscode/src/vs/workbench/contrib/chat/common/languageModelToolsService.js +39 -10
- package/vscode/src/vs/workbench/contrib/chat/common/languageModelToolsService.service.d.ts +10 -6
- package/vscode/src/vs/workbench/contrib/chat/common/languageModels.d.ts +45 -9
- package/vscode/src/vs/workbench/contrib/chat/common/languageModels.js +37 -16
- package/vscode/src/vs/workbench/contrib/chat/common/languageModels.service.d.ts +1 -1
- package/vscode/src/vs/workbench/contrib/chat/common/modelPicker/modelPickerWidget.js +1 -1
- package/vscode/src/vs/workbench/contrib/chat/common/promptSyntax/service/promptsService.service.d.ts +43 -7
- package/vscode/src/vs/workbench/contrib/chat/common/tools/confirmationTool.js +1 -1
- package/vscode/src/vs/workbench/contrib/chat/common/tools/editFileTool.js +2 -1
- package/vscode/src/vs/workbench/contrib/chat/common/tools/manageTodoListTool.js +34 -30
- package/vscode/src/vs/workbench/contrib/chat/common/tools/runSubagentTool.d.ts +25 -0
- package/vscode/src/vs/workbench/contrib/chat/common/tools/runSubagentTool.js +203 -0
- package/vscode/src/vs/workbench/contrib/chat/common/tools/toolHelpers.d.ts +5 -0
- package/vscode/src/vs/workbench/contrib/chat/common/tools/toolHelpers.js +12 -0
- package/vscode/src/vs/workbench/contrib/chat/common/tools/tools.js +3 -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.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.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 +5 -5
- package/vscode/src/vs/workbench/contrib/comments/browser/commentService.service.d.ts +1 -1
- package/vscode/src/vs/workbench/contrib/comments/browser/commentsAccessibility.js +12 -12
- package/vscode/src/vs/workbench/contrib/comments/common/commentContextKeys.js +11 -11
- package/vscode/src/vs/workbench/contrib/debug/common/abstractDebugAdapter.js +1 -1
- package/vscode/src/vs/workbench/contrib/debug/common/debug.d.ts +37 -33
- package/vscode/src/vs/workbench/contrib/debug/common/debug.js +65 -65
- package/vscode/src/vs/workbench/contrib/debug/common/debug.service.d.ts +9 -9
- package/vscode/src/vs/workbench/contrib/debug/common/debugUtils.d.ts +6 -0
- package/vscode/src/vs/workbench/contrib/debug/common/debugUtils.js +16 -2
- package/vscode/src/vs/workbench/contrib/dropOrPasteInto/browser/commands.js +2 -2
- package/vscode/src/vs/workbench/contrib/dropOrPasteInto/browser/configurationSchema.js +4 -4
- package/vscode/src/vs/workbench/contrib/editTelemetry/browser/randomService.service.d.ts +6 -0
- package/vscode/src/vs/workbench/contrib/editTelemetry/browser/randomService.service.js +6 -0
- package/vscode/src/vs/workbench/contrib/editTelemetry/browser/telemetry/aiEditTelemetry/aiEditTelemetryService.d.ts +38 -4
- package/vscode/src/vs/workbench/contrib/extensions/common/extensions.d.ts +2 -2
- package/vscode/src/vs/workbench/contrib/extensions/common/extensions.js +1 -1
- package/vscode/src/vs/workbench/contrib/extensions/common/extensions.service.d.ts +1 -1
- package/vscode/src/vs/workbench/contrib/extensions/common/searchExtensionsTool.js +4 -4
- 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 +1 -1
- package/vscode/src/vs/workbench/contrib/inlayHints/browser/inlayHintsAccessibilty.js +4 -4
- package/vscode/src/vs/workbench/contrib/inlineChat/browser/inlineChatSessionService.service.d.ts +8 -9
- package/vscode/src/vs/workbench/contrib/interactive/browser/interactiveDocumentService.service.d.ts +2 -2
- 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/mcp/common/mcpTypes.d.ts +42 -8
- package/vscode/src/vs/workbench/contrib/mcp/common/mcpTypes.js +18 -7
- package/vscode/src/vs/workbench/contrib/mcp/common/mcpTypes.service.d.ts +7 -4
- package/vscode/src/vs/workbench/contrib/mcp/common/modelContextProtocol.d.ts +8 -0
- package/vscode/src/vs/workbench/contrib/multiDiffEditor/browser/multiDiffSourceResolverService.service.d.ts +1 -1
- package/vscode/src/vs/workbench/contrib/notebook/browser/services/notebookEditorService.service.d.ts +5 -3
- package/vscode/src/vs/workbench/contrib/notebook/browser/viewModel/notebookOutlineDataSourceFactory.service.d.ts +1 -1
- package/vscode/src/vs/workbench/contrib/notebook/browser/viewModel/notebookOutlineEntryFactory.service.d.ts +1 -1
- package/vscode/src/vs/workbench/contrib/notebook/common/notebookCommon.d.ts +17 -17
- package/vscode/src/vs/workbench/contrib/notebook/common/notebookCommon.js +8 -8
- package/vscode/src/vs/workbench/contrib/notebook/common/notebookExecutionStateService.service.d.ts +2 -2
- package/vscode/src/vs/workbench/contrib/notebook/common/notebookKernelService.d.ts +2 -2
- package/vscode/src/vs/workbench/contrib/notebook/common/notebookLoggingService.service.d.ts +1 -0
- package/vscode/src/vs/workbench/contrib/notebook/common/notebookRendererMessagingService.service.d.ts +1 -1
- package/vscode/src/vs/workbench/contrib/notebook/common/notebookService.service.d.ts +2 -2
- package/vscode/src/vs/workbench/contrib/scm/common/artifact.d.ts +37 -0
- package/vscode/src/vs/workbench/contrib/scm/common/quickDiff.service.d.ts +1 -1
- package/vscode/src/vs/workbench/contrib/scm/common/quickDiffService.d.ts +1 -1
- package/vscode/src/vs/workbench/contrib/scm/common/scm.d.ts +171 -0
- package/vscode/src/vs/workbench/contrib/scm/common/scm.js +35 -0
- package/vscode/src/vs/workbench/contrib/scm/common/scm.service.d.ts +13 -3
- package/vscode/src/vs/workbench/contrib/search/common/searchHistoryService.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.js +29 -29
- package/vscode/src/vs/workbench/contrib/tasks/common/constants.js +1 -1
- package/vscode/src/vs/workbench/contrib/tasks/common/taskDefinitionRegistry.d.ts +1 -1
- package/vscode/src/vs/workbench/contrib/tasks/common/taskDefinitionRegistry.js +5 -5
- package/vscode/src/vs/workbench/contrib/tasks/common/taskService.service.d.ts +7 -6
- package/vscode/src/vs/workbench/contrib/tasks/common/tasks.d.ts +12 -0
- package/vscode/src/vs/workbench/contrib/tasks/common/tasks.js +4 -4
- package/vscode/src/vs/workbench/contrib/terminal/browser/terminal.d.ts +43 -44
- package/vscode/src/vs/workbench/contrib/terminal/browser/terminal.service.d.ts +69 -6
- package/vscode/src/vs/workbench/contrib/terminal/browser/terminal.service.js +2 -1
- package/vscode/src/vs/workbench/contrib/terminal/common/environmentVariable.service.d.ts +1 -1
- package/vscode/src/vs/workbench/contrib/terminal/common/terminal.service.d.ts +3 -2
- package/vscode/src/vs/workbench/contrib/terminal/common/terminalExtensionPoints.service.d.ts +4 -0
- package/vscode/src/vs/workbench/contrib/terminalContrib/quickFix/browser/quickFix.service.d.ts +3 -3
- package/vscode/src/vs/workbench/contrib/terminalContrib/suggest/browser/terminalCompletionService.service.d.ts +1 -1
- package/vscode/src/vs/workbench/contrib/testing/common/constants.d.ts +2 -0
- package/vscode/src/vs/workbench/contrib/testing/common/constants.js +13 -11
- package/vscode/src/vs/workbench/contrib/testing/common/testTypes.js +3 -3
- package/vscode/src/vs/workbench/contrib/testing/common/testingContinuousRunService.service.d.ts +1 -1
- package/vscode/src/vs/workbench/contrib/testing/common/testingDecorations.service.d.ts +1 -1
- package/vscode/src/vs/workbench/contrib/timeline/common/timeline.d.ts +1 -1
- package/vscode/src/vs/workbench/contrib/timeline/common/timeline.service.d.ts +3 -3
- package/vscode/src/vs/workbench/contrib/url/browser/trustedDomainService.service.d.ts +1 -1
- 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 +3 -8
- package/vscode/src/vs/workbench/services/accounts/common/defaultAccount.d.ts +6 -0
- package/vscode/src/vs/workbench/services/accounts/common/defaultAccount.js +137 -34
- package/vscode/src/vs/workbench/services/activity/common/activity.service.d.ts +1 -1
- package/vscode/src/vs/workbench/services/assignment/common/assignmentService.d.ts +36 -0
- package/vscode/src/vs/workbench/services/assignment/common/assignmentService.service.d.ts +2 -0
- package/vscode/src/vs/workbench/services/authentication/browser/authenticationMcpService.service.d.ts +1 -1
- package/vscode/src/vs/workbench/services/authentication/common/authentication.service.d.ts +1 -1
- package/vscode/src/vs/workbench/services/chat/common/chatContext.d.ts +19 -0
- package/vscode/src/vs/workbench/services/chat/common/chatEntitlementService.d.ts +2 -1
- package/vscode/src/vs/workbench/services/chat/common/chatEntitlementService.js +35 -19
- package/vscode/src/vs/workbench/services/configurationResolver/common/variableResolver.js +16 -16
- package/vscode/src/vs/workbench/services/editor/common/editorGroupsService.d.ts +1 -1
- package/vscode/src/vs/workbench/services/editor/common/editorResolverService.js +2 -2
- package/vscode/src/vs/workbench/services/editor/common/editorResolverService.service.d.ts +1 -1
- package/vscode/src/vs/workbench/services/editor/common/editorService.d.ts +1 -1
- package/vscode/src/vs/workbench/services/extensionManagement/common/extensionManagement.d.ts +5 -4
- package/vscode/src/vs/workbench/services/extensionManagement/common/extensionManagement.js +5 -4
- package/vscode/src/vs/workbench/services/extensionRecommendations/common/extensionRecommendations.service.d.ts +2 -2
- package/vscode/src/vs/workbench/services/extensionRecommendations/common/workspaceExtensionsConfig.service.d.ts +1 -1
- package/vscode/src/vs/workbench/services/extensions/common/extensions.d.ts +5 -5
- package/vscode/src/vs/workbench/services/extensions/common/extensions.service.d.ts +6 -6
- package/vscode/src/vs/workbench/services/extensions/common/extensionsRegistry.js +87 -87
- package/vscode/src/vs/workbench/services/filesConfiguration/common/filesConfigurationService.service.d.ts +1 -1
- package/vscode/src/vs/workbench/services/host/browser/host.service.d.ts +1 -1
- package/vscode/src/vs/workbench/services/inlineCompletions/common/inlineCompletionsUnification.service.d.ts +1 -1
- package/vscode/src/vs/workbench/services/language/common/languageService.js +28 -28
- package/vscode/src/vs/workbench/services/languageStatus/common/languageStatusService.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.js +1 -1
- package/vscode/src/vs/workbench/services/outline/browser/outline.service.d.ts +2 -2
- package/vscode/src/vs/workbench/services/output/common/output.service.d.ts +3 -2
- package/vscode/src/vs/workbench/services/preferences/common/preferences.service.d.ts +1 -1
- package/vscode/src/vs/workbench/services/remote/common/remoteExplorerService.js +8 -8
- package/vscode/src/vs/workbench/services/remote/common/remoteExplorerService.service.d.ts +4 -4
- package/vscode/src/vs/workbench/services/remote/common/tunnelModel.js +7 -7
- package/vscode/src/vs/workbench/services/search/common/queryBuilder.d.ts +9 -0
- package/vscode/src/vs/workbench/services/search/common/queryBuilder.js +4 -4
- package/vscode/src/vs/workbench/services/textfile/common/encoding.js +1 -1
- package/vscode/src/vs/workbench/services/textfile/common/textfiles.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 +13 -13
- package/vscode/src/vs/workbench/services/themes/common/workbenchThemeService.service.d.ts +3 -3
- package/vscode/src/vs/workbench/services/userDataProfile/common/userDataProfile.service.d.ts +1 -1
- package/vscode/src/vs/workbench/services/userDataProfile/common/userDataProfileService.d.ts +1 -1
- package/vscode/src/vs/workbench/services/userDataSync/common/userDataSync.js +13 -13
- 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 +2 -2
- package/vscode/src/vs/workbench/services/workingCopy/common/workingCopyHistory.service.d.ts +6 -6
- package/vscode/src/vs/workbench/services/workingCopy/common/workingCopyService.service.d.ts +1 -1
- package/vscode/src/vs/workbench/services/workspaces/common/workspaceIdentityService.service.d.ts +1 -1
- package/vscode-dts/vscode.d.ts +88 -18
- package/vscode-dts/vscode.proposed.chatContextProvider.d.ts +58 -0
- package/vscode-dts/vscode.proposed.chatParticipantAdditions.d.ts +27 -4
- package/vscode-dts/vscode.proposed.chatParticipantPrivate.d.ts +24 -2
- package/vscode-dts/vscode.proposed.chatSessionsProvider.d.ts +103 -21
- package/vscode-dts/{vscode.proposed.idToken.d.ts → vscode.proposed.contribSourceControlArtifactGroupMenu.d.ts} +2 -11
- package/vscode-dts/{vscode.proposed.contribSecondarySidebar.d.ts → vscode.proposed.contribSourceControlArtifactMenu.d.ts} +2 -1
- package/vscode-dts/vscode.proposed.d.ts +10 -3
- package/vscode-dts/vscode.proposed.dataChannels.d.ts +1 -1
- package/vscode-dts/vscode.proposed.inlineCompletionsAdditions.d.ts +32 -21
- package/vscode-dts/vscode.proposed.languageModelProxy.d.ts +31 -0
- package/vscode-dts/vscode.proposed.languageModelThinkingPart.d.ts +62 -0
- package/vscode-dts/vscode.proposed.markdownAlertSyntax.d.ts +29 -0
- package/vscode-dts/vscode.proposed.mcpToolDefinitions.d.ts +89 -0
- package/vscode-dts/vscode.proposed.notebookKernelSource.d.ts +1 -1
- package/vscode-dts/vscode.proposed.notebookVariableProvider.d.ts +1 -1
- package/vscode-dts/vscode.proposed.quickInputButtonLocation.d.ts +14 -1
- package/vscode-dts/vscode.proposed.quickPickItemResource.d.ts +21 -0
- package/vscode-dts/vscode.proposed.quickPickPrompt.d.ts +25 -0
- package/vscode-dts/vscode.proposed.resolvers.d.ts +4 -4
- package/vscode-dts/vscode.proposed.scmArtifactProvider.d.ts +32 -0
- package/vscode-dts/vscode.proposed.scmHistoryProvider.d.ts +3 -2
- package/vscode-dts/vscode.proposed.terminalCompletionProvider.d.ts +142 -63
- package/vscode-dts/vscode.proposed.textSearchProvider2.d.ts +3 -3
- package/vscode-dts/vscode.proposed.timeline.d.ts +1 -1
- package/vscode-dts/vscode.proposed.treeItemMarkdownLabel.d.ts +23 -0
- package/vscode-dts/vscode.proposed.tunnels.d.ts +1 -1
- package/vscode/src/vs/editor/browser/widget/markdownRenderer/browser/markdownRenderer.d.ts +0 -29
- package/vscode/src/vs/editor/browser/widget/markdownRenderer/browser/markdownRenderer.js +0 -97
- package/vscode/src/vs/workbench/contrib/contextmenu/browser/contextmenu.contribution.d.ts +0 -1
- package/vscode/src/vs/workbench/contrib/contextmenu/browser/contextmenu.contribution.js +0 -23
- package/vscode/src/vs/workbench/contrib/inlineChat/browser/inlineChatSessionService.d.ts +0 -23
- package/vscode/src/vs/workbench/contrib/scm/common/history.d.ts +0 -102
- package/vscode-dts/vscode.proposed.languageModelDataPart.d.ts +0 -164
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import { Action2 } from "../../../../../platform/actions/common/actions.js";
|
|
2
2
|
import { ICodeEditor } from "../../../../browser/editorBrowser.js";
|
|
3
|
-
import { EditorAction,
|
|
3
|
+
import { EditorAction, ServicesAccessor } from "../../../../browser/editorExtensions.js";
|
|
4
|
+
import { InlineCompletionsProvider } from "../../../../common/languages.js";
|
|
4
5
|
export declare class ShowNextInlineSuggestionAction extends EditorAction {
|
|
5
6
|
static ID: string;
|
|
6
7
|
constructor();
|
|
@@ -11,19 +12,11 @@ export declare class ShowPreviousInlineSuggestionAction extends EditorAction {
|
|
|
11
12
|
constructor();
|
|
12
13
|
run(accessor: ServicesAccessor, editor: ICodeEditor): Promise<void>;
|
|
13
14
|
}
|
|
15
|
+
export declare const providerIdSchemaUri = "vscode://schemas/inlineCompletionProviderIdArgs";
|
|
16
|
+
export declare function inlineCompletionProviderGetMatcher(provider: InlineCompletionsProvider): string[];
|
|
14
17
|
export declare class TriggerInlineSuggestionAction extends EditorAction {
|
|
15
18
|
constructor();
|
|
16
|
-
run(accessor: ServicesAccessor, editor: ICodeEditor): Promise<void>;
|
|
17
|
-
}
|
|
18
|
-
export declare class ExplicitTriggerInlineEditAction extends EditorAction {
|
|
19
|
-
constructor();
|
|
20
|
-
run(accessor: ServicesAccessor, editor: ICodeEditor): Promise<void>;
|
|
21
|
-
}
|
|
22
|
-
export declare class TriggerInlineEditAction extends EditorCommand {
|
|
23
|
-
constructor();
|
|
24
|
-
runEditorCommand(accessor: ServicesAccessor, editor: ICodeEditor, args: {
|
|
25
|
-
triggerKind?: "automatic" | "explicit";
|
|
26
|
-
}): Promise<void>;
|
|
19
|
+
run(accessor: ServicesAccessor, editor: ICodeEditor, args: unknown): Promise<void>;
|
|
27
20
|
}
|
|
28
21
|
export declare class AcceptNextWordOfInlineCompletion extends EditorAction {
|
|
29
22
|
constructor();
|
|
@@ -2,6 +2,7 @@
|
|
|
2
2
|
import { KeyMod as KeyMod$1, KeyCode } from '../../../../../base/common/keyCodes.js';
|
|
3
3
|
import '../../../../../base/common/observableInternal/index.js';
|
|
4
4
|
import { splitLines } from '../../../../../base/common/strings.js';
|
|
5
|
+
import { vUnion, vObj, vOptionalProp, vBoolean, vWithJsonSchemaRef, vString, vUndefined } from '../../../../../base/common/validation.js';
|
|
5
6
|
import { localize2, localize } from '../../../../../nls.js';
|
|
6
7
|
import { CONTEXT_ACCESSIBILITY_MODE_ENABLED } from '../../../../../platform/accessibility/common/accessibility.js';
|
|
7
8
|
import { MenuId, Action2 } from '../../../../../platform/actions/common/actions.js';
|
|
@@ -11,8 +12,9 @@ import { ContextKeyExpr } from '../../../../../platform/contextkey/common/contex
|
|
|
11
12
|
import { KeybindingWeight, KeybindingsRegistry } from '../../../../../platform/keybinding/common/keybindingsRegistry.js';
|
|
12
13
|
import '../../../../../platform/notification/common/notification.js';
|
|
13
14
|
import { INotificationService } from '../../../../../platform/notification/common/notification.service.js';
|
|
14
|
-
import { EditorAction
|
|
15
|
+
import { EditorAction } from '../../../../browser/editorExtensions.js';
|
|
15
16
|
import { EditorContextKeys } from '../../../../common/editorContextKeys.js';
|
|
17
|
+
import { ILanguageFeaturesService } from '../../../../common/services/languageFeatures.service.js';
|
|
16
18
|
import { Context } from '../../../suggest/browser/suggest.js';
|
|
17
19
|
import { showNextInlineSuggestionActionId, showPreviousInlineSuggestionActionId, inlineSuggestCommitId, jumpToNextInlineEditId, hideInlineCompletionId, toggleShowCollapsedId } from './commandIds.js';
|
|
18
20
|
import { InlineCompletionContextKeys } from './inlineCompletionContextKeys.js';
|
|
@@ -25,7 +27,7 @@ class ShowNextInlineSuggestionAction extends EditorAction {
|
|
|
25
27
|
constructor() {
|
|
26
28
|
super({
|
|
27
29
|
id: ShowNextInlineSuggestionAction.ID,
|
|
28
|
-
label: ( localize2(
|
|
30
|
+
label: ( localize2(1264, "Show Next Inline Suggestion")),
|
|
29
31
|
precondition: ( ContextKeyExpr.and(
|
|
30
32
|
EditorContextKeys.writable,
|
|
31
33
|
InlineCompletionContextKeys.inlineSuggestionVisible
|
|
@@ -46,7 +48,7 @@ class ShowPreviousInlineSuggestionAction extends EditorAction {
|
|
|
46
48
|
constructor() {
|
|
47
49
|
super({
|
|
48
50
|
id: ShowPreviousInlineSuggestionAction.ID,
|
|
49
|
-
label: ( localize2(
|
|
51
|
+
label: ( localize2(1265, "Show Previous Inline Suggestion")),
|
|
50
52
|
precondition: ( ContextKeyExpr.and(
|
|
51
53
|
EditorContextKeys.writable,
|
|
52
54
|
InlineCompletionContextKeys.inlineSuggestionVisible
|
|
@@ -62,59 +64,68 @@ class ShowPreviousInlineSuggestionAction extends EditorAction {
|
|
|
62
64
|
controller?.model.get()?.previous();
|
|
63
65
|
}
|
|
64
66
|
}
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
});
|
|
72
|
-
}
|
|
73
|
-
async run(accessor, editor) {
|
|
74
|
-
const controller = InlineCompletionsController.get(editor);
|
|
75
|
-
await asyncTransaction(async (tx) => {
|
|
76
|
-
await controller?.model.get()?.triggerExplicitly(tx);
|
|
77
|
-
controller?.playAccessibilitySignal(tx);
|
|
78
|
-
});
|
|
67
|
+
const providerIdSchemaUri = 'vscode://schemas/inlineCompletionProviderIdArgs';
|
|
68
|
+
function inlineCompletionProviderGetMatcher(provider) {
|
|
69
|
+
const result = [];
|
|
70
|
+
if (provider.providerId) {
|
|
71
|
+
result.push(provider.providerId.toStringWithoutVersion());
|
|
72
|
+
result.push(provider.providerId.extensionId + ':*');
|
|
79
73
|
}
|
|
74
|
+
return result;
|
|
80
75
|
}
|
|
81
|
-
|
|
76
|
+
const argsValidator = vUnion(vObj({
|
|
77
|
+
showNoResultNotification: vOptionalProp(vBoolean()),
|
|
78
|
+
providerId: vOptionalProp(vWithJsonSchemaRef(providerIdSchemaUri, vString())),
|
|
79
|
+
explicit: vOptionalProp(vBoolean()),
|
|
80
|
+
}), vUndefined());
|
|
81
|
+
class TriggerInlineSuggestionAction extends EditorAction {
|
|
82
82
|
constructor() {
|
|
83
83
|
super({
|
|
84
|
-
id: 'editor.action.inlineSuggest.
|
|
85
|
-
label: ( localize2(1266, "Trigger
|
|
84
|
+
id: 'editor.action.inlineSuggest.trigger',
|
|
85
|
+
label: ( localize2(1266, "Trigger Inline Suggestion")),
|
|
86
86
|
precondition: EditorContextKeys.writable,
|
|
87
|
+
metadata: {
|
|
88
|
+
description: ( localize(1267, "Triggers an inline suggestion in the editor.")),
|
|
89
|
+
args: [{
|
|
90
|
+
name: 'args',
|
|
91
|
+
description: ( localize(1268, "Options for triggering inline suggestions.")),
|
|
92
|
+
isOptional: true,
|
|
93
|
+
schema: argsValidator.getJSONSchema(),
|
|
94
|
+
}]
|
|
95
|
+
}
|
|
87
96
|
});
|
|
88
97
|
}
|
|
89
|
-
async run(accessor, editor) {
|
|
98
|
+
async run(accessor, editor, args) {
|
|
90
99
|
const notificationService = accessor.get(INotificationService);
|
|
100
|
+
const languageFeaturesService = accessor.get(ILanguageFeaturesService);
|
|
91
101
|
const controller = InlineCompletionsController.get(editor);
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
102
|
+
const validatedArgs = argsValidator.validateOrThrow(args);
|
|
103
|
+
const provider = validatedArgs?.providerId ?
|
|
104
|
+
languageFeaturesService.inlineCompletionsProvider.all(editor.getModel())
|
|
105
|
+
.find(p => ( inlineCompletionProviderGetMatcher(p).some(m => m === validatedArgs.providerId)))
|
|
106
|
+
: undefined;
|
|
107
|
+
await asyncTransaction(async (tx) => {
|
|
108
|
+
await controller?.model.get()?.trigger(tx, {
|
|
109
|
+
provider: provider,
|
|
110
|
+
explicit: validatedArgs?.explicit ?? true,
|
|
97
111
|
});
|
|
98
|
-
|
|
99
|
-
}
|
|
100
|
-
}
|
|
101
|
-
class TriggerInlineEditAction extends EditorCommand {
|
|
102
|
-
constructor() {
|
|
103
|
-
super({
|
|
104
|
-
id: 'editor.action.inlineSuggest.triggerInlineEdit',
|
|
105
|
-
precondition: EditorContextKeys.writable,
|
|
112
|
+
controller?.playAccessibilitySignal(tx);
|
|
106
113
|
});
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
114
|
+
if (validatedArgs?.showNoResultNotification) {
|
|
115
|
+
if (!controller?.model.get()?.state.get()) {
|
|
116
|
+
notificationService.notify({
|
|
117
|
+
severity: Severity$1.Info,
|
|
118
|
+
message: ( localize(1269, "No inline suggestion is available."))
|
|
119
|
+
});
|
|
120
|
+
}
|
|
121
|
+
}
|
|
111
122
|
}
|
|
112
123
|
}
|
|
113
124
|
class AcceptNextWordOfInlineCompletion extends EditorAction {
|
|
114
125
|
constructor() {
|
|
115
126
|
super({
|
|
116
127
|
id: 'editor.action.inlineSuggest.acceptNextWord',
|
|
117
|
-
label: ( localize2(
|
|
128
|
+
label: ( localize2(1270, "Accept Next Word Of Inline Suggestion")),
|
|
118
129
|
precondition: ( ContextKeyExpr.and(
|
|
119
130
|
EditorContextKeys.writable,
|
|
120
131
|
InlineCompletionContextKeys.inlineSuggestionVisible
|
|
@@ -131,7 +142,7 @@ class AcceptNextWordOfInlineCompletion extends EditorAction {
|
|
|
131
142
|
},
|
|
132
143
|
menuOpts: [{
|
|
133
144
|
menuId: MenuId.InlineSuggestionToolbar,
|
|
134
|
-
title: ( localize(
|
|
145
|
+
title: ( localize(1271, 'Accept Word')),
|
|
135
146
|
group: 'primary',
|
|
136
147
|
order: 2,
|
|
137
148
|
}],
|
|
@@ -146,7 +157,7 @@ class AcceptNextLineOfInlineCompletion extends EditorAction {
|
|
|
146
157
|
constructor() {
|
|
147
158
|
super({
|
|
148
159
|
id: 'editor.action.inlineSuggest.acceptNextLine',
|
|
149
|
-
label: ( localize2(
|
|
160
|
+
label: ( localize2(1272, "Accept Next Line Of Inline Suggestion")),
|
|
150
161
|
precondition: ( ContextKeyExpr.and(
|
|
151
162
|
EditorContextKeys.writable,
|
|
152
163
|
InlineCompletionContextKeys.inlineSuggestionVisible
|
|
@@ -156,7 +167,7 @@ class AcceptNextLineOfInlineCompletion extends EditorAction {
|
|
|
156
167
|
},
|
|
157
168
|
menuOpts: [{
|
|
158
169
|
menuId: MenuId.InlineSuggestionToolbar,
|
|
159
|
-
title: ( localize(
|
|
170
|
+
title: ( localize(1273, 'Accept Line')),
|
|
160
171
|
group: 'secondary',
|
|
161
172
|
order: 2,
|
|
162
173
|
}],
|
|
@@ -171,19 +182,19 @@ class AcceptInlineCompletion extends EditorAction {
|
|
|
171
182
|
constructor() {
|
|
172
183
|
super({
|
|
173
184
|
id: inlineSuggestCommitId,
|
|
174
|
-
label: ( localize2(
|
|
185
|
+
label: ( localize2(1274, "Accept Inline Suggestion")),
|
|
175
186
|
precondition: ( ContextKeyExpr.or(
|
|
176
187
|
InlineCompletionContextKeys.inlineSuggestionVisible,
|
|
177
188
|
InlineCompletionContextKeys.inlineEditVisible
|
|
178
189
|
)),
|
|
179
190
|
menuOpts: [{
|
|
180
191
|
menuId: MenuId.InlineSuggestionToolbar,
|
|
181
|
-
title: ( localize(
|
|
192
|
+
title: ( localize(1275, "Accept")),
|
|
182
193
|
group: 'primary',
|
|
183
194
|
order: 2,
|
|
184
195
|
}, {
|
|
185
196
|
menuId: MenuId.InlineEditsActions,
|
|
186
|
-
title: ( localize(
|
|
197
|
+
title: ( localize(1275, "Accept")),
|
|
187
198
|
group: 'primary',
|
|
188
199
|
order: 2,
|
|
189
200
|
}],
|
|
@@ -214,11 +225,11 @@ class JumpToNextInlineEdit extends EditorAction {
|
|
|
214
225
|
constructor() {
|
|
215
226
|
super({
|
|
216
227
|
id: jumpToNextInlineEditId,
|
|
217
|
-
label: ( localize2(
|
|
228
|
+
label: ( localize2(1276, "Jump to next inline edit")),
|
|
218
229
|
precondition: InlineCompletionContextKeys.inlineEditVisible,
|
|
219
230
|
menuOpts: [{
|
|
220
231
|
menuId: MenuId.InlineEditsActions,
|
|
221
|
-
title: ( localize(
|
|
232
|
+
title: ( localize(1277, "Jump")),
|
|
222
233
|
group: 'primary',
|
|
223
234
|
order: 1,
|
|
224
235
|
when: ( InlineCompletionContextKeys.cursorAtInlineEdit.toNegated()),
|
|
@@ -242,7 +253,7 @@ class HideInlineCompletion extends EditorAction {
|
|
|
242
253
|
constructor() {
|
|
243
254
|
super({
|
|
244
255
|
id: HideInlineCompletion.ID,
|
|
245
|
-
label: ( localize2(
|
|
256
|
+
label: ( localize2(1278, "Hide Inline Suggestion")),
|
|
246
257
|
precondition: ( ContextKeyExpr.or(
|
|
247
258
|
InlineCompletionContextKeys.inlineSuggestionVisible,
|
|
248
259
|
InlineCompletionContextKeys.inlineEditVisible
|
|
@@ -253,7 +264,7 @@ class HideInlineCompletion extends EditorAction {
|
|
|
253
264
|
},
|
|
254
265
|
menuOpts: [{
|
|
255
266
|
menuId: MenuId.InlineEditsActions,
|
|
256
|
-
title: ( localize(
|
|
267
|
+
title: ( localize(1279, "Reject")),
|
|
257
268
|
group: 'primary',
|
|
258
269
|
order: 3,
|
|
259
270
|
}]
|
|
@@ -272,7 +283,7 @@ class ToggleInlineCompletionShowCollapsed extends EditorAction {
|
|
|
272
283
|
constructor() {
|
|
273
284
|
super({
|
|
274
285
|
id: ToggleInlineCompletionShowCollapsed.ID,
|
|
275
|
-
label: ( localize2(
|
|
286
|
+
label: ( localize2(1280, "Toggle Inline Suggestions Show Collapsed")),
|
|
276
287
|
precondition: ContextKeyExpr.true(),
|
|
277
288
|
});
|
|
278
289
|
}
|
|
@@ -294,7 +305,7 @@ class ToggleAlwaysShowInlineSuggestionToolbar extends Action2 {
|
|
|
294
305
|
constructor() {
|
|
295
306
|
super({
|
|
296
307
|
id: ToggleAlwaysShowInlineSuggestionToolbar.ID,
|
|
297
|
-
title: ( localize(
|
|
308
|
+
title: ( localize(1281, "Always Show Toolbar")),
|
|
298
309
|
f1: false,
|
|
299
310
|
precondition: undefined,
|
|
300
311
|
menu: [{
|
|
@@ -316,7 +327,7 @@ class DevExtractReproSample extends EditorAction {
|
|
|
316
327
|
constructor() {
|
|
317
328
|
super({
|
|
318
329
|
id: 'editor.action.inlineSuggest.dev.extractRepro',
|
|
319
|
-
label: ( localize(
|
|
330
|
+
label: ( localize(1282, "Developer: Extract Inline Suggest State")),
|
|
320
331
|
alias: 'Developer: Inline Suggest Extract Repro',
|
|
321
332
|
precondition: ( ContextKeyExpr.or(
|
|
322
333
|
InlineCompletionContextKeys.inlineEditVisible,
|
|
@@ -340,4 +351,4 @@ class DevExtractReproSample extends EditorAction {
|
|
|
340
351
|
}
|
|
341
352
|
}
|
|
342
353
|
|
|
343
|
-
export { AcceptInlineCompletion, AcceptNextLineOfInlineCompletion, AcceptNextWordOfInlineCompletion, DevExtractReproSample,
|
|
354
|
+
export { AcceptInlineCompletion, AcceptNextLineOfInlineCompletion, AcceptNextWordOfInlineCompletion, DevExtractReproSample, HideInlineCompletion, JumpToNextInlineEdit, ShowNextInlineSuggestionAction, ShowPreviousInlineSuggestionAction, ToggleAlwaysShowInlineSuggestionToolbar, ToggleInlineCompletionShowCollapsed, TriggerInlineSuggestionAction, inlineCompletionProviderGetMatcher, providerIdSchemaUri };
|
|
@@ -3,24 +3,24 @@ import { RawContextKey } from '../../../../../platform/contextkey/common/context
|
|
|
3
3
|
import { localize } from '../../../../../nls.js';
|
|
4
4
|
|
|
5
5
|
class InlineCompletionContextKeys {
|
|
6
|
-
static { this.inlineSuggestionVisible = ( new RawContextKey('inlineSuggestionVisible', false, ( localize(
|
|
7
|
-
static { this.inlineSuggestionHasIndentation = ( new RawContextKey('inlineSuggestionHasIndentation', false, ( localize(
|
|
6
|
+
static { this.inlineSuggestionVisible = ( new RawContextKey('inlineSuggestionVisible', false, ( localize(1283, "Whether an inline suggestion is visible")))); }
|
|
7
|
+
static { this.inlineSuggestionHasIndentation = ( new RawContextKey('inlineSuggestionHasIndentation', false, ( localize(1284, "Whether the inline suggestion starts with whitespace")))); }
|
|
8
8
|
static { this.inlineSuggestionHasIndentationLessThanTabSize = ( new RawContextKey('inlineSuggestionHasIndentationLessThanTabSize', true, ( localize(
|
|
9
|
-
|
|
9
|
+
1285,
|
|
10
10
|
"Whether the inline suggestion starts with whitespace that is less than what would be inserted by tab"
|
|
11
11
|
)))); }
|
|
12
12
|
static { this.suppressSuggestions = ( new RawContextKey('inlineSuggestionSuppressSuggestions', undefined, ( localize(
|
|
13
|
-
|
|
13
|
+
1286,
|
|
14
14
|
"Whether suggestions should be suppressed for the current suggestion"
|
|
15
15
|
)))); }
|
|
16
|
-
static { this.cursorBeforeGhostText = ( new RawContextKey('cursorBeforeGhostText', false, ( localize(
|
|
17
|
-
static { this.cursorInIndentation = ( new RawContextKey('cursorInIndentation', false, ( localize(
|
|
18
|
-
static { this.hasSelection = ( new RawContextKey('editor.hasSelection', false, ( localize(
|
|
19
|
-
static { this.cursorAtInlineEdit = ( new RawContextKey('cursorAtInlineEdit', false, ( localize(
|
|
20
|
-
static { this.inlineEditVisible = ( new RawContextKey('inlineEditIsVisible', false, ( localize(
|
|
21
|
-
static { this.tabShouldJumpToInlineEdit = ( new RawContextKey('tabShouldJumpToInlineEdit', false, ( localize(
|
|
22
|
-
static { this.tabShouldAcceptInlineEdit = ( new RawContextKey('tabShouldAcceptInlineEdit', false, ( localize(
|
|
23
|
-
static { this.inInlineEditsPreviewEditor = ( new RawContextKey('inInlineEditsPreviewEditor', true, ( localize(
|
|
16
|
+
static { this.cursorBeforeGhostText = ( new RawContextKey('cursorBeforeGhostText', false, ( localize(1287, "Whether the cursor is at ghost text")))); }
|
|
17
|
+
static { this.cursorInIndentation = ( new RawContextKey('cursorInIndentation', false, ( localize(1288, "Whether the cursor is in indentation")))); }
|
|
18
|
+
static { this.hasSelection = ( new RawContextKey('editor.hasSelection', false, ( localize(1289, "Whether the editor has a selection")))); }
|
|
19
|
+
static { this.cursorAtInlineEdit = ( new RawContextKey('cursorAtInlineEdit', false, ( localize(1290, "Whether the cursor is at an inline edit")))); }
|
|
20
|
+
static { this.inlineEditVisible = ( new RawContextKey('inlineEditIsVisible', false, ( localize(1291, "Whether an inline edit is visible")))); }
|
|
21
|
+
static { this.tabShouldJumpToInlineEdit = ( new RawContextKey('tabShouldJumpToInlineEdit', false, ( localize(1292, "Whether tab should jump to an inline edit.")))); }
|
|
22
|
+
static { this.tabShouldAcceptInlineEdit = ( new RawContextKey('tabShouldAcceptInlineEdit', false, ( localize(1293, "Whether tab should accept the inline edit.")))); }
|
|
23
|
+
static { this.inInlineEditsPreviewEditor = ( new RawContextKey('inInlineEditsPreviewEditor', true, ( localize(1294, "Whether the current code editor is showing an inline edits preview")))); }
|
|
24
24
|
}
|
|
25
25
|
|
|
26
26
|
export { InlineCompletionContextKeys };
|
|
@@ -20,12 +20,15 @@ import { IKeybindingService } from '../../../../../platform/keybinding/common/ke
|
|
|
20
20
|
import { hotClassGetOriginalInstance } from '../../../../../platform/observable/common/wrapInHotClass.js';
|
|
21
21
|
import { CoreEditingCommands } from '../../../../browser/coreCommands.js';
|
|
22
22
|
import { observableCodeEditor } from '../../../../browser/observableCodeEditor.js';
|
|
23
|
+
import { TriggerInlineEditCommandsRegistry } from '../../../../browser/triggerInlineEditCommandsRegistry.js';
|
|
23
24
|
import { getOuterEditor } from '../../../../browser/widget/codeEditor/embeddedCodeEditorWidget.js';
|
|
24
25
|
import { EditorOption } from '../../../../common/config/editorOptions.js';
|
|
25
26
|
import { Position } from '../../../../common/core/position.js';
|
|
26
27
|
import { CursorChangeReason } from '../../../../common/cursorEvents.js';
|
|
27
28
|
import { ILanguageFeatureDebounceService } from '../../../../common/services/languageFeatureDebounce.service.js';
|
|
28
29
|
import { ILanguageFeaturesService } from '../../../../common/services/languageFeatures.service.js';
|
|
30
|
+
import { FIND_IDS } from '../../../find/browser/findModel.js';
|
|
31
|
+
import { InsertLineAfterAction, InsertLineBeforeAction } from '../../../linesOperations/browser/linesOperations.js';
|
|
29
32
|
import { InlineSuggestionHintsContentWidget } from '../hintsWidget/inlineCompletionsHintsWidget.js';
|
|
30
33
|
import { TextModelChangeRecorder } from '../model/changeRecorder.js';
|
|
31
34
|
import { InlineCompletionsModel } from '../model/inlineCompletionsModel.js';
|
|
@@ -48,7 +51,7 @@ var InlineCompletionsController_1;
|
|
|
48
51
|
let InlineCompletionsController = class InlineCompletionsController extends Disposable {
|
|
49
52
|
static { InlineCompletionsController_1 = this; }
|
|
50
53
|
static { this._instances = ( new Set()); }
|
|
51
|
-
static { this.hot = createHotClass(
|
|
54
|
+
static { this.hot = createHotClass(this); }
|
|
52
55
|
static { this.ID = 'editor.contrib.inlineCompletionsController'; }
|
|
53
56
|
static getInFocusedEditorOrParent(accessor) {
|
|
54
57
|
const outerEditor = getOuterEditor(accessor);
|
|
@@ -172,15 +175,19 @@ let InlineCompletionsController = class InlineCompletionsController extends Disp
|
|
|
172
175
|
this.model.get()?.trigger();
|
|
173
176
|
}
|
|
174
177
|
}));
|
|
178
|
+
const triggerCommands = ( new Set([
|
|
179
|
+
CoreEditingCommands.Tab.id,
|
|
180
|
+
CoreEditingCommands.DeleteLeft.id,
|
|
181
|
+
CoreEditingCommands.DeleteRight.id,
|
|
182
|
+
inlineSuggestCommitId,
|
|
183
|
+
'acceptSelectedSuggestion',
|
|
184
|
+
InsertLineAfterAction.ID,
|
|
185
|
+
InsertLineBeforeAction.ID,
|
|
186
|
+
FIND_IDS.NextMatchFindAction,
|
|
187
|
+
...TriggerInlineEditCommandsRegistry.getRegisteredCommands(),
|
|
188
|
+
]));
|
|
175
189
|
this._register(this._commandService.onDidExecuteCommand((e) => {
|
|
176
|
-
|
|
177
|
-
CoreEditingCommands.Tab.id,
|
|
178
|
-
CoreEditingCommands.DeleteLeft.id,
|
|
179
|
-
CoreEditingCommands.DeleteRight.id,
|
|
180
|
-
inlineSuggestCommitId,
|
|
181
|
-
'acceptSelectedSuggestion',
|
|
182
|
-
]));
|
|
183
|
-
if (( commands.has(e.commandId)) && editor.hasTextFocus() && this._enabled.get()) {
|
|
190
|
+
if (( triggerCommands.has(e.commandId)) && editor.hasTextFocus() && this._enabled.get()) {
|
|
184
191
|
let noDelay = false;
|
|
185
192
|
if (e.commandId === inlineSuggestCommitId) {
|
|
186
193
|
noDelay = true;
|
|
@@ -345,7 +352,7 @@ let InlineCompletionsController = class InlineCompletionsController extends Disp
|
|
|
345
352
|
let hint;
|
|
346
353
|
if (!accessibleViewShowing && accessibleViewKeybinding && this.editor.getOption(EditorOption.inlineCompletionsAccessibilityVerbose)) {
|
|
347
354
|
hint = ( localize(
|
|
348
|
-
|
|
355
|
+
1295,
|
|
349
356
|
"Inspect this in the accessible view ({0})",
|
|
350
357
|
accessibleViewKeybinding.getAriaLabel()
|
|
351
358
|
));
|
package/vscode/src/vs/editor/contrib/inlineCompletions/browser/hintsWidget/hoverParticipant.d.ts
CHANGED
|
@@ -1,12 +1,11 @@
|
|
|
1
1
|
import { ICodeEditor, IEditorMouseEvent } from "../../../../browser/editorBrowser.js";
|
|
2
2
|
import { Range } from "../../../../common/core/range.js";
|
|
3
|
-
import { ILanguageService } from "../../../../common/languages/language.service.js";
|
|
4
3
|
import { IModelDecoration } from "../../../../common/model.js";
|
|
5
4
|
import { HoverAnchor, IEditorHoverParticipant, IEditorHoverRenderContext, IHoverPart, IRenderedHoverParts } from "../../../hover/browser/hoverTypes.js";
|
|
6
5
|
import { InlineCompletionsController } from "../controller/inlineCompletionsController.js";
|
|
6
|
+
import { IMarkdownRendererService } from "../../../../../platform/markdown/browser/markdownRenderer.service.js";
|
|
7
7
|
import { IAccessibilityService } from "../../../../../platform/accessibility/common/accessibility.service.js";
|
|
8
8
|
import { IInstantiationService } from "../../../../../platform/instantiation/common/instantiation.js";
|
|
9
|
-
import { IOpenerService } from "../../../../../platform/opener/common/opener.service.js";
|
|
10
9
|
import { ITelemetryService } from "../../../../../platform/telemetry/common/telemetry.service.js";
|
|
11
10
|
export declare class InlineCompletionsHover implements IHoverPart {
|
|
12
11
|
readonly owner: IEditorHoverParticipant<InlineCompletionsHover>;
|
|
@@ -17,13 +16,12 @@ export declare class InlineCompletionsHover implements IHoverPart {
|
|
|
17
16
|
}
|
|
18
17
|
export declare class InlineCompletionsHoverParticipant implements IEditorHoverParticipant<InlineCompletionsHover> {
|
|
19
18
|
private readonly _editor;
|
|
20
|
-
private readonly _languageService;
|
|
21
|
-
private readonly _openerService;
|
|
22
19
|
private readonly accessibilityService;
|
|
23
20
|
private readonly _instantiationService;
|
|
24
21
|
private readonly _telemetryService;
|
|
22
|
+
private readonly _markdownRendererService;
|
|
25
23
|
readonly hoverOrdinal: number;
|
|
26
|
-
constructor(_editor: ICodeEditor,
|
|
24
|
+
constructor(_editor: ICodeEditor, accessibilityService: IAccessibilityService, _instantiationService: IInstantiationService, _telemetryService: ITelemetryService, _markdownRendererService: IMarkdownRendererService);
|
|
27
25
|
suggestHoverAnchor(mouseEvent: IEditorMouseEvent): HoverAnchor | null;
|
|
28
26
|
computeSync(anchor: HoverAnchor, lineDecorations: IModelDecoration[]): InlineCompletionsHover[];
|
|
29
27
|
renderHoverParts(context: IEditorHoverRenderContext, hoverParts: InlineCompletionsHover[]): IRenderedHoverParts<InlineCompletionsHover>;
|
package/vscode/src/vs/editor/contrib/inlineCompletions/browser/hintsWidget/hoverParticipant.js
CHANGED
|
@@ -7,15 +7,13 @@ import '../../../../../base/common/observableInternal/index.js';
|
|
|
7
7
|
import { MouseTargetType } from '../../../../browser/editorBrowser.js';
|
|
8
8
|
import { EditorOption } from '../../../../common/config/editorOptions.js';
|
|
9
9
|
import { Range } from '../../../../common/core/range.js';
|
|
10
|
-
import { ILanguageService } from '../../../../common/languages/language.service.js';
|
|
11
10
|
import { HoverAnchorType, HoverForeignElementAnchor, RenderedHoverParts } from '../../../hover/browser/hoverTypes.js';
|
|
12
11
|
import { InlineCompletionsController } from '../controller/inlineCompletionsController.js';
|
|
13
12
|
import { InlineSuggestionHintsContentWidget } from './inlineCompletionsHintsWidget.js';
|
|
14
|
-
import {
|
|
13
|
+
import { IMarkdownRendererService } from '../../../../../platform/markdown/browser/markdownRenderer.service.js';
|
|
15
14
|
import { localize } from '../../../../../nls.js';
|
|
16
15
|
import { IAccessibilityService } from '../../../../../platform/accessibility/common/accessibility.service.js';
|
|
17
16
|
import { IInstantiationService } from '../../../../../platform/instantiation/common/instantiation.js';
|
|
18
|
-
import { IOpenerService } from '../../../../../platform/opener/common/opener.service.js';
|
|
19
17
|
import { ITelemetryService } from '../../../../../platform/telemetry/common/telemetry.service.js';
|
|
20
18
|
import { GhostTextView } from '../view/ghostText/ghostTextView.js';
|
|
21
19
|
import { autorunWithStore, autorun } from '../../../../../base/common/observableInternal/reactions/autorun.js';
|
|
@@ -34,13 +32,12 @@ class InlineCompletionsHover {
|
|
|
34
32
|
}
|
|
35
33
|
}
|
|
36
34
|
let InlineCompletionsHoverParticipant = class InlineCompletionsHoverParticipant {
|
|
37
|
-
constructor(_editor,
|
|
35
|
+
constructor(_editor, accessibilityService, _instantiationService, _telemetryService, _markdownRendererService) {
|
|
38
36
|
this._editor = _editor;
|
|
39
|
-
this._languageService = _languageService;
|
|
40
|
-
this._openerService = _openerService;
|
|
41
37
|
this.accessibilityService = accessibilityService;
|
|
42
38
|
this._instantiationService = _instantiationService;
|
|
43
39
|
this._telemetryService = _telemetryService;
|
|
40
|
+
this._markdownRendererService = _markdownRendererService;
|
|
44
41
|
this.hoverOrdinal = 4;
|
|
45
42
|
}
|
|
46
43
|
suggestHoverAnchor(mouseEvent) {
|
|
@@ -130,17 +127,17 @@ let InlineCompletionsHoverParticipant = class InlineCompletionsHoverParticipant
|
|
|
130
127
|
return ( new RenderedHoverParts([renderedHoverPart]));
|
|
131
128
|
}
|
|
132
129
|
getAccessibleContent(hoverPart) {
|
|
133
|
-
return localize(
|
|
130
|
+
return localize(1296, 'There are inline completions here');
|
|
134
131
|
}
|
|
135
132
|
renderScreenReaderText(context, part) {
|
|
136
133
|
const disposables = ( new DisposableStore());
|
|
137
134
|
const $$1 = $;
|
|
138
135
|
const markdownHoverElement = $$1('div.hover-row.markdown-hover');
|
|
139
136
|
const hoverContentsElement = append(markdownHoverElement, $$1('div.hover-contents', { ['aria-live']: 'assertive' }));
|
|
140
|
-
const renderer = ( new MarkdownRenderer({ editor: this._editor }, this._languageService, this._openerService));
|
|
141
137
|
const render = (code) => {
|
|
142
|
-
const inlineSuggestionAvailable = ( localize(
|
|
143
|
-
const renderedContents = disposables.add(
|
|
138
|
+
const inlineSuggestionAvailable = ( localize(1297, "Suggestion:"));
|
|
139
|
+
const renderedContents = disposables.add(this._markdownRendererService.render(( new MarkdownString()).appendText(inlineSuggestionAvailable).appendCodeblock('text', code), {
|
|
140
|
+
context: this._editor,
|
|
144
141
|
asyncRenderCallback: () => {
|
|
145
142
|
hoverContentsElement.className = 'hover-contents code-hover-contents';
|
|
146
143
|
context.onContentsChanged();
|
|
@@ -163,11 +160,10 @@ let InlineCompletionsHoverParticipant = class InlineCompletionsHoverParticipant
|
|
|
163
160
|
}
|
|
164
161
|
};
|
|
165
162
|
InlineCompletionsHoverParticipant = ( __decorate([
|
|
166
|
-
( __param(1,
|
|
167
|
-
( __param(2,
|
|
168
|
-
( __param(3,
|
|
169
|
-
( __param(4,
|
|
170
|
-
( __param(5, ITelemetryService))
|
|
163
|
+
( __param(1, IAccessibilityService)),
|
|
164
|
+
( __param(2, IInstantiationService)),
|
|
165
|
+
( __param(3, ITelemetryService)),
|
|
166
|
+
( __param(4, IMarkdownRendererService))
|
|
171
167
|
], InlineCompletionsHoverParticipant));
|
|
172
168
|
|
|
173
169
|
export { InlineCompletionsHover, InlineCompletionsHoverParticipant };
|
|
@@ -97,11 +97,11 @@ let InlineCompletionsHintsWidget = class InlineCompletionsHintsWidget extends Di
|
|
|
97
97
|
InlineCompletionsHintsWidget = ( __decorate([
|
|
98
98
|
( __param(2, IInstantiationService))
|
|
99
99
|
], InlineCompletionsHintsWidget));
|
|
100
|
-
const inlineSuggestionHintsNextIcon = registerIcon('inline-suggestion-hints-next', Codicon.chevronRight, ( localize(
|
|
101
|
-
const inlineSuggestionHintsPreviousIcon = registerIcon('inline-suggestion-hints-previous', Codicon.chevronLeft, ( localize(
|
|
100
|
+
const inlineSuggestionHintsNextIcon = registerIcon('inline-suggestion-hints-next', Codicon.chevronRight, ( localize(1298, 'Icon for show next parameter hint.')));
|
|
101
|
+
const inlineSuggestionHintsPreviousIcon = registerIcon('inline-suggestion-hints-previous', Codicon.chevronLeft, ( localize(1299, 'Icon for show previous parameter hint.')));
|
|
102
102
|
let InlineSuggestionHintsContentWidget = class InlineSuggestionHintsContentWidget extends Disposable {
|
|
103
103
|
static { InlineSuggestionHintsContentWidget_1 = this; }
|
|
104
|
-
static { this.hot = createHotClass(
|
|
104
|
+
static { this.hot = createHotClass(this); }
|
|
105
105
|
static { this._dropDownVisible = false; }
|
|
106
106
|
static get dropDownVisible() { return this._dropDownVisible; }
|
|
107
107
|
static { this.id = 0; }
|
|
@@ -116,7 +116,7 @@ let InlineSuggestionHintsContentWidget = class InlineSuggestionHintsContentWidge
|
|
|
116
116
|
const kb = this.keybindingService.lookupKeybinding(commandId, this._contextKeyService);
|
|
117
117
|
let tooltip = label;
|
|
118
118
|
if (kb) {
|
|
119
|
-
tooltip = ( localize(
|
|
119
|
+
tooltip = ( localize(1300, '{0} ({1})', label, kb.getLabel()));
|
|
120
120
|
}
|
|
121
121
|
action.tooltip = tooltip;
|
|
122
122
|
return action;
|
|
@@ -164,9 +164,9 @@ let InlineSuggestionHintsContentWidget = class InlineSuggestionHintsContentWidge
|
|
|
164
164
|
this._warningMessageNode.element,
|
|
165
165
|
h('div@toolBar'),
|
|
166
166
|
]);
|
|
167
|
-
this.previousAction = this._register(this.createCommandAction(showPreviousInlineSuggestionActionId, ( localize(
|
|
167
|
+
this.previousAction = this._register(this.createCommandAction(showPreviousInlineSuggestionActionId, ( localize(1301, 'Previous')), ThemeIcon.asClassName(inlineSuggestionHintsPreviousIcon)));
|
|
168
168
|
this.availableSuggestionCountAction = this._register(( new Action('inlineSuggestionHints.availableSuggestionCount', '', undefined, false)));
|
|
169
|
-
this.nextAction = this._register(this.createCommandAction(showNextInlineSuggestionActionId, ( localize(
|
|
169
|
+
this.nextAction = this._register(this.createCommandAction(showNextInlineSuggestionActionId, ( localize(1302, 'Next')), ThemeIcon.asClassName(inlineSuggestionHintsNextIcon)));
|
|
170
170
|
this.inlineCompletionsActionsMenus = this._register(this._menuService.createMenu(MenuId.InlineCompletionsActions, this._contextKeyService));
|
|
171
171
|
this.clearAvailableSuggestionCountLabelDebounced = this._register(( new RunOnceScheduler(() => {
|
|
172
172
|
this.availableSuggestionCountAction.label = '';
|
package/vscode/src/vs/editor/contrib/inlineCompletions/browser/inlineCompletions.contribution.js
CHANGED
|
@@ -2,9 +2,9 @@
|
|
|
2
2
|
import { AccessibleViewRegistry } from '../../../../platform/accessibility/browser/accessibleViewRegistry.js';
|
|
3
3
|
import { registerAction2 } from '../../../../platform/actions/common/actions.js';
|
|
4
4
|
import { wrapInHotClass1 } from '../../../../platform/observable/common/wrapInHotClass.js';
|
|
5
|
-
import { registerEditorContribution, EditorContributionInstantiation, registerEditorAction
|
|
5
|
+
import { registerEditorContribution, EditorContributionInstantiation, registerEditorAction } from '../../../browser/editorExtensions.js';
|
|
6
6
|
import { HoverParticipantRegistry } from '../../hover/browser/hoverTypes.js';
|
|
7
|
-
import { TriggerInlineSuggestionAction,
|
|
7
|
+
import { TriggerInlineSuggestionAction, ShowNextInlineSuggestionAction, ShowPreviousInlineSuggestionAction, AcceptNextWordOfInlineCompletion, AcceptNextLineOfInlineCompletion, AcceptInlineCompletion, ToggleInlineCompletionShowCollapsed, HideInlineCompletion, JumpToNextInlineEdit, ToggleAlwaysShowInlineSuggestionToolbar, DevExtractReproSample } from './controller/commands.js';
|
|
8
8
|
import { InlineCompletionsController } from './controller/inlineCompletionsController.js';
|
|
9
9
|
import { InlineCompletionsHoverParticipant } from './hintsWidget/hoverParticipant.js';
|
|
10
10
|
import { InlineCompletionsAccessibleView } from './inlineCompletionsAccessibleView.js';
|
|
@@ -12,8 +12,6 @@ import { SnoozeInlineCompletion, CancelSnoozeInlineCompletion } from '../../../b
|
|
|
12
12
|
|
|
13
13
|
registerEditorContribution(InlineCompletionsController.ID, wrapInHotClass1(InlineCompletionsController.hot), EditorContributionInstantiation.Eventually);
|
|
14
14
|
registerEditorAction(TriggerInlineSuggestionAction);
|
|
15
|
-
registerEditorAction(ExplicitTriggerInlineEditAction);
|
|
16
|
-
registerEditorCommand(( new TriggerInlineEditAction()));
|
|
17
15
|
registerEditorAction(ShowNextInlineSuggestionAction);
|
|
18
16
|
registerEditorAction(ShowPreviousInlineSuggestionAction);
|
|
19
17
|
registerEditorAction(AcceptNextWordOfInlineCompletion);
|
package/vscode/src/vs/editor/contrib/inlineCompletions/browser/model/inlineCompletionsModel.d.ts
CHANGED
|
@@ -6,7 +6,7 @@ import { IInstantiationService } from "../../../../../platform/instantiation/com
|
|
|
6
6
|
import { ICodeEditor } from "../../../../browser/editorBrowser.js";
|
|
7
7
|
import { Position } from "../../../../common/core/position.js";
|
|
8
8
|
import { TextReplacement } from "../../../../common/core/edits/textEdit.js";
|
|
9
|
-
import { InlineCompletion, InlineCompletionTriggerKind, InlineCompletionCommand } from "../../../../common/languages.js";
|
|
9
|
+
import { InlineCompletion, InlineCompletionTriggerKind, InlineCompletionsProvider, InlineCompletionCommand } from "../../../../common/languages.js";
|
|
10
10
|
import { ILanguageConfigurationService } from "../../../../common/languages/languageConfigurationRegistry.service.js";
|
|
11
11
|
import { ITextModel } from "../../../../common/model.js";
|
|
12
12
|
import { IFeatureDebounceInformation } from "../../../../common/services/languageFeatureDebounce.js";
|
|
@@ -44,6 +44,7 @@ export declare class InlineCompletionsModel extends Disposable {
|
|
|
44
44
|
private readonly _fetchSpecificProviderSignal;
|
|
45
45
|
private readonly _selectedInlineCompletionId;
|
|
46
46
|
readonly primaryPosition: IObservableWithChange<Position, void>;
|
|
47
|
+
readonly allPositions: IObservableWithChange<readonly Position[], void>;
|
|
47
48
|
private _isAcceptingPartially;
|
|
48
49
|
private readonly _appearedInsideViewport;
|
|
49
50
|
get isAcceptingPartially(): boolean;
|
|
@@ -79,6 +80,8 @@ export declare class InlineCompletionsModel extends Disposable {
|
|
|
79
80
|
trigger(tx?: ITransaction, options?: {
|
|
80
81
|
onlyFetchInlineEdits?: boolean;
|
|
81
82
|
noDelay?: boolean;
|
|
83
|
+
provider?: InlineCompletionsProvider;
|
|
84
|
+
explicit?: boolean;
|
|
82
85
|
}): Promise<void>;
|
|
83
86
|
triggerExplicitly(tx?: ITransaction, onlyFetchInlineEdits?: boolean): Promise<void>;
|
|
84
87
|
stop(stopReason?: "explicitCancel" | "automatic", tx?: ITransaction): void;
|