@codingame/monaco-vscode-api 6.0.3 → 7.0.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +150 -117
- package/api.js +1 -1
- package/debugProtocol.d.ts +10 -1
- package/extensions.d.ts +2 -0
- package/missing-services.js +21 -2
- package/package.json +9 -9
- package/service-override/extensions.d.ts +1 -2
- package/services.js +4 -2
- package/vscode/src/vs/base/browser/dnd.js +1 -1
- package/vscode/src/vs/base/browser/dom.js +116 -5
- package/vscode/src/vs/base/browser/domObservable.js +16 -0
- package/vscode/src/vs/base/browser/markdownRenderer.js +5 -3
- package/vscode/src/vs/base/browser/trustedTypes.js +1 -2
- package/vscode/src/vs/base/browser/ui/actionbar/actionViewItems.js +1 -1
- package/vscode/src/vs/base/browser/ui/actionbar/actionbar.js +1 -1
- package/vscode/src/vs/base/browser/ui/button/button.js +2 -2
- package/vscode/src/vs/base/browser/ui/contextview/contextview.js +1 -4
- package/vscode/src/vs/base/browser/ui/dropdown/dropdown.js +1 -1
- package/vscode/src/vs/base/browser/ui/dropdown/dropdownActionViewItem.js +1 -1
- package/vscode/src/vs/base/browser/ui/highlightedlabel/highlightedLabel.js +1 -1
- package/vscode/src/vs/base/browser/ui/hover/hover.d.ts +32 -16
- package/vscode/src/vs/base/browser/ui/hover/hoverDelegate.d.ts +2 -2
- package/vscode/src/vs/base/browser/ui/hover/hoverDelegate2.js +2 -2
- package/vscode/src/vs/base/browser/ui/hover/hoverWidget.css.js +1 -1
- package/vscode/src/vs/base/browser/ui/hover/hoverWidget.js +2 -0
- package/vscode/src/vs/base/browser/ui/iconLabel/iconLabel.js +1 -1
- package/vscode/src/vs/base/browser/ui/iconLabel/simpleIconLabel.js +1 -1
- package/vscode/src/vs/base/browser/ui/inputbox/inputBox.js +1 -1
- package/vscode/src/vs/base/browser/ui/keybindingLabel/keybindingLabel.js +1 -1
- package/vscode/src/vs/base/browser/ui/list/listView.js +3 -5
- package/vscode/src/vs/base/browser/ui/list/rowCache.js +1 -8
- package/vscode/src/vs/base/browser/ui/sash/sash.js +1 -1
- package/vscode/src/vs/base/browser/ui/selectBox/selectBoxCustom.js +7 -11
- package/vscode/src/vs/base/browser/ui/splitview/paneview.js +1 -1
- package/vscode/src/vs/base/browser/ui/splitview/splitview.js +1 -1
- package/vscode/src/vs/base/browser/ui/table/tableWidget.js +1 -1
- package/vscode/src/vs/base/browser/ui/toggle/toggle.js +1 -1
- package/vscode/src/vs/base/browser/ui/toolbar/toolbar.d.ts +8 -1
- package/vscode/src/vs/base/browser/ui/toolbar/toolbar.js +2 -3
- package/vscode/src/vs/base/browser/ui/tree/abstractTree.js +1 -1
- package/vscode/src/vs/base/browser/ui/tree/asyncDataTree.js +0 -3
- package/vscode/src/vs/base/common/assert.js +1 -1
- package/vscode/src/vs/base/common/collections.js +49 -1
- package/vscode/src/vs/base/common/equals.js +55 -5
- package/vscode/src/vs/base/common/errors.js +14 -1
- package/vscode/src/vs/base/common/event.js +2 -1
- package/vscode/src/vs/base/common/history.js +7 -4
- package/vscode/src/vs/base/common/iterator.js +9 -1
- package/vscode/src/vs/base/common/map.d.ts +41 -0
- package/vscode/src/vs/base/common/numbers.js +18 -1
- package/vscode/src/vs/base/common/observableInternal/api.js +11 -0
- package/vscode/src/vs/base/common/observableInternal/autorun.js +18 -1
- package/vscode/src/vs/base/common/observableInternal/base.d.ts +8 -1
- package/vscode/src/vs/base/common/observableInternal/base.js +2 -5
- package/vscode/src/vs/base/common/observableInternal/derived.js +13 -3
- package/vscode/src/vs/base/common/observableInternal/lazyObservableValue.js +109 -0
- package/vscode/src/vs/base/common/observableInternal/promise.js +3 -0
- package/vscode/src/vs/base/common/observableInternal/utils.d.ts +7 -0
- package/vscode/src/vs/base/common/observableInternal/utils.js +64 -12
- package/vscode/src/vs/base/common/prefixTree.d.ts +52 -0
- package/vscode/src/vs/base/common/product.d.ts +1 -0
- package/vscode/src/vs/base/parts/ipc/common/ipc.js +1 -1
- package/vscode/src/vs/editor/browser/config/charWidthReader.js +1 -1
- package/vscode/src/vs/editor/browser/controller/textAreaHandler.js +1 -1
- package/vscode/src/vs/editor/browser/coreCommands.js +2 -1
- package/vscode/src/vs/editor/browser/observableCodeEditor.js +230 -0
- package/vscode/src/vs/editor/browser/services/abstractCodeEditorService.js +1 -1
- package/vscode/src/vs/editor/browser/services/hoverService/hoverService.js +26 -26
- package/vscode/src/vs/editor/browser/services/hoverService/updatableHoverWidget.js +2 -2
- package/vscode/src/vs/editor/browser/view/domLineBreaksComputer.js +1 -1
- package/vscode/src/vs/editor/browser/view/viewLayer.js +4 -12
- package/vscode/src/vs/editor/browser/viewParts/contentWidgets/contentWidgets.js +1 -1
- package/vscode/src/vs/editor/browser/viewParts/glyphMargin/glyphMargin.js +1 -1
- package/vscode/src/vs/editor/browser/viewParts/viewZones/viewZones.js +2 -2
- package/vscode/src/vs/editor/browser/widget/codeEditor/codeEditorWidget.js +15 -4
- package/vscode/src/vs/editor/browser/widget/diffEditor/components/diffEditorEditors.js +8 -8
- package/vscode/src/vs/editor/browser/widget/diffEditor/components/diffEditorViewZones/diffEditorViewZones.js +4 -4
- package/vscode/src/vs/editor/browser/widget/diffEditor/diffEditorOptions.js +1 -1
- package/vscode/src/vs/editor/browser/widget/diffEditor/diffEditorViewModel.js +1 -1
- package/vscode/src/vs/editor/browser/widget/diffEditor/diffEditorWidget.js +14 -2
- package/vscode/src/vs/editor/browser/widget/diffEditor/features/gutterFeature.js +1 -1
- package/vscode/src/vs/editor/browser/widget/diffEditor/features/movedBlocksLinesFeature.js +2 -2
- package/vscode/src/vs/editor/browser/widget/diffEditor/registrations.contribution.js +2 -2
- package/vscode/src/vs/editor/browser/widget/diffEditor/utils/editorGutter.js +3 -3
- package/vscode/src/vs/editor/browser/widget/diffEditor/utils.js +2 -2
- package/vscode/src/vs/editor/browser/widget/multiDiffEditor/colors.js +1 -1
- package/vscode/src/vs/editor/browser/widget/multiDiffEditor/multiDiffEditorWidgetImpl.js +2 -2
- package/vscode/src/vs/editor/common/config/editorOptions.d.ts +5 -0
- package/vscode/src/vs/editor/common/config/editorOptions.js +83 -65
- package/vscode/src/vs/editor/common/core/editorColorRegistry.js +43 -43
- package/vscode/src/vs/editor/common/cursor/cursor.js +3 -2
- package/vscode/src/vs/editor/common/cursor/cursorTypeEditOperations.js +911 -0
- package/vscode/src/vs/editor/common/cursor/cursorTypeOperations.js +36 -799
- package/vscode/src/vs/editor/common/cursor/cursorWordOperations.js +6 -5
- package/vscode/src/vs/editor/common/languageFeatureRegistry.d.ts +1 -0
- package/vscode/src/vs/editor/common/languageFeatureRegistry.js +3 -0
- package/vscode/src/vs/editor/common/languages/autoIndent.js +23 -1
- package/vscode/src/vs/editor/common/languages.d.ts +20 -3
- package/vscode/src/vs/editor/common/model/bracketPairsTextModelPart/bracketPairsImpl.js +6 -6
- package/vscode/src/vs/editor/common/model/pieceTreeTextBuffer/pieceTreeBase.js +19 -0
- package/vscode/src/vs/editor/common/model/pieceTreeTextBuffer/pieceTreeTextBuffer.js +3 -0
- package/vscode/src/vs/editor/common/model/textModel.js +6 -2
- package/vscode/src/vs/editor/common/model/tokenizationTextModelPart.js +5 -5
- package/vscode/src/vs/editor/common/model.d.ts +4 -0
- package/vscode/src/vs/editor/common/services/getIconClasses.js +1 -1
- package/vscode/src/vs/editor/common/services/semanticTokensProviderStyling.js +2 -15
- package/vscode/src/vs/editor/common/standalone/standaloneEnums.js +63 -62
- package/vscode/src/vs/editor/common/viewModel/viewModelImpl.js +11 -8
- package/vscode/src/vs/editor/contrib/bracketMatching/browser/bracketMatching.js +1 -1
- package/vscode/src/vs/editor/contrib/codeAction/browser/codeActionController.js +2 -17
- package/vscode/src/vs/editor/contrib/codeAction/browser/lightBulbWidget.css.js +1 -1
- package/vscode/src/vs/editor/contrib/codeAction/browser/lightBulbWidget.js +18 -5
- package/vscode/src/vs/editor/contrib/colorPicker/browser/colorHoverParticipant.js +55 -27
- package/vscode/src/vs/editor/contrib/colorPicker/browser/colorPickerWidget.js +7 -4
- package/vscode/src/vs/editor/contrib/colorPicker/browser/standaloneColorPickerWidget.js +9 -9
- package/vscode/src/vs/editor/contrib/contextmenu/browser/contextmenu.js +1 -1
- package/vscode/src/vs/editor/contrib/dropOrPasteInto/browser/copyPasteController.js +103 -47
- package/vscode/src/vs/editor/contrib/dropOrPasteInto/browser/defaultProviders.js +8 -2
- package/vscode/src/vs/editor/contrib/dropOrPasteInto/browser/dropIntoEditorController.js +18 -10
- package/vscode/src/vs/editor/contrib/find/browser/findWidget.js +2 -4
- package/vscode/src/vs/editor/contrib/folding/browser/folding.css.js +1 -1
- package/vscode/src/vs/editor/contrib/folding/browser/folding.js +33 -13
- package/vscode/src/vs/editor/contrib/folding/browser/foldingDecorations.js +12 -7
- package/vscode/src/vs/editor/contrib/gotoError/browser/gotoErrorWidget.js +1 -1
- package/vscode/src/vs/editor/contrib/gotoSymbol/browser/peek/referencesWidget.js +2 -2
- package/vscode/src/vs/editor/contrib/hover/browser/contentHoverController.js +161 -185
- package/vscode/src/vs/editor/contrib/hover/browser/contentHoverRendered.js +321 -0
- package/vscode/src/vs/editor/contrib/hover/browser/contentHoverStatusBar.js +4 -1
- package/vscode/src/vs/editor/contrib/hover/browser/contentHoverTypes.js +6 -21
- package/vscode/src/vs/editor/contrib/hover/browser/contentHoverWidget.js +39 -40
- package/vscode/src/vs/editor/contrib/hover/browser/hoverAccessibleViews.js +55 -46
- package/vscode/src/vs/editor/contrib/hover/browser/hoverActions.js +12 -2
- package/vscode/src/vs/editor/contrib/hover/browser/hoverController.js +15 -9
- package/vscode/src/vs/editor/contrib/hover/browser/hoverTypes.js +11 -1
- package/vscode/src/vs/editor/contrib/hover/browser/markdownHoverParticipant.js +141 -93
- package/vscode/src/vs/editor/contrib/hover/browser/markerHoverParticipant.js +24 -7
- package/vscode/src/vs/editor/contrib/indentation/browser/indentation.js +36 -1
- package/vscode/src/vs/editor/contrib/inlayHints/browser/inlayHintsHover.js +5 -3
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/ghostTextWidget.js +1 -1
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/hoverParticipant.js +25 -12
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/inlineCompletionsController.js +88 -118
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/inlineCompletionsHintsWidget.js +1 -1
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/inlineCompletionsModel.js +34 -33
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/inlineCompletionsSource.js +2 -2
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/provideInlineCompletions.js +11 -4
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/suggestWidgetInlineCompletionProvider.js +10 -19
- package/vscode/src/vs/editor/contrib/inlineEdit/browser/ghostTextWidget.js +1 -1
- package/vscode/src/vs/editor/contrib/inlineEdit/browser/hoverParticipant.js +45 -27
- package/vscode/src/vs/editor/contrib/inlineEdit/browser/inlineEditController.js +4 -4
- package/vscode/src/vs/editor/contrib/inlineEdit/browser/inlineEditHintsWidget.js +1 -1
- package/vscode/src/vs/editor/contrib/inlineEdits/browser/commands.js +126 -0
- package/vscode/src/vs/editor/contrib/inlineEdits/browser/consts.js +9 -0
- package/vscode/src/vs/editor/contrib/inlineEdits/browser/inlineEdits.contribution.js +9 -0
- package/vscode/src/vs/editor/contrib/inlineEdits/browser/inlineEditsController.js +82 -0
- package/vscode/src/vs/editor/contrib/inlineEdits/browser/inlineEditsModel.js +240 -0
- package/vscode/src/vs/editor/contrib/inlineEdits/browser/inlineEditsWidget.css.js +4 -0
- package/vscode/src/vs/editor/contrib/inlineEdits/browser/inlineEditsWidget.js +322 -0
- package/vscode/src/vs/editor/contrib/inlineProgress/browser/inlineProgress.js +8 -4
- package/vscode/src/vs/editor/contrib/linesOperations/browser/linesOperations.js +3 -2
- package/vscode/src/vs/editor/contrib/parameterHints/browser/parameterHintsWidget.js +1 -1
- package/vscode/src/vs/editor/contrib/peekView/browser/peekView.js +2 -2
- package/vscode/src/vs/editor/contrib/placeholderText/browser/placeholderText.contribution.js +60 -0
- package/vscode/src/vs/editor/contrib/placeholderText/browser/placeholderText.css.js +4 -0
- package/vscode/src/vs/editor/contrib/rename/browser/renameWidget.js +1 -1
- package/vscode/src/vs/editor/contrib/stickyScroll/browser/stickyScroll.css.js +1 -1
- package/vscode/src/vs/editor/contrib/stickyScroll/browser/stickyScrollController.js +38 -20
- package/vscode/src/vs/editor/contrib/stickyScroll/browser/stickyScrollWidget.js +3 -0
- package/vscode/src/vs/editor/contrib/suggest/browser/suggestWidget.js +9 -9
- package/vscode/src/vs/editor/contrib/suggest/browser/suggestWidgetStatus.js +10 -32
- package/vscode/src/vs/editor/contrib/symbolIcons/browser/symbolIcons.js +23 -138
- package/vscode/src/vs/editor/contrib/unicodeHighlighter/browser/unicodeHighlighter.js +3 -0
- package/vscode/src/vs/editor/contrib/wordHighlighter/browser/highlightDecorations.js +5 -5
- package/vscode/src/vs/editor/contrib/wordOperations/browser/wordOperations.js +13 -12
- package/vscode/src/vs/editor/contrib/wordPartOperations/browser/wordPartOperations.js +3 -3
- package/vscode/src/vs/platform/accessibility/browser/accessibilityService.js +21 -0
- package/vscode/src/vs/platform/accessibilitySignal/browser/accessibilitySignalService.js +5 -6
- package/vscode/src/vs/platform/actionWidget/browser/actionWidget.js +1 -1
- package/vscode/src/vs/platform/actions/browser/buttonbar.js +27 -6
- package/vscode/src/vs/platform/actions/browser/floatingMenu.js +1 -1
- package/vscode/src/vs/platform/actions/browser/menuEntryActionViewItem.css.js +1 -1
- package/vscode/src/vs/platform/actions/browser/menuEntryActionViewItem.js +33 -3
- package/vscode/src/vs/platform/actions/browser/toolbar.js +2 -1
- package/vscode/src/vs/platform/actions/common/actions.d.ts +3 -0
- package/vscode/src/vs/platform/actions/common/actions.js +3 -0
- package/vscode/src/vs/platform/actions/common/menuService.js +3 -2
- package/vscode/src/vs/platform/clipboard/browser/clipboardService.js +1 -1
- package/vscode/src/vs/platform/configuration/common/configurationRegistry.d.ts +7 -5
- package/vscode/src/vs/platform/configuration/common/configurationRegistry.js +109 -13
- package/vscode/src/vs/platform/diagnostics/common/diagnostics.d.ts +2 -0
- package/vscode/src/vs/platform/extensionManagement/common/extensionManagement.d.ts +12 -6
- package/vscode/src/vs/platform/extensionManagement/common/extensionManagement.js +2 -0
- package/vscode/src/vs/platform/extensionManagement/common/extensionManagement.service.d.ts +3 -3
- package/vscode/src/vs/platform/extensionManagement/common/extensionsScannerService.js +20 -10
- package/vscode/src/vs/platform/extensions/common/extensionValidator.js +46 -8
- package/vscode/src/vs/platform/extensions/common/extensions.d.ts +1 -1
- package/vscode/src/vs/platform/extensions/common/extensions.js +12 -3
- package/vscode/src/vs/platform/extensions/common/extensionsApiProposals.js +368 -0
- package/vscode/src/vs/platform/files/common/watcher.js +21 -24
- package/vscode/src/vs/platform/list/browser/listService.js +2 -1
- package/vscode/src/vs/platform/observable/common/platformObservableUtils.js +2 -2
- package/vscode/src/vs/platform/opener/browser/link.js +1 -1
- package/vscode/src/vs/platform/product/common/product.js +1 -1
- package/vscode/src/vs/platform/quickinput/browser/quickInputTree.js +1 -1
- package/vscode/src/vs/platform/remote/common/remoteExtensionsScanner.service.d.ts +0 -2
- package/vscode/src/vs/platform/request/common/request.js +18 -8
- package/vscode/src/vs/platform/terminal/common/capabilities/capabilities.d.ts +2 -6
- package/vscode/src/vs/platform/terminal/common/capabilities/commandDetection/promptInputModel.d.ts +8 -1
- package/vscode/src/vs/platform/theme/common/colorUtils.d.ts +1 -1
- package/vscode/src/vs/platform/theme/common/colorUtils.js +25 -5
- package/vscode/src/vs/platform/theme/common/colors/baseColors.js +1 -1
- package/vscode/src/vs/platform/theme/common/colors/chartsColors.js +6 -6
- package/vscode/src/vs/platform/theme/common/colors/editorColors.js +35 -35
- package/vscode/src/vs/platform/theme/common/colors/inputColors.js +9 -9
- package/vscode/src/vs/platform/theme/common/colors/listColors.js +11 -11
- package/vscode/src/vs/platform/theme/common/colors/menuColors.js +4 -4
- package/vscode/src/vs/platform/theme/common/colors/minimapColors.js +5 -5
- package/vscode/src/vs/platform/theme/common/colors/miscColors.js +1 -1
- package/vscode/src/vs/platform/theme/common/colors/quickpickColors.js +5 -5
- package/vscode/src/vs/platform/tunnel/common/tunnel.js +4 -1
- package/vscode/src/vs/platform/userDataProfile/common/userDataProfile.js +75 -19
- package/vscode/src/vs/platform/window/common/window.d.ts +2 -2
- package/vscode/src/vs/workbench/api/common/extHost.api.impl.js +32 -25
- package/vscode/src/vs/workbench/api/common/extHost.common.services.js +2 -0
- package/vscode/src/vs/workbench/api/common/extHost.protocol.js +2 -0
- package/vscode/src/vs/workbench/api/common/extHostAuthentication.js +5 -11
- package/vscode/src/vs/workbench/api/common/extHostChatAgents2.js +5 -15
- package/vscode/src/vs/workbench/api/common/extHostChatVariables.js +2 -5
- package/vscode/src/vs/workbench/api/common/extHostComments.js +9 -3
- package/vscode/src/vs/workbench/api/common/extHostDebugService.js +32 -22
- package/vscode/src/vs/workbench/api/common/extHostExtensionService.js +3 -3
- package/vscode/src/vs/workbench/api/common/extHostLanguageFeatures.js +109 -40
- package/vscode/src/vs/workbench/api/common/extHostLanguageModelTools.js +46 -0
- package/vscode/src/vs/workbench/api/common/extHostLanguageModels.js +84 -35
- package/vscode/src/vs/workbench/api/common/extHostNotebook.js +2 -2
- package/vscode/src/vs/workbench/api/common/extHostSCM.js +50 -41
- package/vscode/src/vs/workbench/api/common/extHostSearch.js +2 -2
- package/vscode/src/vs/workbench/api/common/extHostSecrets.js +11 -8
- package/vscode/src/vs/workbench/api/common/extHostTerminalService.js +7 -6
- package/vscode/src/vs/workbench/api/common/extHostTesting.js +63 -70
- package/vscode/src/vs/workbench/api/common/extHostTextEditors.js +5 -3
- package/vscode/src/vs/workbench/api/common/extHostTypeConverters.js +75 -16
- package/vscode/src/vs/workbench/api/common/extHostTypes.js +29 -4
- package/vscode/src/vs/workbench/api/common/extHostWorkspace.js +1 -1
- package/vscode/src/vs/workbench/browser/actions/developerActions.js +1 -1
- package/vscode/src/vs/workbench/browser/parts/editor/editorActions.js +127 -107
- package/vscode/src/vs/workbench/browser/parts/editor/editorCommands.js +2 -2
- package/vscode/src/vs/workbench/browser/parts/editor/editorPanes.js +1 -1
- package/vscode/src/vs/workbench/browser/parts/editor/editorStatus.js +33 -21
- package/vscode/src/vs/workbench/browser/parts/editor/sideBySideEditor.js +1 -1
- package/vscode/src/vs/workbench/browser/parts/globalCompositeBar.js +5 -5
- package/vscode/src/vs/workbench/browser/parts/notifications/notificationsToasts.js +1 -1
- package/vscode/src/vs/workbench/browser/parts/notifications/notificationsViewer.js +2 -2
- package/vscode/src/vs/workbench/browser/parts/views/checkbox.js +2 -2
- package/vscode/src/vs/workbench/browser/parts/views/treeView.js +23 -6
- package/vscode/src/vs/workbench/browser/parts/views/viewFilter.js +3 -1
- package/vscode/src/vs/workbench/browser/parts/views/viewPane.js +3 -3
- package/vscode/src/vs/workbench/browser/parts/views/viewPaneContainer.js +1 -1
- package/vscode/src/vs/workbench/browser/web.api.js +8 -0
- package/vscode/src/vs/workbench/browser/workbench.contribution.js +199 -194
- package/vscode/src/vs/workbench/common/configuration.js +1 -1
- package/vscode/src/vs/workbench/common/contributions.js +8 -1
- package/vscode/src/vs/workbench/common/editor.js +5 -1
- package/vscode/src/vs/workbench/common/theme.js +79 -454
- package/vscode/src/vs/workbench/contrib/accessibility/browser/accessibilityConfiguration.js +221 -239
- package/vscode/src/vs/workbench/contrib/chat/browser/actions/chatActions.js +17 -15
- package/vscode/src/vs/workbench/contrib/chat/browser/actions/chatExecuteActions.js +1 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/chatAgentHover.js +4 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/chatContentParts/chatCollections.js +27 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/chatContentParts/chatCommandContentPart.js +35 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/chatContentParts/chatConfirmationContentPart.js +51 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/{chatConfirmationWidget.js → chatContentParts/chatConfirmationWidget.js} +9 -9
- package/vscode/src/vs/workbench/contrib/chat/browser/chatContentParts/chatMarkdownContentPart.js +131 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/chatContentParts/chatProgressContentPart.js +37 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/chatContentParts/chatReferencesContentPart.js +263 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/chatContentParts/chatTaskContentPart.js +37 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/chatContentParts/chatTextEditContentPart.js +160 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/chatContentParts/chatTreeContentPart.js +171 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/chatContentParts/chatWarningContentPart.js +34 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/{media → chatContentParts/media}/chatConfirmationWidget.css.js +1 -1
- package/vscode/src/vs/workbench/contrib/chat/browser/chatInputPart.js +91 -44
- package/vscode/src/vs/workbench/contrib/chat/browser/chatListRenderer.js +292 -1019
- package/vscode/src/vs/workbench/contrib/chat/browser/chatMarkdownDecorationsRenderer.js +2 -2
- package/vscode/src/vs/workbench/contrib/chat/browser/chatMarkdownRenderer.js +1 -1
- package/vscode/src/vs/workbench/contrib/chat/browser/chatWidget.js +22 -7
- package/vscode/src/vs/workbench/contrib/chat/browser/codeBlockPart.css.js +1 -1
- package/vscode/src/vs/workbench/contrib/chat/browser/codeBlockPart.js +61 -54
- package/vscode/src/vs/workbench/contrib/chat/browser/contrib/chatDynamicVariables.js +23 -16
- package/vscode/src/vs/workbench/contrib/chat/browser/media/chat.css.js +1 -1
- package/vscode/src/vs/workbench/contrib/chat/browser/media/chatAgentHover.css.js +1 -1
- package/vscode/src/vs/workbench/contrib/chat/common/chatAgents.js +8 -0
- package/vscode/src/vs/workbench/contrib/chat/common/chatColors.js +1 -1
- package/vscode/src/vs/workbench/contrib/chat/common/chatModel.js +3 -3
- package/vscode/src/vs/workbench/contrib/chat/common/chatWordCounter.js +5 -4
- package/vscode/src/vs/workbench/contrib/chat/common/codeBlockModelCollection.js +16 -0
- package/vscode/src/vs/workbench/contrib/chat/common/languageModelToolsService.service.js +3 -0
- package/vscode/src/vs/workbench/contrib/chat/common/languageModels.js +2 -2
- package/vscode/src/vs/workbench/contrib/codeActions/browser/codeActionsContribution.js +43 -16
- package/vscode/src/vs/workbench/contrib/codeEditor/browser/diffEditorHelper.js +1 -1
- package/vscode/src/vs/workbench/contrib/codeEditor/browser/find/simpleFindWidget.js +1 -3
- package/vscode/src/vs/workbench/contrib/codeEditor/browser/suggestEnabledInput/suggestEnabledInput.js +1 -1
- package/vscode/src/vs/workbench/contrib/codeEditor/browser/toggleMultiCursorModifier.js +7 -5
- package/vscode/src/vs/workbench/contrib/codeEditor/browser/toggleWordWrap.js +7 -7
- package/vscode/src/vs/workbench/contrib/comments/browser/commentColors.js +3 -3
- package/vscode/src/vs/workbench/contrib/comments/browser/commentGlyphWidget.js +3 -3
- package/vscode/src/vs/workbench/contrib/comments/browser/commentReply.js +2 -2
- package/vscode/src/vs/workbench/contrib/comments/browser/commentThreadBody.js +1 -1
- package/vscode/src/vs/workbench/contrib/comments/browser/commentThreadHeader.js +2 -1
- package/vscode/src/vs/workbench/contrib/comments/browser/commentThreadWidget.js +2 -1
- package/vscode/src/vs/workbench/contrib/comments/browser/commentThreadZoneWidget.js +1 -1
- package/vscode/src/vs/workbench/contrib/comments/browser/commentsController.js +8 -5
- package/vscode/src/vs/workbench/contrib/comments/browser/commentsTreeViewer.js +1 -1
- package/vscode/src/vs/workbench/contrib/comments/browser/media/panel.css.js +1 -1
- package/vscode/src/vs/workbench/contrib/comments/browser/media/review.css.js +1 -1
- package/vscode/src/vs/workbench/contrib/comments/browser/timestamp.js +1 -1
- package/vscode/src/vs/workbench/contrib/contextmenu/browser/contextmenu.contribution.js +5 -5
- package/vscode/src/vs/workbench/contrib/debug/browser/baseDebugView.js +14 -7
- package/vscode/src/vs/workbench/contrib/debug/browser/breakpointEditorContribution.js +4 -4
- package/vscode/src/vs/workbench/contrib/debug/browser/breakpointWidget.js +8 -7
- package/vscode/src/vs/workbench/contrib/debug/browser/breakpointsView.js +19 -16
- package/vscode/src/vs/workbench/contrib/debug/browser/debugColors.js +13 -12
- package/vscode/src/vs/workbench/contrib/debug/common/debug.d.ts +19 -2
- package/vscode/src/vs/workbench/contrib/debug/common/debug.js +9 -4
- package/vscode/src/vs/workbench/contrib/debug/common/debugModel.js +10 -5
- package/vscode/src/vs/workbench/contrib/debug/common/replModel.js +4 -4
- package/vscode/src/vs/workbench/contrib/extensions/browser/extensionsActions.js +235 -173
- package/vscode/src/vs/workbench/contrib/extensions/browser/media/extensionActions.css.js +1 -1
- package/vscode/src/vs/workbench/contrib/extensions/common/extensions.js +2 -1
- package/vscode/src/vs/workbench/contrib/files/browser/fileActions.js +17 -5
- package/vscode/src/vs/workbench/contrib/files/browser/files.contribution._configuration.js +62 -44
- package/vscode/src/vs/workbench/contrib/files/browser/files.contribution._editorPane.js +2 -2
- package/vscode/src/vs/workbench/contrib/files/browser/views/openEditorsView.js +2 -2
- package/vscode/src/vs/workbench/contrib/inlineChat/browser/inlineChatActions.js +114 -107
- package/vscode/src/vs/workbench/contrib/inlineChat/browser/inlineChatContentWidget.js +33 -25
- package/vscode/src/vs/workbench/contrib/inlineChat/browser/inlineChatController.js +71 -101
- package/vscode/src/vs/workbench/contrib/inlineChat/browser/inlineChatSession.js +38 -43
- package/vscode/src/vs/workbench/contrib/inlineChat/browser/inlineChatSessionServiceImpl.js +11 -33
- package/vscode/src/vs/workbench/contrib/inlineChat/browser/inlineChatStrategies.js +3 -4
- package/vscode/src/vs/workbench/contrib/inlineChat/browser/inlineChatWidget.js +49 -86
- package/vscode/src/vs/workbench/contrib/inlineChat/browser/inlineChatZoneWidget.js +60 -71
- package/vscode/src/vs/workbench/contrib/inlineChat/browser/media/inlineChat.css.js +1 -1
- package/vscode/src/vs/workbench/contrib/inlineChat/browser/media/inlineChatContentWidget.css.js +1 -1
- package/vscode/src/vs/workbench/contrib/inlineChat/common/inlineChat.js +116 -113
- package/vscode/src/vs/workbench/contrib/markdown/browser/markdownDocumentRenderer.js +6 -10
- package/vscode/src/vs/workbench/contrib/mergeEditor/browser/mergeEditorInputModel.js +2 -2
- package/vscode/src/vs/workbench/contrib/multiDiffEditor/browser/multiDiffEditorInput.js +1 -0
- package/vscode/src/vs/workbench/contrib/multiDiffEditor/browser/scmMultiDiffSourceResolver.js +2 -2
- package/vscode/src/vs/workbench/contrib/notebook/browser/contrib/find/findFilters.js +12 -23
- package/vscode/src/vs/workbench/contrib/notebook/browser/contrib/find/findMatchDecorationModel.js +0 -2
- package/vscode/src/vs/workbench/contrib/notebook/browser/contrib/find/findModel.js +7 -9
- package/vscode/src/vs/workbench/contrib/notebook/browser/contrib/find/notebookFindReplaceWidget.js +88 -61
- package/vscode/src/vs/workbench/contrib/notebook/browser/contrib/find/notebookFindWidget.js +1 -3
- package/vscode/src/vs/workbench/contrib/notebook/browser/controller/cellOutputActions.js +39 -3
- package/vscode/src/vs/workbench/contrib/notebook/browser/controller/chat/notebookChatContext.js +2 -1
- package/vscode/src/vs/workbench/contrib/notebook/browser/controller/chat/notebookChatController.js +12 -11
- package/vscode/src/vs/workbench/contrib/notebook/browser/media/notebookCellChat.css.js +1 -1
- package/vscode/src/vs/workbench/contrib/notebook/browser/notebookAccessibilityProvider.js +1 -1
- package/vscode/src/vs/workbench/contrib/notebook/browser/notebookBrowser.js +3 -2
- package/vscode/src/vs/workbench/contrib/notebook/browser/notebookEditorWidget.js +40 -105
- package/vscode/src/vs/workbench/contrib/notebook/browser/notebookIcons.js +27 -26
- package/vscode/src/vs/workbench/contrib/notebook/browser/notebookOptions.js +14 -5
- package/vscode/src/vs/workbench/contrib/notebook/browser/view/cellParts/cellActionView.js +1 -1
- package/vscode/src/vs/workbench/contrib/notebook/browser/view/cellParts/cellComments.js +43 -46
- package/vscode/src/vs/workbench/contrib/notebook/browser/view/cellParts/cellDnd.js +1 -1
- package/vscode/src/vs/workbench/contrib/notebook/browser/view/cellParts/cellOutput.js +4 -4
- package/vscode/src/vs/workbench/contrib/notebook/browser/view/cellParts/cellStatusPart.js +12 -9
- package/vscode/src/vs/workbench/contrib/notebook/browser/view/cellParts/cellToolbars.js +19 -14
- package/vscode/src/vs/workbench/contrib/notebook/browser/view/cellParts/codeCell.js +2 -2
- package/vscode/src/vs/workbench/contrib/notebook/browser/view/cellParts/codeCellRunToolbar.js +9 -6
- package/vscode/src/vs/workbench/contrib/notebook/browser/view/cellParts/markupCell.js +1 -1
- package/vscode/src/vs/workbench/contrib/notebook/browser/view/renderers/backLayerWebView.js +5 -3
- package/vscode/src/vs/workbench/contrib/notebook/browser/view/renderers/cellRenderer.js +3 -3
- package/vscode/src/vs/workbench/contrib/notebook/browser/view/renderers/webviewPreloads.js +1 -1
- package/vscode/src/vs/workbench/contrib/notebook/browser/viewModel/baseCellViewModel.js +16 -6
- package/vscode/src/vs/workbench/contrib/notebook/browser/viewModel/codeCellViewModel.js +8 -8
- package/vscode/src/vs/workbench/contrib/notebook/browser/viewModel/notebookOutlineDataSourceFactory.service.js +3 -0
- package/vscode/src/vs/workbench/contrib/notebook/browser/viewModel/notebookViewModelImpl.js +11 -12
- package/vscode/src/vs/workbench/contrib/notebook/browser/viewParts/notebookEditorStickyScroll.js +12 -13
- package/vscode/src/vs/workbench/contrib/notebook/browser/viewParts/notebookEditorToolbar.js +1 -1
- package/vscode/src/vs/workbench/contrib/notebook/browser/viewParts/notebookTopCellToolbar.js +5 -3
- package/vscode/src/vs/workbench/contrib/notebook/common/notebookCommon.js +9 -2
- package/vscode/src/vs/workbench/contrib/notebook/common/notebookEditorInput.js +37 -36
- package/vscode/src/vs/workbench/contrib/notebook/common/notebookEditorModel.js +18 -8
- package/vscode/src/vs/workbench/contrib/preferences/browser/preferencesWidgets.js +1 -1
- package/vscode/src/vs/workbench/contrib/preferences/browser/settingsTreeModels.js +14 -5
- package/vscode/src/vs/workbench/contrib/preferences/common/settingsEditorColorRegistry.js +17 -22
- package/vscode/src/vs/workbench/contrib/remote/browser/media/tunnelView.css.js +1 -1
- package/vscode/src/vs/workbench/contrib/remote/browser/tunnelView.js +7 -10
- package/vscode/src/vs/workbench/contrib/scm/browser/dirtydiffDecorator.js +7 -27
- package/vscode/src/vs/workbench/contrib/search/browser/anythingQuickAccess.js +3 -4
- package/vscode/src/vs/workbench/contrib/search/browser/notebookSearch/notebookSearchService.js +2 -2
- package/vscode/src/vs/workbench/contrib/search/browser/searchActionsFind.js +4 -0
- package/vscode/src/vs/workbench/contrib/search/browser/searchModel.js +3 -3
- package/vscode/src/vs/workbench/contrib/terminal/browser/xterm/xtermTerminal.d.ts +3 -0
- package/vscode/src/vs/workbench/contrib/terminal/common/terminal.d.ts +0 -1
- package/vscode/src/vs/workbench/contrib/terminal/common/terminalColorRegistry.js +13 -37
- package/vscode/src/vs/workbench/contrib/testing/common/testCoverage.d.ts +88 -0
- package/vscode/src/vs/workbench/contrib/testing/common/testCoverage.js +48 -31
- package/vscode/src/vs/workbench/contrib/testing/common/testId.d.ts +115 -0
- package/vscode/src/vs/workbench/contrib/testing/common/testResult.d.ts +226 -0
- package/vscode/src/vs/workbench/contrib/testing/common/testTypes.d.ts +319 -0
- package/vscode/src/vs/workbench/contrib/testing/common/testTypes.js +2 -3
- package/vscode/src/vs/workbench/contrib/testing/common/testingStates.d.ts +10 -0
- package/vscode/src/vs/workbench/contrib/webview/browser/webviewWindowDragMonitor.js +21 -2
- package/vscode/src/vs/workbench/contrib/webviewPanel/browser/webviewIconManager.js +7 -8
- package/vscode/src/vs/workbench/services/authentication/browser/authenticationService.js +3 -3
- package/vscode/src/vs/workbench/services/authentication/common/authentication.d.ts +10 -5
- package/vscode/src/vs/workbench/services/editor/common/customEditorLabelService.js +54 -21
- package/vscode/src/vs/workbench/services/extensionManagement/common/extensionManagement.service.d.ts +1 -0
- package/vscode/src/vs/workbench/services/extensions/browser/extensionService.d.ts +1 -2
- package/vscode/src/vs/workbench/services/extensions/common/abstractExtensionService.d.ts +2 -4
- package/vscode/src/vs/workbench/services/extensions/common/extensions.js +5 -3
- package/vscode/src/vs/workbench/services/extensions/common/extensions.service.d.ts +3 -1
- package/vscode/src/vs/workbench/services/extensions/common/extensionsRegistry.js +59 -41
- package/vscode/src/vs/workbench/services/extensions/common/rpcProtocol.js +1 -1
- package/vscode/src/vs/workbench/services/filesConfiguration/common/filesConfigurationService.js +3 -2
- package/vscode/src/vs/workbench/services/host/browser/host.service.d.ts +1 -0
- package/vscode/src/vs/workbench/services/language/common/languageService.js +7 -0
- package/vscode/src/vs/workbench/services/layout/browser/layoutService.js +1 -1
- package/vscode/src/vs/workbench/services/preferences/common/preferences.d.ts +2 -2
- package/vscode/src/vs/workbench/services/search/common/search.js +2 -1
- package/vscode/src/vs/workbench/services/search/common/textSearchManager.js +2 -2
- package/vscode/src/vs/workbench/services/statusbar/browser/statusbar.d.ts +2 -2
- package/vscode/src/vs/workbench/services/textfile/common/encoding.js +69 -26
- package/vscode/src/vs/workbench/services/textfile/common/textFileEditorModel.js +23 -4
- package/vscode/src/vs/workbench/services/textfile/common/textfiles.d.ts +5 -1
- package/vscode/src/vs/workbench/services/userDataProfile/common/userDataProfileIcons.js +1 -1
- package/vscode/src/vs/workbench/services/views/browser/viewsService.js +12 -5
- package/vscode/src/vs/workbench/services/workingCopy/common/storedFileWorkingCopy.js +38 -19
- package/vscode/src/vs/workbench/services/workingCopy/common/workingCopyFileService.service.d.ts +2 -1
- package/vscode-dts/vscode.proposed.aiTextSearchProvider.d.ts +0 -196
- package/vscode-dts/vscode.proposed.attributableCoverage.d.ts +28 -10
- package/vscode-dts/vscode.proposed.authGetSessions.d.ts +30 -22
- package/vscode-dts/vscode.proposed.chatProvider.d.ts +17 -8
- package/vscode-dts/vscode.proposed.chatVariableResolver.d.ts +0 -9
- package/vscode-dts/vscode.proposed.commentReveal.d.ts +32 -0
- package/vscode-dts/vscode.proposed.commentThreadApplicability.d.ts +10 -0
- package/vscode-dts/vscode.proposed.createFileSystemWatcher.d.ts +1 -1
- package/vscode-dts/vscode.proposed.fileComments.d.ts +12 -53
- package/vscode-dts/vscode.proposed.fileSearchProvider.d.ts +6 -0
- package/vscode-dts/vscode.proposed.inlineCompletionsAdditions.d.ts +6 -0
- package/vscode-dts/vscode.proposed.lmTools.d.ts +91 -0
- package/vscode-dts/vscode.proposed.mappedEditsProvider.d.ts +1 -1
- package/vscode-dts/vscode.proposed.scmHistoryProvider.d.ts +10 -6
- package/vscode-dts/vscode.proposed.terminalShellIntegration.d.ts +38 -13
- package/vscode/src/vs/editor/browser/observableUtilities.js +0 -58
- package/vscode/src/vs/workbench/contrib/notebook/browser/viewModel/notebookOutlineProviderFactory.service.js +0 -3
- package/vscode/src/vs/workbench/services/extensions/common/extensionsApiProposals.js +0 -122
|
@@ -1692,6 +1692,20 @@ class EditorPixelRatio extends ComputedEditorOption {
|
|
|
1692
1692
|
return env.pixelRatio;
|
|
1693
1693
|
}
|
|
1694
1694
|
}
|
|
1695
|
+
class PlaceholderOption extends BaseEditorOption {
|
|
1696
|
+
constructor() {
|
|
1697
|
+
super(EditorOption.placeholder, 'placeholder', undefined);
|
|
1698
|
+
}
|
|
1699
|
+
validate(input) {
|
|
1700
|
+
if (typeof input === 'undefined') {
|
|
1701
|
+
return this.defaultValue;
|
|
1702
|
+
}
|
|
1703
|
+
if (typeof input === 'string') {
|
|
1704
|
+
return input;
|
|
1705
|
+
}
|
|
1706
|
+
return this.defaultValue;
|
|
1707
|
+
}
|
|
1708
|
+
}
|
|
1695
1709
|
class EditorQuickSuggestions extends BaseEditorOption {
|
|
1696
1710
|
constructor() {
|
|
1697
1711
|
const defaults = {
|
|
@@ -1731,8 +1745,8 @@ class EditorQuickSuggestions extends BaseEditorOption {
|
|
|
1731
1745
|
markdownDescription: ( localizeWithPath(
|
|
1732
1746
|
_moduleId,
|
|
1733
1747
|
92,
|
|
1734
|
-
"Controls whether suggestions should automatically show up while typing. This can be controlled for typing in comments, strings, and other code. Quick suggestion can be configured to show as ghost text or with the suggest widget. Also be aware of the
|
|
1735
|
-
`#editor.suggestOnTriggerCharacters#`
|
|
1748
|
+
"Controls whether suggestions should automatically show up while typing. This can be controlled for typing in comments, strings, and other code. Quick suggestion can be configured to show as ghost text or with the suggest widget. Also be aware of the {0}-setting which controls if suggestions are triggered by special characters.",
|
|
1749
|
+
'`#editor.suggestOnTriggerCharacters#`'
|
|
1736
1750
|
))
|
|
1737
1751
|
});
|
|
1738
1752
|
this.defaultValue = defaults;
|
|
@@ -2575,7 +2589,9 @@ class EditorSuggest extends BaseEditorOption {
|
|
|
2575
2589
|
markdownDescription: ( localizeWithPath(
|
|
2576
2590
|
_moduleId,
|
|
2577
2591
|
160,
|
|
2578
|
-
"Controls whether a suggestion is selected when the widget shows. Note that this only applies to automatically triggered suggestions (
|
|
2592
|
+
"Controls whether a suggestion is selected when the widget shows. Note that this only applies to automatically triggered suggestions ({0} and {1}) and that a suggestion is always selected when explicitly invoked, e.g via `Ctrl+Space`.",
|
|
2593
|
+
'`#editor.quickSuggestions#`',
|
|
2594
|
+
'`#editor.suggestOnTriggerCharacters#`'
|
|
2579
2595
|
))
|
|
2580
2596
|
},
|
|
2581
2597
|
'editor.suggest.snippetsPreventQuickSuggestions': {
|
|
@@ -3206,68 +3222,69 @@ var EditorOption;
|
|
|
3206
3222
|
EditorOption[EditorOption["pasteAs"] = 85] = "pasteAs";
|
|
3207
3223
|
EditorOption[EditorOption["parameterHints"] = 86] = "parameterHints";
|
|
3208
3224
|
EditorOption[EditorOption["peekWidgetDefaultFocus"] = 87] = "peekWidgetDefaultFocus";
|
|
3209
|
-
EditorOption[EditorOption["
|
|
3210
|
-
EditorOption[EditorOption["
|
|
3211
|
-
EditorOption[EditorOption["
|
|
3212
|
-
EditorOption[EditorOption["
|
|
3213
|
-
EditorOption[EditorOption["
|
|
3214
|
-
EditorOption[EditorOption["
|
|
3215
|
-
EditorOption[EditorOption["
|
|
3216
|
-
EditorOption[EditorOption["
|
|
3217
|
-
EditorOption[EditorOption["
|
|
3218
|
-
EditorOption[EditorOption["
|
|
3219
|
-
EditorOption[EditorOption["
|
|
3220
|
-
EditorOption[EditorOption["
|
|
3221
|
-
EditorOption[EditorOption["
|
|
3222
|
-
EditorOption[EditorOption["
|
|
3223
|
-
EditorOption[EditorOption["
|
|
3224
|
-
EditorOption[EditorOption["
|
|
3225
|
-
EditorOption[EditorOption["
|
|
3226
|
-
EditorOption[EditorOption["
|
|
3227
|
-
EditorOption[EditorOption["
|
|
3228
|
-
EditorOption[EditorOption["
|
|
3229
|
-
EditorOption[EditorOption["
|
|
3230
|
-
EditorOption[EditorOption["
|
|
3231
|
-
EditorOption[EditorOption["
|
|
3232
|
-
EditorOption[EditorOption["
|
|
3233
|
-
EditorOption[EditorOption["
|
|
3234
|
-
EditorOption[EditorOption["
|
|
3235
|
-
EditorOption[EditorOption["
|
|
3236
|
-
EditorOption[EditorOption["
|
|
3237
|
-
EditorOption[EditorOption["
|
|
3238
|
-
EditorOption[EditorOption["
|
|
3239
|
-
EditorOption[EditorOption["
|
|
3240
|
-
EditorOption[EditorOption["
|
|
3241
|
-
EditorOption[EditorOption["
|
|
3242
|
-
EditorOption[EditorOption["
|
|
3243
|
-
EditorOption[EditorOption["
|
|
3244
|
-
EditorOption[EditorOption["
|
|
3245
|
-
EditorOption[EditorOption["
|
|
3246
|
-
EditorOption[EditorOption["
|
|
3247
|
-
EditorOption[EditorOption["
|
|
3248
|
-
EditorOption[EditorOption["
|
|
3249
|
-
EditorOption[EditorOption["
|
|
3250
|
-
EditorOption[EditorOption["
|
|
3251
|
-
EditorOption[EditorOption["
|
|
3252
|
-
EditorOption[EditorOption["
|
|
3253
|
-
EditorOption[EditorOption["
|
|
3254
|
-
EditorOption[EditorOption["
|
|
3255
|
-
EditorOption[EditorOption["
|
|
3256
|
-
EditorOption[EditorOption["
|
|
3257
|
-
EditorOption[EditorOption["
|
|
3258
|
-
EditorOption[EditorOption["
|
|
3259
|
-
EditorOption[EditorOption["
|
|
3260
|
-
EditorOption[EditorOption["
|
|
3261
|
-
EditorOption[EditorOption["
|
|
3262
|
-
EditorOption[EditorOption["
|
|
3263
|
-
EditorOption[EditorOption["
|
|
3264
|
-
EditorOption[EditorOption["
|
|
3265
|
-
EditorOption[EditorOption["
|
|
3266
|
-
EditorOption[EditorOption["
|
|
3267
|
-
EditorOption[EditorOption["
|
|
3268
|
-
EditorOption[EditorOption["
|
|
3269
|
-
EditorOption[EditorOption["
|
|
3270
|
-
EditorOption[EditorOption["
|
|
3225
|
+
EditorOption[EditorOption["placeholder"] = 88] = "placeholder";
|
|
3226
|
+
EditorOption[EditorOption["definitionLinkOpensInPeek"] = 89] = "definitionLinkOpensInPeek";
|
|
3227
|
+
EditorOption[EditorOption["quickSuggestions"] = 90] = "quickSuggestions";
|
|
3228
|
+
EditorOption[EditorOption["quickSuggestionsDelay"] = 91] = "quickSuggestionsDelay";
|
|
3229
|
+
EditorOption[EditorOption["readOnly"] = 92] = "readOnly";
|
|
3230
|
+
EditorOption[EditorOption["readOnlyMessage"] = 93] = "readOnlyMessage";
|
|
3231
|
+
EditorOption[EditorOption["renameOnType"] = 94] = "renameOnType";
|
|
3232
|
+
EditorOption[EditorOption["renderControlCharacters"] = 95] = "renderControlCharacters";
|
|
3233
|
+
EditorOption[EditorOption["renderFinalNewline"] = 96] = "renderFinalNewline";
|
|
3234
|
+
EditorOption[EditorOption["renderLineHighlight"] = 97] = "renderLineHighlight";
|
|
3235
|
+
EditorOption[EditorOption["renderLineHighlightOnlyWhenFocus"] = 98] = "renderLineHighlightOnlyWhenFocus";
|
|
3236
|
+
EditorOption[EditorOption["renderValidationDecorations"] = 99] = "renderValidationDecorations";
|
|
3237
|
+
EditorOption[EditorOption["renderWhitespace"] = 100] = "renderWhitespace";
|
|
3238
|
+
EditorOption[EditorOption["revealHorizontalRightPadding"] = 101] = "revealHorizontalRightPadding";
|
|
3239
|
+
EditorOption[EditorOption["roundedSelection"] = 102] = "roundedSelection";
|
|
3240
|
+
EditorOption[EditorOption["rulers"] = 103] = "rulers";
|
|
3241
|
+
EditorOption[EditorOption["scrollbar"] = 104] = "scrollbar";
|
|
3242
|
+
EditorOption[EditorOption["scrollBeyondLastColumn"] = 105] = "scrollBeyondLastColumn";
|
|
3243
|
+
EditorOption[EditorOption["scrollBeyondLastLine"] = 106] = "scrollBeyondLastLine";
|
|
3244
|
+
EditorOption[EditorOption["scrollPredominantAxis"] = 107] = "scrollPredominantAxis";
|
|
3245
|
+
EditorOption[EditorOption["selectionClipboard"] = 108] = "selectionClipboard";
|
|
3246
|
+
EditorOption[EditorOption["selectionHighlight"] = 109] = "selectionHighlight";
|
|
3247
|
+
EditorOption[EditorOption["selectOnLineNumbers"] = 110] = "selectOnLineNumbers";
|
|
3248
|
+
EditorOption[EditorOption["showFoldingControls"] = 111] = "showFoldingControls";
|
|
3249
|
+
EditorOption[EditorOption["showUnused"] = 112] = "showUnused";
|
|
3250
|
+
EditorOption[EditorOption["snippetSuggestions"] = 113] = "snippetSuggestions";
|
|
3251
|
+
EditorOption[EditorOption["smartSelect"] = 114] = "smartSelect";
|
|
3252
|
+
EditorOption[EditorOption["smoothScrolling"] = 115] = "smoothScrolling";
|
|
3253
|
+
EditorOption[EditorOption["stickyScroll"] = 116] = "stickyScroll";
|
|
3254
|
+
EditorOption[EditorOption["stickyTabStops"] = 117] = "stickyTabStops";
|
|
3255
|
+
EditorOption[EditorOption["stopRenderingLineAfter"] = 118] = "stopRenderingLineAfter";
|
|
3256
|
+
EditorOption[EditorOption["suggest"] = 119] = "suggest";
|
|
3257
|
+
EditorOption[EditorOption["suggestFontSize"] = 120] = "suggestFontSize";
|
|
3258
|
+
EditorOption[EditorOption["suggestLineHeight"] = 121] = "suggestLineHeight";
|
|
3259
|
+
EditorOption[EditorOption["suggestOnTriggerCharacters"] = 122] = "suggestOnTriggerCharacters";
|
|
3260
|
+
EditorOption[EditorOption["suggestSelection"] = 123] = "suggestSelection";
|
|
3261
|
+
EditorOption[EditorOption["tabCompletion"] = 124] = "tabCompletion";
|
|
3262
|
+
EditorOption[EditorOption["tabIndex"] = 125] = "tabIndex";
|
|
3263
|
+
EditorOption[EditorOption["unicodeHighlighting"] = 126] = "unicodeHighlighting";
|
|
3264
|
+
EditorOption[EditorOption["unusualLineTerminators"] = 127] = "unusualLineTerminators";
|
|
3265
|
+
EditorOption[EditorOption["useShadowDOM"] = 128] = "useShadowDOM";
|
|
3266
|
+
EditorOption[EditorOption["useTabStops"] = 129] = "useTabStops";
|
|
3267
|
+
EditorOption[EditorOption["wordBreak"] = 130] = "wordBreak";
|
|
3268
|
+
EditorOption[EditorOption["wordSegmenterLocales"] = 131] = "wordSegmenterLocales";
|
|
3269
|
+
EditorOption[EditorOption["wordSeparators"] = 132] = "wordSeparators";
|
|
3270
|
+
EditorOption[EditorOption["wordWrap"] = 133] = "wordWrap";
|
|
3271
|
+
EditorOption[EditorOption["wordWrapBreakAfterCharacters"] = 134] = "wordWrapBreakAfterCharacters";
|
|
3272
|
+
EditorOption[EditorOption["wordWrapBreakBeforeCharacters"] = 135] = "wordWrapBreakBeforeCharacters";
|
|
3273
|
+
EditorOption[EditorOption["wordWrapColumn"] = 136] = "wordWrapColumn";
|
|
3274
|
+
EditorOption[EditorOption["wordWrapOverride1"] = 137] = "wordWrapOverride1";
|
|
3275
|
+
EditorOption[EditorOption["wordWrapOverride2"] = 138] = "wordWrapOverride2";
|
|
3276
|
+
EditorOption[EditorOption["wrappingIndent"] = 139] = "wrappingIndent";
|
|
3277
|
+
EditorOption[EditorOption["wrappingStrategy"] = 140] = "wrappingStrategy";
|
|
3278
|
+
EditorOption[EditorOption["showDeprecated"] = 141] = "showDeprecated";
|
|
3279
|
+
EditorOption[EditorOption["inlayHints"] = 142] = "inlayHints";
|
|
3280
|
+
EditorOption[EditorOption["editorClassName"] = 143] = "editorClassName";
|
|
3281
|
+
EditorOption[EditorOption["pixelRatio"] = 144] = "pixelRatio";
|
|
3282
|
+
EditorOption[EditorOption["tabFocusMode"] = 145] = "tabFocusMode";
|
|
3283
|
+
EditorOption[EditorOption["layoutInfo"] = 146] = "layoutInfo";
|
|
3284
|
+
EditorOption[EditorOption["wrappingInfo"] = 147] = "wrappingInfo";
|
|
3285
|
+
EditorOption[EditorOption["defaultColorDecorators"] = 148] = "defaultColorDecorators";
|
|
3286
|
+
EditorOption[EditorOption["colorDecoratorsActivatedOn"] = 149] = "colorDecoratorsActivatedOn";
|
|
3287
|
+
EditorOption[EditorOption["inlineCompletionsAccessibilityVerbose"] = 150] = "inlineCompletionsAccessibilityVerbose";
|
|
3271
3288
|
})(EditorOption || (EditorOption = {}))));
|
|
3272
3289
|
const EditorOptions = {
|
|
3273
3290
|
acceptSuggestionOnCommitCharacter: register(( (new EditorBooleanOption(
|
|
@@ -4039,6 +4056,7 @@ const EditorOptions = {
|
|
|
4039
4056
|
))
|
|
4040
4057
|
}
|
|
4041
4058
|
)))),
|
|
4059
|
+
placeholder: register(( (new PlaceholderOption()))),
|
|
4042
4060
|
definitionLinkOpensInPeek: register(( (new EditorBooleanOption(
|
|
4043
4061
|
EditorOption.definitionLinkOpensInPeek,
|
|
4044
4062
|
'definitionLinkOpensInPeek',
|
|
@@ -13,7 +13,7 @@ import '../../../platform/theme/common/colors/quickpickColors.js';
|
|
|
13
13
|
import '../../../platform/theme/common/colors/searchColors.js';
|
|
14
14
|
import { registerThemingParticipant } from '../../../platform/theme/common/themeService.js';
|
|
15
15
|
const _moduleId = "vs/editor/common/core/editorColorRegistry";
|
|
16
|
-
const editorLineHighlight = registerColor('editor.lineHighlightBackground',
|
|
16
|
+
const editorLineHighlight = registerColor('editor.lineHighlightBackground', null, ( localizeWithPath(
|
|
17
17
|
_moduleId,
|
|
18
18
|
0,
|
|
19
19
|
'Background color for the highlight of line at the cursor position.'
|
|
@@ -41,57 +41,57 @@ const editorCursorBackground = registerColor('editorCursor.background', null, (
|
|
|
41
41
|
7,
|
|
42
42
|
'The background color of the editor cursor. Allows customizing the color of a character overlapped by a block cursor.'
|
|
43
43
|
)));
|
|
44
|
-
const editorMultiCursorPrimaryForeground = registerColor('editorMultiCursor.primary.foreground',
|
|
44
|
+
const editorMultiCursorPrimaryForeground = registerColor('editorMultiCursor.primary.foreground', editorCursorForeground, ( localizeWithPath(
|
|
45
45
|
_moduleId,
|
|
46
46
|
8,
|
|
47
47
|
'Color of the primary editor cursor when multiple cursors are present.'
|
|
48
48
|
)));
|
|
49
|
-
const editorMultiCursorPrimaryBackground = registerColor('editorMultiCursor.primary.background',
|
|
49
|
+
const editorMultiCursorPrimaryBackground = registerColor('editorMultiCursor.primary.background', editorCursorBackground, ( localizeWithPath(
|
|
50
50
|
_moduleId,
|
|
51
51
|
9,
|
|
52
52
|
'The background color of the primary editor cursor when multiple cursors are present. Allows customizing the color of a character overlapped by a block cursor.'
|
|
53
53
|
)));
|
|
54
|
-
const editorMultiCursorSecondaryForeground = registerColor('editorMultiCursor.secondary.foreground',
|
|
54
|
+
const editorMultiCursorSecondaryForeground = registerColor('editorMultiCursor.secondary.foreground', editorCursorForeground, ( localizeWithPath(
|
|
55
55
|
_moduleId,
|
|
56
56
|
10,
|
|
57
57
|
'Color of secondary editor cursors when multiple cursors are present.'
|
|
58
58
|
)));
|
|
59
|
-
const editorMultiCursorSecondaryBackground = registerColor('editorMultiCursor.secondary.background',
|
|
59
|
+
const editorMultiCursorSecondaryBackground = registerColor('editorMultiCursor.secondary.background', editorCursorBackground, ( localizeWithPath(
|
|
60
60
|
_moduleId,
|
|
61
61
|
11,
|
|
62
62
|
'The background color of secondary editor cursors when multiple cursors are present. Allows customizing the color of a character overlapped by a block cursor.'
|
|
63
63
|
)));
|
|
64
64
|
const editorWhitespaces = registerColor('editorWhitespace.foreground', { dark: '#e3e4e229', light: '#33333333', hcDark: '#e3e4e229', hcLight: '#CCCCCC' }, ( localizeWithPath(_moduleId, 12, 'Color of whitespace characters in the editor.')));
|
|
65
65
|
const editorLineNumbers = registerColor('editorLineNumber.foreground', { dark: '#858585', light: '#237893', hcDark: Color.white, hcLight: '#292929' }, ( localizeWithPath(_moduleId, 13, 'Color of editor line numbers.')));
|
|
66
|
-
const deprecatedEditorIndentGuides = registerColor('editorIndentGuide.background',
|
|
66
|
+
const deprecatedEditorIndentGuides = registerColor('editorIndentGuide.background', editorWhitespaces, ( localizeWithPath(_moduleId, 14, 'Color of the editor indentation guides.')), false, ( localizeWithPath(
|
|
67
67
|
_moduleId,
|
|
68
68
|
15,
|
|
69
69
|
'\'editorIndentGuide.background\' is deprecated. Use \'editorIndentGuide.background1\' instead.'
|
|
70
70
|
)));
|
|
71
|
-
const deprecatedEditorActiveIndentGuides = registerColor('editorIndentGuide.activeBackground',
|
|
71
|
+
const deprecatedEditorActiveIndentGuides = registerColor('editorIndentGuide.activeBackground', editorWhitespaces, ( localizeWithPath(_moduleId, 16, 'Color of the active editor indentation guides.')), false, ( localizeWithPath(
|
|
72
72
|
_moduleId,
|
|
73
73
|
17,
|
|
74
74
|
'\'editorIndentGuide.activeBackground\' is deprecated. Use \'editorIndentGuide.activeBackground1\' instead.'
|
|
75
75
|
)));
|
|
76
|
-
const editorIndentGuide1 = registerColor('editorIndentGuide.background1',
|
|
77
|
-
const editorIndentGuide2 = registerColor('editorIndentGuide.background2',
|
|
78
|
-
const editorIndentGuide3 = registerColor('editorIndentGuide.background3',
|
|
79
|
-
const editorIndentGuide4 = registerColor('editorIndentGuide.background4',
|
|
80
|
-
const editorIndentGuide5 = registerColor('editorIndentGuide.background5',
|
|
81
|
-
const editorIndentGuide6 = registerColor('editorIndentGuide.background6',
|
|
82
|
-
const editorActiveIndentGuide1 = registerColor('editorIndentGuide.activeBackground1',
|
|
83
|
-
const editorActiveIndentGuide2 = registerColor('editorIndentGuide.activeBackground2',
|
|
84
|
-
const editorActiveIndentGuide3 = registerColor('editorIndentGuide.activeBackground3',
|
|
85
|
-
const editorActiveIndentGuide4 = registerColor('editorIndentGuide.activeBackground4',
|
|
86
|
-
const editorActiveIndentGuide5 = registerColor('editorIndentGuide.activeBackground5',
|
|
87
|
-
const editorActiveIndentGuide6 = registerColor('editorIndentGuide.activeBackground6',
|
|
76
|
+
const editorIndentGuide1 = registerColor('editorIndentGuide.background1', deprecatedEditorIndentGuides, ( localizeWithPath(_moduleId, 18, 'Color of the editor indentation guides (1).')));
|
|
77
|
+
const editorIndentGuide2 = registerColor('editorIndentGuide.background2', '#00000000', ( localizeWithPath(_moduleId, 19, 'Color of the editor indentation guides (2).')));
|
|
78
|
+
const editorIndentGuide3 = registerColor('editorIndentGuide.background3', '#00000000', ( localizeWithPath(_moduleId, 20, 'Color of the editor indentation guides (3).')));
|
|
79
|
+
const editorIndentGuide4 = registerColor('editorIndentGuide.background4', '#00000000', ( localizeWithPath(_moduleId, 21, 'Color of the editor indentation guides (4).')));
|
|
80
|
+
const editorIndentGuide5 = registerColor('editorIndentGuide.background5', '#00000000', ( localizeWithPath(_moduleId, 22, 'Color of the editor indentation guides (5).')));
|
|
81
|
+
const editorIndentGuide6 = registerColor('editorIndentGuide.background6', '#00000000', ( localizeWithPath(_moduleId, 23, 'Color of the editor indentation guides (6).')));
|
|
82
|
+
const editorActiveIndentGuide1 = registerColor('editorIndentGuide.activeBackground1', deprecatedEditorActiveIndentGuides, ( localizeWithPath(_moduleId, 24, 'Color of the active editor indentation guides (1).')));
|
|
83
|
+
const editorActiveIndentGuide2 = registerColor('editorIndentGuide.activeBackground2', '#00000000', ( localizeWithPath(_moduleId, 25, 'Color of the active editor indentation guides (2).')));
|
|
84
|
+
const editorActiveIndentGuide3 = registerColor('editorIndentGuide.activeBackground3', '#00000000', ( localizeWithPath(_moduleId, 26, 'Color of the active editor indentation guides (3).')));
|
|
85
|
+
const editorActiveIndentGuide4 = registerColor('editorIndentGuide.activeBackground4', '#00000000', ( localizeWithPath(_moduleId, 27, 'Color of the active editor indentation guides (4).')));
|
|
86
|
+
const editorActiveIndentGuide5 = registerColor('editorIndentGuide.activeBackground5', '#00000000', ( localizeWithPath(_moduleId, 28, 'Color of the active editor indentation guides (5).')));
|
|
87
|
+
const editorActiveIndentGuide6 = registerColor('editorIndentGuide.activeBackground6', '#00000000', ( localizeWithPath(_moduleId, 29, 'Color of the active editor indentation guides (6).')));
|
|
88
88
|
const deprecatedEditorActiveLineNumber = registerColor('editorActiveLineNumber.foreground', { dark: '#c6c6c6', light: '#0B216F', hcDark: activeContrastBorder, hcLight: activeContrastBorder }, ( localizeWithPath(_moduleId, 30, 'Color of editor active line number')), false, ( localizeWithPath(
|
|
89
89
|
_moduleId,
|
|
90
90
|
31,
|
|
91
91
|
'Id is deprecated. Use \'editorLineNumber.activeForeground\' instead.'
|
|
92
92
|
)));
|
|
93
|
-
registerColor('editorLineNumber.activeForeground',
|
|
94
|
-
const editorDimmedLineNumber = registerColor('editorLineNumber.dimmedForeground',
|
|
93
|
+
registerColor('editorLineNumber.activeForeground', deprecatedEditorActiveLineNumber, ( localizeWithPath(_moduleId, 30, 'Color of editor active line number')));
|
|
94
|
+
const editorDimmedLineNumber = registerColor('editorLineNumber.dimmedForeground', null, ( localizeWithPath(
|
|
95
95
|
_moduleId,
|
|
96
96
|
32,
|
|
97
97
|
'Color of the final editor line when editor.renderFinalNewline is set to dimmed.'
|
|
@@ -102,7 +102,7 @@ registerColor('editorBracketMatch.background', { dark: '#0064001a', light: '#006
|
|
|
102
102
|
registerColor('editorBracketMatch.border', { dark: '#888', light: '#B9B9B9', hcDark: contrastBorder, hcLight: contrastBorder }, ( localizeWithPath(_moduleId, 36, 'Color for matching brackets boxes')));
|
|
103
103
|
const editorOverviewRulerBorder = registerColor('editorOverviewRuler.border', { dark: '#7f7f7f4d', light: '#7f7f7f4d', hcDark: '#7f7f7f4d', hcLight: '#666666' }, ( localizeWithPath(_moduleId, 37, 'Color of the overview ruler border.')));
|
|
104
104
|
const editorOverviewRulerBackground = registerColor('editorOverviewRuler.background', null, ( localizeWithPath(_moduleId, 38, 'Background color of the editor overview ruler.')));
|
|
105
|
-
registerColor('editorGutter.background',
|
|
105
|
+
registerColor('editorGutter.background', editorBackground, ( localizeWithPath(
|
|
106
106
|
_moduleId,
|
|
107
107
|
39,
|
|
108
108
|
'Background color of the editor gutter. The gutter contains the glyph margins and the line numbers.'
|
|
@@ -118,10 +118,10 @@ const editorUnnecessaryCodeOpacity = registerColor('editorUnnecessaryCode.opacit
|
|
|
118
118
|
'Opacity of unnecessary (unused) source code in the editor. For example, "#000000c0" will render the code with 75% opacity. For high contrast themes, use the \'editorUnnecessaryCode.border\' theme color to underline unnecessary code instead of fading it out.'
|
|
119
119
|
)));
|
|
120
120
|
registerColor('editorGhostText.border', { dark: null, light: null, hcDark: ( (( (Color.fromHex('#fff'))).transparent(0.8))), hcLight: ( (( (Color.fromHex('#292929'))).transparent(0.8))) }, ( localizeWithPath(_moduleId, 42, 'Border color of ghost text in the editor.')));
|
|
121
|
-
registerColor('editorGhostText.foreground', { dark: ( (Color.fromHex('#ffffff56'))), light: ( (Color.fromHex('#0007'))), hcDark: null, hcLight: null }, ( localizeWithPath(_moduleId, 43, 'Foreground color of the ghost text in the editor.')));
|
|
122
|
-
registerColor('editorGhostText.background',
|
|
121
|
+
const ghostTextForeground = registerColor('editorGhostText.foreground', { dark: ( (Color.fromHex('#ffffff56'))), light: ( (Color.fromHex('#0007'))), hcDark: null, hcLight: null }, ( localizeWithPath(_moduleId, 43, 'Foreground color of the ghost text in the editor.')));
|
|
122
|
+
registerColor('editorGhostText.background', null, ( localizeWithPath(_moduleId, 44, 'Background color of the ghost text in the editor.')));
|
|
123
123
|
const rulerRangeDefault = ( (new Color( (new RGBA(0, 122, 204, 0.6)))));
|
|
124
|
-
const overviewRulerRangeHighlight = registerColor('editorOverviewRuler.rangeHighlightForeground',
|
|
124
|
+
const overviewRulerRangeHighlight = registerColor('editorOverviewRuler.rangeHighlightForeground', rulerRangeDefault, ( localizeWithPath(
|
|
125
125
|
_moduleId,
|
|
126
126
|
45,
|
|
127
127
|
'Overview ruler marker color for range highlights. The color must not be opaque so as not to hide underlying decorations.'
|
|
@@ -144,84 +144,84 @@ const editorBracketHighlightingForeground3 = registerColor('editorBracketHighlig
|
|
|
144
144
|
51,
|
|
145
145
|
'Foreground color of brackets (3). Requires enabling bracket pair colorization.'
|
|
146
146
|
)));
|
|
147
|
-
const editorBracketHighlightingForeground4 = registerColor('editorBracketHighlight.foreground4',
|
|
147
|
+
const editorBracketHighlightingForeground4 = registerColor('editorBracketHighlight.foreground4', '#00000000', ( localizeWithPath(
|
|
148
148
|
_moduleId,
|
|
149
149
|
52,
|
|
150
150
|
'Foreground color of brackets (4). Requires enabling bracket pair colorization.'
|
|
151
151
|
)));
|
|
152
|
-
const editorBracketHighlightingForeground5 = registerColor('editorBracketHighlight.foreground5',
|
|
152
|
+
const editorBracketHighlightingForeground5 = registerColor('editorBracketHighlight.foreground5', '#00000000', ( localizeWithPath(
|
|
153
153
|
_moduleId,
|
|
154
154
|
53,
|
|
155
155
|
'Foreground color of brackets (5). Requires enabling bracket pair colorization.'
|
|
156
156
|
)));
|
|
157
|
-
const editorBracketHighlightingForeground6 = registerColor('editorBracketHighlight.foreground6',
|
|
157
|
+
const editorBracketHighlightingForeground6 = registerColor('editorBracketHighlight.foreground6', '#00000000', ( localizeWithPath(
|
|
158
158
|
_moduleId,
|
|
159
159
|
54,
|
|
160
160
|
'Foreground color of brackets (6). Requires enabling bracket pair colorization.'
|
|
161
161
|
)));
|
|
162
162
|
const editorBracketHighlightingUnexpectedBracketForeground = registerColor('editorBracketHighlight.unexpectedBracket.foreground', { dark: ( (new Color( (new RGBA(255, 18, 18, 0.8))))), light: ( (new Color( (new RGBA(255, 18, 18, 0.8))))), hcDark: ( (new Color( (new RGBA(255, 50, 50, 1))))), hcLight: '' }, ( localizeWithPath(_moduleId, 55, 'Foreground color of unexpected brackets.')));
|
|
163
|
-
const editorBracketPairGuideBackground1 = registerColor('editorBracketPairGuide.background1',
|
|
163
|
+
const editorBracketPairGuideBackground1 = registerColor('editorBracketPairGuide.background1', '#00000000', ( localizeWithPath(
|
|
164
164
|
_moduleId,
|
|
165
165
|
56,
|
|
166
166
|
'Background color of inactive bracket pair guides (1). Requires enabling bracket pair guides.'
|
|
167
167
|
)));
|
|
168
|
-
const editorBracketPairGuideBackground2 = registerColor('editorBracketPairGuide.background2',
|
|
168
|
+
const editorBracketPairGuideBackground2 = registerColor('editorBracketPairGuide.background2', '#00000000', ( localizeWithPath(
|
|
169
169
|
_moduleId,
|
|
170
170
|
57,
|
|
171
171
|
'Background color of inactive bracket pair guides (2). Requires enabling bracket pair guides.'
|
|
172
172
|
)));
|
|
173
|
-
const editorBracketPairGuideBackground3 = registerColor('editorBracketPairGuide.background3',
|
|
173
|
+
const editorBracketPairGuideBackground3 = registerColor('editorBracketPairGuide.background3', '#00000000', ( localizeWithPath(
|
|
174
174
|
_moduleId,
|
|
175
175
|
58,
|
|
176
176
|
'Background color of inactive bracket pair guides (3). Requires enabling bracket pair guides.'
|
|
177
177
|
)));
|
|
178
|
-
const editorBracketPairGuideBackground4 = registerColor('editorBracketPairGuide.background4',
|
|
178
|
+
const editorBracketPairGuideBackground4 = registerColor('editorBracketPairGuide.background4', '#00000000', ( localizeWithPath(
|
|
179
179
|
_moduleId,
|
|
180
180
|
59,
|
|
181
181
|
'Background color of inactive bracket pair guides (4). Requires enabling bracket pair guides.'
|
|
182
182
|
)));
|
|
183
|
-
const editorBracketPairGuideBackground5 = registerColor('editorBracketPairGuide.background5',
|
|
183
|
+
const editorBracketPairGuideBackground5 = registerColor('editorBracketPairGuide.background5', '#00000000', ( localizeWithPath(
|
|
184
184
|
_moduleId,
|
|
185
185
|
60,
|
|
186
186
|
'Background color of inactive bracket pair guides (5). Requires enabling bracket pair guides.'
|
|
187
187
|
)));
|
|
188
|
-
const editorBracketPairGuideBackground6 = registerColor('editorBracketPairGuide.background6',
|
|
188
|
+
const editorBracketPairGuideBackground6 = registerColor('editorBracketPairGuide.background6', '#00000000', ( localizeWithPath(
|
|
189
189
|
_moduleId,
|
|
190
190
|
61,
|
|
191
191
|
'Background color of inactive bracket pair guides (6). Requires enabling bracket pair guides.'
|
|
192
192
|
)));
|
|
193
|
-
const editorBracketPairGuideActiveBackground1 = registerColor('editorBracketPairGuide.activeBackground1',
|
|
193
|
+
const editorBracketPairGuideActiveBackground1 = registerColor('editorBracketPairGuide.activeBackground1', '#00000000', ( localizeWithPath(
|
|
194
194
|
_moduleId,
|
|
195
195
|
62,
|
|
196
196
|
'Background color of active bracket pair guides (1). Requires enabling bracket pair guides.'
|
|
197
197
|
)));
|
|
198
|
-
const editorBracketPairGuideActiveBackground2 = registerColor('editorBracketPairGuide.activeBackground2',
|
|
198
|
+
const editorBracketPairGuideActiveBackground2 = registerColor('editorBracketPairGuide.activeBackground2', '#00000000', ( localizeWithPath(
|
|
199
199
|
_moduleId,
|
|
200
200
|
63,
|
|
201
201
|
'Background color of active bracket pair guides (2). Requires enabling bracket pair guides.'
|
|
202
202
|
)));
|
|
203
|
-
const editorBracketPairGuideActiveBackground3 = registerColor('editorBracketPairGuide.activeBackground3',
|
|
203
|
+
const editorBracketPairGuideActiveBackground3 = registerColor('editorBracketPairGuide.activeBackground3', '#00000000', ( localizeWithPath(
|
|
204
204
|
_moduleId,
|
|
205
205
|
64,
|
|
206
206
|
'Background color of active bracket pair guides (3). Requires enabling bracket pair guides.'
|
|
207
207
|
)));
|
|
208
|
-
const editorBracketPairGuideActiveBackground4 = registerColor('editorBracketPairGuide.activeBackground4',
|
|
208
|
+
const editorBracketPairGuideActiveBackground4 = registerColor('editorBracketPairGuide.activeBackground4', '#00000000', ( localizeWithPath(
|
|
209
209
|
_moduleId,
|
|
210
210
|
65,
|
|
211
211
|
'Background color of active bracket pair guides (4). Requires enabling bracket pair guides.'
|
|
212
212
|
)));
|
|
213
|
-
const editorBracketPairGuideActiveBackground5 = registerColor('editorBracketPairGuide.activeBackground5',
|
|
213
|
+
const editorBracketPairGuideActiveBackground5 = registerColor('editorBracketPairGuide.activeBackground5', '#00000000', ( localizeWithPath(
|
|
214
214
|
_moduleId,
|
|
215
215
|
66,
|
|
216
216
|
'Background color of active bracket pair guides (5). Requires enabling bracket pair guides.'
|
|
217
217
|
)));
|
|
218
|
-
const editorBracketPairGuideActiveBackground6 = registerColor('editorBracketPairGuide.activeBackground6',
|
|
218
|
+
const editorBracketPairGuideActiveBackground6 = registerColor('editorBracketPairGuide.activeBackground6', '#00000000', ( localizeWithPath(
|
|
219
219
|
_moduleId,
|
|
220
220
|
67,
|
|
221
221
|
'Background color of active bracket pair guides (6). Requires enabling bracket pair guides.'
|
|
222
222
|
)));
|
|
223
|
-
registerColor('editorUnicodeHighlight.border',
|
|
224
|
-
registerColor('editorUnicodeHighlight.background',
|
|
223
|
+
registerColor('editorUnicodeHighlight.border', editorWarningForeground, ( localizeWithPath(_moduleId, 68, 'Border color used to highlight unicode characters.')));
|
|
224
|
+
registerColor('editorUnicodeHighlight.background', editorWarningBackground, ( localizeWithPath(_moduleId, 69, 'Background color used to highlight unicode characters.')));
|
|
225
225
|
registerThemingParticipant((theme, collector) => {
|
|
226
226
|
const background = theme.getColor(editorBackground);
|
|
227
227
|
const lineHighlight = theme.getColor(editorLineHighlight);
|
|
@@ -230,4 +230,4 @@ registerThemingParticipant((theme, collector) => {
|
|
|
230
230
|
collector.addRule(`.monaco-editor .inputarea.ime-input { background-color: ${imeBackground}; }`);
|
|
231
231
|
}
|
|
232
232
|
});
|
|
233
|
-
export { deprecatedEditorActiveIndentGuides, deprecatedEditorIndentGuides, editorActiveIndentGuide1, editorActiveIndentGuide2, editorActiveIndentGuide3, editorActiveIndentGuide4, editorActiveIndentGuide5, editorActiveIndentGuide6, editorBracketHighlightingForeground1, editorBracketHighlightingForeground2, editorBracketHighlightingForeground3, editorBracketHighlightingForeground4, editorBracketHighlightingForeground5, editorBracketHighlightingForeground6, editorBracketHighlightingUnexpectedBracketForeground, editorBracketPairGuideActiveBackground1, editorBracketPairGuideActiveBackground2, editorBracketPairGuideActiveBackground3, editorBracketPairGuideActiveBackground4, editorBracketPairGuideActiveBackground5, editorBracketPairGuideActiveBackground6, editorBracketPairGuideBackground1, editorBracketPairGuideBackground2, editorBracketPairGuideBackground3, editorBracketPairGuideBackground4, editorBracketPairGuideBackground5, editorBracketPairGuideBackground6, editorCursorBackground, editorCursorForeground, editorDimmedLineNumber, editorIndentGuide1, editorIndentGuide2, editorIndentGuide3, editorIndentGuide4, editorIndentGuide5, editorIndentGuide6, editorLineHighlight, editorLineHighlightBorder, editorLineNumbers, editorMultiCursorPrimaryBackground, editorMultiCursorPrimaryForeground, editorMultiCursorSecondaryBackground, editorMultiCursorSecondaryForeground, editorOverviewRulerBackground, editorOverviewRulerBorder, editorRangeHighlight, editorUnnecessaryCodeOpacity, editorWhitespaces, overviewRulerError, overviewRulerInfo, overviewRulerRangeHighlight, overviewRulerWarning };
|
|
233
|
+
export { deprecatedEditorActiveIndentGuides, deprecatedEditorIndentGuides, editorActiveIndentGuide1, editorActiveIndentGuide2, editorActiveIndentGuide3, editorActiveIndentGuide4, editorActiveIndentGuide5, editorActiveIndentGuide6, editorBracketHighlightingForeground1, editorBracketHighlightingForeground2, editorBracketHighlightingForeground3, editorBracketHighlightingForeground4, editorBracketHighlightingForeground5, editorBracketHighlightingForeground6, editorBracketHighlightingUnexpectedBracketForeground, editorBracketPairGuideActiveBackground1, editorBracketPairGuideActiveBackground2, editorBracketPairGuideActiveBackground3, editorBracketPairGuideActiveBackground4, editorBracketPairGuideActiveBackground5, editorBracketPairGuideActiveBackground6, editorBracketPairGuideBackground1, editorBracketPairGuideBackground2, editorBracketPairGuideBackground3, editorBracketPairGuideBackground4, editorBracketPairGuideBackground5, editorBracketPairGuideBackground6, editorCursorBackground, editorCursorForeground, editorDimmedLineNumber, editorIndentGuide1, editorIndentGuide2, editorIndentGuide3, editorIndentGuide4, editorIndentGuide5, editorIndentGuide6, editorLineHighlight, editorLineHighlightBorder, editorLineNumbers, editorMultiCursorPrimaryBackground, editorMultiCursorPrimaryForeground, editorMultiCursorSecondaryBackground, editorMultiCursorSecondaryForeground, editorOverviewRulerBackground, editorOverviewRulerBorder, editorRangeHighlight, editorUnnecessaryCodeOpacity, editorWhitespaces, ghostTextForeground, overviewRulerError, overviewRulerInfo, overviewRulerRangeHighlight, overviewRulerWarning };
|
|
@@ -5,7 +5,8 @@ import { EditOperationType, CursorState, EditOperationResult } from '../cursorCo
|
|
|
5
5
|
import { CursorContext } from './cursorContext.js';
|
|
6
6
|
import { DeleteOperations } from './cursorDeleteOperations.js';
|
|
7
7
|
import { CursorChangeReason } from '../cursorEvents.js';
|
|
8
|
-
import { TypeOperations, CompositionOutcome
|
|
8
|
+
import { TypeOperations, CompositionOutcome } from './cursorTypeOperations.js';
|
|
9
|
+
import { BaseTypeWithAutoClosingCommand } from './cursorTypeEditOperations.js';
|
|
9
10
|
import { Range } from '../core/range.js';
|
|
10
11
|
import { SelectionDirection, Selection } from '../core/selection.js';
|
|
11
12
|
import { ScrollType } from '../editorCommon.js';
|
|
@@ -291,7 +292,7 @@ class CursorsController extends Disposable {
|
|
|
291
292
|
const autoClosedEnclosingRanges = [];
|
|
292
293
|
for (let i = 0; i < opResult.commands.length; i++) {
|
|
293
294
|
const command = opResult.commands[i];
|
|
294
|
-
if (command instanceof
|
|
295
|
+
if (command instanceof BaseTypeWithAutoClosingCommand && command.enclosingRange && command.closeCharacterRange) {
|
|
295
296
|
autoClosedCharactersRanges.push(command.closeCharacterRange);
|
|
296
297
|
autoClosedEnclosingRanges.push(command.enclosingRange);
|
|
297
298
|
}
|