@codingame/monaco-vscode-api 22.1.9 → 23.0.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/extensions.d.ts +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 +16 -9
- package/vscode/src/vs/base/browser/dom.js +37 -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.d.ts +2 -3
- package/vscode/src/vs/platform/contextkey/browser/contextKeyService.js +12 -15
- 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
|
@@ -15,7 +15,6 @@ import { TrackedRangeStickiness } from '../../../common/model.js';
|
|
|
15
15
|
import { ModelDecorationOptions } from '../../../common/model/textModel.js';
|
|
16
16
|
import { UnicodeTextModelHighlighter, UnicodeHighlighterReasonKind } from '../../../common/services/unicodeTextModelHighlighter.js';
|
|
17
17
|
import { IEditorWorkerService } from '../../../common/services/editorWorker.service.js';
|
|
18
|
-
import { ILanguageService } from '../../../common/languages/language.service.js';
|
|
19
18
|
import { HoverAnchorType, HoverParticipantRegistry } from '../../hover/browser/hoverTypes.js';
|
|
20
19
|
import { MarkdownHover, renderMarkdownHovers } from '../../hover/browser/markdownHoverParticipant.js';
|
|
21
20
|
import { BannerController } from './bannerController.js';
|
|
@@ -23,16 +22,16 @@ import { localize, localize2 } from '../../../../nls.js';
|
|
|
23
22
|
import { ConfigurationTarget } from '../../../../platform/configuration/common/configuration.js';
|
|
24
23
|
import { IConfigurationService } from '../../../../platform/configuration/common/configuration.service.js';
|
|
25
24
|
import { IInstantiationService } from '../../../../platform/instantiation/common/instantiation.js';
|
|
26
|
-
import { IOpenerService } from '../../../../platform/opener/common/opener.service.js';
|
|
27
25
|
import { IQuickInputService } from '../../../../platform/quickinput/common/quickInput.service.js';
|
|
28
26
|
import { registerIcon } from '../../../../platform/theme/common/iconRegistry.js';
|
|
29
27
|
import { IWorkspaceTrustManagementService } from '../../../../platform/workspace/common/workspaceTrust.service.js';
|
|
30
28
|
import { Action2, registerAction2 } from '../../../../platform/actions/common/actions.js';
|
|
31
29
|
import { safeIntl } from '../../../../base/common/date.js';
|
|
32
30
|
import { isModelDecorationVisible, isModelDecorationInString, isModelDecorationInComment } from '../../../common/viewModel/viewModelDecoration.js';
|
|
31
|
+
import { IMarkdownRendererService } from '../../../../platform/markdown/browser/markdownRenderer.service.js';
|
|
33
32
|
|
|
34
33
|
registerCss(unicodeHighlighter);
|
|
35
|
-
const warningIcon = registerIcon('extensions-warning-message', Codicon.warning, ( localize(
|
|
34
|
+
const warningIcon = registerIcon('extensions-warning-message', Codicon.warning, ( localize(1617, 'Icon shown with a warning message in the extensions editor.')));
|
|
36
35
|
let UnicodeHighlighter = class UnicodeHighlighter extends Disposable {
|
|
37
36
|
static { this.ID = 'editor.contrib.unicodeHighlighter'; }
|
|
38
37
|
constructor(_editor, _editorWorkerService, _workspaceTrustService, instantiationService) {
|
|
@@ -51,19 +50,19 @@ let UnicodeHighlighter = class UnicodeHighlighter extends Disposable {
|
|
|
51
50
|
let data;
|
|
52
51
|
if (state.nonBasicAsciiCharacterCount >= max) {
|
|
53
52
|
data = {
|
|
54
|
-
message: ( localize(
|
|
53
|
+
message: ( localize(1618, 'This document contains many non-basic ASCII unicode characters')),
|
|
55
54
|
command: ( new DisableHighlightingOfNonBasicAsciiCharactersAction()),
|
|
56
55
|
};
|
|
57
56
|
}
|
|
58
57
|
else if (state.ambiguousCharacterCount >= max) {
|
|
59
58
|
data = {
|
|
60
|
-
message: ( localize(
|
|
59
|
+
message: ( localize(1619, 'This document contains many ambiguous unicode characters')),
|
|
61
60
|
command: ( new DisableHighlightingOfAmbiguousCharactersAction()),
|
|
62
61
|
};
|
|
63
62
|
}
|
|
64
63
|
else if (state.invisibleCharacterCount >= max) {
|
|
65
64
|
data = {
|
|
66
|
-
message: ( localize(
|
|
65
|
+
message: ( localize(1620, 'This document contains many invisible unicode characters')),
|
|
67
66
|
command: ( new DisableHighlightingOfInvisibleCharactersAction()),
|
|
68
67
|
};
|
|
69
68
|
}
|
|
@@ -330,12 +329,11 @@ class ViewportUnicodeHighlighter extends Disposable {
|
|
|
330
329
|
};
|
|
331
330
|
}
|
|
332
331
|
}
|
|
333
|
-
const configureUnicodeHighlightOptionsStr = ( localize(
|
|
332
|
+
const configureUnicodeHighlightOptionsStr = ( localize(1621, 'Configure Unicode Highlight Options'));
|
|
334
333
|
let UnicodeHighlighterHoverParticipant = class UnicodeHighlighterHoverParticipant {
|
|
335
|
-
constructor(_editor,
|
|
334
|
+
constructor(_editor, _markdownRendererService) {
|
|
336
335
|
this._editor = _editor;
|
|
337
|
-
this.
|
|
338
|
-
this._openerService = _openerService;
|
|
336
|
+
this._markdownRendererService = _markdownRendererService;
|
|
339
337
|
this.hoverOrdinal = 5;
|
|
340
338
|
}
|
|
341
339
|
computeSync(anchor, lineDecorations) {
|
|
@@ -363,7 +361,7 @@ let UnicodeHighlighterHoverParticipant = class UnicodeHighlighterHoverParticipan
|
|
|
363
361
|
case UnicodeHighlighterReasonKind.Ambiguous: {
|
|
364
362
|
if (isBasicASCII(highlightInfo.reason.confusableWith)) {
|
|
365
363
|
reason = ( localize(
|
|
366
|
-
|
|
364
|
+
1622,
|
|
367
365
|
'The character {0} could be confused with the ASCII character {1}, which is more common in source code.',
|
|
368
366
|
codePointStr,
|
|
369
367
|
formatCodePointMarkdown(highlightInfo.reason.confusableWith.codePointAt(0))
|
|
@@ -371,7 +369,7 @@ let UnicodeHighlighterHoverParticipant = class UnicodeHighlighterHoverParticipan
|
|
|
371
369
|
}
|
|
372
370
|
else {
|
|
373
371
|
reason = ( localize(
|
|
374
|
-
|
|
372
|
+
1623,
|
|
375
373
|
'The character {0} could be confused with the character {1}, which is more common in source code.',
|
|
376
374
|
codePointStr,
|
|
377
375
|
formatCodePointMarkdown(highlightInfo.reason.confusableWith.codePointAt(0))
|
|
@@ -380,10 +378,10 @@ let UnicodeHighlighterHoverParticipant = class UnicodeHighlighterHoverParticipan
|
|
|
380
378
|
break;
|
|
381
379
|
}
|
|
382
380
|
case UnicodeHighlighterReasonKind.Invisible:
|
|
383
|
-
reason = ( localize(
|
|
381
|
+
reason = ( localize(1624, 'The character {0} is invisible.', codePointStr));
|
|
384
382
|
break;
|
|
385
383
|
case UnicodeHighlighterReasonKind.NonBasicAscii:
|
|
386
|
-
reason = ( localize(
|
|
384
|
+
reason = ( localize(1625, 'The character {0} is not a basic ASCII character.', codePointStr));
|
|
387
385
|
break;
|
|
388
386
|
}
|
|
389
387
|
if (( existedReason.has(reason))) {
|
|
@@ -396,7 +394,7 @@ let UnicodeHighlighterHoverParticipant = class UnicodeHighlighterHoverParticipan
|
|
|
396
394
|
inComment: highlightInfo.inComment,
|
|
397
395
|
inString: highlightInfo.inString,
|
|
398
396
|
};
|
|
399
|
-
const adjustSettings = ( localize(
|
|
397
|
+
const adjustSettings = ( localize(1626, 'Adjust settings'));
|
|
400
398
|
const uri = createCommandUri(ShowExcludeOptions.ID, adjustSettingsArgs);
|
|
401
399
|
const markdown = ( new MarkdownString('', true))
|
|
402
400
|
.appendMarkdown(reason)
|
|
@@ -407,15 +405,14 @@ let UnicodeHighlighterHoverParticipant = class UnicodeHighlighterHoverParticipan
|
|
|
407
405
|
return result;
|
|
408
406
|
}
|
|
409
407
|
renderHoverParts(context, hoverParts) {
|
|
410
|
-
return renderMarkdownHovers(context, hoverParts, this._editor, this.
|
|
408
|
+
return renderMarkdownHovers(context, hoverParts, this._editor, this._markdownRendererService);
|
|
411
409
|
}
|
|
412
410
|
getAccessibleContent(hoverPart) {
|
|
413
411
|
return ( hoverPart.contents.map(c => c.value)).join('\n');
|
|
414
412
|
}
|
|
415
413
|
};
|
|
416
414
|
UnicodeHighlighterHoverParticipant = ( __decorate([
|
|
417
|
-
( __param(1,
|
|
418
|
-
( __param(2, IOpenerService))
|
|
415
|
+
( __param(1, IMarkdownRendererService))
|
|
419
416
|
], UnicodeHighlighterHoverParticipant));
|
|
420
417
|
function codePointToHex(codePoint) {
|
|
421
418
|
return `U+${( codePoint.toString(16)).padStart(4, '0')}`;
|
|
@@ -468,10 +465,10 @@ class DisableHighlightingInCommentsAction extends EditorAction {
|
|
|
468
465
|
constructor() {
|
|
469
466
|
super({
|
|
470
467
|
id: DisableHighlightingOfAmbiguousCharactersAction.ID,
|
|
471
|
-
label: ( localize2(
|
|
468
|
+
label: ( localize2(1627, "Disable highlighting of characters in comments")),
|
|
472
469
|
precondition: undefined
|
|
473
470
|
});
|
|
474
|
-
this.shortLabel = ( localize(
|
|
471
|
+
this.shortLabel = ( localize(1628, 'Disable Highlight In Comments'));
|
|
475
472
|
}
|
|
476
473
|
async run(accessor, editor, args) {
|
|
477
474
|
const configurationService = accessor.get(IConfigurationService);
|
|
@@ -488,10 +485,10 @@ class DisableHighlightingInStringsAction extends EditorAction {
|
|
|
488
485
|
constructor() {
|
|
489
486
|
super({
|
|
490
487
|
id: DisableHighlightingOfAmbiguousCharactersAction.ID,
|
|
491
|
-
label: ( localize2(
|
|
488
|
+
label: ( localize2(1629, "Disable highlighting of characters in strings")),
|
|
492
489
|
precondition: undefined
|
|
493
490
|
});
|
|
494
|
-
this.shortLabel = ( localize(
|
|
491
|
+
this.shortLabel = ( localize(1630, 'Disable Highlight In Strings'));
|
|
495
492
|
}
|
|
496
493
|
async run(accessor, editor, args) {
|
|
497
494
|
const configurationService = accessor.get(IConfigurationService);
|
|
@@ -508,11 +505,11 @@ class DisableHighlightingOfAmbiguousCharactersAction extends Action2 {
|
|
|
508
505
|
constructor() {
|
|
509
506
|
super({
|
|
510
507
|
id: DisableHighlightingOfAmbiguousCharactersAction.ID,
|
|
511
|
-
title: ( localize2(
|
|
508
|
+
title: ( localize2(1631, "Disable highlighting of ambiguous characters")),
|
|
512
509
|
precondition: undefined,
|
|
513
510
|
f1: false,
|
|
514
511
|
});
|
|
515
|
-
this.shortLabel = ( localize(
|
|
512
|
+
this.shortLabel = ( localize(1632, 'Disable Ambiguous Highlight'));
|
|
516
513
|
}
|
|
517
514
|
async run(accessor, editor, args) {
|
|
518
515
|
const configurationService = accessor.get(IConfigurationService);
|
|
@@ -529,11 +526,11 @@ class DisableHighlightingOfInvisibleCharactersAction extends Action2 {
|
|
|
529
526
|
constructor() {
|
|
530
527
|
super({
|
|
531
528
|
id: DisableHighlightingOfInvisibleCharactersAction.ID,
|
|
532
|
-
title: ( localize2(
|
|
529
|
+
title: ( localize2(1633, "Disable highlighting of invisible characters")),
|
|
533
530
|
precondition: undefined,
|
|
534
531
|
f1: false,
|
|
535
532
|
});
|
|
536
|
-
this.shortLabel = ( localize(
|
|
533
|
+
this.shortLabel = ( localize(1634, 'Disable Invisible Highlight'));
|
|
537
534
|
}
|
|
538
535
|
async run(accessor, editor, args) {
|
|
539
536
|
const configurationService = accessor.get(IConfigurationService);
|
|
@@ -550,11 +547,11 @@ class DisableHighlightingOfNonBasicAsciiCharactersAction extends Action2 {
|
|
|
550
547
|
constructor() {
|
|
551
548
|
super({
|
|
552
549
|
id: DisableHighlightingOfNonBasicAsciiCharactersAction.ID,
|
|
553
|
-
title: ( localize2(
|
|
550
|
+
title: ( localize2(1635, "Disable highlighting of non basic ASCII characters")),
|
|
554
551
|
precondition: undefined,
|
|
555
552
|
f1: false,
|
|
556
553
|
});
|
|
557
|
-
this.shortLabel = ( localize(
|
|
554
|
+
this.shortLabel = ( localize(1636, 'Disable Non ASCII Highlight'));
|
|
558
555
|
}
|
|
559
556
|
async run(accessor, editor, args) {
|
|
560
557
|
const configurationService = accessor.get(IConfigurationService);
|
|
@@ -571,7 +568,7 @@ class ShowExcludeOptions extends Action2 {
|
|
|
571
568
|
constructor() {
|
|
572
569
|
super({
|
|
573
570
|
id: ShowExcludeOptions.ID,
|
|
574
|
-
title: ( localize2(
|
|
571
|
+
title: ( localize2(1637, "Show Exclude Options")),
|
|
575
572
|
precondition: undefined,
|
|
576
573
|
f1: false,
|
|
577
574
|
});
|
|
@@ -584,13 +581,13 @@ class ShowExcludeOptions extends Action2 {
|
|
|
584
581
|
function getExcludeCharFromBeingHighlightedLabel(codePoint) {
|
|
585
582
|
if (InvisibleCharacters.isInvisibleCharacter(codePoint)) {
|
|
586
583
|
return localize(
|
|
587
|
-
|
|
584
|
+
1638,
|
|
588
585
|
'Exclude {0} (invisible character) from being highlighted',
|
|
589
586
|
codePointToHex(codePoint)
|
|
590
587
|
);
|
|
591
588
|
}
|
|
592
589
|
return localize(
|
|
593
|
-
|
|
590
|
+
1639,
|
|
594
591
|
'Exclude {0} from being highlighted',
|
|
595
592
|
`${codePointToHex(codePoint)} "${char}"`
|
|
596
593
|
);
|
|
@@ -600,7 +597,7 @@ class ShowExcludeOptions extends Action2 {
|
|
|
600
597
|
for (const locale of reason.notAmbiguousInLocales) {
|
|
601
598
|
options.push({
|
|
602
599
|
label: ( localize(
|
|
603
|
-
|
|
600
|
+
1640,
|
|
604
601
|
"Allow unicode characters that are more common in the language \"{0}\".",
|
|
605
602
|
locale
|
|
606
603
|
)),
|
package/vscode/src/vs/editor/contrib/unusualLineTerminators/browser/unusualLineTerminators.js
CHANGED
|
@@ -70,15 +70,15 @@ let UnusualLineTerminatorsDetector = class UnusualLineTerminatorsDetector extend
|
|
|
70
70
|
try {
|
|
71
71
|
this._isPresentingDialog = true;
|
|
72
72
|
result = await this._dialogService.confirm({
|
|
73
|
-
title: ( localize(
|
|
74
|
-
message: ( localize(
|
|
73
|
+
title: ( localize(1641, "Unusual Line Terminators")),
|
|
74
|
+
message: ( localize(1642, "Detected unusual line terminators")),
|
|
75
75
|
detail: ( localize(
|
|
76
|
-
|
|
76
|
+
1643,
|
|
77
77
|
"The file '{0}' contains one or more unusual line terminator characters, like Line Separator (LS) or Paragraph Separator (PS).\n\nIt is recommended to remove them from the file. This can be configured via `editor.unusualLineTerminators`.",
|
|
78
78
|
basename(model.uri)
|
|
79
79
|
)),
|
|
80
|
-
primaryButton: ( localize(
|
|
81
|
-
cancelButton: ( localize(
|
|
80
|
+
primaryButton: ( localize(1644, "&&Remove Unusual Line Terminators")),
|
|
81
|
+
cancelButton: ( localize(1645, "Ignore"))
|
|
82
82
|
});
|
|
83
83
|
}
|
|
84
84
|
finally {
|
|
@@ -20,36 +20,36 @@ import { themeColorFromId, registerThemingParticipant } from '../../../../platfo
|
|
|
20
20
|
|
|
21
21
|
registerCss(highlightDecorations);
|
|
22
22
|
const wordHighlightBackground = registerColor('editor.wordHighlightBackground', { dark: '#575757B8', light: '#57575740', hcDark: null, hcLight: null }, ( localize(
|
|
23
|
-
|
|
23
|
+
1646,
|
|
24
24
|
'Background color of a symbol during read-access, like reading a variable. The color must not be opaque so as not to hide underlying decorations.'
|
|
25
25
|
)), true);
|
|
26
26
|
registerColor('editor.wordHighlightStrongBackground', { dark: '#004972B8', light: '#0e639c40', hcDark: null, hcLight: null }, ( localize(
|
|
27
|
-
|
|
27
|
+
1647,
|
|
28
28
|
'Background color of a symbol during write-access, like writing to a variable. The color must not be opaque so as not to hide underlying decorations.'
|
|
29
29
|
)), true);
|
|
30
30
|
registerColor('editor.wordHighlightTextBackground', wordHighlightBackground, ( localize(
|
|
31
|
-
|
|
31
|
+
1648,
|
|
32
32
|
'Background color of a textual occurrence for a symbol. The color must not be opaque so as not to hide underlying decorations.'
|
|
33
33
|
)), true);
|
|
34
34
|
const wordHighlightBorder = registerColor('editor.wordHighlightBorder', { light: null, dark: null, hcDark: activeContrastBorder, hcLight: activeContrastBorder }, ( localize(
|
|
35
|
-
|
|
35
|
+
1649,
|
|
36
36
|
'Border color of a symbol during read-access, like reading a variable.'
|
|
37
37
|
)));
|
|
38
38
|
registerColor('editor.wordHighlightStrongBorder', { light: null, dark: null, hcDark: activeContrastBorder, hcLight: activeContrastBorder }, ( localize(
|
|
39
|
-
|
|
39
|
+
1650,
|
|
40
40
|
'Border color of a symbol during write-access, like writing to a variable.'
|
|
41
41
|
)));
|
|
42
|
-
registerColor('editor.wordHighlightTextBorder', wordHighlightBorder, ( localize(
|
|
42
|
+
registerColor('editor.wordHighlightTextBorder', wordHighlightBorder, ( localize(1651, "Border color of a textual occurrence for a symbol.")));
|
|
43
43
|
const overviewRulerWordHighlightForeground = registerColor('editorOverviewRuler.wordHighlightForeground', '#A0A0A0CC', ( localize(
|
|
44
|
-
|
|
44
|
+
1652,
|
|
45
45
|
'Overview ruler marker color for symbol highlights. The color must not be opaque so as not to hide underlying decorations.'
|
|
46
46
|
)), true);
|
|
47
47
|
const overviewRulerWordHighlightStrongForeground = registerColor('editorOverviewRuler.wordHighlightStrongForeground', '#C0A0C0CC', ( localize(
|
|
48
|
-
|
|
48
|
+
1653,
|
|
49
49
|
'Overview ruler marker color for write-access symbol highlights. The color must not be opaque so as not to hide underlying decorations.'
|
|
50
50
|
)), true);
|
|
51
51
|
const overviewRulerWordHighlightTextForeground = registerColor('editorOverviewRuler.wordHighlightTextForeground', overviewRulerSelectionHighlightForeground, ( localize(
|
|
52
|
-
|
|
52
|
+
1654,
|
|
53
53
|
'Overview ruler marker color of a textual occurrence for a symbol. The color must not be opaque so as not to hide underlying decorations.'
|
|
54
54
|
)), true);
|
|
55
55
|
const _WRITE_OPTIONS = ModelDecorationOptions.register({
|
|
@@ -718,7 +718,7 @@ class NextWordHighlightAction extends WordHighlightNavigationAction {
|
|
|
718
718
|
constructor() {
|
|
719
719
|
super(true, {
|
|
720
720
|
id: 'editor.action.wordHighlight.next',
|
|
721
|
-
label: ( localize2(
|
|
721
|
+
label: ( localize2(1655, "Go to Next Symbol Highlight")),
|
|
722
722
|
precondition: ctxHasWordHighlights,
|
|
723
723
|
kbOpts: {
|
|
724
724
|
kbExpr: EditorContextKeys.editorTextFocus,
|
|
@@ -732,7 +732,7 @@ class PrevWordHighlightAction extends WordHighlightNavigationAction {
|
|
|
732
732
|
constructor() {
|
|
733
733
|
super(false, {
|
|
734
734
|
id: 'editor.action.wordHighlight.prev',
|
|
735
|
-
label: ( localize2(
|
|
735
|
+
label: ( localize2(1656, "Go to Previous Symbol Highlight")),
|
|
736
736
|
precondition: ctxHasWordHighlights,
|
|
737
737
|
kbOpts: {
|
|
738
738
|
kbExpr: EditorContextKeys.editorTextFocus,
|
|
@@ -746,7 +746,7 @@ class TriggerWordHighlightAction extends EditorAction {
|
|
|
746
746
|
constructor() {
|
|
747
747
|
super({
|
|
748
748
|
id: 'editor.action.wordHighlight.trigger',
|
|
749
|
-
label: ( localize2(
|
|
749
|
+
label: ( localize2(1657, "Trigger Symbol Highlight")),
|
|
750
750
|
precondition: undefined,
|
|
751
751
|
kbOpts: {
|
|
752
752
|
kbExpr: EditorContextKeys.editorTextFocus,
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { ICodeEditor } from "../../../browser/editorBrowser.js";
|
|
2
2
|
import { EditorAction, EditorCommand, ICommandOptions, ServicesAccessor } from "../../../browser/editorExtensions.js";
|
|
3
|
-
import { DeleteWordContext, WordNavigationType } from "../../../common/cursor/cursorWordOperations.js";
|
|
4
|
-
import { WordCharacterClassifier } from "../../../common/core/wordCharacterClassifier.js";
|
|
5
3
|
import { Position } from "../../../common/core/position.js";
|
|
6
4
|
import { Range } from "../../../common/core/range.js";
|
|
5
|
+
import { WordCharacterClassifier } from "../../../common/core/wordCharacterClassifier.js";
|
|
6
|
+
import { DeleteWordContext, WordNavigationType } from "../../../common/cursor/cursorWordOperations.js";
|
|
7
7
|
import { ITextModel } from "../../../common/model.js";
|
|
8
8
|
export interface MoveWordOptions extends ICommandOptions {
|
|
9
9
|
inSelectionMode: boolean;
|
|
@@ -13,7 +13,7 @@ export declare abstract class MoveWordCommand extends EditorCommand {
|
|
|
13
13
|
private readonly _inSelectionMode;
|
|
14
14
|
private readonly _wordNavigationType;
|
|
15
15
|
constructor(opts: MoveWordOptions);
|
|
16
|
-
runEditorCommand(accessor: ServicesAccessor, editor: ICodeEditor, args:
|
|
16
|
+
runEditorCommand(accessor: ServicesAccessor, editor: ICodeEditor, args: unknown): void;
|
|
17
17
|
private _moveTo;
|
|
18
18
|
protected abstract _move(wordSeparators: WordCharacterClassifier, model: ITextModel, position: Position, wordNavigationType: WordNavigationType, hasMulticursor: boolean): Position;
|
|
19
19
|
}
|
|
@@ -83,7 +83,7 @@ export declare abstract class DeleteWordCommand extends EditorCommand {
|
|
|
83
83
|
private readonly _whitespaceHeuristics;
|
|
84
84
|
private readonly _wordNavigationType;
|
|
85
85
|
constructor(opts: DeleteWordOptions);
|
|
86
|
-
runEditorCommand(accessor: ServicesAccessor, editor: ICodeEditor, args:
|
|
86
|
+
runEditorCommand(accessor: ServicesAccessor, editor: ICodeEditor, args: unknown): void;
|
|
87
87
|
protected abstract _delete(ctx: DeleteWordContext, wordNavigationType: WordNavigationType): Range;
|
|
88
88
|
}
|
|
89
89
|
export declare class DeleteWordLeftCommand extends DeleteWordCommand {
|
|
@@ -112,5 +112,5 @@ export declare class DeleteWordRight extends DeleteWordRightCommand {
|
|
|
112
112
|
}
|
|
113
113
|
export declare class DeleteInsideWord extends EditorAction {
|
|
114
114
|
constructor();
|
|
115
|
-
run(accessor: ServicesAccessor, editor: ICodeEditor, args:
|
|
115
|
+
run(accessor: ServicesAccessor, editor: ICodeEditor, args: unknown): void;
|
|
116
116
|
}
|
|
@@ -1,23 +1,23 @@
|
|
|
1
1
|
|
|
2
2
|
import { KeyMod as KeyMod$1, KeyCode } from '../../../../base/common/keyCodes.js';
|
|
3
|
+
import { localize2 } from '../../../../nls.js';
|
|
4
|
+
import { CONTEXT_ACCESSIBILITY_MODE_ENABLED } from '../../../../platform/accessibility/common/accessibility.js';
|
|
5
|
+
import { ContextKeyExpr } from '../../../../platform/contextkey/common/contextkey.js';
|
|
6
|
+
import { IsWindowsContext } from '../../../../platform/contextkey/common/contextkeys.js';
|
|
7
|
+
import { KeybindingWeight } from '../../../../platform/keybinding/common/keybindingsRegistry.js';
|
|
3
8
|
import { EditorCommand, EditorAction, registerEditorCommand, registerEditorAction } from '../../../browser/editorExtensions.js';
|
|
4
9
|
import { ReplaceCommand } from '../../../common/commands/replaceCommand.js';
|
|
5
10
|
import { EditorOption, EditorOptions } from '../../../common/config/editorOptions.js';
|
|
6
|
-
import { CursorState } from '../../../common/cursorCommon.js';
|
|
7
|
-
import { CursorChangeReason } from '../../../common/cursorEvents.js';
|
|
8
|
-
import { WordOperations, WordNavigationType } from '../../../common/cursor/cursorWordOperations.js';
|
|
9
|
-
import { getMapForWordSeparators } from '../../../common/core/wordCharacterClassifier.js';
|
|
10
11
|
import { Position } from '../../../common/core/position.js';
|
|
11
12
|
import { Range } from '../../../common/core/range.js';
|
|
12
13
|
import { Selection } from '../../../common/core/selection.js';
|
|
14
|
+
import { getMapForWordSeparators } from '../../../common/core/wordCharacterClassifier.js';
|
|
15
|
+
import { WordOperations, WordNavigationType } from '../../../common/cursor/cursorWordOperations.js';
|
|
16
|
+
import { CursorState } from '../../../common/cursorCommon.js';
|
|
17
|
+
import { CursorChangeReason } from '../../../common/cursorEvents.js';
|
|
13
18
|
import { ScrollType } from '../../../common/editorCommon.js';
|
|
14
19
|
import { EditorContextKeys } from '../../../common/editorContextKeys.js';
|
|
15
20
|
import { ILanguageConfigurationService } from '../../../common/languages/languageConfigurationRegistry.service.js';
|
|
16
|
-
import { localize2 } from '../../../../nls.js';
|
|
17
|
-
import { CONTEXT_ACCESSIBILITY_MODE_ENABLED } from '../../../../platform/accessibility/common/accessibility.js';
|
|
18
|
-
import { ContextKeyExpr } from '../../../../platform/contextkey/common/contextkey.js';
|
|
19
|
-
import { IsWindowsContext } from '../../../../platform/contextkey/common/contextkeys.js';
|
|
20
|
-
import { KeybindingWeight } from '../../../../platform/keybinding/common/keybindingsRegistry.js';
|
|
21
21
|
|
|
22
22
|
class MoveWordCommand extends EditorCommand {
|
|
23
23
|
constructor(opts) {
|
|
@@ -267,7 +267,7 @@ class CursorWordAccessibilityRightSelect extends WordRightCommand {
|
|
|
267
267
|
}
|
|
268
268
|
class DeleteWordCommand extends EditorCommand {
|
|
269
269
|
constructor(opts) {
|
|
270
|
-
super(opts);
|
|
270
|
+
super({ canTriggerInlineEdits: true, ...opts });
|
|
271
271
|
this._whitespaceHeuristics = opts.whitespaceHeuristics;
|
|
272
272
|
this._wordNavigationType = opts.wordNavigationType;
|
|
273
273
|
}
|
|
@@ -399,7 +399,7 @@ class DeleteInsideWord extends EditorAction {
|
|
|
399
399
|
super({
|
|
400
400
|
id: 'deleteInsideWord',
|
|
401
401
|
precondition: EditorContextKeys.writable,
|
|
402
|
-
label: ( localize2(
|
|
402
|
+
label: ( localize2(1658, "Delete Word")),
|
|
403
403
|
});
|
|
404
404
|
}
|
|
405
405
|
run(accessor, editor, args) {
|
|
@@ -27,6 +27,7 @@ import { ILanguageFeaturesService } from "../../common/services/languageFeatures
|
|
|
27
27
|
import { DiffEditorWidget } from "../../browser/widget/diffEditor/diffEditorWidget.js";
|
|
28
28
|
import { IAccessibilitySignalService } from "../../../platform/accessibilitySignal/browser/accessibilitySignalService.service.js";
|
|
29
29
|
import { IHoverService } from "../../../platform/hover/browser/hover.service.js";
|
|
30
|
+
import { IMarkdownRendererService } from "../../../platform/markdown/browser/markdownRenderer.service.js";
|
|
30
31
|
/**
|
|
31
32
|
* Description of an action contribution
|
|
32
33
|
*/
|
|
@@ -118,17 +119,17 @@ export type IStandaloneDiffEditor = import("monaco-editor").editor.IStandaloneDi
|
|
|
118
119
|
*/
|
|
119
120
|
export declare class StandaloneCodeEditor extends CodeEditorWidget implements IStandaloneCodeEditor {
|
|
120
121
|
private readonly _standaloneKeybindingService;
|
|
121
|
-
constructor(domElement: HTMLElement, _options: Readonly<IStandaloneEditorConstructionOptions>, instantiationService: IInstantiationService, codeEditorService: ICodeEditorService, commandService: ICommandService, contextKeyService: IContextKeyService, hoverService: IHoverService, keybindingService: IKeybindingService, themeService: IThemeService, notificationService: INotificationService, accessibilityService: IAccessibilityService, languageConfigurationService: ILanguageConfigurationService, languageFeaturesService: ILanguageFeaturesService);
|
|
122
|
+
constructor(domElement: HTMLElement, _options: Readonly<IStandaloneEditorConstructionOptions>, instantiationService: IInstantiationService, codeEditorService: ICodeEditorService, commandService: ICommandService, contextKeyService: IContextKeyService, hoverService: IHoverService, keybindingService: IKeybindingService, themeService: IThemeService, notificationService: INotificationService, accessibilityService: IAccessibilityService, languageConfigurationService: ILanguageConfigurationService, languageFeaturesService: ILanguageFeaturesService, markdownRendererService: IMarkdownRendererService);
|
|
122
123
|
addCommand(keybinding: number, handler: ICommandHandler, context?: string): string | null;
|
|
123
124
|
createContextKey<T extends ContextKeyValue = ContextKeyValue>(key: string, defaultValue: T): IContextKey<T>;
|
|
124
125
|
addAction(_descriptor: IActionDescriptor): IDisposable;
|
|
125
|
-
protected _triggerCommand(handlerId: string, payload:
|
|
126
|
+
protected _triggerCommand(handlerId: string, payload: unknown): void;
|
|
126
127
|
}
|
|
127
128
|
export declare class StandaloneEditor extends StandaloneCodeEditor implements IStandaloneCodeEditor {
|
|
128
129
|
private readonly _configurationService;
|
|
129
130
|
private readonly _standaloneThemeService;
|
|
130
131
|
private _ownsModel;
|
|
131
|
-
constructor(domElement: HTMLElement, _options: Readonly<IStandaloneEditorConstructionOptions> | undefined, instantiationService: IInstantiationService, codeEditorService: ICodeEditorService, commandService: ICommandService, contextKeyService: IContextKeyService, hoverService: IHoverService, keybindingService: IKeybindingService, themeService: IStandaloneThemeService, notificationService: INotificationService, configurationService: IConfigurationService, accessibilityService: IAccessibilityService, modelService: IModelService, languageService: ILanguageService, languageConfigurationService: ILanguageConfigurationService, languageFeaturesService: ILanguageFeaturesService);
|
|
132
|
+
constructor(domElement: HTMLElement, _options: Readonly<IStandaloneEditorConstructionOptions> | undefined, instantiationService: IInstantiationService, codeEditorService: ICodeEditorService, commandService: ICommandService, contextKeyService: IContextKeyService, hoverService: IHoverService, keybindingService: IKeybindingService, themeService: IStandaloneThemeService, notificationService: INotificationService, configurationService: IConfigurationService, accessibilityService: IAccessibilityService, modelService: IModelService, languageService: ILanguageService, languageConfigurationService: ILanguageConfigurationService, languageFeaturesService: ILanguageFeaturesService, markdownRendererService: IMarkdownRendererService);
|
|
132
133
|
dispose(): void;
|
|
133
134
|
updateOptions(newOptions: Readonly<IEditorOptions & IGlobalEditorOptions>): void;
|
|
134
135
|
protected _postDetachModelCleanup(detachedModel: ITextModel): void;
|
|
@@ -35,6 +35,8 @@ import { setHoverDelegateFactory } from '../../../base/browser/ui/hover/hoverDel
|
|
|
35
35
|
import { WorkbenchHoverDelegate } from '../../../platform/hover/browser/hover.js';
|
|
36
36
|
import { IHoverService } from '../../../platform/hover/browser/hover.service.js';
|
|
37
37
|
import { setBaseLayerHoverDelegate } from '../../../base/browser/ui/hover/hoverDelegate2.js';
|
|
38
|
+
import { IMarkdownRendererService } from '../../../platform/markdown/browser/markdownRenderer.service.js';
|
|
39
|
+
import { EditorMarkdownCodeBlockRenderer } from '../../browser/widget/markdownRenderer/browser/editorMarkdownCodeBlockRenderer.js';
|
|
38
40
|
|
|
39
41
|
let LAST_GENERATED_COMMAND_ID = 0;
|
|
40
42
|
let ariaDomNodeCreated = false;
|
|
@@ -48,7 +50,7 @@ function createAriaDomNode(parent) {
|
|
|
48
50
|
setARIAContainer(parent || mainWindow.document.body);
|
|
49
51
|
}
|
|
50
52
|
let StandaloneCodeEditor = class StandaloneCodeEditor extends CodeEditorWidget {
|
|
51
|
-
constructor(domElement, _options, instantiationService, codeEditorService, commandService, contextKeyService, hoverService, keybindingService, themeService, notificationService, accessibilityService, languageConfigurationService, languageFeaturesService) {
|
|
53
|
+
constructor(domElement, _options, instantiationService, codeEditorService, commandService, contextKeyService, hoverService, keybindingService, themeService, notificationService, accessibilityService, languageConfigurationService, languageFeaturesService, markdownRendererService) {
|
|
52
54
|
const options = { ..._options };
|
|
53
55
|
options.ariaLabel = options.ariaLabel || StandaloneCodeEditorNLS.editorViewAccessibleLabel;
|
|
54
56
|
super(domElement, options, { isStandaloneEditor: true }, instantiationService, codeEditorService, commandService, contextKeyService, themeService, notificationService, accessibilityService, languageConfigurationService, languageFeaturesService, keybindingService);
|
|
@@ -61,6 +63,7 @@ let StandaloneCodeEditor = class StandaloneCodeEditor extends CodeEditorWidget {
|
|
|
61
63
|
createAriaDomNode(options.ariaContainerElement);
|
|
62
64
|
setHoverDelegateFactory((placement, enableInstantHover) => instantiationService.createInstance(WorkbenchHoverDelegate, placement, { instantHover: enableInstantHover }, {}));
|
|
63
65
|
setBaseLayerHoverDelegate(hoverService);
|
|
66
|
+
markdownRendererService.setDefaultCodeBlockRenderer(instantiationService.createInstance(EditorMarkdownCodeBlockRenderer));
|
|
64
67
|
}
|
|
65
68
|
addCommand(keybinding, handler, context) {
|
|
66
69
|
if (!this._standaloneKeybindingService) {
|
|
@@ -156,10 +159,11 @@ StandaloneCodeEditor = ( __decorate([
|
|
|
156
159
|
( __param(9, INotificationService)),
|
|
157
160
|
( __param(10, IAccessibilityService)),
|
|
158
161
|
( __param(11, ILanguageConfigurationService)),
|
|
159
|
-
( __param(12, ILanguageFeaturesService))
|
|
162
|
+
( __param(12, ILanguageFeaturesService)),
|
|
163
|
+
( __param(13, IMarkdownRendererService))
|
|
160
164
|
], StandaloneCodeEditor));
|
|
161
165
|
let StandaloneEditor = class StandaloneEditor extends StandaloneCodeEditor {
|
|
162
|
-
constructor(domElement, _options, instantiationService, codeEditorService, commandService, contextKeyService, hoverService, keybindingService, themeService, notificationService, configurationService, accessibilityService, modelService, languageService, languageConfigurationService, languageFeaturesService) {
|
|
166
|
+
constructor(domElement, _options, instantiationService, codeEditorService, commandService, contextKeyService, hoverService, keybindingService, themeService, notificationService, configurationService, accessibilityService, modelService, languageService, languageConfigurationService, languageFeaturesService, markdownRendererService) {
|
|
163
167
|
const options = { ..._options };
|
|
164
168
|
updateConfigurationService(configurationService, options, false);
|
|
165
169
|
const themeDomRegistration = themeService.registerEditorContainer(domElement);
|
|
@@ -171,7 +175,7 @@ let StandaloneEditor = class StandaloneEditor extends StandaloneCodeEditor {
|
|
|
171
175
|
}
|
|
172
176
|
const _model = options.model;
|
|
173
177
|
delete options.model;
|
|
174
|
-
super(domElement, options, instantiationService, codeEditorService, commandService, contextKeyService, hoverService, keybindingService, themeService, notificationService, accessibilityService, languageConfigurationService, languageFeaturesService);
|
|
178
|
+
super(domElement, options, instantiationService, codeEditorService, commandService, contextKeyService, hoverService, keybindingService, themeService, notificationService, accessibilityService, languageConfigurationService, languageFeaturesService, markdownRendererService);
|
|
175
179
|
this._configurationService = configurationService;
|
|
176
180
|
this._standaloneThemeService = themeService;
|
|
177
181
|
this._register(themeDomRegistration);
|
|
@@ -229,7 +233,8 @@ StandaloneEditor = ( __decorate([
|
|
|
229
233
|
( __param(12, IModelService)),
|
|
230
234
|
( __param(13, ILanguageService)),
|
|
231
235
|
( __param(14, ILanguageConfigurationService)),
|
|
232
|
-
( __param(15, ILanguageFeaturesService))
|
|
236
|
+
( __param(15, ILanguageFeaturesService)),
|
|
237
|
+
( __param(16, IMarkdownRendererService))
|
|
233
238
|
], StandaloneEditor));
|
|
234
239
|
let StandaloneDiffEditor2 = class StandaloneDiffEditor2 extends DiffEditorWidget {
|
|
235
240
|
constructor(domElement, _options, instantiationService, contextKeyService, codeEditorService, themeService, notificationService, configurationService, contextMenuService, editorProgressService, clipboardService, accessibilitySignalService, keybindingService) {
|
|
@@ -41,12 +41,12 @@ export declare class StandaloneCommandService implements ICommandService {
|
|
|
41
41
|
readonly onWillExecuteCommand: Event<ICommandEvent>;
|
|
42
42
|
readonly onDidExecuteCommand: Event<ICommandEvent>;
|
|
43
43
|
constructor(instantiationService: IInstantiationService);
|
|
44
|
-
executeCommand<T>(id: string, ...args:
|
|
44
|
+
executeCommand<T>(id: string, ...args: unknown[]): Promise<T>;
|
|
45
45
|
}
|
|
46
46
|
export interface IKeybindingRule {
|
|
47
47
|
keybinding: number;
|
|
48
48
|
command?: string | null;
|
|
49
|
-
commandArgs?:
|
|
49
|
+
commandArgs?: unknown;
|
|
50
50
|
when?: ContextKeyExpression | null;
|
|
51
51
|
}
|
|
52
52
|
export declare class StandaloneKeybindingService extends AbstractKeybindingService {
|
|
@@ -86,12 +86,13 @@ export declare class StandaloneConfigurationService implements IConfigurationSer
|
|
|
86
86
|
getValue<T>(section: string, overrides: IConfigurationOverrides): T;
|
|
87
87
|
updateValues(values: [
|
|
88
88
|
string,
|
|
89
|
-
|
|
89
|
+
unknown
|
|
90
90
|
][]): Promise<void>;
|
|
91
|
-
updateValue(key: string, value:
|
|
91
|
+
updateValue(key: string, value: unknown, arg3?: unknown, arg4?: unknown): Promise<void>;
|
|
92
92
|
inspect<C>(key: string, options?: IConfigurationOverrides): IConfigurationValue<C>;
|
|
93
93
|
keys(): {
|
|
94
94
|
default: string[];
|
|
95
|
+
policy: string[];
|
|
95
96
|
user: string[];
|
|
96
97
|
workspace: string[];
|
|
97
98
|
workspaceFolder: string[];
|
|
@@ -18,7 +18,7 @@ import '../../../base/common/errors.js';
|
|
|
18
18
|
import { ResourceMap } from '../../../base/common/map.js';
|
|
19
19
|
import { ILanguageFeaturesService } from '../../common/services/languageFeatures.service.js';
|
|
20
20
|
import { registerSingleton, InstantiationType, getSingletonServiceDescriptors } from '../../../platform/instantiation/common/extensions.js';
|
|
21
|
-
import '
|
|
21
|
+
import '../../../platform/hover/browser/hoverService.js';
|
|
22
22
|
import '../../browser/services/inlineCompletionsService.js';
|
|
23
23
|
import { addDisposableListener, EventType } from '../../../base/browser/dom.js';
|
|
24
24
|
import { StandardKeyboardEvent } from '../../../base/browser/keyboardEvent.js';
|
|
@@ -491,7 +491,7 @@ class DomNodeListeners extends Disposable {
|
|
|
491
491
|
}
|
|
492
492
|
}
|
|
493
493
|
function isConfigurationOverrides(thing) {
|
|
494
|
-
return thing
|
|
494
|
+
return !!thing
|
|
495
495
|
&& typeof thing === 'object'
|
|
496
496
|
&& (!thing.overrideIdentifier || typeof thing.overrideIdentifier === 'string')
|
|
497
497
|
&& (!thing.resource || thing.resource instanceof URI);
|
|
@@ -5,17 +5,9 @@ export declare class StandaloneTreeSitterLibraryService implements ITreeSitterLi
|
|
|
5
5
|
readonly _serviceBrand: undefined;
|
|
6
6
|
getParserClass(): Promise<typeof Parser>;
|
|
7
7
|
supportsLanguage(languageId: string, reader: IReader | undefined): boolean;
|
|
8
|
-
getLanguage(languageId: string, reader: IReader | undefined): Language | undefined;
|
|
9
|
-
|
|
10
|
-
* Return value of null indicates that there are no injection queries for this language.
|
|
11
|
-
* @param languageId
|
|
12
|
-
* @param reader
|
|
13
|
-
*/
|
|
8
|
+
getLanguage(languageId: string, ignoreSupportsCheck: boolean, reader: IReader | undefined): Language | undefined;
|
|
9
|
+
getLanguagePromise(languageId: string): Promise<Language | undefined>;
|
|
14
10
|
getInjectionQueries(languageId: string, reader: IReader | undefined): Query | null | undefined;
|
|
15
|
-
/**
|
|
16
|
-
* Return value of null indicates that there are no highlights queries for this language.
|
|
17
|
-
* @param languageId
|
|
18
|
-
* @param reader
|
|
19
|
-
*/
|
|
20
11
|
getHighlightingQueries(languageId: string, reader: IReader | undefined): Query | null | undefined;
|
|
12
|
+
createQuery(language: Language, querySource: string): Promise<Query>;
|
|
21
13
|
}
|
|
@@ -2,12 +2,15 @@
|
|
|
2
2
|
|
|
3
3
|
class StandaloneTreeSitterLibraryService {
|
|
4
4
|
getParserClass() {
|
|
5
|
-
throw ( new Error('
|
|
5
|
+
throw ( new Error('not implemented in StandaloneTreeSitterLibraryService'));
|
|
6
6
|
}
|
|
7
7
|
supportsLanguage(languageId, reader) {
|
|
8
8
|
return false;
|
|
9
9
|
}
|
|
10
|
-
getLanguage(languageId, reader) {
|
|
10
|
+
getLanguage(languageId, ignoreSupportsCheck, reader) {
|
|
11
|
+
return undefined;
|
|
12
|
+
}
|
|
13
|
+
async getLanguagePromise(languageId) {
|
|
11
14
|
return undefined;
|
|
12
15
|
}
|
|
13
16
|
getInjectionQueries(languageId, reader) {
|
|
@@ -16,6 +19,9 @@ class StandaloneTreeSitterLibraryService {
|
|
|
16
19
|
getHighlightingQueries(languageId, reader) {
|
|
17
20
|
return null;
|
|
18
21
|
}
|
|
22
|
+
async createQuery(language, querySource) {
|
|
23
|
+
throw ( new Error('not implemented in StandaloneTreeSitterLibraryService'));
|
|
24
|
+
}
|
|
19
25
|
}
|
|
20
26
|
|
|
21
27
|
export { StandaloneTreeSitterLibraryService };
|
|
@@ -50,8 +50,8 @@ let AccessibilityService = class AccessibilityService extends Disposable {
|
|
|
50
50
|
}));
|
|
51
51
|
const updateRootClasses = () => {
|
|
52
52
|
const reduce = this.isMotionReduced();
|
|
53
|
-
this._layoutService.mainContainer.classList.toggle('reduce-motion', reduce);
|
|
54
|
-
this._layoutService.mainContainer.classList.toggle('enable-motion', !reduce);
|
|
53
|
+
this._layoutService.mainContainer.classList.toggle('monaco-reduce-motion', reduce);
|
|
54
|
+
this._layoutService.mainContainer.classList.toggle('monaco-enable-motion', !reduce);
|
|
55
55
|
};
|
|
56
56
|
updateRootClasses();
|
|
57
57
|
this._register(this.onDidChangeReducedMotion(() => updateRootClasses()));
|