monaco-editor-core 0.54.0-dev-20250910 → 0.54.0-dev-20250912
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/esm/nls.keys.json +1 -1
- package/esm/nls.messages.de.js +2 -2
- package/esm/nls.messages.es.js +2 -2
- package/esm/nls.messages.fr.js +2 -2
- package/esm/nls.messages.it.js +2 -2
- package/esm/nls.messages.ja.js +2 -2
- package/esm/nls.messages.js +1 -1
- package/esm/nls.messages.json +1 -1
- package/esm/nls.messages.ko.js +2 -2
- package/esm/nls.messages.ru.js +2 -2
- package/esm/nls.messages.zh-cn.js +2 -2
- package/esm/nls.messages.zh-tw.js +2 -2
- package/esm/nls.metadata.json +8 -2
- package/esm/vs/base/browser/domSanitize.js +32 -21
- package/esm/vs/base/browser/domSanitize.js.map +1 -1
- package/esm/vs/base/browser/ui/codicons/codicon/codicon.ttf +0 -0
- package/esm/vs/base/browser/ui/menu/menu.js +2 -0
- package/esm/vs/base/browser/ui/menu/menu.js.map +1 -1
- package/esm/vs/base/common/codiconsLibrary.js +2 -0
- package/esm/vs/base/common/codiconsLibrary.js.map +1 -1
- package/esm/vs/base/common/observableInternal/index.js +3 -0
- package/esm/vs/base/common/observableInternal/index.js.map +1 -1
- package/esm/vs/base/common/observableInternal/logging/debugGetDependencyGraph.js +71 -0
- package/esm/vs/base/common/observableInternal/logging/debugGetDependencyGraph.js.map +1 -0
- package/esm/vs/base/common/observableInternal/observables/baseObservable.js +4 -0
- package/esm/vs/base/common/observableInternal/observables/baseObservable.js.map +1 -1
- package/esm/vs/base/common/observableInternal/observables/derivedImpl.js +10 -0
- package/esm/vs/base/common/observableInternal/observables/derivedImpl.js.map +1 -1
- package/esm/vs/base/common/observableInternal/observables/observableFromEvent.js +3 -0
- package/esm/vs/base/common/observableInternal/observables/observableFromEvent.js.map +1 -1
- package/esm/vs/base/common/observableInternal/reactions/autorunImpl.js +9 -0
- package/esm/vs/base/common/observableInternal/reactions/autorunImpl.js.map +1 -1
- package/esm/vs/editor/browser/config/editorConfiguration.js +1 -1
- package/esm/vs/editor/browser/controller/dragScrolling.js +4 -4
- package/esm/vs/editor/browser/controller/editContext/native/nativeEditContext.js +3 -3
- package/esm/vs/editor/browser/controller/editContext/native/screenReaderContentRich.js +3 -3
- package/esm/vs/editor/browser/controller/editContext/native/screenReaderSupport.js +6 -6
- package/esm/vs/editor/browser/controller/editContext/textArea/textAreaEditContext.js +9 -9
- package/esm/vs/editor/browser/controller/mouseHandler.js +6 -6
- package/esm/vs/editor/browser/controller/mouseTarget.js +3 -3
- package/esm/vs/editor/browser/coreCommands.js +2 -2
- package/esm/vs/editor/browser/gpu/rectangleRenderer.js +1 -1
- package/esm/vs/editor/browser/gpu/viewGpuContext.js +1 -1
- package/esm/vs/editor/browser/observableCodeEditor.js +1 -1
- package/esm/vs/editor/browser/view/viewController.js +2 -2
- package/esm/vs/editor/browser/view/viewLayer.js +1 -1
- package/esm/vs/editor/browser/view/viewOverlays.js +4 -4
- package/esm/vs/editor/browser/view.js +5 -5
- package/esm/vs/editor/browser/viewParts/blockDecorations/blockDecorations.js +1 -1
- package/esm/vs/editor/browser/viewParts/contentWidgets/contentWidgets.js +3 -3
- package/esm/vs/editor/browser/viewParts/currentLineHighlight/currentLineHighlight.js +6 -6
- package/esm/vs/editor/browser/viewParts/editorScrollbar/editorScrollbar.js +8 -8
- package/esm/vs/editor/browser/viewParts/glyphMargin/glyphMargin.js +2 -2
- package/esm/vs/editor/browser/viewParts/indentGuides/indentGuides.js +2 -2
- package/esm/vs/editor/browser/viewParts/lineNumbers/lineNumbers.js +2 -2
- package/esm/vs/editor/browser/viewParts/linesDecorations/linesDecorations.js +2 -2
- package/esm/vs/editor/browser/viewParts/margin/margin.js +2 -2
- package/esm/vs/editor/browser/viewParts/minimap/minimap.js +5 -5
- package/esm/vs/editor/browser/viewParts/overlayWidgets/overlayWidgets.js +2 -2
- package/esm/vs/editor/browser/viewParts/overviewRuler/decorationsOverviewRuler.js +4 -4
- package/esm/vs/editor/browser/viewParts/overviewRuler/overviewRuler.js +3 -3
- package/esm/vs/editor/browser/viewParts/rulers/rulers.js +2 -2
- package/esm/vs/editor/browser/viewParts/rulersGpu/rulersGpu.js +1 -1
- package/esm/vs/editor/browser/viewParts/scrollDecoration/scrollDecoration.js +3 -3
- package/esm/vs/editor/browser/viewParts/selections/selections.js +2 -2
- package/esm/vs/editor/browser/viewParts/viewCursors/viewCursor.js +2 -2
- package/esm/vs/editor/browser/viewParts/viewCursors/viewCursors.js +6 -6
- package/esm/vs/editor/browser/viewParts/viewLines/viewLineOptions.js +4 -4
- package/esm/vs/editor/browser/viewParts/viewLines/viewLines.js +11 -11
- package/esm/vs/editor/browser/viewParts/viewLinesGpu/viewLinesGpu.js +1 -1
- package/esm/vs/editor/browser/viewParts/viewZones/viewZones.js +2 -2
- package/esm/vs/editor/browser/viewParts/whitespace/whitespace.js +4 -4
- package/esm/vs/editor/browser/widget/codeEditor/codeEditorWidget.js +12 -12
- package/esm/vs/editor/browser/widget/diffEditor/commands.js +12 -1
- package/esm/vs/editor/browser/widget/diffEditor/commands.js.map +1 -1
- package/esm/vs/editor/browser/widget/diffEditor/components/accessibleDiffViewer.js +4 -4
- package/esm/vs/editor/browser/widget/diffEditor/components/diffEditorViewZones/diffEditorViewZones.js +3 -3
- package/esm/vs/editor/browser/widget/diffEditor/components/diffEditorViewZones/inlineDiffDeletedCodeMargin.js +2 -2
- package/esm/vs/editor/browser/widget/diffEditor/components/diffEditorViewZones/renderLines.js +2 -2
- package/esm/vs/editor/browser/widget/diffEditor/diffEditorWidget.js +25 -0
- package/esm/vs/editor/browser/widget/diffEditor/diffEditorWidget.js.map +1 -1
- package/esm/vs/editor/browser/widget/diffEditor/features/gutterFeature.js +1 -1
- package/esm/vs/editor/browser/widget/diffEditor/features/overviewRulerFeature.js +1 -1
- package/esm/vs/editor/common/config/editorOptions.js +155 -154
- package/esm/vs/editor/common/config/editorOptions.js.map +1 -1
- package/esm/vs/editor/common/core/editorColorRegistry.js +68 -68
- package/esm/vs/editor/common/core/ranges/lineRange.js +3 -0
- package/esm/vs/editor/common/core/ranges/lineRange.js.map +1 -1
- package/esm/vs/editor/common/cursorCommon.js +19 -19
- package/esm/vs/editor/common/editorContextKeys.js +46 -46
- package/esm/vs/editor/common/languages/modesRegistry.js +1 -1
- package/esm/vs/editor/common/languages.js +56 -56
- package/esm/vs/editor/common/model/editStack.js +1 -1
- package/esm/vs/editor/common/standalone/standaloneEnums.js +86 -85
- package/esm/vs/editor/common/standalone/standaloneEnums.js.map +1 -1
- package/esm/vs/editor/common/standaloneStrings.js +10 -10
- package/esm/vs/editor/common/viewLayout/viewLayout.js +15 -15
- package/esm/vs/editor/common/viewLayout/viewLineRenderer.js +2 -2
- package/esm/vs/editor/common/viewModel/monospaceLineBreaksComputer.js +1 -1
- package/esm/vs/editor/common/viewModel/viewModelImpl.js +14 -14
- package/esm/vs/editor/contrib/anchorSelect/browser/anchorSelect.js +6 -6
- package/esm/vs/editor/contrib/bracketMatching/browser/bracketMatching.js +6 -6
- package/esm/vs/editor/contrib/caretOperations/browser/caretOperations.js +2 -2
- package/esm/vs/editor/contrib/caretOperations/browser/transpose.js +1 -1
- package/esm/vs/editor/contrib/clipboard/browser/clipboard.js +20 -20
- package/esm/vs/editor/contrib/codeAction/browser/codeAction.js +1 -1
- package/esm/vs/editor/contrib/codeAction/browser/codeActionCommands.js +29 -29
- package/esm/vs/editor/contrib/codeAction/browser/codeActionContributions.js +3 -3
- package/esm/vs/editor/contrib/codeAction/browser/codeActionController.js +3 -3
- package/esm/vs/editor/contrib/codeAction/browser/codeActionMenu.js +8 -8
- package/esm/vs/editor/contrib/codeAction/browser/codeActionModel.js +1 -1
- package/esm/vs/editor/contrib/codeAction/browser/lightBulbWidget.js +9 -9
- package/esm/vs/editor/contrib/codelens/browser/codelensController.js +2 -2
- package/esm/vs/editor/contrib/colorPicker/browser/colorDetector.js +3 -3
- package/esm/vs/editor/contrib/colorPicker/browser/colorPickerParts/colorPickerCloseButton.js +1 -1
- package/esm/vs/editor/contrib/colorPicker/browser/colorPickerParts/colorPickerHeader.js +1 -1
- package/esm/vs/editor/contrib/colorPicker/browser/hoverColorPicker/hoverColorPickerContribution.js +1 -1
- package/esm/vs/editor/contrib/colorPicker/browser/hoverColorPicker/hoverColorPickerParticipant.js +2 -2
- package/esm/vs/editor/contrib/colorPicker/browser/standaloneColorPicker/standaloneColorPickerActions.js +7 -7
- package/esm/vs/editor/contrib/colorPicker/browser/standaloneColorPicker/standaloneColorPickerParticipant.js +1 -1
- package/esm/vs/editor/contrib/comment/browser/comment.js +6 -6
- package/esm/vs/editor/contrib/contextmenu/browser/contextmenu.js +12 -12
- package/esm/vs/editor/contrib/cursorUndo/browser/cursorUndo.js +2 -2
- package/esm/vs/editor/contrib/dropOrPasteInto/browser/copyPasteContribution.js +4 -4
- package/esm/vs/editor/contrib/dropOrPasteInto/browser/copyPasteController.js +12 -12
- package/esm/vs/editor/contrib/dropOrPasteInto/browser/defaultProviders.js +8 -8
- package/esm/vs/editor/contrib/dropOrPasteInto/browser/dropIntoEditorController.js +3 -3
- package/esm/vs/editor/contrib/dropOrPasteInto/browser/postEditWidget.js +2 -2
- package/esm/vs/editor/contrib/editorState/browser/keybindingCancellation.js +1 -1
- package/esm/vs/editor/contrib/find/browser/findController.js +17 -17
- package/esm/vs/editor/contrib/find/browser/findModel.js +6 -6
- package/esm/vs/editor/contrib/find/browser/findWidget.js +32 -32
- package/esm/vs/editor/contrib/folding/browser/folding.js +23 -23
- package/esm/vs/editor/contrib/folding/browser/foldingDecorations.js +9 -9
- package/esm/vs/editor/contrib/folding/browser/foldingDecorations.js.map +1 -1
- package/esm/vs/editor/contrib/fontZoom/browser/fontZoom.js +3 -3
- package/esm/vs/editor/contrib/format/browser/formatActions.js +2 -2
- package/esm/vs/editor/contrib/gotoError/browser/gotoError.js +8 -8
- package/esm/vs/editor/contrib/gotoError/browser/gotoErrorWidget.js +14 -14
- package/esm/vs/editor/contrib/gotoSymbol/browser/goToCommands.js +39 -39
- package/esm/vs/editor/contrib/gotoSymbol/browser/link/clickLinkGesture.js +21 -11
- package/esm/vs/editor/contrib/gotoSymbol/browser/link/clickLinkGesture.js.map +1 -1
- package/esm/vs/editor/contrib/gotoSymbol/browser/link/goToDefinitionAtPosition.js +2 -2
- package/esm/vs/editor/contrib/gotoSymbol/browser/peek/referencesController.js +4 -4
- package/esm/vs/editor/contrib/gotoSymbol/browser/peek/referencesTree.js +3 -3
- package/esm/vs/editor/contrib/gotoSymbol/browser/peek/referencesWidget.js +3 -3
- package/esm/vs/editor/contrib/gotoSymbol/browser/referencesModel.js +8 -8
- package/esm/vs/editor/contrib/gotoSymbol/browser/symbolNavigation.js +3 -3
- package/esm/vs/editor/contrib/gpu/browser/gpuActions.js +4 -4
- package/esm/vs/editor/contrib/hover/browser/hoverActionIds.js +2 -2
- package/esm/vs/editor/contrib/hover/browser/hoverActions.js +24 -24
- package/esm/vs/editor/contrib/hover/browser/markdownHoverParticipant.js +10 -10
- package/esm/vs/editor/contrib/hover/browser/markerHoverParticipant.js +6 -6
- package/esm/vs/editor/contrib/inPlaceReplace/browser/inPlaceReplace.js +2 -2
- package/esm/vs/editor/contrib/indentation/browser/indentation.js +20 -20
- package/esm/vs/editor/contrib/inlayHints/browser/inlayHintsController.js +5 -5
- package/esm/vs/editor/contrib/inlayHints/browser/inlayHintsHover.js +8 -8
- package/esm/vs/editor/contrib/inlayHints/browser/inlayHintsLocations.js +2 -2
- package/esm/vs/editor/contrib/inlineCompletions/browser/controller/commands.js +19 -19
- package/esm/vs/editor/contrib/inlineCompletions/browser/controller/inlineCompletionContextKeys.js +12 -12
- package/esm/vs/editor/contrib/inlineCompletions/browser/controller/inlineCompletionsController.js +2 -2
- package/esm/vs/editor/contrib/inlineCompletions/browser/hintsWidget/hoverParticipant.js +1 -1
- package/esm/vs/editor/contrib/inlineCompletions/browser/hintsWidget/inlineCompletionsHintsWidget.js +5 -5
- package/esm/vs/editor/contrib/inlineCompletions/browser/model/inlineCompletionsModel.js +1 -1
- package/esm/vs/editor/contrib/inlineCompletions/browser/view/ghostText/ghostTextView.js +5 -5
- package/esm/vs/editor/contrib/inlineCompletions/browser/view/inlineEdits/components/gutterIndicatorMenu.js +5 -5
- package/esm/vs/editor/contrib/inlineCompletions/browser/view/inlineEdits/components/gutterIndicatorView.js +4 -1
- package/esm/vs/editor/contrib/inlineCompletions/browser/view/inlineEdits/components/gutterIndicatorView.js.map +1 -1
- package/esm/vs/editor/contrib/inlineCompletions/browser/view/inlineEdits/inlineEditsModel.js +1 -1
- package/esm/vs/editor/contrib/inlineCompletions/browser/view/inlineEdits/inlineEditsView.js +2 -0
- package/esm/vs/editor/contrib/inlineCompletions/browser/view/inlineEdits/inlineEditsView.js.map +1 -1
- package/esm/vs/editor/contrib/inlineCompletions/browser/view/inlineEdits/inlineEditsViewProducer.js +1 -0
- package/esm/vs/editor/contrib/inlineCompletions/browser/view/inlineEdits/inlineEditsViewProducer.js.map +1 -1
- package/esm/vs/editor/contrib/inlineCompletions/browser/view/inlineEdits/theme.js +22 -21
- package/esm/vs/editor/contrib/inlineCompletions/browser/view/inlineEdits/theme.js.map +1 -1
- package/esm/vs/editor/contrib/insertFinalNewLine/browser/insertFinalNewLine.js +1 -1
- package/esm/vs/editor/contrib/lineSelection/browser/lineSelection.js +1 -1
- package/esm/vs/editor/contrib/linesOperations/browser/linesOperations.js +32 -32
- package/esm/vs/editor/contrib/linkedEditing/browser/linkedEditing.js +4 -4
- package/esm/vs/editor/contrib/links/browser/links.js +11 -11
- package/esm/vs/editor/contrib/links/browser/links.js.map +1 -1
- package/esm/vs/editor/contrib/longLinesHelper/browser/longLinesHelper.js +1 -1
- package/esm/vs/editor/contrib/message/browser/messageController.js +1 -1
- package/esm/vs/editor/contrib/middleScroll/browser/middleScrollController.js +1 -1
- package/esm/vs/editor/contrib/multicursor/browser/multicursor.js +36 -36
- package/esm/vs/editor/contrib/parameterHints/browser/parameterHints.js +1 -1
- package/esm/vs/editor/contrib/parameterHints/browser/parameterHintsModel.js +3 -3
- package/esm/vs/editor/contrib/parameterHints/browser/parameterHintsWidget.js +4 -4
- package/esm/vs/editor/contrib/peekView/browser/peekView.js +18 -18
- package/esm/vs/editor/contrib/placeholderText/browser/placeholderText.contribution.js +1 -1
- package/esm/vs/editor/contrib/placeholderText/browser/placeholderTextContribution.js +1 -1
- package/esm/vs/editor/contrib/placeholderText/browser/placeholderTextContribution.js.map +1 -1
- package/esm/vs/editor/contrib/quickAccess/browser/gotoLineQuickAccess.js +5 -5
- package/esm/vs/editor/contrib/quickAccess/browser/gotoSymbolQuickAccess.js +32 -32
- package/esm/vs/editor/contrib/readOnlyMessage/browser/contribution.js +3 -3
- package/esm/vs/editor/contrib/rename/browser/rename.js +11 -11
- package/esm/vs/editor/contrib/rename/browser/renameWidget.js +7 -7
- package/esm/vs/editor/contrib/smartSelect/browser/smartSelect.js +5 -5
- package/esm/vs/editor/contrib/snippet/browser/snippetController2.js +4 -4
- package/esm/vs/editor/contrib/snippet/browser/snippetSession.js +2 -2
- package/esm/vs/editor/contrib/snippet/browser/snippetVariables.js +4 -4
- package/esm/vs/editor/contrib/stickyScroll/browser/stickyScrollActions.js +11 -11
- package/esm/vs/editor/contrib/stickyScroll/browser/stickyScrollController.js +17 -24
- package/esm/vs/editor/contrib/stickyScroll/browser/stickyScrollController.js.map +1 -1
- package/esm/vs/editor/contrib/stickyScroll/browser/stickyScrollModelProvider.js +1 -1
- package/esm/vs/editor/contrib/stickyScroll/browser/stickyScrollProvider.js +12 -3
- package/esm/vs/editor/contrib/stickyScroll/browser/stickyScrollProvider.js.map +1 -1
- package/esm/vs/editor/contrib/stickyScroll/browser/stickyScrollWidget.js +5 -5
- package/esm/vs/editor/contrib/suggest/browser/suggest.js +8 -8
- package/esm/vs/editor/contrib/suggest/browser/suggestController.js +14 -14
- package/esm/vs/editor/contrib/suggest/browser/suggestInlineCompletions.js +2 -2
- package/esm/vs/editor/contrib/suggest/browser/suggestModel.js +11 -11
- package/esm/vs/editor/contrib/suggest/browser/suggestWidget.js +23 -23
- package/esm/vs/editor/contrib/suggest/browser/suggestWidgetDetails.js +5 -5
- package/esm/vs/editor/contrib/suggest/browser/suggestWidgetRenderer.js +5 -5
- package/esm/vs/editor/contrib/suggest/browser/wordContextKey.js +3 -3
- package/esm/vs/editor/contrib/suggest/browser/wordDistance.js +1 -1
- package/esm/vs/editor/contrib/symbolIcons/browser/symbolIcons.js +33 -33
- package/esm/vs/editor/contrib/toggleTabFocusMode/browser/toggleTabFocusMode.js +4 -4
- package/esm/vs/editor/contrib/tokenization/browser/tokenization.js +1 -1
- package/esm/vs/editor/contrib/unicodeHighlighter/browser/bannerController.js +1 -1
- package/esm/vs/editor/contrib/unicodeHighlighter/browser/unicodeHighlighter.js +27 -27
- package/esm/vs/editor/contrib/unusualLineTerminators/browser/unusualLineTerminators.js +9 -9
- package/esm/vs/editor/contrib/wordHighlighter/browser/highlightDecorations.js +9 -9
- package/esm/vs/editor/contrib/wordHighlighter/browser/wordHighlighter.js +7 -7
- package/esm/vs/editor/contrib/wordOperations/browser/wordOperations.js +4 -4
- package/esm/vs/editor/editor.api.d.ts +93 -85
- package/esm/vs/editor/standalone/browser/iPadShowKeyboard/iPadShowKeyboard.js +1 -1
- package/esm/vs/platform/accessibilitySignal/browser/accessibilitySignalService.js +62 -62
- package/esm/vs/platform/action/common/actionCommonCategories.js +6 -6
- package/esm/vs/platform/actionWidget/browser/actionList.js +4 -4
- package/esm/vs/platform/actionWidget/browser/actionWidget.js +7 -7
- package/esm/vs/platform/actions/browser/menuEntryActionViewItem.js +5 -5
- package/esm/vs/platform/actions/browser/toolbar.js +2 -2
- package/esm/vs/platform/actions/common/menuService.js +2 -2
- package/esm/vs/platform/configuration/common/configurationRegistry.js +10 -10
- package/esm/vs/platform/contextkey/browser/contextKeyService.js +1 -1
- package/esm/vs/platform/contextkey/common/contextkey.js +9 -9
- package/esm/vs/platform/contextkey/common/contextkeys.js +9 -9
- package/esm/vs/platform/contextkey/common/scanner.js +5 -5
- package/esm/vs/platform/history/browser/contextScopedHistoryWidget.js +1 -1
- package/esm/vs/platform/keybinding/common/abstractKeybindingService.js +4 -4
- package/esm/vs/platform/list/browser/listService.js +27 -27
- package/esm/vs/platform/markers/common/markerService.js +2 -2
- package/esm/vs/platform/markers/common/markers.js +6 -6
- package/esm/vs/platform/quickinput/browser/commandsQuickAccess.js +7 -7
- package/esm/vs/platform/quickinput/browser/helpQuickAccess.js +1 -1
- package/esm/vs/platform/quickinput/browser/quickInput.js +21 -13
- package/esm/vs/platform/quickinput/browser/quickInput.js.map +1 -1
- package/esm/vs/platform/quickinput/browser/quickInputActions.js +42 -8
- package/esm/vs/platform/quickinput/browser/quickInputActions.js.map +1 -1
- package/esm/vs/platform/quickinput/browser/quickInputController.js +10 -64
- package/esm/vs/platform/quickinput/browser/quickInputController.js.map +1 -1
- package/esm/vs/platform/quickinput/browser/quickInputList.js +1 -1
- package/esm/vs/platform/quickinput/browser/quickInputUtils.js +1 -1
- package/esm/vs/platform/quickinput/browser/tree/quickInputTreeAccessibilityProvider.js +1 -1
- package/esm/vs/platform/quickinput/browser/tree/quickInputTreeController.js +12 -0
- package/esm/vs/platform/quickinput/browser/tree/quickInputTreeController.js.map +1 -1
- package/esm/vs/platform/quickinput/browser/tree/quickInputTreeRenderer.js +11 -5
- package/esm/vs/platform/quickinput/browser/tree/quickInputTreeRenderer.js.map +1 -1
- package/esm/vs/platform/quickinput/common/quickInput.js.map +1 -1
- package/esm/vs/platform/theme/common/colorUtils.js +2 -2
- package/esm/vs/platform/theme/common/colors/baseColors.js +17 -17
- package/esm/vs/platform/theme/common/colors/chartsColors.js +8 -8
- package/esm/vs/platform/theme/common/colors/editorColors.js +95 -95
- package/esm/vs/platform/theme/common/colors/inputColors.js +47 -47
- package/esm/vs/platform/theme/common/colors/listColors.js +36 -36
- package/esm/vs/platform/theme/common/colors/menuColors.js +7 -7
- package/esm/vs/platform/theme/common/colors/minimapColors.js +11 -11
- package/esm/vs/platform/theme/common/colors/miscColors.js +15 -15
- package/esm/vs/platform/theme/common/colors/quickpickColors.js +9 -9
- package/esm/vs/platform/theme/common/colors/searchColors.js +3 -3
- package/esm/vs/platform/theme/common/iconRegistry.js +6 -6
- package/esm/vs/platform/undoRedo/common/undoRedoService.js +20 -20
- package/esm/vs/platform/workspace/common/workspace.js +1 -1
- package/monaco.d.ts +93 -85
- package/package.json +6 -2
- package/version.txt +1 -1
|
@@ -426,7 +426,7 @@ export function cursorStyleFromString(cursorStyle) {
|
|
|
426
426
|
//#region editorClassName
|
|
427
427
|
class EditorClassName extends ComputedEditorOption {
|
|
428
428
|
constructor() {
|
|
429
|
-
super(
|
|
429
|
+
super(162 /* EditorOption.editorClassName */);
|
|
430
430
|
}
|
|
431
431
|
compute(env, options, _) {
|
|
432
432
|
const classNames = ['monaco-editor'];
|
|
@@ -442,10 +442,10 @@ class EditorClassName extends ComputedEditorOption {
|
|
|
442
442
|
else if (options.get(82 /* EditorOption.mouseStyle */) === 'copy') {
|
|
443
443
|
classNames.push('mouse-copy');
|
|
444
444
|
}
|
|
445
|
-
if (options.get(
|
|
445
|
+
if (options.get(127 /* EditorOption.showUnused */)) {
|
|
446
446
|
classNames.push('showUnused');
|
|
447
447
|
}
|
|
448
|
-
if (options.get(
|
|
448
|
+
if (options.get(157 /* EditorOption.showDeprecated */)) {
|
|
449
449
|
classNames.push('showDeprecated');
|
|
450
450
|
}
|
|
451
451
|
return classNames.join(' ');
|
|
@@ -674,11 +674,11 @@ class EditorFontInfo extends ComputedEditorOption {
|
|
|
674
674
|
//#region effectiveCursorStyle
|
|
675
675
|
class EffectiveCursorStyle extends ComputedEditorOption {
|
|
676
676
|
constructor() {
|
|
677
|
-
super(
|
|
677
|
+
super(161 /* EditorOption.effectiveCursorStyle */);
|
|
678
678
|
}
|
|
679
679
|
compute(env, options, _) {
|
|
680
680
|
return env.inputMode === 'overtype' ?
|
|
681
|
-
options.get(
|
|
681
|
+
options.get(92 /* EditorOption.overtypeCursorStyle */) :
|
|
682
682
|
options.get(34 /* EditorOption.cursorStyle */);
|
|
683
683
|
}
|
|
684
684
|
}
|
|
@@ -686,7 +686,7 @@ class EffectiveCursorStyle extends ComputedEditorOption {
|
|
|
686
686
|
//#region effectiveExperimentalEditContext
|
|
687
687
|
class EffectiveEditContextEnabled extends ComputedEditorOption {
|
|
688
688
|
constructor() {
|
|
689
|
-
super(
|
|
689
|
+
super(170 /* EditorOption.effectiveEditContext */);
|
|
690
690
|
}
|
|
691
691
|
compute(env, options) {
|
|
692
692
|
return env.editContextSupported && options.get(44 /* EditorOption.editContext */);
|
|
@@ -696,7 +696,7 @@ class EffectiveEditContextEnabled extends ComputedEditorOption {
|
|
|
696
696
|
//#region effectiveAllowVariableFonts
|
|
697
697
|
class EffectiveAllowVariableFonts extends ComputedEditorOption {
|
|
698
698
|
constructor() {
|
|
699
|
-
super(
|
|
699
|
+
super(172 /* EditorOption.effectiveAllowVariableFonts */);
|
|
700
700
|
}
|
|
701
701
|
compute(env, options) {
|
|
702
702
|
const accessibilitySupport = env.accessibilitySupport;
|
|
@@ -932,7 +932,7 @@ class EditorHover extends BaseEditorOption {
|
|
|
932
932
|
*/
|
|
933
933
|
export class EditorLayoutInfoComputer extends ComputedEditorOption {
|
|
934
934
|
constructor() {
|
|
935
|
-
super(
|
|
935
|
+
super(165 /* EditorOption.layoutInfo */);
|
|
936
936
|
}
|
|
937
937
|
compute(env, options, _) {
|
|
938
938
|
return EditorLayoutInfoComputer.computeLayout(options, {
|
|
@@ -1131,24 +1131,24 @@ export class EditorLayoutInfoComputer extends ComputedEditorOption {
|
|
|
1131
1131
|
const maxDigitWidth = env.maxDigitWidth;
|
|
1132
1132
|
const pixelRatio = env.pixelRatio;
|
|
1133
1133
|
const viewLineCount = env.viewLineCount;
|
|
1134
|
-
const wordWrapOverride2 = options.get(
|
|
1135
|
-
const wordWrapOverride1 = (wordWrapOverride2 === 'inherit' ? options.get(
|
|
1136
|
-
const wordWrap = (wordWrapOverride1 === 'inherit' ? options.get(
|
|
1137
|
-
const wordWrapColumn = options.get(
|
|
1134
|
+
const wordWrapOverride2 = options.get(154 /* EditorOption.wordWrapOverride2 */);
|
|
1135
|
+
const wordWrapOverride1 = (wordWrapOverride2 === 'inherit' ? options.get(153 /* EditorOption.wordWrapOverride1 */) : wordWrapOverride2);
|
|
1136
|
+
const wordWrap = (wordWrapOverride1 === 'inherit' ? options.get(149 /* EditorOption.wordWrap */) : wordWrapOverride1);
|
|
1137
|
+
const wordWrapColumn = options.get(152 /* EditorOption.wordWrapColumn */);
|
|
1138
1138
|
const isDominatedByLongLines = env.isDominatedByLongLines;
|
|
1139
1139
|
const showGlyphMargin = options.get(66 /* EditorOption.glyphMargin */);
|
|
1140
1140
|
const showLineNumbers = (options.get(76 /* EditorOption.lineNumbers */).renderType !== 0 /* RenderLineNumbersType.Off */);
|
|
1141
1141
|
const lineNumbersMinChars = options.get(77 /* EditorOption.lineNumbersMinChars */);
|
|
1142
|
-
const scrollBeyondLastLine = options.get(
|
|
1143
|
-
const padding = options.get(
|
|
1142
|
+
const scrollBeyondLastLine = options.get(119 /* EditorOption.scrollBeyondLastLine */);
|
|
1143
|
+
const padding = options.get(96 /* EditorOption.padding */);
|
|
1144
1144
|
const minimap = options.get(81 /* EditorOption.minimap */);
|
|
1145
|
-
const scrollbar = options.get(
|
|
1145
|
+
const scrollbar = options.get(117 /* EditorOption.scrollbar */);
|
|
1146
1146
|
const verticalScrollbarWidth = scrollbar.verticalScrollbarSize;
|
|
1147
1147
|
const verticalScrollbarHasArrows = scrollbar.verticalHasArrows;
|
|
1148
1148
|
const scrollbarArrowSize = scrollbar.arrowSize;
|
|
1149
1149
|
const horizontalScrollbarHeight = scrollbar.horizontalScrollbarSize;
|
|
1150
1150
|
const folding = options.get(52 /* EditorOption.folding */);
|
|
1151
|
-
const showFoldingDecoration = options.get(
|
|
1151
|
+
const showFoldingDecoration = options.get(126 /* EditorOption.showFoldingControls */) !== 'never';
|
|
1152
1152
|
let lineDecorationsWidth = options.get(74 /* EditorOption.lineDecorationsWidth */);
|
|
1153
1153
|
if (folding && showFoldingDecoration) {
|
|
1154
1154
|
lineDecorationsWidth += 16;
|
|
@@ -1246,7 +1246,7 @@ export class EditorLayoutInfoComputer extends ComputedEditorOption {
|
|
|
1246
1246
|
//#region WrappingStrategy
|
|
1247
1247
|
class WrappingStrategy extends BaseEditorOption {
|
|
1248
1248
|
constructor() {
|
|
1249
|
-
super(
|
|
1249
|
+
super(156 /* EditorOption.wrappingStrategy */, 'wrappingStrategy', 'simple', {
|
|
1250
1250
|
'editor.wrappingStrategy': {
|
|
1251
1251
|
enumDescriptions: [
|
|
1252
1252
|
nls.localize(252, "Assumes that all characters are of the same width. This is a fast algorithm that works correctly for monospace fonts and certain scripts (like Latin characters) where glyphs are of equal width."),
|
|
@@ -1310,7 +1310,7 @@ class EditorLightbulb extends BaseEditorOption {
|
|
|
1310
1310
|
class EditorStickyScroll extends BaseEditorOption {
|
|
1311
1311
|
constructor() {
|
|
1312
1312
|
const defaults = { enabled: true, maxLineCount: 5, defaultModel: 'outlineModel', scrollWithEditor: true };
|
|
1313
|
-
super(
|
|
1313
|
+
super(131 /* EditorOption.stickyScroll */, 'stickyScroll', defaults, {
|
|
1314
1314
|
'editor.stickyScroll.enabled': {
|
|
1315
1315
|
type: 'boolean',
|
|
1316
1316
|
default: defaults.enabled,
|
|
@@ -1352,7 +1352,7 @@ class EditorStickyScroll extends BaseEditorOption {
|
|
|
1352
1352
|
class EditorInlayHints extends BaseEditorOption {
|
|
1353
1353
|
constructor() {
|
|
1354
1354
|
const defaults = { enabled: 'on', fontSize: 0, fontFamily: '', padding: false, maximumLength: 43 };
|
|
1355
|
-
super(
|
|
1355
|
+
super(159 /* EditorOption.inlayHints */, 'inlayHints', defaults, {
|
|
1356
1356
|
'editor.inlayHints.enabled': {
|
|
1357
1357
|
type: 'string',
|
|
1358
1358
|
default: defaults.enabled,
|
|
@@ -1586,7 +1586,7 @@ function _multiCursorModifierFromString(multiCursorModifier) {
|
|
|
1586
1586
|
}
|
|
1587
1587
|
class EditorPadding extends BaseEditorOption {
|
|
1588
1588
|
constructor() {
|
|
1589
|
-
super(
|
|
1589
|
+
super(96 /* EditorOption.padding */, 'padding', { top: 0, bottom: 0 }, {
|
|
1590
1590
|
'editor.padding.top': {
|
|
1591
1591
|
type: 'number',
|
|
1592
1592
|
default: 0,
|
|
@@ -1620,7 +1620,7 @@ class EditorParameterHints extends BaseEditorOption {
|
|
|
1620
1620
|
enabled: true,
|
|
1621
1621
|
cycle: true
|
|
1622
1622
|
};
|
|
1623
|
-
super(
|
|
1623
|
+
super(98 /* EditorOption.parameterHints */, 'parameterHints', defaults, {
|
|
1624
1624
|
'editor.parameterHints.enabled': {
|
|
1625
1625
|
type: 'boolean',
|
|
1626
1626
|
default: defaults.enabled,
|
|
@@ -1648,7 +1648,7 @@ class EditorParameterHints extends BaseEditorOption {
|
|
|
1648
1648
|
//#region pixelRatio
|
|
1649
1649
|
class EditorPixelRatio extends ComputedEditorOption {
|
|
1650
1650
|
constructor() {
|
|
1651
|
-
super(
|
|
1651
|
+
super(163 /* EditorOption.pixelRatio */);
|
|
1652
1652
|
}
|
|
1653
1653
|
compute(env, options, _) {
|
|
1654
1654
|
return env.pixelRatio;
|
|
@@ -1658,7 +1658,7 @@ class EditorPixelRatio extends ComputedEditorOption {
|
|
|
1658
1658
|
//#region
|
|
1659
1659
|
class PlaceholderOption extends BaseEditorOption {
|
|
1660
1660
|
constructor() {
|
|
1661
|
-
super(
|
|
1661
|
+
super(100 /* EditorOption.placeholder */, 'placeholder', undefined);
|
|
1662
1662
|
}
|
|
1663
1663
|
validate(input) {
|
|
1664
1664
|
if (typeof input === 'undefined') {
|
|
@@ -1685,7 +1685,7 @@ class EditorQuickSuggestions extends BaseEditorOption {
|
|
|
1685
1685
|
enumDescriptions: [nls.localize(296, "Quick suggestions show inside the suggest widget"), nls.localize(297, "Quick suggestions show as ghost text"), nls.localize(298, "Quick suggestions are disabled")]
|
|
1686
1686
|
}
|
|
1687
1687
|
];
|
|
1688
|
-
super(
|
|
1688
|
+
super(102 /* EditorOption.quickSuggestions */, 'quickSuggestions', defaults, {
|
|
1689
1689
|
type: 'object',
|
|
1690
1690
|
additionalProperties: false,
|
|
1691
1691
|
properties: {
|
|
@@ -1798,9 +1798,9 @@ class EditorRenderLineNumbersOption extends BaseEditorOption {
|
|
|
1798
1798
|
* @internal
|
|
1799
1799
|
*/
|
|
1800
1800
|
export function filterValidationDecorations(options) {
|
|
1801
|
-
const renderValidationDecorations = options.get(
|
|
1801
|
+
const renderValidationDecorations = options.get(112 /* EditorOption.renderValidationDecorations */);
|
|
1802
1802
|
if (renderValidationDecorations === 'editable') {
|
|
1803
|
-
return options.get(
|
|
1803
|
+
return options.get(104 /* EditorOption.readOnly */);
|
|
1804
1804
|
}
|
|
1805
1805
|
return renderValidationDecorations === 'on' ? false : true;
|
|
1806
1806
|
}
|
|
@@ -1810,13 +1810,13 @@ export function filterValidationDecorations(options) {
|
|
|
1810
1810
|
* @internal
|
|
1811
1811
|
*/
|
|
1812
1812
|
export function filterFontDecorations(options) {
|
|
1813
|
-
return !options.get(
|
|
1813
|
+
return !options.get(172 /* EditorOption.effectiveAllowVariableFonts */);
|
|
1814
1814
|
}
|
|
1815
1815
|
class EditorRulers extends BaseEditorOption {
|
|
1816
1816
|
constructor() {
|
|
1817
1817
|
const defaults = [];
|
|
1818
1818
|
const columnSchema = { type: 'number', description: nls.localize(308, "Number of monospace characters at which this editor ruler will render.") };
|
|
1819
|
-
super(
|
|
1819
|
+
super(116 /* EditorOption.rulers */, 'rulers', defaults, {
|
|
1820
1820
|
type: 'array',
|
|
1821
1821
|
items: {
|
|
1822
1822
|
anyOf: [
|
|
@@ -1872,7 +1872,7 @@ class EditorRulers extends BaseEditorOption {
|
|
|
1872
1872
|
class ReadonlyMessage extends BaseEditorOption {
|
|
1873
1873
|
constructor() {
|
|
1874
1874
|
const defaults = undefined;
|
|
1875
|
-
super(
|
|
1875
|
+
super(105 /* EditorOption.readOnlyMessage */, 'readOnlyMessage', defaults);
|
|
1876
1876
|
}
|
|
1877
1877
|
validate(_input) {
|
|
1878
1878
|
if (!_input || typeof _input !== 'object') {
|
|
@@ -1909,7 +1909,7 @@ class EditorScrollbar extends BaseEditorOption {
|
|
|
1909
1909
|
scrollByPage: false,
|
|
1910
1910
|
ignoreHorizontalScrollbarInContentHeight: false,
|
|
1911
1911
|
};
|
|
1912
|
-
super(
|
|
1912
|
+
super(117 /* EditorOption.scrollbar */, 'scrollbar', defaults, {
|
|
1913
1913
|
'editor.scrollbar.vertical': {
|
|
1914
1914
|
type: 'string',
|
|
1915
1915
|
enum: ['auto', 'visible', 'hidden'],
|
|
@@ -2006,7 +2006,7 @@ class UnicodeHighlight extends BaseEditorOption {
|
|
|
2006
2006
|
allowedCharacters: {},
|
|
2007
2007
|
allowedLocales: { _os: true, _vscode: true },
|
|
2008
2008
|
};
|
|
2009
|
-
super(
|
|
2009
|
+
super(142 /* EditorOption.unicodeHighlighting */, 'unicodeHighlight', defaults, {
|
|
2010
2010
|
[unicodeHighlightConfigKeys.nonBasicASCII]: {
|
|
2011
2011
|
restricted: true,
|
|
2012
2012
|
type: ['boolean', 'string'],
|
|
@@ -2413,7 +2413,7 @@ class EditorSuggest extends BaseEditorOption {
|
|
|
2413
2413
|
showUsers: true,
|
|
2414
2414
|
showIssues: true,
|
|
2415
2415
|
};
|
|
2416
|
-
super(
|
|
2416
|
+
super(134 /* EditorOption.suggest */, 'suggest', defaults, {
|
|
2417
2417
|
'editor.suggest.insertMode': {
|
|
2418
2418
|
type: 'string',
|
|
2419
2419
|
enum: ['insert', 'replace'],
|
|
@@ -2687,7 +2687,7 @@ class EditorSuggest extends BaseEditorOption {
|
|
|
2687
2687
|
}
|
|
2688
2688
|
class SmartSelect extends BaseEditorOption {
|
|
2689
2689
|
constructor() {
|
|
2690
|
-
super(
|
|
2690
|
+
super(129 /* EditorOption.smartSelect */, 'smartSelect', {
|
|
2691
2691
|
selectLeadingAndTrailingWhitespace: true,
|
|
2692
2692
|
selectSubwords: true,
|
|
2693
2693
|
}, {
|
|
@@ -2723,7 +2723,7 @@ class SmartSelect extends BaseEditorOption {
|
|
|
2723
2723
|
class WordSegmenterLocales extends BaseEditorOption {
|
|
2724
2724
|
constructor() {
|
|
2725
2725
|
const defaults = [];
|
|
2726
|
-
super(
|
|
2726
|
+
super(147 /* EditorOption.wordSegmenterLocales */, 'wordSegmenterLocales', defaults, {
|
|
2727
2727
|
anyOf: [
|
|
2728
2728
|
{
|
|
2729
2729
|
type: 'string',
|
|
@@ -2767,7 +2767,7 @@ class WordSegmenterLocales extends BaseEditorOption {
|
|
|
2767
2767
|
}
|
|
2768
2768
|
class WrappingIndentOption extends BaseEditorOption {
|
|
2769
2769
|
constructor() {
|
|
2770
|
-
super(
|
|
2770
|
+
super(155 /* EditorOption.wrappingIndent */, 'wrappingIndent', 1 /* WrappingIndent.Same */, {
|
|
2771
2771
|
'editor.wrappingIndent': {
|
|
2772
2772
|
type: 'string',
|
|
2773
2773
|
enum: ['none', 'same', 'indent', 'deepIndent'],
|
|
@@ -2803,10 +2803,10 @@ class WrappingIndentOption extends BaseEditorOption {
|
|
|
2803
2803
|
}
|
|
2804
2804
|
class EditorWrappingInfoComputer extends ComputedEditorOption {
|
|
2805
2805
|
constructor() {
|
|
2806
|
-
super(
|
|
2806
|
+
super(166 /* EditorOption.wrappingInfo */);
|
|
2807
2807
|
}
|
|
2808
2808
|
compute(env, options, _) {
|
|
2809
|
-
const layoutInfo = options.get(
|
|
2809
|
+
const layoutInfo = options.get(165 /* EditorOption.layoutInfo */);
|
|
2810
2810
|
return {
|
|
2811
2811
|
isDominatedByLongLines: env.isDominatedByLongLines,
|
|
2812
2812
|
isWordWrapMinified: layoutInfo.isWordWrapMinified,
|
|
@@ -2853,7 +2853,7 @@ class EditorDropIntoEditor extends BaseEditorOption {
|
|
|
2853
2853
|
class EditorPasteAs extends BaseEditorOption {
|
|
2854
2854
|
constructor() {
|
|
2855
2855
|
const defaults = { enabled: true, showPasteSelector: 'afterPaste' };
|
|
2856
|
-
super(
|
|
2856
|
+
super(97 /* EditorOption.pasteAs */, 'pasteAs', defaults, {
|
|
2857
2857
|
'editor.pasteAs.enabled': {
|
|
2858
2858
|
type: 'boolean',
|
|
2859
2859
|
default: defaults.enabled,
|
|
@@ -3006,7 +3006,7 @@ export const EditorOptions = {
|
|
|
3006
3006
|
})),
|
|
3007
3007
|
bracketPairColorization: register(new BracketPairColorization()),
|
|
3008
3008
|
bracketPairGuides: register(new GuideOptions()),
|
|
3009
|
-
stickyTabStops: register(new EditorBooleanOption(
|
|
3009
|
+
stickyTabStops: register(new EditorBooleanOption(132 /* EditorOption.stickyTabStops */, 'stickyTabStops', false, { description: nls.localize(461, "Emulate selection behavior of tab characters when using spaces for indentation. Selection will stick to tab stops.") })),
|
|
3010
3010
|
codeLens: register(new EditorBooleanOption(23 /* EditorOption.codeLens */, 'codeLens', true, { description: nls.localize(462, "Controls whether the editor shows CodeLens.") })),
|
|
3011
3011
|
codeLensFontFamily: register(new EditorStringOption(24 /* EditorOption.codeLensFontFamily */, 'codeLensFontFamily', '', { description: nls.localize(463, "Controls the font family for CodeLens.") })),
|
|
3012
3012
|
codeLensFontSize: register(new EditorIntOption(25 /* EditorOption.codeLensFontSize */, 'codeLensFontSize', 0, 0, 100, {
|
|
@@ -3017,7 +3017,7 @@ export const EditorOptions = {
|
|
|
3017
3017
|
markdownDescription: nls.localize(464, "Controls the font size in pixels for CodeLens. When set to 0, 90% of `#editor.fontSize#` is used.")
|
|
3018
3018
|
})),
|
|
3019
3019
|
colorDecorators: register(new EditorBooleanOption(26 /* EditorOption.colorDecorators */, 'colorDecorators', true, { description: nls.localize(465, "Controls whether the editor should render the inline color decorators and color picker.") })),
|
|
3020
|
-
colorDecoratorActivatedOn: register(new EditorStringEnumOption(
|
|
3020
|
+
colorDecoratorActivatedOn: register(new EditorStringEnumOption(168 /* EditorOption.colorDecoratorsActivatedOn */, 'colorDecoratorsActivatedOn', 'clickAndHover', ['clickAndHover', 'hover', 'click'], {
|
|
3021
3021
|
enumDescriptions: [
|
|
3022
3022
|
nls.localize(466, "Make the color picker appear both on click and hover of the color decorator"),
|
|
3023
3023
|
nls.localize(467, "Make the color picker appear on hover of the color decorator"),
|
|
@@ -3042,7 +3042,7 @@ export const EditorOptions = {
|
|
|
3042
3042
|
description: nls.localize(477, "Controls whether the smooth caret animation should be enabled.")
|
|
3043
3043
|
})),
|
|
3044
3044
|
cursorStyle: register(new EditorEnumOption(34 /* EditorOption.cursorStyle */, 'cursorStyle', TextEditorCursorStyle.Line, 'line', ['line', 'block', 'underline', 'line-thin', 'block-outline', 'underline-thin'], cursorStyleFromString, { description: nls.localize(478, "Controls the cursor style in insert input mode.") })),
|
|
3045
|
-
overtypeCursorStyle: register(new EditorEnumOption(
|
|
3045
|
+
overtypeCursorStyle: register(new EditorEnumOption(92 /* EditorOption.overtypeCursorStyle */, 'overtypeCursorStyle', TextEditorCursorStyle.Block, 'block', ['line', 'block', 'underline', 'line-thin', 'block-outline', 'underline-thin'], cursorStyleFromString, { description: nls.localize(479, "Controls the cursor style in overtype input mode.") })),
|
|
3046
3046
|
cursorSurroundingLines: register(new EditorIntOption(35 /* EditorOption.cursorSurroundingLines */, 'cursorSurroundingLines', 0, 0, 1073741824 /* Constants.MAX_SAFE_SMALL_INTEGER */, { description: nls.localize(480, "Controls the minimal number of visible leading lines (minimum 0) and trailing lines (minimum 1) surrounding the cursor. Known as 'scrollOff' or 'scrollOffset' in some other editors.") })),
|
|
3047
3047
|
cursorSurroundingLinesStyle: register(new EditorStringEnumOption(36 /* EditorOption.cursorSurroundingLinesStyle */, 'cursorSurroundingLinesStyle', 'default', ['default', 'all'], {
|
|
3048
3048
|
enumDescriptions: [
|
|
@@ -3063,7 +3063,7 @@ export const EditorOptions = {
|
|
|
3063
3063
|
description: nls.localize(487, "Sets whether the EditContext API should be used instead of the text area to power input in the editor."),
|
|
3064
3064
|
included: platform.isChrome || platform.isEdge || platform.isNative
|
|
3065
3065
|
})),
|
|
3066
|
-
renderRichScreenReaderContent: register(new EditorBooleanOption(
|
|
3066
|
+
renderRichScreenReaderContent: register(new EditorBooleanOption(107 /* EditorOption.renderRichScreenReaderContent */, 'renderRichScreenReaderContent', false, {
|
|
3067
3067
|
markdownDescription: nls.localize(488, "Whether to render rich screen reader content when the `#editor.editContext#` setting is enabled."),
|
|
3068
3068
|
})),
|
|
3069
3069
|
stickyScroll: register(new EditorStickyScroll()),
|
|
@@ -3113,7 +3113,7 @@ export const EditorOptions = {
|
|
|
3113
3113
|
hideCursorInOverviewRuler: register(new EditorBooleanOption(68 /* EditorOption.hideCursorInOverviewRuler */, 'hideCursorInOverviewRuler', false, { description: nls.localize(509, "Controls whether the cursor should be hidden in the overview ruler.") })),
|
|
3114
3114
|
hover: register(new EditorHover()),
|
|
3115
3115
|
inDiffEditor: register(new EditorBooleanOption(70 /* EditorOption.inDiffEditor */, 'inDiffEditor', false)),
|
|
3116
|
-
inertialScroll: register(new EditorBooleanOption(
|
|
3116
|
+
inertialScroll: register(new EditorBooleanOption(158 /* EditorOption.inertialScroll */, 'inertialScroll', false, { description: nls.localize(510, "Make scrolling inertial - mostly useful with touchpad on linux.") })),
|
|
3117
3117
|
letterSpacing: register(new EditorFloatOption(72 /* EditorOption.letterSpacing */, 'letterSpacing', EDITOR_FONT_DEFAULTS.letterSpacing, x => EditorFloatOption.clamp(x, -5, 20), { description: nls.localize(511, "Controls the letter spacing in pixels.") })),
|
|
3118
3118
|
lightbulb: register(new EditorLightbulb()),
|
|
3119
3119
|
lineDecorationsWidth: register(new EditorLineDecorationsWidth()),
|
|
@@ -3145,170 +3145,171 @@ export const EditorOptions = {
|
|
|
3145
3145
|
|
|
3146
3146
|
|
|
3147
3147
|
})),
|
|
3148
|
-
|
|
3148
|
+
mouseMiddleClickAction: register(new EditorStringEnumOption(87 /* EditorOption.mouseMiddleClickAction */, 'mouseMiddleClickAction', 'default', ['default', 'openLink', 'ctrlLeftClick'], { description: nls.localize(522, "Controls what happens when middle mouse button is clicked in the editor.") })),
|
|
3149
|
+
multiCursorPaste: register(new EditorStringEnumOption(88 /* EditorOption.multiCursorPaste */, 'multiCursorPaste', 'spread', ['spread', 'full'], {
|
|
3149
3150
|
markdownEnumDescriptions: [
|
|
3150
|
-
nls.localize(
|
|
3151
|
-
nls.localize(
|
|
3151
|
+
nls.localize(523, "Each cursor pastes a single line of the text."),
|
|
3152
|
+
nls.localize(524, "Each cursor pastes the full text.")
|
|
3152
3153
|
],
|
|
3153
|
-
markdownDescription: nls.localize(
|
|
3154
|
+
markdownDescription: nls.localize(525, "Controls pasting when the line count of the pasted text matches the cursor count.")
|
|
3154
3155
|
})),
|
|
3155
|
-
multiCursorLimit: register(new EditorIntOption(
|
|
3156
|
-
markdownDescription: nls.localize(
|
|
3156
|
+
multiCursorLimit: register(new EditorIntOption(89 /* EditorOption.multiCursorLimit */, 'multiCursorLimit', 10000, 1, 100000, {
|
|
3157
|
+
markdownDescription: nls.localize(526, "Controls the max number of cursors that can be in an active editor at once.")
|
|
3157
3158
|
})),
|
|
3158
|
-
occurrencesHighlight: register(new EditorStringEnumOption(
|
|
3159
|
+
occurrencesHighlight: register(new EditorStringEnumOption(90 /* EditorOption.occurrencesHighlight */, 'occurrencesHighlight', 'singleFile', ['off', 'singleFile', 'multiFile'], {
|
|
3159
3160
|
markdownEnumDescriptions: [
|
|
3160
|
-
nls.localize(
|
|
3161
|
-
nls.localize(
|
|
3162
|
-
nls.localize(
|
|
3161
|
+
nls.localize(527, "Does not highlight occurrences."),
|
|
3162
|
+
nls.localize(528, "Highlights occurrences only in the current file."),
|
|
3163
|
+
nls.localize(529, "Experimental: Highlights occurrences across all valid open files.")
|
|
3163
3164
|
],
|
|
3164
|
-
markdownDescription: nls.localize(
|
|
3165
|
+
markdownDescription: nls.localize(530, "Controls whether occurrences should be highlighted across open files.")
|
|
3165
3166
|
})),
|
|
3166
|
-
occurrencesHighlightDelay: register(new EditorIntOption(
|
|
3167
|
-
description: nls.localize(
|
|
3167
|
+
occurrencesHighlightDelay: register(new EditorIntOption(91 /* EditorOption.occurrencesHighlightDelay */, 'occurrencesHighlightDelay', 0, 0, 2000, {
|
|
3168
|
+
description: nls.localize(531, "Controls the delay in milliseconds after which occurrences are highlighted."),
|
|
3168
3169
|
tags: ['preview']
|
|
3169
3170
|
})),
|
|
3170
|
-
overtypeOnPaste: register(new EditorBooleanOption(
|
|
3171
|
-
overviewRulerBorder: register(new EditorBooleanOption(
|
|
3172
|
-
overviewRulerLanes: register(new EditorIntOption(
|
|
3171
|
+
overtypeOnPaste: register(new EditorBooleanOption(93 /* EditorOption.overtypeOnPaste */, 'overtypeOnPaste', true, { description: nls.localize(532, "Controls whether pasting should overtype.") })),
|
|
3172
|
+
overviewRulerBorder: register(new EditorBooleanOption(94 /* EditorOption.overviewRulerBorder */, 'overviewRulerBorder', true, { description: nls.localize(533, "Controls whether a border should be drawn around the overview ruler.") })),
|
|
3173
|
+
overviewRulerLanes: register(new EditorIntOption(95 /* EditorOption.overviewRulerLanes */, 'overviewRulerLanes', 3, 0, 3)),
|
|
3173
3174
|
padding: register(new EditorPadding()),
|
|
3174
3175
|
pasteAs: register(new EditorPasteAs()),
|
|
3175
3176
|
parameterHints: register(new EditorParameterHints()),
|
|
3176
|
-
peekWidgetDefaultFocus: register(new EditorStringEnumOption(
|
|
3177
|
+
peekWidgetDefaultFocus: register(new EditorStringEnumOption(99 /* EditorOption.peekWidgetDefaultFocus */, 'peekWidgetDefaultFocus', 'tree', ['tree', 'editor'], {
|
|
3177
3178
|
enumDescriptions: [
|
|
3178
|
-
nls.localize(
|
|
3179
|
-
nls.localize(
|
|
3179
|
+
nls.localize(534, "Focus the tree when opening peek"),
|
|
3180
|
+
nls.localize(535, "Focus the editor when opening peek")
|
|
3180
3181
|
],
|
|
3181
|
-
description: nls.localize(
|
|
3182
|
+
description: nls.localize(536, "Controls whether to focus the inline editor or the tree in the peek widget.")
|
|
3182
3183
|
})),
|
|
3183
3184
|
placeholder: register(new PlaceholderOption()),
|
|
3184
|
-
definitionLinkOpensInPeek: register(new EditorBooleanOption(
|
|
3185
|
+
definitionLinkOpensInPeek: register(new EditorBooleanOption(101 /* EditorOption.definitionLinkOpensInPeek */, 'definitionLinkOpensInPeek', false, { description: nls.localize(537, "Controls whether the Go to Definition mouse gesture always opens the peek widget.") })),
|
|
3185
3186
|
quickSuggestions: register(new EditorQuickSuggestions()),
|
|
3186
|
-
quickSuggestionsDelay: register(new EditorIntOption(
|
|
3187
|
-
description: nls.localize(
|
|
3187
|
+
quickSuggestionsDelay: register(new EditorIntOption(103 /* EditorOption.quickSuggestionsDelay */, 'quickSuggestionsDelay', 10, 0, 1073741824 /* Constants.MAX_SAFE_SMALL_INTEGER */, {
|
|
3188
|
+
description: nls.localize(538, "Controls the delay in milliseconds after which quick suggestions will show up."),
|
|
3188
3189
|
experiment: {
|
|
3189
3190
|
mode: 'auto'
|
|
3190
3191
|
}
|
|
3191
3192
|
})),
|
|
3192
|
-
readOnly: register(new EditorBooleanOption(
|
|
3193
|
+
readOnly: register(new EditorBooleanOption(104 /* EditorOption.readOnly */, 'readOnly', false)),
|
|
3193
3194
|
readOnlyMessage: register(new ReadonlyMessage()),
|
|
3194
|
-
renameOnType: register(new EditorBooleanOption(
|
|
3195
|
-
renderControlCharacters: register(new EditorBooleanOption(
|
|
3196
|
-
renderFinalNewline: register(new EditorStringEnumOption(
|
|
3197
|
-
renderLineHighlight: register(new EditorStringEnumOption(
|
|
3195
|
+
renameOnType: register(new EditorBooleanOption(106 /* EditorOption.renameOnType */, 'renameOnType', false, { description: nls.localize(539, "Controls whether the editor auto renames on type."), markdownDeprecationMessage: nls.localize(540, "Deprecated, use `#editor.linkedEditing#` instead.") })),
|
|
3196
|
+
renderControlCharacters: register(new EditorBooleanOption(108 /* EditorOption.renderControlCharacters */, 'renderControlCharacters', true, { description: nls.localize(541, "Controls whether the editor should render control characters."), restricted: true })),
|
|
3197
|
+
renderFinalNewline: register(new EditorStringEnumOption(109 /* EditorOption.renderFinalNewline */, 'renderFinalNewline', (platform.isLinux ? 'dimmed' : 'on'), ['off', 'on', 'dimmed'], { description: nls.localize(542, "Render last line number when the file ends with a newline.") })),
|
|
3198
|
+
renderLineHighlight: register(new EditorStringEnumOption(110 /* EditorOption.renderLineHighlight */, 'renderLineHighlight', 'line', ['none', 'gutter', 'line', 'all'], {
|
|
3198
3199
|
enumDescriptions: [
|
|
3199
3200
|
'',
|
|
3200
3201
|
'',
|
|
3201
3202
|
'',
|
|
3202
|
-
nls.localize(
|
|
3203
|
+
nls.localize(543, "Highlights both the gutter and the current line."),
|
|
3203
3204
|
],
|
|
3204
|
-
description: nls.localize(
|
|
3205
|
+
description: nls.localize(544, "Controls how the editor should render the current line highlight.")
|
|
3205
3206
|
})),
|
|
3206
|
-
renderLineHighlightOnlyWhenFocus: register(new EditorBooleanOption(
|
|
3207
|
-
renderValidationDecorations: register(new EditorStringEnumOption(
|
|
3208
|
-
renderWhitespace: register(new EditorStringEnumOption(
|
|
3207
|
+
renderLineHighlightOnlyWhenFocus: register(new EditorBooleanOption(111 /* EditorOption.renderLineHighlightOnlyWhenFocus */, 'renderLineHighlightOnlyWhenFocus', false, { description: nls.localize(545, "Controls if the editor should render the current line highlight only when the editor is focused.") })),
|
|
3208
|
+
renderValidationDecorations: register(new EditorStringEnumOption(112 /* EditorOption.renderValidationDecorations */, 'renderValidationDecorations', 'editable', ['editable', 'on', 'off'])),
|
|
3209
|
+
renderWhitespace: register(new EditorStringEnumOption(113 /* EditorOption.renderWhitespace */, 'renderWhitespace', 'selection', ['none', 'boundary', 'selection', 'trailing', 'all'], {
|
|
3209
3210
|
enumDescriptions: [
|
|
3210
3211
|
'',
|
|
3211
|
-
nls.localize(
|
|
3212
|
-
nls.localize(
|
|
3213
|
-
nls.localize(
|
|
3212
|
+
nls.localize(546, "Render whitespace characters except for single spaces between words."),
|
|
3213
|
+
nls.localize(547, "Render whitespace characters only on selected text."),
|
|
3214
|
+
nls.localize(548, "Render only trailing whitespace characters."),
|
|
3214
3215
|
''
|
|
3215
3216
|
],
|
|
3216
|
-
description: nls.localize(
|
|
3217
|
+
description: nls.localize(549, "Controls how the editor should render whitespace characters.")
|
|
3217
3218
|
})),
|
|
3218
|
-
revealHorizontalRightPadding: register(new EditorIntOption(
|
|
3219
|
-
roundedSelection: register(new EditorBooleanOption(
|
|
3219
|
+
revealHorizontalRightPadding: register(new EditorIntOption(114 /* EditorOption.revealHorizontalRightPadding */, 'revealHorizontalRightPadding', 15, 0, 1000)),
|
|
3220
|
+
roundedSelection: register(new EditorBooleanOption(115 /* EditorOption.roundedSelection */, 'roundedSelection', true, { description: nls.localize(550, "Controls whether selections should have rounded corners.") })),
|
|
3220
3221
|
rulers: register(new EditorRulers()),
|
|
3221
3222
|
scrollbar: register(new EditorScrollbar()),
|
|
3222
|
-
scrollBeyondLastColumn: register(new EditorIntOption(
|
|
3223
|
-
scrollBeyondLastLine: register(new EditorBooleanOption(
|
|
3224
|
-
scrollOnMiddleClick: register(new EditorBooleanOption(
|
|
3225
|
-
scrollPredominantAxis: register(new EditorBooleanOption(
|
|
3226
|
-
selectionClipboard: register(new EditorBooleanOption(
|
|
3227
|
-
description: nls.localize(
|
|
3223
|
+
scrollBeyondLastColumn: register(new EditorIntOption(118 /* EditorOption.scrollBeyondLastColumn */, 'scrollBeyondLastColumn', 4, 0, 1073741824 /* Constants.MAX_SAFE_SMALL_INTEGER */, { description: nls.localize(551, "Controls the number of extra characters beyond which the editor will scroll horizontally.") })),
|
|
3224
|
+
scrollBeyondLastLine: register(new EditorBooleanOption(119 /* EditorOption.scrollBeyondLastLine */, 'scrollBeyondLastLine', true, { description: nls.localize(552, "Controls whether the editor will scroll beyond the last line.") })),
|
|
3225
|
+
scrollOnMiddleClick: register(new EditorBooleanOption(171 /* EditorOption.scrollOnMiddleClick */, 'scrollOnMiddleClick', false, { description: nls.localize(553, "Controls whether the editor will scroll when the middle button is pressed.") })),
|
|
3226
|
+
scrollPredominantAxis: register(new EditorBooleanOption(120 /* EditorOption.scrollPredominantAxis */, 'scrollPredominantAxis', true, { description: nls.localize(554, "Scroll only along the predominant axis when scrolling both vertically and horizontally at the same time. Prevents horizontal drift when scrolling vertically on a trackpad.") })),
|
|
3227
|
+
selectionClipboard: register(new EditorBooleanOption(121 /* EditorOption.selectionClipboard */, 'selectionClipboard', true, {
|
|
3228
|
+
description: nls.localize(555, "Controls whether the Linux primary clipboard should be supported."),
|
|
3228
3229
|
included: platform.isLinux
|
|
3229
3230
|
})),
|
|
3230
|
-
selectionHighlight: register(new EditorBooleanOption(
|
|
3231
|
-
selectionHighlightMaxLength: register(new EditorIntOption(
|
|
3232
|
-
selectionHighlightMultiline: register(new EditorBooleanOption(
|
|
3233
|
-
selectOnLineNumbers: register(new EditorBooleanOption(
|
|
3234
|
-
showFoldingControls: register(new EditorStringEnumOption(
|
|
3231
|
+
selectionHighlight: register(new EditorBooleanOption(122 /* EditorOption.selectionHighlight */, 'selectionHighlight', true, { description: nls.localize(556, "Controls whether the editor should highlight matches similar to the selection.") })),
|
|
3232
|
+
selectionHighlightMaxLength: register(new EditorIntOption(123 /* EditorOption.selectionHighlightMaxLength */, 'selectionHighlightMaxLength', 200, 0, 1073741824 /* Constants.MAX_SAFE_SMALL_INTEGER */, { description: nls.localize(557, "Controls how many characters can be in the selection before similiar matches are not highlighted. Set to zero for unlimited.") })),
|
|
3233
|
+
selectionHighlightMultiline: register(new EditorBooleanOption(124 /* EditorOption.selectionHighlightMultiline */, 'selectionHighlightMultiline', false, { description: nls.localize(558, "Controls whether the editor should highlight selection matches that span multiple lines.") })),
|
|
3234
|
+
selectOnLineNumbers: register(new EditorBooleanOption(125 /* EditorOption.selectOnLineNumbers */, 'selectOnLineNumbers', true)),
|
|
3235
|
+
showFoldingControls: register(new EditorStringEnumOption(126 /* EditorOption.showFoldingControls */, 'showFoldingControls', 'mouseover', ['always', 'never', 'mouseover'], {
|
|
3235
3236
|
enumDescriptions: [
|
|
3236
|
-
nls.localize(
|
|
3237
|
-
nls.localize(
|
|
3238
|
-
nls.localize(
|
|
3237
|
+
nls.localize(559, "Always show the folding controls."),
|
|
3238
|
+
nls.localize(560, "Never show the folding controls and reduce the gutter size."),
|
|
3239
|
+
nls.localize(561, "Only show the folding controls when the mouse is over the gutter."),
|
|
3239
3240
|
],
|
|
3240
|
-
description: nls.localize(
|
|
3241
|
+
description: nls.localize(562, "Controls when the folding controls on the gutter are shown.")
|
|
3241
3242
|
})),
|
|
3242
|
-
showUnused: register(new EditorBooleanOption(
|
|
3243
|
-
showDeprecated: register(new EditorBooleanOption(
|
|
3243
|
+
showUnused: register(new EditorBooleanOption(127 /* EditorOption.showUnused */, 'showUnused', true, { description: nls.localize(563, "Controls fading out of unused code.") })),
|
|
3244
|
+
showDeprecated: register(new EditorBooleanOption(157 /* EditorOption.showDeprecated */, 'showDeprecated', true, { description: nls.localize(564, "Controls strikethrough deprecated variables.") })),
|
|
3244
3245
|
inlayHints: register(new EditorInlayHints()),
|
|
3245
|
-
snippetSuggestions: register(new EditorStringEnumOption(
|
|
3246
|
+
snippetSuggestions: register(new EditorStringEnumOption(128 /* EditorOption.snippetSuggestions */, 'snippetSuggestions', 'inline', ['top', 'bottom', 'inline', 'none'], {
|
|
3246
3247
|
enumDescriptions: [
|
|
3247
|
-
nls.localize(
|
|
3248
|
-
nls.localize(
|
|
3249
|
-
nls.localize(
|
|
3250
|
-
nls.localize(
|
|
3248
|
+
nls.localize(565, "Show snippet suggestions on top of other suggestions."),
|
|
3249
|
+
nls.localize(566, "Show snippet suggestions below other suggestions."),
|
|
3250
|
+
nls.localize(567, "Show snippets suggestions with other suggestions."),
|
|
3251
|
+
nls.localize(568, "Do not show snippet suggestions."),
|
|
3251
3252
|
],
|
|
3252
|
-
description: nls.localize(
|
|
3253
|
+
description: nls.localize(569, "Controls whether snippets are shown with other suggestions and how they are sorted.")
|
|
3253
3254
|
})),
|
|
3254
3255
|
smartSelect: register(new SmartSelect()),
|
|
3255
|
-
smoothScrolling: register(new EditorBooleanOption(
|
|
3256
|
-
stopRenderingLineAfter: register(new EditorIntOption(
|
|
3256
|
+
smoothScrolling: register(new EditorBooleanOption(130 /* EditorOption.smoothScrolling */, 'smoothScrolling', false, { description: nls.localize(570, "Controls whether the editor will scroll using an animation.") })),
|
|
3257
|
+
stopRenderingLineAfter: register(new EditorIntOption(133 /* EditorOption.stopRenderingLineAfter */, 'stopRenderingLineAfter', 10000, -1, 1073741824 /* Constants.MAX_SAFE_SMALL_INTEGER */)),
|
|
3257
3258
|
suggest: register(new EditorSuggest()),
|
|
3258
3259
|
inlineSuggest: register(new InlineEditorSuggest()),
|
|
3259
|
-
inlineCompletionsAccessibilityVerbose: register(new EditorBooleanOption(
|
|
3260
|
-
suggestFontSize: register(new EditorIntOption(
|
|
3261
|
-
suggestLineHeight: register(new EditorIntOption(
|
|
3262
|
-
suggestOnTriggerCharacters: register(new EditorBooleanOption(
|
|
3263
|
-
suggestSelection: register(new EditorStringEnumOption(
|
|
3260
|
+
inlineCompletionsAccessibilityVerbose: register(new EditorBooleanOption(169 /* EditorOption.inlineCompletionsAccessibilityVerbose */, 'inlineCompletionsAccessibilityVerbose', false, { description: nls.localize(571, "Controls whether the accessibility hint should be provided to screen reader users when an inline completion is shown.") })),
|
|
3261
|
+
suggestFontSize: register(new EditorIntOption(135 /* EditorOption.suggestFontSize */, 'suggestFontSize', 0, 0, 1000, { markdownDescription: nls.localize(572, "Font size for the suggest widget. When set to {0}, the value of {1} is used.", '`0`', '`#editor.fontSize#`') })),
|
|
3262
|
+
suggestLineHeight: register(new EditorIntOption(136 /* EditorOption.suggestLineHeight */, 'suggestLineHeight', 0, 0, 1000, { markdownDescription: nls.localize(573, "Line height for the suggest widget. When set to {0}, the value of {1} is used. The minimum value is 8.", '`0`', '`#editor.lineHeight#`') })),
|
|
3263
|
+
suggestOnTriggerCharacters: register(new EditorBooleanOption(137 /* EditorOption.suggestOnTriggerCharacters */, 'suggestOnTriggerCharacters', true, { description: nls.localize(574, "Controls whether suggestions should automatically show up when typing trigger characters.") })),
|
|
3264
|
+
suggestSelection: register(new EditorStringEnumOption(138 /* EditorOption.suggestSelection */, 'suggestSelection', 'first', ['first', 'recentlyUsed', 'recentlyUsedByPrefix'], {
|
|
3264
3265
|
markdownEnumDescriptions: [
|
|
3265
|
-
nls.localize(
|
|
3266
|
-
nls.localize(
|
|
3267
|
-
nls.localize(
|
|
3266
|
+
nls.localize(575, "Always select the first suggestion."),
|
|
3267
|
+
nls.localize(576, "Select recent suggestions unless further typing selects one, e.g. `console.| -> console.log` because `log` has been completed recently."),
|
|
3268
|
+
nls.localize(577, "Select suggestions based on previous prefixes that have completed those suggestions, e.g. `co -> console` and `con -> const`."),
|
|
3268
3269
|
],
|
|
3269
|
-
description: nls.localize(
|
|
3270
|
+
description: nls.localize(578, "Controls how suggestions are pre-selected when showing the suggest list.")
|
|
3270
3271
|
})),
|
|
3271
|
-
tabCompletion: register(new EditorStringEnumOption(
|
|
3272
|
+
tabCompletion: register(new EditorStringEnumOption(139 /* EditorOption.tabCompletion */, 'tabCompletion', 'off', ['on', 'off', 'onlySnippets'], {
|
|
3272
3273
|
enumDescriptions: [
|
|
3273
|
-
nls.localize(
|
|
3274
|
-
nls.localize(
|
|
3275
|
-
nls.localize(
|
|
3274
|
+
nls.localize(579, "Tab complete will insert the best matching suggestion when pressing tab."),
|
|
3275
|
+
nls.localize(580, "Disable tab completions."),
|
|
3276
|
+
nls.localize(581, "Tab complete snippets when their prefix match. Works best when 'quickSuggestions' aren't enabled."),
|
|
3276
3277
|
],
|
|
3277
|
-
description: nls.localize(
|
|
3278
|
+
description: nls.localize(582, "Enables tab completions.")
|
|
3278
3279
|
})),
|
|
3279
|
-
tabIndex: register(new EditorIntOption(
|
|
3280
|
-
trimWhitespaceOnDelete: register(new EditorBooleanOption(
|
|
3280
|
+
tabIndex: register(new EditorIntOption(140 /* EditorOption.tabIndex */, 'tabIndex', 0, -1, 1073741824 /* Constants.MAX_SAFE_SMALL_INTEGER */)),
|
|
3281
|
+
trimWhitespaceOnDelete: register(new EditorBooleanOption(141 /* EditorOption.trimWhitespaceOnDelete */, 'trimWhitespaceOnDelete', false, { description: nls.localize(583, "Controls whether the editor will also delete the next line's indentation whitespace when deleting a newline.") })),
|
|
3281
3282
|
unicodeHighlight: register(new UnicodeHighlight()),
|
|
3282
|
-
unusualLineTerminators: register(new EditorStringEnumOption(
|
|
3283
|
+
unusualLineTerminators: register(new EditorStringEnumOption(143 /* EditorOption.unusualLineTerminators */, 'unusualLineTerminators', 'prompt', ['auto', 'off', 'prompt'], {
|
|
3283
3284
|
enumDescriptions: [
|
|
3284
|
-
nls.localize(
|
|
3285
|
-
nls.localize(
|
|
3286
|
-
nls.localize(
|
|
3285
|
+
nls.localize(584, "Unusual line terminators are automatically removed."),
|
|
3286
|
+
nls.localize(585, "Unusual line terminators are ignored."),
|
|
3287
|
+
nls.localize(586, "Unusual line terminators prompt to be removed."),
|
|
3287
3288
|
],
|
|
3288
|
-
description: nls.localize(
|
|
3289
|
+
description: nls.localize(587, "Remove unusual line terminators that might cause problems.")
|
|
3289
3290
|
})),
|
|
3290
|
-
useShadowDOM: register(new EditorBooleanOption(
|
|
3291
|
-
useTabStops: register(new EditorBooleanOption(
|
|
3292
|
-
wordBreak: register(new EditorStringEnumOption(
|
|
3291
|
+
useShadowDOM: register(new EditorBooleanOption(144 /* EditorOption.useShadowDOM */, 'useShadowDOM', true)),
|
|
3292
|
+
useTabStops: register(new EditorBooleanOption(145 /* EditorOption.useTabStops */, 'useTabStops', true, { description: nls.localize(588, "Spaces and tabs are inserted and deleted in alignment with tab stops.") })),
|
|
3293
|
+
wordBreak: register(new EditorStringEnumOption(146 /* EditorOption.wordBreak */, 'wordBreak', 'normal', ['normal', 'keepAll'], {
|
|
3293
3294
|
markdownEnumDescriptions: [
|
|
3294
|
-
nls.localize(
|
|
3295
|
-
nls.localize(
|
|
3295
|
+
nls.localize(589, "Use the default line break rule."),
|
|
3296
|
+
nls.localize(590, "Word breaks should not be used for Chinese/Japanese/Korean (CJK) text. Non-CJK text behavior is the same as for normal."),
|
|
3296
3297
|
],
|
|
3297
|
-
description: nls.localize(
|
|
3298
|
+
description: nls.localize(591, "Controls the word break rules used for Chinese/Japanese/Korean (CJK) text.")
|
|
3298
3299
|
})),
|
|
3299
3300
|
wordSegmenterLocales: register(new WordSegmenterLocales()),
|
|
3300
|
-
wordSeparators: register(new EditorStringOption(
|
|
3301
|
-
wordWrap: register(new EditorStringEnumOption(
|
|
3301
|
+
wordSeparators: register(new EditorStringOption(148 /* EditorOption.wordSeparators */, 'wordSeparators', USUAL_WORD_SEPARATORS, { description: nls.localize(592, "Characters that will be used as word separators when doing word related navigations or operations.") })),
|
|
3302
|
+
wordWrap: register(new EditorStringEnumOption(149 /* EditorOption.wordWrap */, 'wordWrap', 'off', ['off', 'on', 'wordWrapColumn', 'bounded'], {
|
|
3302
3303
|
markdownEnumDescriptions: [
|
|
3303
|
-
nls.localize(
|
|
3304
|
-
nls.localize(
|
|
3305
|
-
nls.localize(
|
|
3304
|
+
nls.localize(593, "Lines will never wrap."),
|
|
3305
|
+
nls.localize(594, "Lines will wrap at the viewport width."),
|
|
3306
|
+
nls.localize(595, "Lines will wrap at `#editor.wordWrapColumn#`."),
|
|
3306
3307
|
|
|
3307
3308
|
|
|
3308
3309
|
|
|
3309
3310
|
|
|
3310
3311
|
|
|
3311
|
-
nls.localize(
|
|
3312
|
+
nls.localize(596, "Lines will wrap at the minimum of viewport and `#editor.wordWrapColumn#`."),
|
|
3312
3313
|
|
|
3313
3314
|
|
|
3314
3315
|
|
|
@@ -3316,7 +3317,7 @@ export const EditorOptions = {
|
|
|
3316
3317
|
|
|
3317
3318
|
|
|
3318
3319
|
],
|
|
3319
|
-
description: nls.localize(
|
|
3320
|
+
description: nls.localize(597, "Controls how lines should wrap.")
|
|
3320
3321
|
|
|
3321
3322
|
|
|
3322
3323
|
|
|
@@ -3324,14 +3325,14 @@ export const EditorOptions = {
|
|
|
3324
3325
|
|
|
3325
3326
|
|
|
3326
3327
|
})),
|
|
3327
|
-
wordWrapBreakAfterCharacters: register(new EditorStringOption(
|
|
3328
|
+
wordWrapBreakAfterCharacters: register(new EditorStringOption(150 /* EditorOption.wordWrapBreakAfterCharacters */, 'wordWrapBreakAfterCharacters',
|
|
3328
3329
|
// allow-any-unicode-next-line
|
|
3329
3330
|
' \t})]?|/&.,;¢°′″‰℃、。。、¢,.:;?!%・・ゝゞヽヾーァィゥェォッャュョヮヵヶぁぃぅぇぉっゃゅょゎゕゖㇰㇱㇲㇳㇴㇵㇶㇷㇸㇹㇺㇻㇼㇽㇾㇿ々〻ァィゥェォャュョッー”〉》」』】〕)]}」')),
|
|
3330
|
-
wordWrapBreakBeforeCharacters: register(new EditorStringOption(
|
|
3331
|
+
wordWrapBreakBeforeCharacters: register(new EditorStringOption(151 /* EditorOption.wordWrapBreakBeforeCharacters */, 'wordWrapBreakBeforeCharacters',
|
|
3331
3332
|
// allow-any-unicode-next-line
|
|
3332
3333
|
'([{‘“〈《「『【〔([{「£¥$£¥++')),
|
|
3333
|
-
wordWrapColumn: register(new EditorIntOption(
|
|
3334
|
-
markdownDescription: nls.localize(
|
|
3334
|
+
wordWrapColumn: register(new EditorIntOption(152 /* EditorOption.wordWrapColumn */, 'wordWrapColumn', 80, 1, 1073741824 /* Constants.MAX_SAFE_SMALL_INTEGER */, {
|
|
3335
|
+
markdownDescription: nls.localize(598, "Controls the wrapping column of the editor when `#editor.wordWrap#` is `wordWrapColumn` or `bounded`.")
|
|
3335
3336
|
|
|
3336
3337
|
|
|
3337
3338
|
|
|
@@ -3339,22 +3340,22 @@ export const EditorOptions = {
|
|
|
3339
3340
|
|
|
3340
3341
|
|
|
3341
3342
|
})),
|
|
3342
|
-
wordWrapOverride1: register(new EditorStringEnumOption(
|
|
3343
|
-
wordWrapOverride2: register(new EditorStringEnumOption(
|
|
3344
|
-
wrapOnEscapedLineFeeds: register(new EditorBooleanOption(
|
|
3343
|
+
wordWrapOverride1: register(new EditorStringEnumOption(153 /* EditorOption.wordWrapOverride1 */, 'wordWrapOverride1', 'inherit', ['off', 'on', 'inherit'])),
|
|
3344
|
+
wordWrapOverride2: register(new EditorStringEnumOption(154 /* EditorOption.wordWrapOverride2 */, 'wordWrapOverride2', 'inherit', ['off', 'on', 'inherit'])),
|
|
3345
|
+
wrapOnEscapedLineFeeds: register(new EditorBooleanOption(160 /* EditorOption.wrapOnEscapedLineFeeds */, 'wrapOnEscapedLineFeeds', false, { markdownDescription: nls.localize(599, "Controls whether literal `\\n` shall trigger a wordWrap when `#editor.wordWrap#` is enabled.\n\nFor example:\n```c\nchar* str=\"hello\\nworld\"\n```\nwill be displayed as\n```c\nchar* str=\"hello\\n\n world\"\n```") })),
|
|
3345
3346
|
// Leave these at the end (because they have dependencies!)
|
|
3346
3347
|
effectiveCursorStyle: register(new EffectiveCursorStyle()),
|
|
3347
3348
|
editorClassName: register(new EditorClassName()),
|
|
3348
|
-
defaultColorDecorators: register(new EditorStringEnumOption(
|
|
3349
|
+
defaultColorDecorators: register(new EditorStringEnumOption(167 /* EditorOption.defaultColorDecorators */, 'defaultColorDecorators', 'auto', ['auto', 'always', 'never'], {
|
|
3349
3350
|
enumDescriptions: [
|
|
3350
|
-
nls.localize(
|
|
3351
|
-
nls.localize(
|
|
3352
|
-
nls.localize(
|
|
3351
|
+
nls.localize(600, "Show default color decorators only when no extension provides colors decorators."),
|
|
3352
|
+
nls.localize(601, "Always show default color decorators."),
|
|
3353
|
+
nls.localize(602, "Never show default color decorators."),
|
|
3353
3354
|
],
|
|
3354
|
-
description: nls.localize(
|
|
3355
|
+
description: nls.localize(603, "Controls whether inline color decorations should be shown using the default document color provider.")
|
|
3355
3356
|
})),
|
|
3356
3357
|
pixelRatio: register(new EditorPixelRatio()),
|
|
3357
|
-
tabFocusMode: register(new EditorBooleanOption(
|
|
3358
|
+
tabFocusMode: register(new EditorBooleanOption(164 /* EditorOption.tabFocusMode */, 'tabFocusMode', false, { markdownDescription: nls.localize(604, "Controls whether the editor receives tabs or defers them to the workbench for navigation.") })),
|
|
3358
3359
|
layoutInfo: register(new EditorLayoutInfoComputer()),
|
|
3359
3360
|
wrappingInfo: register(new EditorWrappingInfoComputer()),
|
|
3360
3361
|
wrappingIndent: register(new WrappingIndentOption()),
|