@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
|
@@ -27,10 +27,26 @@ export interface ISubmenuItem {
|
|
|
27
27
|
group?: "navigation" | string;
|
|
28
28
|
order?: number;
|
|
29
29
|
isSelection?: boolean;
|
|
30
|
-
|
|
30
|
+
/**
|
|
31
|
+
* A split button shows the first action
|
|
32
|
+
* as primary action and the rest of the
|
|
33
|
+
* actions in a dropdown.
|
|
34
|
+
*
|
|
35
|
+
* Use `togglePrimaryAction` to promote
|
|
36
|
+
* the action that was last used to be
|
|
37
|
+
* the primary action and remember that
|
|
38
|
+
* choice.
|
|
39
|
+
*/
|
|
40
|
+
isSplitButton?: boolean | {
|
|
41
|
+
/**
|
|
42
|
+
* Will update the primary action based
|
|
43
|
+
* on the action that was last run.
|
|
44
|
+
*/
|
|
45
|
+
togglePrimaryAction: true;
|
|
46
|
+
};
|
|
31
47
|
}
|
|
32
|
-
export declare function isIMenuItem(item:
|
|
33
|
-
export declare function isISubmenuItem(item:
|
|
48
|
+
export declare function isIMenuItem(item: unknown): item is IMenuItem;
|
|
49
|
+
export declare function isISubmenuItem(item: unknown): item is ISubmenuItem;
|
|
34
50
|
export declare class MenuId {
|
|
35
51
|
private static readonly _instances;
|
|
36
52
|
static readonly CommandPalette: MenuId;
|
|
@@ -112,8 +128,9 @@ export declare class MenuId {
|
|
|
112
128
|
static readonly SCMHistoryTitle: MenuId;
|
|
113
129
|
static readonly SCMHistoryItemContext: MenuId;
|
|
114
130
|
static readonly SCMHistoryItemChangeContext: MenuId;
|
|
115
|
-
static readonly SCMHistoryItemHover: MenuId;
|
|
116
131
|
static readonly SCMHistoryItemRefContext: MenuId;
|
|
132
|
+
static readonly SCMArtifactGroupContext: MenuId;
|
|
133
|
+
static readonly SCMArtifactContext: MenuId;
|
|
117
134
|
static readonly SCMQuickDiffDecorations: MenuId;
|
|
118
135
|
static readonly SCMTitle: MenuId;
|
|
119
136
|
static readonly SearchContext: MenuId;
|
|
@@ -214,10 +231,9 @@ export declare class MenuId {
|
|
|
214
231
|
static readonly ChatCompareBlock: MenuId;
|
|
215
232
|
static readonly ChatMessageTitle: MenuId;
|
|
216
233
|
static readonly ChatHistory: MenuId;
|
|
217
|
-
static readonly
|
|
234
|
+
static readonly ChatWelcomeContext: MenuId;
|
|
218
235
|
static readonly ChatMessageFooter: MenuId;
|
|
219
236
|
static readonly ChatExecute: MenuId;
|
|
220
|
-
static readonly ChatExecuteSecondary: MenuId;
|
|
221
237
|
static readonly ChatInput: MenuId;
|
|
222
238
|
static readonly ChatInputSide: MenuId;
|
|
223
239
|
static readonly ChatModePicker: MenuId;
|
|
@@ -233,6 +249,7 @@ export declare class MenuId {
|
|
|
233
249
|
static readonly ChatInlineSymbolAnchorContext: MenuId;
|
|
234
250
|
static readonly ChatMessageCheckpoint: MenuId;
|
|
235
251
|
static readonly ChatMessageRestoreCheckpoint: MenuId;
|
|
252
|
+
static readonly ChatNewMenu: MenuId;
|
|
236
253
|
static readonly ChatEditingCodeBlockContext: MenuId;
|
|
237
254
|
static readonly ChatTitleBarMenu: MenuId;
|
|
238
255
|
static readonly ChatAttachmentsContext: MenuId;
|
|
@@ -241,7 +258,10 @@ export declare class MenuId {
|
|
|
241
258
|
static readonly ChatToolOutputResourceContext: MenuId;
|
|
242
259
|
static readonly ChatMultiDiffContext: MenuId;
|
|
243
260
|
static readonly ChatSessionsMenu: MenuId;
|
|
261
|
+
static readonly ChatSessionsCreateSubMenu: MenuId;
|
|
244
262
|
static readonly ChatConfirmationMenu: MenuId;
|
|
263
|
+
static readonly ChatEditorInlineExecute: MenuId;
|
|
264
|
+
static readonly ChatEditorInlineInputSide: MenuId;
|
|
245
265
|
static readonly AccessibleView: MenuId;
|
|
246
266
|
static readonly MultiDiffEditorFileToolbar: MenuId;
|
|
247
267
|
static readonly DiffEditorHunkToolbar: MenuId;
|
|
@@ -259,7 +279,7 @@ export declare class MenuId {
|
|
|
259
279
|
constructor(identifier: string);
|
|
260
280
|
}
|
|
261
281
|
export interface IMenuActionOptions {
|
|
262
|
-
arg?:
|
|
282
|
+
arg?: unknown;
|
|
263
283
|
shouldForwardArgs?: boolean;
|
|
264
284
|
renderShortTitle?: boolean;
|
|
265
285
|
}
|
|
@@ -333,7 +353,7 @@ export declare class MenuItemAction implements IAction {
|
|
|
333
353
|
readonly enabled: boolean;
|
|
334
354
|
readonly checked?: boolean;
|
|
335
355
|
constructor(item: ICommandAction, alt: ICommandAction | undefined, options: IMenuActionOptions | undefined, hideActions: IMenuItemHide | undefined, menuKeybinding: IAction | undefined, contextKeyService: IContextKeyService, _commandService: ICommandService);
|
|
336
|
-
run(...args:
|
|
356
|
+
run(...args: unknown[]): Promise<void>;
|
|
337
357
|
}
|
|
338
358
|
type OneOrN<T> = T | T[];
|
|
339
359
|
interface IAction2CommonOptions extends ICommandAction {
|
|
@@ -384,7 +404,7 @@ export interface IAction2F1RequiredOptions {
|
|
|
384
404
|
export declare abstract class Action2 {
|
|
385
405
|
readonly desc: Readonly<IAction2Options>;
|
|
386
406
|
constructor(desc: Readonly<IAction2Options>);
|
|
387
|
-
abstract run(accessor: ServicesAccessor, ...args:
|
|
407
|
+
abstract run(accessor: ServicesAccessor, ...args: unknown[]): void;
|
|
388
408
|
}
|
|
389
409
|
export declare function registerAction2(ctor: {
|
|
390
410
|
new (): Action2;
|
|
@@ -99,8 +99,9 @@ class MenuId {
|
|
|
99
99
|
static { this.SCMHistoryTitle = ( new MenuId('SCMHistoryTitle')); }
|
|
100
100
|
static { this.SCMHistoryItemContext = ( new MenuId('SCMHistoryItemContext')); }
|
|
101
101
|
static { this.SCMHistoryItemChangeContext = ( new MenuId('SCMHistoryItemChangeContext')); }
|
|
102
|
-
static { this.SCMHistoryItemHover = ( new MenuId('SCMHistoryItemHover')); }
|
|
103
102
|
static { this.SCMHistoryItemRefContext = ( new MenuId('SCMHistoryItemRefContext')); }
|
|
103
|
+
static { this.SCMArtifactGroupContext = ( new MenuId('SCMArtifactGroupContext')); }
|
|
104
|
+
static { this.SCMArtifactContext = ( new MenuId('SCMArtifactContext')); }
|
|
104
105
|
static { this.SCMQuickDiffDecorations = ( new MenuId('SCMQuickDiffDecorations')); }
|
|
105
106
|
static { this.SCMTitle = ( new MenuId('SCMTitle')); }
|
|
106
107
|
static { this.SearchContext = ( new MenuId('SearchContext')); }
|
|
@@ -201,10 +202,9 @@ class MenuId {
|
|
|
201
202
|
static { this.ChatCompareBlock = ( new MenuId('ChatCompareBlock')); }
|
|
202
203
|
static { this.ChatMessageTitle = ( new MenuId('ChatMessageTitle')); }
|
|
203
204
|
static { this.ChatHistory = ( new MenuId('ChatHistory')); }
|
|
204
|
-
static { this.
|
|
205
|
+
static { this.ChatWelcomeContext = ( new MenuId('ChatWelcomeContext')); }
|
|
205
206
|
static { this.ChatMessageFooter = ( new MenuId('ChatMessageFooter')); }
|
|
206
207
|
static { this.ChatExecute = ( new MenuId('ChatExecute')); }
|
|
207
|
-
static { this.ChatExecuteSecondary = ( new MenuId('ChatExecuteSecondary')); }
|
|
208
208
|
static { this.ChatInput = ( new MenuId('ChatInput')); }
|
|
209
209
|
static { this.ChatInputSide = ( new MenuId('ChatInputSide')); }
|
|
210
210
|
static { this.ChatModePicker = ( new MenuId('ChatModePicker')); }
|
|
@@ -220,6 +220,7 @@ class MenuId {
|
|
|
220
220
|
static { this.ChatInlineSymbolAnchorContext = ( new MenuId('ChatInlineSymbolAnchorContext')); }
|
|
221
221
|
static { this.ChatMessageCheckpoint = ( new MenuId('ChatMessageCheckpoint')); }
|
|
222
222
|
static { this.ChatMessageRestoreCheckpoint = ( new MenuId('ChatMessageRestoreCheckpoint')); }
|
|
223
|
+
static { this.ChatNewMenu = ( new MenuId('ChatNewMenu')); }
|
|
223
224
|
static { this.ChatEditingCodeBlockContext = ( new MenuId('ChatEditingCodeBlockContext')); }
|
|
224
225
|
static { this.ChatTitleBarMenu = ( new MenuId('ChatTitleBarMenu')); }
|
|
225
226
|
static { this.ChatAttachmentsContext = ( new MenuId('ChatAttachmentsContext')); }
|
|
@@ -228,7 +229,10 @@ class MenuId {
|
|
|
228
229
|
static { this.ChatToolOutputResourceContext = ( new MenuId('ChatToolOutputResourceContext')); }
|
|
229
230
|
static { this.ChatMultiDiffContext = ( new MenuId('ChatMultiDiffContext')); }
|
|
230
231
|
static { this.ChatSessionsMenu = ( new MenuId('ChatSessionsMenu')); }
|
|
232
|
+
static { this.ChatSessionsCreateSubMenu = ( new MenuId('ChatSessionsCreateSubMenu')); }
|
|
231
233
|
static { this.ChatConfirmationMenu = ( new MenuId('ChatConfirmationMenu')); }
|
|
234
|
+
static { this.ChatEditorInlineExecute = ( new MenuId('ChatEditorInputExecute')); }
|
|
235
|
+
static { this.ChatEditorInlineInputSide = ( new MenuId('ChatEditorInputSide')); }
|
|
232
236
|
static { this.AccessibleView = ( new MenuId('AccessibleView')); }
|
|
233
237
|
static { this.MultiDiffEditorFileToolbar = ( new MenuId('MultiDiffEditorFileToolbar')); }
|
|
234
238
|
static { this.DiffEditorHunkToolbar = ( new MenuId('DiffEditorHunkToolbar')); }
|
|
@@ -408,7 +408,7 @@ function createMenuHide(menu, command, states) {
|
|
|
408
408
|
const title = typeof command.title === 'string' ? command.title : command.title.value;
|
|
409
409
|
const hide = toAction({
|
|
410
410
|
id: `hide/${menu.id}/${id}`,
|
|
411
|
-
label: ( localize(
|
|
411
|
+
label: ( localize(1747, 'Hide \'{0}\'', title)),
|
|
412
412
|
run() { states.updateHidden(menu, id, true); }
|
|
413
413
|
});
|
|
414
414
|
const toggle = toAction({
|
|
@@ -426,7 +426,7 @@ function createMenuHide(menu, command, states) {
|
|
|
426
426
|
function createConfigureKeybindingAction(commandService, keybindingService, commandId, when = undefined, enabled = true) {
|
|
427
427
|
return toAction({
|
|
428
428
|
id: `configureKeybinding/${commandId}`,
|
|
429
|
-
label: ( localize(
|
|
429
|
+
label: ( localize(1748, "Configure Keybinding")),
|
|
430
430
|
enabled,
|
|
431
431
|
run() {
|
|
432
432
|
const hasKeybinding = !!keybindingService.lookupKeybinding(commandId);
|
|
@@ -5,16 +5,14 @@ import { TypeConstraint } from "../../../base/common/types.js";
|
|
|
5
5
|
import { ILocalizedString } from "../../action/common/action.js";
|
|
6
6
|
import { ServicesAccessor } from "../../instantiation/common/instantiation.js";
|
|
7
7
|
export interface ICommandEvent {
|
|
8
|
-
commandId: string;
|
|
9
|
-
args:
|
|
8
|
+
readonly commandId: string;
|
|
9
|
+
readonly args: unknown[];
|
|
10
10
|
}
|
|
11
11
|
export type ICommandsMap = Map<string, ICommand>;
|
|
12
|
-
export
|
|
13
|
-
|
|
14
|
-
}
|
|
15
|
-
export interface ICommand {
|
|
12
|
+
export type ICommandHandler<Args extends unknown[] = unknown[], R = void> = (accessor: ServicesAccessor, ...args: Args) => R;
|
|
13
|
+
export interface ICommand<Args extends unknown[] = unknown[], R = void> {
|
|
16
14
|
id: string;
|
|
17
|
-
handler: ICommandHandler
|
|
15
|
+
handler: ICommandHandler<Args, R>;
|
|
18
16
|
metadata?: ICommandMetadata | null;
|
|
19
17
|
}
|
|
20
18
|
export interface ICommandMetadata {
|
|
@@ -36,9 +34,9 @@ export interface ICommandMetadata {
|
|
|
36
34
|
readonly returns?: string;
|
|
37
35
|
}
|
|
38
36
|
export interface ICommandRegistry {
|
|
39
|
-
onDidRegisterCommand: Event<string>;
|
|
40
|
-
registerCommand(id: string, command: ICommandHandler): IDisposable;
|
|
41
|
-
registerCommand(command: ICommand): IDisposable;
|
|
37
|
+
readonly onDidRegisterCommand: Event<string>;
|
|
38
|
+
registerCommand<Args extends unknown[]>(id: string, command: ICommandHandler<Args>): IDisposable;
|
|
39
|
+
registerCommand<Args extends unknown[]>(command: ICommand<Args>): IDisposable;
|
|
42
40
|
registerCommandAlias(oldId: string, newId: string): IDisposable;
|
|
43
41
|
getCommand(id: string): ICommand | undefined;
|
|
44
42
|
getCommands(): ICommandsMap;
|
|
@@ -3,7 +3,7 @@ import { ICommandEvent } from "./commands.js";
|
|
|
3
3
|
export declare const ICommandService: import("../../instantiation/common/instantiation.js").ServiceIdentifier<ICommandService>;
|
|
4
4
|
export interface ICommandService {
|
|
5
5
|
readonly _serviceBrand: undefined;
|
|
6
|
-
onWillExecuteCommand: Event<ICommandEvent>;
|
|
7
|
-
onDidExecuteCommand: Event<ICommandEvent>;
|
|
8
|
-
executeCommand<
|
|
6
|
+
readonly onWillExecuteCommand: Event<ICommandEvent>;
|
|
7
|
+
readonly onDidExecuteCommand: Event<ICommandEvent>;
|
|
8
|
+
executeCommand<R = unknown>(commandId: string, ...args: unknown[]): Promise<R | undefined>;
|
|
9
9
|
}
|
|
@@ -4,7 +4,7 @@ import { IConfigurationChangeEvent, IConfigurationData, IConfigurationOverrides,
|
|
|
4
4
|
export declare const IConfigurationService: import("../../instantiation/common/instantiation.js").ServiceIdentifier<IConfigurationService>;
|
|
5
5
|
export interface IConfigurationService {
|
|
6
6
|
readonly _serviceBrand: undefined;
|
|
7
|
-
onDidChangeConfiguration: Event<IConfigurationChangeEvent>;
|
|
7
|
+
readonly onDidChangeConfiguration: Event<IConfigurationChangeEvent>;
|
|
8
8
|
getConfigurationData(): IConfigurationData | null;
|
|
9
9
|
/**
|
|
10
10
|
* Fetches the value of the section for the given overrides.
|
|
@@ -44,6 +44,7 @@ export interface IConfigurationService {
|
|
|
44
44
|
reloadConfiguration(target?: ConfigurationTarget | IWorkspaceFolder): Promise<void>;
|
|
45
45
|
keys(): {
|
|
46
46
|
default: string[];
|
|
47
|
+
policy: string[];
|
|
47
48
|
user: string[];
|
|
48
49
|
workspace: string[];
|
|
49
50
|
workspaceFolder: string[];
|
|
@@ -105,6 +105,7 @@ export declare class Configuration {
|
|
|
105
105
|
inspect<C>(key: string, overrides: IConfigurationOverrides, workspace: Workspace | undefined): IConfigurationValue<C>;
|
|
106
106
|
keys(workspace: Workspace | undefined): {
|
|
107
107
|
default: string[];
|
|
108
|
+
policy: string[];
|
|
108
109
|
user: string[];
|
|
109
110
|
workspace: string[];
|
|
110
111
|
workspaceFolder: string[];
|
|
@@ -667,6 +667,7 @@ let Configuration$1 = class Configuration {
|
|
|
667
667
|
const folderConfigurationModel = this.getFolderConfigurationModelForResource(undefined, workspace);
|
|
668
668
|
return {
|
|
669
669
|
default: this._defaultConfiguration.keys.slice(0),
|
|
670
|
+
policy: this._policyConfiguration.keys.slice(0),
|
|
670
671
|
user: this.userConfiguration.keys.slice(0),
|
|
671
672
|
workspace: this._workspaceConfiguration.keys.slice(0),
|
|
672
673
|
workspaceFolder: folderConfigurationModel ? folderConfigurationModel.keys.slice(0) : []
|
|
@@ -214,6 +214,12 @@ export interface IConfigurationDefaults {
|
|
|
214
214
|
source?: IExtensionInfo;
|
|
215
215
|
}
|
|
216
216
|
export type IRegisteredConfigurationPropertySchema = IConfigurationPropertySchema & {
|
|
217
|
+
section?: {
|
|
218
|
+
id?: string;
|
|
219
|
+
title?: string;
|
|
220
|
+
order?: number;
|
|
221
|
+
extensionInfo?: IExtensionInfo;
|
|
222
|
+
};
|
|
217
223
|
defaultDefaultValue?: any;
|
|
218
224
|
source?: IExtensionInfo;
|
|
219
225
|
defaultValueSource?: ConfigurationDefaultValueSource;
|
|
@@ -261,10 +267,11 @@ export declare const OVERRIDE_PROPERTY_REGEX: RegExp;
|
|
|
261
267
|
export declare function overrideIdentifiersFromKey(key: string): string[];
|
|
262
268
|
export declare function keyFromOverrideIdentifiers(overrideIdentifiers: string[]): string;
|
|
263
269
|
export declare function getDefaultValue(type: string | string[] | undefined): {} | null;
|
|
264
|
-
export declare function validateProperty(property: string, schema: IRegisteredConfigurationPropertySchema): string | null;
|
|
270
|
+
export declare function validateProperty(property: string, schema: IRegisteredConfigurationPropertySchema, extensionId?: string): string | null;
|
|
265
271
|
export declare function getScopes(): [
|
|
266
272
|
string,
|
|
267
273
|
ConfigurationScope | undefined
|
|
268
274
|
][];
|
|
269
275
|
export declare function getAllConfigurationProperties(configurationNode: IConfigurationNode[]): IStringDictionary<IRegisteredConfigurationPropertySchema>;
|
|
270
276
|
export declare function parseScope(scope: string): ConfigurationScope;
|
|
277
|
+
export declare const EXTENSION_UNIFICATION_EXTENSION_IDS: Set<string>;
|
|
@@ -7,6 +7,7 @@ import { getLanguageTagSettingPlainKey } from './configuration.js';
|
|
|
7
7
|
import { Extensions as Extensions$1 } from '../../jsonschemas/common/jsonContributionRegistry.js';
|
|
8
8
|
import { Registry } from '../../registry/common/platform.js';
|
|
9
9
|
import { Disposable } from '../../../base/common/lifecycle.js';
|
|
10
|
+
import product from '../../product/common/product.js';
|
|
10
11
|
|
|
11
12
|
var EditPresentationTypes;
|
|
12
13
|
(function (EditPresentationTypes) {
|
|
@@ -48,7 +49,7 @@ class ConfigurationRegistry extends Disposable {
|
|
|
48
49
|
this.configurationDefaultsOverrides = ( new Map());
|
|
49
50
|
this.defaultLanguageConfigurationOverridesNode = {
|
|
50
51
|
id: 'defaultOverrides',
|
|
51
|
-
title: ( localize(
|
|
52
|
+
title: ( localize(1749, "Default Language Configuration Overrides")),
|
|
52
53
|
properties: {}
|
|
53
54
|
};
|
|
54
55
|
this.configurationContributors = [this.defaultLanguageConfigurationOverridesNode];
|
|
@@ -194,10 +195,16 @@ class ConfigurationRegistry extends Disposable {
|
|
|
194
195
|
}
|
|
195
196
|
updateDefaultOverrideProperty(key, newDefaultOverride, source) {
|
|
196
197
|
const property = {
|
|
198
|
+
section: {
|
|
199
|
+
id: this.defaultLanguageConfigurationOverridesNode.id,
|
|
200
|
+
title: this.defaultLanguageConfigurationOverridesNode.title,
|
|
201
|
+
order: this.defaultLanguageConfigurationOverridesNode.order,
|
|
202
|
+
extensionInfo: this.defaultLanguageConfigurationOverridesNode.extensionInfo
|
|
203
|
+
},
|
|
197
204
|
type: 'object',
|
|
198
205
|
default: newDefaultOverride.value,
|
|
199
206
|
description: ( localize(
|
|
200
|
-
|
|
207
|
+
1750,
|
|
201
208
|
"Configure settings to be overridden for {0}.",
|
|
202
209
|
getLanguageTagSettingPlainKey(key)
|
|
203
210
|
)),
|
|
@@ -331,7 +338,13 @@ class ConfigurationRegistry extends Disposable {
|
|
|
331
338
|
if (properties) {
|
|
332
339
|
for (const key in properties) {
|
|
333
340
|
const property = properties[key];
|
|
334
|
-
|
|
341
|
+
property.section = {
|
|
342
|
+
id: configuration.id,
|
|
343
|
+
title: configuration.title,
|
|
344
|
+
order: configuration.order,
|
|
345
|
+
extensionInfo: configuration.extensionInfo
|
|
346
|
+
};
|
|
347
|
+
if (validate && validateProperty(key, property, extensionInfo?.id)) {
|
|
335
348
|
delete properties[key];
|
|
336
349
|
continue;
|
|
337
350
|
}
|
|
@@ -478,8 +491,8 @@ class ConfigurationRegistry extends Disposable {
|
|
|
478
491
|
const overrideIdentifierProperty = `[${overrideIdentifier}]`;
|
|
479
492
|
const resourceLanguagePropertiesSchema = {
|
|
480
493
|
type: 'object',
|
|
481
|
-
description: ( localize(
|
|
482
|
-
errorMessage: ( localize(
|
|
494
|
+
description: ( localize(1751, "Configure editor settings to be overridden for a language.")),
|
|
495
|
+
errorMessage: ( localize(1752, "This setting does not support per-language configuration.")),
|
|
483
496
|
$ref: resourceLanguageSettingsSchemaId,
|
|
484
497
|
};
|
|
485
498
|
this.updatePropertyDefaultValue(overrideIdentifierProperty, resourceLanguagePropertiesSchema);
|
|
@@ -495,8 +508,8 @@ class ConfigurationRegistry extends Disposable {
|
|
|
495
508
|
registerOverridePropertyPatternKey() {
|
|
496
509
|
const resourceLanguagePropertiesSchema = {
|
|
497
510
|
type: 'object',
|
|
498
|
-
description: ( localize(
|
|
499
|
-
errorMessage: ( localize(
|
|
511
|
+
description: ( localize(1751, "Configure editor settings to be overridden for a language.")),
|
|
512
|
+
errorMessage: ( localize(1752, "This setting does not support per-language configuration.")),
|
|
500
513
|
$ref: resourceLanguageSettingsSchemaId,
|
|
501
514
|
};
|
|
502
515
|
allSettings.patternProperties[OVERRIDE_PROPERTY_PATTERN] = resourceLanguagePropertiesSchema;
|
|
@@ -570,27 +583,27 @@ function getDefaultValue(type) {
|
|
|
570
583
|
}
|
|
571
584
|
const configurationRegistry = ( new ConfigurationRegistry());
|
|
572
585
|
Registry.add(Extensions.Configuration, configurationRegistry);
|
|
573
|
-
function validateProperty(property, schema) {
|
|
586
|
+
function validateProperty(property, schema, extensionId) {
|
|
574
587
|
if (!property.trim()) {
|
|
575
|
-
return localize(
|
|
588
|
+
return localize(1753, "Cannot register an empty property");
|
|
576
589
|
}
|
|
577
590
|
if (OVERRIDE_PROPERTY_REGEX.test(property)) {
|
|
578
591
|
return localize(
|
|
579
|
-
|
|
592
|
+
1754,
|
|
580
593
|
"Cannot register '{0}'. This matches property pattern '\\\\[.*\\\\]$' for describing language specific editor settings. Use 'configurationDefaults' contribution.",
|
|
581
594
|
property
|
|
582
595
|
);
|
|
583
596
|
}
|
|
584
|
-
if (configurationRegistry.getConfigurationProperties()[property] !== undefined) {
|
|
597
|
+
if (configurationRegistry.getConfigurationProperties()[property] !== undefined && (!extensionId || !( EXTENSION_UNIFICATION_EXTENSION_IDS.has(extensionId.toLowerCase())))) {
|
|
585
598
|
return localize(
|
|
586
|
-
|
|
599
|
+
1755,
|
|
587
600
|
"Cannot register '{0}'. This property is already registered.",
|
|
588
601
|
property
|
|
589
602
|
);
|
|
590
603
|
}
|
|
591
604
|
if (schema.policy?.name && configurationRegistry.getPolicyConfigurations().get(schema.policy?.name) !== undefined) {
|
|
592
605
|
return localize(
|
|
593
|
-
|
|
606
|
+
1756,
|
|
594
607
|
"Cannot register '{0}'. The associated policy {1} is already registered with {2}.",
|
|
595
608
|
property,
|
|
596
609
|
schema.policy?.name,
|
|
@@ -640,5 +653,6 @@ function parseScope(scope) {
|
|
|
640
653
|
return ConfigurationScope.WINDOW;
|
|
641
654
|
}
|
|
642
655
|
}
|
|
656
|
+
const EXTENSION_UNIFICATION_EXTENSION_IDS = ( new Set(product.defaultChatAgent ? ( [product.defaultChatAgent.extensionId, product.defaultChatAgent.chatExtensionId].map(id => id.toLowerCase())) : []));
|
|
643
657
|
|
|
644
|
-
export { ConfigurationScope, EditPresentationTypes, Extensions, OVERRIDE_PROPERTY_PATTERN, OVERRIDE_PROPERTY_REGEX, allSettings, applicationMachineSettings, applicationSettings, configurationDefaultsSchemaId, getAllConfigurationProperties, getDefaultValue, getScopes, keyFromOverrideIdentifiers, machineOverridableSettings, machineSettings, overrideIdentifiersFromKey, parseScope, resourceLanguageSettingsSchemaId, resourceSettings, validateProperty, windowSettings };
|
|
658
|
+
export { ConfigurationScope, EXTENSION_UNIFICATION_EXTENSION_IDS, EditPresentationTypes, Extensions, OVERRIDE_PROPERTY_PATTERN, OVERRIDE_PROPERTY_REGEX, allSettings, applicationMachineSettings, applicationSettings, configurationDefaultsSchemaId, getAllConfigurationProperties, getDefaultValue, getScopes, keyFromOverrideIdentifiers, machineOverridableSettings, machineSettings, overrideIdentifiersFromKey, parseScope, resourceLanguageSettingsSchemaId, resourceSettings, validateProperty, windowSettings };
|
|
@@ -1,10 +1,9 @@
|
|
|
1
1
|
import { Event, PauseableEmitter } from "../../../base/common/event.js";
|
|
2
2
|
import { Disposable } from "../../../base/common/lifecycle.js";
|
|
3
3
|
import { IConfigurationService } from "../../configuration/common/configuration.service.js";
|
|
4
|
+
import { ServicesAccessor } from "../../instantiation/common/instantiation.js";
|
|
4
5
|
import { ContextKeyExpression, ContextKeyValue, IContext, IContextKey, IContextKeyChangeEvent, IContextKeyServiceTarget, IScopedContextKeyService } from "../common/contextkey.js";
|
|
5
6
|
import { IContextKeyService } from "../common/contextkey.service.js";
|
|
6
|
-
import { ServicesAccessor } from "../../instantiation/common/instantiation.js";
|
|
7
|
-
import { ILayoutService } from "../../layout/browser/layoutService.service.js";
|
|
8
7
|
export declare class Context implements IContext {
|
|
9
8
|
protected _parent: Context | null;
|
|
10
9
|
protected _value: Record<string, any>;
|
|
@@ -47,7 +46,7 @@ export declare class ContextKeyService extends AbstractContextKeyService impleme
|
|
|
47
46
|
private _lastContextId;
|
|
48
47
|
private readonly _contexts;
|
|
49
48
|
private inputFocusedContext;
|
|
50
|
-
constructor(configurationService: IConfigurationService
|
|
49
|
+
constructor(configurationService: IConfigurationService);
|
|
51
50
|
private updateInputContextKeys;
|
|
52
51
|
getContextValuesContainer(contextId: number): Context;
|
|
53
52
|
createChildContext(parentContextId?: number): number;
|
|
@@ -1,5 +1,7 @@
|
|
|
1
1
|
|
|
2
2
|
import { __decorate, __param } from '../../../../../../external/tslib/tslib.es6.js';
|
|
3
|
+
import { onDidRegisterWindow, trackActiveElement, getActiveElement, isEditableElement, trackFocus, getActiveDocument } from '../../../base/browser/dom.js';
|
|
4
|
+
import { mainWindow } from '../../../base/browser/window.js';
|
|
3
5
|
import { PauseableEmitter, Event } from '../../../base/common/event.js';
|
|
4
6
|
import { Iterable } from '../../../base/common/iterator.js';
|
|
5
7
|
import { Disposable, MutableDisposable, DisposableStore } from '../../../base/common/lifecycle.js';
|
|
@@ -14,9 +16,6 @@ import { IConfigurationService } from '../../configuration/common/configuration.
|
|
|
14
16
|
import { RawContextKey } from '../common/contextkey.js';
|
|
15
17
|
import { IContextKeyService } from '../common/contextkey.service.js';
|
|
16
18
|
import { InputFocusedContext } from '../common/contextkeys.js';
|
|
17
|
-
import { mainWindow } from '../../../base/browser/window.js';
|
|
18
|
-
import { onDidRegisterWindow, addDisposableListener, EventType, getActiveElement, isEditableElement, trackFocus, getActiveDocument } from '../../../base/browser/dom.js';
|
|
19
|
-
import { ILayoutService } from '../../layout/browser/layoutService.service.js';
|
|
20
19
|
|
|
21
20
|
const KEYBINDING_CONTEXT_ATTR = 'data-keybinding-context';
|
|
22
21
|
class Context {
|
|
@@ -302,7 +301,7 @@ class AbstractContextKeyService extends Disposable {
|
|
|
302
301
|
}
|
|
303
302
|
}
|
|
304
303
|
let ContextKeyService = class ContextKeyService extends AbstractContextKeyService {
|
|
305
|
-
constructor(configurationService
|
|
304
|
+
constructor(configurationService) {
|
|
306
305
|
super(0);
|
|
307
306
|
this._contexts = ( new Map());
|
|
308
307
|
this._lastContextId = 0;
|
|
@@ -311,21 +310,20 @@ let ContextKeyService = class ContextKeyService extends AbstractContextKeyServic
|
|
|
311
310
|
this._contexts.set(this._myContextId, myContext);
|
|
312
311
|
this._register(Event.runAndSubscribe(onDidRegisterWindow, ({ window, disposables }) => {
|
|
313
312
|
const onFocusDisposables = disposables.add(( new MutableDisposable()));
|
|
314
|
-
disposables.add(
|
|
313
|
+
const activeElementTracker = disposables.add(trackActiveElement(window));
|
|
314
|
+
activeElementTracker.onDidChangeActiveElement((activeElement) => {
|
|
315
315
|
onFocusDisposables.value = ( new DisposableStore());
|
|
316
|
-
this.updateInputContextKeys(window.document, onFocusDisposables.value);
|
|
317
|
-
}
|
|
316
|
+
this.updateInputContextKeys(window.document, activeElement, onFocusDisposables.value);
|
|
317
|
+
});
|
|
318
318
|
}, { window: mainWindow, disposables: this._store }));
|
|
319
319
|
}
|
|
320
|
-
updateInputContextKeys(ownerDocument, disposables) {
|
|
321
|
-
function activeElementIsInput() {
|
|
322
|
-
const activeElement = getActiveElement(ownerDocument);
|
|
320
|
+
updateInputContextKeys(ownerDocument, activeElement, disposables) {
|
|
321
|
+
function activeElementIsInput(activeElement = getActiveElement(ownerDocument)) {
|
|
323
322
|
return !!activeElement && isEditableElement(activeElement);
|
|
324
323
|
}
|
|
325
|
-
const isInputFocused = activeElementIsInput();
|
|
324
|
+
const isInputFocused = activeElementIsInput(activeElement);
|
|
326
325
|
this.inputFocusedContext.set(isInputFocused);
|
|
327
326
|
if (isInputFocused) {
|
|
328
|
-
const activeElement = getActiveElement(ownerDocument);
|
|
329
327
|
const tracker = disposables.add(trackFocus(activeElement));
|
|
330
328
|
Event.once(tracker.onDidBlur)(() => {
|
|
331
329
|
if (getActiveDocument() === ownerDocument) {
|
|
@@ -359,8 +357,7 @@ let ContextKeyService = class ContextKeyService extends AbstractContextKeyServic
|
|
|
359
357
|
}
|
|
360
358
|
};
|
|
361
359
|
ContextKeyService = ( __decorate([
|
|
362
|
-
( __param(0, IConfigurationService))
|
|
363
|
-
( __param(1, ILayoutService))
|
|
360
|
+
( __param(0, IConfigurationService))
|
|
364
361
|
], ContextKeyService));
|
|
365
362
|
class ScopedContextKeyService extends AbstractContextKeyService {
|
|
366
363
|
constructor(parent, domNode) {
|
|
@@ -518,7 +515,7 @@ CommandsRegistry.registerCommand({
|
|
|
518
515
|
return [...RawContextKey.all()].sort((a, b) => a.key.localeCompare(b.key));
|
|
519
516
|
},
|
|
520
517
|
metadata: {
|
|
521
|
-
description: ( localize(
|
|
518
|
+
description: ( localize(1757, "A command that returns information about context keys")),
|
|
522
519
|
args: []
|
|
523
520
|
}
|
|
524
521
|
});
|
|
@@ -47,17 +47,17 @@ var ContextKeyExprType;
|
|
|
47
47
|
const defaultConfig = {
|
|
48
48
|
regexParsingWithErrorRecovery: true
|
|
49
49
|
};
|
|
50
|
-
const errorEmptyString = ( localize(
|
|
50
|
+
const errorEmptyString = ( localize(1758, "Empty context key expression"));
|
|
51
51
|
const hintEmptyString = ( localize(
|
|
52
|
-
|
|
52
|
+
1759,
|
|
53
53
|
"Did you forget to write an expression? You can also put 'false' or 'true' to always evaluate to false or true, respectively."
|
|
54
54
|
));
|
|
55
|
-
const errorNoInAfterNot = ( localize(
|
|
56
|
-
const errorClosingParenthesis = ( localize(
|
|
57
|
-
const errorUnexpectedToken = ( localize(
|
|
58
|
-
const hintUnexpectedToken = ( localize(
|
|
59
|
-
const errorUnexpectedEOF = ( localize(
|
|
60
|
-
const hintUnexpectedEOF = ( localize(
|
|
55
|
+
const errorNoInAfterNot = ( localize(1760, "'in' after 'not'."));
|
|
56
|
+
const errorClosingParenthesis = ( localize(1761, "closing parenthesis ')'"));
|
|
57
|
+
const errorUnexpectedToken = ( localize(1762, "Unexpected token"));
|
|
58
|
+
const hintUnexpectedToken = ( localize(1763, "Did you forget to put && or || before the token?"));
|
|
59
|
+
const errorUnexpectedEOF = ( localize(1764, "Unexpected end of expression"));
|
|
60
|
+
const hintUnexpectedEOF = ( localize(1765, "Did you forget to put a context key?"));
|
|
61
61
|
class Parser {
|
|
62
62
|
static { this._parseError = ( new Error()); }
|
|
63
63
|
get lexingErrors() {
|
|
@@ -369,7 +369,7 @@ class Parser {
|
|
|
369
369
|
throw this._errExpectedButGot(message, this._peek());
|
|
370
370
|
}
|
|
371
371
|
_errExpectedButGot(expected, got, additionalInfo) {
|
|
372
|
-
const message = ( localize(
|
|
372
|
+
const message = ( localize(1766, "Expected: {0}\nReceived: '{1}'.", expected, Scanner.getLexeme(got)));
|
|
373
373
|
const offset = got.offset;
|
|
374
374
|
const lexeme = Scanner.getLexeme(got);
|
|
375
375
|
this._parsingErrors.push({ message, offset, lexeme, additionalInfo });
|
|
@@ -447,8 +447,8 @@ function validateWhenClauses(whenClauses) {
|
|
|
447
447
|
if (parser.lexingErrors.length > 0) {
|
|
448
448
|
return (parser.lexingErrors.map((se) => ({
|
|
449
449
|
errorMessage: se.additionalInfo ?
|
|
450
|
-
( localize(
|
|
451
|
-
( localize(
|
|
450
|
+
( localize(1767, "Unexpected token. Hint: {0}", se.additionalInfo)) :
|
|
451
|
+
( localize(1768, "Unexpected token.")),
|
|
452
452
|
offset: se.offset,
|
|
453
453
|
length: se.lexeme.length,
|
|
454
454
|
})));
|
|
@@ -3,7 +3,7 @@ import { IContextKeyChangeEvent, ContextKeyValue, IContextKey, ContextKeyExpress
|
|
|
3
3
|
export declare const IContextKeyService: import("../../instantiation/common/instantiation.js").ServiceIdentifier<IContextKeyService>;
|
|
4
4
|
export interface IContextKeyService {
|
|
5
5
|
readonly _serviceBrand: undefined;
|
|
6
|
-
onDidChangeContext: Event<IContextKeyChangeEvent>;
|
|
6
|
+
readonly onDidChangeContext: Event<IContextKeyChangeEvent>;
|
|
7
7
|
bufferChangeEvents(callback: Function): void;
|
|
8
8
|
createKey<T extends ContextKeyValue>(key: string, defaultValue: T | undefined): IContextKey<T>;
|
|
9
9
|
contextMatchesRules(rules: ContextKeyExpression | undefined): boolean;
|
|
@@ -3,16 +3,16 @@ import { isMacintosh, isLinux, isWindows, isWeb, isIOS, isMobile } from '../../.
|
|
|
3
3
|
import { localize } from '../../../nls.js';
|
|
4
4
|
import { RawContextKey } from './contextkey.js';
|
|
5
5
|
|
|
6
|
-
const IsMacContext = ( new RawContextKey('isMac', isMacintosh, ( localize(
|
|
7
|
-
const IsLinuxContext = ( new RawContextKey('isLinux', isLinux, ( localize(
|
|
8
|
-
const IsWindowsContext = ( new RawContextKey('isWindows', isWindows, ( localize(
|
|
9
|
-
const IsWebContext = ( new RawContextKey('isWeb', isWeb, ( localize(
|
|
10
|
-
const IsMacNativeContext = ( new RawContextKey('isMacNative', isMacintosh && !isWeb, ( localize(
|
|
11
|
-
const IsIOSContext = ( new RawContextKey('isIOS', isIOS, ( localize(
|
|
12
|
-
const IsMobileContext = ( new RawContextKey('isMobile', isMobile, ( localize(
|
|
6
|
+
const IsMacContext = ( new RawContextKey('isMac', isMacintosh, ( localize(1769, "Whether the operating system is macOS"))));
|
|
7
|
+
const IsLinuxContext = ( new RawContextKey('isLinux', isLinux, ( localize(1770, "Whether the operating system is Linux"))));
|
|
8
|
+
const IsWindowsContext = ( new RawContextKey('isWindows', isWindows, ( localize(1771, "Whether the operating system is Windows"))));
|
|
9
|
+
const IsWebContext = ( new RawContextKey('isWeb', isWeb, ( localize(1772, "Whether the platform is a web browser"))));
|
|
10
|
+
const IsMacNativeContext = ( new RawContextKey('isMacNative', isMacintosh && !isWeb, ( localize(1773, "Whether the operating system is macOS on a non-browser platform"))));
|
|
11
|
+
const IsIOSContext = ( new RawContextKey('isIOS', isIOS, ( localize(1774, "Whether the operating system is iOS"))));
|
|
12
|
+
const IsMobileContext = ( new RawContextKey('isMobile', isMobile, ( localize(1775, "Whether the platform is a mobile web browser"))));
|
|
13
13
|
const IsDevelopmentContext = ( new RawContextKey('isDevelopment', false, true));
|
|
14
|
-
const ProductQualityContext = ( new RawContextKey('productQualityType', '', ( localize(
|
|
14
|
+
const ProductQualityContext = ( new RawContextKey('productQualityType', '', ( localize(1776, "Quality type of VS Code"))));
|
|
15
15
|
const InputFocusedContextKey = 'inputFocus';
|
|
16
|
-
const InputFocusedContext = ( new RawContextKey(InputFocusedContextKey, false, ( localize(
|
|
16
|
+
const InputFocusedContext = ( new RawContextKey(InputFocusedContextKey, false, ( localize(1777, "Whether keyboard focus is inside an input box"))));
|
|
17
17
|
|
|
18
18
|
export { InputFocusedContext, InputFocusedContextKey, IsDevelopmentContext, IsIOSContext, IsLinuxContext, IsMacContext, IsMacNativeContext, IsMobileContext, IsWebContext, IsWindowsContext, ProductQualityContext };
|
|
@@ -30,18 +30,18 @@ var TokenType;
|
|
|
30
30
|
function hintDidYouMean(...meant) {
|
|
31
31
|
switch (meant.length) {
|
|
32
32
|
case 1:
|
|
33
|
-
return localize(
|
|
33
|
+
return localize(1778, "Did you mean {0}?", meant[0]);
|
|
34
34
|
case 2:
|
|
35
|
-
return localize(
|
|
35
|
+
return localize(1779, "Did you mean {0} or {1}?", meant[0], meant[1]);
|
|
36
36
|
case 3:
|
|
37
|
-
return localize(
|
|
37
|
+
return localize(1780, "Did you mean {0}, {1} or {2}?", meant[0], meant[1], meant[2]);
|
|
38
38
|
default:
|
|
39
39
|
return undefined;
|
|
40
40
|
}
|
|
41
41
|
}
|
|
42
|
-
const hintDidYouForgetToOpenOrCloseQuote = ( localize(
|
|
42
|
+
const hintDidYouForgetToOpenOrCloseQuote = ( localize(1781, "Did you forget to open or close the quote?"));
|
|
43
43
|
const hintDidYouForgetToEscapeSlash = ( localize(
|
|
44
|
-
|
|
44
|
+
1782,
|
|
45
45
|
"Did you forget to escape the '/' (slash) character? Put two backslashes before it to escape, e.g., '\\\\/\'."
|
|
46
46
|
));
|
|
47
47
|
class Scanner {
|
|
@@ -60,7 +60,7 @@ let DataChannelForwardingTelemetryService = class DataChannelForwardingTelemetry
|
|
|
60
60
|
forward = Boolean(data[shouldForwardToChannel]);
|
|
61
61
|
}
|
|
62
62
|
if (forward) {
|
|
63
|
-
dataChannelService.getDataChannel('editTelemetry').sendData({ eventName, data: data });
|
|
63
|
+
dataChannelService.getDataChannel('editTelemetry').sendData({ eventName, data: data ?? {} });
|
|
64
64
|
}
|
|
65
65
|
});
|
|
66
66
|
}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { Event } from "../../../base/common/event.js";
|
|
2
2
|
import { URI } from "../../../base/common/uri.js";
|
|
3
|
-
import { IConfirmation, IConfirmationResult, IPromptWithCustomCancel, IPromptResultWithCancel, IPromptWithDefaultCancel, IPromptResult, IPrompt, IInput, IInputResult, type ConfirmResult, type IOpenDialogOptions, type IPickAndOpenOptions, type ISaveDialogOptions } from "@codingame/monaco-vscode-
|
|
3
|
+
import { IConfirmation, IConfirmationResult, IPromptWithCustomCancel, IPromptResultWithCancel, IPromptWithDefaultCancel, IPromptResult, IPrompt, IInput, IInputResult, type ConfirmResult, type IOpenDialogOptions, type IPickAndOpenOptions, type ISaveDialogOptions } from "@codingame/monaco-vscode-3b5a5cd1-d4ff-500a-b609-57e0cd4afa0a-common/vscode/vs/platform/dialogs/common/dialogs";
|
|
4
4
|
export declare const IDialogService: import("../../instantiation/common/instantiation.js").ServiceIdentifier<IDialogService>;
|
|
5
5
|
/**
|
|
6
6
|
* A service to bring up modal dialogs.
|
|
@@ -13,11 +13,11 @@ export interface IDialogService {
|
|
|
13
13
|
/**
|
|
14
14
|
* An event that fires when a dialog is about to show.
|
|
15
15
|
*/
|
|
16
|
-
onWillShowDialog: Event<void>;
|
|
16
|
+
readonly onWillShowDialog: Event<void>;
|
|
17
17
|
/**
|
|
18
18
|
* An event that fires when a dialog did show (closed).
|
|
19
19
|
*/
|
|
20
|
-
onDidShowDialog: Event<void>;
|
|
20
|
+
readonly onDidShowDialog: Event<void>;
|
|
21
21
|
/**
|
|
22
22
|
* Ask the user for confirmation with a modal dialog.
|
|
23
23
|
*/
|