monaco-editor-core 0.58.0 → 0.59.0-dev-20261124
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.cs.js +2 -2
- 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.pl.js +2 -2
- package/esm/nls.messages.pt-br.js +2 -2
- package/esm/nls.messages.ru.js +2 -2
- package/esm/nls.messages.tr.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 +2 -0
- package/esm/vs/base/browser/ui/selectBox/selectBox.js.map +1 -1
- package/esm/vs/base/browser/ui/selectBox/selectBoxCustom.js +3 -0
- package/esm/vs/base/browser/ui/selectBox/selectBoxCustom.js.map +1 -1
- package/esm/vs/base/browser/ui/selectBox/selectBoxNative.js +4 -2
- package/esm/vs/base/browser/ui/selectBox/selectBoxNative.js.map +1 -1
- package/esm/vs/base/browser/ui/tree/abstractTree.js +27 -1
- package/esm/vs/base/browser/ui/tree/abstractTree.js.map +1 -1
- package/esm/vs/base/common/cancellation.js +3 -1
- package/esm/vs/base/common/cancellation.js.map +1 -1
- package/esm/vs/editor/browser/controller/mouseHandler.js +8 -1
- package/esm/vs/editor/browser/controller/mouseHandler.js.map +1 -1
- package/esm/vs/editor/browser/controller/mouseTarget.js +15 -6
- package/esm/vs/editor/browser/controller/mouseTarget.js.map +1 -1
- package/esm/vs/editor/browser/view.js +3 -2
- package/esm/vs/editor/browser/view.js.map +1 -1
- package/esm/vs/editor/browser/viewParts/contentWidgets/contentWidgets.js +12 -8
- package/esm/vs/editor/browser/viewParts/contentWidgets/contentWidgets.js.map +1 -1
- package/esm/vs/editor/browser/viewParts/viewLines/viewLine.js +7 -11
- package/esm/vs/editor/browser/viewParts/viewLines/viewLine.js.map +1 -1
- package/esm/vs/editor/common/config/editorOptions.js +246 -238
- package/esm/vs/editor/common/config/editorOptions.js.map +1 -1
- package/esm/vs/editor/common/core/editorColorRegistry.js +71 -71
- package/esm/vs/editor/common/editorContextKeys.js +53 -53
- 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/model/pieceTreeTextBuffer/pieceTreeBase.js +3 -1
- package/esm/vs/editor/common/model/pieceTreeTextBuffer/pieceTreeBase.js.map +1 -1
- package/esm/vs/editor/common/model/textModel.js +1 -0
- package/esm/vs/editor/common/model/textModel.js.map +1 -1
- package/esm/vs/editor/common/model.js.map +1 -1
- package/esm/vs/editor/common/standaloneStrings.js +11 -11
- package/esm/vs/editor/common/viewLayout/viewLineRenderer.js +2 -2
- 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 +17 -17
- 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/lightBulbWidget.js +9 -9
- package/esm/vs/editor/contrib/codelens/browser/codelensController.js +2 -2
- 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/hoverColorPickerParticipant.js +1 -1
- package/esm/vs/editor/contrib/colorPicker/browser/standaloneColorPicker/standaloneColorPickerActions.js +7 -7
- package/esm/vs/editor/contrib/comment/browser/comment.js +6 -6
- package/esm/vs/editor/contrib/contextmenu/browser/contextmenu.js +13 -13
- 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 +9 -9
- 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/dropOrPasteInto/browser/postEditWidget.js.map +1 -1
- 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/findWidget.js +29 -29
- package/esm/vs/editor/contrib/folding/browser/folding.css +15 -0
- package/esm/vs/editor/contrib/folding/browser/folding.js +20 -20
- package/esm/vs/editor/contrib/folding/browser/foldingDecorations.js +9 -9
- 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/goToDefinitionAtPosition.js +1 -1
- package/esm/vs/editor/contrib/gotoSymbol/browser/peek/referencesController.js +3 -3
- 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/contentHoverRendered.js +1 -1
- package/esm/vs/editor/contrib/hover/browser/contentHoverRendered.js.map +1 -1
- package/esm/vs/editor/contrib/hover/browser/contentHoverWidget.js +0 -5
- package/esm/vs/editor/contrib/hover/browser/contentHoverWidget.js.map +1 -1
- package/esm/vs/editor/contrib/hover/browser/contentHoverWidgetWrapper.js +0 -3
- package/esm/vs/editor/contrib/hover/browser/contentHoverWidgetWrapper.js.map +1 -1
- package/esm/vs/editor/contrib/hover/browser/hover.css +6 -2
- 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/hoverCopyButton.js +2 -2
- package/esm/vs/editor/contrib/hover/browser/hoverTypes.js.map +1 -1
- package/esm/vs/editor/contrib/hover/browser/markdownHoverParticipant.js +19 -39
- package/esm/vs/editor/contrib/hover/browser/markdownHoverParticipant.js.map +1 -1
- package/esm/vs/editor/contrib/hover/browser/markerHoverParticipant.js +7 -7
- 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/indentation/common/indentation.js +14 -3
- package/esm/vs/editor/contrib/indentation/common/indentation.js.map +1 -1
- package/esm/vs/editor/contrib/inlayHints/browser/inlayHintsHover.js +8 -8
- package/esm/vs/editor/contrib/inlineCompletions/browser/controller/commands.js +21 -21
- package/esm/vs/editor/contrib/inlineCompletions/browser/controller/inlineCompletionContextKeys.js +13 -13
- package/esm/vs/editor/contrib/inlineCompletions/browser/controller/inlineCompletionsController.js +6 -6
- package/esm/vs/editor/contrib/inlineCompletions/browser/hintsWidget/hoverParticipant.js +2 -2
- package/esm/vs/editor/contrib/inlineCompletions/browser/hintsWidget/inlineCompletionsHintsWidget.js +4 -4
- package/esm/vs/editor/contrib/inlineCompletions/browser/model/renameSymbolProcessor.js +2 -2
- package/esm/vs/editor/contrib/inlineCompletions/browser/view/inlineEdits/components/gutterIndicatorMenu.js +6 -6
- package/esm/vs/editor/contrib/inlineCompletions/browser/view/inlineEdits/components/gutterIndicatorView.js +1 -1
- package/esm/vs/editor/contrib/inlineCompletions/browser/view/inlineEdits/inlineEditsViews/inlineEditsWordReplacementView.js +3 -3
- package/esm/vs/editor/contrib/inlineCompletions/browser/view/inlineEdits/theme.js +20 -20
- 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 +31 -31
- package/esm/vs/editor/contrib/linkedEditing/browser/linkedEditing.js +2 -2
- package/esm/vs/editor/contrib/links/browser/links.js +11 -10
- package/esm/vs/editor/contrib/links/browser/links.js.map +1 -1
- package/esm/vs/editor/contrib/message/browser/messageController.js +1 -1
- package/esm/vs/editor/contrib/multicursor/browser/multicursor.js +22 -22
- package/esm/vs/editor/contrib/parameterHints/browser/parameterHints.js +1 -1
- 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/quickAccess/browser/editorNavigationQuickAccess.js +1 -1
- package/esm/vs/editor/contrib/quickAccess/browser/gotoLineQuickAccess.js +12 -12
- package/esm/vs/editor/contrib/quickAccess/browser/gotoSymbolQuickAccess.js +32 -32
- package/esm/vs/editor/contrib/readOnlyMessage/browser/contribution.js +2 -2
- 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 +4 -4
- package/esm/vs/editor/contrib/snippet/browser/snippetController2.js +5 -5
- 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/suggest/browser/suggest.js +9 -9
- package/esm/vs/editor/contrib/suggest/browser/suggestController.js +11 -11
- package/esm/vs/editor/contrib/suggest/browser/suggestModel.js +93 -38
- package/esm/vs/editor/contrib/suggest/browser/suggestModel.js.map +1 -1
- package/esm/vs/editor/contrib/suggest/browser/suggestWidget.js +18 -18
- package/esm/vs/editor/contrib/suggest/browser/suggestWidgetDetails.js +3 -3
- package/esm/vs/editor/contrib/suggest/browser/suggestWidgetRenderer.js +2 -2
- package/esm/vs/editor/contrib/suggest/browser/wordContextKey.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 +24 -24
- package/esm/vs/editor/contrib/unusualLineTerminators/browser/unusualLineTerminators.js +5 -5
- package/esm/vs/editor/contrib/wordHighlighter/browser/highlightDecorations.js +9 -9
- package/esm/vs/editor/contrib/wordHighlighter/browser/wordHighlighter.js +3 -3
- package/esm/vs/editor/contrib/wordOperations/browser/wordOperations.js +3 -3
- package/esm/vs/editor/editor.api.d.ts +5 -0
- package/esm/vs/platform/accessibilitySignal/browser/accessibilitySignalService.js +68 -68
- package/esm/vs/platform/action/common/actionCommonCategories.js +6 -6
- package/esm/vs/platform/actionWidget/browser/actionList.js +30 -31
- package/esm/vs/platform/actionWidget/browser/actionList.js.map +1 -1
- package/esm/vs/platform/actionWidget/browser/actionWidget.css +1 -1
- package/esm/vs/platform/actionWidget/browser/actionWidget.js +12 -12
- package/esm/vs/platform/actions/browser/menuEntryActionViewItem.js +3 -3
- 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/configurationModels.js +15 -3
- package/esm/vs/platform/configuration/common/configurationModels.js.map +1 -1
- package/esm/vs/platform/configuration/common/configurationRegistry.js +12 -12
- 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 +10 -10
- package/esm/vs/platform/contextkey/common/scanner.js +5 -5
- package/esm/vs/platform/history/browser/contextScopedHistoryWidget.js +1 -1
- package/esm/vs/platform/hover/browser/hoverWidget.js +1 -1
- package/esm/vs/platform/hover/browser/updatableHoverWidget.js +1 -1
- package/esm/vs/platform/keybinding/common/abstractKeybindingService.js +5 -5
- 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 +8 -8
- package/esm/vs/platform/quickinput/browser/helpQuickAccess.js +1 -1
- package/esm/vs/platform/quickinput/browser/quickInput.js +10 -10
- package/esm/vs/platform/quickinput/browser/quickInputActions.js +5 -5
- package/esm/vs/platform/quickinput/browser/quickInputController.js +6 -6
- 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/quickTree.js +1 -1
- package/esm/vs/platform/theme/common/colorUtils.js +2 -2
- package/esm/vs/platform/theme/common/colors/baseColors.js +19 -19
- package/esm/vs/platform/theme/common/colors/chartsColors.js +8 -8
- package/esm/vs/platform/theme/common/colors/confettiColors.js +6 -6
- package/esm/vs/platform/theme/common/colors/editorColors.js +95 -95
- package/esm/vs/platform/theme/common/colors/inputColors.js +48 -48
- 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 +16 -16
- package/esm/vs/platform/theme/common/colors/quickpickColors.js +10 -10
- 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 +5 -0
- package/package.json +3 -3
|
@@ -2597,6 +2597,7 @@ class EditorSuggest extends BaseEditorOption {
|
|
|
2597
2597
|
localityBonus: false,
|
|
2598
2598
|
shareSuggestSelections: false,
|
|
2599
2599
|
selectionMode: 'always',
|
|
2600
|
+
reopenOnDelete: false,
|
|
2600
2601
|
showIcons: true,
|
|
2601
2602
|
showStatusBar: false,
|
|
2602
2603
|
preview: false,
|
|
@@ -2676,179 +2677,185 @@ class EditorSuggest extends BaseEditorOption {
|
|
|
2676
2677
|
default: defaults.snippetsPreventQuickSuggestions,
|
|
2677
2678
|
description: nls.localize(418, "Controls whether an active snippet prevents quick suggestions.")
|
|
2678
2679
|
},
|
|
2680
|
+
'editor.suggest.reopenOnDelete': {
|
|
2681
|
+
type: 'boolean',
|
|
2682
|
+
default: defaults.reopenOnDelete,
|
|
2683
|
+
tags: ['advanced'],
|
|
2684
|
+
description: nls.localize(419, "Controls whether Backspace shows suggestions again after they closed because nothing matched what was typed, and keeps them open when it deletes back to a trigger character.")
|
|
2685
|
+
},
|
|
2679
2686
|
'editor.suggest.showIcons': {
|
|
2680
2687
|
type: 'boolean',
|
|
2681
2688
|
default: defaults.showIcons,
|
|
2682
|
-
description: nls.localize(
|
|
2689
|
+
description: nls.localize(420, "Controls whether to show or hide icons in suggestions.")
|
|
2683
2690
|
},
|
|
2684
2691
|
'editor.suggest.showStatusBar': {
|
|
2685
2692
|
type: 'boolean',
|
|
2686
2693
|
default: defaults.showStatusBar,
|
|
2687
|
-
description: nls.localize(
|
|
2694
|
+
description: nls.localize(421, "Controls the visibility of the status bar at the bottom of the suggest widget.")
|
|
2688
2695
|
},
|
|
2689
2696
|
'editor.suggest.preview': {
|
|
2690
2697
|
type: 'boolean',
|
|
2691
2698
|
default: defaults.preview,
|
|
2692
|
-
description: nls.localize(
|
|
2699
|
+
description: nls.localize(422, "Controls whether to preview the suggestion outcome in the editor.")
|
|
2693
2700
|
},
|
|
2694
2701
|
'editor.suggest.showInlineDetails': {
|
|
2695
2702
|
type: 'boolean',
|
|
2696
2703
|
default: defaults.showInlineDetails,
|
|
2697
|
-
description: nls.localize(
|
|
2704
|
+
description: nls.localize(423, "Controls whether suggest details show inline with the label or only in the details widget.")
|
|
2698
2705
|
},
|
|
2699
2706
|
'editor.suggest.filteredTypes': {
|
|
2700
2707
|
type: 'object',
|
|
2701
|
-
deprecationMessage: nls.localize(
|
|
2708
|
+
deprecationMessage: nls.localize(424, "This setting is deprecated, please use separate settings like 'editor.suggest.showKeywords' or 'editor.suggest.showSnippets' instead.")
|
|
2702
2709
|
},
|
|
2703
2710
|
'editor.suggest.showMethods': {
|
|
2704
2711
|
type: 'boolean',
|
|
2705
2712
|
default: true,
|
|
2706
|
-
markdownDescription: nls.localize(
|
|
2713
|
+
markdownDescription: nls.localize(425, "When enabled IntelliSense shows `method`-suggestions.")
|
|
2707
2714
|
},
|
|
2708
2715
|
'editor.suggest.showFunctions': {
|
|
2709
2716
|
type: 'boolean',
|
|
2710
2717
|
default: true,
|
|
2711
|
-
markdownDescription: nls.localize(
|
|
2718
|
+
markdownDescription: nls.localize(426, "When enabled IntelliSense shows `function`-suggestions.")
|
|
2712
2719
|
},
|
|
2713
2720
|
'editor.suggest.showConstructors': {
|
|
2714
2721
|
type: 'boolean',
|
|
2715
2722
|
default: true,
|
|
2716
|
-
markdownDescription: nls.localize(
|
|
2723
|
+
markdownDescription: nls.localize(427, "When enabled IntelliSense shows `constructor`-suggestions.")
|
|
2717
2724
|
},
|
|
2718
2725
|
'editor.suggest.showDeprecated': {
|
|
2719
2726
|
type: 'boolean',
|
|
2720
2727
|
default: true,
|
|
2721
|
-
markdownDescription: nls.localize(
|
|
2728
|
+
markdownDescription: nls.localize(428, "When enabled IntelliSense shows `deprecated`-suggestions.")
|
|
2722
2729
|
},
|
|
2723
2730
|
'editor.suggest.matchOnWordStartOnly': {
|
|
2724
2731
|
type: 'boolean',
|
|
2725
2732
|
default: true,
|
|
2726
|
-
markdownDescription: nls.localize(
|
|
2733
|
+
markdownDescription: nls.localize(429, "When enabled IntelliSense filtering requires that the first character matches on a word start. For example, `c` on `Console` or `WebContext` but _not_ on `description`. When disabled IntelliSense will show more results but still sorts them by match quality.")
|
|
2727
2734
|
},
|
|
2728
2735
|
'editor.suggest.showFields': {
|
|
2729
2736
|
type: 'boolean',
|
|
2730
2737
|
default: true,
|
|
2731
|
-
markdownDescription: nls.localize(
|
|
2738
|
+
markdownDescription: nls.localize(430, "When enabled IntelliSense shows `field`-suggestions.")
|
|
2732
2739
|
},
|
|
2733
2740
|
'editor.suggest.showVariables': {
|
|
2734
2741
|
type: 'boolean',
|
|
2735
2742
|
default: true,
|
|
2736
|
-
markdownDescription: nls.localize(
|
|
2743
|
+
markdownDescription: nls.localize(431, "When enabled IntelliSense shows `variable`-suggestions.")
|
|
2737
2744
|
},
|
|
2738
2745
|
'editor.suggest.showClasses': {
|
|
2739
2746
|
type: 'boolean',
|
|
2740
2747
|
default: true,
|
|
2741
|
-
markdownDescription: nls.localize(
|
|
2748
|
+
markdownDescription: nls.localize(432, "When enabled IntelliSense shows `class`-suggestions.")
|
|
2742
2749
|
},
|
|
2743
2750
|
'editor.suggest.showStructs': {
|
|
2744
2751
|
type: 'boolean',
|
|
2745
2752
|
default: true,
|
|
2746
|
-
markdownDescription: nls.localize(
|
|
2753
|
+
markdownDescription: nls.localize(433, "When enabled IntelliSense shows `struct`-suggestions.")
|
|
2747
2754
|
},
|
|
2748
2755
|
'editor.suggest.showInterfaces': {
|
|
2749
2756
|
type: 'boolean',
|
|
2750
2757
|
default: true,
|
|
2751
|
-
markdownDescription: nls.localize(
|
|
2758
|
+
markdownDescription: nls.localize(434, "When enabled IntelliSense shows `interface`-suggestions.")
|
|
2752
2759
|
},
|
|
2753
2760
|
'editor.suggest.showModules': {
|
|
2754
2761
|
type: 'boolean',
|
|
2755
2762
|
default: true,
|
|
2756
|
-
markdownDescription: nls.localize(
|
|
2763
|
+
markdownDescription: nls.localize(435, "When enabled IntelliSense shows `module`-suggestions.")
|
|
2757
2764
|
},
|
|
2758
2765
|
'editor.suggest.showProperties': {
|
|
2759
2766
|
type: 'boolean',
|
|
2760
2767
|
default: true,
|
|
2761
|
-
markdownDescription: nls.localize(
|
|
2768
|
+
markdownDescription: nls.localize(436, "When enabled IntelliSense shows `property`-suggestions.")
|
|
2762
2769
|
},
|
|
2763
2770
|
'editor.suggest.showEvents': {
|
|
2764
2771
|
type: 'boolean',
|
|
2765
2772
|
default: true,
|
|
2766
|
-
markdownDescription: nls.localize(
|
|
2773
|
+
markdownDescription: nls.localize(437, "When enabled IntelliSense shows `event`-suggestions.")
|
|
2767
2774
|
},
|
|
2768
2775
|
'editor.suggest.showOperators': {
|
|
2769
2776
|
type: 'boolean',
|
|
2770
2777
|
default: true,
|
|
2771
|
-
markdownDescription: nls.localize(
|
|
2778
|
+
markdownDescription: nls.localize(438, "When enabled IntelliSense shows `operator`-suggestions.")
|
|
2772
2779
|
},
|
|
2773
2780
|
'editor.suggest.showUnits': {
|
|
2774
2781
|
type: 'boolean',
|
|
2775
2782
|
default: true,
|
|
2776
|
-
markdownDescription: nls.localize(
|
|
2783
|
+
markdownDescription: nls.localize(439, "When enabled IntelliSense shows `unit`-suggestions.")
|
|
2777
2784
|
},
|
|
2778
2785
|
'editor.suggest.showValues': {
|
|
2779
2786
|
type: 'boolean',
|
|
2780
2787
|
default: true,
|
|
2781
|
-
markdownDescription: nls.localize(
|
|
2788
|
+
markdownDescription: nls.localize(440, "When enabled IntelliSense shows `value`-suggestions.")
|
|
2782
2789
|
},
|
|
2783
2790
|
'editor.suggest.showConstants': {
|
|
2784
2791
|
type: 'boolean',
|
|
2785
2792
|
default: true,
|
|
2786
|
-
markdownDescription: nls.localize(
|
|
2793
|
+
markdownDescription: nls.localize(441, "When enabled IntelliSense shows `constant`-suggestions.")
|
|
2787
2794
|
},
|
|
2788
2795
|
'editor.suggest.showEnums': {
|
|
2789
2796
|
type: 'boolean',
|
|
2790
2797
|
default: true,
|
|
2791
|
-
markdownDescription: nls.localize(
|
|
2798
|
+
markdownDescription: nls.localize(442, "When enabled IntelliSense shows `enum`-suggestions.")
|
|
2792
2799
|
},
|
|
2793
2800
|
'editor.suggest.showEnumMembers': {
|
|
2794
2801
|
type: 'boolean',
|
|
2795
2802
|
default: true,
|
|
2796
|
-
markdownDescription: nls.localize(
|
|
2803
|
+
markdownDescription: nls.localize(443, "When enabled IntelliSense shows `enumMember`-suggestions.")
|
|
2797
2804
|
},
|
|
2798
2805
|
'editor.suggest.showKeywords': {
|
|
2799
2806
|
type: 'boolean',
|
|
2800
2807
|
default: true,
|
|
2801
|
-
markdownDescription: nls.localize(
|
|
2808
|
+
markdownDescription: nls.localize(444, "When enabled IntelliSense shows `keyword`-suggestions.")
|
|
2802
2809
|
},
|
|
2803
2810
|
'editor.suggest.showWords': {
|
|
2804
2811
|
type: 'boolean',
|
|
2805
2812
|
default: true,
|
|
2806
|
-
markdownDescription: nls.localize(
|
|
2813
|
+
markdownDescription: nls.localize(445, "When enabled IntelliSense shows `text`-suggestions.")
|
|
2807
2814
|
},
|
|
2808
2815
|
'editor.suggest.showColors': {
|
|
2809
2816
|
type: 'boolean',
|
|
2810
2817
|
default: true,
|
|
2811
|
-
markdownDescription: nls.localize(
|
|
2818
|
+
markdownDescription: nls.localize(446, "When enabled IntelliSense shows `color`-suggestions.")
|
|
2812
2819
|
},
|
|
2813
2820
|
'editor.suggest.showFiles': {
|
|
2814
2821
|
type: 'boolean',
|
|
2815
2822
|
default: true,
|
|
2816
|
-
markdownDescription: nls.localize(
|
|
2823
|
+
markdownDescription: nls.localize(447, "When enabled IntelliSense shows `file`-suggestions.")
|
|
2817
2824
|
},
|
|
2818
2825
|
'editor.suggest.showReferences': {
|
|
2819
2826
|
type: 'boolean',
|
|
2820
2827
|
default: true,
|
|
2821
|
-
markdownDescription: nls.localize(
|
|
2828
|
+
markdownDescription: nls.localize(448, "When enabled IntelliSense shows `reference`-suggestions.")
|
|
2822
2829
|
},
|
|
2823
2830
|
'editor.suggest.showCustomcolors': {
|
|
2824
2831
|
type: 'boolean',
|
|
2825
2832
|
default: true,
|
|
2826
|
-
markdownDescription: nls.localize(
|
|
2833
|
+
markdownDescription: nls.localize(449, "When enabled IntelliSense shows `customcolor`-suggestions.")
|
|
2827
2834
|
},
|
|
2828
2835
|
'editor.suggest.showFolders': {
|
|
2829
2836
|
type: 'boolean',
|
|
2830
2837
|
default: true,
|
|
2831
|
-
markdownDescription: nls.localize(
|
|
2838
|
+
markdownDescription: nls.localize(450, "When enabled IntelliSense shows `folder`-suggestions.")
|
|
2832
2839
|
},
|
|
2833
2840
|
'editor.suggest.showTypeParameters': {
|
|
2834
2841
|
type: 'boolean',
|
|
2835
2842
|
default: true,
|
|
2836
|
-
markdownDescription: nls.localize(
|
|
2843
|
+
markdownDescription: nls.localize(451, "When enabled IntelliSense shows `typeParameter`-suggestions.")
|
|
2837
2844
|
},
|
|
2838
2845
|
'editor.suggest.showSnippets': {
|
|
2839
2846
|
type: 'boolean',
|
|
2840
2847
|
default: true,
|
|
2841
|
-
markdownDescription: nls.localize(
|
|
2848
|
+
markdownDescription: nls.localize(452, "When enabled IntelliSense shows `snippet`-suggestions.")
|
|
2842
2849
|
},
|
|
2843
2850
|
'editor.suggest.showUsers': {
|
|
2844
2851
|
type: 'boolean',
|
|
2845
2852
|
default: true,
|
|
2846
|
-
markdownDescription: nls.localize(
|
|
2853
|
+
markdownDescription: nls.localize(453, "When enabled IntelliSense shows `user`-suggestions.")
|
|
2847
2854
|
},
|
|
2848
2855
|
'editor.suggest.showIssues': {
|
|
2849
2856
|
type: 'boolean',
|
|
2850
2857
|
default: true,
|
|
2851
|
-
markdownDescription: nls.localize(
|
|
2858
|
+
markdownDescription: nls.localize(454, "When enabled IntelliSense shows `issues`-suggestions.")
|
|
2852
2859
|
}
|
|
2853
2860
|
});
|
|
2854
2861
|
}
|
|
@@ -2864,6 +2871,7 @@ class EditorSuggest extends BaseEditorOption {
|
|
|
2864
2871
|
localityBonus: boolean(input.localityBonus, this.defaultValue.localityBonus),
|
|
2865
2872
|
shareSuggestSelections: boolean(input.shareSuggestSelections, this.defaultValue.shareSuggestSelections),
|
|
2866
2873
|
selectionMode: stringSet(input.selectionMode, this.defaultValue.selectionMode, ['always', 'never', 'whenQuickSuggestion', 'whenTriggerCharacter']),
|
|
2874
|
+
reopenOnDelete: boolean(input.reopenOnDelete, this.defaultValue.reopenOnDelete),
|
|
2867
2875
|
showIcons: boolean(input.showIcons, this.defaultValue.showIcons),
|
|
2868
2876
|
showStatusBar: boolean(input.showStatusBar, this.defaultValue.showStatusBar),
|
|
2869
2877
|
preview: boolean(input.preview, this.defaultValue.preview),
|
|
@@ -2909,12 +2917,12 @@ class SmartSelect extends BaseEditorOption {
|
|
|
2909
2917
|
selectSubwords: true,
|
|
2910
2918
|
}, {
|
|
2911
2919
|
'editor.smartSelect.selectLeadingAndTrailingWhitespace': {
|
|
2912
|
-
description: nls.localize(
|
|
2920
|
+
description: nls.localize(455, "Whether leading and trailing whitespace should always be selected."),
|
|
2913
2921
|
default: true,
|
|
2914
2922
|
type: 'boolean'
|
|
2915
2923
|
},
|
|
2916
2924
|
'editor.smartSelect.selectSubwords': {
|
|
2917
|
-
description: nls.localize(
|
|
2925
|
+
description: nls.localize(456, "Whether subwords (like 'foo' in 'fooBar' or 'foo_bar') should be selected."),
|
|
2918
2926
|
default: true,
|
|
2919
2927
|
type: 'boolean'
|
|
2920
2928
|
}
|
|
@@ -2934,7 +2942,7 @@ class SmartSelect extends BaseEditorOption {
|
|
|
2934
2942
|
//#region tabFocusMode
|
|
2935
2943
|
class EditorTabFocusMode extends EditorBooleanOption {
|
|
2936
2944
|
constructor() {
|
|
2937
|
-
super(168 /* EditorOption.tabFocusMode */, 'tabFocusMode', false, { markdownDescription: nls.localize(
|
|
2945
|
+
super(168 /* EditorOption.tabFocusMode */, 'tabFocusMode', false, { markdownDescription: nls.localize(457, "Controls whether the editor receives tabs or defers them to the workbench for navigation.") });
|
|
2938
2946
|
}
|
|
2939
2947
|
compute(env, options, value) {
|
|
2940
2948
|
return env.tabFocusMode;
|
|
@@ -2961,7 +2969,7 @@ class WordSegmenterLocales extends BaseEditorOption {
|
|
|
2961
2969
|
}
|
|
2962
2970
|
}
|
|
2963
2971
|
],
|
|
2964
|
-
description: nls.localize(
|
|
2972
|
+
description: nls.localize(458, "Locales to be used for word segmentation when doing word related navigations or operations. Specify the BCP 47 language tag of the word you wish to recognize (e.g., ja, zh-CN, zh-Hant-TW, etc.)."),
|
|
2965
2973
|
type: 'array',
|
|
2966
2974
|
items: {
|
|
2967
2975
|
type: 'string',
|
|
@@ -2999,12 +3007,12 @@ class WrappingIndentOption extends BaseEditorOption {
|
|
|
2999
3007
|
type: 'string',
|
|
3000
3008
|
enum: ['none', 'same', 'indent', 'deepIndent'],
|
|
3001
3009
|
enumDescriptions: [
|
|
3002
|
-
nls.localize(
|
|
3003
|
-
nls.localize(
|
|
3004
|
-
nls.localize(
|
|
3005
|
-
nls.localize(
|
|
3010
|
+
nls.localize(459, "No indentation. Wrapped lines begin at column 1."),
|
|
3011
|
+
nls.localize(460, "Wrapped lines get the same indentation as the parent."),
|
|
3012
|
+
nls.localize(461, "Wrapped lines get +1 indentation toward the parent."),
|
|
3013
|
+
nls.localize(462, "Wrapped lines get +2 indentation toward the parent."),
|
|
3006
3014
|
],
|
|
3007
|
-
description: nls.localize(
|
|
3015
|
+
description: nls.localize(463, "Controls the indentation of wrapped lines."),
|
|
3008
3016
|
default: 'same'
|
|
3009
3017
|
}
|
|
3010
3018
|
});
|
|
@@ -3054,18 +3062,18 @@ class EditorDropIntoEditor extends BaseEditorOption {
|
|
|
3054
3062
|
'editor.dropIntoEditor.enabled': {
|
|
3055
3063
|
type: 'boolean',
|
|
3056
3064
|
default: defaults.enabled,
|
|
3057
|
-
markdownDescription: nls.localize(
|
|
3065
|
+
markdownDescription: nls.localize(464, "Controls whether you can drag and drop a file into a text editor by holding down the `Shift` key (instead of opening the file in an editor)."),
|
|
3058
3066
|
},
|
|
3059
3067
|
'editor.dropIntoEditor.showDropSelector': {
|
|
3060
3068
|
type: 'string',
|
|
3061
|
-
markdownDescription: nls.localize(
|
|
3069
|
+
markdownDescription: nls.localize(465, "Controls if a widget is shown when dropping files into the editor. This widget lets you control how the file is dropped."),
|
|
3062
3070
|
enum: [
|
|
3063
3071
|
'afterDrop',
|
|
3064
3072
|
'never'
|
|
3065
3073
|
],
|
|
3066
3074
|
enumDescriptions: [
|
|
3067
|
-
nls.localize(
|
|
3068
|
-
nls.localize(
|
|
3075
|
+
nls.localize(466, "Show the drop selector widget after a file is dropped into the editor."),
|
|
3076
|
+
nls.localize(467, "Never show the drop selector widget. Instead the default drop provider is always used."),
|
|
3069
3077
|
],
|
|
3070
3078
|
default: 'afterDrop',
|
|
3071
3079
|
},
|
|
@@ -3089,18 +3097,18 @@ class EditorPasteAs extends BaseEditorOption {
|
|
|
3089
3097
|
'editor.pasteAs.enabled': {
|
|
3090
3098
|
type: 'boolean',
|
|
3091
3099
|
default: defaults.enabled,
|
|
3092
|
-
markdownDescription: nls.localize(
|
|
3100
|
+
markdownDescription: nls.localize(468, "Controls whether you can paste content in different ways."),
|
|
3093
3101
|
},
|
|
3094
3102
|
'editor.pasteAs.showPasteSelector': {
|
|
3095
3103
|
type: 'string',
|
|
3096
|
-
markdownDescription: nls.localize(
|
|
3104
|
+
markdownDescription: nls.localize(469, "Controls if a widget is shown when pasting content in to the editor. This widget lets you control how the file is pasted."),
|
|
3097
3105
|
enum: [
|
|
3098
3106
|
'afterPaste',
|
|
3099
3107
|
'never'
|
|
3100
3108
|
],
|
|
3101
3109
|
enumDescriptions: [
|
|
3102
|
-
nls.localize(
|
|
3103
|
-
nls.localize(
|
|
3110
|
+
nls.localize(470, "Show the paste selector widget after content is pasted into the editor."),
|
|
3111
|
+
nls.localize(471, "Never show the paste selector widget. Instead the default pasting behavior is always used."),
|
|
3104
3112
|
],
|
|
3105
3113
|
default: 'afterPaste',
|
|
3106
3114
|
},
|
|
@@ -3127,245 +3135,245 @@ function register(option) {
|
|
|
3127
3135
|
return option;
|
|
3128
3136
|
}
|
|
3129
3137
|
export const EditorOptions = {
|
|
3130
|
-
acceptSuggestionOnCommitCharacter: register(new EditorBooleanOption(0 /* EditorOption.acceptSuggestionOnCommitCharacter */, 'acceptSuggestionOnCommitCharacter', true, { markdownDescription: nls.localize(
|
|
3138
|
+
acceptSuggestionOnCommitCharacter: register(new EditorBooleanOption(0 /* EditorOption.acceptSuggestionOnCommitCharacter */, 'acceptSuggestionOnCommitCharacter', true, { markdownDescription: nls.localize(472, "Controls whether suggestions should be accepted on commit characters. For example, in JavaScript, the semi-colon (`;`) can be a commit character that accepts a suggestion and types that character.") })),
|
|
3131
3139
|
acceptSuggestionOnEnter: register(new EditorStringEnumOption(1 /* EditorOption.acceptSuggestionOnEnter */, 'acceptSuggestionOnEnter', 'on', ['on', 'smart', 'off'], {
|
|
3132
3140
|
markdownEnumDescriptions: [
|
|
3133
3141
|
'',
|
|
3134
|
-
nls.localize(
|
|
3142
|
+
nls.localize(473, "Only accept a suggestion with `Enter` when it makes a textual change."),
|
|
3135
3143
|
''
|
|
3136
3144
|
],
|
|
3137
|
-
markdownDescription: nls.localize(
|
|
3145
|
+
markdownDescription: nls.localize(474, "Controls whether suggestions should be accepted on `Enter`, in addition to `Tab`. Helps to avoid ambiguity between inserting new lines or accepting suggestions.")
|
|
3138
3146
|
})),
|
|
3139
3147
|
accessibilitySupport: register(new EditorAccessibilitySupport()),
|
|
3140
3148
|
accessibilityPageSize: register(new EditorIntOption(3 /* EditorOption.accessibilityPageSize */, 'accessibilityPageSize', 500, 1, 1073741824 /* Constants.MAX_SAFE_SMALL_INTEGER */, {
|
|
3141
|
-
description: nls.localize(
|
|
3149
|
+
description: nls.localize(475, "Controls the number of lines in the editor that can be read out by a screen reader at once. When we detect a screen reader we automatically set the default to be 500. Warning: this has a performance implication for numbers larger than the default."),
|
|
3142
3150
|
tags: ['accessibility']
|
|
3143
3151
|
})),
|
|
3144
3152
|
allowOverflow: register(new EditorBooleanOption(4 /* EditorOption.allowOverflow */, 'allowOverflow', true)),
|
|
3145
3153
|
allowVariableLineHeights: register(new EditorBooleanOption(5 /* EditorOption.allowVariableLineHeights */, 'allowVariableLineHeights', true, {
|
|
3146
|
-
description: nls.localize(
|
|
3154
|
+
description: nls.localize(476, "Controls whether to allow using variable line heights in the editor.")
|
|
3147
3155
|
})),
|
|
3148
3156
|
allowVariableFonts: register(new EditorBooleanOption(6 /* EditorOption.allowVariableFonts */, 'allowVariableFonts', true, {
|
|
3149
|
-
description: nls.localize(
|
|
3157
|
+
description: nls.localize(477, "Controls whether to allow using variable fonts in the editor.")
|
|
3150
3158
|
})),
|
|
3151
3159
|
allowVariableFontsInAccessibilityMode: register(new EditorBooleanOption(7 /* EditorOption.allowVariableFontsInAccessibilityMode */, 'allowVariableFontsInAccessibilityMode', false, {
|
|
3152
|
-
description: nls.localize(
|
|
3160
|
+
description: nls.localize(478, "Controls whether to allow using variable fonts in the editor in the accessibility mode."),
|
|
3153
3161
|
tags: ['accessibility']
|
|
3154
3162
|
})),
|
|
3155
|
-
ariaLabel: register(new EditorStringOption(8 /* EditorOption.ariaLabel */, 'ariaLabel', nls.localize(
|
|
3163
|
+
ariaLabel: register(new EditorStringOption(8 /* EditorOption.ariaLabel */, 'ariaLabel', nls.localize(479, "Editor content"))),
|
|
3156
3164
|
ariaRequired: register(new EditorBooleanOption(9 /* EditorOption.ariaRequired */, 'ariaRequired', false, undefined)),
|
|
3157
3165
|
screenReaderAnnounceInlineSuggestion: register(new EditorBooleanOption(12 /* EditorOption.screenReaderAnnounceInlineSuggestion */, 'screenReaderAnnounceInlineSuggestion', true, {
|
|
3158
|
-
description: nls.localize(
|
|
3166
|
+
description: nls.localize(480, "Control whether inline suggestions are announced by a screen reader."),
|
|
3159
3167
|
tags: ['accessibility']
|
|
3160
3168
|
})),
|
|
3161
3169
|
autoClosingBrackets: register(new EditorStringEnumOption(10 /* EditorOption.autoClosingBrackets */, 'autoClosingBrackets', 'languageDefined', ['always', 'languageDefined', 'beforeWhitespace', 'never'], {
|
|
3162
3170
|
enumDescriptions: [
|
|
3163
3171
|
'',
|
|
3164
|
-
nls.localize(
|
|
3165
|
-
nls.localize(
|
|
3172
|
+
nls.localize(481, "Use language configurations to determine when to autoclose brackets."),
|
|
3173
|
+
nls.localize(482, "Autoclose brackets only when the cursor is to the left of whitespace."),
|
|
3166
3174
|
'',
|
|
3167
3175
|
],
|
|
3168
|
-
description: nls.localize(
|
|
3176
|
+
description: nls.localize(483, "Controls whether the editor should automatically close brackets after the user adds an opening bracket.")
|
|
3169
3177
|
})),
|
|
3170
3178
|
autoClosingComments: register(new EditorStringEnumOption(11 /* EditorOption.autoClosingComments */, 'autoClosingComments', 'languageDefined', ['always', 'languageDefined', 'beforeWhitespace', 'never'], {
|
|
3171
3179
|
enumDescriptions: [
|
|
3172
3180
|
'',
|
|
3173
|
-
nls.localize(
|
|
3174
|
-
nls.localize(
|
|
3181
|
+
nls.localize(484, "Use language configurations to determine when to autoclose comments."),
|
|
3182
|
+
nls.localize(485, "Autoclose comments only when the cursor is to the left of whitespace."),
|
|
3175
3183
|
'',
|
|
3176
3184
|
],
|
|
3177
|
-
description: nls.localize(
|
|
3185
|
+
description: nls.localize(486, "Controls whether the editor should automatically close comments after the user adds an opening comment.")
|
|
3178
3186
|
})),
|
|
3179
3187
|
autoClosingDelete: register(new EditorStringEnumOption(13 /* EditorOption.autoClosingDelete */, 'autoClosingDelete', 'auto', ['always', 'auto', 'never'], {
|
|
3180
3188
|
enumDescriptions: [
|
|
3181
3189
|
'',
|
|
3182
|
-
nls.localize(
|
|
3190
|
+
nls.localize(487, "Remove adjacent closing quotes or brackets only if they were automatically inserted."),
|
|
3183
3191
|
'',
|
|
3184
3192
|
],
|
|
3185
|
-
description: nls.localize(
|
|
3193
|
+
description: nls.localize(488, "Controls whether the editor should remove adjacent closing quotes or brackets when deleting.")
|
|
3186
3194
|
})),
|
|
3187
3195
|
autoClosingOvertype: register(new EditorStringEnumOption(14 /* EditorOption.autoClosingOvertype */, 'autoClosingOvertype', 'auto', ['always', 'auto', 'never'], {
|
|
3188
3196
|
enumDescriptions: [
|
|
3189
3197
|
'',
|
|
3190
|
-
nls.localize(
|
|
3198
|
+
nls.localize(489, "Type over closing quotes or brackets only if they were automatically inserted."),
|
|
3191
3199
|
'',
|
|
3192
3200
|
],
|
|
3193
|
-
description: nls.localize(
|
|
3201
|
+
description: nls.localize(490, "Controls whether the editor should type over closing quotes or brackets.")
|
|
3194
3202
|
})),
|
|
3195
3203
|
autoClosingQuotes: register(new EditorStringEnumOption(15 /* EditorOption.autoClosingQuotes */, 'autoClosingQuotes', 'languageDefined', ['always', 'languageDefined', 'beforeWhitespace', 'never'], {
|
|
3196
3204
|
enumDescriptions: [
|
|
3197
3205
|
'',
|
|
3198
|
-
nls.localize(
|
|
3199
|
-
nls.localize(
|
|
3206
|
+
nls.localize(491, "Use language configurations to determine when to autoclose quotes."),
|
|
3207
|
+
nls.localize(492, "Autoclose quotes only when the cursor is to the left of whitespace."),
|
|
3200
3208
|
'',
|
|
3201
3209
|
],
|
|
3202
|
-
description: nls.localize(
|
|
3210
|
+
description: nls.localize(493, "Controls whether the editor should automatically close quotes after the user adds an opening quote.")
|
|
3203
3211
|
})),
|
|
3204
3212
|
autoIndent: register(new EditorEnumOption(16 /* EditorOption.autoIndent */, 'autoIndent', 4 /* EditorAutoIndentStrategy.Full */, 'full', ['none', 'keep', 'brackets', 'advanced', 'full'], _autoIndentFromString, {
|
|
3205
3213
|
enumDescriptions: [
|
|
3206
|
-
nls.localize(
|
|
3207
|
-
nls.localize(
|
|
3208
|
-
nls.localize(
|
|
3209
|
-
nls.localize(
|
|
3210
|
-
nls.localize(
|
|
3214
|
+
nls.localize(494, "The editor will not insert indentation automatically."),
|
|
3215
|
+
nls.localize(495, "The editor will keep the current line's indentation."),
|
|
3216
|
+
nls.localize(496, "The editor will keep the current line's indentation and honor language defined brackets."),
|
|
3217
|
+
nls.localize(497, "The editor will keep the current line's indentation, honor language defined brackets and invoke special onEnterRules defined by languages."),
|
|
3218
|
+
nls.localize(498, "The editor will keep the current line's indentation, honor language defined brackets, invoke special onEnterRules defined by languages, and honor indentationRules defined by languages."),
|
|
3211
3219
|
],
|
|
3212
|
-
description: nls.localize(
|
|
3220
|
+
description: nls.localize(499, "Controls whether the editor should automatically adjust the indentation when users type, paste, move or indent lines.")
|
|
3213
3221
|
})),
|
|
3214
|
-
autoIndentOnPaste: register(new EditorBooleanOption(17 /* EditorOption.autoIndentOnPaste */, 'autoIndentOnPaste', false, { description: nls.localize(
|
|
3215
|
-
autoIndentOnPasteWithinString: register(new EditorBooleanOption(18 /* EditorOption.autoIndentOnPasteWithinString */, 'autoIndentOnPasteWithinString', true, { description: nls.localize(
|
|
3222
|
+
autoIndentOnPaste: register(new EditorBooleanOption(17 /* EditorOption.autoIndentOnPaste */, 'autoIndentOnPaste', false, { description: nls.localize(500, "Controls whether the editor should automatically auto-indent the pasted content.") })),
|
|
3223
|
+
autoIndentOnPasteWithinString: register(new EditorBooleanOption(18 /* EditorOption.autoIndentOnPasteWithinString */, 'autoIndentOnPasteWithinString', true, { description: nls.localize(501, "Controls whether the editor should automatically auto-indent the pasted content when pasted within a string. This takes effect when autoIndentOnPaste is true.") })),
|
|
3216
3224
|
automaticLayout: register(new EditorBooleanOption(19 /* EditorOption.automaticLayout */, 'automaticLayout', false)),
|
|
3217
3225
|
autoSurround: register(new EditorStringEnumOption(20 /* EditorOption.autoSurround */, 'autoSurround', 'languageDefined', ['languageDefined', 'quotes', 'brackets', 'never'], {
|
|
3218
3226
|
enumDescriptions: [
|
|
3219
|
-
nls.localize(
|
|
3220
|
-
nls.localize(
|
|
3221
|
-
nls.localize(
|
|
3227
|
+
nls.localize(502, "Use language configurations to determine when to automatically surround selections."),
|
|
3228
|
+
nls.localize(503, "Surround with quotes but not brackets."),
|
|
3229
|
+
nls.localize(504, "Surround with brackets but not quotes."),
|
|
3222
3230
|
''
|
|
3223
3231
|
],
|
|
3224
|
-
description: nls.localize(
|
|
3232
|
+
description: nls.localize(505, "Controls whether the editor should automatically surround selections when typing quotes or brackets.")
|
|
3225
3233
|
})),
|
|
3226
3234
|
bracketPairColorization: register(new BracketPairColorization()),
|
|
3227
3235
|
bracketPairGuides: register(new GuideOptions()),
|
|
3228
|
-
stickyTabStops: register(new EditorBooleanOption(135 /* EditorOption.stickyTabStops */, 'stickyTabStops', false, { description: nls.localize(
|
|
3229
|
-
codeLens: register(new EditorBooleanOption(23 /* EditorOption.codeLens */, 'codeLens', true, { description: nls.localize(
|
|
3230
|
-
codeLensFontFamily: register(new EditorStringOption(24 /* EditorOption.codeLensFontFamily */, 'codeLensFontFamily', '', { description: nls.localize(
|
|
3236
|
+
stickyTabStops: register(new EditorBooleanOption(135 /* EditorOption.stickyTabStops */, 'stickyTabStops', false, { description: nls.localize(506, "Emulate selection behavior of tab characters when using spaces for indentation. Selection will stick to tab stops.") })),
|
|
3237
|
+
codeLens: register(new EditorBooleanOption(23 /* EditorOption.codeLens */, 'codeLens', true, { description: nls.localize(507, "Controls whether the editor shows CodeLens.") })),
|
|
3238
|
+
codeLensFontFamily: register(new EditorStringOption(24 /* EditorOption.codeLensFontFamily */, 'codeLensFontFamily', '', { description: nls.localize(508, "Controls the font family for CodeLens.") })),
|
|
3231
3239
|
codeLensFontSize: register(new EditorIntOption(25 /* EditorOption.codeLensFontSize */, 'codeLensFontSize', 0, 0, 100, {
|
|
3232
3240
|
type: 'number',
|
|
3233
3241
|
default: 0,
|
|
3234
3242
|
minimum: 0,
|
|
3235
3243
|
maximum: 100,
|
|
3236
|
-
markdownDescription: nls.localize(
|
|
3244
|
+
markdownDescription: nls.localize(509, "Controls the font size in pixels for CodeLens. When set to 0, 90% of `#editor.fontSize#` is used.")
|
|
3237
3245
|
})),
|
|
3238
|
-
colorDecorators: register(new EditorBooleanOption(26 /* EditorOption.colorDecorators */, 'colorDecorators', true, { description: nls.localize(
|
|
3246
|
+
colorDecorators: register(new EditorBooleanOption(26 /* EditorOption.colorDecorators */, 'colorDecorators', true, { description: nls.localize(510, "Controls whether the editor should render the inline color decorators and color picker.") })),
|
|
3239
3247
|
colorDecoratorActivatedOn: register(new EditorStringEnumOption(172 /* EditorOption.colorDecoratorsActivatedOn */, 'colorDecoratorsActivatedOn', 'clickAndHover', ['clickAndHover', 'hover', 'click'], {
|
|
3240
3248
|
enumDescriptions: [
|
|
3241
|
-
nls.localize(
|
|
3242
|
-
nls.localize(
|
|
3243
|
-
nls.localize(
|
|
3249
|
+
nls.localize(511, "Make the color picker appear both on click and hover of the color decorator"),
|
|
3250
|
+
nls.localize(512, "Make the color picker appear on hover of the color decorator"),
|
|
3251
|
+
nls.localize(513, "Make the color picker appear on click of the color decorator")
|
|
3244
3252
|
],
|
|
3245
|
-
description: nls.localize(
|
|
3253
|
+
description: nls.localize(514, "Controls the condition to make a color picker appear from a color decorator.")
|
|
3246
3254
|
})),
|
|
3247
3255
|
colorDecoratorsLimit: register(new EditorIntOption(27 /* EditorOption.colorDecoratorsLimit */, 'colorDecoratorsLimit', 500, 1, 1000000, {
|
|
3248
|
-
markdownDescription: nls.localize(
|
|
3256
|
+
markdownDescription: nls.localize(515, "Controls the max number of color decorators that can be rendered in an editor at once.")
|
|
3249
3257
|
})),
|
|
3250
|
-
columnSelection: register(new EditorBooleanOption(28 /* EditorOption.columnSelection */, 'columnSelection', false, { description: nls.localize(
|
|
3258
|
+
columnSelection: register(new EditorBooleanOption(28 /* EditorOption.columnSelection */, 'columnSelection', false, { description: nls.localize(516, "Enable that the selection with the mouse and keys is doing column selection.") })),
|
|
3251
3259
|
comments: register(new EditorComments()),
|
|
3252
3260
|
contextmenu: register(new EditorBooleanOption(30 /* EditorOption.contextmenu */, 'contextmenu', true)),
|
|
3253
|
-
copyWithSyntaxHighlighting: register(new EditorBooleanOption(31 /* EditorOption.copyWithSyntaxHighlighting */, 'copyWithSyntaxHighlighting', true, { description: nls.localize(
|
|
3254
|
-
cursorBlinking: register(new EditorEnumOption(32 /* EditorOption.cursorBlinking */, 'cursorBlinking', 1 /* TextEditorCursorBlinkingStyle.Blink */, 'blink', ['blink', 'smooth', 'phase', 'expand', 'solid'], cursorBlinkingStyleFromString, { description: nls.localize(
|
|
3261
|
+
copyWithSyntaxHighlighting: register(new EditorBooleanOption(31 /* EditorOption.copyWithSyntaxHighlighting */, 'copyWithSyntaxHighlighting', true, { description: nls.localize(517, "Controls whether syntax highlighting should be copied into the clipboard.") })),
|
|
3262
|
+
cursorBlinking: register(new EditorEnumOption(32 /* EditorOption.cursorBlinking */, 'cursorBlinking', 1 /* TextEditorCursorBlinkingStyle.Blink */, 'blink', ['blink', 'smooth', 'phase', 'expand', 'solid'], cursorBlinkingStyleFromString, { description: nls.localize(518, "Control the cursor animation style.") })),
|
|
3255
3263
|
cursorSmoothCaretAnimation: register(new EditorStringEnumOption(33 /* EditorOption.cursorSmoothCaretAnimation */, 'cursorSmoothCaretAnimation', 'off', ['off', 'explicit', 'on'], {
|
|
3256
3264
|
enumDescriptions: [
|
|
3257
|
-
nls.localize(
|
|
3258
|
-
nls.localize(
|
|
3259
|
-
nls.localize(
|
|
3265
|
+
nls.localize(519, "Smooth caret animation is disabled."),
|
|
3266
|
+
nls.localize(520, "Smooth caret animation is enabled only when the user moves the cursor with an explicit gesture."),
|
|
3267
|
+
nls.localize(521, "Smooth caret animation is always enabled.")
|
|
3260
3268
|
],
|
|
3261
|
-
description: nls.localize(
|
|
3269
|
+
description: nls.localize(522, "Controls whether the smooth caret animation should be enabled.")
|
|
3262
3270
|
})),
|
|
3263
|
-
cursorStyle: register(new EditorEnumOption(34 /* EditorOption.cursorStyle */, 'cursorStyle', TextEditorCursorStyle.Line, 'line', ['line', 'block', 'underline', 'line-thin', 'block-outline', 'underline-thin'], cursorStyleFromString, { description: nls.localize(
|
|
3264
|
-
overtypeCursorStyle: register(new EditorEnumOption(94 /* EditorOption.overtypeCursorStyle */, 'overtypeCursorStyle', TextEditorCursorStyle.Block, 'block', ['line', 'block', 'underline', 'line-thin', 'block-outline', 'underline-thin'], cursorStyleFromString, { description: nls.localize(
|
|
3265
|
-
cursorSurroundingLines: register(new EditorIntOption(35 /* EditorOption.cursorSurroundingLines */, 'cursorSurroundingLines', 0, 0, 1073741824 /* Constants.MAX_SAFE_SMALL_INTEGER */, { description: nls.localize(
|
|
3271
|
+
cursorStyle: register(new EditorEnumOption(34 /* EditorOption.cursorStyle */, 'cursorStyle', TextEditorCursorStyle.Line, 'line', ['line', 'block', 'underline', 'line-thin', 'block-outline', 'underline-thin'], cursorStyleFromString, { description: nls.localize(523, "Controls the cursor style in insert input mode.") })),
|
|
3272
|
+
overtypeCursorStyle: register(new EditorEnumOption(94 /* EditorOption.overtypeCursorStyle */, 'overtypeCursorStyle', TextEditorCursorStyle.Block, 'block', ['line', 'block', 'underline', 'line-thin', 'block-outline', 'underline-thin'], cursorStyleFromString, { description: nls.localize(524, "Controls the cursor style in overtype input mode.") })),
|
|
3273
|
+
cursorSurroundingLines: register(new EditorIntOption(35 /* EditorOption.cursorSurroundingLines */, 'cursorSurroundingLines', 0, 0, 1073741824 /* Constants.MAX_SAFE_SMALL_INTEGER */, { description: nls.localize(525, "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.") })),
|
|
3266
3274
|
cursorSurroundingLinesStyle: register(new EditorStringEnumOption(36 /* EditorOption.cursorSurroundingLinesStyle */, 'cursorSurroundingLinesStyle', 'default', ['default', 'all'], {
|
|
3267
3275
|
enumDescriptions: [
|
|
3268
|
-
nls.localize(
|
|
3269
|
-
nls.localize(
|
|
3276
|
+
nls.localize(526, "`cursorSurroundingLines` is enforced only when triggered via the keyboard or API."),
|
|
3277
|
+
nls.localize(527, "`cursorSurroundingLines` is enforced always.")
|
|
3270
3278
|
],
|
|
3271
|
-
markdownDescription: nls.localize(
|
|
3279
|
+
markdownDescription: nls.localize(528, "Controls when `#editor.cursorSurroundingLines#` should be enforced.")
|
|
3272
3280
|
})),
|
|
3273
|
-
cursorWidth: register(new EditorIntOption(37 /* EditorOption.cursorWidth */, 'cursorWidth', 0, 0, 1073741824 /* Constants.MAX_SAFE_SMALL_INTEGER */, { markdownDescription: nls.localize(
|
|
3274
|
-
cursorHeight: register(new EditorIntOption(38 /* EditorOption.cursorHeight */, 'cursorHeight', 0, 0, 1073741824 /* Constants.MAX_SAFE_SMALL_INTEGER */, { markdownDescription: nls.localize(
|
|
3281
|
+
cursorWidth: register(new EditorIntOption(37 /* EditorOption.cursorWidth */, 'cursorWidth', 0, 0, 1073741824 /* Constants.MAX_SAFE_SMALL_INTEGER */, { markdownDescription: nls.localize(529, "Controls the width of the cursor when `#editor.cursorStyle#` is set to `line`.") })),
|
|
3282
|
+
cursorHeight: register(new EditorIntOption(38 /* EditorOption.cursorHeight */, 'cursorHeight', 0, 0, 1073741824 /* Constants.MAX_SAFE_SMALL_INTEGER */, { markdownDescription: nls.localize(530, "Controls the height of the cursor when `#editor.cursorStyle#` is set to `line`. Cursor's max height depends on line height.") })),
|
|
3275
3283
|
disableLayerHinting: register(new EditorBooleanOption(39 /* EditorOption.disableLayerHinting */, 'disableLayerHinting', false)),
|
|
3276
3284
|
disableMonospaceOptimizations: register(new EditorBooleanOption(40 /* EditorOption.disableMonospaceOptimizations */, 'disableMonospaceOptimizations', false)),
|
|
3277
3285
|
domReadOnly: register(new EditorBooleanOption(41 /* EditorOption.domReadOnly */, 'domReadOnly', false)),
|
|
3278
|
-
doubleClickSelectsBlock: register(new EditorBooleanOption(177 /* EditorOption.doubleClickSelectsBlock */, 'doubleClickSelectsBlock', true, { description: nls.localize(
|
|
3279
|
-
dragAndDrop: register(new EditorBooleanOption(42 /* EditorOption.dragAndDrop */, 'dragAndDrop', true, { description: nls.localize(
|
|
3286
|
+
doubleClickSelectsBlock: register(new EditorBooleanOption(177 /* EditorOption.doubleClickSelectsBlock */, 'doubleClickSelectsBlock', true, { description: nls.localize(531, "Controls whether double-clicking next to a bracket or quote selects the content inside.") })),
|
|
3287
|
+
dragAndDrop: register(new EditorBooleanOption(42 /* EditorOption.dragAndDrop */, 'dragAndDrop', true, { description: nls.localize(532, "Controls whether the editor should allow moving selections via drag and drop.") })),
|
|
3280
3288
|
emptySelectionClipboard: register(new EditorEmptySelectionClipboard()),
|
|
3281
3289
|
dropIntoEditor: register(new EditorDropIntoEditor()),
|
|
3282
3290
|
editContext: register(new EditorBooleanOption(44 /* EditorOption.editContext */, 'editContext', true, {
|
|
3283
|
-
description: nls.localize(
|
|
3291
|
+
description: nls.localize(533, "Sets whether the EditContext API should be used instead of the text area to power input in the editor."),
|
|
3284
3292
|
included: platform.isChrome || platform.isEdge || platform.isNative
|
|
3285
3293
|
})),
|
|
3286
3294
|
renderRichScreenReaderContent: register(new EditorBooleanOption(109 /* EditorOption.renderRichScreenReaderContent */, 'renderRichScreenReaderContent', false, {
|
|
3287
|
-
markdownDescription: nls.localize(
|
|
3295
|
+
markdownDescription: nls.localize(534, "Whether to render rich screen reader content when the `#editor.editContext#` setting is enabled."),
|
|
3288
3296
|
})),
|
|
3289
3297
|
stickyScroll: register(new EditorStickyScroll()),
|
|
3290
3298
|
experimentalGpuAcceleration: register(new EditorStringEnumOption(46 /* EditorOption.experimentalGpuAcceleration */, 'experimentalGpuAcceleration', 'off', ['off', 'on'], {
|
|
3291
3299
|
tags: ['experimental'],
|
|
3292
3300
|
enumDescriptions: [
|
|
3293
|
-
nls.localize(
|
|
3294
|
-
nls.localize(
|
|
3301
|
+
nls.localize(535, "Use regular DOM-based rendering."),
|
|
3302
|
+
nls.localize(536, "Use GPU acceleration."),
|
|
3295
3303
|
],
|
|
3296
|
-
description: nls.localize(
|
|
3304
|
+
description: nls.localize(537, "Controls whether to use the experimental GPU acceleration to render the editor.")
|
|
3297
3305
|
})),
|
|
3298
3306
|
experimentalWhitespaceRendering: register(new EditorStringEnumOption(47 /* EditorOption.experimentalWhitespaceRendering */, 'experimentalWhitespaceRendering', 'svg', ['svg', 'font', 'off'], {
|
|
3299
3307
|
enumDescriptions: [
|
|
3300
|
-
nls.localize(
|
|
3301
|
-
nls.localize(
|
|
3302
|
-
nls.localize(
|
|
3308
|
+
nls.localize(538, "Use a new rendering method with svgs."),
|
|
3309
|
+
nls.localize(539, "Use a new rendering method with font characters."),
|
|
3310
|
+
nls.localize(540, "Use the stable rendering method."),
|
|
3303
3311
|
],
|
|
3304
|
-
description: nls.localize(
|
|
3312
|
+
description: nls.localize(541, "Controls whether whitespace is rendered with a new, experimental method.")
|
|
3305
3313
|
})),
|
|
3306
3314
|
extraEditorClassName: register(new EditorStringOption(48 /* EditorOption.extraEditorClassName */, 'extraEditorClassName', '')),
|
|
3307
|
-
fastScrollSensitivity: register(new EditorFloatOption(49 /* EditorOption.fastScrollSensitivity */, 'fastScrollSensitivity', 5, x => (x <= 0 ? 5 : x), { markdownDescription: nls.localize(
|
|
3315
|
+
fastScrollSensitivity: register(new EditorFloatOption(49 /* EditorOption.fastScrollSensitivity */, 'fastScrollSensitivity', 5, x => (x <= 0 ? 5 : x), { markdownDescription: nls.localize(542, "Scrolling speed multiplier when pressing `Alt`.") })),
|
|
3308
3316
|
find: register(new EditorFind()),
|
|
3309
3317
|
fixedOverflowWidgets: register(new EditorBooleanOption(51 /* EditorOption.fixedOverflowWidgets */, 'fixedOverflowWidgets', false)),
|
|
3310
|
-
folding: register(new EditorBooleanOption(52 /* EditorOption.folding */, 'folding', true, { description: nls.localize(
|
|
3318
|
+
folding: register(new EditorBooleanOption(52 /* EditorOption.folding */, 'folding', true, { description: nls.localize(543, "Controls whether the editor has code folding enabled.") })),
|
|
3311
3319
|
foldingStrategy: register(new EditorStringEnumOption(53 /* EditorOption.foldingStrategy */, 'foldingStrategy', 'auto', ['auto', 'indentation'], {
|
|
3312
3320
|
enumDescriptions: [
|
|
3313
|
-
nls.localize(
|
|
3314
|
-
nls.localize(
|
|
3321
|
+
nls.localize(544, "Use a language-specific folding strategy if available, else the indentation-based one."),
|
|
3322
|
+
nls.localize(545, "Use the indentation-based folding strategy."),
|
|
3315
3323
|
],
|
|
3316
|
-
description: nls.localize(
|
|
3324
|
+
description: nls.localize(546, "Controls the strategy for computing folding ranges.")
|
|
3317
3325
|
})),
|
|
3318
|
-
foldingHighlight: register(new EditorBooleanOption(54 /* EditorOption.foldingHighlight */, 'foldingHighlight', true, { description: nls.localize(
|
|
3319
|
-
foldingImportsByDefault: register(new EditorBooleanOption(55 /* EditorOption.foldingImportsByDefault */, 'foldingImportsByDefault', false, { description: nls.localize(
|
|
3326
|
+
foldingHighlight: register(new EditorBooleanOption(54 /* EditorOption.foldingHighlight */, 'foldingHighlight', true, { description: nls.localize(547, "Controls whether the editor should highlight folded ranges.") })),
|
|
3327
|
+
foldingImportsByDefault: register(new EditorBooleanOption(55 /* EditorOption.foldingImportsByDefault */, 'foldingImportsByDefault', false, { description: nls.localize(548, "Controls whether the editor automatically collapses import ranges.") })),
|
|
3320
3328
|
foldingMaximumRegions: register(new EditorIntOption(56 /* EditorOption.foldingMaximumRegions */, 'foldingMaximumRegions', 5000, 10, 65000, // limit must be less than foldingRanges MAX_FOLDING_REGIONS
|
|
3321
|
-
{ description: nls.localize(
|
|
3322
|
-
unfoldOnClickAfterEndOfLine: register(new EditorBooleanOption(57 /* EditorOption.unfoldOnClickAfterEndOfLine */, 'unfoldOnClickAfterEndOfLine', false, { description: nls.localize(
|
|
3323
|
-
fontFamily: register(new EditorStringOption(58 /* EditorOption.fontFamily */, 'fontFamily', EDITOR_FONT_DEFAULTS.fontFamily, { description: nls.localize(
|
|
3329
|
+
{ description: nls.localize(549, "The maximum number of foldable regions. Increasing this value may result in the editor becoming less responsive when the current source has a large number of foldable regions.") })),
|
|
3330
|
+
unfoldOnClickAfterEndOfLine: register(new EditorBooleanOption(57 /* EditorOption.unfoldOnClickAfterEndOfLine */, 'unfoldOnClickAfterEndOfLine', false, { description: nls.localize(550, "Controls whether clicking on the empty content after a folded line will unfold the line.") })),
|
|
3331
|
+
fontFamily: register(new EditorStringOption(58 /* EditorOption.fontFamily */, 'fontFamily', EDITOR_FONT_DEFAULTS.fontFamily, { description: nls.localize(551, "Controls the font family.") })),
|
|
3324
3332
|
fontInfo: register(new EditorFontInfo()),
|
|
3325
3333
|
fontLigatures2: register(new EditorFontLigatures()),
|
|
3326
3334
|
fontSize: register(new EditorFontSize()),
|
|
3327
3335
|
fontWeight: register(new EditorFontWeight()),
|
|
3328
3336
|
fontVariations: register(new EditorFontVariations()),
|
|
3329
|
-
formatOnPaste: register(new EditorBooleanOption(64 /* EditorOption.formatOnPaste */, 'formatOnPaste', false, { description: nls.localize(
|
|
3330
|
-
formatOnType: register(new EditorBooleanOption(65 /* EditorOption.formatOnType */, 'formatOnType', false, { description: nls.localize(
|
|
3337
|
+
formatOnPaste: register(new EditorBooleanOption(64 /* EditorOption.formatOnPaste */, 'formatOnPaste', false, { description: nls.localize(552, "Controls whether the editor should automatically format the pasted content. A formatter must be available and the formatter should be able to format a range in a document.") })),
|
|
3338
|
+
formatOnType: register(new EditorBooleanOption(65 /* EditorOption.formatOnType */, 'formatOnType', false, { description: nls.localize(553, "Controls whether the editor should automatically format the line after typing.") })),
|
|
3331
3339
|
fullwidthCharacterWidth: register(new EditorStringEnumOption(178 /* EditorOption.fullwidthCharacterWidth */, 'fullwidthCharacterWidth', 'font', ['font', 'twoCells'], {
|
|
3332
3340
|
enumDescriptions: [
|
|
3333
|
-
nls.localize(
|
|
3334
|
-
nls.localize(
|
|
3341
|
+
nls.localize(554, "Render full-width characters using the width defined by the font."),
|
|
3342
|
+
nls.localize(555, "Render full-width characters centered in exactly two character cells. Only applies to monospace fonts when font ligatures are disabled. Does not apply to multi codepoint full-width characters or to GPU rendering. This has a performance impact on line rendering."),
|
|
3335
3343
|
],
|
|
3336
|
-
description: nls.localize(
|
|
3344
|
+
description: nls.localize(556, "Controls the width used to render full-width characters.")
|
|
3337
3345
|
})),
|
|
3338
|
-
glyphMargin: register(new EditorBooleanOption(66 /* EditorOption.glyphMargin */, 'glyphMargin', true, { description: nls.localize(
|
|
3346
|
+
glyphMargin: register(new EditorBooleanOption(66 /* EditorOption.glyphMargin */, 'glyphMargin', true, { description: nls.localize(557, "Controls whether the editor should render the vertical glyph margin. Glyph margin is mostly used for debugging.") })),
|
|
3339
3347
|
gotoLocation: register(new EditorGoToLocation()),
|
|
3340
|
-
hideCursorInOverviewRuler: register(new EditorBooleanOption(68 /* EditorOption.hideCursorInOverviewRuler */, 'hideCursorInOverviewRuler', false, { description: nls.localize(
|
|
3348
|
+
hideCursorInOverviewRuler: register(new EditorBooleanOption(68 /* EditorOption.hideCursorInOverviewRuler */, 'hideCursorInOverviewRuler', false, { description: nls.localize(558, "Controls whether the cursor should be hidden in the overview ruler.") })),
|
|
3341
3349
|
hover: register(new EditorHover()),
|
|
3342
3350
|
inDiffEditor: register(new EditorBooleanOption(70 /* EditorOption.inDiffEditor */, 'inDiffEditor', false)),
|
|
3343
|
-
inertialScroll: register(new EditorBooleanOption(161 /* EditorOption.inertialScroll */, 'inertialScroll', false, { description: nls.localize(
|
|
3344
|
-
letterSpacing: register(new EditorFloatOption(72 /* EditorOption.letterSpacing */, 'letterSpacing', EDITOR_FONT_DEFAULTS.letterSpacing, x => EditorFloatOption.clamp(x, -5, 20), { description: nls.localize(
|
|
3351
|
+
inertialScroll: register(new EditorBooleanOption(161 /* EditorOption.inertialScroll */, 'inertialScroll', false, { description: nls.localize(559, "Make scrolling inertial - mostly useful with touchpad on linux.") })),
|
|
3352
|
+
letterSpacing: register(new EditorFloatOption(72 /* EditorOption.letterSpacing */, 'letterSpacing', EDITOR_FONT_DEFAULTS.letterSpacing, x => EditorFloatOption.clamp(x, -5, 20), { description: nls.localize(560, "Controls the letter spacing in pixels.") })),
|
|
3345
3353
|
lightbulb: register(new EditorLightbulb()),
|
|
3346
3354
|
lineDecorationsWidth: register(new EditorLineDecorationsWidth()),
|
|
3347
3355
|
lineHeight: register(new EditorLineHeight()),
|
|
3348
3356
|
lineNumbers: register(new EditorRenderLineNumbersOption()),
|
|
3349
3357
|
lineNumbersMinChars: register(new EditorIntOption(77 /* EditorOption.lineNumbersMinChars */, 'lineNumbersMinChars', 5, 1, 300)),
|
|
3350
|
-
linkedEditing: register(new EditorBooleanOption(78 /* EditorOption.linkedEditing */, 'linkedEditing', false, { description: nls.localize(
|
|
3351
|
-
links: register(new EditorBooleanOption(79 /* EditorOption.links */, 'links', true, { description: nls.localize(
|
|
3358
|
+
linkedEditing: register(new EditorBooleanOption(78 /* EditorOption.linkedEditing */, 'linkedEditing', false, { description: nls.localize(561, "Controls whether the editor has linked editing enabled. Depending on the language, related symbols such as HTML tags, are updated while editing.") })),
|
|
3359
|
+
links: register(new EditorBooleanOption(79 /* EditorOption.links */, 'links', true, { description: nls.localize(562, "Controls whether the editor should detect links and make them clickable.") })),
|
|
3352
3360
|
markdownImages: register(new EditorMarkdownImages()),
|
|
3353
|
-
matchBrackets: register(new EditorStringEnumOption(81 /* EditorOption.matchBrackets */, 'matchBrackets', 'always', ['always', 'near', 'never'], { description: nls.localize(
|
|
3361
|
+
matchBrackets: register(new EditorStringEnumOption(81 /* EditorOption.matchBrackets */, 'matchBrackets', 'always', ['always', 'near', 'never'], { description: nls.localize(563, "Highlight matching brackets.") })),
|
|
3354
3362
|
minimap: register(new EditorMinimap()),
|
|
3355
3363
|
mouseStyle: register(new EditorStringEnumOption(83 /* EditorOption.mouseStyle */, 'mouseStyle', 'text', ['text', 'default', 'copy'])),
|
|
3356
|
-
mouseWheelScrollSensitivity: register(new EditorFloatOption(84 /* EditorOption.mouseWheelScrollSensitivity */, 'mouseWheelScrollSensitivity', 1, x => (x === 0 ? 1 : x), { markdownDescription: nls.localize(
|
|
3364
|
+
mouseWheelScrollSensitivity: register(new EditorFloatOption(84 /* EditorOption.mouseWheelScrollSensitivity */, 'mouseWheelScrollSensitivity', 1, x => (x === 0 ? 1 : x), { markdownDescription: nls.localize(564, "A multiplier to be used on the `deltaX` and `deltaY` of mouse wheel scroll events.") })),
|
|
3357
3365
|
mouseWheelZoom: register(new EditorBooleanOption(85 /* EditorOption.mouseWheelZoom */, 'mouseWheelZoom', false, {
|
|
3358
3366
|
markdownDescription: platform.isMacintosh
|
|
3359
|
-
? nls.localize(
|
|
3360
|
-
: nls.localize(
|
|
3367
|
+
? nls.localize(565, "Zoom the font of the editor when using mouse wheel and holding `Cmd`.")
|
|
3368
|
+
: nls.localize(566, "Zoom the font of the editor when using mouse wheel and holding `Ctrl`.")
|
|
3361
3369
|
})),
|
|
3362
|
-
multiCursorMergeOverlapping: register(new EditorBooleanOption(86 /* EditorOption.multiCursorMergeOverlapping */, 'multiCursorMergeOverlapping', true, { description: nls.localize(
|
|
3370
|
+
multiCursorMergeOverlapping: register(new EditorBooleanOption(86 /* EditorOption.multiCursorMergeOverlapping */, 'multiCursorMergeOverlapping', true, { description: nls.localize(567, "Merge multiple cursors when they are overlapping.") })),
|
|
3363
3371
|
multiCursorModifier: register(new EditorEnumOption(87 /* EditorOption.multiCursorModifier */, 'multiCursorModifier', 'altKey', 'alt', ['ctrlCmd', 'alt'], _multiCursorModifierFromString, {
|
|
3364
3372
|
markdownEnumDescriptions: [
|
|
3365
|
-
nls.localize(
|
|
3366
|
-
nls.localize(
|
|
3373
|
+
nls.localize(568, "Maps to `Control` on Windows and Linux and to `Command` on macOS."),
|
|
3374
|
+
nls.localize(569, "Maps to `Alt` on Windows and Linux and to `Option` on macOS.")
|
|
3367
3375
|
],
|
|
3368
|
-
markdownDescription: nls.localize(
|
|
3376
|
+
markdownDescription: nls.localize(570, "The modifier to be used to add multiple cursors with the mouse. The Go to Definition and Open Link mouse gestures will adapt such that they do not conflict with the [multicursor modifier](https://code.visualstudio.com/docs/editor/codebasics#_multicursor-modifier).")
|
|
3369
3377
|
|
|
3370
3378
|
|
|
3371
3379
|
|
|
@@ -3373,182 +3381,182 @@ export const EditorOptions = {
|
|
|
3373
3381
|
|
|
3374
3382
|
|
|
3375
3383
|
})),
|
|
3376
|
-
mouseMiddleClickAction: register(new EditorStringEnumOption(88 /* EditorOption.mouseMiddleClickAction */, 'mouseMiddleClickAction', 'default', ['default', 'openLink', 'ctrlLeftClick'], { description: nls.localize(
|
|
3384
|
+
mouseMiddleClickAction: register(new EditorStringEnumOption(88 /* EditorOption.mouseMiddleClickAction */, 'mouseMiddleClickAction', 'default', ['default', 'openLink', 'ctrlLeftClick'], { description: nls.localize(571, "Controls what happens when middle mouse button is clicked in the editor.") })),
|
|
3377
3385
|
multiCursorPaste: register(new EditorStringEnumOption(89 /* EditorOption.multiCursorPaste */, 'multiCursorPaste', 'spread', ['spread', 'full'], {
|
|
3378
3386
|
markdownEnumDescriptions: [
|
|
3379
|
-
nls.localize(
|
|
3380
|
-
nls.localize(
|
|
3387
|
+
nls.localize(572, "Each cursor pastes a single line of the text. When pasting column selections into a single cursor, each copied line is pasted on a successive destination line and padded with spaces to form a rectangle."),
|
|
3388
|
+
nls.localize(573, "Each cursor pastes the full text.")
|
|
3381
3389
|
],
|
|
3382
|
-
markdownDescription: nls.localize(
|
|
3390
|
+
markdownDescription: nls.localize(574, "Controls pasting when the line count of the pasted text matches the cursor count, or when pasting column selections into a single cursor.")
|
|
3383
3391
|
})),
|
|
3384
3392
|
multiCursorLimit: register(new EditorIntOption(90 /* EditorOption.multiCursorLimit */, 'multiCursorLimit', 10000, 1, 100000, {
|
|
3385
|
-
markdownDescription: nls.localize(
|
|
3393
|
+
markdownDescription: nls.localize(575, "Controls the max number of cursors that can be in an active editor at once.")
|
|
3386
3394
|
})),
|
|
3387
3395
|
occurrencesHighlight: register(new EditorStringEnumOption(91 /* EditorOption.occurrencesHighlight */, 'occurrencesHighlight', 'singleFile', ['off', 'singleFile', 'multiFile'], {
|
|
3388
3396
|
markdownEnumDescriptions: [
|
|
3389
|
-
nls.localize(
|
|
3390
|
-
nls.localize(
|
|
3391
|
-
nls.localize(
|
|
3397
|
+
nls.localize(576, "Does not highlight occurrences."),
|
|
3398
|
+
nls.localize(577, "Highlights occurrences only in the current file."),
|
|
3399
|
+
nls.localize(578, "Experimental: Highlights occurrences across all valid open files.")
|
|
3392
3400
|
],
|
|
3393
|
-
markdownDescription: nls.localize(
|
|
3401
|
+
markdownDescription: nls.localize(579, "Controls whether occurrences should be highlighted across open files.")
|
|
3394
3402
|
})),
|
|
3395
3403
|
occurrencesHighlightDelay: register(new EditorIntOption(92 /* EditorOption.occurrencesHighlightDelay */, 'occurrencesHighlightDelay', 0, 0, 2000, {
|
|
3396
|
-
description: nls.localize(
|
|
3404
|
+
description: nls.localize(580, "Controls the delay in milliseconds after which occurrences are highlighted."),
|
|
3397
3405
|
tags: ['preview']
|
|
3398
3406
|
})),
|
|
3399
3407
|
occurrencesHighlightFromAllProviders: register(new EditorBooleanOption(93 /* EditorOption.occurrencesHighlightFromAllProviders */, 'occurrencesHighlightFromAllProviders', false, {
|
|
3400
|
-
description: nls.localize(
|
|
3408
|
+
description: nls.localize(581, "Controls whether single-document highlights from all matching providers are merged. When enabled, basic word-based highlighting is only used if no other provider matches.")
|
|
3401
3409
|
})),
|
|
3402
|
-
overtypeOnPaste: register(new EditorBooleanOption(95 /* EditorOption.overtypeOnPaste */, 'overtypeOnPaste', true, { description: nls.localize(
|
|
3403
|
-
overviewRulerBorder: register(new EditorBooleanOption(96 /* EditorOption.overviewRulerBorder */, 'overviewRulerBorder', true, { description: nls.localize(
|
|
3410
|
+
overtypeOnPaste: register(new EditorBooleanOption(95 /* EditorOption.overtypeOnPaste */, 'overtypeOnPaste', true, { description: nls.localize(582, "Controls whether pasting should overtype.") })),
|
|
3411
|
+
overviewRulerBorder: register(new EditorBooleanOption(96 /* EditorOption.overviewRulerBorder */, 'overviewRulerBorder', true, { description: nls.localize(583, "Controls whether a border should be drawn around the overview ruler.") })),
|
|
3404
3412
|
overviewRulerLanes: register(new EditorIntOption(97 /* EditorOption.overviewRulerLanes */, 'overviewRulerLanes', 3, 0, 3)),
|
|
3405
3413
|
padding: register(new EditorPadding()),
|
|
3406
3414
|
pasteAs: register(new EditorPasteAs()),
|
|
3407
3415
|
parameterHints: register(new EditorParameterHints()),
|
|
3408
3416
|
peekWidgetDefaultFocus: register(new EditorStringEnumOption(101 /* EditorOption.peekWidgetDefaultFocus */, 'peekWidgetDefaultFocus', 'tree', ['tree', 'editor'], {
|
|
3409
3417
|
enumDescriptions: [
|
|
3410
|
-
nls.localize(
|
|
3411
|
-
nls.localize(
|
|
3418
|
+
nls.localize(584, "Focus the tree when opening peek"),
|
|
3419
|
+
nls.localize(585, "Focus the editor when opening peek")
|
|
3412
3420
|
],
|
|
3413
|
-
description: nls.localize(
|
|
3421
|
+
description: nls.localize(586, "Controls whether to focus the inline editor or the tree in the peek widget.")
|
|
3414
3422
|
})),
|
|
3415
3423
|
placeholder: register(new PlaceholderOption()),
|
|
3416
|
-
definitionLinkOpensInPeek: register(new EditorBooleanOption(103 /* EditorOption.definitionLinkOpensInPeek */, 'definitionLinkOpensInPeek', false, { description: nls.localize(
|
|
3424
|
+
definitionLinkOpensInPeek: register(new EditorBooleanOption(103 /* EditorOption.definitionLinkOpensInPeek */, 'definitionLinkOpensInPeek', false, { description: nls.localize(587, "Controls whether the Go to Definition mouse gesture always opens the peek widget.") })),
|
|
3417
3425
|
quickSuggestions: register(new EditorQuickSuggestions()),
|
|
3418
3426
|
quickSuggestionsDelay: register(new EditorIntOption(105 /* EditorOption.quickSuggestionsDelay */, 'quickSuggestionsDelay', 10, 0, 1073741824 /* Constants.MAX_SAFE_SMALL_INTEGER */, {
|
|
3419
|
-
description: nls.localize(
|
|
3427
|
+
description: nls.localize(588, "Controls the delay in milliseconds after which quick suggestions will show up."),
|
|
3420
3428
|
experiment: {
|
|
3421
3429
|
mode: 'auto'
|
|
3422
3430
|
}
|
|
3423
3431
|
})),
|
|
3424
3432
|
readOnly: register(new EditorBooleanOption(106 /* EditorOption.readOnly */, 'readOnly', false)),
|
|
3425
3433
|
readOnlyMessage: register(new ReadonlyMessage()),
|
|
3426
|
-
renameOnType: register(new EditorBooleanOption(108 /* EditorOption.renameOnType */, 'renameOnType', false, { description: nls.localize(
|
|
3427
|
-
renderControlCharacters: register(new EditorBooleanOption(110 /* EditorOption.renderControlCharacters */, 'renderControlCharacters', true, { description: nls.localize(
|
|
3428
|
-
renderFinalNewline: register(new EditorStringEnumOption(111 /* EditorOption.renderFinalNewline */, 'renderFinalNewline', (platform.isLinux ? 'dimmed' : 'on'), ['off', 'on', 'dimmed'], { description: nls.localize(
|
|
3434
|
+
renameOnType: register(new EditorBooleanOption(108 /* EditorOption.renameOnType */, 'renameOnType', false, { description: nls.localize(589, "Controls whether the editor auto renames on type."), markdownDeprecationMessage: nls.localize(590, "Deprecated, use `#editor.linkedEditing#` instead.") })),
|
|
3435
|
+
renderControlCharacters: register(new EditorBooleanOption(110 /* EditorOption.renderControlCharacters */, 'renderControlCharacters', true, { description: nls.localize(591, "Controls whether the editor should render control characters."), restricted: true })),
|
|
3436
|
+
renderFinalNewline: register(new EditorStringEnumOption(111 /* EditorOption.renderFinalNewline */, 'renderFinalNewline', (platform.isLinux ? 'dimmed' : 'on'), ['off', 'on', 'dimmed'], { description: nls.localize(592, "Render last line number when the file ends with a newline.") })),
|
|
3429
3437
|
renderLineHighlight: register(new EditorStringEnumOption(112 /* EditorOption.renderLineHighlight */, 'renderLineHighlight', 'line', ['none', 'gutter', 'line', 'all'], {
|
|
3430
3438
|
enumDescriptions: [
|
|
3431
3439
|
'',
|
|
3432
3440
|
'',
|
|
3433
3441
|
'',
|
|
3434
|
-
nls.localize(
|
|
3442
|
+
nls.localize(593, "Highlights both the gutter and the current line."),
|
|
3435
3443
|
],
|
|
3436
|
-
description: nls.localize(
|
|
3444
|
+
description: nls.localize(594, "Controls how the editor should render the current line highlight.")
|
|
3437
3445
|
})),
|
|
3438
|
-
renderLineHighlightOnlyWhenFocus: register(new EditorBooleanOption(113 /* EditorOption.renderLineHighlightOnlyWhenFocus */, 'renderLineHighlightOnlyWhenFocus', false, { description: nls.localize(
|
|
3446
|
+
renderLineHighlightOnlyWhenFocus: register(new EditorBooleanOption(113 /* EditorOption.renderLineHighlightOnlyWhenFocus */, 'renderLineHighlightOnlyWhenFocus', false, { description: nls.localize(595, "Controls if the editor should render the current line highlight only when the editor is focused.") })),
|
|
3439
3447
|
renderValidationDecorations: register(new EditorStringEnumOption(114 /* EditorOption.renderValidationDecorations */, 'renderValidationDecorations', 'editable', ['editable', 'on', 'off'])),
|
|
3440
3448
|
renderWhitespace: register(new EditorStringEnumOption(115 /* EditorOption.renderWhitespace */, 'renderWhitespace', 'selection', ['none', 'boundary', 'selection', 'trailing', 'all'], {
|
|
3441
3449
|
enumDescriptions: [
|
|
3442
3450
|
'',
|
|
3443
|
-
nls.localize(
|
|
3444
|
-
nls.localize(
|
|
3445
|
-
nls.localize(
|
|
3451
|
+
nls.localize(596, "Render whitespace characters except for single spaces between words."),
|
|
3452
|
+
nls.localize(597, "Render whitespace characters only on selected text."),
|
|
3453
|
+
nls.localize(598, "Render only trailing whitespace characters."),
|
|
3446
3454
|
''
|
|
3447
3455
|
],
|
|
3448
|
-
description: nls.localize(
|
|
3456
|
+
description: nls.localize(599, "Controls how the editor should render whitespace characters.")
|
|
3449
3457
|
})),
|
|
3450
3458
|
revealHorizontalRightPadding: register(new EditorIntOption(116 /* EditorOption.revealHorizontalRightPadding */, 'revealHorizontalRightPadding', 15, 0, 1000)),
|
|
3451
|
-
roundedSelection: register(new EditorBooleanOption(117 /* EditorOption.roundedSelection */, 'roundedSelection', true, { description: nls.localize(
|
|
3459
|
+
roundedSelection: register(new EditorBooleanOption(117 /* EditorOption.roundedSelection */, 'roundedSelection', true, { description: nls.localize(600, "Controls whether selections should have rounded corners.") })),
|
|
3452
3460
|
rulers: register(new EditorRulers()),
|
|
3453
3461
|
scrollbar: register(new EditorScrollbar()),
|
|
3454
|
-
scrollBeyondLastColumn: register(new EditorIntOption(120 /* EditorOption.scrollBeyondLastColumn */, 'scrollBeyondLastColumn', 4, 0, 1073741824 /* Constants.MAX_SAFE_SMALL_INTEGER */, { description: nls.localize(
|
|
3455
|
-
scrollBeyondLastLine: register(new EditorBooleanOption(121 /* EditorOption.scrollBeyondLastLine */, 'scrollBeyondLastLine', true, { description: nls.localize(
|
|
3456
|
-
scrollOnMiddleClick: register(new EditorBooleanOption(175 /* EditorOption.scrollOnMiddleClick */, 'scrollOnMiddleClick', false, { description: nls.localize(
|
|
3457
|
-
scrollPredominantAxis: register(new EditorBooleanOption(122 /* EditorOption.scrollPredominantAxis */, 'scrollPredominantAxis', true, { description: nls.localize(
|
|
3462
|
+
scrollBeyondLastColumn: register(new EditorIntOption(120 /* EditorOption.scrollBeyondLastColumn */, 'scrollBeyondLastColumn', 4, 0, 1073741824 /* Constants.MAX_SAFE_SMALL_INTEGER */, { description: nls.localize(601, "Controls the number of extra characters beyond which the editor will scroll horizontally.") })),
|
|
3463
|
+
scrollBeyondLastLine: register(new EditorBooleanOption(121 /* EditorOption.scrollBeyondLastLine */, 'scrollBeyondLastLine', true, { description: nls.localize(602, "Controls whether the editor will scroll beyond the last line.") })),
|
|
3464
|
+
scrollOnMiddleClick: register(new EditorBooleanOption(175 /* EditorOption.scrollOnMiddleClick */, 'scrollOnMiddleClick', false, { description: nls.localize(603, "Controls whether the editor will scroll when the middle button is pressed.") })),
|
|
3465
|
+
scrollPredominantAxis: register(new EditorBooleanOption(122 /* EditorOption.scrollPredominantAxis */, 'scrollPredominantAxis', true, { description: nls.localize(604, "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.") })),
|
|
3458
3466
|
selectionClipboard: register(new EditorBooleanOption(123 /* EditorOption.selectionClipboard */, 'selectionClipboard', true, {
|
|
3459
|
-
description: nls.localize(
|
|
3467
|
+
description: nls.localize(605, "Controls whether the Linux primary clipboard should be supported."),
|
|
3460
3468
|
included: platform.isLinux
|
|
3461
3469
|
})),
|
|
3462
|
-
selectionHighlight: register(new EditorBooleanOption(124 /* EditorOption.selectionHighlight */, 'selectionHighlight', true, { description: nls.localize(
|
|
3463
|
-
selectionHighlightMaxLength: register(new EditorIntOption(125 /* EditorOption.selectionHighlightMaxLength */, 'selectionHighlightMaxLength', 200, 0, 1073741824 /* Constants.MAX_SAFE_SMALL_INTEGER */, { description: nls.localize(
|
|
3464
|
-
selectionHighlightMultiline: register(new EditorBooleanOption(126 /* EditorOption.selectionHighlightMultiline */, 'selectionHighlightMultiline', false, { description: nls.localize(
|
|
3470
|
+
selectionHighlight: register(new EditorBooleanOption(124 /* EditorOption.selectionHighlight */, 'selectionHighlight', true, { description: nls.localize(606, "Controls whether the editor should highlight matches similar to the selection.") })),
|
|
3471
|
+
selectionHighlightMaxLength: register(new EditorIntOption(125 /* EditorOption.selectionHighlightMaxLength */, 'selectionHighlightMaxLength', 200, 0, 1073741824 /* Constants.MAX_SAFE_SMALL_INTEGER */, { description: nls.localize(607, "Controls how many characters can be in the selection before similar matches are not highlighted. Set to zero for unlimited.") })),
|
|
3472
|
+
selectionHighlightMultiline: register(new EditorBooleanOption(126 /* EditorOption.selectionHighlightMultiline */, 'selectionHighlightMultiline', false, { description: nls.localize(608, "Controls whether the editor should highlight selection matches that span multiple lines.") })),
|
|
3465
3473
|
selectedTextMatchMode: register(new EditorStringEnumOption(127 /* EditorOption.selectedTextMatchMode */, 'selectedTextMatchMode', 'findOptions', ['findOptions', 'caseSensitive', 'caseInsensitive'], {
|
|
3466
3474
|
enumDescriptions: [
|
|
3467
|
-
nls.localize(
|
|
3468
|
-
nls.localize(
|
|
3469
|
-
nls.localize(
|
|
3475
|
+
nls.localize(609, "Use the Find widget's match case and whole word settings."),
|
|
3476
|
+
nls.localize(610, "Match occurrences case-sensitively and independently of the Find widget."),
|
|
3477
|
+
nls.localize(611, "Match occurrences case-insensitively and independently of the Find widget."),
|
|
3470
3478
|
],
|
|
3471
|
-
markdownDescription: nls.localize(
|
|
3479
|
+
markdownDescription: nls.localize(612, "Controls how occurrences of selected text are matched when selecting the next, previous, or all occurrences and when highlighting selection matches. `caseSensitive` and `caseInsensitive` match substrings independently of the Find widget. An empty selection always starts a whole-word, case-sensitive search.")
|
|
3472
3480
|
})),
|
|
3473
3481
|
selectOnLineNumbers: register(new EditorBooleanOption(128 /* EditorOption.selectOnLineNumbers */, 'selectOnLineNumbers', true)),
|
|
3474
3482
|
showFoldingControls: register(new EditorStringEnumOption(129 /* EditorOption.showFoldingControls */, 'showFoldingControls', 'mouseover', ['always', 'never', 'mouseover'], {
|
|
3475
3483
|
enumDescriptions: [
|
|
3476
|
-
nls.localize(
|
|
3477
|
-
nls.localize(
|
|
3478
|
-
nls.localize(
|
|
3484
|
+
nls.localize(613, "Always show the folding controls."),
|
|
3485
|
+
nls.localize(614, "Never show the folding controls and reduce the gutter size."),
|
|
3486
|
+
nls.localize(615, "Only show the folding controls when the mouse is over the gutter."),
|
|
3479
3487
|
],
|
|
3480
|
-
description: nls.localize(
|
|
3488
|
+
description: nls.localize(616, "Controls when the folding controls on the gutter are shown.")
|
|
3481
3489
|
})),
|
|
3482
|
-
showUnused: register(new EditorBooleanOption(130 /* EditorOption.showUnused */, 'showUnused', true, { description: nls.localize(
|
|
3483
|
-
showDeprecated: register(new EditorBooleanOption(160 /* EditorOption.showDeprecated */, 'showDeprecated', true, { description: nls.localize(
|
|
3490
|
+
showUnused: register(new EditorBooleanOption(130 /* EditorOption.showUnused */, 'showUnused', true, { description: nls.localize(617, "Controls fading out of unused code.") })),
|
|
3491
|
+
showDeprecated: register(new EditorBooleanOption(160 /* EditorOption.showDeprecated */, 'showDeprecated', true, { description: nls.localize(618, "Controls strikethrough deprecated variables.") })),
|
|
3484
3492
|
inlayHints: register(new EditorInlayHints()),
|
|
3485
3493
|
snippetSuggestions: register(new EditorStringEnumOption(131 /* EditorOption.snippetSuggestions */, 'snippetSuggestions', 'inline', ['top', 'bottom', 'inline', 'none'], {
|
|
3486
3494
|
enumDescriptions: [
|
|
3487
|
-
nls.localize(
|
|
3488
|
-
nls.localize(
|
|
3489
|
-
nls.localize(
|
|
3490
|
-
nls.localize(
|
|
3495
|
+
nls.localize(619, "Show snippet suggestions on top of other suggestions."),
|
|
3496
|
+
nls.localize(620, "Show snippet suggestions below other suggestions."),
|
|
3497
|
+
nls.localize(621, "Show snippets suggestions with other suggestions."),
|
|
3498
|
+
nls.localize(622, "Do not show snippet suggestions."),
|
|
3491
3499
|
],
|
|
3492
|
-
description: nls.localize(
|
|
3500
|
+
description: nls.localize(623, "Controls whether snippets are shown with other suggestions and how they are sorted.")
|
|
3493
3501
|
})),
|
|
3494
3502
|
smartSelect: register(new SmartSelect()),
|
|
3495
|
-
smoothScrolling: register(new EditorBooleanOption(133 /* EditorOption.smoothScrolling */, 'smoothScrolling', false, { description: nls.localize(
|
|
3503
|
+
smoothScrolling: register(new EditorBooleanOption(133 /* EditorOption.smoothScrolling */, 'smoothScrolling', false, { description: nls.localize(624, "Controls whether the editor will scroll using an animation.") })),
|
|
3496
3504
|
stopRenderingLineAfter: register(new EditorIntOption(136 /* EditorOption.stopRenderingLineAfter */, 'stopRenderingLineAfter', 10000, -1, 1073741824 /* Constants.MAX_SAFE_SMALL_INTEGER */)),
|
|
3497
3505
|
suggest: register(new EditorSuggest()),
|
|
3498
3506
|
inlineSuggest: register(new InlineEditorSuggest()),
|
|
3499
|
-
inlineCompletionsAccessibilityVerbose: register(new EditorBooleanOption(173 /* EditorOption.inlineCompletionsAccessibilityVerbose */, 'inlineCompletionsAccessibilityVerbose', false, { description: nls.localize(
|
|
3500
|
-
suggestFontSize: register(new EditorIntOption(138 /* EditorOption.suggestFontSize */, 'suggestFontSize', 0, 0, 1000, { markdownDescription: nls.localize(
|
|
3501
|
-
suggestLineHeight: register(new EditorIntOption(139 /* EditorOption.suggestLineHeight */, 'suggestLineHeight', 0, 0, 1000, { markdownDescription: nls.localize(
|
|
3502
|
-
suggestOnTriggerCharacters: register(new EditorBooleanOption(140 /* EditorOption.suggestOnTriggerCharacters */, 'suggestOnTriggerCharacters', true, { description: nls.localize(
|
|
3507
|
+
inlineCompletionsAccessibilityVerbose: register(new EditorBooleanOption(173 /* EditorOption.inlineCompletionsAccessibilityVerbose */, 'inlineCompletionsAccessibilityVerbose', false, { description: nls.localize(625, "Controls whether the accessibility hint should be provided to screen reader users when an inline completion is shown.") })),
|
|
3508
|
+
suggestFontSize: register(new EditorIntOption(138 /* EditorOption.suggestFontSize */, 'suggestFontSize', 0, 0, 1000, { markdownDescription: nls.localize(626, "Font size for the suggest widget. When set to {0}, the value of {1} is used.", '`0`', '`#editor.fontSize#`') })),
|
|
3509
|
+
suggestLineHeight: register(new EditorIntOption(139 /* EditorOption.suggestLineHeight */, 'suggestLineHeight', 0, 0, 1000, { markdownDescription: nls.localize(627, "Line height for the suggest widget. When set to {0}, the value of {1} is used. The minimum value is 8.", '`0`', '`#editor.lineHeight#`') })),
|
|
3510
|
+
suggestOnTriggerCharacters: register(new EditorBooleanOption(140 /* EditorOption.suggestOnTriggerCharacters */, 'suggestOnTriggerCharacters', true, { description: nls.localize(628, "Controls whether suggestions should automatically show up when typing trigger characters.") })),
|
|
3503
3511
|
suggestSelection: register(new EditorStringEnumOption(141 /* EditorOption.suggestSelection */, 'suggestSelection', 'first', ['first', 'recentlyUsed', 'recentlyUsedByPrefix'], {
|
|
3504
3512
|
markdownEnumDescriptions: [
|
|
3505
|
-
nls.localize(
|
|
3506
|
-
nls.localize(
|
|
3507
|
-
nls.localize(
|
|
3513
|
+
nls.localize(629, "Always select the first suggestion."),
|
|
3514
|
+
nls.localize(630, "Select recent suggestions unless further typing selects one, e.g. `console.| -> console.log` because `log` has been completed recently."),
|
|
3515
|
+
nls.localize(631, "Select suggestions based on previous prefixes that have completed those suggestions, e.g. `co -> console` and `con -> const`."),
|
|
3508
3516
|
],
|
|
3509
|
-
description: nls.localize(
|
|
3517
|
+
description: nls.localize(632, "Controls how suggestions are pre-selected when showing the suggest list.")
|
|
3510
3518
|
})),
|
|
3511
3519
|
tabCompletion: register(new EditorStringEnumOption(142 /* EditorOption.tabCompletion */, 'tabCompletion', 'off', ['on', 'off', 'onlySnippets'], {
|
|
3512
3520
|
enumDescriptions: [
|
|
3513
|
-
nls.localize(
|
|
3514
|
-
nls.localize(
|
|
3515
|
-
nls.localize(
|
|
3521
|
+
nls.localize(633, "Tab complete will insert the best matching suggestion when pressing tab."),
|
|
3522
|
+
nls.localize(634, "Disable tab completions."),
|
|
3523
|
+
nls.localize(635, "Tab complete snippets when their prefix match. Works best when 'quickSuggestions' aren't enabled."),
|
|
3516
3524
|
],
|
|
3517
|
-
description: nls.localize(
|
|
3525
|
+
description: nls.localize(636, "Enables tab completions.")
|
|
3518
3526
|
})),
|
|
3519
3527
|
tabIndex: register(new EditorIntOption(143 /* EditorOption.tabIndex */, 'tabIndex', 0, -1, 1073741824 /* Constants.MAX_SAFE_SMALL_INTEGER */)),
|
|
3520
|
-
trimWhitespaceOnDelete: register(new EditorBooleanOption(144 /* EditorOption.trimWhitespaceOnDelete */, 'trimWhitespaceOnDelete', false, { description: nls.localize(
|
|
3528
|
+
trimWhitespaceOnDelete: register(new EditorBooleanOption(144 /* EditorOption.trimWhitespaceOnDelete */, 'trimWhitespaceOnDelete', false, { description: nls.localize(637, "Controls whether the editor will also delete the next line's indentation whitespace when deleting a newline.") })),
|
|
3521
3529
|
unicodeHighlight: register(new UnicodeHighlight()),
|
|
3522
3530
|
unusualLineTerminators: register(new EditorStringEnumOption(146 /* EditorOption.unusualLineTerminators */, 'unusualLineTerminators', 'prompt', ['auto', 'off', 'prompt'], {
|
|
3523
3531
|
enumDescriptions: [
|
|
3524
|
-
nls.localize(
|
|
3525
|
-
nls.localize(
|
|
3526
|
-
nls.localize(
|
|
3532
|
+
nls.localize(638, "Unusual line terminators are automatically removed."),
|
|
3533
|
+
nls.localize(639, "Unusual line terminators are ignored."),
|
|
3534
|
+
nls.localize(640, "Unusual line terminators prompt to be removed."),
|
|
3527
3535
|
],
|
|
3528
|
-
description: nls.localize(
|
|
3536
|
+
description: nls.localize(641, "Remove unusual line terminators that might cause problems.")
|
|
3529
3537
|
})),
|
|
3530
3538
|
useShadowDOM: register(new EditorBooleanOption(147 /* EditorOption.useShadowDOM */, 'useShadowDOM', true)),
|
|
3531
|
-
useTabStops: register(new EditorBooleanOption(148 /* EditorOption.useTabStops */, 'useTabStops', true, { description: nls.localize(
|
|
3539
|
+
useTabStops: register(new EditorBooleanOption(148 /* EditorOption.useTabStops */, 'useTabStops', true, { description: nls.localize(642, "Spaces and tabs are inserted and deleted in alignment with tab stops.") })),
|
|
3532
3540
|
wordBreak: register(new EditorStringEnumOption(149 /* EditorOption.wordBreak */, 'wordBreak', 'normal', ['normal', 'keepAll'], {
|
|
3533
3541
|
markdownEnumDescriptions: [
|
|
3534
|
-
nls.localize(
|
|
3535
|
-
nls.localize(
|
|
3542
|
+
nls.localize(643, "Use the default line break rule."),
|
|
3543
|
+
nls.localize(644, "Word breaks should not be used for Chinese/Japanese/Korean (CJK) text. Non-CJK text behavior is the same as for normal."),
|
|
3536
3544
|
],
|
|
3537
|
-
description: nls.localize(
|
|
3545
|
+
description: nls.localize(645, "Controls the word break rules used for Chinese/Japanese/Korean (CJK) text.")
|
|
3538
3546
|
})),
|
|
3539
3547
|
wordSegmenterLocales: register(new WordSegmenterLocales()),
|
|
3540
|
-
wordSeparators: register(new EditorStringOption(151 /* EditorOption.wordSeparators */, 'wordSeparators', USUAL_WORD_SEPARATORS, { description: nls.localize(
|
|
3548
|
+
wordSeparators: register(new EditorStringOption(151 /* EditorOption.wordSeparators */, 'wordSeparators', USUAL_WORD_SEPARATORS, { description: nls.localize(646, "Characters that will be used as word separators when doing word related navigations or operations.") })),
|
|
3541
3549
|
wordWrap: register(new EditorStringEnumOption(152 /* EditorOption.wordWrap */, 'wordWrap', 'off', ['off', 'on', 'wordWrapColumn', 'bounded'], {
|
|
3542
3550
|
markdownEnumDescriptions: [
|
|
3543
|
-
nls.localize(
|
|
3544
|
-
nls.localize(
|
|
3545
|
-
nls.localize(
|
|
3551
|
+
nls.localize(647, "Lines will never wrap."),
|
|
3552
|
+
nls.localize(648, "Lines will wrap at the viewport width."),
|
|
3553
|
+
nls.localize(649, "Lines will wrap at `#editor.wordWrapColumn#`."),
|
|
3546
3554
|
|
|
3547
3555
|
|
|
3548
3556
|
|
|
3549
3557
|
|
|
3550
3558
|
|
|
3551
|
-
nls.localize(
|
|
3559
|
+
nls.localize(650, "Lines will wrap at the minimum of viewport and `#editor.wordWrapColumn#`."),
|
|
3552
3560
|
|
|
3553
3561
|
|
|
3554
3562
|
|
|
@@ -3556,7 +3564,7 @@ export const EditorOptions = {
|
|
|
3556
3564
|
|
|
3557
3565
|
|
|
3558
3566
|
],
|
|
3559
|
-
description: nls.localize(
|
|
3567
|
+
description: nls.localize(651, "Controls how lines should wrap.")
|
|
3560
3568
|
|
|
3561
3569
|
|
|
3562
3570
|
|
|
@@ -3565,7 +3573,7 @@ export const EditorOptions = {
|
|
|
3565
3573
|
|
|
3566
3574
|
})),
|
|
3567
3575
|
wordWrapIndicator: register(new EditorBooleanOption(164 /* EditorOption.wordWrapIndicator */, 'wordWrapIndicator', false, {
|
|
3568
|
-
markdownDescription: nls.localize(
|
|
3576
|
+
markdownDescription: nls.localize(652, "Controls whether an indicator is rendered at the wrapping column of lines that wrap. Only has an effect when `#editor.wordWrap#` is enabled.")
|
|
3569
3577
|
|
|
3570
3578
|
|
|
3571
3579
|
|
|
@@ -3577,7 +3585,7 @@ export const EditorOptions = {
|
|
|
3577
3585
|
// allow-any-unicode-next-line
|
|
3578
3586
|
'([{‘“〈《「『【〔([{「£¥$£¥++')),
|
|
3579
3587
|
wordWrapColumn: register(new EditorIntOption(155 /* EditorOption.wordWrapColumn */, 'wordWrapColumn', 80, 1, 1073741824 /* Constants.MAX_SAFE_SMALL_INTEGER */, {
|
|
3580
|
-
markdownDescription: nls.localize(
|
|
3588
|
+
markdownDescription: nls.localize(653, "Controls the wrapping column of the editor when `#editor.wordWrap#` is `wordWrapColumn` or `bounded`.")
|
|
3581
3589
|
|
|
3582
3590
|
|
|
3583
3591
|
|
|
@@ -3587,17 +3595,17 @@ export const EditorOptions = {
|
|
|
3587
3595
|
})),
|
|
3588
3596
|
wordWrapOverride1: register(new EditorStringEnumOption(156 /* EditorOption.wordWrapOverride1 */, 'wordWrapOverride1', 'inherit', ['off', 'on', 'inherit'])),
|
|
3589
3597
|
wordWrapOverride2: register(new EditorStringEnumOption(157 /* EditorOption.wordWrapOverride2 */, 'wordWrapOverride2', 'inherit', ['off', 'on', 'inherit'])),
|
|
3590
|
-
wrapOnEscapedLineFeeds: register(new EditorBooleanOption(163 /* EditorOption.wrapOnEscapedLineFeeds */, 'wrapOnEscapedLineFeeds', false, { markdownDescription: nls.localize(
|
|
3598
|
+
wrapOnEscapedLineFeeds: register(new EditorBooleanOption(163 /* EditorOption.wrapOnEscapedLineFeeds */, 'wrapOnEscapedLineFeeds', false, { markdownDescription: nls.localize(654, "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```") })),
|
|
3591
3599
|
// Leave these at the end (because they have dependencies!)
|
|
3592
3600
|
effectiveCursorStyle: register(new EffectiveCursorStyle()),
|
|
3593
3601
|
editorClassName: register(new EditorClassName()),
|
|
3594
3602
|
defaultColorDecorators: register(new EditorStringEnumOption(171 /* EditorOption.defaultColorDecorators */, 'defaultColorDecorators', 'auto', ['auto', 'always', 'never'], {
|
|
3595
3603
|
enumDescriptions: [
|
|
3596
|
-
nls.localize(
|
|
3597
|
-
nls.localize(
|
|
3598
|
-
nls.localize(
|
|
3604
|
+
nls.localize(655, "Show default color decorators only when no extension provides colors decorators."),
|
|
3605
|
+
nls.localize(656, "Always show default color decorators."),
|
|
3606
|
+
nls.localize(657, "Never show default color decorators."),
|
|
3599
3607
|
],
|
|
3600
|
-
description: nls.localize(
|
|
3608
|
+
description: nls.localize(658, "Controls whether inline color decorations should be shown using the default document color provider.")
|
|
3601
3609
|
})),
|
|
3602
3610
|
pixelRatio: register(new EditorPixelRatio()),
|
|
3603
3611
|
tabFocusMode: register(new EditorTabFocusMode()),
|