@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
|
@@ -26,7 +26,7 @@ class MouseHandler extends ViewEventHandler {
|
|
|
26
26
|
(e) => this._getMouseColumn(e)
|
|
27
27
|
)));
|
|
28
28
|
this.lastMouseLeaveTime = -1;
|
|
29
|
-
this._height = this._context.configuration.options.get(
|
|
29
|
+
this._height = this._context.configuration.options.get(144 ).height;
|
|
30
30
|
const mouseEvents = ( new EditorMouseEventFactory(this.viewHelper.viewDomNode));
|
|
31
31
|
this._register(mouseEvents.onContextMenu(this.viewHelper.viewDomNode, (e) => this._onContextMenu(e, true)));
|
|
32
32
|
this._register(mouseEvents.onMouseMove(this.viewHelper.viewDomNode, (e) => {
|
|
@@ -60,7 +60,7 @@ class MouseHandler extends ViewEventHandler {
|
|
|
60
60
|
let gestureAccumulatedDelta = 0;
|
|
61
61
|
const onMouseWheel = (browserEvent) => {
|
|
62
62
|
this.viewController.emitMouseWheel(browserEvent);
|
|
63
|
-
if (!this._context.configuration.options.get(
|
|
63
|
+
if (!this._context.configuration.options.get(76 )) {
|
|
64
64
|
return;
|
|
65
65
|
}
|
|
66
66
|
const e = ( new StandardWheelEvent(browserEvent));
|
|
@@ -105,8 +105,8 @@ class MouseHandler extends ViewEventHandler {
|
|
|
105
105
|
super.dispose();
|
|
106
106
|
}
|
|
107
107
|
onConfigurationChanged(e) {
|
|
108
|
-
if (e.hasChanged(
|
|
109
|
-
const height = this._context.configuration.options.get(
|
|
108
|
+
if (e.hasChanged(144 )) {
|
|
109
|
+
const height = this._context.configuration.options.get(144 ).height;
|
|
110
110
|
if (this._height !== height) {
|
|
111
111
|
this._height = height;
|
|
112
112
|
this._mouseDownOperation.onHeightChanged();
|
|
@@ -189,7 +189,7 @@ class MouseHandler extends ViewEventHandler {
|
|
|
189
189
|
const targetIsContent = ((t.type === 6 || t.type === 7) );
|
|
190
190
|
const targetIsGutter = ((t.type === 2 || t.type === 3 || t.type === 4) );
|
|
191
191
|
const targetIsLineNumbers = ((t.type === 3) );
|
|
192
|
-
const selectOnLineNumbers = this._context.configuration.options.get(
|
|
192
|
+
const selectOnLineNumbers = this._context.configuration.options.get(109 );
|
|
193
193
|
const targetIsViewZone = ((t.type === 8 || t.type === 5) );
|
|
194
194
|
const targetIsWidget = ((t.type === 9) );
|
|
195
195
|
let shouldHandle = e.leftButton || e.middleButton;
|
|
@@ -290,7 +290,7 @@ class MouseDownOperation extends Disposable {
|
|
|
290
290
|
this._mouseState.trySetCount(e.detail, position.position);
|
|
291
291
|
e.detail = this._mouseState.count;
|
|
292
292
|
const options = this._context.configuration.options;
|
|
293
|
-
if (!options.get(
|
|
293
|
+
if (!options.get(91 )
|
|
294
294
|
&& options.get(35 )
|
|
295
295
|
&& !options.get(22 )
|
|
296
296
|
&& !this._mouseState.altKey
|
|
@@ -497,8 +497,8 @@ class TopBottomDragScrollingOperation extends Disposable {
|
|
|
497
497
|
return elapsed;
|
|
498
498
|
}
|
|
499
499
|
_getScrollSpeed() {
|
|
500
|
-
const lineHeight = this._context.configuration.options.get(
|
|
501
|
-
const viewportInLines = this._context.configuration.options.get(
|
|
500
|
+
const lineHeight = this._context.configuration.options.get(67 );
|
|
501
|
+
const viewportInLines = this._context.configuration.options.get(144 ).height / lineHeight;
|
|
502
502
|
const outsideDistanceInLines = this._position.outsideDistance / lineHeight;
|
|
503
503
|
if (outsideDistanceInLines <= 1.5) {
|
|
504
504
|
return Math.max(30, viewportInLines * (1 + outsideDistanceInLines));
|
|
@@ -509,7 +509,7 @@ class TopBottomDragScrollingOperation extends Disposable {
|
|
|
509
509
|
return Math.max(200, viewportInLines * (7 + outsideDistanceInLines));
|
|
510
510
|
}
|
|
511
511
|
_execute() {
|
|
512
|
-
const lineHeight = this._context.configuration.options.get(
|
|
512
|
+
const lineHeight = this._context.configuration.options.get(67 );
|
|
513
513
|
const scrollSpeedInLines = this._getScrollSpeed();
|
|
514
514
|
const elapsed = this._tick();
|
|
515
515
|
const scrollInPixels = scrollSpeedInLines * (elapsed / 1000) * lineHeight;
|
|
@@ -521,7 +521,7 @@ class TopBottomDragScrollingOperation extends Disposable {
|
|
|
521
521
|
let mouseTarget;
|
|
522
522
|
{
|
|
523
523
|
const editorPos = createEditorPagePosition(this._viewHelper.viewDomNode);
|
|
524
|
-
const horizontalScrollbarHeight = this._context.configuration.options.get(
|
|
524
|
+
const horizontalScrollbarHeight = this._context.configuration.options.get(144 ).horizontalScrollbarHeight;
|
|
525
525
|
const pos = ( new PageCoordinates(
|
|
526
526
|
this._mouseEvent.pos.x,
|
|
527
527
|
editorPos.y + editorPos.height - horizontalScrollbarHeight - 0.1
|
|
@@ -160,10 +160,10 @@ class HitTestContext {
|
|
|
160
160
|
constructor(context, viewHelper, lastRenderData) {
|
|
161
161
|
this.viewModel = context.viewModel;
|
|
162
162
|
const options = context.configuration.options;
|
|
163
|
-
this.layoutInfo = options.get(
|
|
163
|
+
this.layoutInfo = options.get(144 );
|
|
164
164
|
this.viewDomNode = viewHelper.viewDomNode;
|
|
165
|
-
this.lineHeight = options.get(
|
|
166
|
-
this.stickyTabStops = options.get(
|
|
165
|
+
this.lineHeight = options.get(67 );
|
|
166
|
+
this.stickyTabStops = options.get(116 );
|
|
167
167
|
this.typicalHalfwidthCharacterWidth = options.get(50 ).typicalHalfwidthCharacterWidth;
|
|
168
168
|
this.lastRenderData = lastRenderData;
|
|
169
169
|
this._context = context;
|
|
@@ -571,7 +571,7 @@ class MouseTargetFactory {
|
|
|
571
571
|
}
|
|
572
572
|
getMouseColumn(relativePos) {
|
|
573
573
|
const options = this._context.configuration.options;
|
|
574
|
-
const layoutInfo = options.get(
|
|
574
|
+
const layoutInfo = options.get(144 );
|
|
575
575
|
const mouseContentHorizontalOffset = this._context.viewLayout.getCurrentScrollLeft() + relativePos.x - layoutInfo.contentLeft;
|
|
576
576
|
return MouseTargetFactory._getMouseColumn(mouseContentHorizontalOffset, options.get(50 ).typicalHalfwidthCharacterWidth);
|
|
577
577
|
}
|
|
@@ -84,13 +84,13 @@ let TextAreaHandler = class TextAreaHandler extends ViewPart {
|
|
|
84
84
|
this._scrollLeft = 0;
|
|
85
85
|
this._scrollTop = 0;
|
|
86
86
|
const options = this._context.configuration.options;
|
|
87
|
-
const layoutInfo = options.get(
|
|
87
|
+
const layoutInfo = options.get(144 );
|
|
88
88
|
this._setAccessibilityOptions(options);
|
|
89
89
|
this._contentLeft = layoutInfo.contentLeft;
|
|
90
90
|
this._contentWidth = layoutInfo.contentWidth;
|
|
91
91
|
this._contentHeight = layoutInfo.height;
|
|
92
92
|
this._fontInfo = options.get(50 );
|
|
93
|
-
this._lineHeight = options.get(
|
|
93
|
+
this._lineHeight = options.get(67 );
|
|
94
94
|
this._emptySelectionClipboard = options.get(37 );
|
|
95
95
|
this._copyWithSyntaxHighlighting = options.get(25 );
|
|
96
96
|
this._visibleTextArea = null;
|
|
@@ -109,11 +109,11 @@ let TextAreaHandler = class TextAreaHandler extends ViewPart {
|
|
|
109
109
|
this.textArea.setAttribute('spellcheck', 'false');
|
|
110
110
|
this.textArea.setAttribute('aria-label', this._getAriaLabel(options));
|
|
111
111
|
this.textArea.setAttribute('aria-required', options.get(5 ) ? 'true' : 'false');
|
|
112
|
-
this.textArea.setAttribute('tabindex', String(options.get(
|
|
112
|
+
this.textArea.setAttribute('tabindex', String(options.get(124 )));
|
|
113
113
|
this.textArea.setAttribute('role', 'textbox');
|
|
114
114
|
this.textArea.setAttribute('aria-roledescription', ( localizeWithPath('vs/editor/browser/controller/textAreaHandler', 'editor', "editor")));
|
|
115
115
|
this.textArea.setAttribute('aria-multiline', 'true');
|
|
116
|
-
this.textArea.setAttribute('aria-autocomplete', options.get(
|
|
116
|
+
this.textArea.setAttribute('aria-autocomplete', options.get(91 ) ? 'none' : 'both');
|
|
117
117
|
this._ensureReadOnlyAttribute();
|
|
118
118
|
this.textAreaCover = createFastDomNode(document.createElement('div'));
|
|
119
119
|
this.textAreaCover.setPosition('absolute');
|
|
@@ -365,7 +365,7 @@ let TextAreaHandler = class TextAreaHandler extends ViewPart {
|
|
|
365
365
|
}
|
|
366
366
|
_getWordBeforePosition(position) {
|
|
367
367
|
const lineContent = this._context.viewModel.getLineContent(position.lineNumber);
|
|
368
|
-
const wordSeparators = getMapForWordSeparators(this._context.configuration.options.get(
|
|
368
|
+
const wordSeparators = getMapForWordSeparators(this._context.configuration.options.get(130 ));
|
|
369
369
|
let column = position.column;
|
|
370
370
|
let distance = 0;
|
|
371
371
|
while (column > 1) {
|
|
@@ -442,7 +442,7 @@ let TextAreaHandler = class TextAreaHandler extends ViewPart {
|
|
|
442
442
|
else {
|
|
443
443
|
this._accessibilityPageSize = accessibilityPageSize;
|
|
444
444
|
}
|
|
445
|
-
const layoutInfo = options.get(
|
|
445
|
+
const layoutInfo = options.get(144 );
|
|
446
446
|
const wrappingColumn = layoutInfo.wrappingColumn;
|
|
447
447
|
if (wrappingColumn !== -1 && this._accessibilitySupport !== 1 ) {
|
|
448
448
|
const fontInfo = options.get(50 );
|
|
@@ -456,13 +456,13 @@ let TextAreaHandler = class TextAreaHandler extends ViewPart {
|
|
|
456
456
|
}
|
|
457
457
|
onConfigurationChanged(e) {
|
|
458
458
|
const options = this._context.configuration.options;
|
|
459
|
-
const layoutInfo = options.get(
|
|
459
|
+
const layoutInfo = options.get(144 );
|
|
460
460
|
this._setAccessibilityOptions(options);
|
|
461
461
|
this._contentLeft = layoutInfo.contentLeft;
|
|
462
462
|
this._contentWidth = layoutInfo.contentWidth;
|
|
463
463
|
this._contentHeight = layoutInfo.height;
|
|
464
464
|
this._fontInfo = options.get(50 );
|
|
465
|
-
this._lineHeight = options.get(
|
|
465
|
+
this._lineHeight = options.get(67 );
|
|
466
466
|
this._emptySelectionClipboard = options.get(37 );
|
|
467
467
|
this._copyWithSyntaxHighlighting = options.get(25 );
|
|
468
468
|
this.textArea.setAttribute('wrap', this._textAreaWrapping && !this._visibleTextArea ? 'on' : 'off');
|
|
@@ -470,8 +470,8 @@ let TextAreaHandler = class TextAreaHandler extends ViewPart {
|
|
|
470
470
|
this.textArea.domNode.style.tabSize = `${tabSize * this._fontInfo.spaceWidth}px`;
|
|
471
471
|
this.textArea.setAttribute('aria-label', this._getAriaLabel(options));
|
|
472
472
|
this.textArea.setAttribute('aria-required', options.get(5 ) ? 'true' : 'false');
|
|
473
|
-
this.textArea.setAttribute('tabindex', String(options.get(
|
|
474
|
-
if (e.hasChanged(34 ) || e.hasChanged(
|
|
473
|
+
this.textArea.setAttribute('tabindex', String(options.get(124 )));
|
|
474
|
+
if (e.hasChanged(34 ) || e.hasChanged(91 )) {
|
|
475
475
|
this._ensureReadOnlyAttribute();
|
|
476
476
|
}
|
|
477
477
|
if (e.hasChanged(2 )) {
|
|
@@ -537,7 +537,7 @@ let TextAreaHandler = class TextAreaHandler extends ViewPart {
|
|
|
537
537
|
}
|
|
538
538
|
_ensureReadOnlyAttribute() {
|
|
539
539
|
const options = this._context.configuration.options;
|
|
540
|
-
const useReadOnly = !IME.enabled || (options.get(34 ) && options.get(
|
|
540
|
+
const useReadOnly = !IME.enabled || (options.get(34 ) && options.get(91 ));
|
|
541
541
|
if (useReadOnly) {
|
|
542
542
|
this.textArea.setAttribute('readonly', 'true');
|
|
543
543
|
}
|
|
@@ -681,7 +681,7 @@ let TextAreaHandler = class TextAreaHandler extends ViewPart {
|
|
|
681
681
|
tac.setClassName('monaco-editor-background textAreaCover ' + Margin.OUTER_CLASS_NAME);
|
|
682
682
|
}
|
|
683
683
|
else {
|
|
684
|
-
if (options.get(
|
|
684
|
+
if (options.get(68 ).renderType !== 0 ) {
|
|
685
685
|
tac.setClassName('monaco-editor-background textAreaCover ' + LineNumbersOverlay.CLASS_NAME);
|
|
686
686
|
}
|
|
687
687
|
else {
|
|
@@ -1647,7 +1647,7 @@ var CoreEditingCommands;
|
|
|
1647
1647
|
activeElement.ownerDocument.execCommand('undo');
|
|
1648
1648
|
}
|
|
1649
1649
|
runEditorCommand(accessor, editor, args) {
|
|
1650
|
-
if (!editor.hasModel() || editor.getOption(
|
|
1650
|
+
if (!editor.hasModel() || editor.getOption(91 ) === true) {
|
|
1651
1651
|
return;
|
|
1652
1652
|
}
|
|
1653
1653
|
return editor.getModel().undo();
|
|
@@ -1661,7 +1661,7 @@ var CoreEditingCommands;
|
|
|
1661
1661
|
activeElement.ownerDocument.execCommand('redo');
|
|
1662
1662
|
}
|
|
1663
1663
|
runEditorCommand(accessor, editor, args) {
|
|
1664
|
-
if (!editor.hasModel() || editor.getOption(
|
|
1664
|
+
if (!editor.hasModel() || editor.getOption(91 ) === true) {
|
|
1665
1665
|
return;
|
|
1666
1666
|
}
|
|
1667
1667
|
return editor.getModel().redo();
|
|
@@ -40,7 +40,7 @@ class ViewController {
|
|
|
40
40
|
return viewPosition;
|
|
41
41
|
}
|
|
42
42
|
_hasMulticursorModifier(data) {
|
|
43
|
-
switch (this.configuration.options.get(
|
|
43
|
+
switch (this.configuration.options.get(78 )) {
|
|
44
44
|
case 'altKey':
|
|
45
45
|
return data.altKey;
|
|
46
46
|
case 'ctrlKey':
|
|
@@ -52,7 +52,7 @@ class ViewController {
|
|
|
52
52
|
}
|
|
53
53
|
}
|
|
54
54
|
_hasNonMulticursorModifier(data) {
|
|
55
|
-
switch (this.configuration.options.get(
|
|
55
|
+
switch (this.configuration.options.get(78 )) {
|
|
56
56
|
case 'altKey':
|
|
57
57
|
return data.ctrlKey || data.metaKey;
|
|
58
58
|
case 'ctrlKey':
|
|
@@ -65,7 +65,7 @@ class ViewController {
|
|
|
65
65
|
}
|
|
66
66
|
dispatchMouse(data) {
|
|
67
67
|
const options = this.configuration.options;
|
|
68
|
-
const selectionClipboardIsOn = (isLinux && options.get(
|
|
68
|
+
const selectionClipboardIsOn = (isLinux && options.get(107 ));
|
|
69
69
|
const columnSelection = options.get(22 );
|
|
70
70
|
if (data.middleButton && !selectionClipboardIsOn) {
|
|
71
71
|
this._columnSelect(data.position, data.mouseColumn, data.inSelectionMode);
|
|
@@ -100,7 +100,7 @@ class ViewOverlays extends ViewPart {
|
|
|
100
100
|
class ViewOverlayLine {
|
|
101
101
|
constructor(configuration, dynamicOverlays) {
|
|
102
102
|
this._configuration = configuration;
|
|
103
|
-
this._lineHeight = this._configuration.options.get(
|
|
103
|
+
this._lineHeight = this._configuration.options.get(67 );
|
|
104
104
|
this._dynamicOverlays = dynamicOverlays;
|
|
105
105
|
this._domNode = null;
|
|
106
106
|
this._renderedContent = null;
|
|
@@ -119,7 +119,7 @@ class ViewOverlayLine {
|
|
|
119
119
|
onTokensChanged() {
|
|
120
120
|
}
|
|
121
121
|
onConfigurationChanged(e) {
|
|
122
|
-
this._lineHeight = this._configuration.options.get(
|
|
122
|
+
this._lineHeight = this._configuration.options.get(67 );
|
|
123
123
|
}
|
|
124
124
|
renderLine(lineNumber, deltaTop, viewportData, sb) {
|
|
125
125
|
let result = '';
|
|
@@ -151,13 +151,13 @@ class ContentViewOverlays extends ViewOverlays {
|
|
|
151
151
|
constructor(context) {
|
|
152
152
|
super(context);
|
|
153
153
|
const options = this._context.configuration.options;
|
|
154
|
-
const layoutInfo = options.get(
|
|
154
|
+
const layoutInfo = options.get(144 );
|
|
155
155
|
this._contentWidth = layoutInfo.contentWidth;
|
|
156
156
|
this.domNode.setHeight(0);
|
|
157
157
|
}
|
|
158
158
|
onConfigurationChanged(e) {
|
|
159
159
|
const options = this._context.configuration.options;
|
|
160
|
-
const layoutInfo = options.get(
|
|
160
|
+
const layoutInfo = options.get(144 );
|
|
161
161
|
this._contentWidth = layoutInfo.contentWidth;
|
|
162
162
|
return super.onConfigurationChanged(e) || true;
|
|
163
163
|
}
|
|
@@ -173,7 +173,7 @@ class MarginViewOverlays extends ViewOverlays {
|
|
|
173
173
|
constructor(context) {
|
|
174
174
|
super(context);
|
|
175
175
|
const options = this._context.configuration.options;
|
|
176
|
-
const layoutInfo = options.get(
|
|
176
|
+
const layoutInfo = options.get(144 );
|
|
177
177
|
this._contentLeft = layoutInfo.contentLeft;
|
|
178
178
|
this.domNode.setClassName('margin-view-overlays');
|
|
179
179
|
this.domNode.setWidth(1);
|
|
@@ -182,7 +182,7 @@ class MarginViewOverlays extends ViewOverlays {
|
|
|
182
182
|
onConfigurationChanged(e) {
|
|
183
183
|
const options = this._context.configuration.options;
|
|
184
184
|
applyFontInfo(this.domNode, options.get(50 ));
|
|
185
|
-
const layoutInfo = options.get(
|
|
185
|
+
const layoutInfo = options.get(144 );
|
|
186
186
|
this._contentLeft = layoutInfo.contentLeft;
|
|
187
187
|
return super.onConfigurationChanged(e) || true;
|
|
188
188
|
}
|
|
@@ -211,7 +211,7 @@ let View = class View extends ViewEventHandler {
|
|
|
211
211
|
}
|
|
212
212
|
_applyLayout() {
|
|
213
213
|
const options = this._context.configuration.options;
|
|
214
|
-
const layoutInfo = options.get(
|
|
214
|
+
const layoutInfo = options.get(144 );
|
|
215
215
|
this.domNode.setWidth(layoutInfo.width);
|
|
216
216
|
this.domNode.setHeight(layoutInfo.height);
|
|
217
217
|
this._overflowGuardContainer.setWidth(layoutInfo.width);
|
|
@@ -221,7 +221,7 @@ let View = class View extends ViewEventHandler {
|
|
|
221
221
|
}
|
|
222
222
|
_getEditorClassName() {
|
|
223
223
|
const focused = this._textAreaHandler.isFocused() ? ' focused' : '';
|
|
224
|
-
return this._context.configuration.options.get(
|
|
224
|
+
return this._context.configuration.options.get(141 ) + ' ' + getThemeTypeSelector(this._context.theme.type) + focused;
|
|
225
225
|
}
|
|
226
226
|
handleEvents(events) {
|
|
227
227
|
super.handleEvents(events);
|
|
@@ -16,7 +16,7 @@ class BlockDecorations extends ViewPart {
|
|
|
16
16
|
update() {
|
|
17
17
|
let didChange = false;
|
|
18
18
|
const options = this._context.configuration.options;
|
|
19
|
-
const layoutInfo = options.get(
|
|
19
|
+
const layoutInfo = options.get(144 );
|
|
20
20
|
const newContentWidth = layoutInfo.contentWidth - layoutInfo.verticalScrollbarWidth;
|
|
21
21
|
if (this.contentWidth !== newContentWidth) {
|
|
22
22
|
this.contentWidth = newContentWidth;
|
|
@@ -124,11 +124,11 @@ class Widget {
|
|
|
124
124
|
this.allowEditorOverflow = this._actual.allowEditorOverflow || false;
|
|
125
125
|
this.suppressMouseDown = this._actual.suppressMouseDown || false;
|
|
126
126
|
const options = this._context.configuration.options;
|
|
127
|
-
const layoutInfo = options.get(
|
|
127
|
+
const layoutInfo = options.get(144 );
|
|
128
128
|
this._fixedOverflowWidgets = options.get(42 );
|
|
129
129
|
this._contentWidth = layoutInfo.contentWidth;
|
|
130
130
|
this._contentLeft = layoutInfo.contentLeft;
|
|
131
|
-
this._lineHeight = options.get(
|
|
131
|
+
this._lineHeight = options.get(67 );
|
|
132
132
|
this._affinity = null;
|
|
133
133
|
this._preference = [];
|
|
134
134
|
this._cachedDomNodeOffsetWidth = -1;
|
|
@@ -144,9 +144,9 @@ class Widget {
|
|
|
144
144
|
}
|
|
145
145
|
onConfigurationChanged(e) {
|
|
146
146
|
const options = this._context.configuration.options;
|
|
147
|
-
this._lineHeight = options.get(
|
|
148
|
-
if (e.hasChanged(
|
|
149
|
-
const layoutInfo = options.get(
|
|
147
|
+
this._lineHeight = options.get(67 );
|
|
148
|
+
if (e.hasChanged(144 )) {
|
|
149
|
+
const layoutInfo = options.get(144 );
|
|
150
150
|
this._contentLeft = layoutInfo.contentLeft;
|
|
151
151
|
this._contentWidth = layoutInfo.contentWidth;
|
|
152
152
|
this._maxWidth = this._getMaxWidth();
|
|
@@ -11,10 +11,10 @@ class AbstractLineHighlightOverlay extends DynamicViewOverlay {
|
|
|
11
11
|
super();
|
|
12
12
|
this._context = context;
|
|
13
13
|
const options = this._context.configuration.options;
|
|
14
|
-
const layoutInfo = options.get(
|
|
15
|
-
this._lineHeight = options.get(
|
|
16
|
-
this._renderLineHighlight = options.get(
|
|
17
|
-
this._renderLineHighlightOnlyWhenFocus = options.get(
|
|
14
|
+
const layoutInfo = options.get(144 );
|
|
15
|
+
this._lineHeight = options.get(67 );
|
|
16
|
+
this._renderLineHighlight = options.get(96 );
|
|
17
|
+
this._renderLineHighlightOnlyWhenFocus = options.get(97 );
|
|
18
18
|
this._wordWrap = layoutInfo.isViewportWrapping;
|
|
19
19
|
this._contentLeft = layoutInfo.contentLeft;
|
|
20
20
|
this._contentWidth = layoutInfo.contentWidth;
|
|
@@ -53,10 +53,10 @@ class AbstractLineHighlightOverlay extends DynamicViewOverlay {
|
|
|
53
53
|
}
|
|
54
54
|
onConfigurationChanged(e) {
|
|
55
55
|
const options = this._context.configuration.options;
|
|
56
|
-
const layoutInfo = options.get(
|
|
57
|
-
this._lineHeight = options.get(
|
|
58
|
-
this._renderLineHighlight = options.get(
|
|
59
|
-
this._renderLineHighlightOnlyWhenFocus = options.get(
|
|
56
|
+
const layoutInfo = options.get(144 );
|
|
57
|
+
this._lineHeight = options.get(67 );
|
|
58
|
+
this._renderLineHighlight = options.get(96 );
|
|
59
|
+
this._renderLineHighlightOnlyWhenFocus = options.get(97 );
|
|
60
60
|
this._wordWrap = layoutInfo.isViewportWrapping;
|
|
61
61
|
this._contentLeft = layoutInfo.contentLeft;
|
|
62
62
|
this._contentWidth = layoutInfo.contentWidth;
|
|
@@ -7,7 +7,7 @@ class DecorationsOverlay extends DynamicViewOverlay {
|
|
|
7
7
|
super();
|
|
8
8
|
this._context = context;
|
|
9
9
|
const options = this._context.configuration.options;
|
|
10
|
-
this._lineHeight = options.get(
|
|
10
|
+
this._lineHeight = options.get(67 );
|
|
11
11
|
this._typicalHalfwidthCharacterWidth = options.get(50 ).typicalHalfwidthCharacterWidth;
|
|
12
12
|
this._renderResult = null;
|
|
13
13
|
this._context.addEventHandler(this);
|
|
@@ -19,7 +19,7 @@ class DecorationsOverlay extends DynamicViewOverlay {
|
|
|
19
19
|
}
|
|
20
20
|
onConfigurationChanged(e) {
|
|
21
21
|
const options = this._context.configuration.options;
|
|
22
|
-
this._lineHeight = options.get(
|
|
22
|
+
this._lineHeight = options.get(67 );
|
|
23
23
|
this._typicalHalfwidthCharacterWidth = options.get(50 ).typicalHalfwidthCharacterWidth;
|
|
24
24
|
return true;
|
|
25
25
|
}
|
|
@@ -7,10 +7,10 @@ class EditorScrollbar extends ViewPart {
|
|
|
7
7
|
constructor(context, linesContent, viewDomNode, overflowGuardDomNode) {
|
|
8
8
|
super(context);
|
|
9
9
|
const options = this._context.configuration.options;
|
|
10
|
-
const scrollbar = options.get(
|
|
11
|
-
const mouseWheelScrollSensitivity = options.get(
|
|
10
|
+
const scrollbar = options.get(103 );
|
|
11
|
+
const mouseWheelScrollSensitivity = options.get(75 );
|
|
12
12
|
const fastScrollSensitivity = options.get(40 );
|
|
13
|
-
const scrollPredominantAxis = options.get(
|
|
13
|
+
const scrollPredominantAxis = options.get(106 );
|
|
14
14
|
const scrollbarOptions = {
|
|
15
15
|
listenOnDomNode: viewDomNode.domNode,
|
|
16
16
|
className: 'editor-scrollable' + ' ' + getThemeTypeSelector(context.theme.type),
|
|
@@ -69,9 +69,9 @@ class EditorScrollbar extends ViewPart {
|
|
|
69
69
|
}
|
|
70
70
|
_setLayout() {
|
|
71
71
|
const options = this._context.configuration.options;
|
|
72
|
-
const layoutInfo = options.get(
|
|
72
|
+
const layoutInfo = options.get(144 );
|
|
73
73
|
this.scrollbarDomNode.setLeft(layoutInfo.contentLeft);
|
|
74
|
-
const minimap = options.get(
|
|
74
|
+
const minimap = options.get(73 );
|
|
75
75
|
const side = minimap.side;
|
|
76
76
|
if (side === 'right') {
|
|
77
77
|
this.scrollbarDomNode.setWidth(layoutInfo.contentWidth + layoutInfo.minimap.minimapWidth);
|
|
@@ -94,14 +94,14 @@ class EditorScrollbar extends ViewPart {
|
|
|
94
94
|
this.scrollbar.delegateScrollFromMouseWheelEvent(browserEvent);
|
|
95
95
|
}
|
|
96
96
|
onConfigurationChanged(e) {
|
|
97
|
-
if (e.hasChanged(
|
|
98
|
-
|| e.hasChanged(
|
|
97
|
+
if (e.hasChanged(103 )
|
|
98
|
+
|| e.hasChanged(75 )
|
|
99
99
|
|| e.hasChanged(40 )) {
|
|
100
100
|
const options = this._context.configuration.options;
|
|
101
|
-
const scrollbar = options.get(
|
|
102
|
-
const mouseWheelScrollSensitivity = options.get(
|
|
101
|
+
const scrollbar = options.get(103 );
|
|
102
|
+
const mouseWheelScrollSensitivity = options.get(75 );
|
|
103
103
|
const fastScrollSensitivity = options.get(40 );
|
|
104
|
-
const scrollPredominantAxis = options.get(
|
|
104
|
+
const scrollPredominantAxis = options.get(106 );
|
|
105
105
|
const newOpts = {
|
|
106
106
|
vertical: scrollbar.vertical,
|
|
107
107
|
horizontal: scrollbar.horizontal,
|
|
@@ -115,7 +115,7 @@ class EditorScrollbar extends ViewPart {
|
|
|
115
115
|
};
|
|
116
116
|
this.scrollbar.updateOptions(newOpts);
|
|
117
117
|
}
|
|
118
|
-
if (e.hasChanged(
|
|
118
|
+
if (e.hasChanged(144 )) {
|
|
119
119
|
this._setLayout();
|
|
120
120
|
}
|
|
121
121
|
return true;
|
|
@@ -82,12 +82,12 @@ class GlyphMarginWidgets extends ViewPart {
|
|
|
82
82
|
this._widgets = {};
|
|
83
83
|
this._context = context;
|
|
84
84
|
const options = this._context.configuration.options;
|
|
85
|
-
const layoutInfo = options.get(
|
|
85
|
+
const layoutInfo = options.get(144 );
|
|
86
86
|
this.domNode = createFastDomNode(document.createElement('div'));
|
|
87
87
|
this.domNode.setClassName('glyph-margin-widgets');
|
|
88
88
|
this.domNode.setPosition('absolute');
|
|
89
89
|
this.domNode.setTop(0);
|
|
90
|
-
this._lineHeight = options.get(
|
|
90
|
+
this._lineHeight = options.get(67 );
|
|
91
91
|
this._glyphMargin = options.get(57 );
|
|
92
92
|
this._glyphMarginLeft = layoutInfo.glyphMarginLeft;
|
|
93
93
|
this._glyphMarginWidth = layoutInfo.glyphMarginWidth;
|
|
@@ -106,8 +106,8 @@ class GlyphMarginWidgets extends ViewPart {
|
|
|
106
106
|
}
|
|
107
107
|
onConfigurationChanged(e) {
|
|
108
108
|
const options = this._context.configuration.options;
|
|
109
|
-
const layoutInfo = options.get(
|
|
110
|
-
this._lineHeight = options.get(
|
|
109
|
+
const layoutInfo = options.get(144 );
|
|
110
|
+
this._lineHeight = options.get(67 );
|
|
111
111
|
this._glyphMargin = options.get(57 );
|
|
112
112
|
this._glyphMarginLeft = layoutInfo.glyphMarginLeft;
|
|
113
113
|
this._glyphMarginWidth = layoutInfo.glyphMarginWidth;
|
|
@@ -13,9 +13,9 @@ class IndentGuidesOverlay extends DynamicViewOverlay {
|
|
|
13
13
|
this._context = context;
|
|
14
14
|
this._primaryPosition = null;
|
|
15
15
|
const options = this._context.configuration.options;
|
|
16
|
-
const wrappingInfo = options.get(
|
|
16
|
+
const wrappingInfo = options.get(145 );
|
|
17
17
|
const fontInfo = options.get(50 );
|
|
18
|
-
this._lineHeight = options.get(
|
|
18
|
+
this._lineHeight = options.get(67 );
|
|
19
19
|
this._spaceWidth = fontInfo.spaceWidth;
|
|
20
20
|
this._maxIndentLeft = wrappingInfo.wrappingColumn === -1 ? -1 : (wrappingInfo.wrappingColumn * fontInfo.typicalHalfwidthCharacterWidth);
|
|
21
21
|
this._bracketPairGuideOptions = options.get(16 );
|
|
@@ -29,9 +29,9 @@ class IndentGuidesOverlay extends DynamicViewOverlay {
|
|
|
29
29
|
}
|
|
30
30
|
onConfigurationChanged(e) {
|
|
31
31
|
const options = this._context.configuration.options;
|
|
32
|
-
const wrappingInfo = options.get(
|
|
32
|
+
const wrappingInfo = options.get(145 );
|
|
33
33
|
const fontInfo = options.get(50 );
|
|
34
|
-
this._lineHeight = options.get(
|
|
34
|
+
this._lineHeight = options.get(67 );
|
|
35
35
|
this._spaceWidth = fontInfo.spaceWidth;
|
|
36
36
|
this._maxIndentLeft = wrappingInfo.wrappingColumn === -1 ? -1 : (wrappingInfo.wrappingColumn * fontInfo.typicalHalfwidthCharacterWidth);
|
|
37
37
|
this._bracketPairGuideOptions = options.get(16 );
|
|
@@ -18,12 +18,12 @@ class LineNumbersOverlay extends DynamicViewOverlay {
|
|
|
18
18
|
}
|
|
19
19
|
_readConfig() {
|
|
20
20
|
const options = this._context.configuration.options;
|
|
21
|
-
this._lineHeight = options.get(
|
|
22
|
-
const lineNumbers = options.get(
|
|
21
|
+
this._lineHeight = options.get(67 );
|
|
22
|
+
const lineNumbers = options.get(68 );
|
|
23
23
|
this._renderLineNumbers = lineNumbers.renderType;
|
|
24
24
|
this._renderCustomLineNumbers = lineNumbers.renderFn;
|
|
25
|
-
this._renderFinalNewline = options.get(
|
|
26
|
-
const layoutInfo = options.get(
|
|
25
|
+
this._renderFinalNewline = options.get(95 );
|
|
26
|
+
const layoutInfo = options.get(144 );
|
|
27
27
|
this._lineNumbersLeft = layoutInfo.lineNumbersLeft;
|
|
28
28
|
this._lineNumbersWidth = layoutInfo.lineNumbersWidth;
|
|
29
29
|
}
|
|
@@ -24,20 +24,20 @@ class ViewLineOptions {
|
|
|
24
24
|
const fontInfo = options.get(50 );
|
|
25
25
|
const experimentalWhitespaceRendering = options.get(38 );
|
|
26
26
|
if (experimentalWhitespaceRendering === 'off') {
|
|
27
|
-
this.renderWhitespace = options.get(
|
|
27
|
+
this.renderWhitespace = options.get(99 );
|
|
28
28
|
}
|
|
29
29
|
else {
|
|
30
30
|
this.renderWhitespace = 'none';
|
|
31
31
|
}
|
|
32
|
-
this.renderControlCharacters = options.get(
|
|
32
|
+
this.renderControlCharacters = options.get(94 );
|
|
33
33
|
this.spaceWidth = fontInfo.spaceWidth;
|
|
34
34
|
this.middotWidth = fontInfo.middotWidth;
|
|
35
35
|
this.wsmiddotWidth = fontInfo.wsmiddotWidth;
|
|
36
36
|
this.useMonospaceOptimizations = (fontInfo.isMonospace
|
|
37
37
|
&& !options.get(33 ));
|
|
38
38
|
this.canUseHalfwidthRightwardsArrow = fontInfo.canUseHalfwidthRightwardsArrow;
|
|
39
|
-
this.lineHeight = options.get(
|
|
40
|
-
this.stopRenderingLineAfter = options.get(
|
|
39
|
+
this.lineHeight = options.get(67 );
|
|
40
|
+
this.stopRenderingLineAfter = options.get(117 );
|
|
41
41
|
this.fontLigatures = options.get(51 );
|
|
42
42
|
}
|
|
43
43
|
equals(other) {
|
|
@@ -65,11 +65,11 @@ class ViewLines extends ViewPart {
|
|
|
65
65
|
const conf = this._context.configuration;
|
|
66
66
|
const options = this._context.configuration.options;
|
|
67
67
|
const fontInfo = options.get(50 );
|
|
68
|
-
const wrappingInfo = options.get(
|
|
69
|
-
this._lineHeight = options.get(
|
|
68
|
+
const wrappingInfo = options.get(145 );
|
|
69
|
+
this._lineHeight = options.get(67 );
|
|
70
70
|
this._typicalHalfwidthCharacterWidth = fontInfo.typicalHalfwidthCharacterWidth;
|
|
71
71
|
this._isViewportWrapping = wrappingInfo.isViewportWrapping;
|
|
72
|
-
this._revealHorizontalRightPadding = options.get(
|
|
72
|
+
this._revealHorizontalRightPadding = options.get(100 );
|
|
73
73
|
this._cursorSurroundingLines = options.get(29 );
|
|
74
74
|
this._cursorSurroundingLinesStyle = options.get(30 );
|
|
75
75
|
this._canUseLayerHinting = !options.get(32 );
|
|
@@ -86,8 +86,8 @@ class ViewLines extends ViewPart {
|
|
|
86
86
|
}, 2000));
|
|
87
87
|
this._lastRenderedData = ( new LastRenderedData());
|
|
88
88
|
this._horizontalRevealRequest = null;
|
|
89
|
-
this._stickyScrollEnabled = options.get(
|
|
90
|
-
this._maxNumberStickyLines = options.get(
|
|
89
|
+
this._stickyScrollEnabled = options.get(115 ).enabled;
|
|
90
|
+
this._maxNumberStickyLines = options.get(115 ).maxLineCount;
|
|
91
91
|
}
|
|
92
92
|
dispose() {
|
|
93
93
|
this._asyncUpdateLineWidths.dispose();
|
|
@@ -102,24 +102,24 @@ class ViewLines extends ViewPart {
|
|
|
102
102
|
}
|
|
103
103
|
onConfigurationChanged(e) {
|
|
104
104
|
this._visibleLines.onConfigurationChanged(e);
|
|
105
|
-
if (e.hasChanged(
|
|
105
|
+
if (e.hasChanged(145 )) {
|
|
106
106
|
this._maxLineWidth = 0;
|
|
107
107
|
}
|
|
108
108
|
const options = this._context.configuration.options;
|
|
109
109
|
const fontInfo = options.get(50 );
|
|
110
|
-
const wrappingInfo = options.get(
|
|
111
|
-
this._lineHeight = options.get(
|
|
110
|
+
const wrappingInfo = options.get(145 );
|
|
111
|
+
this._lineHeight = options.get(67 );
|
|
112
112
|
this._typicalHalfwidthCharacterWidth = fontInfo.typicalHalfwidthCharacterWidth;
|
|
113
113
|
this._isViewportWrapping = wrappingInfo.isViewportWrapping;
|
|
114
|
-
this._revealHorizontalRightPadding = options.get(
|
|
114
|
+
this._revealHorizontalRightPadding = options.get(100 );
|
|
115
115
|
this._cursorSurroundingLines = options.get(29 );
|
|
116
116
|
this._cursorSurroundingLinesStyle = options.get(30 );
|
|
117
117
|
this._canUseLayerHinting = !options.get(32 );
|
|
118
|
-
this._stickyScrollEnabled = options.get(
|
|
119
|
-
this._maxNumberStickyLines = options.get(
|
|
118
|
+
this._stickyScrollEnabled = options.get(115 ).enabled;
|
|
119
|
+
this._maxNumberStickyLines = options.get(115 ).maxLineCount;
|
|
120
120
|
applyFontInfo(this.domNode, fontInfo);
|
|
121
121
|
this._onOptionsMaybeChanged();
|
|
122
|
-
if (e.hasChanged(
|
|
122
|
+
if (e.hasChanged(144 )) {
|
|
123
123
|
this._maxLineWidth = 0;
|
|
124
124
|
}
|
|
125
125
|
return true;
|
|
@@ -570,7 +570,7 @@ class ViewLines extends ViewPart {
|
|
|
570
570
|
}
|
|
571
571
|
_computeScrollLeftToReveal(horizontalRevealRequest) {
|
|
572
572
|
const viewport = this._context.viewLayout.getCurrentViewport();
|
|
573
|
-
const layoutInfo = this._context.configuration.options.get(
|
|
573
|
+
const layoutInfo = this._context.configuration.options.get(144 );
|
|
574
574
|
const viewportStartX = viewport.left;
|
|
575
575
|
const viewportEndX = viewportStartX + viewport.width - layoutInfo.verticalScrollbarWidth;
|
|
576
576
|
let boxStartX = 1073741824 ;
|
|
@@ -5,7 +5,7 @@ class LinesDecorationsOverlay extends DedupOverlay {
|
|
|
5
5
|
super();
|
|
6
6
|
this._context = context;
|
|
7
7
|
const options = this._context.configuration.options;
|
|
8
|
-
const layoutInfo = options.get(
|
|
8
|
+
const layoutInfo = options.get(144 );
|
|
9
9
|
this._decorationsLeft = layoutInfo.decorationsLeft;
|
|
10
10
|
this._decorationsWidth = layoutInfo.decorationsWidth;
|
|
11
11
|
this._renderResult = null;
|
|
@@ -18,7 +18,7 @@ class LinesDecorationsOverlay extends DedupOverlay {
|
|
|
18
18
|
}
|
|
19
19
|
onConfigurationChanged(e) {
|
|
20
20
|
const options = this._context.configuration.options;
|
|
21
|
-
const layoutInfo = options.get(
|
|
21
|
+
const layoutInfo = options.get(144 );
|
|
22
22
|
this._decorationsLeft = layoutInfo.decorationsLeft;
|
|
23
23
|
this._decorationsWidth = layoutInfo.decorationsWidth;
|
|
24
24
|
return true;
|