@codingame/monaco-vscode-api 2.2.1 → 3.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/README.md +16 -3
- package/api.js +8 -10
- package/contributions.js +3 -3
- package/debugProtocol.d.ts +143 -51
- package/extensions.d.ts +9 -5
- package/external/@xterm/xterm/typings/xterm.d.ts +2 -2
- package/missing-services.js +48 -13
- package/monaco.js +30 -14
- package/package.json +8 -8
- package/service-override/tools/editor.js +31 -8
- package/service-override/tools/views.d.ts +8 -8
- package/service-override/tools/views.js +13 -14
- package/services.d.ts +3 -2
- package/services.js +5 -3
- package/vscode/src/vs/base/browser/browser.js +2 -66
- package/vscode/src/vs/base/browser/dom.js +10 -22
- package/vscode/src/vs/base/browser/markdownRenderer.js +13 -5
- package/vscode/src/vs/base/browser/mouseEvent.d.ts +10 -1
- package/vscode/src/vs/base/browser/mouseEvent.js +9 -3
- package/vscode/src/vs/base/browser/pixelRatio.js +72 -0
- package/vscode/src/vs/base/browser/ui/actionbar/actionViewItems.js +4 -3
- package/vscode/src/vs/base/browser/ui/actionbar/actionbar.css.js +1 -1
- package/vscode/src/vs/base/browser/ui/actionbar/actionbar.d.ts +1 -1
- package/vscode/src/vs/base/browser/ui/actionbar/actionbar.js +3 -4
- package/vscode/src/vs/base/browser/ui/button/button.js +16 -4
- package/vscode/src/vs/base/browser/ui/codicons/codicon/codicon.css.js +1 -1
- package/vscode/src/vs/base/browser/ui/contextview/contextview.js +1 -3
- package/vscode/src/vs/base/browser/ui/dropdown/dropdown.js +8 -1
- package/vscode/src/vs/base/browser/ui/dropdown/dropdownActionViewItem.js +6 -2
- package/vscode/src/vs/base/browser/ui/hover/hoverDelegate.js +22 -0
- package/vscode/src/vs/base/browser/ui/iconLabel/iconHoverDelegate.d.ts +1 -0
- package/vscode/src/vs/base/browser/ui/iconLabel/iconLabel.js +3 -2
- package/vscode/src/vs/base/browser/ui/iconLabel/iconLabelHover.js +2 -1
- package/vscode/src/vs/base/browser/ui/list/listView.js +27 -42
- package/vscode/src/vs/base/browser/ui/menu/menu.js +0 -4
- package/vscode/src/vs/base/browser/ui/scrollbar/scrollableElement.d.ts +81 -0
- package/vscode/src/vs/base/browser/ui/scrollbar/scrollableElementOptions.d.ts +160 -0
- package/vscode/src/vs/base/browser/ui/selectBox/selectBoxCustom.js +7 -4
- package/vscode/src/vs/base/browser/ui/table/tableWidget.js +8 -4
- package/vscode/src/vs/base/browser/ui/toggle/toggle.js +4 -2
- package/vscode/src/vs/base/browser/ui/toolbar/toolbar.js +7 -2
- package/vscode/src/vs/base/browser/ui/tree/asyncDataTree.js +1 -0
- package/vscode/src/vs/base/common/actions.js +1 -1
- package/vscode/src/vs/base/common/assert.js +1 -1
- package/vscode/src/vs/base/common/async.js +11 -7
- package/vscode/src/vs/base/common/codicons.d.ts +4 -0
- package/vscode/src/vs/base/common/codicons.js +4 -0
- package/vscode/src/vs/base/common/date.js +55 -1
- package/vscode/src/vs/base/common/event.js +5 -3
- package/vscode/src/vs/base/common/filters.js +1 -1
- package/vscode/src/vs/base/common/hotReload.js +5 -4
- package/vscode/src/vs/base/common/network.js +3 -0
- package/vscode/src/vs/base/common/observableInternal/autorun.js +19 -35
- package/vscode/src/vs/base/common/observableInternal/base.js +3 -82
- package/vscode/src/vs/base/common/observableInternal/debugName.js +100 -0
- package/vscode/src/vs/base/common/observableInternal/derived.js +14 -46
- package/vscode/src/vs/base/common/observableInternal/promise.js +94 -0
- package/vscode/src/vs/base/common/observableInternal/utils.js +5 -27
- package/vscode/src/vs/base/common/prefixTree.js +56 -22
- package/vscode/src/vs/base/common/product.d.ts +1 -1
- package/vscode/src/vs/base/common/scrollable.d.ts +68 -1
- package/vscode/src/vs/base/common/strings.js +9 -1
- package/vscode/src/vs/editor/browser/config/charWidthReader.js +5 -6
- package/vscode/src/vs/editor/browser/config/editorConfiguration.js +15 -8
- package/vscode/src/vs/editor/browser/config/fontMeasurements.js +39 -26
- package/vscode/src/vs/editor/browser/controller/mouseHandler.js +10 -10
- package/vscode/src/vs/editor/browser/controller/mouseTarget.js +4 -4
- package/vscode/src/vs/editor/browser/controller/textAreaHandler.js +12 -12
- package/vscode/src/vs/editor/browser/coreCommands.js +2 -2
- package/vscode/src/vs/editor/browser/view/viewController.js +3 -3
- package/vscode/src/vs/editor/browser/view/viewLayer.js +1 -1
- package/vscode/src/vs/editor/browser/view/viewOverlays.js +6 -6
- package/vscode/src/vs/editor/browser/view.js +2 -2
- package/vscode/src/vs/editor/browser/viewParts/blockDecorations/blockDecorations.js +1 -1
- package/vscode/src/vs/editor/browser/viewParts/contentWidgets/contentWidgets.js +5 -5
- package/vscode/src/vs/editor/browser/viewParts/currentLineHighlight/currentLineHighlight.js +8 -8
- package/vscode/src/vs/editor/browser/viewParts/decorations/decorations.js +2 -2
- package/vscode/src/vs/editor/browser/viewParts/editorScrollbar/editorScrollbar.js +11 -11
- package/vscode/src/vs/editor/browser/viewParts/glyphMargin/glyphMargin.js +4 -4
- package/vscode/src/vs/editor/browser/viewParts/indentGuides/indentGuides.js +4 -4
- package/vscode/src/vs/editor/browser/viewParts/lineNumbers/lineNumbers.js +4 -4
- package/vscode/src/vs/editor/browser/viewParts/lines/viewLine.js +4 -4
- package/vscode/src/vs/editor/browser/viewParts/lines/viewLines.js +13 -13
- package/vscode/src/vs/editor/browser/viewParts/linesDecorations/linesDecorations.js +2 -2
- package/vscode/src/vs/editor/browser/viewParts/margin/margin.js +2 -2
- package/vscode/src/vs/editor/browser/viewParts/minimap/minimap.js +7 -7
- package/vscode/src/vs/editor/browser/viewParts/overlayWidgets/overlayWidgets.js +2 -2
- package/vscode/src/vs/editor/browser/viewParts/overviewRuler/decorationsOverviewRuler.js +7 -7
- package/vscode/src/vs/editor/browser/viewParts/overviewRuler/overviewRuler.js +6 -6
- package/vscode/src/vs/editor/browser/viewParts/rulers/rulers.js +2 -2
- package/vscode/src/vs/editor/browser/viewParts/scrollDecoration/scrollDecoration.js +3 -3
- package/vscode/src/vs/editor/browser/viewParts/selections/selections.js +4 -4
- package/vscode/src/vs/editor/browser/viewParts/viewCursors/viewCursor.js +2 -2
- package/vscode/src/vs/editor/browser/viewParts/viewCursors/viewCursors.js +2 -2
- package/vscode/src/vs/editor/browser/viewParts/viewZones/viewZones.js +5 -5
- package/vscode/src/vs/editor/browser/viewParts/whitespace/whitespace.js +5 -5
- package/vscode/src/vs/editor/browser/widget/codeEditorContributions.js +2 -2
- package/vscode/src/vs/editor/browser/widget/codeEditorWidget.js +43 -35
- package/vscode/src/vs/editor/browser/widget/diffEditor/components/accessibleDiffViewer.css.js +1 -1
- package/vscode/src/vs/editor/browser/widget/diffEditor/components/accessibleDiffViewer.js +82 -37
- package/vscode/src/vs/editor/browser/widget/diffEditor/components/diffEditorEditors.js +3 -1
- package/vscode/src/vs/editor/browser/widget/diffEditor/components/diffEditorViewZones/diffEditorViewZones.js +7 -7
- package/vscode/src/vs/editor/browser/widget/diffEditor/components/diffEditorViewZones/inlineDiffDeletedCodeMargin.js +3 -3
- package/vscode/src/vs/editor/browser/widget/diffEditor/components/diffEditorViewZones/renderLines.js +6 -6
- package/vscode/src/vs/editor/browser/widget/diffEditor/diffEditor.contribution.js +10 -16
- package/vscode/src/vs/editor/browser/widget/diffEditor/diffEditorViewModel.js +2 -1
- package/vscode/src/vs/editor/browser/widget/diffEditor/diffEditorWidget.js +13 -12
- package/vscode/src/vs/editor/browser/widget/diffEditor/features/movedBlocksLinesFeature.js +2 -4
- package/vscode/src/vs/editor/browser/widget/diffEditor/features/overviewRulerFeature.js +1 -1
- package/vscode/src/vs/editor/browser/widget/diffEditor/features/revertButtonsFeature.js +17 -18
- package/vscode/src/vs/editor/browser/widget/diffEditor/utils.js +1 -1
- package/vscode/src/vs/editor/browser/widget/embeddedCodeEditorWidget.js +4 -4
- package/vscode/src/vs/editor/browser/widget/markdownRenderer/browser/renderedMarkdown.css.js +1 -1
- package/vscode/src/vs/editor/browser/widget/multiDiffEditorWidget/colors.js +2 -2
- package/vscode/src/vs/editor/browser/widget/multiDiffEditorWidget/diffEditorItemTemplate.js +43 -16
- package/vscode/src/vs/editor/browser/widget/multiDiffEditorWidget/multiDiffEditorWidget.js +3 -0
- package/vscode/src/vs/editor/browser/widget/multiDiffEditorWidget/multiDiffEditorWidgetImpl.js +42 -8
- package/vscode/src/vs/editor/browser/widget/multiDiffEditorWidget/style.css.js +1 -1
- package/vscode/src/vs/editor/common/config/editorOptions.d.ts +18 -1
- package/vscode/src/vs/editor/common/config/editorOptions.js +188 -107
- package/vscode/src/vs/editor/common/config/fontInfo.js +2 -2
- package/vscode/src/vs/editor/common/cursorCommon.js +14 -14
- package/vscode/src/vs/editor/common/editorContextKeys.js +1 -1
- package/vscode/src/vs/editor/common/languageSelector.js +12 -1
- package/vscode/src/vs/editor/common/languages.d.ts +28 -1
- package/vscode/src/vs/editor/common/languages.js +6 -1
- package/vscode/src/vs/editor/common/services/languageFeatures.d.ts +3 -1
- package/vscode/src/vs/editor/common/services/languageFeaturesService.js +2 -0
- package/vscode/src/vs/editor/common/standalone/standaloneEnums.js +96 -86
- package/vscode/src/vs/editor/common/standaloneStrings.js +5 -5
- package/vscode/src/vs/editor/common/viewLayout/viewLayout.js +19 -19
- package/vscode/src/vs/editor/common/viewModel/monospaceLineBreaksComputer.js +2 -2
- package/vscode/src/vs/editor/common/viewModel/viewModelImpl.js +12 -12
- package/vscode/src/vs/editor/contrib/bracketMatching/browser/bracketMatching.js +3 -3
- package/vscode/src/vs/editor/contrib/clipboard/browser/clipboard.js +6 -6
- package/vscode/src/vs/editor/contrib/codeAction/browser/codeActionController.js +5 -1
- package/vscode/src/vs/editor/contrib/codeAction/browser/codeActionModel.js +3 -3
- package/vscode/src/vs/editor/contrib/codeAction/browser/lightBulbWidget.js +2 -2
- package/vscode/src/vs/editor/contrib/codelens/browser/codelensController.js +1 -1
- package/vscode/src/vs/editor/contrib/colorPicker/browser/colorContributions.js +1 -1
- package/vscode/src/vs/editor/contrib/colorPicker/browser/colorDetector.js +3 -3
- package/vscode/src/vs/editor/contrib/colorPicker/browser/colorHoverParticipant.js +2 -2
- package/vscode/src/vs/editor/contrib/colorPicker/browser/colorPickerWidget.js +3 -3
- package/vscode/src/vs/editor/contrib/colorPicker/browser/standaloneColorPickerActions.js +2 -3
- package/vscode/src/vs/editor/contrib/contextmenu/browser/contextmenu.js +3 -3
- package/vscode/src/vs/editor/contrib/dropOrPasteInto/browser/copyPasteController.js +3 -3
- package/vscode/src/vs/editor/contrib/find/browser/findController.js +1 -1
- package/vscode/src/vs/editor/contrib/find/browser/findModel.js +6 -6
- package/vscode/src/vs/editor/contrib/find/browser/findWidget.css.js +1 -1
- package/vscode/src/vs/editor/contrib/find/browser/findWidget.js +9 -62
- package/vscode/src/vs/editor/contrib/folding/browser/folding.js +3 -3
- package/vscode/src/vs/editor/contrib/format/browser/format.js +5 -5
- package/vscode/src/vs/editor/contrib/format/browser/formatActions.js +5 -5
- package/vscode/src/vs/editor/contrib/gotoError/browser/gotoErrorWidget.js +1 -1
- package/vscode/src/vs/editor/contrib/gotoError/browser/markerNavigationService.js +1 -1
- package/vscode/src/vs/editor/contrib/gotoSymbol/browser/goToCommands.js +58 -84
- package/vscode/src/vs/editor/contrib/gotoSymbol/browser/link/clickLinkGesture.js +3 -3
- package/vscode/src/vs/editor/contrib/gotoSymbol/browser/link/goToDefinitionAtPosition.js +1 -1
- package/vscode/src/vs/editor/contrib/gotoSymbol/browser/peek/referencesController.js +8 -2
- package/vscode/src/vs/editor/contrib/hover/browser/contentHover.js +1 -1
- package/vscode/src/vs/editor/contrib/hover/browser/hover.js +1 -1
- package/vscode/src/vs/editor/contrib/hover/browser/marginHover.js +1 -1
- package/vscode/src/vs/editor/contrib/hover/browser/markdownHoverParticipant.js +1 -1
- package/vscode/src/vs/editor/contrib/hover/browser/markerHoverParticipant.js +18 -15
- package/vscode/src/vs/editor/contrib/inlayHints/browser/inlayHintsController.js +3 -3
- package/vscode/src/vs/editor/contrib/inlayHints/browser/inlayHintsHover.js +1 -1
- package/vscode/src/vs/editor/contrib/inlayHints/browser/inlayHintsLocations.js +2 -2
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/commands.js +1 -1
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/ghostText.js +14 -6
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/ghostTextWidget.js +10 -10
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/hoverParticipant.js +1 -1
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/inlineCompletionContextKeys.js +3 -3
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/inlineCompletionsController.js +54 -27
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/inlineCompletionsHintsWidget.js +1 -1
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/inlineCompletionsModel.js +115 -45
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/inlineCompletionsSource.js +1 -1
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/singleTextEdit.js +6 -5
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/utils.js +46 -1
- package/vscode/src/vs/editor/contrib/inlineEdit/browser/commandIds.js +5 -0
- package/vscode/src/vs/editor/contrib/inlineEdit/browser/commands.js +145 -0
- package/vscode/src/vs/editor/contrib/inlineEdit/browser/ghostTextWidget.js +188 -0
- package/vscode/src/vs/editor/contrib/inlineEdit/browser/hoverParticipant.js +91 -0
- package/vscode/src/vs/editor/contrib/inlineEdit/browser/inlineEdit.contribution.js +12 -0
- package/vscode/src/vs/editor/contrib/inlineEdit/browser/inlineEdit.css.js +4 -0
- package/vscode/src/vs/editor/contrib/inlineEdit/browser/inlineEditController.js +309 -0
- package/vscode/src/vs/editor/contrib/inlineEdit/browser/inlineEditHintsWidget.css.js +4 -0
- package/vscode/src/vs/editor/contrib/inlineEdit/browser/inlineEditHintsWidget.js +193 -0
- package/vscode/src/vs/editor/contrib/inlineProgress/browser/inlineProgress.js +2 -2
- package/vscode/src/vs/editor/contrib/linesOperations/browser/linesOperations.js +1 -1
- package/vscode/src/vs/editor/contrib/linkedEditing/browser/linkedEditing.js +2 -2
- package/vscode/src/vs/editor/contrib/links/browser/links.js +5 -5
- package/vscode/src/vs/editor/contrib/longLinesHelper/browser/longLinesHelper.js +1 -1
- package/vscode/src/vs/editor/contrib/multicursor/browser/multicursor.js +10 -10
- package/vscode/src/vs/editor/contrib/parameterHints/browser/parameterHintsModel.js +3 -3
- package/vscode/src/vs/editor/contrib/peekView/browser/peekView.js +1 -1
- package/vscode/src/vs/editor/contrib/quickAccess/browser/gotoLineQuickAccess.js +1 -1
- package/vscode/src/vs/editor/contrib/readOnlyMessage/browser/contribution.js +1 -1
- package/vscode/src/vs/editor/contrib/rename/browser/rename.js +143 -9
- package/vscode/src/vs/editor/contrib/rename/browser/renameInputField.css.js +1 -1
- package/vscode/src/vs/editor/contrib/rename/browser/renameInputField.js +347 -17
- package/vscode/src/vs/editor/contrib/smartSelect/browser/smartSelect.js +1 -1
- package/vscode/src/vs/editor/contrib/snippet/browser/snippetSession.js +2 -2
- package/vscode/src/vs/editor/contrib/stickyScroll/browser/stickyScrollActions.js +23 -37
- package/vscode/src/vs/editor/contrib/stickyScroll/browser/stickyScrollController.js +11 -10
- package/vscode/src/vs/editor/contrib/stickyScroll/browser/stickyScrollProvider.js +2 -2
- package/vscode/src/vs/editor/contrib/stickyScroll/browser/stickyScrollWidget.js +8 -8
- package/vscode/src/vs/editor/contrib/suggest/browser/suggestController.js +4 -4
- package/vscode/src/vs/editor/contrib/suggest/browser/suggestInlineCompletions.js +2 -2
- package/vscode/src/vs/editor/contrib/suggest/browser/suggestModel.js +11 -11
- package/vscode/src/vs/editor/contrib/suggest/browser/suggestWidget.js +6 -6
- package/vscode/src/vs/editor/contrib/suggest/browser/suggestWidgetDetails.js +3 -3
- package/vscode/src/vs/editor/contrib/suggest/browser/suggestWidgetRenderer.js +3 -3
- package/vscode/src/vs/editor/contrib/suggest/browser/wordContextKey.js +2 -2
- package/vscode/src/vs/editor/contrib/suggest/browser/wordDistance.js +1 -1
- package/vscode/src/vs/editor/contrib/toggleTabFocusMode/browser/toggleTabFocusMode.js +3 -3
- package/vscode/src/vs/editor/contrib/unicodeHighlighter/browser/unicodeHighlighter.js +3 -3
- package/vscode/src/vs/editor/contrib/unusualLineTerminators/browser/unusualLineTerminators.js +4 -4
- package/vscode/src/vs/editor/contrib/wordHighlighter/browser/wordHighlighter.js +26 -16
- package/vscode/src/vs/editor/contrib/wordOperations/browser/wordOperations.js +3 -3
- package/vscode/src/vs/editor/contrib/zoneWidget/browser/zoneWidget.js +7 -3
- package/vscode/src/vs/editor/editor.api.d.ts +146 -85
- package/vscode/src/vs/editor/standalone/browser/iPadShowKeyboard/iPadShowKeyboard.js +1 -1
- package/vscode/src/vs/editor/standalone/browser/quickInput/standaloneQuickInputService.js +3 -5
- package/vscode/src/vs/editor/standalone/browser/standaloneCodeEditor.js +9 -9
- package/vscode/src/vs/editor/standalone/browser/standaloneServices.js +10 -10
- package/vscode/src/vs/platform/accessibilitySignal/browser/accessibilitySignalService.d.ts +99 -0
- package/vscode/src/vs/platform/accessibilitySignal/browser/accessibilitySignalService.js +608 -0
- package/vscode/src/vs/platform/action/common/actionCommonCategories.d.ts +1 -4
- package/vscode/src/vs/platform/action/common/actionCommonCategories.js +3 -3
- package/vscode/src/vs/platform/actionWidget/browser/actionWidget.js +26 -41
- package/vscode/src/vs/platform/actions/browser/dropdownWithPrimaryActionViewItem.js +6 -4
- package/vscode/src/vs/platform/actions/common/actions.d.ts +11 -0
- package/vscode/src/vs/platform/actions/common/actions.js +11 -0
- package/vscode/src/vs/platform/configuration/common/configuration.d.ts +17 -33
- package/vscode/src/vs/platform/configuration/common/configurationModels.js +42 -29
- package/vscode/src/vs/platform/extensionManagement/common/extensionManagement.js +3 -4
- package/vscode/src/vs/platform/extensions/common/extensions.d.ts +2 -2
- package/vscode/src/vs/platform/hover/browser/hover.js +69 -1
- package/vscode/src/vs/platform/product/common/product.js +1 -1
- package/vscode/src/vs/platform/quickinput/browser/quickInput.js +14 -20
- package/vscode/src/vs/platform/quickinput/browser/quickInputController.js +11 -5
- package/vscode/src/vs/platform/quickinput/browser/quickInputList.js +22 -2
- package/vscode/src/vs/platform/quickinput/browser/quickInputService.js +9 -7
- package/vscode/src/vs/platform/remote/common/remoteAgentConnection.js +2 -5
- package/vscode/src/vs/platform/request/common/request.js +111 -0
- package/vscode/src/vs/platform/terminal/common/capabilities/capabilities.d.ts +1 -0
- package/vscode/src/vs/platform/terminal/common/capabilities/commandDetection/terminalCommand.js +15 -0
- package/vscode/src/vs/platform/terminal/common/capabilities/commandDetectionCapability.js +9 -0
- package/vscode/src/vs/platform/terminal/common/terminal.d.ts +5 -3
- package/vscode/src/vs/platform/theme/common/colorRegistry.js +5 -5
- package/vscode/src/vs/platform/theme/common/tokenClassificationRegistry.js +6 -2
- package/vscode/src/vs/platform/window/common/window.js +4 -1
- package/vscode/src/vs/platform/workspace/common/workspace.js +2 -1
- package/vscode/src/vs/workbench/api/browser/statusBarExtensionPoint.js +2 -2
- package/vscode/src/vs/workbench/api/browser/viewsExtensionPoint.js +130 -14
- package/vscode/src/vs/workbench/api/common/extHost.api.impl.js +76 -24
- package/vscode/src/vs/workbench/api/common/extHostAuthentication.js +4 -1
- package/vscode/src/vs/workbench/api/common/extHostChat.js +0 -39
- package/vscode/src/vs/workbench/api/common/extHostChatAgents2.js +309 -137
- package/vscode/src/vs/workbench/api/common/extHostChatProvider.js +164 -49
- package/vscode/src/vs/workbench/api/common/extHostChatVariables.js +67 -7
- package/vscode/src/vs/workbench/api/common/extHostComments.js +28 -0
- package/vscode/src/vs/workbench/api/common/extHostDebugService.js +129 -48
- package/vscode/src/vs/workbench/api/common/extHostDocumentData.js +1 -2
- package/vscode/src/vs/workbench/api/common/extHostDocumentsAndEditors.js +1 -1
- package/vscode/src/vs/workbench/api/common/extHostInlineChat.js +5 -4
- package/vscode/src/vs/workbench/api/common/extHostInteractive.js +0 -1
- package/vscode/src/vs/workbench/api/common/extHostLanguageFeatures.js +130 -16
- package/vscode/src/vs/workbench/api/common/extHostNotebook.js +12 -1
- package/vscode/src/vs/workbench/api/common/extHostNotebookDocument.js +14 -5
- package/vscode/src/vs/workbench/api/common/extHostNotebookKernels.js +19 -1
- package/vscode/src/vs/workbench/api/common/extHostSpeech.js +2 -2
- package/vscode/src/vs/workbench/api/common/extHostTypeConverters.js +301 -75
- package/vscode/src/vs/workbench/api/common/extHostTypes.js +127 -45
- package/vscode/src/vs/workbench/api/common/extHostWorkspace.js +46 -7
- package/vscode/src/vs/workbench/api/common/jsonValidationExtensionPoint.js +55 -2
- package/vscode/src/vs/workbench/api/worker/extensionHostWorker.js +1 -1
- package/vscode/src/vs/workbench/browser/actions/layoutActions.js +146 -99
- package/vscode/src/vs/workbench/browser/actions/listCommands.js +2 -3
- package/vscode/src/vs/workbench/browser/actions/widgetNavigationCommands.js +3 -4
- package/vscode/src/vs/workbench/browser/actions/windowActions.js +4 -8
- package/vscode/src/vs/workbench/browser/composite.d.ts +2 -1
- package/vscode/src/vs/workbench/browser/composite.js +1 -1
- package/vscode/src/vs/workbench/browser/editor.js +11 -1
- package/vscode/src/vs/workbench/browser/media/style.css.js +1 -1
- package/vscode/src/vs/workbench/browser/panecomposite.d.ts +2 -1
- package/vscode/src/vs/workbench/browser/panecomposite.js +2 -2
- package/vscode/src/vs/workbench/browser/parts/activitybar/activitybarPart.js +4 -6
- package/vscode/src/vs/workbench/browser/parts/activitybar/media/activityaction.css.js +1 -1
- package/vscode/src/vs/workbench/browser/parts/auxiliarybar/auxiliaryBarActions.js +4 -4
- package/vscode/src/vs/workbench/browser/parts/auxiliarybar/auxiliaryBarPart.js +1 -1
- package/vscode/src/vs/workbench/browser/parts/compositeBar.js +1 -1
- package/vscode/src/vs/workbench/browser/parts/compositeBarActions.js +10 -10
- package/vscode/src/vs/workbench/browser/parts/compositePart.js +8 -5
- package/vscode/src/vs/workbench/browser/parts/editor/auxiliaryEditorPart.js +39 -29
- package/vscode/src/vs/workbench/browser/parts/editor/binaryEditor.js +1 -1
- package/vscode/src/vs/workbench/browser/parts/editor/breadcrumbsControl.js +20 -24
- package/vscode/src/vs/workbench/browser/parts/editor/breadcrumbsPicker.js +6 -4
- package/vscode/src/vs/workbench/browser/parts/editor/editor.autosave.contribution.js +2 -3
- package/vscode/src/vs/workbench/browser/parts/editor/editor.contribution.js +52 -54
- package/vscode/src/vs/workbench/browser/parts/editor/editorActions.js +30 -30
- package/vscode/src/vs/workbench/browser/parts/editor/editorAutoSave.js +1 -0
- package/vscode/src/vs/workbench/browser/parts/editor/editorCommands.js +12 -18
- package/vscode/src/vs/workbench/browser/parts/editor/editorConfiguration.js +1 -0
- package/vscode/src/vs/workbench/browser/parts/editor/editorGroupView.js +1 -1
- package/vscode/src/vs/workbench/browser/parts/editor/editorGroupWatermark.js +7 -6
- package/vscode/src/vs/workbench/browser/parts/editor/editorStatus.js +17 -6
- package/vscode/src/vs/workbench/browser/parts/editor/editorTabsControl.js +13 -5
- package/vscode/src/vs/workbench/browser/parts/editor/media/multieditortabscontrol.css.js +1 -1
- package/vscode/src/vs/workbench/browser/parts/editor/multiEditorTabsControl.js +84 -71
- package/vscode/src/vs/workbench/browser/parts/editor/singleEditorTabsControl.js +2 -6
- package/vscode/src/vs/workbench/browser/parts/editor/textDiffEditor.js +4 -1
- package/vscode/src/vs/workbench/browser/parts/editor/textResourceEditor.js +2 -2
- package/vscode/src/vs/workbench/browser/parts/globalCompositeBar.js +29 -29
- package/vscode/src/vs/workbench/browser/parts/media/paneCompositePart.css.js +1 -1
- package/vscode/src/vs/workbench/browser/parts/notifications/notificationsCenter.js +5 -5
- package/vscode/src/vs/workbench/browser/parts/notifications/notificationsCommands.js +3 -3
- package/vscode/src/vs/workbench/browser/parts/paneCompositeBar.js +1 -5
- package/vscode/src/vs/workbench/browser/parts/paneCompositePart.js +9 -6
- package/vscode/src/vs/workbench/browser/parts/panel/panelActions.js +56 -74
- package/vscode/src/vs/workbench/browser/parts/panel/panelPart.js +1 -1
- package/vscode/src/vs/workbench/browser/parts/sidebar/sidebarPart.js +6 -9
- package/vscode/src/vs/workbench/browser/parts/titlebar/menubarControl.js +4 -4
- package/vscode/src/vs/workbench/browser/parts/titlebar/titlebarPart.d.ts +9 -1
- package/vscode/src/vs/workbench/browser/parts/titlebar/windowTitle.js +55 -12
- package/vscode/src/vs/workbench/browser/parts/views/treeView.js +9 -16
- package/vscode/src/vs/workbench/browser/parts/views/viewPane.js +1 -1
- package/vscode/src/vs/workbench/browser/parts/views/viewPaneContainer.d.ts +2 -1
- package/vscode/src/vs/workbench/browser/parts/views/viewPaneContainer.js +4 -4
- package/vscode/src/vs/workbench/browser/quickaccess.js +8 -1
- package/vscode/src/vs/workbench/browser/workbench.contribution.js +22 -20
- package/vscode/src/vs/workbench/common/configuration.js +146 -43
- package/vscode/src/vs/workbench/common/contextkeys.js +4 -4
- package/vscode/src/vs/workbench/common/contributions.js +136 -20
- package/vscode/src/vs/workbench/common/editor/diffEditorInput.js +5 -5
- package/vscode/src/vs/workbench/common/editor/editorGroupModel.js +1 -1
- package/vscode/src/vs/workbench/common/editor/editorInput.d.ts +17 -11
- package/vscode/src/vs/workbench/common/editor/editorInput.js +1 -1
- package/vscode/src/vs/workbench/common/editor/sideBySideEditorInput.js +2 -2
- package/vscode/src/vs/workbench/common/editor.d.ts +4 -0
- package/vscode/src/vs/workbench/common/theme.js +11 -1
- package/vscode/src/vs/workbench/contrib/accessibility/browser/accessibilityConfiguration.js +1064 -118
- package/vscode/src/vs/workbench/contrib/accessibility/browser/accessibilityContributions.js +7 -7
- package/vscode/src/vs/workbench/contrib/accessibility/browser/editorAccessibilityHelp.js +5 -5
- package/vscode/src/vs/workbench/contrib/accessibilitySignals/browser/accessibilitySignal.contribution.js +306 -0
- package/vscode/src/vs/workbench/contrib/accessibilitySignals/browser/accessibilitySignalDebuggerContribution.js +46 -0
- package/vscode/src/vs/workbench/contrib/accessibilitySignals/browser/accessibilitySignalLineFeatureContribution.js +177 -0
- package/vscode/src/vs/workbench/contrib/accessibilitySignals/browser/commands.js +163 -0
- package/vscode/src/vs/workbench/contrib/callHierarchy/browser/callHierarchy.contribution.js +1 -1
- package/vscode/src/vs/workbench/contrib/chat/browser/actions/chatAccessibilityHelp.js +2 -2
- package/vscode/src/vs/workbench/contrib/chat/browser/actions/chatActions.js +31 -17
- package/vscode/src/vs/workbench/contrib/chat/browser/actions/chatExecuteActions.js +11 -17
- package/vscode/src/vs/workbench/contrib/chat/browser/actions/chatQuickInputActions.js +18 -27
- package/vscode/src/vs/workbench/contrib/chat/browser/chatEditorInput.js +2 -5
- package/vscode/src/vs/workbench/contrib/chat/browser/chatFollowups.js +34 -8
- package/vscode/src/vs/workbench/contrib/chat/browser/chatInputPart.js +8 -7
- package/vscode/src/vs/workbench/contrib/chat/browser/chatListRenderer.js +142 -109
- package/vscode/src/vs/workbench/contrib/chat/browser/chatMarkdownDecorationsRenderer.js +80 -52
- package/vscode/src/vs/workbench/contrib/chat/browser/chatSlashCommandContentWidget.js +1 -1
- package/vscode/src/vs/workbench/contrib/chat/browser/chatWidget.js +44 -13
- package/vscode/src/vs/workbench/contrib/chat/browser/codeBlockPart.js +230 -74
- package/vscode/src/vs/workbench/contrib/chat/browser/media/chat.css.js +1 -1
- package/vscode/src/vs/workbench/contrib/chat/common/chatAgents.js +5 -5
- package/vscode/src/vs/workbench/contrib/chat/common/chatModel.js +87 -29
- package/vscode/src/vs/workbench/contrib/chat/common/chatParserTypes.js +19 -3
- package/vscode/src/vs/workbench/contrib/chat/common/chatProvider.js +18 -3
- package/vscode/src/vs/workbench/contrib/chat/common/chatRequestParser.js +11 -8
- package/vscode/src/vs/workbench/contrib/chat/common/chatService.js +6 -6
- package/vscode/src/vs/workbench/contrib/chat/common/chatViewModel.js +11 -5
- package/vscode/src/vs/workbench/contrib/codeActions/browser/codeActions.contribution.js +2 -2
- package/vscode/src/vs/workbench/contrib/codeActions/common/codeActionsExtensionPoint.js +71 -0
- package/vscode/src/vs/workbench/contrib/codeEditor/browser/dictation/editorDictation.css.js +4 -0
- package/vscode/src/vs/workbench/contrib/codeEditor/browser/dictation/editorDictation.js +256 -0
- package/vscode/src/vs/workbench/contrib/codeEditor/browser/diffEditorHelper.js +2 -2
- package/vscode/src/vs/workbench/contrib/codeEditor/browser/editorFeatures.js +3 -4
- package/vscode/src/vs/workbench/contrib/codeEditor/browser/quickaccess/gotoSymbolQuickAccess.js +8 -6
- package/vscode/src/vs/workbench/contrib/codeEditor/browser/saveParticipants.js +11 -11
- package/vscode/src/vs/workbench/contrib/codeEditor/browser/toggleMinimap.js +3 -4
- package/vscode/src/vs/workbench/contrib/codeEditor/browser/toggleRenderControlCharacter.js +2 -3
- package/vscode/src/vs/workbench/contrib/codeEditor/browser/toggleRenderWhitespace.js +2 -3
- package/vscode/src/vs/workbench/contrib/codeEditor/browser/toggleWordWrap.js +9 -10
- package/vscode/src/vs/workbench/contrib/comments/browser/commentFormActions.js +9 -2
- package/vscode/src/vs/workbench/contrib/comments/browser/commentNode.js +27 -13
- package/vscode/src/vs/workbench/contrib/comments/browser/commentReply.js +41 -23
- package/vscode/src/vs/workbench/contrib/comments/browser/commentService.js +15 -7
- package/vscode/src/vs/workbench/contrib/comments/browser/commentThreadAdditionalActions.js +22 -10
- package/vscode/src/vs/workbench/contrib/comments/browser/commentThreadBody.js +1 -1
- package/vscode/src/vs/workbench/contrib/comments/browser/commentThreadWidget.js +1 -0
- package/vscode/src/vs/workbench/contrib/comments/browser/commentThreadZoneWidget.js +3 -3
- package/vscode/src/vs/workbench/contrib/comments/browser/commentsController.js +3 -3
- package/vscode/src/vs/workbench/contrib/comments/browser/commentsView.js +2 -2
- package/vscode/src/vs/workbench/contrib/comments/browser/simpleCommentEditor.js +3 -1
- package/vscode/src/vs/workbench/contrib/customEditor/browser/customEditor.contribution.js +2 -3
- package/vscode/src/vs/workbench/contrib/customEditor/browser/customEditorInputFactory.js +1 -0
- package/vscode/src/vs/workbench/contrib/customEditor/common/extensionPoint.js +66 -2
- package/vscode/src/vs/workbench/contrib/debug/browser/baseDebugView.js +31 -2
- package/vscode/src/vs/workbench/contrib/debug/browser/breakpointEditorContribution.js +2 -2
- package/vscode/src/vs/workbench/contrib/debug/browser/breakpointWidget.js +37 -7
- package/vscode/src/vs/workbench/contrib/debug/browser/breakpointsView.js +118 -25
- package/vscode/src/vs/workbench/contrib/debug/browser/media/breakpointWidget.css.js +1 -1
- package/vscode/src/vs/workbench/contrib/debug/common/debug.d.ts +37 -5
- package/vscode/src/vs/workbench/contrib/debug/common/debug.js +24 -1
- package/vscode/src/vs/workbench/contrib/debug/common/debugModel.d.ts +18 -0
- package/vscode/src/vs/workbench/contrib/debug/common/debugModel.js +237 -140
- package/vscode/src/vs/workbench/contrib/debug/common/debugVisualizers.js +72 -25
- package/vscode/src/vs/workbench/contrib/editSessions/common/editSessions.js +5 -8
- package/vscode/src/vs/workbench/contrib/extensions/browser/extensionsActions.js +29 -4
- package/vscode/src/vs/workbench/contrib/files/browser/editors/fileEditorHandler.js +1 -0
- package/vscode/src/vs/workbench/contrib/files/browser/editors/textFileEditorTracker.js +1 -0
- package/vscode/src/vs/workbench/contrib/files/browser/editors/textFileSaveErrorHandler.js +2 -1
- package/vscode/src/vs/workbench/contrib/files/browser/explorerViewlet.js +8 -7
- package/vscode/src/vs/workbench/contrib/files/browser/fileActions.contribution.js +21 -19
- package/vscode/src/vs/workbench/contrib/files/browser/fileActions.js +152 -120
- package/vscode/src/vs/workbench/contrib/files/browser/fileCommands.js +24 -1
- package/vscode/src/vs/workbench/contrib/files/browser/fileConstants.js +6 -6
- package/vscode/src/vs/workbench/contrib/files/browser/files.contribution.js +26 -25
- package/vscode/src/vs/workbench/contrib/files/browser/views/explorerView.js +5 -5
- package/vscode/src/vs/workbench/contrib/files/browser/views/explorerViewer.js +51 -12
- package/vscode/src/vs/workbench/contrib/files/browser/views/media/openeditors.css.js +1 -1
- package/vscode/src/vs/workbench/contrib/files/browser/views/openEditorsView.js +24 -9
- package/vscode/src/vs/workbench/contrib/files/browser/workspaceWatcher.js +1 -1
- package/vscode/src/vs/workbench/contrib/files/common/dirtyFilesIndicator.js +1 -0
- package/vscode/src/vs/workbench/contrib/inlayHints/browser/inlayHintsAccessibilty.js +16 -22
- package/vscode/src/vs/workbench/contrib/inlineChat/browser/inlineChat.css.js +1 -1
- package/vscode/src/vs/workbench/contrib/inlineChat/browser/inlineChatController.js +48 -27
- package/vscode/src/vs/workbench/contrib/inlineChat/browser/inlineChatLivePreviewWidget.js +2 -2
- package/vscode/src/vs/workbench/contrib/inlineChat/browser/inlineChatSession.js +23 -8
- package/vscode/src/vs/workbench/contrib/inlineChat/browser/inlineChatStrategies.js +48 -6
- package/vscode/src/vs/workbench/contrib/inlineChat/browser/inlineChatWidget.js +145 -73
- package/vscode/src/vs/workbench/contrib/inlineChat/common/inlineChat.js +31 -9
- package/vscode/src/vs/workbench/contrib/languageStatus/browser/languageStatus.contribution.js +8 -10
- package/vscode/src/vs/workbench/contrib/list/browser/list.contribution.js +3 -3
- package/vscode/src/vs/workbench/contrib/markdown/browser/markdownDocumentRenderer.js +7 -3
- package/vscode/src/vs/workbench/contrib/mergeEditor/browser/commands/commands.js +95 -152
- package/vscode/src/vs/workbench/contrib/mergeEditor/browser/commands/devCommands.js +16 -25
- package/vscode/src/vs/workbench/contrib/mergeEditor/browser/mergeEditor.contribution.js +2 -4
- package/vscode/src/vs/workbench/contrib/mergeEditor/browser/model/mergeEditorModel.js +2 -1
- package/vscode/src/vs/workbench/contrib/mergeEditor/browser/model/textModelDiffs.js +19 -19
- package/vscode/src/vs/workbench/contrib/mergeEditor/browser/view/conflictActions.js +1 -1
- package/vscode/src/vs/workbench/contrib/mergeEditor/browser/view/mergeEditor.js +1 -0
- package/vscode/src/vs/workbench/contrib/notebook/browser/controller/cellOutputActions.js +17 -3
- package/vscode/src/vs/workbench/contrib/notebook/browser/controller/editActions.js +102 -15
- package/vscode/src/vs/workbench/contrib/notebook/browser/controller/foldingController.js +2 -2
- package/vscode/src/vs/workbench/contrib/notebook/browser/controller/notebookIndentationActions.js +234 -0
- package/vscode/src/vs/workbench/contrib/notebook/browser/notebookEditor.js +1 -2
- package/vscode/src/vs/workbench/contrib/notebook/browser/notebookEditorWidget.js +48 -24
- package/vscode/src/vs/workbench/contrib/notebook/browser/notebookOptions.js +52 -22
- package/vscode/src/vs/workbench/contrib/notebook/browser/view/cellParts/cellActionView.js +62 -3
- package/vscode/src/vs/workbench/contrib/notebook/browser/view/cellParts/cellEditorOptions.js +40 -0
- package/vscode/src/vs/workbench/contrib/notebook/browser/view/cellParts/cellOutput.js +20 -6
- package/vscode/src/vs/workbench/contrib/notebook/browser/view/cellParts/cellToolbars.js +4 -4
- package/vscode/src/vs/workbench/contrib/notebook/browser/view/cellParts/chat/cellChatPart.js +3 -27
- package/vscode/src/vs/workbench/contrib/notebook/browser/view/cellParts/codeCell.js +28 -6
- package/vscode/src/vs/workbench/contrib/notebook/browser/view/cellParts/markupCell.js +28 -3
- package/vscode/src/vs/workbench/contrib/notebook/browser/view/notebookCellList.js +78 -18
- package/vscode/src/vs/workbench/contrib/notebook/browser/view/notebookCellListView.js +208 -1
- package/vscode/src/vs/workbench/contrib/notebook/browser/view/renderers/backLayerWebView.js +1 -1
- package/vscode/src/vs/workbench/contrib/notebook/browser/view/renderers/cellRenderer.js +4 -4
- package/vscode/src/vs/workbench/contrib/notebook/browser/view/renderers/webviewPreloads.js +85 -71
- package/vscode/src/vs/workbench/contrib/notebook/browser/viewModel/baseCellViewModel.js +1 -2
- package/vscode/src/vs/workbench/contrib/notebook/browser/viewModel/notebookViewModelImpl.js +1 -4
- package/vscode/src/vs/workbench/contrib/notebook/browser/viewParts/notebookEditorStickyScroll.js +2 -3
- package/vscode/src/vs/workbench/contrib/notebook/browser/viewParts/notebookEditorToolbar.js +82 -14
- package/vscode/src/vs/workbench/contrib/notebook/browser/viewParts/notebookKernelQuickPickStrategy.js +1 -1
- package/vscode/src/vs/workbench/contrib/notebook/browser/viewParts/notebookKernelView.js +0 -1
- package/vscode/src/vs/workbench/contrib/notebook/browser/viewParts/notebookOverviewRuler.js +4 -3
- package/vscode/src/vs/workbench/contrib/notebook/browser/viewParts/notebookTopCellToolbar.js +92 -33
- package/vscode/src/vs/workbench/contrib/notebook/browser/viewParts/notebookViewZones.js +136 -0
- package/vscode/src/vs/workbench/contrib/notebook/common/notebookEditorInput.js +6 -1
- package/vscode/src/vs/workbench/contrib/notebook/common/notebookRange.js +5 -1
- package/vscode/src/vs/workbench/contrib/preferences/browser/keybindingWidgets.js +279 -0
- package/vscode/src/vs/workbench/contrib/preferences/browser/keyboardLayoutPicker.js +6 -7
- package/vscode/src/vs/workbench/contrib/preferences/browser/media/keybindings.css.js +4 -0
- package/vscode/src/vs/workbench/contrib/preferences/browser/preferencesIcons.js +64 -0
- package/vscode/src/vs/workbench/contrib/preferences/browser/preferencesWidgets.js +507 -0
- package/vscode/src/vs/workbench/contrib/preferences/browser/settingsLayout.js +478 -0
- package/vscode/src/vs/workbench/contrib/preferences/browser/settingsTreeModels.js +796 -0
- package/vscode/src/vs/workbench/contrib/remote/browser/remoteExplorer.js +8 -10
- package/vscode/src/vs/workbench/contrib/remote/browser/tunnelView.js +14 -20
- package/vscode/src/vs/workbench/contrib/scm/browser/dirtydiffDecorator.js +12 -12
- package/vscode/src/vs/workbench/contrib/search/browser/searchActionsBase.js +3 -3
- package/vscode/src/vs/workbench/contrib/search/browser/searchActionsFind.js +44 -54
- package/vscode/src/vs/workbench/contrib/search/common/constants.js +26 -65
- package/vscode/src/vs/workbench/contrib/snippets/browser/commands/abstractSnippetsActions.js +6 -9
- package/vscode/src/vs/workbench/contrib/snippets/browser/commands/fileTemplateSnippets.js +6 -9
- package/vscode/src/vs/workbench/contrib/snippets/browser/snippetsService.js +2 -2
- package/vscode/src/vs/workbench/contrib/snippets/browser/tabCompletion.js +2 -2
- package/vscode/src/vs/workbench/contrib/speech/common/speechService.js +3 -124
- package/vscode/src/vs/workbench/contrib/tasks/common/taskDefinitionRegistry.js +2 -2
- package/vscode/src/vs/workbench/contrib/tasks/common/tasks.js +2 -2
- package/vscode/src/vs/workbench/contrib/terminal/browser/xterm/decorationAddon.js +5 -5
- package/vscode/src/vs/workbench/contrib/terminal/browser/xterm/decorationStyles.js +61 -24
- package/vscode/src/vs/workbench/contrib/terminal/browser/xterm/xtermTerminal.d.ts +3 -3
- package/vscode/src/vs/workbench/contrib/terminal/browser/xterm/xtermTerminal.js +5 -5
- package/vscode/src/vs/workbench/contrib/terminal/common/terminalContextKey.js +24 -1
- package/vscode/src/vs/workbench/contrib/terminal/common/terminalExtensionPoints.js +1 -1
- package/vscode/src/vs/workbench/contrib/testing/common/testCoverage.js +4 -4
- package/vscode/src/vs/workbench/contrib/testing/common/testTypes.js +10 -10
- package/vscode/src/vs/workbench/contrib/testing/common/testingContinuousRunService.js +45 -20
- package/vscode/src/vs/workbench/contrib/update/common/update.js +2 -1
- package/vscode/src/vs/workbench/contrib/webview/browser/webviewElement.js +3 -4
- package/vscode/src/vs/workbench/contrib/webviewPanel/browser/webviewCommands.js +3 -3
- package/vscode/src/vs/workbench/contrib/webviewPanel/browser/webviewEditor.js +1 -1
- package/vscode/src/vs/workbench/contrib/webviewPanel/browser/webviewEditorInputSerializer.js +1 -1
- package/vscode/src/vs/workbench/contrib/webviewPanel/browser/webviewPanel.contribution.js +15 -18
- package/vscode/src/vs/workbench/contrib/webviewView/browser/webviewViewPane.js +2 -5
- package/vscode/src/vs/workbench/contrib/webviewView/browser/webviewViewService.js +4 -4
- package/vscode/src/vs/workbench/contrib/welcomeGettingStarted/browser/gettingStartedExtensionPoint.js +2 -2
- package/vscode/src/vs/workbench/contrib/welcomeGettingStarted/browser/gettingStartedService.js +5 -5
- package/vscode/src/vs/workbench/services/authentication/browser/authenticationService.js +193 -54
- package/vscode/src/vs/workbench/services/authentication/common/authentication.js +2 -1
- package/vscode/src/vs/workbench/services/auxiliaryWindow/browser/auxiliaryWindowService.js +9 -3
- package/vscode/src/vs/workbench/services/editor/browser/editorPaneService.js +10 -0
- package/vscode/src/vs/workbench/services/editor/browser/editorService.d.ts +3 -1
- package/vscode/src/vs/workbench/services/editor/browser/editorService.js +5 -0
- package/vscode/src/vs/workbench/services/editor/common/editorGroupsService.d.ts +1 -6
- package/vscode/src/vs/workbench/services/editor/common/editorPaneService.js +3 -0
- package/vscode/src/vs/workbench/services/editor/common/editorService.d.ts +5 -1
- package/vscode/src/vs/workbench/services/extensionManagement/common/extensionFeatures.js +29 -0
- package/vscode/src/vs/workbench/services/extensionManagement/common/extensionManagement.js +1 -1
- package/vscode/src/vs/workbench/services/extensions/browser/extensionUrlHandler.js +3 -4
- package/vscode/src/vs/workbench/services/extensions/common/extensionDescriptionRegistry.js +4 -3
- package/vscode/src/vs/workbench/services/extensions/common/extensionsApiProposals.js +11 -5
- package/vscode/src/vs/workbench/services/extensions/common/workspaceContains.js +5 -5
- package/vscode/src/vs/workbench/services/history/browser/historyService.js +25 -4
- package/vscode/src/vs/workbench/services/history/common/history.d.ts +5 -0
- package/vscode/src/vs/workbench/services/language/common/languageService.js +111 -2
- package/vscode/src/vs/workbench/services/layout/browser/layoutService.d.ts +2 -2
- package/vscode/src/vs/workbench/services/layout/browser/layoutService.js +59 -1
- package/vscode/src/vs/workbench/services/preferences/common/preferencesModels.js +1008 -0
- package/vscode/src/vs/workbench/services/preferences/common/preferencesValidation.js +477 -0
- package/vscode/src/vs/workbench/services/remote/common/remoteExplorerService.js +2 -2
- package/vscode/src/vs/workbench/services/remote/common/tunnelModel.d.ts +4 -1
- package/vscode/src/vs/workbench/services/remote/common/tunnelModel.js +53 -13
- package/vscode/src/vs/workbench/services/search/common/queryBuilder.js +1 -0
- package/vscode/src/vs/workbench/services/textMate/common/TMGrammars.js +2 -2
- package/vscode/src/vs/workbench/services/textfile/common/textFileEditorModel.js +1 -1
- package/vscode/src/vs/workbench/services/textfile/common/textfiles.d.ts +22 -9
- package/vscode/src/vs/workbench/services/themes/common/colorExtensionPoint.js +76 -4
- package/vscode/src/vs/workbench/services/themes/common/iconExtensionPoint.js +2 -2
- package/vscode/src/vs/workbench/services/themes/common/tokenClassificationExtensionPoint.js +7 -7
- package/vscode/src/vs/workbench/services/timer/browser/timerService.js +1 -0
- package/vscode/src/vs/workbench/services/untitled/common/untitledTextEditorHandler.js +3 -2
- package/vscode/src/vs/workbench/services/untitled/common/untitledTextEditorInput.js +1 -1
- package/vscode/src/vs/workbench/services/userDataSync/common/userDataSync.js +2 -2
- package/vscode/src/vs/workbench/services/views/browser/viewDescriptorService.js +6 -9
- package/vscode/src/vs/workbench/services/views/browser/viewsService.js +12 -12
- package/vscode/src/vs/workbench/services/views/common/viewContainerModel.js +6 -1
- package/vscode/src/vs/workbench/services/workingCopy/common/storedFileWorkingCopy.d.ts +43 -4
- package/vscode/src/vs/workbench/services/workingCopy/common/storedFileWorkingCopy.js +1 -1
- package/vscode/src/vs/workbench/services/workingCopy/common/workingCopyFileService.d.ts +16 -7
- package/vscode/src/vs/workbench/services/workspaces/common/workspaceTrust.js +3 -6
- package/vscode-dts/vscode.proposed.activeComment.d.ts +23 -0
- package/vscode-dts/vscode.proposed.chatParticipant.d.ts +509 -0
- package/vscode-dts/vscode.proposed.chatParticipantAdditions.d.ts +288 -0
- package/vscode-dts/vscode.proposed.chatProvider.d.ts +10 -1
- package/vscode-dts/vscode.proposed.chatVariableResolver.d.ts +56 -0
- package/vscode-dts/vscode.proposed.codeActionRanges.d.ts +2 -4
- package/vscode-dts/{vscode.proposed.chat.d.ts → vscode.proposed.contribIssueReporter.d.ts} +2 -20
- package/vscode-dts/vscode.proposed.contribSourceControlHistoryItemGroupMenu.d.ts +2 -0
- package/vscode-dts/vscode.proposed.contribSourceControlTitleMenu.d.ts +7 -0
- package/vscode-dts/vscode.proposed.debugVisualization.d.ts +76 -6
- package/vscode-dts/vscode.proposed.defaultChatParticipant.d.ts +49 -0
- package/vscode-dts/vscode.proposed.findFiles2.d.ts +89 -0
- package/vscode-dts/vscode.proposed.inlineEdit.d.ts +86 -0
- package/vscode-dts/vscode.proposed.interactive.d.ts +6 -3
- package/vscode-dts/vscode.proposed.languageModels.d.ts +184 -0
- package/vscode-dts/vscode.proposed.newSymbolNamesProvider.d.ts +36 -0
- package/vscode-dts/vscode.proposed.notebookVariableProvider.d.ts +6 -0
- package/vscode-dts/vscode.proposed.quickPickSortByLabel.d.ts +3 -0
- package/vscode-dts/vscode.proposed.speech.d.ts +5 -1
- package/vscode-dts/vscode.proposed.testCoverage.d.ts +40 -27
- package/vscode/src/vs/platform/audioCues/browser/audioCueService.d.ts +0 -98
- package/vscode/src/vs/platform/audioCues/browser/audioCueService.js +0 -576
- package/vscode/src/vs/workbench/contrib/notebook/browser/controller/insertCellActions.js +0 -348
- package/vscode/src/vs/workbench/contrib/notebook/browser/view/cellParts/chat/cellChatActions.js +0 -554
- package/vscode/src/vs/workbench/contrib/notebook/browser/view/cellParts/chat/cellChatController.js +0 -471
- package/vscode/src/vs/workbench/contrib/welcomeGettingStarted/browser/featuredExtensionService.js +0 -159
- package/vscode-dts/vscode.proposed.chatAgents2.d.ts +0 -440
- package/vscode-dts/vscode.proposed.chatAgents2Additions.d.ts +0 -139
- package/vscode-dts/vscode.proposed.chatRequestAccess.d.ts +0 -105
- package/vscode-dts/vscode.proposed.defaultChatAgent.d.ts +0 -30
|
@@ -7,7 +7,7 @@ class Margin extends ViewPart {
|
|
|
7
7
|
constructor(context) {
|
|
8
8
|
super(context);
|
|
9
9
|
const options = this._context.configuration.options;
|
|
10
|
-
const layoutInfo = options.get(
|
|
10
|
+
const layoutInfo = options.get(144 );
|
|
11
11
|
this._canUseLayerHinting = !options.get(32 );
|
|
12
12
|
this._contentLeft = layoutInfo.contentLeft;
|
|
13
13
|
this._glyphMarginLeft = layoutInfo.glyphMarginLeft;
|
|
@@ -29,7 +29,7 @@ class Margin extends ViewPart {
|
|
|
29
29
|
}
|
|
30
30
|
onConfigurationChanged(e) {
|
|
31
31
|
const options = this._context.configuration.options;
|
|
32
|
-
const layoutInfo = options.get(
|
|
32
|
+
const layoutInfo = options.get(144 );
|
|
33
33
|
this._canUseLayerHinting = !options.get(32 );
|
|
34
34
|
this._contentLeft = layoutInfo.contentLeft;
|
|
35
35
|
this._glyphMarginLeft = layoutInfo.glyphMarginLeft;
|
|
@@ -23,22 +23,22 @@ const GUTTER_DECORATION_WIDTH = 2;
|
|
|
23
23
|
class MinimapOptions {
|
|
24
24
|
constructor(configuration, theme, tokensColorTracker) {
|
|
25
25
|
const options = configuration.options;
|
|
26
|
-
const pixelRatio = options.get(
|
|
27
|
-
const layoutInfo = options.get(
|
|
26
|
+
const pixelRatio = options.get(142 );
|
|
27
|
+
const layoutInfo = options.get(144 );
|
|
28
28
|
const minimapLayout = layoutInfo.minimap;
|
|
29
29
|
const fontInfo = options.get(50 );
|
|
30
|
-
const minimapOpts = options.get(
|
|
30
|
+
const minimapOpts = options.get(73 );
|
|
31
31
|
this.renderMinimap = minimapLayout.renderMinimap;
|
|
32
32
|
this.size = minimapOpts.size;
|
|
33
33
|
this.minimapHeightIsEditorHeight = minimapLayout.minimapHeightIsEditorHeight;
|
|
34
|
-
this.scrollBeyondLastLine = options.get(
|
|
35
|
-
this.paddingTop = options.get(
|
|
36
|
-
this.paddingBottom = options.get(
|
|
34
|
+
this.scrollBeyondLastLine = options.get(105 );
|
|
35
|
+
this.paddingTop = options.get(84 ).top;
|
|
36
|
+
this.paddingBottom = options.get(84 ).bottom;
|
|
37
37
|
this.showSlider = minimapOpts.showSlider;
|
|
38
38
|
this.autohide = minimapOpts.autohide;
|
|
39
39
|
this.pixelRatio = pixelRatio;
|
|
40
40
|
this.typicalHalfwidthCharacterWidth = fontInfo.typicalHalfwidthCharacterWidth;
|
|
41
|
-
this.lineHeight = options.get(
|
|
41
|
+
this.lineHeight = options.get(67 );
|
|
42
42
|
this.minimapLeft = minimapLayout.minimapLeft;
|
|
43
43
|
this.minimapWidth = minimapLayout.minimapWidth;
|
|
44
44
|
this.minimapHeight = layoutInfo.height;
|
|
@@ -7,7 +7,7 @@ class ViewOverlayWidgets extends ViewPart {
|
|
|
7
7
|
super(context);
|
|
8
8
|
this._viewDomNode = viewDomNode;
|
|
9
9
|
const options = this._context.configuration.options;
|
|
10
|
-
const layoutInfo = options.get(
|
|
10
|
+
const layoutInfo = options.get(144 );
|
|
11
11
|
this._widgets = {};
|
|
12
12
|
this._verticalScrollbarWidth = layoutInfo.verticalScrollbarWidth;
|
|
13
13
|
this._minimapWidth = layoutInfo.minimap.minimapWidth;
|
|
@@ -31,7 +31,7 @@ class ViewOverlayWidgets extends ViewPart {
|
|
|
31
31
|
}
|
|
32
32
|
onConfigurationChanged(e) {
|
|
33
33
|
const options = this._context.configuration.options;
|
|
34
|
-
const layoutInfo = options.get(
|
|
34
|
+
const layoutInfo = options.get(144 );
|
|
35
35
|
this._verticalScrollbarWidth = layoutInfo.verticalScrollbarWidth;
|
|
36
36
|
this._minimapWidth = layoutInfo.minimap.minimapWidth;
|
|
37
37
|
this._horizontalScrollbarHeight = layoutInfo.horizontalScrollbarHeight;
|
|
@@ -9,17 +9,17 @@ import { equals } from '../../../../base/common/arrays.js';
|
|
|
9
9
|
class Settings {
|
|
10
10
|
constructor(config, theme) {
|
|
11
11
|
const options = config.options;
|
|
12
|
-
this.lineHeight = options.get(
|
|
13
|
-
this.pixelRatio = options.get(
|
|
14
|
-
this.overviewRulerLanes = options.get(
|
|
15
|
-
this.renderBorder = options.get(
|
|
12
|
+
this.lineHeight = options.get(67 );
|
|
13
|
+
this.pixelRatio = options.get(142 );
|
|
14
|
+
this.overviewRulerLanes = options.get(83 );
|
|
15
|
+
this.renderBorder = options.get(82 );
|
|
16
16
|
const borderColor = theme.getColor(editorOverviewRulerBorder);
|
|
17
17
|
this.borderColor = borderColor ? ( borderColor.toString()) : null;
|
|
18
18
|
this.hideCursor = options.get(59 );
|
|
19
19
|
const cursorColor = theme.getColor(editorCursorForeground);
|
|
20
20
|
this.cursorColor = cursorColor ? ( ( cursorColor.transparent(0.7)).toString()) : null;
|
|
21
21
|
this.themeType = theme.type;
|
|
22
|
-
const minimapOpts = options.get(
|
|
22
|
+
const minimapOpts = options.get(73 );
|
|
23
23
|
const minimapEnabled = minimapOpts.enabled;
|
|
24
24
|
const minimapSide = minimapOpts.side;
|
|
25
25
|
const themeColor = theme.getColor(editorOverviewRulerBackground);
|
|
@@ -33,7 +33,7 @@ class Settings {
|
|
|
33
33
|
else {
|
|
34
34
|
this.backgroundColor = null;
|
|
35
35
|
}
|
|
36
|
-
const layoutInfo = options.get(
|
|
36
|
+
const layoutInfo = options.get(144 );
|
|
37
37
|
const position = layoutInfo.overviewRuler;
|
|
38
38
|
this.top = position.top;
|
|
39
39
|
this.right = position.right;
|
|
@@ -171,7 +171,7 @@ class DecorationsOverviewRuler extends ViewPart {
|
|
|
171
171
|
this._updateSettings(true);
|
|
172
172
|
}
|
|
173
173
|
});
|
|
174
|
-
this._cursorPositions = [];
|
|
174
|
+
this._cursorPositions = [( new Position(1, 1))];
|
|
175
175
|
}
|
|
176
176
|
dispose() {
|
|
177
177
|
super.dispose();
|
|
@@ -17,8 +17,8 @@ class OverviewRuler extends ViewEventHandler {
|
|
|
17
17
|
this._zoneManager.setDOMWidth(0);
|
|
18
18
|
this._zoneManager.setDOMHeight(0);
|
|
19
19
|
this._zoneManager.setOuterHeight(this._context.viewLayout.getScrollHeight());
|
|
20
|
-
this._zoneManager.setLineHeight(options.get(
|
|
21
|
-
this._zoneManager.setPixelRatio(options.get(
|
|
20
|
+
this._zoneManager.setLineHeight(options.get(67 ));
|
|
21
|
+
this._zoneManager.setPixelRatio(options.get(142 ));
|
|
22
22
|
this._context.addEventHandler(this);
|
|
23
23
|
}
|
|
24
24
|
dispose() {
|
|
@@ -27,12 +27,12 @@ class OverviewRuler extends ViewEventHandler {
|
|
|
27
27
|
}
|
|
28
28
|
onConfigurationChanged(e) {
|
|
29
29
|
const options = this._context.configuration.options;
|
|
30
|
-
if (e.hasChanged(
|
|
31
|
-
this._zoneManager.setLineHeight(options.get(
|
|
30
|
+
if (e.hasChanged(67 )) {
|
|
31
|
+
this._zoneManager.setLineHeight(options.get(67 ));
|
|
32
32
|
this._render();
|
|
33
33
|
}
|
|
34
|
-
if (e.hasChanged(
|
|
35
|
-
this._zoneManager.setPixelRatio(options.get(
|
|
34
|
+
if (e.hasChanged(142 )) {
|
|
35
|
+
this._zoneManager.setPixelRatio(options.get(142 ));
|
|
36
36
|
this._domNode.setWidth(this._zoneManager.getDOMWidth());
|
|
37
37
|
this._domNode.setHeight(this._zoneManager.getDOMHeight());
|
|
38
38
|
this._domNode.domNode.width = this._zoneManager.getCanvasWidth();
|
|
@@ -10,7 +10,7 @@ class Rulers extends ViewPart {
|
|
|
10
10
|
this.domNode.setClassName('view-rulers');
|
|
11
11
|
this._renderedRulers = [];
|
|
12
12
|
const options = this._context.configuration.options;
|
|
13
|
-
this._rulers = options.get(
|
|
13
|
+
this._rulers = options.get(102 );
|
|
14
14
|
this._typicalHalfwidthCharacterWidth = options.get(50 ).typicalHalfwidthCharacterWidth;
|
|
15
15
|
}
|
|
16
16
|
dispose() {
|
|
@@ -18,7 +18,7 @@ class Rulers extends ViewPart {
|
|
|
18
18
|
}
|
|
19
19
|
onConfigurationChanged(e) {
|
|
20
20
|
const options = this._context.configuration.options;
|
|
21
|
-
this._rulers = options.get(
|
|
21
|
+
this._rulers = options.get(102 );
|
|
22
22
|
this._typicalHalfwidthCharacterWidth = options.get(50 ).typicalHalfwidthCharacterWidth;
|
|
23
23
|
return true;
|
|
24
24
|
}
|
|
@@ -9,7 +9,7 @@ class ScrollDecorationViewPart extends ViewPart {
|
|
|
9
9
|
this._updateWidth();
|
|
10
10
|
this._shouldShow = false;
|
|
11
11
|
const options = this._context.configuration.options;
|
|
12
|
-
const scrollbar = options.get(
|
|
12
|
+
const scrollbar = options.get(103 );
|
|
13
13
|
this._useShadows = scrollbar.useShadows;
|
|
14
14
|
this._domNode = createFastDomNode(document.createElement('div'));
|
|
15
15
|
this._domNode.setAttribute('role', 'presentation');
|
|
@@ -31,7 +31,7 @@ class ScrollDecorationViewPart extends ViewPart {
|
|
|
31
31
|
}
|
|
32
32
|
_updateWidth() {
|
|
33
33
|
const options = this._context.configuration.options;
|
|
34
|
-
const layoutInfo = options.get(
|
|
34
|
+
const layoutInfo = options.get(144 );
|
|
35
35
|
if (layoutInfo.minimap.renderMinimap === 0 || (layoutInfo.minimap.minimapWidth > 0 && layoutInfo.minimap.minimapLeft === 0)) {
|
|
36
36
|
this._width = layoutInfo.width;
|
|
37
37
|
}
|
|
@@ -41,7 +41,7 @@ class ScrollDecorationViewPart extends ViewPart {
|
|
|
41
41
|
}
|
|
42
42
|
onConfigurationChanged(e) {
|
|
43
43
|
const options = this._context.configuration.options;
|
|
44
|
-
const scrollbar = options.get(
|
|
44
|
+
const scrollbar = options.get(103 );
|
|
45
45
|
this._useShadows = scrollbar.useShadows;
|
|
46
46
|
this._updateWidth();
|
|
47
47
|
this._updateShouldShow();
|
|
@@ -35,8 +35,8 @@ class SelectionsOverlay extends DynamicViewOverlay {
|
|
|
35
35
|
this._previousFrameVisibleRangesWithStyle = [];
|
|
36
36
|
this._context = context;
|
|
37
37
|
const options = this._context.configuration.options;
|
|
38
|
-
this._lineHeight = options.get(
|
|
39
|
-
this._roundedSelection = options.get(
|
|
38
|
+
this._lineHeight = options.get(67 );
|
|
39
|
+
this._roundedSelection = options.get(101 );
|
|
40
40
|
this._typicalHalfwidthCharacterWidth = options.get(50 ).typicalHalfwidthCharacterWidth;
|
|
41
41
|
this._selections = [];
|
|
42
42
|
this._renderResult = null;
|
|
@@ -49,8 +49,8 @@ class SelectionsOverlay extends DynamicViewOverlay {
|
|
|
49
49
|
}
|
|
50
50
|
onConfigurationChanged(e) {
|
|
51
51
|
const options = this._context.configuration.options;
|
|
52
|
-
this._lineHeight = options.get(
|
|
53
|
-
this._roundedSelection = options.get(
|
|
52
|
+
this._lineHeight = options.get(67 );
|
|
53
|
+
this._roundedSelection = options.get(101 );
|
|
54
54
|
this._typicalHalfwidthCharacterWidth = options.get(50 ).typicalHalfwidthCharacterWidth;
|
|
55
55
|
return true;
|
|
56
56
|
}
|
|
@@ -23,7 +23,7 @@ class ViewCursor {
|
|
|
23
23
|
const options = this._context.configuration.options;
|
|
24
24
|
const fontInfo = options.get(50 );
|
|
25
25
|
this._cursorStyle = options.get(28 );
|
|
26
|
-
this._lineHeight = options.get(
|
|
26
|
+
this._lineHeight = options.get(67 );
|
|
27
27
|
this._typicalHalfwidthCharacterWidth = fontInfo.typicalHalfwidthCharacterWidth;
|
|
28
28
|
this._lineCursorWidth = Math.min(options.get(31 ), this._typicalHalfwidthCharacterWidth);
|
|
29
29
|
this._isVisible = true;
|
|
@@ -60,7 +60,7 @@ class ViewCursor {
|
|
|
60
60
|
const options = this._context.configuration.options;
|
|
61
61
|
const fontInfo = options.get(50 );
|
|
62
62
|
this._cursorStyle = options.get(28 );
|
|
63
|
-
this._lineHeight = options.get(
|
|
63
|
+
this._lineHeight = options.get(67 );
|
|
64
64
|
this._typicalHalfwidthCharacterWidth = fontInfo.typicalHalfwidthCharacterWidth;
|
|
65
65
|
this._lineCursorWidth = Math.min(options.get(31 ), this._typicalHalfwidthCharacterWidth);
|
|
66
66
|
applyFontInfo(this._domNode, fontInfo);
|
|
@@ -13,7 +13,7 @@ class ViewCursors extends ViewPart {
|
|
|
13
13
|
constructor(context) {
|
|
14
14
|
super(context);
|
|
15
15
|
const options = this._context.configuration.options;
|
|
16
|
-
this._readOnly = options.get(
|
|
16
|
+
this._readOnly = options.get(91 );
|
|
17
17
|
this._cursorBlinking = options.get(26 );
|
|
18
18
|
this._cursorStyle = options.get(28 );
|
|
19
19
|
this._cursorSmoothCaretAnimation = options.get(27 );
|
|
@@ -54,7 +54,7 @@ class ViewCursors extends ViewPart {
|
|
|
54
54
|
}
|
|
55
55
|
onConfigurationChanged(e) {
|
|
56
56
|
const options = this._context.configuration.options;
|
|
57
|
-
this._readOnly = options.get(
|
|
57
|
+
this._readOnly = options.get(91 );
|
|
58
58
|
this._cursorBlinking = options.get(26 );
|
|
59
59
|
this._cursorStyle = options.get(28 );
|
|
60
60
|
this._cursorSmoothCaretAnimation = options.get(27 );
|
|
@@ -7,8 +7,8 @@ class ViewZones extends ViewPart {
|
|
|
7
7
|
constructor(context) {
|
|
8
8
|
super(context);
|
|
9
9
|
const options = this._context.configuration.options;
|
|
10
|
-
const layoutInfo = options.get(
|
|
11
|
-
this._lineHeight = options.get(
|
|
10
|
+
const layoutInfo = options.get(144 );
|
|
11
|
+
this._lineHeight = options.get(67 );
|
|
12
12
|
this._contentWidth = layoutInfo.contentWidth;
|
|
13
13
|
this._contentLeft = layoutInfo.contentLeft;
|
|
14
14
|
this.domNode = createFastDomNode(document.createElement('div'));
|
|
@@ -53,11 +53,11 @@ class ViewZones extends ViewPart {
|
|
|
53
53
|
}
|
|
54
54
|
onConfigurationChanged(e) {
|
|
55
55
|
const options = this._context.configuration.options;
|
|
56
|
-
const layoutInfo = options.get(
|
|
57
|
-
this._lineHeight = options.get(
|
|
56
|
+
const layoutInfo = options.get(144 );
|
|
57
|
+
this._lineHeight = options.get(67 );
|
|
58
58
|
this._contentWidth = layoutInfo.contentWidth;
|
|
59
59
|
this._contentLeft = layoutInfo.contentLeft;
|
|
60
|
-
if (e.hasChanged(
|
|
60
|
+
if (e.hasChanged(67 )) {
|
|
61
61
|
this._recomputeWhitespacesProps();
|
|
62
62
|
}
|
|
63
63
|
return true;
|
|
@@ -21,7 +21,7 @@ class WhitespaceOverlay extends DynamicViewOverlay {
|
|
|
21
21
|
onConfigurationChanged(e) {
|
|
22
22
|
const newOptions = ( new WhitespaceOptions(this._context.configuration));
|
|
23
23
|
if (this._options.equals(newOptions)) {
|
|
24
|
-
return e.hasChanged(
|
|
24
|
+
return e.hasChanged(144 );
|
|
25
25
|
}
|
|
26
26
|
this._options = newOptions;
|
|
27
27
|
return true;
|
|
@@ -228,19 +228,19 @@ class WhitespaceOptions {
|
|
|
228
228
|
this.renderWithSVG = false;
|
|
229
229
|
}
|
|
230
230
|
else if (experimentalWhitespaceRendering === 'svg') {
|
|
231
|
-
this.renderWhitespace = options.get(
|
|
231
|
+
this.renderWhitespace = options.get(99 );
|
|
232
232
|
this.renderWithSVG = true;
|
|
233
233
|
}
|
|
234
234
|
else {
|
|
235
|
-
this.renderWhitespace = options.get(
|
|
235
|
+
this.renderWhitespace = options.get(99 );
|
|
236
236
|
this.renderWithSVG = false;
|
|
237
237
|
}
|
|
238
238
|
this.spaceWidth = fontInfo.spaceWidth;
|
|
239
239
|
this.middotWidth = fontInfo.middotWidth;
|
|
240
240
|
this.wsmiddotWidth = fontInfo.wsmiddotWidth;
|
|
241
241
|
this.canUseHalfwidthRightwardsArrow = fontInfo.canUseHalfwidthRightwardsArrow;
|
|
242
|
-
this.lineHeight = options.get(
|
|
243
|
-
this.stopRenderingLineAfter = options.get(
|
|
242
|
+
this.lineHeight = options.get(67 );
|
|
243
|
+
this.stopRenderingLineAfter = options.get(117 );
|
|
244
244
|
}
|
|
245
245
|
equals(other) {
|
|
246
246
|
return (this.renderWhitespace === other.renderWhitespace
|
|
@@ -62,9 +62,9 @@ class CodeEditorContributions extends Disposable {
|
|
|
62
62
|
this._instantiateSome(2 );
|
|
63
63
|
}
|
|
64
64
|
onAfterModelAttached() {
|
|
65
|
-
|
|
65
|
+
return runWhenWindowIdle(getWindow(this._editor?.getDomNode()), () => {
|
|
66
66
|
this._instantiateSome(1 );
|
|
67
|
-
}, 50)
|
|
67
|
+
}, 50);
|
|
68
68
|
}
|
|
69
69
|
_instantiateSome(instantiation) {
|
|
70
70
|
if (this._finishedInstantiation[instantiation]) {
|
|
@@ -1,45 +1,45 @@
|
|
|
1
1
|
import { __decorate, __param } from '../../../../../../external/tslib/tslib.es6.js';
|
|
2
2
|
import '../services/markerDecorations.js';
|
|
3
|
-
import './media/editor.css.js';
|
|
4
|
-
import { localizeWithPath } from '../../../nls.js';
|
|
5
3
|
import { DragAndDropObserver, getWindow, scheduleAtNextAnimationFrame, trackFocus } from '../../../base/browser/dom.js';
|
|
6
4
|
import { onUnexpectedError } from '../../../base/common/errors.js';
|
|
7
5
|
import { createEventDeliveryQueue, Emitter } from '../../../base/common/event.js';
|
|
8
6
|
import { hash } from '../../../base/common/hash.js';
|
|
9
7
|
import { Disposable, dispose } from '../../../base/common/lifecycle.js';
|
|
10
8
|
import { Schemas } from '../../../base/common/network.js';
|
|
9
|
+
import './media/editor.css.js';
|
|
10
|
+
import { applyFontInfo } from '../config/domFontInfo.js';
|
|
11
11
|
import { EditorConfiguration } from '../config/editorConfiguration.js';
|
|
12
|
+
import { TabFocus } from '../config/tabFocus.js';
|
|
12
13
|
import { EditorExtensionsRegistry } from '../editorExtensions.js';
|
|
13
14
|
import { ICodeEditorService } from '../services/codeEditorService.js';
|
|
14
15
|
import { View } from '../view.js';
|
|
16
|
+
import { DOMLineBreaksComputerFactory } from '../view/domLineBreaksComputer.js';
|
|
15
17
|
import { ViewUserInputEvents } from '../view/viewUserInputEvents.js';
|
|
18
|
+
import { CodeEditorContributions } from './codeEditorContributions.js';
|
|
16
19
|
import { filterValidationDecorations } from '../../common/config/editorOptions.js';
|
|
17
20
|
import { CursorColumns } from '../../common/core/cursorColumns.js';
|
|
21
|
+
import { editorUnnecessaryCodeOpacity } from '../../common/core/editorColorRegistry.js';
|
|
18
22
|
import { Position } from '../../common/core/position.js';
|
|
19
23
|
import { Range } from '../../common/core/range.js';
|
|
20
24
|
import { Selection } from '../../common/core/selection.js';
|
|
25
|
+
import { WordOperations } from '../../common/cursor/cursorWordOperations.js';
|
|
21
26
|
import { InternalEditorAction } from '../../common/editorAction.js';
|
|
22
27
|
import { EditorType } from '../../common/editorCommon.js';
|
|
23
28
|
import { EditorContextKeys } from '../../common/editorContextKeys.js';
|
|
29
|
+
import { ILanguageConfigurationService } from '../../common/languages/languageConfigurationRegistry.js';
|
|
24
30
|
import { ModelDecorationOptions } from '../../common/model/textModel.js';
|
|
25
|
-
import {
|
|
26
|
-
import {
|
|
31
|
+
import { ILanguageFeaturesService } from '../../common/services/languageFeatures.js';
|
|
32
|
+
import { MonospaceLineBreaksComputerFactory } from '../../common/viewModel/monospaceLineBreaksComputer.js';
|
|
27
33
|
import { ViewModel } from '../../common/viewModel/viewModelImpl.js';
|
|
34
|
+
import { localizeWithPath } from '../../../nls.js';
|
|
35
|
+
import { IAccessibilityService } from '../../../platform/accessibility/common/accessibility.js';
|
|
28
36
|
import { ICommandService } from '../../../platform/commands/common/commands.js';
|
|
29
37
|
import { IContextKeyService } from '../../../platform/contextkey/common/contextkey.js';
|
|
30
38
|
import { IInstantiationService } from '../../../platform/instantiation/common/instantiation.js';
|
|
31
39
|
import { ServiceCollection } from '../../../platform/instantiation/common/serviceCollection.js';
|
|
32
40
|
import { Severity, INotificationService } from '../../../platform/notification/common/notification.js';
|
|
41
|
+
import { editorErrorForeground, editorWarningForeground, editorInfoForeground, editorHintForeground } from '../../../platform/theme/common/colorRegistry.js';
|
|
33
42
|
import { registerThemingParticipant, IThemeService } from '../../../platform/theme/common/themeService.js';
|
|
34
|
-
import { IAccessibilityService } from '../../../platform/accessibility/common/accessibility.js';
|
|
35
|
-
import { MonospaceLineBreaksComputerFactory } from '../../common/viewModel/monospaceLineBreaksComputer.js';
|
|
36
|
-
import { DOMLineBreaksComputerFactory } from '../view/domLineBreaksComputer.js';
|
|
37
|
-
import { WordOperations } from '../../common/cursor/cursorWordOperations.js';
|
|
38
|
-
import { ILanguageConfigurationService } from '../../common/languages/languageConfigurationRegistry.js';
|
|
39
|
-
import { applyFontInfo } from '../config/domFontInfo.js';
|
|
40
|
-
import { ILanguageFeaturesService } from '../../common/services/languageFeatures.js';
|
|
41
|
-
import { CodeEditorContributions } from './codeEditorContributions.js';
|
|
42
|
-
import { TabFocus } from '../config/tabFocus.js';
|
|
43
43
|
var CodeEditorWidget_1;
|
|
44
44
|
let EDITOR_ID = 0;
|
|
45
45
|
class ModelData {
|
|
@@ -163,12 +163,12 @@ let CodeEditorWidget = class CodeEditorWidget extends Disposable {
|
|
|
163
163
|
this._decorationTypeKeysToIds = {};
|
|
164
164
|
this._decorationTypeSubtypes = {};
|
|
165
165
|
this._telemetryData = codeEditorWidgetOptions.telemetryData;
|
|
166
|
-
this._configuration = this._register(this._createConfiguration(codeEditorWidgetOptions.isSimpleWidget || false, options, accessibilityService));
|
|
166
|
+
this._configuration = this._register(this._createConfiguration(codeEditorWidgetOptions.isSimpleWidget || false, codeEditorWidgetOptions.isStandaloneEditor || false, options, accessibilityService));
|
|
167
167
|
this._register(this._configuration.onDidChange((e) => {
|
|
168
168
|
this._onDidChangeConfiguration.fire(e);
|
|
169
169
|
const options = this._configuration.options;
|
|
170
|
-
if (e.hasChanged(
|
|
171
|
-
const layoutInfo = options.get(
|
|
170
|
+
if (e.hasChanged(144 )) {
|
|
171
|
+
const layoutInfo = options.get(144 );
|
|
172
172
|
this._onDidLayoutChange.fire(layoutInfo);
|
|
173
173
|
}
|
|
174
174
|
}));
|
|
@@ -217,7 +217,7 @@ let CodeEditorWidget = class CodeEditorWidget extends Disposable {
|
|
|
217
217
|
this._actions.set(internalAction.id, internalAction);
|
|
218
218
|
}
|
|
219
219
|
const isDropIntoEnabled = () => {
|
|
220
|
-
return !this._configuration.options.get(
|
|
220
|
+
return !this._configuration.options.get(91 )
|
|
221
221
|
&& this._configuration.options.get(36 ).enabled;
|
|
222
222
|
};
|
|
223
223
|
this._register(new DragAndDropObserver(this._domElement, {
|
|
@@ -255,8 +255,14 @@ let CodeEditorWidget = class CodeEditorWidget extends Disposable {
|
|
|
255
255
|
writeScreenReaderContent(reason) {
|
|
256
256
|
this._modelData?.view.writeScreenReaderContent(reason);
|
|
257
257
|
}
|
|
258
|
-
_createConfiguration(isSimpleWidget, options, accessibilityService) {
|
|
259
|
-
return ( new EditorConfiguration(
|
|
258
|
+
_createConfiguration(isSimpleWidget, isStandaloneEditor, options, accessibilityService) {
|
|
259
|
+
return ( new EditorConfiguration(
|
|
260
|
+
isSimpleWidget,
|
|
261
|
+
isStandaloneEditor,
|
|
262
|
+
options,
|
|
263
|
+
this._domElement,
|
|
264
|
+
accessibilityService
|
|
265
|
+
));
|
|
260
266
|
}
|
|
261
267
|
getId() {
|
|
262
268
|
return this.getEditorType() + ':' + this._id;
|
|
@@ -297,7 +303,7 @@ let CodeEditorWidget = class CodeEditorWidget extends Disposable {
|
|
|
297
303
|
if (!this._modelData) {
|
|
298
304
|
return null;
|
|
299
305
|
}
|
|
300
|
-
return WordOperations.getWordAtPosition(this._modelData.model, this._configuration.options.get(
|
|
306
|
+
return WordOperations.getWordAtPosition(this._modelData.model, this._configuration.options.get(130 ), position);
|
|
301
307
|
}
|
|
302
308
|
getValue(options = null) {
|
|
303
309
|
if (!this._modelData) {
|
|
@@ -347,7 +353,7 @@ let CodeEditorWidget = class CodeEditorWidget extends Disposable {
|
|
|
347
353
|
this._removeDecorationTypes();
|
|
348
354
|
this._onDidChangeModel.fire(e);
|
|
349
355
|
this._postDetachModelCleanup(detachedModel);
|
|
350
|
-
this._contributions.onAfterModelAttached();
|
|
356
|
+
this._contributionsDisposable = this._contributions.onAfterModelAttached();
|
|
351
357
|
}
|
|
352
358
|
_removeDecorationTypes() {
|
|
353
359
|
this._decorationTypeKeysToIds = {};
|
|
@@ -854,7 +860,7 @@ let CodeEditorWidget = class CodeEditorWidget extends Disposable {
|
|
|
854
860
|
if (!this._modelData) {
|
|
855
861
|
return false;
|
|
856
862
|
}
|
|
857
|
-
if (this._configuration.options.get(
|
|
863
|
+
if (this._configuration.options.get(91 )) {
|
|
858
864
|
return false;
|
|
859
865
|
}
|
|
860
866
|
this._modelData.model.pushStackElement();
|
|
@@ -864,7 +870,7 @@ let CodeEditorWidget = class CodeEditorWidget extends Disposable {
|
|
|
864
870
|
if (!this._modelData) {
|
|
865
871
|
return false;
|
|
866
872
|
}
|
|
867
|
-
if (this._configuration.options.get(
|
|
873
|
+
if (this._configuration.options.get(91 )) {
|
|
868
874
|
return false;
|
|
869
875
|
}
|
|
870
876
|
this._modelData.model.popStackElement();
|
|
@@ -874,7 +880,7 @@ let CodeEditorWidget = class CodeEditorWidget extends Disposable {
|
|
|
874
880
|
if (!this._modelData) {
|
|
875
881
|
return false;
|
|
876
882
|
}
|
|
877
|
-
if (this._configuration.options.get(
|
|
883
|
+
if (this._configuration.options.get(91 )) {
|
|
878
884
|
return false;
|
|
879
885
|
}
|
|
880
886
|
let cursorStateComputer;
|
|
@@ -967,7 +973,7 @@ let CodeEditorWidget = class CodeEditorWidget extends Disposable {
|
|
|
967
973
|
}
|
|
968
974
|
}
|
|
969
975
|
const oldDecorationsIds = this._decorationTypeKeysToIds[decorationTypeKey] || [];
|
|
970
|
-
this._decorationTypeKeysToIds[decorationTypeKey] =
|
|
976
|
+
this.changeDecorations(accessor => this._decorationTypeKeysToIds[decorationTypeKey] = accessor.deltaDecorations(oldDecorationsIds, newModelDecorations));
|
|
971
977
|
}
|
|
972
978
|
setDecorationsByTypeFast(decorationTypeKey, ranges) {
|
|
973
979
|
const oldDecorationsSubTypes = this._decorationTypeSubtypes[decorationTypeKey] || {};
|
|
@@ -981,12 +987,12 @@ let CodeEditorWidget = class CodeEditorWidget extends Disposable {
|
|
|
981
987
|
newModelDecorations[i] = { range: ranges[i], options: opts };
|
|
982
988
|
}
|
|
983
989
|
const oldDecorationsIds = this._decorationTypeKeysToIds[decorationTypeKey] || [];
|
|
984
|
-
this._decorationTypeKeysToIds[decorationTypeKey] =
|
|
990
|
+
this.changeDecorations(accessor => this._decorationTypeKeysToIds[decorationTypeKey] = accessor.deltaDecorations(oldDecorationsIds, newModelDecorations));
|
|
985
991
|
}
|
|
986
992
|
removeDecorationsByType(decorationTypeKey) {
|
|
987
993
|
const oldDecorationsIds = this._decorationTypeKeysToIds[decorationTypeKey];
|
|
988
994
|
if (oldDecorationsIds) {
|
|
989
|
-
this.deltaDecorations(oldDecorationsIds, []);
|
|
995
|
+
this.changeDecorations(accessor => accessor.deltaDecorations(oldDecorationsIds, []));
|
|
990
996
|
}
|
|
991
997
|
if (this._decorationTypeKeysToIds.hasOwnProperty(decorationTypeKey)) {
|
|
992
998
|
delete this._decorationTypeKeysToIds[decorationTypeKey];
|
|
@@ -997,7 +1003,7 @@ let CodeEditorWidget = class CodeEditorWidget extends Disposable {
|
|
|
997
1003
|
}
|
|
998
1004
|
getLayoutInfo() {
|
|
999
1005
|
const options = this._configuration.options;
|
|
1000
|
-
const layoutInfo = options.get(
|
|
1006
|
+
const layoutInfo = options.get(144 );
|
|
1001
1007
|
return layoutInfo;
|
|
1002
1008
|
}
|
|
1003
1009
|
createOverviewRuler(cssClassName) {
|
|
@@ -1165,13 +1171,13 @@ let CodeEditorWidget = class CodeEditorWidget extends Disposable {
|
|
|
1165
1171
|
}
|
|
1166
1172
|
const position = this._modelData.model.validatePosition(rawPosition);
|
|
1167
1173
|
const options = this._configuration.options;
|
|
1168
|
-
const layoutInfo = options.get(
|
|
1174
|
+
const layoutInfo = options.get(144 );
|
|
1169
1175
|
const top = CodeEditorWidget_1._getVerticalOffsetForPosition(this._modelData, position.lineNumber, position.column) - this.getScrollTop();
|
|
1170
1176
|
const left = this._modelData.view.getOffsetForColumn(position.lineNumber, position.column) + layoutInfo.glyphMarginWidth + layoutInfo.lineNumbersWidth + layoutInfo.decorationsWidth - this.getScrollLeft();
|
|
1171
1177
|
return {
|
|
1172
1178
|
top: top,
|
|
1173
1179
|
left: left,
|
|
1174
|
-
height: options.get(
|
|
1180
|
+
height: options.get(67 )
|
|
1175
1181
|
};
|
|
1176
1182
|
}
|
|
1177
1183
|
getOffsetForColumn(lineNumber, column) {
|
|
@@ -1249,7 +1255,7 @@ let CodeEditorWidget = class CodeEditorWidget extends Disposable {
|
|
|
1249
1255
|
break;
|
|
1250
1256
|
case 6 : {
|
|
1251
1257
|
if (e.reachedMaxCursorCount) {
|
|
1252
|
-
const multiCursorLimit = this.getOption(
|
|
1258
|
+
const multiCursorLimit = this.getOption(80 );
|
|
1253
1259
|
const message = ( localizeWithPath(
|
|
1254
1260
|
'vs/editor/browser/widget/codeEditorWidget',
|
|
1255
1261
|
'cursors.maximum',
|
|
@@ -1426,6 +1432,8 @@ let CodeEditorWidget = class CodeEditorWidget extends Disposable {
|
|
|
1426
1432
|
detachedModel?.removeAllDecorationsWithOwnerId(this._id);
|
|
1427
1433
|
}
|
|
1428
1434
|
_detachModel() {
|
|
1435
|
+
this._contributionsDisposable?.dispose();
|
|
1436
|
+
this._contributionsDisposable = undefined;
|
|
1429
1437
|
if (!this._modelData) {
|
|
1430
1438
|
return null;
|
|
1431
1439
|
}
|
|
@@ -1552,7 +1560,7 @@ class EditorContextKeysManager extends Disposable {
|
|
|
1552
1560
|
_updateFromConfig() {
|
|
1553
1561
|
const options = this._editor.getOptions();
|
|
1554
1562
|
this._tabMovesFocus.set(TabFocus.getTabFocusMode());
|
|
1555
|
-
this._editorReadonly.set(options.get(
|
|
1563
|
+
this._editorReadonly.set(options.get(91 ));
|
|
1556
1564
|
this._inDiffEditor.set(options.get(61 ));
|
|
1557
1565
|
this._editorColumnSelection.set(options.get(22 ));
|
|
1558
1566
|
}
|
|
@@ -1603,7 +1611,7 @@ class EditorModeContext extends Disposable {
|
|
|
1603
1611
|
this._hasDocumentSelectionFormattingProvider = EditorContextKeys.hasDocumentSelectionFormattingProvider.bindTo(_contextKeyService);
|
|
1604
1612
|
this._hasMultipleDocumentFormattingProvider = EditorContextKeys.hasMultipleDocumentFormattingProvider.bindTo(_contextKeyService);
|
|
1605
1613
|
this._hasMultipleDocumentSelectionFormattingProvider = EditorContextKeys.hasMultipleDocumentSelectionFormattingProvider.bindTo(_contextKeyService);
|
|
1606
|
-
this.
|
|
1614
|
+
this._isInEmbeddedEditor = EditorContextKeys.isInEmbeddedEditor.bindTo(_contextKeyService);
|
|
1607
1615
|
const update = () => this._update();
|
|
1608
1616
|
this._register(_editor.onDidChangeModel(update));
|
|
1609
1617
|
this._register(_editor.onDidChangeModelLanguage(update));
|
|
@@ -1646,7 +1654,7 @@ class EditorModeContext extends Disposable {
|
|
|
1646
1654
|
this._hasDocumentFormattingProvider.reset();
|
|
1647
1655
|
this._hasDocumentSelectionFormattingProvider.reset();
|
|
1648
1656
|
this._hasSignatureHelpProvider.reset();
|
|
1649
|
-
this.
|
|
1657
|
+
this._isInEmbeddedEditor.reset();
|
|
1650
1658
|
});
|
|
1651
1659
|
}
|
|
1652
1660
|
_update() {
|
|
@@ -1675,7 +1683,7 @@ class EditorModeContext extends Disposable {
|
|
|
1675
1683
|
this._hasDocumentSelectionFormattingProvider.set(( this._languageFeaturesService.documentRangeFormattingEditProvider.has(model)));
|
|
1676
1684
|
this._hasMultipleDocumentFormattingProvider.set(this._languageFeaturesService.documentFormattingEditProvider.all(model).length + this._languageFeaturesService.documentRangeFormattingEditProvider.all(model).length > 1);
|
|
1677
1685
|
this._hasMultipleDocumentSelectionFormattingProvider.set(this._languageFeaturesService.documentRangeFormattingEditProvider.all(model).length > 1);
|
|
1678
|
-
this.
|
|
1686
|
+
this._isInEmbeddedEditor.set(model.uri.scheme === Schemas.walkThroughSnippet || model.uri.scheme === Schemas.vscodeChatCodeBlock);
|
|
1679
1687
|
});
|
|
1680
1688
|
}
|
|
1681
1689
|
}
|
package/vscode/src/vs/editor/browser/widget/diffEditor/components/accessibleDiffViewer.css.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
import n from '../../../../../../../../external/rollup-plugin-styles/dist/runtime/inject-css.js';
|
|
2
|
-
var css = ".monaco-diff-editor .diff-review-line-number{color:var(--vscode-editorLineNumber-foreground);display:inline-block;text-align:right}.monaco-
|
|
2
|
+
var css = ".monaco-component.diff-review{user-select:none;-webkit-user-select:none;z-index:99}.monaco-diff-editor .diff-review{position:absolute}.monaco-component.diff-review .diff-review-line-number{color:var(--vscode-editorLineNumber-foreground);display:inline-block;text-align:right}.monaco-component.diff-review .diff-review-summary{padding-left:10px}.monaco-component.diff-review .diff-review-shadow{box-shadow:var(--vscode-scrollbar-shadow) 0 -6px 6px -6px inset;position:absolute}.monaco-component.diff-review .diff-review-row{white-space:pre}.monaco-component.diff-review .diff-review-table{display:table;min-width:100%}.monaco-component.diff-review .diff-review-row{display:table-row;width:100%}.monaco-component.diff-review .diff-review-spacer{display:inline-block;vertical-align:middle;width:10px}.monaco-component.diff-review .diff-review-spacer>.codicon{font-size:9px!important}.monaco-component.diff-review .diff-review-actions{display:inline-block;position:absolute;right:10px;top:2px;z-index:100}.monaco-component.diff-review .diff-review-actions .action-label{height:16px;margin:2px 0;width:16px}.monaco-component.diff-review .revertButton{cursor:pointer}";
|
|
3
3
|
n(css,{});
|
|
4
4
|
export { css, css as default };
|