@codingame/monaco-vscode-api 22.1.8 → 23.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/extensions.d.ts +1 -1
- package/extensions.js +4 -3
- package/external/vscode-semver/semver.js +43 -43
- package/missing-services.js +170 -43
- package/package.json +10 -10
- package/services.d.ts +4 -4
- package/services.js +3 -4
- package/vscode/product.json.js +1 -1
- package/vscode/src/vs/base/browser/browser.d.ts +7 -0
- package/vscode/src/vs/base/browser/browser.js +5 -2
- package/vscode/src/vs/base/browser/dom.d.ts +11 -9
- package/vscode/src/vs/base/browser/dom.js +13 -6
- package/vscode/src/vs/base/browser/domSanitize.d.ts +1 -1
- package/vscode/src/vs/base/browser/domSanitize.js +29 -21
- package/vscode/src/vs/base/browser/formattedTextRenderer.js +2 -2
- package/vscode/src/vs/base/browser/history.d.ts +2 -2
- package/vscode/src/vs/base/browser/keyboardEvent.d.ts +6 -0
- package/vscode/src/vs/base/browser/keyboardEvent.js +4 -1
- package/vscode/src/vs/base/browser/markdownRenderer.d.ts +5 -4
- package/vscode/src/vs/base/browser/markdownRenderer.js +49 -2
- package/vscode/src/vs/base/browser/trustedTypes.d.ts +3 -1
- package/vscode/src/vs/base/browser/trustedTypes.js +2 -1
- package/vscode/src/vs/base/browser/ui/button/button.js +2 -8
- package/vscode/src/vs/base/browser/ui/codicons/codicon/codicon.ttf +0 -0
- package/vscode/src/vs/base/browser/ui/countBadge/countBadge.css +1 -1
- package/vscode/src/vs/base/browser/ui/findinput/findInput.d.ts +2 -0
- package/vscode/src/vs/base/browser/ui/findinput/findInput.js +4 -5
- package/vscode/src/vs/base/browser/ui/findinput/findInputToggles.d.ts +2 -2
- package/vscode/src/vs/base/browser/ui/findinput/findInputToggles.js +3 -4
- package/vscode/src/vs/base/browser/ui/findinput/replaceInput.d.ts +2 -0
- package/vscode/src/vs/base/browser/ui/findinput/replaceInput.js +2 -2
- package/vscode/src/vs/base/browser/ui/highlightedlabel/highlightedLabel.d.ts +1 -6
- package/vscode/src/vs/base/browser/ui/highlightedlabel/highlightedLabel.js +6 -7
- package/vscode/src/vs/base/browser/ui/hover/hover.d.ts +14 -0
- package/vscode/src/vs/base/browser/ui/hover/hover.js +6 -1
- package/vscode/src/vs/base/browser/ui/iconLabel/iconLabel.d.ts +4 -1
- package/vscode/src/vs/base/browser/ui/iconLabel/iconLabel.js +20 -13
- package/vscode/src/vs/base/browser/ui/iconLabel/iconlabel.css +7 -3
- package/vscode/src/vs/base/browser/ui/list/listPaging.d.ts +3 -2
- package/vscode/src/vs/base/browser/ui/list/listPaging.js +5 -1
- package/vscode/src/vs/base/browser/ui/list/listView.d.ts +2 -1
- package/vscode/src/vs/base/browser/ui/list/listView.js +4 -3
- package/vscode/src/vs/base/browser/ui/list/listWidget.d.ts +1 -1
- package/vscode/src/vs/base/browser/ui/list/listWidget.js +5 -5
- package/vscode/src/vs/base/browser/ui/progressbar/progressAccessibilitySignal.d.ts +2 -2
- package/vscode/src/vs/base/browser/ui/progressbar/progressAccessibilitySignal.js +3 -3
- package/vscode/src/vs/base/browser/ui/progressbar/progressbar.js +2 -2
- package/vscode/src/vs/base/browser/ui/sash/sash.css +1 -1
- package/vscode/src/vs/base/browser/ui/scrollbar/media/scrollbars.css +4 -0
- package/vscode/src/vs/base/browser/ui/scrollbar/scrollableElement.js +1 -1
- package/vscode/src/vs/base/browser/ui/selectBox/selectBoxCustom.d.ts +1 -0
- package/vscode/src/vs/base/browser/ui/selectBox/selectBoxCustom.js +6 -3
- package/vscode/src/vs/base/browser/ui/table/table.css +2 -2
- package/vscode/src/vs/base/browser/ui/toggle/toggle.d.ts +7 -7
- package/vscode/src/vs/base/browser/ui/toggle/toggle.js +12 -9
- package/vscode/src/vs/base/browser/ui/toolbar/toolbar.css +7 -0
- package/vscode/src/vs/base/browser/ui/toolbar/toolbar.d.ts +10 -0
- package/vscode/src/vs/base/browser/ui/toolbar/toolbar.js +91 -13
- package/vscode/src/vs/base/browser/ui/tree/abstractTree.d.ts +12 -12
- package/vscode/src/vs/base/browser/ui/tree/abstractTree.js +11 -10
- package/vscode/src/vs/base/browser/ui/tree/asyncDataTree.js +6 -4
- package/vscode/src/vs/base/browser/ui/tree/dataTree.d.ts +1 -1
- package/vscode/src/vs/base/browser/ui/tree/indexTreeModel.js +1 -1
- package/vscode/src/vs/base/browser/ui/tree/media/tree.css +2 -2
- package/vscode/src/vs/base/browser/ui/tree/objectTree.d.ts +2 -2
- package/vscode/src/vs/base/browser/ui/tree/tree.d.ts +1 -1
- package/vscode/src/vs/base/browser/webWorkerFactory.js +2 -1
- package/vscode/src/vs/base/common/actions.d.ts +5 -0
- package/vscode/src/vs/base/common/arrays.d.ts +2 -0
- package/vscode/src/vs/base/common/arrays.js +11 -1
- package/vscode/src/vs/base/common/arraysFind.d.ts +6 -3
- package/vscode/src/vs/base/common/arraysFind.js +18 -2
- package/vscode/src/vs/base/common/async.d.ts +13 -3
- package/vscode/src/vs/base/common/async.js +15 -7
- package/vscode/src/vs/base/common/cache.d.ts +11 -0
- package/vscode/src/vs/base/common/codicons.d.ts +26 -4
- package/vscode/src/vs/base/common/codiconsLibrary.d.ts +26 -4
- package/vscode/src/vs/base/common/codiconsLibrary.js +26 -4
- package/vscode/src/vs/base/common/collections.d.ts +1 -1
- package/vscode/src/vs/base/common/decorators/cancelPreviousCalls.d.ts +1 -1
- package/vscode/src/vs/base/common/extpath.js +4 -4
- package/vscode/src/vs/base/common/glob.d.ts +7 -3
- package/vscode/src/vs/base/common/glob.js +40 -32
- package/vscode/src/vs/base/common/history.d.ts +2 -2
- package/vscode/src/vs/base/common/htmlContent.d.ts +4 -0
- package/vscode/src/vs/base/common/htmlContent.js +5 -1
- package/vscode/src/vs/base/common/jsonSchema.d.ts +45 -17
- package/vscode/src/vs/base/common/lifecycle.d.ts +18 -3
- package/vscode/src/vs/base/common/lifecycle.js +3 -1
- package/vscode/src/vs/base/common/network.d.ts +6 -2
- package/vscode/src/vs/base/common/network.js +2 -1
- package/vscode/src/vs/base/common/oauth.d.ts +128 -3
- package/vscode/src/vs/base/common/oauth.js +83 -18
- package/vscode/src/vs/base/common/observableInternal/observables/derived.d.ts +2 -2
- package/vscode/src/vs/base/common/observableInternal/observables/derived.js +3 -1
- package/vscode/src/vs/base/common/observableInternal/utils/promise.d.ts +1 -0
- package/vscode/src/vs/base/common/observableInternal/utils/promise.js +3 -0
- package/vscode/src/vs/base/common/platform.d.ts +1 -0
- package/vscode/src/vs/base/common/policy.d.ts +33 -2
- package/vscode/src/vs/base/common/policy.js +13 -0
- package/vscode/src/vs/base/common/product.d.ts +2 -0
- package/vscode/src/vs/base/common/strings.d.ts +2 -0
- package/vscode/src/vs/base/common/strings.js +9 -7
- package/vscode/src/vs/base/common/themables.d.ts +8 -0
- package/vscode/src/vs/base/common/themables.js +8 -0
- package/vscode/src/vs/base/common/types.d.ts +37 -0
- package/vscode/src/vs/base/common/types.js +14 -3
- package/vscode/src/vs/base/common/validation.d.ts +62 -0
- package/vscode/src/vs/base/common/validation.js +182 -0
- package/vscode/src/vs/base/common/worker/webWorker.d.ts +15 -14
- package/vscode/src/vs/base/common/worker/webWorker.js +28 -14
- package/vscode/src/vs/base/parts/storage/common/storage.js +1 -1
- package/vscode/src/vs/editor/browser/config/editorConfiguration.js +2 -2
- package/vscode/src/vs/editor/browser/config/migrateOptions.d.ts +5 -5
- package/vscode/src/vs/editor/browser/config/migrateOptions.js +1 -1
- package/vscode/src/vs/editor/browser/controller/editContext/native/nativeEditContext.d.ts +5 -2
- package/vscode/src/vs/editor/browser/controller/editContext/native/nativeEditContext.js +19 -12
- package/vscode/src/vs/editor/browser/controller/editContext/native/nativeEditContextUtils.d.ts +1 -1
- package/vscode/src/vs/editor/browser/controller/mouseHandler.js +2 -1
- package/vscode/src/vs/editor/browser/controller/mouseTarget.js +1 -1
- package/vscode/src/vs/editor/browser/coreCommands.js +4 -2
- package/vscode/src/vs/editor/browser/editorBrowser.d.ts +17 -9
- package/vscode/src/vs/editor/browser/editorExtensions.d.ts +17 -15
- package/vscode/src/vs/editor/browser/editorExtensions.js +5 -0
- package/vscode/src/vs/editor/browser/services/abstractCodeEditorService.d.ts +7 -7
- package/vscode/src/vs/editor/browser/services/bulkEditService.d.ts +2 -2
- package/vscode/src/vs/editor/browser/services/codeEditorService.service.d.ts +5 -5
- package/vscode/src/vs/editor/browser/services/editorWorkerService.d.ts +2 -2
- package/vscode/src/vs/editor/browser/services/inlineCompletionsService.js +12 -12
- package/vscode/src/vs/editor/browser/services/inlineCompletionsService.service.d.ts +1 -1
- package/vscode/src/vs/editor/browser/triggerInlineEditCommandsRegistry.d.ts +8 -0
- package/vscode/src/vs/editor/browser/triggerInlineEditCommandsRegistry.js +13 -0
- package/vscode/src/vs/editor/browser/view/viewLayer.js +1 -1
- package/vscode/src/vs/editor/browser/view.d.ts +1 -1
- package/vscode/src/vs/editor/browser/viewParts/viewZones/viewZones.d.ts +1 -1
- package/vscode/src/vs/editor/browser/viewParts/viewZones/viewZones.js +1 -0
- package/vscode/src/vs/editor/browser/widget/codeEditor/codeEditorContributions.d.ts +2 -2
- package/vscode/src/vs/editor/browser/widget/codeEditor/codeEditorWidget.d.ts +6 -7
- package/vscode/src/vs/editor/browser/widget/codeEditor/codeEditorWidget.js +6 -3
- package/vscode/src/vs/editor/browser/widget/diffEditor/commands.js +12 -12
- package/vscode/src/vs/editor/browser/widget/diffEditor/components/accessibleDiffViewer.d.ts +1 -3
- package/vscode/src/vs/editor/browser/widget/diffEditor/components/accessibleDiffViewer.js +18 -18
- package/vscode/src/vs/editor/browser/widget/diffEditor/components/diffEditorEditors.js +1 -1
- package/vscode/src/vs/editor/browser/widget/diffEditor/components/diffEditorViewZones/copySelection.d.ts +18 -0
- package/vscode/src/vs/editor/browser/widget/diffEditor/components/diffEditorViewZones/copySelection.js +44 -0
- package/vscode/src/vs/editor/browser/widget/diffEditor/components/diffEditorViewZones/diffEditorViewZones.js +4 -3
- package/vscode/src/vs/editor/browser/widget/diffEditor/components/diffEditorViewZones/inlineDiffDeletedCodeMargin.d.ts +4 -2
- package/vscode/src/vs/editor/browser/widget/diffEditor/components/diffEditorViewZones/inlineDiffDeletedCodeMargin.js +24 -27
- package/vscode/src/vs/editor/browser/widget/diffEditor/components/diffEditorViewZones/renderLines.d.ts +21 -4
- package/vscode/src/vs/editor/browser/widget/diffEditor/components/diffEditorViewZones/renderLines.js +75 -10
- package/vscode/src/vs/editor/browser/widget/diffEditor/delegatingEditorImpl.d.ts +2 -2
- package/vscode/src/vs/editor/browser/widget/diffEditor/diffEditor.contribution.js +5 -5
- package/vscode/src/vs/editor/browser/widget/diffEditor/diffEditorViewModel.js +1 -1
- package/vscode/src/vs/editor/browser/widget/diffEditor/diffEditorWidget.d.ts +2 -1
- package/vscode/src/vs/editor/browser/widget/diffEditor/diffEditorWidget.js +13 -3
- package/vscode/src/vs/editor/browser/widget/diffEditor/features/hideUnchangedRegionsFeature.js +8 -8
- package/vscode/src/vs/editor/browser/widget/diffEditor/features/movedBlocksLinesFeature.js +4 -4
- package/vscode/src/vs/editor/browser/widget/diffEditor/features/revertButtonsFeature.js +2 -2
- package/vscode/src/vs/editor/browser/widget/diffEditor/registrations.contribution.js +5 -5
- package/vscode/src/vs/editor/browser/widget/diffEditor/style.css +11 -0
- package/vscode/src/vs/editor/browser/widget/markdownRenderer/browser/editorMarkdownCodeBlockRenderer.d.ts +14 -0
- package/vscode/src/vs/editor/browser/widget/markdownRenderer/browser/editorMarkdownCodeBlockRenderer.js +68 -0
- package/vscode/src/vs/editor/common/config/editorConfiguration.d.ts +2 -2
- package/vscode/src/vs/editor/common/config/editorConfigurationSchema.js +54 -54
- package/vscode/src/vs/editor/common/config/editorOptions.d.ts +15 -25
- package/vscode/src/vs/editor/common/config/editorOptions.js +530 -473
- package/vscode/src/vs/editor/common/config/editorZoom.d.ts +1 -1
- package/vscode/src/vs/editor/common/config/fontInfo.d.ts +31 -17
- package/vscode/src/vs/editor/common/config/fontInfo.js +16 -25
- package/vscode/src/vs/editor/common/config/fontInfoFromSettings.d.ts +11 -0
- package/vscode/src/vs/editor/common/config/fontInfoFromSettings.js +26 -0
- package/vscode/src/vs/editor/common/core/editorColorRegistry.js +71 -71
- package/vscode/src/vs/editor/common/core/position.d.ts +1 -1
- package/vscode/src/vs/editor/common/core/position.js +1 -1
- package/vscode/src/vs/editor/common/core/range.d.ts +1 -1
- package/vscode/src/vs/editor/common/core/range.js +1 -1
- package/vscode/src/vs/editor/common/core/selection.d.ts +1 -1
- package/vscode/src/vs/editor/common/core/selection.js +1 -1
- package/vscode/src/vs/editor/common/core/text/abstractText.d.ts +3 -2
- package/vscode/src/vs/editor/common/core/text/abstractText.js +4 -1
- package/vscode/src/vs/editor/common/cursor/cursorMoveCommands.d.ts +2 -0
- package/vscode/src/vs/editor/common/cursor/cursorMoveCommands.js +10 -1
- package/vscode/src/vs/editor/common/cursor/cursorWordOperations.js +8 -0
- package/vscode/src/vs/editor/common/editorCommon.d.ts +5 -5
- package/vscode/src/vs/editor/common/editorCommon.js +1 -1
- package/vscode/src/vs/editor/common/editorContextKeys.d.ts +1 -0
- package/vscode/src/vs/editor/common/editorContextKeys.js +47 -46
- package/vscode/src/vs/editor/common/languages/language.service.d.ts +3 -3
- package/vscode/src/vs/editor/common/languages/languageConfigurationRegistry.service.d.ts +1 -1
- package/vscode/src/vs/editor/common/languages/modesRegistry.js +1 -1
- package/vscode/src/vs/editor/common/languages/textToHtmlTokenizer.js +22 -11
- package/vscode/src/vs/editor/common/languages.d.ts +38 -33
- package/vscode/src/vs/editor/common/languages.js +74 -64
- package/vscode/src/vs/editor/common/model/decorationProvider.d.ts +1 -1
- package/vscode/src/vs/editor/common/model/editStack.js +1 -1
- package/vscode/src/vs/editor/common/model/textModel.d.ts +2 -2
- package/vscode/src/vs/editor/common/model/textModel.js +4 -3
- package/vscode/src/vs/editor/common/model/tokens/treeSitter/tokenStore.d.ts +2 -2
- package/vscode/src/vs/editor/common/model/tokens/treeSitter/tokenStore.js +1 -1
- package/vscode/src/vs/editor/common/model/tokens/treeSitter/treeSitterSyntaxTokenBackend.js +1 -1
- package/vscode/src/vs/editor/common/model.d.ts +2 -2
- package/vscode/src/vs/editor/common/model.js +1 -1
- package/vscode/src/vs/editor/common/services/editorWebWorker.d.ts +3 -3
- package/vscode/src/vs/editor/common/services/editorWebWorker.js +1 -0
- package/vscode/src/vs/editor/common/services/editorWorkerHost.d.ts +2 -2
- package/vscode/src/vs/editor/common/services/markerDecorations.service.d.ts +1 -1
- package/vscode/src/vs/editor/common/services/modelService.d.ts +5 -5
- package/vscode/src/vs/editor/common/services/modelService.js +16 -23
- package/vscode/src/vs/editor/common/services/textModelSync/textModelSync.impl.d.ts +1 -1
- package/vscode/src/vs/editor/common/services/textResourceConfiguration.service.d.ts +1 -1
- package/vscode/src/vs/editor/common/services/treeSitter/treeSitterLibraryService.service.d.ts +38 -7
- package/vscode/src/vs/editor/common/standalone/standaloneEnums.d.ts +4 -4
- package/vscode/src/vs/editor/common/standalone/standaloneEnums.js +6 -6
- package/vscode/src/vs/editor/common/standaloneStrings.js +48 -48
- package/vscode/src/vs/editor/common/textModelBracketPairs.d.ts +1 -1
- package/vscode/src/vs/editor/common/textModelEditSource.d.ts +3 -1
- package/vscode/src/vs/editor/common/textModelEditSource.js +3 -2
- package/vscode/src/vs/editor/common/tokens/sparseMultilineTokens.js +3 -0
- package/vscode/src/vs/editor/common/tokens/sparseTokensStore.js +6 -1
- package/vscode/src/vs/editor/common/viewLayout/viewLineRenderer.d.ts +24 -0
- package/vscode/src/vs/editor/common/viewLayout/viewLineRenderer.js +39 -3
- package/vscode/src/vs/editor/common/viewModel/monospaceLineBreaksComputer.js +25 -13
- package/vscode/src/vs/editor/common/viewModel/viewModelImpl.js +2 -1
- package/vscode/src/vs/editor/contrib/anchorSelect/browser/anchorSelect.js +6 -6
- package/vscode/src/vs/editor/contrib/bracketMatching/browser/bracketMatching.js +8 -7
- package/vscode/src/vs/editor/contrib/caretOperations/browser/caretOperations.js +2 -2
- package/vscode/src/vs/editor/contrib/caretOperations/browser/transpose.js +1 -1
- package/vscode/src/vs/editor/contrib/clipboard/browser/clipboard.js +17 -17
- package/vscode/src/vs/editor/contrib/codeAction/browser/codeAction.js +1 -1
- package/vscode/src/vs/editor/contrib/codeAction/browser/codeActionCommands.d.ts +42 -3
- package/vscode/src/vs/editor/contrib/codeAction/browser/codeActionCommands.js +29 -29
- package/vscode/src/vs/editor/contrib/codeAction/browser/codeActionContributions.js +3 -3
- package/vscode/src/vs/editor/contrib/codeAction/browser/codeActionController.js +4 -4
- package/vscode/src/vs/editor/contrib/codeAction/browser/codeActionMenu.js +8 -8
- package/vscode/src/vs/editor/contrib/codeAction/browser/lightBulbWidget.js +9 -9
- package/vscode/src/vs/editor/contrib/codelens/browser/codelensController.js +4 -3
- package/vscode/src/vs/editor/contrib/colorPicker/browser/colorPickerContribution.js +3 -0
- package/vscode/src/vs/editor/contrib/colorPicker/browser/colorPickerParts/colorPickerCloseButton.js +1 -1
- package/vscode/src/vs/editor/contrib/colorPicker/browser/colorPickerParts/colorPickerHeader.js +1 -1
- package/vscode/src/vs/editor/contrib/colorPicker/browser/hoverColorPicker/hoverColorPickerParticipant.js +1 -1
- package/vscode/src/vs/editor/contrib/colorPicker/browser/standaloneColorPicker/standaloneColorPickerActions.js +7 -7
- package/vscode/src/vs/editor/contrib/colorPicker/browser/standaloneColorPicker/standaloneColorPickerWidget.js +2 -2
- package/vscode/src/vs/editor/contrib/comment/browser/comment.js +17 -13
- package/vscode/src/vs/editor/contrib/contextmenu/browser/contextmenu.js +13 -13
- package/vscode/src/vs/editor/contrib/cursorUndo/browser/cursorUndo.d.ts +2 -2
- package/vscode/src/vs/editor/contrib/cursorUndo/browser/cursorUndo.js +2 -2
- package/vscode/src/vs/editor/contrib/dropOrPasteInto/browser/copyPasteContribution.js +7 -5
- package/vscode/src/vs/editor/contrib/dropOrPasteInto/browser/copyPasteController.js +9 -9
- package/vscode/src/vs/editor/contrib/dropOrPasteInto/browser/defaultProviders.js +8 -8
- package/vscode/src/vs/editor/contrib/dropOrPasteInto/browser/dropIntoEditorController.js +3 -3
- package/vscode/src/vs/editor/contrib/dropOrPasteInto/browser/postEditWidget.js +2 -2
- package/vscode/src/vs/editor/contrib/editorState/browser/keybindingCancellation.js +1 -1
- package/vscode/src/vs/editor/contrib/find/browser/findController.d.ts +2 -8
- package/vscode/src/vs/editor/contrib/find/browser/findController.js +69 -76
- package/vscode/src/vs/editor/contrib/find/browser/findOptionsWidget.js +4 -5
- package/vscode/src/vs/editor/contrib/find/browser/findWidget.css +5 -5
- package/vscode/src/vs/editor/contrib/find/browser/findWidget.d.ts +2 -2
- package/vscode/src/vs/editor/contrib/find/browser/findWidget.js +41 -38
- package/vscode/src/vs/editor/contrib/folding/browser/folding.css +4 -4
- package/vscode/src/vs/editor/contrib/folding/browser/folding.js +20 -20
- package/vscode/src/vs/editor/contrib/folding/browser/foldingDecorations.d.ts +1 -1
- package/vscode/src/vs/editor/contrib/folding/browser/foldingDecorations.js +9 -9
- package/vscode/src/vs/editor/contrib/fontZoom/browser/fontZoom.js +3 -3
- package/vscode/src/vs/editor/contrib/format/browser/format.js +7 -0
- package/vscode/src/vs/editor/contrib/format/browser/formatActions.js +2 -2
- package/vscode/src/vs/editor/contrib/gotoError/browser/gotoError.js +8 -8
- package/vscode/src/vs/editor/contrib/gotoError/browser/gotoErrorWidget.js +14 -14
- package/vscode/src/vs/editor/contrib/gotoSymbol/browser/goToCommands.js +39 -39
- package/vscode/src/vs/editor/contrib/gotoSymbol/browser/link/goToDefinitionAtPosition.js +2 -2
- package/vscode/src/vs/editor/contrib/gotoSymbol/browser/peek/referencesController.js +3 -3
- package/vscode/src/vs/editor/contrib/gotoSymbol/browser/peek/referencesTree.js +3 -3
- package/vscode/src/vs/editor/contrib/gotoSymbol/browser/peek/referencesWidget.css +2 -1
- package/vscode/src/vs/editor/contrib/gotoSymbol/browser/peek/referencesWidget.d.ts +2 -2
- package/vscode/src/vs/editor/contrib/gotoSymbol/browser/peek/referencesWidget.js +3 -3
- package/vscode/src/vs/editor/contrib/gotoSymbol/browser/referencesModel.js +8 -8
- package/vscode/src/vs/editor/contrib/gotoSymbol/browser/symbolNavigation.js +3 -3
- package/vscode/src/vs/editor/contrib/gpu/browser/gpuActions.js +4 -4
- package/vscode/src/vs/editor/contrib/hover/browser/contentHoverRendered.d.ts +2 -1
- package/vscode/src/vs/editor/contrib/hover/browser/contentHoverRendered.js +34 -11
- package/vscode/src/vs/editor/contrib/hover/browser/contentHoverWidgetWrapper.d.ts +3 -1
- package/vscode/src/vs/editor/contrib/hover/browser/contentHoverWidgetWrapper.js +7 -3
- package/vscode/src/vs/editor/contrib/hover/browser/glyphHoverWidget.d.ts +4 -4
- package/vscode/src/vs/editor/contrib/hover/browser/glyphHoverWidget.js +26 -12
- package/vscode/src/vs/editor/contrib/hover/browser/hover.css +37 -0
- package/vscode/src/vs/editor/contrib/hover/browser/hoverAccessibleViews.js +2 -2
- package/vscode/src/vs/editor/contrib/hover/browser/hoverActionIds.js +2 -2
- package/vscode/src/vs/editor/contrib/hover/browser/hoverActions.js +24 -24
- package/vscode/src/vs/editor/contrib/hover/browser/hoverCopyButton.d.ts +15 -0
- package/vscode/src/vs/editor/contrib/hover/browser/hoverCopyButton.js +40 -0
- package/vscode/src/vs/editor/contrib/hover/browser/markdownHoverParticipant.d.ts +4 -6
- package/vscode/src/vs/editor/contrib/hover/browser/markdownHoverParticipant.js +27 -33
- package/vscode/src/vs/editor/contrib/hover/browser/markerHoverParticipant.js +5 -5
- package/vscode/src/vs/editor/contrib/inPlaceReplace/browser/inPlaceReplace.js +2 -2
- package/vscode/src/vs/editor/contrib/indentation/browser/indentation.d.ts +1 -1
- package/vscode/src/vs/editor/contrib/indentation/browser/indentation.js +29 -27
- package/vscode/src/vs/editor/contrib/inlayHints/browser/inlayHintsController.js +29 -16
- package/vscode/src/vs/editor/contrib/inlayHints/browser/inlayHintsHover.d.ts +2 -3
- package/vscode/src/vs/editor/contrib/inlayHints/browser/inlayHintsHover.js +18 -20
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/controller/commands.d.ts +5 -12
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/controller/commands.js +64 -53
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/controller/inlineCompletionContextKeys.js +12 -12
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/controller/inlineCompletionsController.js +17 -10
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/hintsWidget/hoverParticipant.d.ts +3 -5
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/hintsWidget/hoverParticipant.js +11 -15
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/hintsWidget/inlineCompletionsHintsWidget.js +6 -6
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/inlineCompletions.contribution.js +2 -4
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/model/inlineCompletionsModel.d.ts +4 -1
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/model/inlineCompletionsModel.js +36 -32
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/model/inlineCompletionsSource.js +5 -4
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/model/inlineSuggestionItem.d.ts +18 -13
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/model/inlineSuggestionItem.js +43 -28
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/model/provideInlineCompletions.d.ts +5 -10
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/model/provideInlineCompletions.js +17 -21
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/telemetry.d.ts +0 -5
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/view/ghostText/ghostTextView.d.ts +1 -3
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/view/ghostText/ghostTextView.js +2 -4
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/view/inlineEdits/components/gutterIndicatorMenu.js +12 -5
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/view/inlineEdits/components/gutterIndicatorView.d.ts +1 -1
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/view/inlineEdits/components/gutterIndicatorView.js +1 -1
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/view/inlineEdits/inlineEditWithChanges.d.ts +4 -3
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/view/inlineEdits/inlineEditWithChanges.js +5 -1
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/view/inlineEdits/inlineEditsModel.d.ts +3 -4
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/view/inlineEdits/inlineEditsModel.js +3 -8
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/view/inlineEdits/inlineEditsView.d.ts +1 -0
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/view/inlineEdits/inlineEditsView.js +40 -10
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/view/inlineEdits/inlineEditsViewInterface.d.ts +4 -4
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/view/inlineEdits/inlineEditsViewProducer.js +3 -4
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/view/inlineEdits/inlineEditsViews/inlineEditsCustomView.d.ts +2 -2
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/view/inlineEdits/inlineEditsViews/inlineEditsCustomView.js +6 -6
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/view/inlineEdits/inlineEditsViews/inlineEditsLineReplacementView.js +1 -1
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/view/inlineEdits/theme.js +20 -20
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/view/inlineEdits/utils/utils.d.ts +3 -3
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/view/inlineEdits/utils/utils.js +9 -6
- package/vscode/src/vs/editor/contrib/insertFinalNewLine/browser/insertFinalNewLine.d.ts +1 -1
- package/vscode/src/vs/editor/contrib/insertFinalNewLine/browser/insertFinalNewLine.js +1 -1
- package/vscode/src/vs/editor/contrib/lineSelection/browser/lineSelection.d.ts +5 -1
- package/vscode/src/vs/editor/contrib/lineSelection/browser/lineSelection.js +1 -1
- package/vscode/src/vs/editor/contrib/linesOperations/browser/linesOperations.d.ts +8 -2
- package/vscode/src/vs/editor/contrib/linesOperations/browser/linesOperations.js +104 -69
- package/vscode/src/vs/editor/contrib/linkedEditing/browser/linkedEditing.d.ts +2 -2
- package/vscode/src/vs/editor/contrib/linkedEditing/browser/linkedEditing.js +2 -2
- package/vscode/src/vs/editor/contrib/links/browser/links.js +10 -10
- package/vscode/src/vs/editor/contrib/message/browser/messageController.js +2 -2
- package/vscode/src/vs/editor/contrib/multicursor/browser/multicursor.d.ts +12 -4
- package/vscode/src/vs/editor/contrib/multicursor/browser/multicursor.js +22 -22
- package/vscode/src/vs/editor/contrib/parameterHints/browser/parameterHints.js +1 -1
- package/vscode/src/vs/editor/contrib/parameterHints/browser/parameterHintsWidget.d.ts +3 -4
- package/vscode/src/vs/editor/contrib/parameterHints/browser/parameterHintsWidget.js +12 -13
- package/vscode/src/vs/editor/contrib/peekView/browser/peekView.js +18 -18
- package/vscode/src/vs/editor/contrib/placeholderText/browser/placeholderText.contribution.js +1 -1
- package/vscode/src/vs/editor/contrib/readOnlyMessage/browser/contribution.js +2 -2
- package/vscode/src/vs/editor/contrib/rename/browser/rename.js +13 -12
- package/vscode/src/vs/editor/contrib/rename/browser/renameWidget.js +8 -10
- package/vscode/src/vs/editor/contrib/semanticTokens/browser/viewportSemanticTokens.d.ts +3 -0
- package/vscode/src/vs/editor/contrib/semanticTokens/browser/viewportSemanticTokens.js +33 -1
- package/vscode/src/vs/editor/contrib/semanticTokens/common/getSemanticTokens.d.ts +2 -2
- package/vscode/src/vs/editor/contrib/smartSelect/browser/smartSelect.js +7 -6
- package/vscode/src/vs/editor/contrib/snippet/browser/snippetController2.js +4 -4
- package/vscode/src/vs/editor/contrib/snippet/browser/snippetParser.d.ts +1 -1
- package/vscode/src/vs/editor/contrib/snippet/browser/snippetVariables.js +11 -4
- package/vscode/src/vs/editor/contrib/stickyScroll/browser/stickyScrollActions.js +11 -11
- package/vscode/src/vs/editor/contrib/stickyScroll/browser/stickyScrollController.d.ts +1 -1
- package/vscode/src/vs/editor/contrib/stickyScroll/browser/stickyScrollProvider.d.ts +1 -1
- package/vscode/src/vs/editor/contrib/stickyScroll/browser/stickyScrollWidget.js +2 -2
- package/vscode/src/vs/editor/contrib/suggest/browser/suggest.js +8 -8
- package/vscode/src/vs/editor/contrib/suggest/browser/suggestAlternatives.d.ts +1 -1
- package/vscode/src/vs/editor/contrib/suggest/browser/suggestCommitCharacters.d.ts +1 -1
- package/vscode/src/vs/editor/contrib/suggest/browser/suggestController.d.ts +1 -1
- package/vscode/src/vs/editor/contrib/suggest/browser/suggestController.js +10 -10
- package/vscode/src/vs/editor/contrib/suggest/browser/suggestInlineCompletions.d.ts +2 -2
- package/vscode/src/vs/editor/contrib/suggest/browser/suggestInlineCompletions.js +2 -2
- package/vscode/src/vs/editor/contrib/suggest/browser/suggestWidget.d.ts +0 -1
- package/vscode/src/vs/editor/contrib/suggest/browser/suggestWidget.js +18 -24
- package/vscode/src/vs/editor/contrib/suggest/browser/suggestWidgetDetails.d.ts +5 -6
- package/vscode/src/vs/editor/contrib/suggest/browser/suggestWidgetDetails.js +16 -19
- package/vscode/src/vs/editor/contrib/suggest/browser/suggestWidgetRenderer.js +2 -2
- package/vscode/src/vs/editor/contrib/suggest/browser/wordContextKey.js +1 -1
- package/vscode/src/vs/editor/contrib/symbolIcons/browser/symbolIcons.css +2 -0
- package/vscode/src/vs/editor/contrib/symbolIcons/browser/symbolIcons.js +33 -33
- package/vscode/src/vs/editor/contrib/toggleTabFocusMode/browser/toggleTabFocusMode.js +4 -4
- package/vscode/src/vs/editor/contrib/tokenization/browser/tokenization.js +1 -1
- package/vscode/src/vs/editor/contrib/unicodeHighlighter/browser/bannerController.js +7 -6
- package/vscode/src/vs/editor/contrib/unicodeHighlighter/browser/unicodeHighlighter.d.ts +3 -5
- package/vscode/src/vs/editor/contrib/unicodeHighlighter/browser/unicodeHighlighter.js +29 -32
- package/vscode/src/vs/editor/contrib/unusualLineTerminators/browser/unusualLineTerminators.js +5 -5
- package/vscode/src/vs/editor/contrib/wordHighlighter/browser/highlightDecorations.js +9 -9
- package/vscode/src/vs/editor/contrib/wordHighlighter/browser/wordHighlighter.js +3 -3
- package/vscode/src/vs/editor/contrib/wordOperations/browser/wordOperations.d.ts +5 -5
- package/vscode/src/vs/editor/contrib/wordOperations/browser/wordOperations.js +11 -11
- package/vscode/src/vs/editor/standalone/browser/standaloneCodeEditor.d.ts +4 -3
- package/vscode/src/vs/editor/standalone/browser/standaloneCodeEditor.js +10 -5
- package/vscode/src/vs/editor/standalone/browser/standaloneServices.d.ts +5 -4
- package/vscode/src/vs/editor/standalone/browser/standaloneServices.js +2 -2
- package/vscode/src/vs/editor/standalone/browser/standaloneTreeSitterLibraryService.d.ts +3 -11
- package/vscode/src/vs/editor/standalone/browser/standaloneTreeSitterLibraryService.js +8 -2
- package/vscode/src/vs/platform/accessibility/browser/accessibilityService.js +2 -2
- package/vscode/src/vs/platform/accessibility/browser/accessibleView.d.ts +3 -3
- package/vscode/src/vs/platform/accessibilitySignal/browser/accessibilitySignalService.js +62 -62
- package/vscode/src/vs/platform/action/common/action.d.ts +1 -1
- package/vscode/src/vs/platform/action/common/action.js +1 -1
- package/vscode/src/vs/platform/action/common/actionCommonCategories.js +6 -6
- package/vscode/src/vs/platform/actionWidget/browser/actionList.d.ts +1 -1
- package/vscode/src/vs/platform/actionWidget/browser/actionList.js +4 -4
- package/vscode/src/vs/platform/actionWidget/browser/actionWidget.js +7 -7
- package/vscode/src/vs/platform/actions/browser/actionViewItemService.service.d.ts +1 -1
- package/vscode/src/vs/platform/actions/browser/menuEntryActionViewItem.d.ts +4 -2
- package/vscode/src/vs/platform/actions/browser/menuEntryActionViewItem.js +29 -18
- package/vscode/src/vs/platform/actions/browser/toolbar.js +2 -2
- package/vscode/src/vs/platform/actions/common/actions.d.ts +29 -9
- package/vscode/src/vs/platform/actions/common/actions.js +7 -3
- package/vscode/src/vs/platform/actions/common/menuResetAction.js +1 -1
- package/vscode/src/vs/platform/actions/common/menuService.js +2 -2
- package/vscode/src/vs/platform/commands/common/commands.d.ts +8 -10
- package/vscode/src/vs/platform/commands/common/commands.service.d.ts +3 -3
- package/vscode/src/vs/platform/configuration/common/configuration.service.d.ts +2 -1
- package/vscode/src/vs/platform/configuration/common/configurationModels.d.ts +1 -0
- package/vscode/src/vs/platform/configuration/common/configurationModels.js +1 -0
- package/vscode/src/vs/platform/configuration/common/configurationRegistry.d.ts +8 -1
- package/vscode/src/vs/platform/configuration/common/configurationRegistry.js +28 -14
- package/vscode/src/vs/platform/contextkey/browser/contextKeyService.js +1 -1
- package/vscode/src/vs/platform/contextkey/common/contextkey.js +11 -11
- package/vscode/src/vs/platform/contextkey/common/contextkey.service.d.ts +1 -1
- package/vscode/src/vs/platform/contextkey/common/contextkeys.js +9 -9
- package/vscode/src/vs/platform/contextkey/common/scanner.js +5 -5
- package/vscode/src/vs/platform/dataChannel/browser/forwardingTelemetryService.js +1 -1
- package/vscode/src/vs/platform/dialogs/common/dialogs.service.d.ts +3 -3
- package/vscode/src/vs/platform/dnd/browser/dnd.js +2 -2
- package/vscode/src/vs/platform/environment/common/argv.d.ts +1 -0
- package/vscode/src/vs/platform/environment/common/environment.service.d.ts +1 -0
- package/vscode/src/vs/platform/extensionManagement/common/extensionManagement.d.ts +1 -0
- package/vscode/src/vs/platform/extensionManagement/common/extensionManagement.js +31 -23
- package/vscode/src/vs/platform/extensionManagement/common/extensionManagement.service.d.ts +1 -1
- package/vscode/src/vs/platform/extensionManagement/common/extensionNls.js +1 -1
- package/vscode/src/vs/platform/extensionManagement/common/extensionsScannerService.js +7 -7
- package/vscode/src/vs/platform/extensions/common/extensionValidator.js +20 -20
- package/vscode/src/vs/platform/extensions/common/extensionsApiProposals.d.ts +27 -7
- package/vscode/src/vs/platform/extensions/common/extensionsApiProposals.js +31 -11
- package/vscode/src/vs/platform/files/browser/htmlFileSystemProvider.js +2 -2
- package/vscode/src/vs/platform/files/browser/webFileSystemAccess.d.ts +8 -2
- package/vscode/src/vs/platform/files/common/files.js +6 -6
- package/vscode/src/vs/platform/history/browser/contextScopedHistoryWidget.js +1 -1
- package/vscode/src/vs/{editor/browser/services/hoverService → platform/hover/browser}/hover.css +33 -31
- package/vscode/src/vs/{editor/browser/services/hoverService → platform/hover/browser}/hoverService.d.ts +10 -10
- package/vscode/src/vs/{editor/browser/services/hoverService → platform/hover/browser}/hoverService.js +47 -40
- package/vscode/src/vs/{editor/browser/services/hoverService → platform/hover/browser}/hoverWidget.d.ts +10 -12
- package/vscode/src/vs/{editor/browser/services/hoverService → platform/hover/browser}/hoverWidget.js +44 -37
- package/vscode/src/vs/{editor/browser/services/hoverService → platform/hover/browser}/updatableHoverWidget.d.ts +3 -3
- package/vscode/src/vs/{editor/browser/services/hoverService → platform/hover/browser}/updatableHoverWidget.js +8 -8
- package/vscode/src/vs/platform/instantiation/common/descriptors.d.ts +2 -2
- package/vscode/src/vs/platform/instantiation/common/instantiation.d.ts +8 -1
- package/vscode/src/vs/platform/keybinding/common/abstractKeybindingService.js +4 -4
- package/vscode/src/vs/platform/keybinding/common/keybinding.service.d.ts +1 -1
- package/vscode/src/vs/platform/keybinding/common/keybindingsRegistry.d.ts +3 -3
- package/vscode/src/vs/platform/label/common/label.service.d.ts +1 -1
- package/vscode/src/vs/platform/languagePacks/common/languagePacks.service.d.ts +1 -1
- package/vscode/src/vs/platform/list/browser/listService.js +29 -29
- package/vscode/src/vs/platform/log/common/log.d.ts +42 -42
- package/vscode/src/vs/platform/log/common/log.js +6 -6
- package/vscode/src/vs/platform/log/common/logService.d.ts +5 -5
- package/vscode/src/vs/platform/markdown/browser/markdownRenderer.d.ts +32 -0
- package/vscode/src/vs/platform/markdown/browser/markdownRenderer.js +61 -0
- package/vscode/src/vs/platform/markdown/browser/markdownRenderer.service.d.ts +17 -0
- package/vscode/src/vs/platform/markdown/browser/markdownRenderer.service.js +6 -0
- package/vscode/src/vs/platform/markers/common/markerService.js +2 -2
- package/vscode/src/vs/platform/markers/common/markers.js +6 -6
- package/vscode/src/vs/platform/mcp/common/mcpGalleryManifest.d.ts +4 -3
- package/vscode/src/vs/platform/mcp/common/mcpGalleryManifest.js +3 -2
- package/vscode/src/vs/platform/mcp/common/mcpManagement.service.d.ts +7 -6
- package/vscode/src/vs/platform/notification/common/notification.js +3 -3
- package/vscode/src/vs/platform/product/common/product.js +3 -3
- package/vscode/src/vs/platform/quickinput/browser/quickInput.d.ts +7 -4
- package/vscode/src/vs/platform/quickinput/browser/quickInput.js +34 -19
- package/vscode/src/vs/platform/quickinput/browser/quickInputActions.js +6 -6
- package/vscode/src/vs/platform/quickinput/browser/quickInputController.js +15 -8
- package/vscode/src/vs/platform/quickinput/browser/quickInputList.d.ts +4 -4
- package/vscode/src/vs/platform/quickinput/browser/quickInputList.js +1 -1
- package/vscode/src/vs/platform/quickinput/browser/quickInputUtils.js +1 -1
- package/vscode/src/vs/platform/quickinput/browser/tree/quickInputTree.d.ts +1 -1
- package/vscode/src/vs/platform/quickinput/browser/tree/quickInputTree.js +9 -9
- package/vscode/src/vs/platform/quickinput/browser/tree/quickInputTreeAccessibilityProvider.d.ts +2 -1
- package/vscode/src/vs/platform/quickinput/browser/tree/quickInputTreeAccessibilityProvider.js +2 -2
- package/vscode/src/vs/platform/quickinput/browser/tree/quickInputTreeController.d.ts +5 -2
- package/vscode/src/vs/platform/quickinput/browser/tree/quickInputTreeController.js +14 -25
- package/vscode/src/vs/platform/quickinput/browser/tree/quickInputTreeSorter.d.ts +9 -0
- package/vscode/src/vs/platform/quickinput/browser/tree/quickInputTreeSorter.js +43 -0
- package/vscode/src/vs/platform/quickinput/browser/tree/quickTree.d.ts +7 -2
- package/vscode/src/vs/platform/quickinput/browser/tree/quickTree.js +14 -3
- package/vscode/src/vs/platform/quickinput/common/quickInput.d.ts +40 -11
- package/vscode/src/vs/platform/quickinput/common/quickInput.js +1 -0
- package/vscode/src/vs/platform/request/common/request.js +34 -19
- package/vscode/src/vs/platform/secrets/common/secrets.service.d.ts +1 -1
- package/vscode/src/vs/platform/telemetry/common/telemetryUtils.js +1 -1
- package/vscode/src/vs/platform/terminal/common/terminal.d.ts +33 -17
- package/vscode/src/vs/platform/terminal/common/terminal.js +2 -1
- package/vscode/src/vs/platform/terminal/common/terminal.service.d.ts +2 -1
- package/vscode/src/vs/platform/terminal/common/terminalProcess.d.ts +1 -0
- package/vscode/src/vs/platform/theme/browser/defaultStyles.d.ts +1 -1
- package/vscode/src/vs/platform/theme/common/colorUtils.js +2 -2
- package/vscode/src/vs/platform/theme/common/colors/baseColors.js +18 -18
- package/vscode/src/vs/platform/theme/common/colors/chartsColors.js +8 -8
- package/vscode/src/vs/platform/theme/common/colors/editorColors.js +95 -95
- package/vscode/src/vs/platform/theme/common/colors/inputColors.js +47 -47
- package/vscode/src/vs/platform/theme/common/colors/listColors.js +36 -36
- package/vscode/src/vs/platform/theme/common/colors/menuColors.js +7 -7
- package/vscode/src/vs/platform/theme/common/colors/minimapColors.js +11 -11
- package/vscode/src/vs/platform/theme/common/colors/miscColors.d.ts +1 -0
- package/vscode/src/vs/platform/theme/common/colors/miscColors.js +16 -15
- package/vscode/src/vs/platform/theme/common/colors/quickpickColors.js +9 -9
- package/vscode/src/vs/platform/theme/common/colors/searchColors.js +3 -3
- package/vscode/src/vs/platform/theme/common/iconRegistry.js +6 -6
- package/vscode/src/vs/platform/tunnel/common/tunnel.d.ts +3 -2
- package/vscode/src/vs/platform/tunnel/common/tunnel.js +5 -1
- package/vscode/src/vs/platform/undoRedo/common/undoRedoService.js +20 -20
- package/vscode/src/vs/platform/userDataProfile/common/userDataProfile.js +1 -1
- package/vscode/src/vs/platform/userDataSync/common/userDataSync.js +5 -5
- package/vscode/src/vs/platform/webContentExtractor/common/webContentExtractor.d.ts +18 -1
- package/vscode/src/vs/platform/webContentExtractor/common/webContentExtractor.service.d.ts +2 -1
- package/vscode/src/vs/platform/window/common/window.d.ts +1 -1
- package/vscode/src/vs/platform/workspace/common/workspace.js +1 -1
- package/vscode/src/vs/platform/workspace/common/workspaceTrust.service.d.ts +2 -2
- package/vscode/src/vs/workbench/api/browser/statusBarService.d.ts +1 -1
- package/vscode/src/vs/workbench/api/common/extHost.api.impl.js +37 -15
- package/vscode/src/vs/workbench/api/common/extHost.protocol.d.ts +127 -62
- package/vscode/src/vs/workbench/api/common/extHost.protocol.js +2 -0
- package/vscode/src/vs/workbench/api/common/extHostAuthentication.js +25 -6
- package/vscode/src/vs/workbench/api/common/extHostChatAgents2.d.ts +6 -6
- package/vscode/src/vs/workbench/api/common/extHostChatAgents2.js +29 -6
- package/vscode/src/vs/workbench/api/common/extHostChatContext.d.ts +22 -0
- package/vscode/src/vs/workbench/api/common/extHostChatContext.js +99 -0
- package/vscode/src/vs/workbench/api/common/extHostChatSessions.d.ts +26 -10
- package/vscode/src/vs/workbench/api/common/extHostChatSessions.js +120 -47
- package/vscode/src/vs/workbench/api/common/extHostCommands.d.ts +2 -2
- package/vscode/src/vs/workbench/api/common/extHostCustomEditors.d.ts +1 -1
- package/vscode/src/vs/workbench/api/common/extHostDebugService.d.ts +6 -6
- package/vscode/src/vs/workbench/api/common/extHostDiagnostics.js +4 -3
- package/vscode/src/vs/workbench/api/common/extHostExtensionActivator.js +2 -2
- package/vscode/src/vs/workbench/api/common/extHostExtensionService.d.ts +1 -1
- package/vscode/src/vs/workbench/api/common/extHostExtensionService.js +2 -2
- package/vscode/src/vs/workbench/api/common/extHostLanguageFeatures.js +21 -13
- package/vscode/src/vs/workbench/api/common/extHostLanguageModelTools.js +3 -3
- package/vscode/src/vs/workbench/api/common/extHostLanguageModels.d.ts +7 -1
- package/vscode/src/vs/workbench/api/common/extHostLanguageModels.js +45 -5
- package/vscode/src/vs/workbench/api/common/extHostLogService.js +1 -1
- package/vscode/src/vs/workbench/api/common/extHostMcp.d.ts +9 -4
- package/vscode/src/vs/workbench/api/common/extHostMcp.js +136 -79
- package/vscode/src/vs/workbench/api/common/extHostNotebook.d.ts +3 -3
- package/vscode/src/vs/workbench/api/common/extHostNotebook.js +2 -2
- package/vscode/src/vs/workbench/api/common/extHostNotebookKernels.d.ts +1 -1
- package/vscode/src/vs/workbench/api/common/extHostProfileContentHandler.d.ts +1 -1
- package/vscode/src/vs/workbench/api/common/extHostQuickOpen.js +50 -60
- package/vscode/src/vs/workbench/api/common/extHostSCM.d.ts +3 -1
- package/vscode/src/vs/workbench/api/common/extHostSCM.js +52 -3
- package/vscode/src/vs/workbench/api/common/extHostStatusBar.js +2 -2
- package/vscode/src/vs/workbench/api/common/extHostTask.d.ts +6 -6
- package/vscode/src/vs/workbench/api/common/extHostTelemetry.js +2 -2
- package/vscode/src/vs/workbench/api/common/extHostTerminalService.d.ts +2 -2
- package/vscode/src/vs/workbench/api/common/extHostTerminalService.js +12 -8
- package/vscode/src/vs/workbench/api/common/extHostTerminalShellIntegration.d.ts +3 -3
- package/vscode/src/vs/workbench/api/common/extHostTerminalShellIntegration.js +12 -5
- package/vscode/src/vs/workbench/api/common/extHostTreeViews.js +26 -13
- package/vscode/src/vs/workbench/api/common/extHostTunnelService.js +2 -2
- package/vscode/src/vs/workbench/api/common/extHostTypeConverters.d.ts +31 -11
- package/vscode/src/vs/workbench/api/common/extHostTypeConverters.js +153 -36
- package/vscode/src/vs/workbench/api/common/extHostTypes/diagnostic.d.ts +8 -2
- package/vscode/src/vs/workbench/api/common/extHostTypes/location.d.ts +1 -1
- package/vscode/src/vs/workbench/api/common/extHostTypes/markdownString.d.ts +3 -1
- package/vscode/src/vs/workbench/api/common/extHostTypes/markdownString.js +10 -1
- package/vscode/src/vs/workbench/api/common/extHostTypes/notebooks.d.ts +13 -13
- package/vscode/src/vs/workbench/api/common/extHostTypes/position.d.ts +5 -2
- package/vscode/src/vs/workbench/api/common/extHostTypes/range.d.ts +2 -2
- package/vscode/src/vs/workbench/api/common/extHostTypes/range.js +1 -1
- package/vscode/src/vs/workbench/api/common/extHostTypes/selection.d.ts +1 -1
- package/vscode/src/vs/workbench/api/common/extHostTypes/selection.js +1 -1
- package/vscode/src/vs/workbench/api/common/extHostTypes/snippetString.d.ts +3 -3
- package/vscode/src/vs/workbench/api/common/extHostTypes/snippetString.js +1 -1
- package/vscode/src/vs/workbench/api/common/extHostTypes/snippetTextEdit.d.ts +1 -1
- package/vscode/src/vs/workbench/api/common/extHostTypes/symbolInformation.d.ts +6 -1
- package/vscode/src/vs/workbench/api/common/extHostTypes/textEdit.d.ts +6 -2
- package/vscode/src/vs/workbench/api/common/extHostTypes/textEdit.js +1 -1
- package/vscode/src/vs/workbench/api/common/extHostTypes/workspaceEdit.d.ts +4 -1
- package/vscode/src/vs/workbench/api/common/extHostTypes.d.ts +54 -38
- package/vscode/src/vs/workbench/api/common/extHostTypes.js +32 -21
- package/vscode/src/vs/workbench/api/common/extHostWebviewPanels.d.ts +1 -1
- package/vscode/src/vs/workbench/api/common/extHostWorkspace.js +11 -2
- package/vscode/src/vs/workbench/api/common/jsonValidationExtensionPoint.js +12 -12
- package/vscode/src/vs/workbench/browser/actions/developerActions.js +35 -35
- package/vscode/src/vs/workbench/browser/actions/media/actions.css +4 -4
- package/vscode/src/vs/workbench/browser/actions/textInputActions.js +6 -6
- package/vscode/src/vs/workbench/browser/codeeditor.d.ts +1 -1
- package/vscode/src/vs/workbench/browser/parts/editor/breadcrumbs.service.d.ts +1 -1
- package/vscode/src/vs/workbench/browser/web.api.d.ts +5 -5
- package/vscode/src/vs/workbench/common/configuration.d.ts +3 -2
- package/vscode/src/vs/workbench/common/configuration.js +9 -9
- package/vscode/src/vs/workbench/common/contextkeys.js +73 -73
- package/vscode/src/vs/workbench/common/editor/diffEditorInput.js +1 -1
- package/vscode/src/vs/workbench/common/editor/editorInput.d.ts +2 -2
- package/vscode/src/vs/workbench/common/editor/sideBySideEditorInput.js +1 -1
- package/vscode/src/vs/workbench/common/editor/textEditorModel.js +1 -1
- package/vscode/src/vs/workbench/common/editor.d.ts +1 -1
- package/vscode/src/vs/workbench/common/editor.js +7 -7
- package/vscode/src/vs/workbench/common/theme.js +160 -160
- package/vscode/src/vs/workbench/common/views.d.ts +7 -8
- package/vscode/src/vs/workbench/common/views.js +4 -4
- package/vscode/src/vs/workbench/contrib/accessibility/browser/accessibilityConfiguration.d.ts +1 -1
- package/vscode/src/vs/workbench/contrib/accessibility/browser/accessibilityConfiguration.js +165 -161
- package/vscode/src/vs/workbench/contrib/accessibility/browser/accessibleViewActions.js +12 -12
- package/vscode/src/vs/workbench/contrib/chat/browser/chat.service.d.ts +5 -3
- package/vscode/src/vs/workbench/contrib/chat/browser/chatAttachmentResolveService.service.d.ts +1 -1
- package/vscode/src/vs/workbench/contrib/chat/browser/chatContentParts/chatContentParts.d.ts +2 -2
- package/vscode/src/vs/workbench/contrib/chat/browser/chatContentParts/chatMarkdownAnchorService.service.d.ts +1 -1
- package/vscode/src/vs/workbench/contrib/chat/browser/chatContextPickService.service.d.ts +1 -1
- package/vscode/src/vs/workbench/contrib/chat/browser/chatContextService.service.d.ts +4 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/chatContextService.service.js +6 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/chatEditing/chatEditingEditorContextKeys.d.ts +1 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/chatEditing/chatEditingEditorContextKeys.js +9 -8
- package/vscode/src/vs/workbench/contrib/chat/common/chatActions.d.ts +3 -2
- package/vscode/src/vs/workbench/contrib/chat/common/chatActions.js +2 -1
- package/vscode/src/vs/workbench/contrib/chat/common/chatAgents.service.d.ts +1 -1
- package/vscode/src/vs/workbench/contrib/chat/common/chatContextKeys.d.ts +5 -0
- package/vscode/src/vs/workbench/contrib/chat/common/chatContextKeys.js +70 -50
- package/vscode/src/vs/workbench/contrib/chat/common/chatEditingService.d.ts +30 -8
- package/vscode/src/vs/workbench/contrib/chat/common/chatEditingService.js +4 -3
- package/vscode/src/vs/workbench/contrib/chat/common/chatEditingService.service.d.ts +7 -3
- package/vscode/src/vs/workbench/contrib/chat/common/chatModes.service.d.ts +2 -2
- package/vscode/src/vs/workbench/contrib/chat/common/chatService.d.ts +112 -40
- package/vscode/src/vs/workbench/contrib/chat/common/chatService.js +143 -1
- package/vscode/src/vs/workbench/contrib/chat/common/chatService.service.d.ts +27 -28
- package/vscode/src/vs/workbench/contrib/chat/common/chatSessionsService.d.ts +50 -11
- package/vscode/src/vs/workbench/contrib/chat/common/chatSessionsService.js +2 -1
- package/vscode/src/vs/workbench/contrib/chat/common/chatSessionsService.service.d.ts +43 -12
- package/vscode/src/vs/workbench/contrib/chat/common/chatTodoListService.service.d.ts +5 -2
- package/vscode/src/vs/workbench/contrib/chat/common/chatUri.d.ts +25 -0
- package/vscode/src/vs/workbench/contrib/chat/common/chatUri.js +51 -0
- package/vscode/src/vs/workbench/contrib/chat/common/chatVariableEntries.d.ts +29 -3
- package/vscode/src/vs/workbench/contrib/chat/common/chatVariableEntries.js +19 -4
- package/vscode/src/vs/workbench/contrib/chat/common/chatVariables.d.ts +3 -3
- package/vscode/src/vs/workbench/contrib/chat/common/chatVariables.service.d.ts +3 -2
- package/vscode/src/vs/workbench/contrib/chat/common/chatWidgetHistoryService.service.d.ts +1 -1
- package/vscode/src/vs/workbench/contrib/chat/common/constants.d.ts +14 -8
- package/vscode/src/vs/workbench/contrib/chat/common/constants.js +33 -9
- package/vscode/src/vs/workbench/contrib/chat/common/languageModelToolsConfirmationService.d.ts +49 -0
- package/vscode/src/vs/workbench/contrib/chat/common/languageModelToolsConfirmationService.service.d.ts +31 -0
- package/vscode/src/vs/workbench/contrib/chat/common/languageModelToolsConfirmationService.service.js +6 -0
- package/vscode/src/vs/workbench/contrib/chat/common/languageModelToolsService.d.ts +26 -3
- package/vscode/src/vs/workbench/contrib/chat/common/languageModelToolsService.js +39 -10
- package/vscode/src/vs/workbench/contrib/chat/common/languageModelToolsService.service.d.ts +10 -6
- package/vscode/src/vs/workbench/contrib/chat/common/languageModels.d.ts +45 -9
- package/vscode/src/vs/workbench/contrib/chat/common/languageModels.js +37 -16
- package/vscode/src/vs/workbench/contrib/chat/common/languageModels.service.d.ts +1 -1
- package/vscode/src/vs/workbench/contrib/chat/common/modelPicker/modelPickerWidget.js +1 -1
- package/vscode/src/vs/workbench/contrib/chat/common/promptSyntax/service/promptsService.service.d.ts +43 -7
- package/vscode/src/vs/workbench/contrib/chat/common/tools/confirmationTool.js +1 -1
- package/vscode/src/vs/workbench/contrib/chat/common/tools/editFileTool.js +2 -1
- package/vscode/src/vs/workbench/contrib/chat/common/tools/manageTodoListTool.js +34 -30
- package/vscode/src/vs/workbench/contrib/chat/common/tools/runSubagentTool.d.ts +25 -0
- package/vscode/src/vs/workbench/contrib/chat/common/tools/runSubagentTool.js +203 -0
- package/vscode/src/vs/workbench/contrib/chat/common/tools/toolHelpers.d.ts +5 -0
- package/vscode/src/vs/workbench/contrib/chat/common/tools/toolHelpers.js +12 -0
- package/vscode/src/vs/workbench/contrib/chat/common/tools/tools.js +3 -0
- package/vscode/src/vs/workbench/contrib/codeActions/browser/codeActionsContribution.js +13 -13
- package/vscode/src/vs/workbench/contrib/codeEditor/browser/dictation/editorDictation.js +4 -4
- package/vscode/src/vs/workbench/contrib/codeEditor/browser/diffEditorAccessibilityHelp.js +5 -5
- package/vscode/src/vs/workbench/contrib/codeEditor/browser/diffEditorHelper.js +3 -3
- package/vscode/src/vs/workbench/contrib/codeEditor/browser/largeFileOptimizations.js +3 -3
- package/vscode/src/vs/workbench/contrib/codeEditor/browser/saveParticipants.js +4 -4
- package/vscode/src/vs/workbench/contrib/codeEditor/browser/toggleMinimap.js +2 -2
- package/vscode/src/vs/workbench/contrib/codeEditor/browser/toggleMultiCursorModifier.js +4 -4
- package/vscode/src/vs/workbench/contrib/codeEditor/browser/toggleRenderControlCharacter.js +2 -2
- package/vscode/src/vs/workbench/contrib/codeEditor/browser/toggleRenderWhitespace.js +2 -2
- package/vscode/src/vs/workbench/contrib/codeEditor/browser/toggleWordWrap.js +5 -5
- package/vscode/src/vs/workbench/contrib/comments/browser/commentService.service.d.ts +1 -1
- package/vscode/src/vs/workbench/contrib/comments/browser/commentsAccessibility.js +12 -12
- package/vscode/src/vs/workbench/contrib/comments/common/commentContextKeys.js +11 -11
- package/vscode/src/vs/workbench/contrib/debug/common/abstractDebugAdapter.js +1 -1
- package/vscode/src/vs/workbench/contrib/debug/common/debug.d.ts +37 -33
- package/vscode/src/vs/workbench/contrib/debug/common/debug.js +65 -65
- package/vscode/src/vs/workbench/contrib/debug/common/debug.service.d.ts +9 -9
- package/vscode/src/vs/workbench/contrib/debug/common/debugUtils.d.ts +6 -0
- package/vscode/src/vs/workbench/contrib/debug/common/debugUtils.js +16 -2
- package/vscode/src/vs/workbench/contrib/dropOrPasteInto/browser/commands.js +2 -2
- package/vscode/src/vs/workbench/contrib/dropOrPasteInto/browser/configurationSchema.js +4 -4
- package/vscode/src/vs/workbench/contrib/editTelemetry/browser/randomService.service.d.ts +6 -0
- package/vscode/src/vs/workbench/contrib/editTelemetry/browser/randomService.service.js +6 -0
- package/vscode/src/vs/workbench/contrib/editTelemetry/browser/telemetry/aiEditTelemetry/aiEditTelemetryService.d.ts +38 -4
- package/vscode/src/vs/workbench/contrib/extensions/common/extensions.d.ts +2 -2
- package/vscode/src/vs/workbench/contrib/extensions/common/extensions.js +1 -1
- package/vscode/src/vs/workbench/contrib/extensions/common/extensions.service.d.ts +1 -1
- package/vscode/src/vs/workbench/contrib/extensions/common/searchExtensionsTool.js +4 -4
- package/vscode/src/vs/workbench/contrib/files/browser/fileConstants.js +6 -6
- package/vscode/src/vs/workbench/contrib/files/browser/files.service.d.ts +2 -2
- package/vscode/src/vs/workbench/contrib/folding/browser/folding.contribution.js +3 -3
- package/vscode/src/vs/workbench/contrib/format/browser/formatActionsMultiple.js +20 -20
- package/vscode/src/vs/workbench/contrib/format/browser/formatActionsNone.js +4 -4
- package/vscode/src/vs/workbench/contrib/format/browser/formatModified.js +1 -1
- package/vscode/src/vs/workbench/contrib/inlayHints/browser/inlayHintsAccessibilty.js +4 -4
- package/vscode/src/vs/workbench/contrib/inlineChat/browser/inlineChatSessionService.service.d.ts +7 -8
- 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
|
@@ -19,23 +19,7 @@ export declare class BareFontInfo {
|
|
|
19
19
|
/**
|
|
20
20
|
* @internal
|
|
21
21
|
*/
|
|
22
|
-
static
|
|
23
|
-
/**
|
|
24
|
-
* @internal
|
|
25
|
-
*/
|
|
26
|
-
static createFromRawSettings(opts: {
|
|
27
|
-
fontFamily?: string;
|
|
28
|
-
fontWeight?: string;
|
|
29
|
-
fontSize?: number;
|
|
30
|
-
fontLigatures?: boolean | string;
|
|
31
|
-
fontVariations?: boolean | string;
|
|
32
|
-
lineHeight?: number;
|
|
33
|
-
letterSpacing?: number;
|
|
34
|
-
}, pixelRatio: number, ignoreEditorZoom?: boolean): BareFontInfo;
|
|
35
|
-
/**
|
|
36
|
-
* @internal
|
|
37
|
-
*/
|
|
38
|
-
private static _create;
|
|
22
|
+
static _create(fontFamily: string, fontWeight: string, fontSize: number, fontFeatureSettings: string, fontVariationSettings: string, lineHeight: number, letterSpacing: number, pixelRatio: number, ignoreEditorZoom: boolean): BareFontInfo;
|
|
39
23
|
readonly pixelRatio: number;
|
|
40
24
|
readonly fontFamily: string;
|
|
41
25
|
readonly fontWeight: string;
|
|
@@ -106,3 +90,33 @@ export declare class FontInfo extends BareFontInfo {
|
|
|
106
90
|
*/
|
|
107
91
|
equals(other: FontInfo): boolean;
|
|
108
92
|
}
|
|
93
|
+
/**
|
|
94
|
+
* @internal
|
|
95
|
+
*/
|
|
96
|
+
export declare const FONT_VARIATION_OFF = "normal";
|
|
97
|
+
/**
|
|
98
|
+
* @internal
|
|
99
|
+
*/
|
|
100
|
+
export declare const FONT_VARIATION_TRANSLATE = "translate";
|
|
101
|
+
/**
|
|
102
|
+
* @internal
|
|
103
|
+
*/
|
|
104
|
+
export declare const DEFAULT_WINDOWS_FONT_FAMILY = "Consolas, 'Courier New', monospace";
|
|
105
|
+
/**
|
|
106
|
+
* @internal
|
|
107
|
+
*/
|
|
108
|
+
export declare const DEFAULT_MAC_FONT_FAMILY = "Menlo, Monaco, 'Courier New', monospace";
|
|
109
|
+
/**
|
|
110
|
+
* @internal
|
|
111
|
+
*/
|
|
112
|
+
export declare const DEFAULT_LINUX_FONT_FAMILY = "'Droid Sans Mono', 'monospace', monospace";
|
|
113
|
+
/**
|
|
114
|
+
* @internal
|
|
115
|
+
*/
|
|
116
|
+
export declare const EDITOR_FONT_DEFAULTS: {
|
|
117
|
+
fontFamily: string;
|
|
118
|
+
fontWeight: string;
|
|
119
|
+
fontSize: number;
|
|
120
|
+
lineHeight: number;
|
|
121
|
+
letterSpacing: number;
|
|
122
|
+
};
|
|
@@ -1,31 +1,10 @@
|
|
|
1
1
|
|
|
2
|
-
import { isMacintosh } from '../../../base/common/platform.js';
|
|
3
|
-
import { EditorOption, EditorOptions, EditorFontVariations, EDITOR_FONT_DEFAULTS } from './editorOptions.js';
|
|
2
|
+
import { isMacintosh, isWindows } from '../../../base/common/platform.js';
|
|
4
3
|
import { EditorZoom } from './editorZoom.js';
|
|
5
4
|
|
|
6
5
|
const GOLDEN_LINE_HEIGHT_RATIO = isMacintosh ? 1.5 : 1.35;
|
|
7
6
|
const MINIMUM_LINE_HEIGHT = 8;
|
|
8
7
|
class BareFontInfo {
|
|
9
|
-
static createFromValidatedSettings(options, pixelRatio, ignoreEditorZoom) {
|
|
10
|
-
const fontFamily = options.get(EditorOption.fontFamily);
|
|
11
|
-
const fontWeight = options.get(EditorOption.fontWeight);
|
|
12
|
-
const fontSize = options.get(EditorOption.fontSize);
|
|
13
|
-
const fontFeatureSettings = options.get(EditorOption.fontLigatures);
|
|
14
|
-
const fontVariationSettings = options.get(EditorOption.fontVariations);
|
|
15
|
-
const lineHeight = options.get(EditorOption.lineHeight);
|
|
16
|
-
const letterSpacing = options.get(EditorOption.letterSpacing);
|
|
17
|
-
return BareFontInfo._create(fontFamily, fontWeight, fontSize, fontFeatureSettings, fontVariationSettings, lineHeight, letterSpacing, pixelRatio, ignoreEditorZoom);
|
|
18
|
-
}
|
|
19
|
-
static createFromRawSettings(opts, pixelRatio, ignoreEditorZoom = false) {
|
|
20
|
-
const fontFamily = EditorOptions.fontFamily.validate(opts.fontFamily);
|
|
21
|
-
const fontWeight = EditorOptions.fontWeight.validate(opts.fontWeight);
|
|
22
|
-
const fontSize = EditorOptions.fontSize.validate(opts.fontSize);
|
|
23
|
-
const fontFeatureSettings = EditorOptions.fontLigatures2.validate(opts.fontLigatures);
|
|
24
|
-
const fontVariationSettings = EditorOptions.fontVariations.validate(opts.fontVariations);
|
|
25
|
-
const lineHeight = EditorOptions.lineHeight.validate(opts.lineHeight);
|
|
26
|
-
const letterSpacing = EditorOptions.letterSpacing.validate(opts.letterSpacing);
|
|
27
|
-
return BareFontInfo._create(fontFamily, fontWeight, fontSize, fontFeatureSettings, fontVariationSettings, lineHeight, letterSpacing, pixelRatio, ignoreEditorZoom);
|
|
28
|
-
}
|
|
29
8
|
static _create(fontFamily, fontWeight, fontSize, fontFeatureSettings, fontVariationSettings, lineHeight, letterSpacing, pixelRatio, ignoreEditorZoom) {
|
|
30
9
|
if (lineHeight === 0) {
|
|
31
10
|
lineHeight = GOLDEN_LINE_HEIGHT_RATIO * fontSize;
|
|
@@ -40,9 +19,9 @@ class BareFontInfo {
|
|
|
40
19
|
const editorZoomLevelMultiplier = 1 + (ignoreEditorZoom ? 0 : EditorZoom.getZoomLevel() * 0.1);
|
|
41
20
|
fontSize *= editorZoomLevelMultiplier;
|
|
42
21
|
lineHeight *= editorZoomLevelMultiplier;
|
|
43
|
-
if (fontVariationSettings ===
|
|
22
|
+
if (fontVariationSettings === FONT_VARIATION_TRANSLATE) {
|
|
44
23
|
if (fontWeight === 'normal' || fontWeight === 'bold') {
|
|
45
|
-
fontVariationSettings =
|
|
24
|
+
fontVariationSettings = FONT_VARIATION_OFF;
|
|
46
25
|
}
|
|
47
26
|
else {
|
|
48
27
|
const fontWeightAsNumber = parseInt(fontWeight, 10);
|
|
@@ -126,5 +105,17 @@ class FontInfo extends BareFontInfo {
|
|
|
126
105
|
&& this.maxDigitWidth === other.maxDigitWidth);
|
|
127
106
|
}
|
|
128
107
|
}
|
|
108
|
+
const FONT_VARIATION_OFF = 'normal';
|
|
109
|
+
const FONT_VARIATION_TRANSLATE = 'translate';
|
|
110
|
+
const DEFAULT_WINDOWS_FONT_FAMILY = 'Consolas, \'Courier New\', monospace';
|
|
111
|
+
const DEFAULT_MAC_FONT_FAMILY = 'Menlo, Monaco, \'Courier New\', monospace';
|
|
112
|
+
const DEFAULT_LINUX_FONT_FAMILY = '\'Droid Sans Mono\', \'monospace\', monospace';
|
|
113
|
+
const EDITOR_FONT_DEFAULTS = {
|
|
114
|
+
fontFamily: (isMacintosh ? DEFAULT_MAC_FONT_FAMILY : (isWindows ? DEFAULT_WINDOWS_FONT_FAMILY : DEFAULT_LINUX_FONT_FAMILY)),
|
|
115
|
+
fontWeight: 'normal',
|
|
116
|
+
fontSize: (isMacintosh ? 12 : 14),
|
|
117
|
+
lineHeight: 0,
|
|
118
|
+
letterSpacing: 0,
|
|
119
|
+
};
|
|
129
120
|
|
|
130
|
-
export { BareFontInfo, FontInfo, GOLDEN_LINE_HEIGHT_RATIO, MINIMUM_LINE_HEIGHT, SERIALIZED_FONT_INFO_VERSION };
|
|
121
|
+
export { BareFontInfo, DEFAULT_LINUX_FONT_FAMILY, DEFAULT_MAC_FONT_FAMILY, DEFAULT_WINDOWS_FONT_FAMILY, EDITOR_FONT_DEFAULTS, FONT_VARIATION_OFF, FONT_VARIATION_TRANSLATE, FontInfo, GOLDEN_LINE_HEIGHT_RATIO, MINIMUM_LINE_HEIGHT, SERIALIZED_FONT_INFO_VERSION };
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { IValidatedEditorOptions, BareFontInfo } from "./fontInfo.js";
|
|
2
|
+
export declare function createBareFontInfoFromValidatedSettings(options: IValidatedEditorOptions, pixelRatio: number, ignoreEditorZoom: boolean): BareFontInfo;
|
|
3
|
+
export declare function createBareFontInfoFromRawSettings(opts: {
|
|
4
|
+
fontFamily?: unknown;
|
|
5
|
+
fontWeight?: unknown;
|
|
6
|
+
fontSize?: unknown;
|
|
7
|
+
fontLigatures?: unknown;
|
|
8
|
+
fontVariations?: unknown;
|
|
9
|
+
lineHeight?: unknown;
|
|
10
|
+
letterSpacing?: unknown;
|
|
11
|
+
}, pixelRatio: number, ignoreEditorZoom?: boolean): BareFontInfo;
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
|
|
2
|
+
import { EditorOption, EditorOptions } from './editorOptions.js';
|
|
3
|
+
import { BareFontInfo } from './fontInfo.js';
|
|
4
|
+
|
|
5
|
+
function createBareFontInfoFromValidatedSettings(options, pixelRatio, ignoreEditorZoom) {
|
|
6
|
+
const fontFamily = options.get(EditorOption.fontFamily);
|
|
7
|
+
const fontWeight = options.get(EditorOption.fontWeight);
|
|
8
|
+
const fontSize = options.get(EditorOption.fontSize);
|
|
9
|
+
const fontFeatureSettings = options.get(EditorOption.fontLigatures);
|
|
10
|
+
const fontVariationSettings = options.get(EditorOption.fontVariations);
|
|
11
|
+
const lineHeight = options.get(EditorOption.lineHeight);
|
|
12
|
+
const letterSpacing = options.get(EditorOption.letterSpacing);
|
|
13
|
+
return BareFontInfo._create(fontFamily, fontWeight, fontSize, fontFeatureSettings, fontVariationSettings, lineHeight, letterSpacing, pixelRatio, ignoreEditorZoom);
|
|
14
|
+
}
|
|
15
|
+
function createBareFontInfoFromRawSettings(opts, pixelRatio, ignoreEditorZoom = false) {
|
|
16
|
+
const fontFamily = EditorOptions.fontFamily.validate(opts.fontFamily);
|
|
17
|
+
const fontWeight = EditorOptions.fontWeight.validate(opts.fontWeight);
|
|
18
|
+
const fontSize = EditorOptions.fontSize.validate(opts.fontSize);
|
|
19
|
+
const fontFeatureSettings = EditorOptions.fontLigatures2.validate(opts.fontLigatures);
|
|
20
|
+
const fontVariationSettings = EditorOptions.fontVariations.validate(opts.fontVariations);
|
|
21
|
+
const lineHeight = EditorOptions.lineHeight.validate(opts.lineHeight);
|
|
22
|
+
const letterSpacing = EditorOptions.letterSpacing.validate(opts.letterSpacing);
|
|
23
|
+
return BareFontInfo._create(fontFamily, fontWeight, fontSize, fontFeatureSettings, fontVariationSettings, lineHeight, letterSpacing, pixelRatio, ignoreEditorZoom);
|
|
24
|
+
}
|
|
25
|
+
|
|
26
|
+
export { createBareFontInfoFromRawSettings, createBareFontInfoFromValidatedSettings };
|
|
@@ -14,174 +14,174 @@ import '../../../platform/theme/common/colors/quickpickColors.js';
|
|
|
14
14
|
import '../../../platform/theme/common/colors/searchColors.js';
|
|
15
15
|
import { registerThemingParticipant } from '../../../platform/theme/common/themeService.js';
|
|
16
16
|
|
|
17
|
-
const editorLineHighlight = registerColor('editor.lineHighlightBackground', null, ( localize(
|
|
17
|
+
const editorLineHighlight = registerColor('editor.lineHighlightBackground', null, ( localize(673, 'Background color for the highlight of line at the cursor position.')));
|
|
18
18
|
const editorLineHighlightBorder = registerColor('editor.lineHighlightBorder', { dark: '#282828', light: '#eeeeee', hcDark: '#f38518', hcLight: contrastBorder }, ( localize(
|
|
19
|
-
|
|
19
|
+
674,
|
|
20
20
|
'Background color for the border around the line at the cursor position.'
|
|
21
21
|
)));
|
|
22
22
|
const editorRangeHighlight = registerColor('editor.rangeHighlightBackground', { dark: '#ffffff0b', light: '#fdff0033', hcDark: null, hcLight: null }, ( localize(
|
|
23
|
-
|
|
23
|
+
675,
|
|
24
24
|
'Background color of highlighted ranges, like by quick open and find features. The color must not be opaque so as not to hide underlying decorations.'
|
|
25
25
|
)), true);
|
|
26
|
-
registerColor('editor.rangeHighlightBorder', { dark: null, light: null, hcDark: activeContrastBorder, hcLight: activeContrastBorder }, ( localize(
|
|
26
|
+
registerColor('editor.rangeHighlightBorder', { dark: null, light: null, hcDark: activeContrastBorder, hcLight: activeContrastBorder }, ( localize(676, 'Background color of the border around highlighted ranges.')));
|
|
27
27
|
registerColor('editor.symbolHighlightBackground', { dark: editorFindMatchHighlight, light: editorFindMatchHighlight, hcDark: null, hcLight: null }, ( localize(
|
|
28
|
-
|
|
28
|
+
677,
|
|
29
29
|
'Background color of highlighted symbol, like for go to definition or go next/previous symbol. The color must not be opaque so as not to hide underlying decorations.'
|
|
30
30
|
)), true);
|
|
31
|
-
registerColor('editor.symbolHighlightBorder', { dark: null, light: null, hcDark: activeContrastBorder, hcLight: activeContrastBorder }, ( localize(
|
|
32
|
-
const editorCursorForeground = registerColor('editorCursor.foreground', { dark: '#AEAFAD', light: Color.black, hcDark: Color.white, hcLight: '#0F4A85' }, ( localize(
|
|
31
|
+
registerColor('editor.symbolHighlightBorder', { dark: null, light: null, hcDark: activeContrastBorder, hcLight: activeContrastBorder }, ( localize(678, 'Background color of the border around highlighted symbols.')));
|
|
32
|
+
const editorCursorForeground = registerColor('editorCursor.foreground', { dark: '#AEAFAD', light: Color.black, hcDark: Color.white, hcLight: '#0F4A85' }, ( localize(679, 'Color of the editor cursor.')));
|
|
33
33
|
const editorCursorBackground = registerColor('editorCursor.background', null, ( localize(
|
|
34
|
-
|
|
34
|
+
680,
|
|
35
35
|
'The background color of the editor cursor. Allows customizing the color of a character overlapped by a block cursor.'
|
|
36
36
|
)));
|
|
37
37
|
const editorMultiCursorPrimaryForeground = registerColor('editorMultiCursor.primary.foreground', editorCursorForeground, ( localize(
|
|
38
|
-
|
|
38
|
+
681,
|
|
39
39
|
'Color of the primary editor cursor when multiple cursors are present.'
|
|
40
40
|
)));
|
|
41
41
|
const editorMultiCursorPrimaryBackground = registerColor('editorMultiCursor.primary.background', editorCursorBackground, ( localize(
|
|
42
|
-
|
|
42
|
+
682,
|
|
43
43
|
'The background color of the primary editor cursor when multiple cursors are present. Allows customizing the color of a character overlapped by a block cursor.'
|
|
44
44
|
)));
|
|
45
45
|
const editorMultiCursorSecondaryForeground = registerColor('editorMultiCursor.secondary.foreground', editorCursorForeground, ( localize(
|
|
46
|
-
|
|
46
|
+
683,
|
|
47
47
|
'Color of secondary editor cursors when multiple cursors are present.'
|
|
48
48
|
)));
|
|
49
49
|
const editorMultiCursorSecondaryBackground = registerColor('editorMultiCursor.secondary.background', editorCursorBackground, ( localize(
|
|
50
|
-
|
|
50
|
+
684,
|
|
51
51
|
'The background color of secondary editor cursors when multiple cursors are present. Allows customizing the color of a character overlapped by a block cursor.'
|
|
52
52
|
)));
|
|
53
|
-
const editorWhitespaces = registerColor('editorWhitespace.foreground', { dark: '#e3e4e229', light: '#33333333', hcDark: '#e3e4e229', hcLight: '#CCCCCC' }, ( localize(
|
|
54
|
-
const editorLineNumbers = registerColor('editorLineNumber.foreground', { dark: '#858585', light: '#237893', hcDark: Color.white, hcLight: '#292929' }, ( localize(
|
|
55
|
-
const deprecatedEditorIndentGuides = registerColor('editorIndentGuide.background', editorWhitespaces, ( localize(
|
|
56
|
-
|
|
53
|
+
const editorWhitespaces = registerColor('editorWhitespace.foreground', { dark: '#e3e4e229', light: '#33333333', hcDark: '#e3e4e229', hcLight: '#CCCCCC' }, ( localize(685, 'Color of whitespace characters in the editor.')));
|
|
54
|
+
const editorLineNumbers = registerColor('editorLineNumber.foreground', { dark: '#858585', light: '#237893', hcDark: Color.white, hcLight: '#292929' }, ( localize(686, 'Color of editor line numbers.')));
|
|
55
|
+
const deprecatedEditorIndentGuides = registerColor('editorIndentGuide.background', editorWhitespaces, ( localize(687, 'Color of the editor indentation guides.')), false, ( localize(
|
|
56
|
+
688,
|
|
57
57
|
'\'editorIndentGuide.background\' is deprecated. Use \'editorIndentGuide.background1\' instead.'
|
|
58
58
|
)));
|
|
59
|
-
const deprecatedEditorActiveIndentGuides = registerColor('editorIndentGuide.activeBackground', editorWhitespaces, ( localize(
|
|
60
|
-
|
|
59
|
+
const deprecatedEditorActiveIndentGuides = registerColor('editorIndentGuide.activeBackground', editorWhitespaces, ( localize(689, 'Color of the active editor indentation guides.')), false, ( localize(
|
|
60
|
+
690,
|
|
61
61
|
'\'editorIndentGuide.activeBackground\' is deprecated. Use \'editorIndentGuide.activeBackground1\' instead.'
|
|
62
62
|
)));
|
|
63
|
-
const editorIndentGuide1 = registerColor('editorIndentGuide.background1', deprecatedEditorIndentGuides, ( localize(
|
|
64
|
-
const editorIndentGuide2 = registerColor('editorIndentGuide.background2', '#00000000', ( localize(
|
|
65
|
-
const editorIndentGuide3 = registerColor('editorIndentGuide.background3', '#00000000', ( localize(
|
|
66
|
-
const editorIndentGuide4 = registerColor('editorIndentGuide.background4', '#00000000', ( localize(
|
|
67
|
-
const editorIndentGuide5 = registerColor('editorIndentGuide.background5', '#00000000', ( localize(
|
|
68
|
-
const editorIndentGuide6 = registerColor('editorIndentGuide.background6', '#00000000', ( localize(
|
|
69
|
-
const editorActiveIndentGuide1 = registerColor('editorIndentGuide.activeBackground1', deprecatedEditorActiveIndentGuides, ( localize(
|
|
70
|
-
const editorActiveIndentGuide2 = registerColor('editorIndentGuide.activeBackground2', '#00000000', ( localize(
|
|
71
|
-
const editorActiveIndentGuide3 = registerColor('editorIndentGuide.activeBackground3', '#00000000', ( localize(
|
|
72
|
-
const editorActiveIndentGuide4 = registerColor('editorIndentGuide.activeBackground4', '#00000000', ( localize(
|
|
73
|
-
const editorActiveIndentGuide5 = registerColor('editorIndentGuide.activeBackground5', '#00000000', ( localize(
|
|
74
|
-
const editorActiveIndentGuide6 = registerColor('editorIndentGuide.activeBackground6', '#00000000', ( localize(
|
|
75
|
-
const deprecatedEditorActiveLineNumber = registerColor('editorActiveLineNumber.foreground', { dark: '#c6c6c6', light: '#0B216F', hcDark: activeContrastBorder, hcLight: activeContrastBorder }, ( localize(
|
|
76
|
-
|
|
63
|
+
const editorIndentGuide1 = registerColor('editorIndentGuide.background1', deprecatedEditorIndentGuides, ( localize(691, 'Color of the editor indentation guides (1).')));
|
|
64
|
+
const editorIndentGuide2 = registerColor('editorIndentGuide.background2', '#00000000', ( localize(692, 'Color of the editor indentation guides (2).')));
|
|
65
|
+
const editorIndentGuide3 = registerColor('editorIndentGuide.background3', '#00000000', ( localize(693, 'Color of the editor indentation guides (3).')));
|
|
66
|
+
const editorIndentGuide4 = registerColor('editorIndentGuide.background4', '#00000000', ( localize(694, 'Color of the editor indentation guides (4).')));
|
|
67
|
+
const editorIndentGuide5 = registerColor('editorIndentGuide.background5', '#00000000', ( localize(695, 'Color of the editor indentation guides (5).')));
|
|
68
|
+
const editorIndentGuide6 = registerColor('editorIndentGuide.background6', '#00000000', ( localize(696, 'Color of the editor indentation guides (6).')));
|
|
69
|
+
const editorActiveIndentGuide1 = registerColor('editorIndentGuide.activeBackground1', deprecatedEditorActiveIndentGuides, ( localize(697, 'Color of the active editor indentation guides (1).')));
|
|
70
|
+
const editorActiveIndentGuide2 = registerColor('editorIndentGuide.activeBackground2', '#00000000', ( localize(698, 'Color of the active editor indentation guides (2).')));
|
|
71
|
+
const editorActiveIndentGuide3 = registerColor('editorIndentGuide.activeBackground3', '#00000000', ( localize(699, 'Color of the active editor indentation guides (3).')));
|
|
72
|
+
const editorActiveIndentGuide4 = registerColor('editorIndentGuide.activeBackground4', '#00000000', ( localize(700, 'Color of the active editor indentation guides (4).')));
|
|
73
|
+
const editorActiveIndentGuide5 = registerColor('editorIndentGuide.activeBackground5', '#00000000', ( localize(701, 'Color of the active editor indentation guides (5).')));
|
|
74
|
+
const editorActiveIndentGuide6 = registerColor('editorIndentGuide.activeBackground6', '#00000000', ( localize(702, 'Color of the active editor indentation guides (6).')));
|
|
75
|
+
const deprecatedEditorActiveLineNumber = registerColor('editorActiveLineNumber.foreground', { dark: '#c6c6c6', light: '#0B216F', hcDark: activeContrastBorder, hcLight: activeContrastBorder }, ( localize(703, 'Color of editor active line number')), false, ( localize(
|
|
76
|
+
704,
|
|
77
77
|
'Id is deprecated. Use \'editorLineNumber.activeForeground\' instead.'
|
|
78
78
|
)));
|
|
79
|
-
registerColor('editorLineNumber.activeForeground', deprecatedEditorActiveLineNumber, ( localize(
|
|
79
|
+
registerColor('editorLineNumber.activeForeground', deprecatedEditorActiveLineNumber, ( localize(703, 'Color of editor active line number')));
|
|
80
80
|
const editorDimmedLineNumber = registerColor('editorLineNumber.dimmedForeground', null, ( localize(
|
|
81
|
-
|
|
81
|
+
705,
|
|
82
82
|
'Color of the final editor line when editor.renderFinalNewline is set to dimmed.'
|
|
83
83
|
)));
|
|
84
|
-
const editorRuler = registerColor('editorRuler.foreground', { dark: '#5A5A5A', light: Color.lightgrey, hcDark: Color.white, hcLight: '#292929' }, ( localize(
|
|
85
|
-
registerColor('editorCodeLens.foreground', { dark: '#999999', light: '#919191', hcDark: '#999999', hcLight: '#292929' }, ( localize(
|
|
86
|
-
registerColor('editorBracketMatch.background', { dark: '#0064001a', light: '#0064001a', hcDark: '#0064001a', hcLight: '#0000' }, ( localize(
|
|
87
|
-
registerColor('editorBracketMatch.border', { dark: '#888', light: '#B9B9B9', hcDark: contrastBorder, hcLight: contrastBorder }, ( localize(
|
|
88
|
-
const editorOverviewRulerBorder = registerColor('editorOverviewRuler.border', { dark: '#7f7f7f4d', light: '#7f7f7f4d', hcDark: '#7f7f7f4d', hcLight: '#666666' }, ( localize(
|
|
89
|
-
const editorOverviewRulerBackground = registerColor('editorOverviewRuler.background', null, ( localize(
|
|
84
|
+
const editorRuler = registerColor('editorRuler.foreground', { dark: '#5A5A5A', light: Color.lightgrey, hcDark: Color.white, hcLight: '#292929' }, ( localize(706, 'Color of the editor rulers.')));
|
|
85
|
+
registerColor('editorCodeLens.foreground', { dark: '#999999', light: '#919191', hcDark: '#999999', hcLight: '#292929' }, ( localize(707, 'Foreground color of editor CodeLens')));
|
|
86
|
+
registerColor('editorBracketMatch.background', { dark: '#0064001a', light: '#0064001a', hcDark: '#0064001a', hcLight: '#0000' }, ( localize(708, 'Background color behind matching brackets')));
|
|
87
|
+
registerColor('editorBracketMatch.border', { dark: '#888', light: '#B9B9B9', hcDark: contrastBorder, hcLight: contrastBorder }, ( localize(709, 'Color for matching brackets boxes')));
|
|
88
|
+
const editorOverviewRulerBorder = registerColor('editorOverviewRuler.border', { dark: '#7f7f7f4d', light: '#7f7f7f4d', hcDark: '#7f7f7f4d', hcLight: '#666666' }, ( localize(710, 'Color of the overview ruler border.')));
|
|
89
|
+
const editorOverviewRulerBackground = registerColor('editorOverviewRuler.background', null, ( localize(711, 'Background color of the editor overview ruler.')));
|
|
90
90
|
registerColor('editorGutter.background', editorBackground, ( localize(
|
|
91
|
-
|
|
91
|
+
712,
|
|
92
92
|
'Background color of the editor gutter. The gutter contains the glyph margins and the line numbers.'
|
|
93
93
|
)));
|
|
94
|
-
registerColor('editorUnnecessaryCode.border', { dark: null, light: null, hcDark: ( ( Color.fromHex('#fff')).transparent(0.8)), hcLight: contrastBorder }, ( localize(
|
|
94
|
+
registerColor('editorUnnecessaryCode.border', { dark: null, light: null, hcDark: ( ( Color.fromHex('#fff')).transparent(0.8)), hcLight: contrastBorder }, ( localize(713, 'Border color of unnecessary (unused) source code in the editor.')));
|
|
95
95
|
const editorUnnecessaryCodeOpacity = registerColor('editorUnnecessaryCode.opacity', { dark: ( Color.fromHex('#000a')), light: ( Color.fromHex('#0007')), hcDark: null, hcLight: null }, ( localize(
|
|
96
|
-
|
|
96
|
+
714,
|
|
97
97
|
'Opacity of unnecessary (unused) source code in the editor. For example, "#000000c0" will render the code with 75% opacity. For high contrast themes, use the \'editorUnnecessaryCode.border\' theme color to underline unnecessary code instead of fading it out.'
|
|
98
98
|
)));
|
|
99
|
-
registerColor('editorGhostText.border', { dark: null, light: null, hcDark: ( ( Color.fromHex('#fff')).transparent(0.8)), hcLight: ( ( Color.fromHex('#292929')).transparent(0.8)) }, ( localize(
|
|
100
|
-
const ghostTextForeground = registerColor('editorGhostText.foreground', { dark: ( Color.fromHex('#ffffff56')), light: ( Color.fromHex('#0007')), hcDark: null, hcLight: null }, ( localize(
|
|
101
|
-
registerColor('editorGhostText.background', null, ( localize(
|
|
99
|
+
registerColor('editorGhostText.border', { dark: null, light: null, hcDark: ( ( Color.fromHex('#fff')).transparent(0.8)), hcLight: ( ( Color.fromHex('#292929')).transparent(0.8)) }, ( localize(715, 'Border color of ghost text in the editor.')));
|
|
100
|
+
const ghostTextForeground = registerColor('editorGhostText.foreground', { dark: ( Color.fromHex('#ffffff56')), light: ( Color.fromHex('#0007')), hcDark: null, hcLight: null }, ( localize(716, 'Foreground color of the ghost text in the editor.')));
|
|
101
|
+
registerColor('editorGhostText.background', null, ( localize(717, 'Background color of the ghost text in the editor.')));
|
|
102
102
|
const rulerRangeDefault = ( new Color(( new RGBA(0, 122, 204, 0.6))));
|
|
103
103
|
const overviewRulerRangeHighlight = registerColor('editorOverviewRuler.rangeHighlightForeground', rulerRangeDefault, ( localize(
|
|
104
|
-
|
|
104
|
+
718,
|
|
105
105
|
'Overview ruler marker color for range highlights. The color must not be opaque so as not to hide underlying decorations.'
|
|
106
106
|
)), true);
|
|
107
|
-
const overviewRulerError = registerColor('editorOverviewRuler.errorForeground', { dark: ( new Color(( new RGBA(255, 18, 18, 0.7)))), light: ( new Color(( new RGBA(255, 18, 18, 0.7)))), hcDark: ( new Color(( new RGBA(255, 50, 50, 1)))), hcLight: '#B5200D' }, ( localize(
|
|
108
|
-
const overviewRulerWarning = registerColor('editorOverviewRuler.warningForeground', { dark: editorWarningForeground, light: editorWarningForeground, hcDark: editorWarningBorder, hcLight: editorWarningBorder }, ( localize(
|
|
109
|
-
const overviewRulerInfo = registerColor('editorOverviewRuler.infoForeground', { dark: editorInfoForeground, light: editorInfoForeground, hcDark: editorInfoBorder, hcLight: editorInfoBorder }, ( localize(
|
|
107
|
+
const overviewRulerError = registerColor('editorOverviewRuler.errorForeground', { dark: ( new Color(( new RGBA(255, 18, 18, 0.7)))), light: ( new Color(( new RGBA(255, 18, 18, 0.7)))), hcDark: ( new Color(( new RGBA(255, 50, 50, 1)))), hcLight: '#B5200D' }, ( localize(719, 'Overview ruler marker color for errors.')));
|
|
108
|
+
const overviewRulerWarning = registerColor('editorOverviewRuler.warningForeground', { dark: editorWarningForeground, light: editorWarningForeground, hcDark: editorWarningBorder, hcLight: editorWarningBorder }, ( localize(720, 'Overview ruler marker color for warnings.')));
|
|
109
|
+
const overviewRulerInfo = registerColor('editorOverviewRuler.infoForeground', { dark: editorInfoForeground, light: editorInfoForeground, hcDark: editorInfoBorder, hcLight: editorInfoBorder }, ( localize(721, 'Overview ruler marker color for infos.')));
|
|
110
110
|
const editorBracketHighlightingForeground1 = registerColor('editorBracketHighlight.foreground1', { dark: '#FFD700', light: '#0431FAFF', hcDark: '#FFD700', hcLight: '#0431FAFF' }, ( localize(
|
|
111
|
-
|
|
111
|
+
722,
|
|
112
112
|
'Foreground color of brackets (1). Requires enabling bracket pair colorization.'
|
|
113
113
|
)));
|
|
114
114
|
const editorBracketHighlightingForeground2 = registerColor('editorBracketHighlight.foreground2', { dark: '#DA70D6', light: '#319331FF', hcDark: '#DA70D6', hcLight: '#319331FF' }, ( localize(
|
|
115
|
-
|
|
115
|
+
723,
|
|
116
116
|
'Foreground color of brackets (2). Requires enabling bracket pair colorization.'
|
|
117
117
|
)));
|
|
118
118
|
const editorBracketHighlightingForeground3 = registerColor('editorBracketHighlight.foreground3', { dark: '#179FFF', light: '#7B3814FF', hcDark: '#87CEFA', hcLight: '#7B3814FF' }, ( localize(
|
|
119
|
-
|
|
119
|
+
724,
|
|
120
120
|
'Foreground color of brackets (3). Requires enabling bracket pair colorization.'
|
|
121
121
|
)));
|
|
122
122
|
const editorBracketHighlightingForeground4 = registerColor('editorBracketHighlight.foreground4', '#00000000', ( localize(
|
|
123
|
-
|
|
123
|
+
725,
|
|
124
124
|
'Foreground color of brackets (4). Requires enabling bracket pair colorization.'
|
|
125
125
|
)));
|
|
126
126
|
const editorBracketHighlightingForeground5 = registerColor('editorBracketHighlight.foreground5', '#00000000', ( localize(
|
|
127
|
-
|
|
127
|
+
726,
|
|
128
128
|
'Foreground color of brackets (5). Requires enabling bracket pair colorization.'
|
|
129
129
|
)));
|
|
130
130
|
const editorBracketHighlightingForeground6 = registerColor('editorBracketHighlight.foreground6', '#00000000', ( localize(
|
|
131
|
-
|
|
131
|
+
727,
|
|
132
132
|
'Foreground color of brackets (6). Requires enabling bracket pair colorization.'
|
|
133
133
|
)));
|
|
134
|
-
const editorBracketHighlightingUnexpectedBracketForeground = registerColor('editorBracketHighlight.unexpectedBracket.foreground', { dark: ( new Color(( new RGBA(255, 18, 18, 0.8)))), light: ( new Color(( new RGBA(255, 18, 18, 0.8)))), hcDark: ( new Color(( new RGBA(255, 50, 50, 1)))), hcLight: '#B5200D' }, ( localize(
|
|
134
|
+
const editorBracketHighlightingUnexpectedBracketForeground = registerColor('editorBracketHighlight.unexpectedBracket.foreground', { dark: ( new Color(( new RGBA(255, 18, 18, 0.8)))), light: ( new Color(( new RGBA(255, 18, 18, 0.8)))), hcDark: ( new Color(( new RGBA(255, 50, 50, 1)))), hcLight: '#B5200D' }, ( localize(728, 'Foreground color of unexpected brackets.')));
|
|
135
135
|
const editorBracketPairGuideBackground1 = registerColor('editorBracketPairGuide.background1', '#00000000', ( localize(
|
|
136
|
-
|
|
136
|
+
729,
|
|
137
137
|
'Background color of inactive bracket pair guides (1). Requires enabling bracket pair guides.'
|
|
138
138
|
)));
|
|
139
139
|
const editorBracketPairGuideBackground2 = registerColor('editorBracketPairGuide.background2', '#00000000', ( localize(
|
|
140
|
-
|
|
140
|
+
730,
|
|
141
141
|
'Background color of inactive bracket pair guides (2). Requires enabling bracket pair guides.'
|
|
142
142
|
)));
|
|
143
143
|
const editorBracketPairGuideBackground3 = registerColor('editorBracketPairGuide.background3', '#00000000', ( localize(
|
|
144
|
-
|
|
144
|
+
731,
|
|
145
145
|
'Background color of inactive bracket pair guides (3). Requires enabling bracket pair guides.'
|
|
146
146
|
)));
|
|
147
147
|
const editorBracketPairGuideBackground4 = registerColor('editorBracketPairGuide.background4', '#00000000', ( localize(
|
|
148
|
-
|
|
148
|
+
732,
|
|
149
149
|
'Background color of inactive bracket pair guides (4). Requires enabling bracket pair guides.'
|
|
150
150
|
)));
|
|
151
151
|
const editorBracketPairGuideBackground5 = registerColor('editorBracketPairGuide.background5', '#00000000', ( localize(
|
|
152
|
-
|
|
152
|
+
733,
|
|
153
153
|
'Background color of inactive bracket pair guides (5). Requires enabling bracket pair guides.'
|
|
154
154
|
)));
|
|
155
155
|
const editorBracketPairGuideBackground6 = registerColor('editorBracketPairGuide.background6', '#00000000', ( localize(
|
|
156
|
-
|
|
156
|
+
734,
|
|
157
157
|
'Background color of inactive bracket pair guides (6). Requires enabling bracket pair guides.'
|
|
158
158
|
)));
|
|
159
159
|
const editorBracketPairGuideActiveBackground1 = registerColor('editorBracketPairGuide.activeBackground1', '#00000000', ( localize(
|
|
160
|
-
|
|
160
|
+
735,
|
|
161
161
|
'Background color of active bracket pair guides (1). Requires enabling bracket pair guides.'
|
|
162
162
|
)));
|
|
163
163
|
const editorBracketPairGuideActiveBackground2 = registerColor('editorBracketPairGuide.activeBackground2', '#00000000', ( localize(
|
|
164
|
-
|
|
164
|
+
736,
|
|
165
165
|
'Background color of active bracket pair guides (2). Requires enabling bracket pair guides.'
|
|
166
166
|
)));
|
|
167
167
|
const editorBracketPairGuideActiveBackground3 = registerColor('editorBracketPairGuide.activeBackground3', '#00000000', ( localize(
|
|
168
|
-
|
|
168
|
+
737,
|
|
169
169
|
'Background color of active bracket pair guides (3). Requires enabling bracket pair guides.'
|
|
170
170
|
)));
|
|
171
171
|
const editorBracketPairGuideActiveBackground4 = registerColor('editorBracketPairGuide.activeBackground4', '#00000000', ( localize(
|
|
172
|
-
|
|
172
|
+
738,
|
|
173
173
|
'Background color of active bracket pair guides (4). Requires enabling bracket pair guides.'
|
|
174
174
|
)));
|
|
175
175
|
const editorBracketPairGuideActiveBackground5 = registerColor('editorBracketPairGuide.activeBackground5', '#00000000', ( localize(
|
|
176
|
-
|
|
176
|
+
739,
|
|
177
177
|
'Background color of active bracket pair guides (5). Requires enabling bracket pair guides.'
|
|
178
178
|
)));
|
|
179
179
|
const editorBracketPairGuideActiveBackground6 = registerColor('editorBracketPairGuide.activeBackground6', '#00000000', ( localize(
|
|
180
|
-
|
|
180
|
+
740,
|
|
181
181
|
'Background color of active bracket pair guides (6). Requires enabling bracket pair guides.'
|
|
182
182
|
)));
|
|
183
|
-
registerColor('editorUnicodeHighlight.border', editorWarningForeground, ( localize(
|
|
184
|
-
registerColor('editorUnicodeHighlight.background', editorWarningBackground, ( localize(
|
|
183
|
+
registerColor('editorUnicodeHighlight.border', editorWarningForeground, ( localize(741, 'Border color used to highlight unicode characters.')));
|
|
184
|
+
registerColor('editorUnicodeHighlight.background', editorWarningBackground, ( localize(742, 'Background color used to highlight unicode characters.')));
|
|
185
185
|
registerThemingParticipant((theme, collector) => {
|
|
186
186
|
const background = theme.getColor(editorBackground);
|
|
187
187
|
const lineHighlight = theme.getColor(editorLineHighlight);
|
|
@@ -108,7 +108,7 @@ export declare class Selection extends Range {
|
|
|
108
108
|
/**
|
|
109
109
|
* Test if `obj` is an `ISelection`.
|
|
110
110
|
*/
|
|
111
|
-
static isISelection(obj:
|
|
111
|
+
static isISelection(obj: unknown): obj is ISelection;
|
|
112
112
|
/**
|
|
113
113
|
* Create with a direction.
|
|
114
114
|
*/
|
|
@@ -98,7 +98,7 @@ class Selection extends Range {
|
|
|
98
98
|
return true;
|
|
99
99
|
}
|
|
100
100
|
static isISelection(obj) {
|
|
101
|
-
return (obj
|
|
101
|
+
return (!!obj
|
|
102
102
|
&& (typeof obj.selectionStartLineNumber === 'number')
|
|
103
103
|
&& (typeof obj.selectionStartColumn === 'number')
|
|
104
104
|
&& (typeof obj.positionLineNumber === 'number')
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { Position } from "../position.js";
|
|
2
|
-
import { PositionOffsetTransformer } from "./positionToOffsetImpl.js";
|
|
3
2
|
import { Range } from "../range.js";
|
|
4
3
|
import { LineRange } from "../ranges/lineRange.js";
|
|
5
|
-
import { TextLength } from "./textLength.js";
|
|
6
4
|
import { OffsetRange } from "../ranges/offsetRange.js";
|
|
5
|
+
import { TextLength } from "./textLength.js";
|
|
6
|
+
import { PositionOffsetTransformer } from "./positionToOffsetImpl.js";
|
|
7
7
|
export declare abstract class AbstractText {
|
|
8
8
|
abstract getValueOfRange(range: Range): string;
|
|
9
9
|
abstract readonly length: TextLength;
|
|
@@ -36,4 +36,5 @@ export declare class StringText extends AbstractText {
|
|
|
36
36
|
constructor(value: string);
|
|
37
37
|
getValueOfRange(range: Range): string;
|
|
38
38
|
get length(): TextLength;
|
|
39
|
+
getTransformer(): PositionOffsetTransformer;
|
|
39
40
|
}
|
|
@@ -2,9 +2,9 @@
|
|
|
2
2
|
import { assert } from '../../../../base/common/assert.js';
|
|
3
3
|
import { splitLines } from '../../../../base/common/strings.js';
|
|
4
4
|
import { Position } from '../position.js';
|
|
5
|
-
import { PositionOffsetTransformer } from './positionToOffsetImpl.js';
|
|
6
5
|
import { Range } from '../range.js';
|
|
7
6
|
import { TextLength } from './textLength.js';
|
|
7
|
+
import { PositionOffsetTransformer } from './positionToOffsetImpl.js';
|
|
8
8
|
|
|
9
9
|
class AbstractText {
|
|
10
10
|
constructor() {
|
|
@@ -91,6 +91,9 @@ class StringText extends AbstractText {
|
|
|
91
91
|
get length() {
|
|
92
92
|
return this._t.textLength;
|
|
93
93
|
}
|
|
94
|
+
getTransformer() {
|
|
95
|
+
return this._t;
|
|
96
|
+
}
|
|
94
97
|
}
|
|
95
98
|
|
|
96
99
|
export { AbstractText, ArrayText, LineBasedText, StringText };
|
|
@@ -88,6 +88,7 @@ export declare namespace CursorMove {
|
|
|
88
88
|
select?: boolean;
|
|
89
89
|
by?: string;
|
|
90
90
|
value?: number;
|
|
91
|
+
noHistory?: boolean;
|
|
91
92
|
}
|
|
92
93
|
function parse(args: Partial<RawArguments>): ParsedArguments | null;
|
|
93
94
|
interface ParsedArguments {
|
|
@@ -95,6 +96,7 @@ export declare namespace CursorMove {
|
|
|
95
96
|
unit: Unit;
|
|
96
97
|
select: boolean;
|
|
97
98
|
value: number;
|
|
99
|
+
noHistory: boolean;
|
|
98
100
|
}
|
|
99
101
|
interface SimpleMoveArguments {
|
|
100
102
|
direction: SimpleMoveDirection;
|
|
@@ -483,6 +483,9 @@ var CursorMove;
|
|
|
483
483
|
if (!isUndefined(cursorMoveArg.value) && !isNumber(cursorMoveArg.value)) {
|
|
484
484
|
return false;
|
|
485
485
|
}
|
|
486
|
+
if (!isUndefined(cursorMoveArg.noHistory) && !isBoolean(cursorMoveArg.noHistory)) {
|
|
487
|
+
return false;
|
|
488
|
+
}
|
|
486
489
|
return true;
|
|
487
490
|
};
|
|
488
491
|
CursorMove.metadata = {
|
|
@@ -504,6 +507,7 @@ var CursorMove;
|
|
|
504
507
|
\`\`\`
|
|
505
508
|
* 'value': Number of units to move. Default is '1'.
|
|
506
509
|
* 'select': If 'true' makes the selection. Default is 'false'.
|
|
510
|
+
* 'noHistory': If 'true' does not add the movement to navigation history. Default is 'false'.
|
|
507
511
|
`,
|
|
508
512
|
constraint: isCursorMoveArgs,
|
|
509
513
|
schema: {
|
|
@@ -525,6 +529,10 @@ var CursorMove;
|
|
|
525
529
|
'select': {
|
|
526
530
|
'type': 'boolean',
|
|
527
531
|
'default': false
|
|
532
|
+
},
|
|
533
|
+
'noHistory': {
|
|
534
|
+
'type': 'boolean',
|
|
535
|
+
'default': false
|
|
528
536
|
}
|
|
529
537
|
}
|
|
530
538
|
}
|
|
@@ -627,7 +635,8 @@ var CursorMove;
|
|
|
627
635
|
direction: direction,
|
|
628
636
|
unit: unit,
|
|
629
637
|
select: (!!args.select),
|
|
630
|
-
value: (args.value || 1)
|
|
638
|
+
value: (args.value || 1),
|
|
639
|
+
noHistory: (!!args.noHistory)
|
|
631
640
|
};
|
|
632
641
|
}
|
|
633
642
|
CursorMove.parse = parse;
|
|
@@ -606,10 +606,18 @@ class WordOperations {
|
|
|
606
606
|
startColumn = prevWord.start + 1;
|
|
607
607
|
endColumn = prevWord.end + 1;
|
|
608
608
|
}
|
|
609
|
+
else if (prevWord && prevWord.wordType === WordType.Separator && prevWord.start <= position.column - 1 && position.column - 1 < prevWord.end) {
|
|
610
|
+
startColumn = prevWord.start + 1;
|
|
611
|
+
endColumn = prevWord.end + 1;
|
|
612
|
+
}
|
|
609
613
|
else if (nextWord && nextWord.wordType === WordType.Regular && nextWord.start <= position.column - 1 && position.column - 1 <= nextWord.end) {
|
|
610
614
|
startColumn = nextWord.start + 1;
|
|
611
615
|
endColumn = nextWord.end + 1;
|
|
612
616
|
}
|
|
617
|
+
else if (nextWord && nextWord.wordType === WordType.Separator && nextWord.start <= position.column - 1 && position.column - 1 < nextWord.end) {
|
|
618
|
+
startColumn = nextWord.start + 1;
|
|
619
|
+
endColumn = nextWord.end + 1;
|
|
620
|
+
}
|
|
613
621
|
else {
|
|
614
622
|
if (prevWord) {
|
|
615
623
|
startColumn = prevWord.end + 1;
|