monaco-editor-core 0.56.0-dev-20251217 → 0.56.0-dev-20251219
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 +6 -2
- package/esm/vs/base/browser/ui/actionbar/actionViewItems.js.map +1 -1
- package/esm/vs/base/browser/ui/findinput/findInput.js +6 -1
- package/esm/vs/base/browser/ui/findinput/findInput.js.map +1 -1
- package/esm/vs/base/browser/ui/inputbox/inputBox.js +17 -1
- package/esm/vs/base/browser/ui/inputbox/inputBox.js.map +1 -1
- package/esm/vs/base/browser/ui/toggle/toggle.js +78 -6
- package/esm/vs/base/browser/ui/toggle/toggle.js.map +1 -1
- package/esm/vs/base/common/fuzzyScorer.js +3 -2
- package/esm/vs/base/common/fuzzyScorer.js.map +1 -1
- package/esm/vs/editor/browser/services/editorWorkerService.js +6 -2
- package/esm/vs/editor/browser/services/editorWorkerService.js.map +1 -1
- package/esm/vs/editor/common/config/editorConfigurationSchema.js +49 -47
- package/esm/vs/editor/common/config/editorConfigurationSchema.js.map +1 -1
- package/esm/vs/editor/common/config/editorOptions.js +410 -410
- package/esm/vs/editor/common/core/editorColorRegistry.js +70 -69
- package/esm/vs/editor/common/core/editorColorRegistry.js.map +1 -1
- package/esm/vs/editor/common/cursor/cursorTypeEditOperations.js +3 -3
- package/esm/vs/editor/common/cursor/cursorTypeEditOperations.js.map +1 -1
- package/esm/vs/editor/common/editorContextKeys.js +47 -47
- 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/standaloneStrings.js +11 -11
- package/esm/vs/editor/common/viewLayout/viewLineRenderer.js +2 -2
- package/esm/vs/editor/common/viewModel/viewModelImpl.js +4 -15
- package/esm/vs/editor/common/viewModel/viewModelImpl.js.map +1 -1
- package/esm/vs/editor/contrib/anchorSelect/browser/anchorSelect.js +6 -6
- package/esm/vs/editor/contrib/bracketMatching/browser/bracketMatching.js +18 -9
- package/esm/vs/editor/contrib/bracketMatching/browser/bracketMatching.js.map +1 -1
- 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 +10 -10
- 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/editorState/browser/keybindingCancellation.js +1 -1
- package/esm/vs/editor/contrib/find/browser/findController.js +16 -16
- package/esm/vs/editor/contrib/find/browser/findWidget.js +26 -26
- package/esm/vs/editor/contrib/folding/browser/folding.js +20 -20
- package/esm/vs/editor/contrib/folding/browser/folding.js.map +1 -1
- 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/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/markdownHoverParticipant.js +9 -9
- package/esm/vs/editor/contrib/hover/browser/markerHoverParticipant.js +5 -5
- package/esm/vs/editor/contrib/inPlaceReplace/browser/inPlaceReplace.js +2 -2
- package/esm/vs/editor/contrib/indentation/browser/indentation.js +20 -20
- package/esm/vs/editor/contrib/inlayHints/browser/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 +1 -1
- package/esm/vs/editor/contrib/inlineCompletions/browser/hintsWidget/hoverParticipant.js +2 -2
- package/esm/vs/editor/contrib/inlineCompletions/browser/hintsWidget/inlineCompletionsHintsWidget.js +5 -5
- package/esm/vs/editor/contrib/inlineCompletions/browser/model/inlineCompletionsSource.js +1 -1
- package/esm/vs/editor/contrib/inlineCompletions/browser/model/inlineCompletionsSource.js.map +1 -1
- package/esm/vs/editor/contrib/inlineCompletions/browser/model/renameSymbolProcessor.js +4 -4
- package/esm/vs/editor/contrib/inlineCompletions/browser/model/renameSymbolProcessor.js.map +1 -1
- 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 +10 -10
- 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/gotoLineQuickAccess.js +25 -27
- package/esm/vs/editor/contrib/quickAccess/browser/gotoLineQuickAccess.js.map +1 -1
- 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 +4 -4
- 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/suggestWidget.js +17 -17
- package/esm/vs/editor/contrib/suggest/browser/suggestWidgetDetails.js +2 -2
- 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/platform/accessibilitySignal/browser/accessibilitySignalService.js +62 -62
- package/esm/vs/platform/action/common/actionCommonCategories.js +6 -6
- package/esm/vs/platform/actionWidget/browser/actionList.js +4 -4
- package/esm/vs/platform/actionWidget/browser/actionWidget.js +7 -7
- package/esm/vs/platform/actions/browser/menuEntryActionViewItem.js +5 -5
- package/esm/vs/platform/actions/browser/toolbar.js +2 -2
- package/esm/vs/platform/actions/common/menuService.js +2 -2
- package/esm/vs/platform/configuration/common/configurationRegistry.js +10 -10
- package/esm/vs/platform/contextkey/browser/contextKeyService.js +1 -1
- package/esm/vs/platform/contextkey/common/contextkey.js +9 -9
- package/esm/vs/platform/contextkey/common/contextkeys.js +9 -9
- package/esm/vs/platform/contextkey/common/scanner.js +5 -5
- package/esm/vs/platform/history/browser/contextScopedHistoryWidget.js +1 -1
- package/esm/vs/platform/hover/browser/hoverWidget.js +1 -1
- package/esm/vs/platform/hover/browser/updatableHoverWidget.js +1 -1
- package/esm/vs/platform/keybinding/common/abstractKeybindingService.js +4 -4
- package/esm/vs/platform/list/browser/listService.js +27 -27
- package/esm/vs/platform/markers/common/markerService.js +2 -2
- package/esm/vs/platform/markers/common/markers.js +6 -6
- package/esm/vs/platform/quickinput/browser/commandsQuickAccess.js +8 -8
- package/esm/vs/platform/quickinput/browser/helpQuickAccess.js +1 -1
- package/esm/vs/platform/quickinput/browser/media/quickInput.css +38 -4
- package/esm/vs/platform/quickinput/browser/quickInput.js +42 -14
- package/esm/vs/platform/quickinput/browser/quickInput.js.map +1 -1
- package/esm/vs/platform/quickinput/browser/quickInputActions.js +5 -5
- package/esm/vs/platform/quickinput/browser/quickInputBox.js +13 -1
- package/esm/vs/platform/quickinput/browser/quickInputBox.js.map +1 -1
- package/esm/vs/platform/quickinput/browser/quickInputController.js +22 -12
- package/esm/vs/platform/quickinput/browser/quickInputController.js.map +1 -1
- package/esm/vs/platform/quickinput/browser/quickInputList.js +17 -12
- package/esm/vs/platform/quickinput/browser/quickInputList.js.map +1 -1
- package/esm/vs/platform/quickinput/browser/quickInputUtils.js +36 -8
- package/esm/vs/platform/quickinput/browser/quickInputUtils.js.map +1 -1
- package/esm/vs/platform/quickinput/browser/tree/quickInputTreeAccessibilityProvider.js +1 -1
- package/esm/vs/platform/quickinput/browser/tree/quickInputTreeController.js +3 -3
- package/esm/vs/platform/quickinput/browser/tree/quickInputTreeController.js.map +1 -1
- package/esm/vs/platform/quickinput/browser/tree/quickInputTreeRenderer.js +8 -4
- package/esm/vs/platform/quickinput/browser/tree/quickInputTreeRenderer.js.map +1 -1
- package/esm/vs/platform/quickinput/common/quickInput.js.map +1 -1
- package/esm/vs/platform/theme/common/colorUtils.js +2 -2
- package/esm/vs/platform/theme/common/colors/baseColors.js +18 -18
- package/esm/vs/platform/theme/common/colors/chartsColors.js +8 -8
- package/esm/vs/platform/theme/common/colors/editorColors.js +95 -95
- package/esm/vs/platform/theme/common/colors/inputColors.js +47 -47
- package/esm/vs/platform/theme/common/colors/listColors.js +36 -36
- package/esm/vs/platform/theme/common/colors/menuColors.js +7 -7
- package/esm/vs/platform/theme/common/colors/minimapColors.js +11 -11
- package/esm/vs/platform/theme/common/colors/miscColors.js +16 -16
- package/esm/vs/platform/theme/common/colors/quickpickColors.js +9 -9
- package/esm/vs/platform/theme/common/colors/searchColors.js +3 -3
- package/esm/vs/platform/theme/common/iconRegistry.js +6 -6
- package/esm/vs/platform/undoRedo/common/undoRedoService.js +20 -20
- package/esm/vs/platform/workspace/common/workspace.js +1 -1
- package/package.json +2 -2
|
@@ -304,13 +304,13 @@ class EditorAccessibilitySupport extends BaseEditorOption {
|
|
|
304
304
|
type: 'string',
|
|
305
305
|
enum: ['auto', 'on', 'off'],
|
|
306
306
|
enumDescriptions: [
|
|
307
|
-
nls.localize(
|
|
308
|
-
nls.localize(
|
|
309
|
-
nls.localize(
|
|
307
|
+
nls.localize(202, "Use platform APIs to detect when a Screen Reader is attached."),
|
|
308
|
+
nls.localize(203, "Optimize for usage with a Screen Reader."),
|
|
309
|
+
nls.localize(204, "Assume a screen reader is not attached."),
|
|
310
310
|
],
|
|
311
311
|
default: 'auto',
|
|
312
312
|
tags: ['accessibility'],
|
|
313
|
-
description: nls.localize(
|
|
313
|
+
description: nls.localize(205, "Controls if the UI should run in a mode where it is optimized for screen readers.")
|
|
314
314
|
});
|
|
315
315
|
}
|
|
316
316
|
validate(input) {
|
|
@@ -339,12 +339,12 @@ class EditorComments extends BaseEditorOption {
|
|
|
339
339
|
'editor.comments.insertSpace': {
|
|
340
340
|
type: 'boolean',
|
|
341
341
|
default: defaults.insertSpace,
|
|
342
|
-
description: nls.localize(
|
|
342
|
+
description: nls.localize(206, "Controls whether a space character is inserted when commenting.")
|
|
343
343
|
},
|
|
344
344
|
'editor.comments.ignoreEmptyLines': {
|
|
345
345
|
type: 'boolean',
|
|
346
346
|
default: defaults.ignoreEmptyLines,
|
|
347
|
-
description: nls.localize(
|
|
347
|
+
description: nls.localize(207, 'Controls if empty lines should be ignored with toggle, add or remove actions for line comments.')
|
|
348
348
|
},
|
|
349
349
|
});
|
|
350
350
|
}
|
|
@@ -449,7 +449,7 @@ class EditorClassName extends ComputedEditorOption {
|
|
|
449
449
|
//#region emptySelectionClipboard
|
|
450
450
|
class EditorEmptySelectionClipboard extends EditorBooleanOption {
|
|
451
451
|
constructor() {
|
|
452
|
-
super(45 /* EditorOption.emptySelectionClipboard */, 'emptySelectionClipboard', true, { description: nls.localize(
|
|
452
|
+
super(45 /* EditorOption.emptySelectionClipboard */, 'emptySelectionClipboard', true, { description: nls.localize(208, "Controls whether copying without a selection copies the current line.") });
|
|
453
453
|
}
|
|
454
454
|
compute(env, options, value) {
|
|
455
455
|
return value && env.emptySelectionClipboard;
|
|
@@ -472,70 +472,70 @@ class EditorFind extends BaseEditorOption {
|
|
|
472
472
|
'editor.find.cursorMoveOnType': {
|
|
473
473
|
type: 'boolean',
|
|
474
474
|
default: defaults.cursorMoveOnType,
|
|
475
|
-
description: nls.localize(
|
|
475
|
+
description: nls.localize(209, "Controls whether the cursor should jump to find matches while typing.")
|
|
476
476
|
},
|
|
477
477
|
'editor.find.seedSearchStringFromSelection': {
|
|
478
478
|
type: 'string',
|
|
479
479
|
enum: ['never', 'always', 'selection'],
|
|
480
480
|
default: defaults.seedSearchStringFromSelection,
|
|
481
481
|
enumDescriptions: [
|
|
482
|
-
nls.localize(
|
|
483
|
-
nls.localize(
|
|
484
|
-
nls.localize(
|
|
482
|
+
nls.localize(210, 'Never seed search string from the editor selection.'),
|
|
483
|
+
nls.localize(211, 'Always seed search string from the editor selection, including word at cursor position.'),
|
|
484
|
+
nls.localize(212, 'Only seed search string from the editor selection.')
|
|
485
485
|
],
|
|
486
|
-
description: nls.localize(
|
|
486
|
+
description: nls.localize(213, "Controls whether the search string in the Find Widget is seeded from the editor selection.")
|
|
487
487
|
},
|
|
488
488
|
'editor.find.autoFindInSelection': {
|
|
489
489
|
type: 'string',
|
|
490
490
|
enum: ['never', 'always', 'multiline'],
|
|
491
491
|
default: defaults.autoFindInSelection,
|
|
492
492
|
enumDescriptions: [
|
|
493
|
-
nls.localize(
|
|
494
|
-
nls.localize(
|
|
495
|
-
nls.localize(
|
|
493
|
+
nls.localize(214, 'Never turn on Find in Selection automatically (default).'),
|
|
494
|
+
nls.localize(215, 'Always turn on Find in Selection automatically.'),
|
|
495
|
+
nls.localize(216, 'Turn on Find in Selection automatically when multiple lines of content are selected.')
|
|
496
496
|
],
|
|
497
|
-
description: nls.localize(
|
|
497
|
+
description: nls.localize(217, "Controls the condition for turning on Find in Selection automatically.")
|
|
498
498
|
},
|
|
499
499
|
'editor.find.globalFindClipboard': {
|
|
500
500
|
type: 'boolean',
|
|
501
501
|
default: defaults.globalFindClipboard,
|
|
502
|
-
description: nls.localize(
|
|
502
|
+
description: nls.localize(218, "Controls whether the Find Widget should read or modify the shared find clipboard on macOS."),
|
|
503
503
|
included: platform.isMacintosh
|
|
504
504
|
},
|
|
505
505
|
'editor.find.addExtraSpaceOnTop': {
|
|
506
506
|
type: 'boolean',
|
|
507
507
|
default: defaults.addExtraSpaceOnTop,
|
|
508
|
-
description: nls.localize(
|
|
508
|
+
description: nls.localize(219, "Controls whether the Find Widget should add extra lines on top of the editor. When true, you can scroll beyond the first line when the Find Widget is visible.")
|
|
509
509
|
},
|
|
510
510
|
'editor.find.loop': {
|
|
511
511
|
type: 'boolean',
|
|
512
512
|
default: defaults.loop,
|
|
513
|
-
description: nls.localize(
|
|
513
|
+
description: nls.localize(220, "Controls whether the search automatically restarts from the beginning (or the end) when no further matches can be found.")
|
|
514
514
|
},
|
|
515
515
|
'editor.find.history': {
|
|
516
516
|
type: 'string',
|
|
517
517
|
enum: ['never', 'workspace'],
|
|
518
518
|
default: 'workspace',
|
|
519
519
|
enumDescriptions: [
|
|
520
|
-
nls.localize(
|
|
521
|
-
nls.localize(
|
|
520
|
+
nls.localize(221, 'Do not store search history from the find widget.'),
|
|
521
|
+
nls.localize(222, 'Store search history across the active workspace'),
|
|
522
522
|
],
|
|
523
|
-
description: nls.localize(
|
|
523
|
+
description: nls.localize(223, "Controls how the find widget history should be stored")
|
|
524
524
|
},
|
|
525
525
|
'editor.find.replaceHistory': {
|
|
526
526
|
type: 'string',
|
|
527
527
|
enum: ['never', 'workspace'],
|
|
528
528
|
default: 'workspace',
|
|
529
529
|
enumDescriptions: [
|
|
530
|
-
nls.localize(
|
|
531
|
-
nls.localize(
|
|
530
|
+
nls.localize(224, 'Do not store history from the replace widget.'),
|
|
531
|
+
nls.localize(225, 'Store replace history across the active workspace'),
|
|
532
532
|
],
|
|
533
|
-
description: nls.localize(
|
|
533
|
+
description: nls.localize(226, "Controls how the replace widget history should be stored")
|
|
534
534
|
},
|
|
535
535
|
'editor.find.findOnType': {
|
|
536
536
|
type: 'boolean',
|
|
537
537
|
default: defaults.findOnType,
|
|
538
|
-
description: nls.localize(
|
|
538
|
+
description: nls.localize(227, "Controls whether the Find Widget should search as you type.")
|
|
539
539
|
},
|
|
540
540
|
});
|
|
541
541
|
}
|
|
@@ -574,14 +574,14 @@ export class EditorFontLigatures extends BaseEditorOption {
|
|
|
574
574
|
anyOf: [
|
|
575
575
|
{
|
|
576
576
|
type: 'boolean',
|
|
577
|
-
description: nls.localize(
|
|
577
|
+
description: nls.localize(228, "Enables/Disables font ligatures ('calt' and 'liga' font features). Change this to a string for fine-grained control of the 'font-feature-settings' CSS property."),
|
|
578
578
|
},
|
|
579
579
|
{
|
|
580
580
|
type: 'string',
|
|
581
|
-
description: nls.localize(
|
|
581
|
+
description: nls.localize(229, "Explicit 'font-feature-settings' CSS property. A boolean can be passed instead if one only needs to turn on/off ligatures.")
|
|
582
582
|
}
|
|
583
583
|
],
|
|
584
|
-
description: nls.localize(
|
|
584
|
+
description: nls.localize(230, "Configures font ligatures or font features. Can be either a boolean to enable/disable ligatures or a string for the value of the CSS 'font-feature-settings' property."),
|
|
585
585
|
default: false
|
|
586
586
|
});
|
|
587
587
|
}
|
|
@@ -619,14 +619,14 @@ export class EditorFontVariations extends BaseEditorOption {
|
|
|
619
619
|
anyOf: [
|
|
620
620
|
{
|
|
621
621
|
type: 'boolean',
|
|
622
|
-
description: nls.localize(
|
|
622
|
+
description: nls.localize(231, "Enables/Disables the translation from font-weight to font-variation-settings. Change this to a string for fine-grained control of the 'font-variation-settings' CSS property."),
|
|
623
623
|
},
|
|
624
624
|
{
|
|
625
625
|
type: 'string',
|
|
626
|
-
description: nls.localize(
|
|
626
|
+
description: nls.localize(232, "Explicit 'font-variation-settings' CSS property. A boolean can be passed instead if one only needs to translate font-weight to font-variation-settings.")
|
|
627
627
|
}
|
|
628
628
|
],
|
|
629
|
-
description: nls.localize(
|
|
629
|
+
description: nls.localize(233, "Configures font variations. Can be either a boolean to enable/disable the translation from font-weight to font-variation-settings or a string for the value of the CSS 'font-variation-settings' property."),
|
|
630
630
|
default: false
|
|
631
631
|
});
|
|
632
632
|
}
|
|
@@ -728,7 +728,7 @@ class EditorFontSize extends SimpleEditorOption {
|
|
|
728
728
|
minimum: 6,
|
|
729
729
|
maximum: 100,
|
|
730
730
|
default: EDITOR_FONT_DEFAULTS.fontSize,
|
|
731
|
-
description: nls.localize(
|
|
731
|
+
description: nls.localize(234, "Controls the font size in pixels.")
|
|
732
732
|
});
|
|
733
733
|
}
|
|
734
734
|
validate(input) {
|
|
@@ -757,7 +757,7 @@ class EditorFontWeight extends BaseEditorOption {
|
|
|
757
757
|
type: 'number',
|
|
758
758
|
minimum: EditorFontWeight.MINIMUM_VALUE,
|
|
759
759
|
maximum: EditorFontWeight.MAXIMUM_VALUE,
|
|
760
|
-
errorMessage: nls.localize(
|
|
760
|
+
errorMessage: nls.localize(235, "Only \"normal\" and \"bold\" keywords or numbers between 1 and 1000 are allowed.")
|
|
761
761
|
},
|
|
762
762
|
{
|
|
763
763
|
type: 'string',
|
|
@@ -768,7 +768,7 @@ class EditorFontWeight extends BaseEditorOption {
|
|
|
768
768
|
}
|
|
769
769
|
],
|
|
770
770
|
default: EDITOR_FONT_DEFAULTS.fontWeight,
|
|
771
|
-
description: nls.localize(
|
|
771
|
+
description: nls.localize(236, "Controls the font weight. Accepts \"normal\" and \"bold\" keywords or numbers between 1 and 1000.")
|
|
772
772
|
});
|
|
773
773
|
}
|
|
774
774
|
validate(input) {
|
|
@@ -800,65 +800,65 @@ class EditorGoToLocation extends BaseEditorOption {
|
|
|
800
800
|
enum: ['peek', 'gotoAndPeek', 'goto'],
|
|
801
801
|
default: defaults.multiple,
|
|
802
802
|
enumDescriptions: [
|
|
803
|
-
nls.localize(
|
|
804
|
-
nls.localize(
|
|
805
|
-
nls.localize(
|
|
803
|
+
nls.localize(237, 'Show Peek view of the results (default)'),
|
|
804
|
+
nls.localize(238, 'Go to the primary result and show a Peek view'),
|
|
805
|
+
nls.localize(239, 'Go to the primary result and enable Peek-less navigation to others')
|
|
806
806
|
]
|
|
807
807
|
};
|
|
808
808
|
const alternativeCommandOptions = ['', 'editor.action.referenceSearch.trigger', 'editor.action.goToReferences', 'editor.action.peekImplementation', 'editor.action.goToImplementation', 'editor.action.peekTypeDefinition', 'editor.action.goToTypeDefinition', 'editor.action.peekDeclaration', 'editor.action.revealDeclaration', 'editor.action.peekDefinition', 'editor.action.revealDefinitionAside', 'editor.action.revealDefinition'];
|
|
809
809
|
super(67 /* EditorOption.gotoLocation */, 'gotoLocation', defaults, {
|
|
810
810
|
'editor.gotoLocation.multiple': {
|
|
811
|
-
deprecationMessage: nls.localize(
|
|
811
|
+
deprecationMessage: nls.localize(240, "This setting is deprecated, please use separate settings like 'editor.editor.gotoLocation.multipleDefinitions' or 'editor.editor.gotoLocation.multipleImplementations' instead."),
|
|
812
812
|
},
|
|
813
813
|
'editor.gotoLocation.multipleDefinitions': {
|
|
814
|
-
description: nls.localize(
|
|
814
|
+
description: nls.localize(241, "Controls the behavior the 'Go to Definition'-command when multiple target locations exist."),
|
|
815
815
|
...jsonSubset,
|
|
816
816
|
},
|
|
817
817
|
'editor.gotoLocation.multipleTypeDefinitions': {
|
|
818
|
-
description: nls.localize(
|
|
818
|
+
description: nls.localize(242, "Controls the behavior the 'Go to Type Definition'-command when multiple target locations exist."),
|
|
819
819
|
...jsonSubset,
|
|
820
820
|
},
|
|
821
821
|
'editor.gotoLocation.multipleDeclarations': {
|
|
822
|
-
description: nls.localize(
|
|
822
|
+
description: nls.localize(243, "Controls the behavior the 'Go to Declaration'-command when multiple target locations exist."),
|
|
823
823
|
...jsonSubset,
|
|
824
824
|
},
|
|
825
825
|
'editor.gotoLocation.multipleImplementations': {
|
|
826
|
-
description: nls.localize(
|
|
826
|
+
description: nls.localize(244, "Controls the behavior the 'Go to Implementations'-command when multiple target locations exist."),
|
|
827
827
|
...jsonSubset,
|
|
828
828
|
},
|
|
829
829
|
'editor.gotoLocation.multipleReferences': {
|
|
830
|
-
description: nls.localize(
|
|
830
|
+
description: nls.localize(245, "Controls the behavior the 'Go to References'-command when multiple target locations exist."),
|
|
831
831
|
...jsonSubset,
|
|
832
832
|
},
|
|
833
833
|
'editor.gotoLocation.alternativeDefinitionCommand': {
|
|
834
834
|
type: 'string',
|
|
835
835
|
default: defaults.alternativeDefinitionCommand,
|
|
836
836
|
enum: alternativeCommandOptions,
|
|
837
|
-
description: nls.localize(
|
|
837
|
+
description: nls.localize(246, "Alternative command id that is being executed when the result of 'Go to Definition' is the current location.")
|
|
838
838
|
},
|
|
839
839
|
'editor.gotoLocation.alternativeTypeDefinitionCommand': {
|
|
840
840
|
type: 'string',
|
|
841
841
|
default: defaults.alternativeTypeDefinitionCommand,
|
|
842
842
|
enum: alternativeCommandOptions,
|
|
843
|
-
description: nls.localize(
|
|
843
|
+
description: nls.localize(247, "Alternative command id that is being executed when the result of 'Go to Type Definition' is the current location.")
|
|
844
844
|
},
|
|
845
845
|
'editor.gotoLocation.alternativeDeclarationCommand': {
|
|
846
846
|
type: 'string',
|
|
847
847
|
default: defaults.alternativeDeclarationCommand,
|
|
848
848
|
enum: alternativeCommandOptions,
|
|
849
|
-
description: nls.localize(
|
|
849
|
+
description: nls.localize(248, "Alternative command id that is being executed when the result of 'Go to Declaration' is the current location.")
|
|
850
850
|
},
|
|
851
851
|
'editor.gotoLocation.alternativeImplementationCommand': {
|
|
852
852
|
type: 'string',
|
|
853
853
|
default: defaults.alternativeImplementationCommand,
|
|
854
854
|
enum: alternativeCommandOptions,
|
|
855
|
-
description: nls.localize(
|
|
855
|
+
description: nls.localize(249, "Alternative command id that is being executed when the result of 'Go to Implementation' is the current location.")
|
|
856
856
|
},
|
|
857
857
|
'editor.gotoLocation.alternativeReferenceCommand': {
|
|
858
858
|
type: 'string',
|
|
859
859
|
default: defaults.alternativeReferenceCommand,
|
|
860
860
|
enum: alternativeCommandOptions,
|
|
861
|
-
description: nls.localize(
|
|
861
|
+
description: nls.localize(250, "Alternative command id that is being executed when the result of 'Go to Reference' is the current location.")
|
|
862
862
|
},
|
|
863
863
|
});
|
|
864
864
|
}
|
|
@@ -899,34 +899,34 @@ class EditorHover extends BaseEditorOption {
|
|
|
899
899
|
enum: ['on', 'off', 'onKeyboardModifier'],
|
|
900
900
|
default: defaults.enabled,
|
|
901
901
|
markdownEnumDescriptions: [
|
|
902
|
-
nls.localize(
|
|
903
|
-
nls.localize(
|
|
904
|
-
nls.localize(
|
|
902
|
+
nls.localize(251, "Hover is enabled."),
|
|
903
|
+
nls.localize(252, "Hover is disabled."),
|
|
904
|
+
nls.localize(253, "Hover is shown when holding `{0}` or `Alt` (the opposite modifier of `#editor.multiCursorModifier#`)", platform.isMacintosh ? `Command` : `Control`)
|
|
905
905
|
],
|
|
906
|
-
description: nls.localize(
|
|
906
|
+
description: nls.localize(254, "Controls whether the hover is shown.")
|
|
907
907
|
},
|
|
908
908
|
'editor.hover.delay': {
|
|
909
909
|
type: 'number',
|
|
910
910
|
default: defaults.delay,
|
|
911
911
|
minimum: 0,
|
|
912
912
|
maximum: 10000,
|
|
913
|
-
description: nls.localize(
|
|
913
|
+
description: nls.localize(255, "Controls the delay in milliseconds after which the hover is shown.")
|
|
914
914
|
},
|
|
915
915
|
'editor.hover.sticky': {
|
|
916
916
|
type: 'boolean',
|
|
917
917
|
default: defaults.sticky,
|
|
918
|
-
description: nls.localize(
|
|
918
|
+
description: nls.localize(256, "Controls whether the hover should remain visible when mouse is moved over it.")
|
|
919
919
|
},
|
|
920
920
|
'editor.hover.hidingDelay': {
|
|
921
921
|
type: 'integer',
|
|
922
922
|
minimum: 0,
|
|
923
923
|
default: defaults.hidingDelay,
|
|
924
|
-
markdownDescription: nls.localize(
|
|
924
|
+
markdownDescription: nls.localize(257, "Controls the delay in milliseconds after which the hover is hidden. Requires `#editor.hover.sticky#` to be enabled.")
|
|
925
925
|
},
|
|
926
926
|
'editor.hover.above': {
|
|
927
927
|
type: 'boolean',
|
|
928
928
|
default: defaults.above,
|
|
929
|
-
description: nls.localize(
|
|
929
|
+
description: nls.localize(258, "Prefer showing hovers above the line, if there's space.")
|
|
930
930
|
},
|
|
931
931
|
});
|
|
932
932
|
}
|
|
@@ -1303,13 +1303,13 @@ class WrappingStrategy extends BaseEditorOption {
|
|
|
1303
1303
|
super(156 /* EditorOption.wrappingStrategy */, 'wrappingStrategy', 'simple', {
|
|
1304
1304
|
'editor.wrappingStrategy': {
|
|
1305
1305
|
enumDescriptions: [
|
|
1306
|
-
nls.localize(
|
|
1307
|
-
nls.localize(
|
|
1306
|
+
nls.localize(259, "Assumes that all characters are of the same width. This is a fast algorithm that works correctly for monospace fonts and certain scripts (like Latin characters) where glyphs are of equal width."),
|
|
1307
|
+
nls.localize(260, "Delegates wrapping points computation to the browser. This is a slow algorithm, that might cause freezes for large files, but it works correctly in all cases.")
|
|
1308
1308
|
],
|
|
1309
1309
|
type: 'string',
|
|
1310
1310
|
enum: ['simple', 'advanced'],
|
|
1311
1311
|
default: 'simple',
|
|
1312
|
-
description: nls.localize(
|
|
1312
|
+
description: nls.localize(261, "Controls the algorithm that computes wrapping points. Note that when in accessibility mode, advanced will be used for the best experience.")
|
|
1313
1313
|
}
|
|
1314
1314
|
});
|
|
1315
1315
|
}
|
|
@@ -1343,11 +1343,11 @@ class EditorLightbulb extends BaseEditorOption {
|
|
|
1343
1343
|
enum: [ShowLightbulbIconMode.Off, ShowLightbulbIconMode.OnCode, ShowLightbulbIconMode.On],
|
|
1344
1344
|
default: defaults.enabled,
|
|
1345
1345
|
enumDescriptions: [
|
|
1346
|
-
nls.localize(
|
|
1347
|
-
nls.localize(
|
|
1348
|
-
nls.localize(
|
|
1346
|
+
nls.localize(262, 'Disable the code action menu.'),
|
|
1347
|
+
nls.localize(263, 'Show the code action menu when the cursor is on lines with code.'),
|
|
1348
|
+
nls.localize(264, 'Show the code action menu when the cursor is on lines with code or on empty lines.'),
|
|
1349
1349
|
],
|
|
1350
|
-
description: nls.localize(
|
|
1350
|
+
description: nls.localize(265, "Enables the Code Action lightbulb in the editor.")
|
|
1351
1351
|
}
|
|
1352
1352
|
});
|
|
1353
1353
|
}
|
|
@@ -1368,25 +1368,25 @@ class EditorStickyScroll extends BaseEditorOption {
|
|
|
1368
1368
|
'editor.stickyScroll.enabled': {
|
|
1369
1369
|
type: 'boolean',
|
|
1370
1370
|
default: defaults.enabled,
|
|
1371
|
-
description: nls.localize(
|
|
1371
|
+
description: nls.localize(266, "Shows the nested current scopes during the scroll at the top of the editor.")
|
|
1372
1372
|
},
|
|
1373
1373
|
'editor.stickyScroll.maxLineCount': {
|
|
1374
1374
|
type: 'number',
|
|
1375
1375
|
default: defaults.maxLineCount,
|
|
1376
1376
|
minimum: 1,
|
|
1377
1377
|
maximum: 20,
|
|
1378
|
-
description: nls.localize(
|
|
1378
|
+
description: nls.localize(267, "Defines the maximum number of sticky lines to show.")
|
|
1379
1379
|
},
|
|
1380
1380
|
'editor.stickyScroll.defaultModel': {
|
|
1381
1381
|
type: 'string',
|
|
1382
1382
|
enum: ['outlineModel', 'foldingProviderModel', 'indentationModel'],
|
|
1383
1383
|
default: defaults.defaultModel,
|
|
1384
|
-
description: nls.localize(
|
|
1384
|
+
description: nls.localize(268, "Defines the model to use for determining which lines to stick. If the outline model does not exist, it will fall back on the folding provider model which falls back on the indentation model. This order is respected in all three cases.")
|
|
1385
1385
|
},
|
|
1386
1386
|
'editor.stickyScroll.scrollWithEditor': {
|
|
1387
1387
|
type: 'boolean',
|
|
1388
1388
|
default: defaults.scrollWithEditor,
|
|
1389
|
-
description: nls.localize(
|
|
1389
|
+
description: nls.localize(269, "Enable scrolling of Sticky Scroll with the editor's horizontal scrollbar.")
|
|
1390
1390
|
},
|
|
1391
1391
|
});
|
|
1392
1392
|
}
|
|
@@ -1410,34 +1410,34 @@ class EditorInlayHints extends BaseEditorOption {
|
|
|
1410
1410
|
'editor.inlayHints.enabled': {
|
|
1411
1411
|
type: 'string',
|
|
1412
1412
|
default: defaults.enabled,
|
|
1413
|
-
description: nls.localize(
|
|
1413
|
+
description: nls.localize(270, "Enables the inlay hints in the editor."),
|
|
1414
1414
|
enum: ['on', 'onUnlessPressed', 'offUnlessPressed', 'off'],
|
|
1415
1415
|
markdownEnumDescriptions: [
|
|
1416
|
-
nls.localize(
|
|
1417
|
-
nls.localize(
|
|
1418
|
-
nls.localize(
|
|
1419
|
-
nls.localize(
|
|
1416
|
+
nls.localize(271, "Inlay hints are enabled"),
|
|
1417
|
+
nls.localize(272, "Inlay hints are showing by default and hide when holding {0}", platform.isMacintosh ? `Ctrl+Option` : `Ctrl+Alt`),
|
|
1418
|
+
nls.localize(273, "Inlay hints are hidden by default and show when holding {0}", platform.isMacintosh ? `Ctrl+Option` : `Ctrl+Alt`),
|
|
1419
|
+
nls.localize(274, "Inlay hints are disabled"),
|
|
1420
1420
|
],
|
|
1421
1421
|
},
|
|
1422
1422
|
'editor.inlayHints.fontSize': {
|
|
1423
1423
|
type: 'number',
|
|
1424
1424
|
default: defaults.fontSize,
|
|
1425
|
-
markdownDescription: nls.localize(
|
|
1425
|
+
markdownDescription: nls.localize(275, "Controls font size of inlay hints in the editor. As default the {0} is used when the configured value is less than {1} or greater than the editor font size.", '`#editor.fontSize#`', '`5`')
|
|
1426
1426
|
},
|
|
1427
1427
|
'editor.inlayHints.fontFamily': {
|
|
1428
1428
|
type: 'string',
|
|
1429
1429
|
default: defaults.fontFamily,
|
|
1430
|
-
markdownDescription: nls.localize(
|
|
1430
|
+
markdownDescription: nls.localize(276, "Controls font family of inlay hints in the editor. When set to empty, the {0} is used.", '`#editor.fontFamily#`')
|
|
1431
1431
|
},
|
|
1432
1432
|
'editor.inlayHints.padding': {
|
|
1433
1433
|
type: 'boolean',
|
|
1434
1434
|
default: defaults.padding,
|
|
1435
|
-
description: nls.localize(
|
|
1435
|
+
description: nls.localize(277, "Enables the padding around the inlay hints in the editor.")
|
|
1436
1436
|
},
|
|
1437
1437
|
'editor.inlayHints.maximumLength': {
|
|
1438
1438
|
type: 'number',
|
|
1439
1439
|
default: defaults.maximumLength,
|
|
1440
|
-
markdownDescription: nls.localize(
|
|
1440
|
+
markdownDescription: nls.localize(278, "Maximum overall length of inlay hints, for a single line, before they get truncated by the editor. Set to `0` to never truncate")
|
|
1441
1441
|
}
|
|
1442
1442
|
});
|
|
1443
1443
|
}
|
|
@@ -1487,7 +1487,7 @@ class EditorLineDecorationsWidth extends BaseEditorOption {
|
|
|
1487
1487
|
//#region lineHeight
|
|
1488
1488
|
class EditorLineHeight extends EditorFloatOption {
|
|
1489
1489
|
constructor() {
|
|
1490
|
-
super(75 /* EditorOption.lineHeight */, 'lineHeight', EDITOR_FONT_DEFAULTS.lineHeight, x => EditorFloatOption.clamp(x, 0, 150), { markdownDescription: nls.localize(
|
|
1490
|
+
super(75 /* EditorOption.lineHeight */, 'lineHeight', EDITOR_FONT_DEFAULTS.lineHeight, x => EditorFloatOption.clamp(x, 0, 150), { markdownDescription: nls.localize(279, "Controls the line height. \n - Use 0 to automatically compute the line height from the font size.\n - Values between 0 and 8 will be used as a multiplier with the font size.\n - Values greater than or equal to 8 will be used as effective values.") }, 0, 150);
|
|
1491
1491
|
}
|
|
1492
1492
|
compute(env, options, value) {
|
|
1493
1493
|
// The lineHeight is computed from the fontSize if it is 0.
|
|
@@ -1517,41 +1517,41 @@ class EditorMinimap extends BaseEditorOption {
|
|
|
1517
1517
|
'editor.minimap.enabled': {
|
|
1518
1518
|
type: 'boolean',
|
|
1519
1519
|
default: defaults.enabled,
|
|
1520
|
-
description: nls.localize(
|
|
1520
|
+
description: nls.localize(280, "Controls whether the minimap is shown.")
|
|
1521
1521
|
},
|
|
1522
1522
|
'editor.minimap.autohide': {
|
|
1523
1523
|
type: 'string',
|
|
1524
1524
|
enum: ['none', 'mouseover', 'scroll'],
|
|
1525
1525
|
enumDescriptions: [
|
|
1526
|
-
nls.localize(
|
|
1527
|
-
nls.localize(
|
|
1528
|
-
nls.localize(
|
|
1526
|
+
nls.localize(281, "The minimap is always shown."),
|
|
1527
|
+
nls.localize(282, "The minimap is hidden when mouse is not over the minimap and shown when mouse is over the minimap."),
|
|
1528
|
+
nls.localize(283, "The minimap is only shown when the editor is scrolled"),
|
|
1529
1529
|
],
|
|
1530
1530
|
default: defaults.autohide,
|
|
1531
|
-
description: nls.localize(
|
|
1531
|
+
description: nls.localize(284, "Controls whether the minimap is hidden automatically.")
|
|
1532
1532
|
},
|
|
1533
1533
|
'editor.minimap.size': {
|
|
1534
1534
|
type: 'string',
|
|
1535
1535
|
enum: ['proportional', 'fill', 'fit'],
|
|
1536
1536
|
enumDescriptions: [
|
|
1537
|
-
nls.localize(
|
|
1538
|
-
nls.localize(
|
|
1539
|
-
nls.localize(
|
|
1537
|
+
nls.localize(285, "The minimap has the same size as the editor contents (and might scroll)."),
|
|
1538
|
+
nls.localize(286, "The minimap will stretch or shrink as necessary to fill the height of the editor (no scrolling)."),
|
|
1539
|
+
nls.localize(287, "The minimap will shrink as necessary to never be larger than the editor (no scrolling)."),
|
|
1540
1540
|
],
|
|
1541
1541
|
default: defaults.size,
|
|
1542
|
-
description: nls.localize(
|
|
1542
|
+
description: nls.localize(288, "Controls the size of the minimap.")
|
|
1543
1543
|
},
|
|
1544
1544
|
'editor.minimap.side': {
|
|
1545
1545
|
type: 'string',
|
|
1546
1546
|
enum: ['left', 'right'],
|
|
1547
1547
|
default: defaults.side,
|
|
1548
|
-
description: nls.localize(
|
|
1548
|
+
description: nls.localize(289, "Controls the side where to render the minimap.")
|
|
1549
1549
|
},
|
|
1550
1550
|
'editor.minimap.showSlider': {
|
|
1551
1551
|
type: 'string',
|
|
1552
1552
|
enum: ['always', 'mouseover'],
|
|
1553
1553
|
default: defaults.showSlider,
|
|
1554
|
-
description: nls.localize(
|
|
1554
|
+
description: nls.localize(290, "Controls when the minimap slider is shown.")
|
|
1555
1555
|
},
|
|
1556
1556
|
'editor.minimap.scale': {
|
|
1557
1557
|
type: 'number',
|
|
@@ -1559,42 +1559,42 @@ class EditorMinimap extends BaseEditorOption {
|
|
|
1559
1559
|
minimum: 1,
|
|
1560
1560
|
maximum: 3,
|
|
1561
1561
|
enum: [1, 2, 3],
|
|
1562
|
-
description: nls.localize(
|
|
1562
|
+
description: nls.localize(291, "Scale of content drawn in the minimap: 1, 2 or 3.")
|
|
1563
1563
|
},
|
|
1564
1564
|
'editor.minimap.renderCharacters': {
|
|
1565
1565
|
type: 'boolean',
|
|
1566
1566
|
default: defaults.renderCharacters,
|
|
1567
|
-
description: nls.localize(
|
|
1567
|
+
description: nls.localize(292, "Render the actual characters on a line as opposed to color blocks.")
|
|
1568
1568
|
},
|
|
1569
1569
|
'editor.minimap.maxColumn': {
|
|
1570
1570
|
type: 'number',
|
|
1571
1571
|
default: defaults.maxColumn,
|
|
1572
|
-
description: nls.localize(
|
|
1572
|
+
description: nls.localize(293, "Limit the width of the minimap to render at most a certain number of columns.")
|
|
1573
1573
|
},
|
|
1574
1574
|
'editor.minimap.showRegionSectionHeaders': {
|
|
1575
1575
|
type: 'boolean',
|
|
1576
1576
|
default: defaults.showRegionSectionHeaders,
|
|
1577
|
-
description: nls.localize(
|
|
1577
|
+
description: nls.localize(294, "Controls whether named regions are shown as section headers in the minimap.")
|
|
1578
1578
|
},
|
|
1579
1579
|
'editor.minimap.showMarkSectionHeaders': {
|
|
1580
1580
|
type: 'boolean',
|
|
1581
1581
|
default: defaults.showMarkSectionHeaders,
|
|
1582
|
-
description: nls.localize(
|
|
1582
|
+
description: nls.localize(295, "Controls whether MARK: comments are shown as section headers in the minimap.")
|
|
1583
1583
|
},
|
|
1584
1584
|
'editor.minimap.markSectionHeaderRegex': {
|
|
1585
1585
|
type: 'string',
|
|
1586
1586
|
default: defaults.markSectionHeaderRegex,
|
|
1587
|
-
description: nls.localize(
|
|
1587
|
+
description: nls.localize(296, "Defines the regular expression used to find section headers in comments. The regex must contain a named match group `label` (written as `(?<label>.+)`) that encapsulates the section header, otherwise it will not work. Optionally you can include another match group named `separator`. Use \\n in the pattern to match multi-line headers."),
|
|
1588
1588
|
},
|
|
1589
1589
|
'editor.minimap.sectionHeaderFontSize': {
|
|
1590
1590
|
type: 'number',
|
|
1591
1591
|
default: defaults.sectionHeaderFontSize,
|
|
1592
|
-
description: nls.localize(
|
|
1592
|
+
description: nls.localize(297, "Controls the font size of section headers in the minimap.")
|
|
1593
1593
|
},
|
|
1594
1594
|
'editor.minimap.sectionHeaderLetterSpacing': {
|
|
1595
1595
|
type: 'number',
|
|
1596
1596
|
default: defaults.sectionHeaderLetterSpacing,
|
|
1597
|
-
description: nls.localize(
|
|
1597
|
+
description: nls.localize(298, "Controls the amount of space (in pixels) between characters of section header. This helps the readability of the header in small font sizes.")
|
|
1598
1598
|
}
|
|
1599
1599
|
});
|
|
1600
1600
|
}
|
|
@@ -1646,14 +1646,14 @@ class EditorPadding extends BaseEditorOption {
|
|
|
1646
1646
|
default: 0,
|
|
1647
1647
|
minimum: 0,
|
|
1648
1648
|
maximum: 1000,
|
|
1649
|
-
description: nls.localize(
|
|
1649
|
+
description: nls.localize(299, "Controls the amount of space between the top edge of the editor and the first line.")
|
|
1650
1650
|
},
|
|
1651
1651
|
'editor.padding.bottom': {
|
|
1652
1652
|
type: 'number',
|
|
1653
1653
|
default: 0,
|
|
1654
1654
|
minimum: 0,
|
|
1655
1655
|
maximum: 1000,
|
|
1656
|
-
description: nls.localize(
|
|
1656
|
+
description: nls.localize(300, "Controls the amount of space between the bottom edge of the editor and the last line.")
|
|
1657
1657
|
}
|
|
1658
1658
|
});
|
|
1659
1659
|
}
|
|
@@ -1678,12 +1678,12 @@ class EditorParameterHints extends BaseEditorOption {
|
|
|
1678
1678
|
'editor.parameterHints.enabled': {
|
|
1679
1679
|
type: 'boolean',
|
|
1680
1680
|
default: defaults.enabled,
|
|
1681
|
-
description: nls.localize(
|
|
1681
|
+
description: nls.localize(301, "Enables a pop-up that shows parameter documentation and type information as you type.")
|
|
1682
1682
|
},
|
|
1683
1683
|
'editor.parameterHints.cycle': {
|
|
1684
1684
|
type: 'boolean',
|
|
1685
1685
|
default: defaults.cycle,
|
|
1686
|
-
description: nls.localize(
|
|
1686
|
+
description: nls.localize(302, "Controls whether the parameter hints menu cycles or closes when reaching the end of the list.")
|
|
1687
1687
|
},
|
|
1688
1688
|
});
|
|
1689
1689
|
}
|
|
@@ -1736,7 +1736,7 @@ class EditorQuickSuggestions extends BaseEditorOption {
|
|
|
1736
1736
|
{
|
|
1737
1737
|
type: 'string',
|
|
1738
1738
|
enum: ['on', 'inline', 'off'],
|
|
1739
|
-
enumDescriptions: [nls.localize(
|
|
1739
|
+
enumDescriptions: [nls.localize(303, "Quick suggestions show inside the suggest widget"), nls.localize(304, "Quick suggestions show as ghost text"), nls.localize(305, "Quick suggestions are disabled")]
|
|
1740
1740
|
}
|
|
1741
1741
|
];
|
|
1742
1742
|
super(102 /* EditorOption.quickSuggestions */, 'quickSuggestions', defaults, {
|
|
@@ -1746,21 +1746,21 @@ class EditorQuickSuggestions extends BaseEditorOption {
|
|
|
1746
1746
|
strings: {
|
|
1747
1747
|
anyOf: types,
|
|
1748
1748
|
default: defaults.strings,
|
|
1749
|
-
description: nls.localize(
|
|
1749
|
+
description: nls.localize(306, "Enable quick suggestions inside strings.")
|
|
1750
1750
|
},
|
|
1751
1751
|
comments: {
|
|
1752
1752
|
anyOf: types,
|
|
1753
1753
|
default: defaults.comments,
|
|
1754
|
-
description: nls.localize(
|
|
1754
|
+
description: nls.localize(307, "Enable quick suggestions inside comments.")
|
|
1755
1755
|
},
|
|
1756
1756
|
other: {
|
|
1757
1757
|
anyOf: types,
|
|
1758
1758
|
default: defaults.other,
|
|
1759
|
-
description: nls.localize(
|
|
1759
|
+
description: nls.localize(308, "Enable quick suggestions outside of strings and comments.")
|
|
1760
1760
|
},
|
|
1761
1761
|
},
|
|
1762
1762
|
default: defaults,
|
|
1763
|
-
markdownDescription: nls.localize(
|
|
1763
|
+
markdownDescription: nls.localize(309, "Controls whether suggestions should automatically show up while typing. This can be controlled for typing in comments, strings, and other code. Quick suggestion can be configured to show as ghost text or with the suggest widget. Also be aware of the {0}-setting which controls if suggestions are triggered by special characters.", '`#editor.suggestOnTriggerCharacters#`')
|
|
1764
1764
|
});
|
|
1765
1765
|
this.defaultValue = defaults;
|
|
1766
1766
|
}
|
|
@@ -1810,13 +1810,13 @@ class EditorRenderLineNumbersOption extends BaseEditorOption {
|
|
|
1810
1810
|
type: 'string',
|
|
1811
1811
|
enum: ['off', 'on', 'relative', 'interval'],
|
|
1812
1812
|
enumDescriptions: [
|
|
1813
|
-
nls.localize(
|
|
1814
|
-
nls.localize(
|
|
1815
|
-
nls.localize(
|
|
1816
|
-
nls.localize(
|
|
1813
|
+
nls.localize(310, "Line numbers are not rendered."),
|
|
1814
|
+
nls.localize(311, "Line numbers are rendered as absolute number."),
|
|
1815
|
+
nls.localize(312, "Line numbers are rendered as distance in lines to cursor position."),
|
|
1816
|
+
nls.localize(313, "Line numbers are rendered every 10 lines.")
|
|
1817
1817
|
],
|
|
1818
1818
|
default: 'on',
|
|
1819
|
-
description: nls.localize(
|
|
1819
|
+
description: nls.localize(314, "Controls the display of line numbers.")
|
|
1820
1820
|
});
|
|
1821
1821
|
}
|
|
1822
1822
|
validate(lineNumbers) {
|
|
@@ -1869,7 +1869,7 @@ export function filterFontDecorations(options) {
|
|
|
1869
1869
|
class EditorRulers extends BaseEditorOption {
|
|
1870
1870
|
constructor() {
|
|
1871
1871
|
const defaults = [];
|
|
1872
|
-
const columnSchema = { type: 'number', description: nls.localize(
|
|
1872
|
+
const columnSchema = { type: 'number', description: nls.localize(315, "Number of monospace characters at which this editor ruler will render.") };
|
|
1873
1873
|
super(116 /* EditorOption.rulers */, 'rulers', defaults, {
|
|
1874
1874
|
type: 'array',
|
|
1875
1875
|
items: {
|
|
@@ -1883,7 +1883,7 @@ class EditorRulers extends BaseEditorOption {
|
|
|
1883
1883
|
column: columnSchema,
|
|
1884
1884
|
color: {
|
|
1885
1885
|
type: 'string',
|
|
1886
|
-
description: nls.localize(
|
|
1886
|
+
description: nls.localize(316, "Color of this editor ruler."),
|
|
1887
1887
|
format: 'color-hex'
|
|
1888
1888
|
}
|
|
1889
1889
|
}
|
|
@@ -1891,7 +1891,7 @@ class EditorRulers extends BaseEditorOption {
|
|
|
1891
1891
|
]
|
|
1892
1892
|
},
|
|
1893
1893
|
default: defaults,
|
|
1894
|
-
description: nls.localize(
|
|
1894
|
+
description: nls.localize(317, "Render vertical rulers after a certain number of monospace characters. Use multiple values for multiple rulers. No rulers are drawn if array is empty.")
|
|
1895
1895
|
});
|
|
1896
1896
|
}
|
|
1897
1897
|
validate(input) {
|
|
@@ -1968,43 +1968,43 @@ class EditorScrollbar extends BaseEditorOption {
|
|
|
1968
1968
|
type: 'string',
|
|
1969
1969
|
enum: ['auto', 'visible', 'hidden'],
|
|
1970
1970
|
enumDescriptions: [
|
|
1971
|
-
nls.localize(
|
|
1972
|
-
nls.localize(
|
|
1973
|
-
nls.localize(
|
|
1971
|
+
nls.localize(318, "The vertical scrollbar will be visible only when necessary."),
|
|
1972
|
+
nls.localize(319, "The vertical scrollbar will always be visible."),
|
|
1973
|
+
nls.localize(320, "The vertical scrollbar will always be hidden."),
|
|
1974
1974
|
],
|
|
1975
1975
|
default: 'auto',
|
|
1976
|
-
description: nls.localize(
|
|
1976
|
+
description: nls.localize(321, "Controls the visibility of the vertical scrollbar.")
|
|
1977
1977
|
},
|
|
1978
1978
|
'editor.scrollbar.horizontal': {
|
|
1979
1979
|
type: 'string',
|
|
1980
1980
|
enum: ['auto', 'visible', 'hidden'],
|
|
1981
1981
|
enumDescriptions: [
|
|
1982
|
-
nls.localize(
|
|
1983
|
-
nls.localize(
|
|
1984
|
-
nls.localize(
|
|
1982
|
+
nls.localize(322, "The horizontal scrollbar will be visible only when necessary."),
|
|
1983
|
+
nls.localize(323, "The horizontal scrollbar will always be visible."),
|
|
1984
|
+
nls.localize(324, "The horizontal scrollbar will always be hidden."),
|
|
1985
1985
|
],
|
|
1986
1986
|
default: 'auto',
|
|
1987
|
-
description: nls.localize(
|
|
1987
|
+
description: nls.localize(325, "Controls the visibility of the horizontal scrollbar.")
|
|
1988
1988
|
},
|
|
1989
1989
|
'editor.scrollbar.verticalScrollbarSize': {
|
|
1990
1990
|
type: 'number',
|
|
1991
1991
|
default: defaults.verticalScrollbarSize,
|
|
1992
|
-
description: nls.localize(
|
|
1992
|
+
description: nls.localize(326, "The width of the vertical scrollbar.")
|
|
1993
1993
|
},
|
|
1994
1994
|
'editor.scrollbar.horizontalScrollbarSize': {
|
|
1995
1995
|
type: 'number',
|
|
1996
1996
|
default: defaults.horizontalScrollbarSize,
|
|
1997
|
-
description: nls.localize(
|
|
1997
|
+
description: nls.localize(327, "The height of the horizontal scrollbar.")
|
|
1998
1998
|
},
|
|
1999
1999
|
'editor.scrollbar.scrollByPage': {
|
|
2000
2000
|
type: 'boolean',
|
|
2001
2001
|
default: defaults.scrollByPage,
|
|
2002
|
-
description: nls.localize(
|
|
2002
|
+
description: nls.localize(328, "Controls whether clicks scroll by page or jump to click position.")
|
|
2003
2003
|
},
|
|
2004
2004
|
'editor.scrollbar.ignoreHorizontalScrollbarInContentHeight': {
|
|
2005
2005
|
type: 'boolean',
|
|
2006
2006
|
default: defaults.ignoreHorizontalScrollbarInContentHeight,
|
|
2007
|
-
description: nls.localize(
|
|
2007
|
+
description: nls.localize(329, "When set, the horizontal scrollbar will not increase the size of the editor's content.")
|
|
2008
2008
|
}
|
|
2009
2009
|
});
|
|
2010
2010
|
}
|
|
@@ -2066,39 +2066,39 @@ class UnicodeHighlight extends BaseEditorOption {
|
|
|
2066
2066
|
type: ['boolean', 'string'],
|
|
2067
2067
|
enum: [true, false, inUntrustedWorkspace],
|
|
2068
2068
|
default: defaults.nonBasicASCII,
|
|
2069
|
-
description: nls.localize(
|
|
2069
|
+
description: nls.localize(330, "Controls whether all non-basic ASCII characters are highlighted. Only characters between U+0020 and U+007E, tab, line-feed and carriage-return are considered basic ASCII.")
|
|
2070
2070
|
},
|
|
2071
2071
|
[unicodeHighlightConfigKeys.invisibleCharacters]: {
|
|
2072
2072
|
restricted: true,
|
|
2073
2073
|
type: 'boolean',
|
|
2074
2074
|
default: defaults.invisibleCharacters,
|
|
2075
|
-
description: nls.localize(
|
|
2075
|
+
description: nls.localize(331, "Controls whether characters that just reserve space or have no width at all are highlighted.")
|
|
2076
2076
|
},
|
|
2077
2077
|
[unicodeHighlightConfigKeys.ambiguousCharacters]: {
|
|
2078
2078
|
restricted: true,
|
|
2079
2079
|
type: 'boolean',
|
|
2080
2080
|
default: defaults.ambiguousCharacters,
|
|
2081
|
-
description: nls.localize(
|
|
2081
|
+
description: nls.localize(332, "Controls whether characters are highlighted that can be confused with basic ASCII characters, except those that are common in the current user locale.")
|
|
2082
2082
|
},
|
|
2083
2083
|
[unicodeHighlightConfigKeys.includeComments]: {
|
|
2084
2084
|
restricted: true,
|
|
2085
2085
|
type: ['boolean', 'string'],
|
|
2086
2086
|
enum: [true, false, inUntrustedWorkspace],
|
|
2087
2087
|
default: defaults.includeComments,
|
|
2088
|
-
description: nls.localize(
|
|
2088
|
+
description: nls.localize(333, "Controls whether characters in comments should also be subject to Unicode highlighting.")
|
|
2089
2089
|
},
|
|
2090
2090
|
[unicodeHighlightConfigKeys.includeStrings]: {
|
|
2091
2091
|
restricted: true,
|
|
2092
2092
|
type: ['boolean', 'string'],
|
|
2093
2093
|
enum: [true, false, inUntrustedWorkspace],
|
|
2094
2094
|
default: defaults.includeStrings,
|
|
2095
|
-
description: nls.localize(
|
|
2095
|
+
description: nls.localize(334, "Controls whether characters in strings should also be subject to Unicode highlighting.")
|
|
2096
2096
|
},
|
|
2097
2097
|
[unicodeHighlightConfigKeys.allowedCharacters]: {
|
|
2098
2098
|
restricted: true,
|
|
2099
2099
|
type: 'object',
|
|
2100
2100
|
default: defaults.allowedCharacters,
|
|
2101
|
-
description: nls.localize(
|
|
2101
|
+
description: nls.localize(335, "Defines allowed characters that are not being highlighted."),
|
|
2102
2102
|
additionalProperties: {
|
|
2103
2103
|
type: 'boolean'
|
|
2104
2104
|
}
|
|
@@ -2110,7 +2110,7 @@ class UnicodeHighlight extends BaseEditorOption {
|
|
|
2110
2110
|
type: 'boolean'
|
|
2111
2111
|
},
|
|
2112
2112
|
default: defaults.allowedLocales,
|
|
2113
|
-
description: nls.localize(
|
|
2113
|
+
description: nls.localize(336, "Unicode characters that are common in allowed locales are not being highlighted.")
|
|
2114
2114
|
},
|
|
2115
2115
|
});
|
|
2116
2116
|
}
|
|
@@ -2197,46 +2197,46 @@ class InlineEditorSuggest extends BaseEditorOption {
|
|
|
2197
2197
|
'editor.inlineSuggest.enabled': {
|
|
2198
2198
|
type: 'boolean',
|
|
2199
2199
|
default: defaults.enabled,
|
|
2200
|
-
description: nls.localize(
|
|
2200
|
+
description: nls.localize(337, "Controls whether to automatically show inline suggestions in the editor.")
|
|
2201
2201
|
},
|
|
2202
2202
|
'editor.inlineSuggest.showToolbar': {
|
|
2203
2203
|
type: 'string',
|
|
2204
2204
|
default: defaults.showToolbar,
|
|
2205
2205
|
enum: ['always', 'onHover', 'never'],
|
|
2206
2206
|
enumDescriptions: [
|
|
2207
|
-
nls.localize(
|
|
2208
|
-
nls.localize(
|
|
2209
|
-
nls.localize(
|
|
2207
|
+
nls.localize(338, "Show the inline suggestion toolbar whenever an inline suggestion is shown."),
|
|
2208
|
+
nls.localize(339, "Show the inline suggestion toolbar when hovering over an inline suggestion."),
|
|
2209
|
+
nls.localize(340, "Never show the inline suggestion toolbar."),
|
|
2210
2210
|
],
|
|
2211
|
-
description: nls.localize(
|
|
2211
|
+
description: nls.localize(341, "Controls when to show the inline suggestion toolbar."),
|
|
2212
2212
|
},
|
|
2213
2213
|
'editor.inlineSuggest.syntaxHighlightingEnabled': {
|
|
2214
2214
|
type: 'boolean',
|
|
2215
2215
|
default: defaults.syntaxHighlightingEnabled,
|
|
2216
|
-
description: nls.localize(
|
|
2216
|
+
description: nls.localize(342, "Controls whether to show syntax highlighting for inline suggestions in the editor."),
|
|
2217
2217
|
},
|
|
2218
2218
|
'editor.inlineSuggest.suppressSuggestions': {
|
|
2219
2219
|
type: 'boolean',
|
|
2220
2220
|
default: defaults.suppressSuggestions,
|
|
2221
|
-
description: nls.localize(
|
|
2221
|
+
description: nls.localize(343, "Controls how inline suggestions interact with the suggest widget. If enabled, the suggest widget is not shown automatically when inline suggestions are available.")
|
|
2222
2222
|
},
|
|
2223
2223
|
'editor.inlineSuggest.suppressInSnippetMode': {
|
|
2224
2224
|
type: 'boolean',
|
|
2225
2225
|
default: defaults.suppressInSnippetMode,
|
|
2226
|
-
description: nls.localize(
|
|
2226
|
+
description: nls.localize(344, "Controls whether inline suggestions are suppressed when in snippet mode."),
|
|
2227
2227
|
},
|
|
2228
2228
|
'editor.inlineSuggest.minShowDelay': {
|
|
2229
2229
|
type: 'number',
|
|
2230
2230
|
default: 0,
|
|
2231
2231
|
minimum: 0,
|
|
2232
2232
|
maximum: 10000,
|
|
2233
|
-
description: nls.localize(
|
|
2233
|
+
description: nls.localize(345, "Controls the minimal delay in milliseconds after which inline suggestions are shown after typing."),
|
|
2234
2234
|
},
|
|
2235
2235
|
'editor.inlineSuggest.experimental.suppressInlineSuggestions': {
|
|
2236
2236
|
type: 'string',
|
|
2237
2237
|
default: defaults.experimental.suppressInlineSuggestions,
|
|
2238
2238
|
tags: ['experimental'],
|
|
2239
|
-
description: nls.localize(
|
|
2239
|
+
description: nls.localize(346, "Suppresses inline completions for specified extension IDs -- comma separated."),
|
|
2240
2240
|
experiment: {
|
|
2241
2241
|
mode: 'auto'
|
|
2242
2242
|
}
|
|
@@ -2245,7 +2245,7 @@ class InlineEditorSuggest extends BaseEditorOption {
|
|
|
2245
2245
|
type: 'boolean',
|
|
2246
2246
|
default: defaults.experimental.emptyResponseInformation,
|
|
2247
2247
|
tags: ['experimental'],
|
|
2248
|
-
description: nls.localize(
|
|
2248
|
+
description: nls.localize(347, "Controls whether to send request information from the inline suggestion provider."),
|
|
2249
2249
|
experiment: {
|
|
2250
2250
|
mode: 'auto'
|
|
2251
2251
|
}
|
|
@@ -2254,7 +2254,7 @@ class InlineEditorSuggest extends BaseEditorOption {
|
|
|
2254
2254
|
type: 'boolean',
|
|
2255
2255
|
default: defaults.triggerCommandOnProviderChange,
|
|
2256
2256
|
tags: ['experimental'],
|
|
2257
|
-
description: nls.localize(
|
|
2257
|
+
description: nls.localize(348, "Controls whether to trigger a command when the inline suggestion provider changes."),
|
|
2258
2258
|
experiment: {
|
|
2259
2259
|
mode: 'auto'
|
|
2260
2260
|
}
|
|
@@ -2264,7 +2264,7 @@ class InlineEditorSuggest extends BaseEditorOption {
|
|
|
2264
2264
|
default: defaults.experimental.showOnSuggestConflict,
|
|
2265
2265
|
tags: ['experimental'],
|
|
2266
2266
|
enum: ['always', 'never', 'whenSuggestListIsIncomplete'],
|
|
2267
|
-
description: nls.localize(
|
|
2267
|
+
description: nls.localize(349, "Controls whether to show inline suggestions when there is a suggest conflict."),
|
|
2268
2268
|
experiment: {
|
|
2269
2269
|
mode: 'auto'
|
|
2270
2270
|
}
|
|
@@ -2272,36 +2272,36 @@ class InlineEditorSuggest extends BaseEditorOption {
|
|
|
2272
2272
|
'editor.inlineSuggest.fontFamily': {
|
|
2273
2273
|
type: 'string',
|
|
2274
2274
|
default: defaults.fontFamily,
|
|
2275
|
-
description: nls.localize(
|
|
2275
|
+
description: nls.localize(350, "Controls the font family of the inline suggestions.")
|
|
2276
2276
|
},
|
|
2277
2277
|
'editor.inlineSuggest.edits.allowCodeShifting': {
|
|
2278
2278
|
type: 'string',
|
|
2279
2279
|
default: defaults.edits.allowCodeShifting,
|
|
2280
|
-
description: nls.localize(
|
|
2280
|
+
description: nls.localize(351, "Controls whether showing a suggestion will shift the code to make space for the suggestion inline."),
|
|
2281
2281
|
enum: ['always', 'horizontal', 'never'],
|
|
2282
2282
|
tags: ['nextEditSuggestions']
|
|
2283
2283
|
},
|
|
2284
2284
|
'editor.inlineSuggest.edits.showLongDistanceHint': {
|
|
2285
2285
|
type: 'boolean',
|
|
2286
2286
|
default: defaults.edits.showLongDistanceHint,
|
|
2287
|
-
description: nls.localize(
|
|
2287
|
+
description: nls.localize(352, "Controls whether long distance inline suggestions are shown."),
|
|
2288
2288
|
tags: ['nextEditSuggestions', 'experimental']
|
|
2289
2289
|
},
|
|
2290
2290
|
'editor.inlineSuggest.edits.renderSideBySide': {
|
|
2291
2291
|
type: 'string',
|
|
2292
2292
|
default: defaults.edits.renderSideBySide,
|
|
2293
|
-
description: nls.localize(
|
|
2293
|
+
description: nls.localize(353, "Controls whether larger suggestions can be shown side by side."),
|
|
2294
2294
|
enum: ['auto', 'never'],
|
|
2295
2295
|
enumDescriptions: [
|
|
2296
|
-
nls.localize(
|
|
2297
|
-
nls.localize(
|
|
2296
|
+
nls.localize(354, "Larger suggestions will show side by side if there is enough space, otherwise they will be shown below."),
|
|
2297
|
+
nls.localize(355, "Larger suggestions are never shown side by side and will always be shown below."),
|
|
2298
2298
|
],
|
|
2299
2299
|
tags: ['nextEditSuggestions']
|
|
2300
2300
|
},
|
|
2301
2301
|
'editor.inlineSuggest.edits.showCollapsed': {
|
|
2302
2302
|
type: 'boolean',
|
|
2303
2303
|
default: defaults.edits.showCollapsed,
|
|
2304
|
-
description: nls.localize(
|
|
2304
|
+
description: nls.localize(356, "Controls whether the suggestion will show as collapsed until jumping to it."),
|
|
2305
2305
|
tags: ['nextEditSuggestions']
|
|
2306
2306
|
},
|
|
2307
2307
|
});
|
|
@@ -2364,12 +2364,12 @@ class BracketPairColorization extends BaseEditorOption {
|
|
|
2364
2364
|
'editor.bracketPairColorization.enabled': {
|
|
2365
2365
|
type: 'boolean',
|
|
2366
2366
|
default: defaults.enabled,
|
|
2367
|
-
markdownDescription: nls.localize(
|
|
2367
|
+
markdownDescription: nls.localize(357, "Controls whether bracket pair colorization is enabled or not. Use {0} to override the bracket highlight colors.", '`#workbench.colorCustomizations#`')
|
|
2368
2368
|
},
|
|
2369
2369
|
'editor.bracketPairColorization.independentColorPoolPerBracketType': {
|
|
2370
2370
|
type: 'boolean',
|
|
2371
2371
|
default: defaults.independentColorPoolPerBracketType,
|
|
2372
|
-
description: nls.localize(
|
|
2372
|
+
description: nls.localize(358, "Controls whether each bracket type has its own independent color pool.")
|
|
2373
2373
|
},
|
|
2374
2374
|
});
|
|
2375
2375
|
}
|
|
@@ -2401,44 +2401,44 @@ class GuideOptions extends BaseEditorOption {
|
|
|
2401
2401
|
type: ['boolean', 'string'],
|
|
2402
2402
|
enum: [true, 'active', false],
|
|
2403
2403
|
enumDescriptions: [
|
|
2404
|
-
nls.localize(
|
|
2405
|
-
nls.localize(
|
|
2406
|
-
nls.localize(
|
|
2404
|
+
nls.localize(359, "Enables bracket pair guides."),
|
|
2405
|
+
nls.localize(360, "Enables bracket pair guides only for the active bracket pair."),
|
|
2406
|
+
nls.localize(361, "Disables bracket pair guides."),
|
|
2407
2407
|
],
|
|
2408
2408
|
default: defaults.bracketPairs,
|
|
2409
|
-
description: nls.localize(
|
|
2409
|
+
description: nls.localize(362, "Controls whether bracket pair guides are enabled or not.")
|
|
2410
2410
|
},
|
|
2411
2411
|
'editor.guides.bracketPairsHorizontal': {
|
|
2412
2412
|
type: ['boolean', 'string'],
|
|
2413
2413
|
enum: [true, 'active', false],
|
|
2414
2414
|
enumDescriptions: [
|
|
2415
|
-
nls.localize(
|
|
2416
|
-
nls.localize(
|
|
2417
|
-
nls.localize(
|
|
2415
|
+
nls.localize(363, "Enables horizontal guides as addition to vertical bracket pair guides."),
|
|
2416
|
+
nls.localize(364, "Enables horizontal guides only for the active bracket pair."),
|
|
2417
|
+
nls.localize(365, "Disables horizontal bracket pair guides."),
|
|
2418
2418
|
],
|
|
2419
2419
|
default: defaults.bracketPairsHorizontal,
|
|
2420
|
-
description: nls.localize(
|
|
2420
|
+
description: nls.localize(366, "Controls whether horizontal bracket pair guides are enabled or not.")
|
|
2421
2421
|
},
|
|
2422
2422
|
'editor.guides.highlightActiveBracketPair': {
|
|
2423
2423
|
type: 'boolean',
|
|
2424
2424
|
default: defaults.highlightActiveBracketPair,
|
|
2425
|
-
description: nls.localize(
|
|
2425
|
+
description: nls.localize(367, "Controls whether the editor should highlight the active bracket pair.")
|
|
2426
2426
|
},
|
|
2427
2427
|
'editor.guides.indentation': {
|
|
2428
2428
|
type: 'boolean',
|
|
2429
2429
|
default: defaults.indentation,
|
|
2430
|
-
description: nls.localize(
|
|
2430
|
+
description: nls.localize(368, "Controls whether the editor should render indent guides.")
|
|
2431
2431
|
},
|
|
2432
2432
|
'editor.guides.highlightActiveIndentation': {
|
|
2433
2433
|
type: ['boolean', 'string'],
|
|
2434
2434
|
enum: [true, 'always', false],
|
|
2435
2435
|
enumDescriptions: [
|
|
2436
|
-
nls.localize(
|
|
2437
|
-
nls.localize(
|
|
2438
|
-
nls.localize(
|
|
2436
|
+
nls.localize(369, "Highlights the active indent guide."),
|
|
2437
|
+
nls.localize(370, "Highlights the active indent guide even if bracket guides are highlighted."),
|
|
2438
|
+
nls.localize(371, "Do not highlight the active indent guide."),
|
|
2439
2439
|
],
|
|
2440
2440
|
default: defaults.highlightActiveIndentation,
|
|
2441
|
-
description: nls.localize(
|
|
2441
|
+
description: nls.localize(372, "Controls whether the editor should highlight the active indent guide.")
|
|
2442
2442
|
}
|
|
2443
2443
|
});
|
|
2444
2444
|
}
|
|
@@ -2512,221 +2512,221 @@ class EditorSuggest extends BaseEditorOption {
|
|
|
2512
2512
|
type: 'string',
|
|
2513
2513
|
enum: ['insert', 'replace'],
|
|
2514
2514
|
enumDescriptions: [
|
|
2515
|
-
nls.localize(
|
|
2516
|
-
nls.localize(
|
|
2515
|
+
nls.localize(373, "Insert suggestion without overwriting text right of the cursor."),
|
|
2516
|
+
nls.localize(374, "Insert suggestion and overwrite text right of the cursor."),
|
|
2517
2517
|
],
|
|
2518
2518
|
default: defaults.insertMode,
|
|
2519
|
-
description: nls.localize(
|
|
2519
|
+
description: nls.localize(375, "Controls whether words are overwritten when accepting completions. Note that this depends on extensions opting into this feature.")
|
|
2520
2520
|
},
|
|
2521
2521
|
'editor.suggest.filterGraceful': {
|
|
2522
2522
|
type: 'boolean',
|
|
2523
2523
|
default: defaults.filterGraceful,
|
|
2524
|
-
description: nls.localize(
|
|
2524
|
+
description: nls.localize(376, "Controls whether filtering and sorting suggestions accounts for small typos.")
|
|
2525
2525
|
},
|
|
2526
2526
|
'editor.suggest.localityBonus': {
|
|
2527
2527
|
type: 'boolean',
|
|
2528
2528
|
default: defaults.localityBonus,
|
|
2529
|
-
description: nls.localize(
|
|
2529
|
+
description: nls.localize(377, "Controls whether sorting favors words that appear close to the cursor.")
|
|
2530
2530
|
},
|
|
2531
2531
|
'editor.suggest.shareSuggestSelections': {
|
|
2532
2532
|
type: 'boolean',
|
|
2533
2533
|
default: defaults.shareSuggestSelections,
|
|
2534
|
-
markdownDescription: nls.localize(
|
|
2534
|
+
markdownDescription: nls.localize(378, "Controls whether remembered suggestion selections are shared between multiple workspaces and windows (needs `#editor.suggestSelection#`).")
|
|
2535
2535
|
},
|
|
2536
2536
|
'editor.suggest.selectionMode': {
|
|
2537
2537
|
type: 'string',
|
|
2538
2538
|
enum: ['always', 'never', 'whenTriggerCharacter', 'whenQuickSuggestion'],
|
|
2539
2539
|
enumDescriptions: [
|
|
2540
|
-
nls.localize(
|
|
2541
|
-
nls.localize(
|
|
2542
|
-
nls.localize(
|
|
2543
|
-
nls.localize(
|
|
2540
|
+
nls.localize(379, "Always select a suggestion when automatically triggering IntelliSense."),
|
|
2541
|
+
nls.localize(380, "Never select a suggestion when automatically triggering IntelliSense."),
|
|
2542
|
+
nls.localize(381, "Select a suggestion only when triggering IntelliSense from a trigger character."),
|
|
2543
|
+
nls.localize(382, "Select a suggestion only when triggering IntelliSense as you type."),
|
|
2544
2544
|
],
|
|
2545
2545
|
default: defaults.selectionMode,
|
|
2546
|
-
markdownDescription: nls.localize(
|
|
2546
|
+
markdownDescription: nls.localize(383, "Controls whether a suggestion is selected when the widget shows. Note that this only applies to automatically triggered suggestions ({0} and {1}) and that a suggestion is always selected when explicitly invoked, e.g via `Ctrl+Space`.", '`#editor.quickSuggestions#`', '`#editor.suggestOnTriggerCharacters#`')
|
|
2547
2547
|
},
|
|
2548
2548
|
'editor.suggest.snippetsPreventQuickSuggestions': {
|
|
2549
2549
|
type: 'boolean',
|
|
2550
2550
|
default: defaults.snippetsPreventQuickSuggestions,
|
|
2551
|
-
description: nls.localize(
|
|
2551
|
+
description: nls.localize(384, "Controls whether an active snippet prevents quick suggestions.")
|
|
2552
2552
|
},
|
|
2553
2553
|
'editor.suggest.showIcons': {
|
|
2554
2554
|
type: 'boolean',
|
|
2555
2555
|
default: defaults.showIcons,
|
|
2556
|
-
description: nls.localize(
|
|
2556
|
+
description: nls.localize(385, "Controls whether to show or hide icons in suggestions.")
|
|
2557
2557
|
},
|
|
2558
2558
|
'editor.suggest.showStatusBar': {
|
|
2559
2559
|
type: 'boolean',
|
|
2560
2560
|
default: defaults.showStatusBar,
|
|
2561
|
-
description: nls.localize(
|
|
2561
|
+
description: nls.localize(386, "Controls the visibility of the status bar at the bottom of the suggest widget.")
|
|
2562
2562
|
},
|
|
2563
2563
|
'editor.suggest.preview': {
|
|
2564
2564
|
type: 'boolean',
|
|
2565
2565
|
default: defaults.preview,
|
|
2566
|
-
description: nls.localize(
|
|
2566
|
+
description: nls.localize(387, "Controls whether to preview the suggestion outcome in the editor.")
|
|
2567
2567
|
},
|
|
2568
2568
|
'editor.suggest.showInlineDetails': {
|
|
2569
2569
|
type: 'boolean',
|
|
2570
2570
|
default: defaults.showInlineDetails,
|
|
2571
|
-
description: nls.localize(
|
|
2571
|
+
description: nls.localize(388, "Controls whether suggest details show inline with the label or only in the details widget.")
|
|
2572
2572
|
},
|
|
2573
2573
|
'editor.suggest.maxVisibleSuggestions': {
|
|
2574
2574
|
type: 'number',
|
|
2575
|
-
deprecationMessage: nls.localize(
|
|
2575
|
+
deprecationMessage: nls.localize(389, "This setting is deprecated. The suggest widget can now be resized."),
|
|
2576
2576
|
},
|
|
2577
2577
|
'editor.suggest.filteredTypes': {
|
|
2578
2578
|
type: 'object',
|
|
2579
|
-
deprecationMessage: nls.localize(
|
|
2579
|
+
deprecationMessage: nls.localize(390, "This setting is deprecated, please use separate settings like 'editor.suggest.showKeywords' or 'editor.suggest.showSnippets' instead.")
|
|
2580
2580
|
},
|
|
2581
2581
|
'editor.suggest.showMethods': {
|
|
2582
2582
|
type: 'boolean',
|
|
2583
2583
|
default: true,
|
|
2584
|
-
markdownDescription: nls.localize(
|
|
2584
|
+
markdownDescription: nls.localize(391, "When enabled IntelliSense shows `method`-suggestions.")
|
|
2585
2585
|
},
|
|
2586
2586
|
'editor.suggest.showFunctions': {
|
|
2587
2587
|
type: 'boolean',
|
|
2588
2588
|
default: true,
|
|
2589
|
-
markdownDescription: nls.localize(
|
|
2589
|
+
markdownDescription: nls.localize(392, "When enabled IntelliSense shows `function`-suggestions.")
|
|
2590
2590
|
},
|
|
2591
2591
|
'editor.suggest.showConstructors': {
|
|
2592
2592
|
type: 'boolean',
|
|
2593
2593
|
default: true,
|
|
2594
|
-
markdownDescription: nls.localize(
|
|
2594
|
+
markdownDescription: nls.localize(393, "When enabled IntelliSense shows `constructor`-suggestions.")
|
|
2595
2595
|
},
|
|
2596
2596
|
'editor.suggest.showDeprecated': {
|
|
2597
2597
|
type: 'boolean',
|
|
2598
2598
|
default: true,
|
|
2599
|
-
markdownDescription: nls.localize(
|
|
2599
|
+
markdownDescription: nls.localize(394, "When enabled IntelliSense shows `deprecated`-suggestions.")
|
|
2600
2600
|
},
|
|
2601
2601
|
'editor.suggest.matchOnWordStartOnly': {
|
|
2602
2602
|
type: 'boolean',
|
|
2603
2603
|
default: true,
|
|
2604
|
-
markdownDescription: nls.localize(
|
|
2604
|
+
markdownDescription: nls.localize(395, "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.")
|
|
2605
2605
|
},
|
|
2606
2606
|
'editor.suggest.showFields': {
|
|
2607
2607
|
type: 'boolean',
|
|
2608
2608
|
default: true,
|
|
2609
|
-
markdownDescription: nls.localize(
|
|
2609
|
+
markdownDescription: nls.localize(396, "When enabled IntelliSense shows `field`-suggestions.")
|
|
2610
2610
|
},
|
|
2611
2611
|
'editor.suggest.showVariables': {
|
|
2612
2612
|
type: 'boolean',
|
|
2613
2613
|
default: true,
|
|
2614
|
-
markdownDescription: nls.localize(
|
|
2614
|
+
markdownDescription: nls.localize(397, "When enabled IntelliSense shows `variable`-suggestions.")
|
|
2615
2615
|
},
|
|
2616
2616
|
'editor.suggest.showClasses': {
|
|
2617
2617
|
type: 'boolean',
|
|
2618
2618
|
default: true,
|
|
2619
|
-
markdownDescription: nls.localize(
|
|
2619
|
+
markdownDescription: nls.localize(398, "When enabled IntelliSense shows `class`-suggestions.")
|
|
2620
2620
|
},
|
|
2621
2621
|
'editor.suggest.showStructs': {
|
|
2622
2622
|
type: 'boolean',
|
|
2623
2623
|
default: true,
|
|
2624
|
-
markdownDescription: nls.localize(
|
|
2624
|
+
markdownDescription: nls.localize(399, "When enabled IntelliSense shows `struct`-suggestions.")
|
|
2625
2625
|
},
|
|
2626
2626
|
'editor.suggest.showInterfaces': {
|
|
2627
2627
|
type: 'boolean',
|
|
2628
2628
|
default: true,
|
|
2629
|
-
markdownDescription: nls.localize(
|
|
2629
|
+
markdownDescription: nls.localize(400, "When enabled IntelliSense shows `interface`-suggestions.")
|
|
2630
2630
|
},
|
|
2631
2631
|
'editor.suggest.showModules': {
|
|
2632
2632
|
type: 'boolean',
|
|
2633
2633
|
default: true,
|
|
2634
|
-
markdownDescription: nls.localize(
|
|
2634
|
+
markdownDescription: nls.localize(401, "When enabled IntelliSense shows `module`-suggestions.")
|
|
2635
2635
|
},
|
|
2636
2636
|
'editor.suggest.showProperties': {
|
|
2637
2637
|
type: 'boolean',
|
|
2638
2638
|
default: true,
|
|
2639
|
-
markdownDescription: nls.localize(
|
|
2639
|
+
markdownDescription: nls.localize(402, "When enabled IntelliSense shows `property`-suggestions.")
|
|
2640
2640
|
},
|
|
2641
2641
|
'editor.suggest.showEvents': {
|
|
2642
2642
|
type: 'boolean',
|
|
2643
2643
|
default: true,
|
|
2644
|
-
markdownDescription: nls.localize(
|
|
2644
|
+
markdownDescription: nls.localize(403, "When enabled IntelliSense shows `event`-suggestions.")
|
|
2645
2645
|
},
|
|
2646
2646
|
'editor.suggest.showOperators': {
|
|
2647
2647
|
type: 'boolean',
|
|
2648
2648
|
default: true,
|
|
2649
|
-
markdownDescription: nls.localize(
|
|
2649
|
+
markdownDescription: nls.localize(404, "When enabled IntelliSense shows `operator`-suggestions.")
|
|
2650
2650
|
},
|
|
2651
2651
|
'editor.suggest.showUnits': {
|
|
2652
2652
|
type: 'boolean',
|
|
2653
2653
|
default: true,
|
|
2654
|
-
markdownDescription: nls.localize(
|
|
2654
|
+
markdownDescription: nls.localize(405, "When enabled IntelliSense shows `unit`-suggestions.")
|
|
2655
2655
|
},
|
|
2656
2656
|
'editor.suggest.showValues': {
|
|
2657
2657
|
type: 'boolean',
|
|
2658
2658
|
default: true,
|
|
2659
|
-
markdownDescription: nls.localize(
|
|
2659
|
+
markdownDescription: nls.localize(406, "When enabled IntelliSense shows `value`-suggestions.")
|
|
2660
2660
|
},
|
|
2661
2661
|
'editor.suggest.showConstants': {
|
|
2662
2662
|
type: 'boolean',
|
|
2663
2663
|
default: true,
|
|
2664
|
-
markdownDescription: nls.localize(
|
|
2664
|
+
markdownDescription: nls.localize(407, "When enabled IntelliSense shows `constant`-suggestions.")
|
|
2665
2665
|
},
|
|
2666
2666
|
'editor.suggest.showEnums': {
|
|
2667
2667
|
type: 'boolean',
|
|
2668
2668
|
default: true,
|
|
2669
|
-
markdownDescription: nls.localize(
|
|
2669
|
+
markdownDescription: nls.localize(408, "When enabled IntelliSense shows `enum`-suggestions.")
|
|
2670
2670
|
},
|
|
2671
2671
|
'editor.suggest.showEnumMembers': {
|
|
2672
2672
|
type: 'boolean',
|
|
2673
2673
|
default: true,
|
|
2674
|
-
markdownDescription: nls.localize(
|
|
2674
|
+
markdownDescription: nls.localize(409, "When enabled IntelliSense shows `enumMember`-suggestions.")
|
|
2675
2675
|
},
|
|
2676
2676
|
'editor.suggest.showKeywords': {
|
|
2677
2677
|
type: 'boolean',
|
|
2678
2678
|
default: true,
|
|
2679
|
-
markdownDescription: nls.localize(
|
|
2679
|
+
markdownDescription: nls.localize(410, "When enabled IntelliSense shows `keyword`-suggestions.")
|
|
2680
2680
|
},
|
|
2681
2681
|
'editor.suggest.showWords': {
|
|
2682
2682
|
type: 'boolean',
|
|
2683
2683
|
default: true,
|
|
2684
|
-
markdownDescription: nls.localize(
|
|
2684
|
+
markdownDescription: nls.localize(411, "When enabled IntelliSense shows `text`-suggestions.")
|
|
2685
2685
|
},
|
|
2686
2686
|
'editor.suggest.showColors': {
|
|
2687
2687
|
type: 'boolean',
|
|
2688
2688
|
default: true,
|
|
2689
|
-
markdownDescription: nls.localize(
|
|
2689
|
+
markdownDescription: nls.localize(412, "When enabled IntelliSense shows `color`-suggestions.")
|
|
2690
2690
|
},
|
|
2691
2691
|
'editor.suggest.showFiles': {
|
|
2692
2692
|
type: 'boolean',
|
|
2693
2693
|
default: true,
|
|
2694
|
-
markdownDescription: nls.localize(
|
|
2694
|
+
markdownDescription: nls.localize(413, "When enabled IntelliSense shows `file`-suggestions.")
|
|
2695
2695
|
},
|
|
2696
2696
|
'editor.suggest.showReferences': {
|
|
2697
2697
|
type: 'boolean',
|
|
2698
2698
|
default: true,
|
|
2699
|
-
markdownDescription: nls.localize(
|
|
2699
|
+
markdownDescription: nls.localize(414, "When enabled IntelliSense shows `reference`-suggestions.")
|
|
2700
2700
|
},
|
|
2701
2701
|
'editor.suggest.showCustomcolors': {
|
|
2702
2702
|
type: 'boolean',
|
|
2703
2703
|
default: true,
|
|
2704
|
-
markdownDescription: nls.localize(
|
|
2704
|
+
markdownDescription: nls.localize(415, "When enabled IntelliSense shows `customcolor`-suggestions.")
|
|
2705
2705
|
},
|
|
2706
2706
|
'editor.suggest.showFolders': {
|
|
2707
2707
|
type: 'boolean',
|
|
2708
2708
|
default: true,
|
|
2709
|
-
markdownDescription: nls.localize(
|
|
2709
|
+
markdownDescription: nls.localize(416, "When enabled IntelliSense shows `folder`-suggestions.")
|
|
2710
2710
|
},
|
|
2711
2711
|
'editor.suggest.showTypeParameters': {
|
|
2712
2712
|
type: 'boolean',
|
|
2713
2713
|
default: true,
|
|
2714
|
-
markdownDescription: nls.localize(
|
|
2714
|
+
markdownDescription: nls.localize(417, "When enabled IntelliSense shows `typeParameter`-suggestions.")
|
|
2715
2715
|
},
|
|
2716
2716
|
'editor.suggest.showSnippets': {
|
|
2717
2717
|
type: 'boolean',
|
|
2718
2718
|
default: true,
|
|
2719
|
-
markdownDescription: nls.localize(
|
|
2719
|
+
markdownDescription: nls.localize(418, "When enabled IntelliSense shows `snippet`-suggestions.")
|
|
2720
2720
|
},
|
|
2721
2721
|
'editor.suggest.showUsers': {
|
|
2722
2722
|
type: 'boolean',
|
|
2723
2723
|
default: true,
|
|
2724
|
-
markdownDescription: nls.localize(
|
|
2724
|
+
markdownDescription: nls.localize(419, "When enabled IntelliSense shows `user`-suggestions.")
|
|
2725
2725
|
},
|
|
2726
2726
|
'editor.suggest.showIssues': {
|
|
2727
2727
|
type: 'boolean',
|
|
2728
2728
|
default: true,
|
|
2729
|
-
markdownDescription: nls.localize(
|
|
2729
|
+
markdownDescription: nls.localize(420, "When enabled IntelliSense shows `issues`-suggestions.")
|
|
2730
2730
|
}
|
|
2731
2731
|
});
|
|
2732
2732
|
}
|
|
@@ -2786,12 +2786,12 @@ class SmartSelect extends BaseEditorOption {
|
|
|
2786
2786
|
selectSubwords: true,
|
|
2787
2787
|
}, {
|
|
2788
2788
|
'editor.smartSelect.selectLeadingAndTrailingWhitespace': {
|
|
2789
|
-
description: nls.localize(
|
|
2789
|
+
description: nls.localize(421, "Whether leading and trailing whitespace should always be selected."),
|
|
2790
2790
|
default: true,
|
|
2791
2791
|
type: 'boolean'
|
|
2792
2792
|
},
|
|
2793
2793
|
'editor.smartSelect.selectSubwords': {
|
|
2794
|
-
description: nls.localize(
|
|
2794
|
+
description: nls.localize(422, "Whether subwords (like 'foo' in 'fooBar' or 'foo_bar') should be selected."),
|
|
2795
2795
|
default: true,
|
|
2796
2796
|
type: 'boolean'
|
|
2797
2797
|
}
|
|
@@ -2828,7 +2828,7 @@ class WordSegmenterLocales extends BaseEditorOption {
|
|
|
2828
2828
|
}
|
|
2829
2829
|
}
|
|
2830
2830
|
],
|
|
2831
|
-
description: nls.localize(
|
|
2831
|
+
description: nls.localize(423, "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.)."),
|
|
2832
2832
|
type: 'array',
|
|
2833
2833
|
items: {
|
|
2834
2834
|
type: 'string',
|
|
@@ -2866,12 +2866,12 @@ class WrappingIndentOption extends BaseEditorOption {
|
|
|
2866
2866
|
type: 'string',
|
|
2867
2867
|
enum: ['none', 'same', 'indent', 'deepIndent'],
|
|
2868
2868
|
enumDescriptions: [
|
|
2869
|
-
nls.localize(
|
|
2870
|
-
nls.localize(
|
|
2871
|
-
nls.localize(
|
|
2872
|
-
nls.localize(
|
|
2869
|
+
nls.localize(424, "No indentation. Wrapped lines begin at column 1."),
|
|
2870
|
+
nls.localize(425, "Wrapped lines get the same indentation as the parent."),
|
|
2871
|
+
nls.localize(426, "Wrapped lines get +1 indentation toward the parent."),
|
|
2872
|
+
nls.localize(427, "Wrapped lines get +2 indentation toward the parent."),
|
|
2873
2873
|
],
|
|
2874
|
-
description: nls.localize(
|
|
2874
|
+
description: nls.localize(428, "Controls the indentation of wrapped lines."),
|
|
2875
2875
|
default: 'same'
|
|
2876
2876
|
}
|
|
2877
2877
|
});
|
|
@@ -2921,18 +2921,18 @@ class EditorDropIntoEditor extends BaseEditorOption {
|
|
|
2921
2921
|
'editor.dropIntoEditor.enabled': {
|
|
2922
2922
|
type: 'boolean',
|
|
2923
2923
|
default: defaults.enabled,
|
|
2924
|
-
markdownDescription: nls.localize(
|
|
2924
|
+
markdownDescription: nls.localize(429, "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)."),
|
|
2925
2925
|
},
|
|
2926
2926
|
'editor.dropIntoEditor.showDropSelector': {
|
|
2927
2927
|
type: 'string',
|
|
2928
|
-
markdownDescription: nls.localize(
|
|
2928
|
+
markdownDescription: nls.localize(430, "Controls if a widget is shown when dropping files into the editor. This widget lets you control how the file is dropped."),
|
|
2929
2929
|
enum: [
|
|
2930
2930
|
'afterDrop',
|
|
2931
2931
|
'never'
|
|
2932
2932
|
],
|
|
2933
2933
|
enumDescriptions: [
|
|
2934
|
-
nls.localize(
|
|
2935
|
-
nls.localize(
|
|
2934
|
+
nls.localize(431, "Show the drop selector widget after a file is dropped into the editor."),
|
|
2935
|
+
nls.localize(432, "Never show the drop selector widget. Instead the default drop provider is always used."),
|
|
2936
2936
|
],
|
|
2937
2937
|
default: 'afterDrop',
|
|
2938
2938
|
},
|
|
@@ -2956,18 +2956,18 @@ class EditorPasteAs extends BaseEditorOption {
|
|
|
2956
2956
|
'editor.pasteAs.enabled': {
|
|
2957
2957
|
type: 'boolean',
|
|
2958
2958
|
default: defaults.enabled,
|
|
2959
|
-
markdownDescription: nls.localize(
|
|
2959
|
+
markdownDescription: nls.localize(433, "Controls whether you can paste content in different ways."),
|
|
2960
2960
|
},
|
|
2961
2961
|
'editor.pasteAs.showPasteSelector': {
|
|
2962
2962
|
type: 'string',
|
|
2963
|
-
markdownDescription: nls.localize(
|
|
2963
|
+
markdownDescription: nls.localize(434, "Controls if a widget is shown when pasting content in to the editor. This widget lets you control how the file is pasted."),
|
|
2964
2964
|
enum: [
|
|
2965
2965
|
'afterPaste',
|
|
2966
2966
|
'never'
|
|
2967
2967
|
],
|
|
2968
2968
|
enumDescriptions: [
|
|
2969
|
-
nls.localize(
|
|
2970
|
-
nls.localize(
|
|
2969
|
+
nls.localize(435, "Show the paste selector widget after content is pasted into the editor."),
|
|
2970
|
+
nls.localize(436, "Never show the paste selector widget. Instead the default pasting behavior is always used."),
|
|
2971
2971
|
],
|
|
2972
2972
|
default: 'afterPaste',
|
|
2973
2973
|
},
|
|
@@ -2994,236 +2994,236 @@ function register(option) {
|
|
|
2994
2994
|
return option;
|
|
2995
2995
|
}
|
|
2996
2996
|
export const EditorOptions = {
|
|
2997
|
-
acceptSuggestionOnCommitCharacter: register(new EditorBooleanOption(0 /* EditorOption.acceptSuggestionOnCommitCharacter */, 'acceptSuggestionOnCommitCharacter', true, { markdownDescription: nls.localize(
|
|
2997
|
+
acceptSuggestionOnCommitCharacter: register(new EditorBooleanOption(0 /* EditorOption.acceptSuggestionOnCommitCharacter */, 'acceptSuggestionOnCommitCharacter', true, { markdownDescription: nls.localize(437, "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.") })),
|
|
2998
2998
|
acceptSuggestionOnEnter: register(new EditorStringEnumOption(1 /* EditorOption.acceptSuggestionOnEnter */, 'acceptSuggestionOnEnter', 'on', ['on', 'smart', 'off'], {
|
|
2999
2999
|
markdownEnumDescriptions: [
|
|
3000
3000
|
'',
|
|
3001
|
-
nls.localize(
|
|
3001
|
+
nls.localize(438, "Only accept a suggestion with `Enter` when it makes a textual change."),
|
|
3002
3002
|
''
|
|
3003
3003
|
],
|
|
3004
|
-
markdownDescription: nls.localize(
|
|
3004
|
+
markdownDescription: nls.localize(439, "Controls whether suggestions should be accepted on `Enter`, in addition to `Tab`. Helps to avoid ambiguity between inserting new lines or accepting suggestions.")
|
|
3005
3005
|
})),
|
|
3006
3006
|
accessibilitySupport: register(new EditorAccessibilitySupport()),
|
|
3007
3007
|
accessibilityPageSize: register(new EditorIntOption(3 /* EditorOption.accessibilityPageSize */, 'accessibilityPageSize', 500, 1, 1073741824 /* Constants.MAX_SAFE_SMALL_INTEGER */, {
|
|
3008
|
-
description: nls.localize(
|
|
3008
|
+
description: nls.localize(440, "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."),
|
|
3009
3009
|
tags: ['accessibility']
|
|
3010
3010
|
})),
|
|
3011
3011
|
allowOverflow: register(new EditorBooleanOption(4 /* EditorOption.allowOverflow */, 'allowOverflow', true)),
|
|
3012
3012
|
allowVariableLineHeights: register(new EditorBooleanOption(5 /* EditorOption.allowVariableLineHeights */, 'allowVariableLineHeights', true, {
|
|
3013
|
-
description: nls.localize(
|
|
3013
|
+
description: nls.localize(441, "Controls whether to allow using variable line heights in the editor.")
|
|
3014
3014
|
})),
|
|
3015
3015
|
allowVariableFonts: register(new EditorBooleanOption(6 /* EditorOption.allowVariableFonts */, 'allowVariableFonts', true, {
|
|
3016
|
-
description: nls.localize(
|
|
3016
|
+
description: nls.localize(442, "Controls whether to allow using variable fonts in the editor.")
|
|
3017
3017
|
})),
|
|
3018
3018
|
allowVariableFontsInAccessibilityMode: register(new EditorBooleanOption(7 /* EditorOption.allowVariableFontsInAccessibilityMode */, 'allowVariableFontsInAccessibilityMode', false, {
|
|
3019
|
-
description: nls.localize(
|
|
3019
|
+
description: nls.localize(443, "Controls whether to allow using variable fonts in the editor in the accessibility mode."),
|
|
3020
3020
|
tags: ['accessibility']
|
|
3021
3021
|
})),
|
|
3022
|
-
ariaLabel: register(new EditorStringOption(8 /* EditorOption.ariaLabel */, 'ariaLabel', nls.localize(
|
|
3022
|
+
ariaLabel: register(new EditorStringOption(8 /* EditorOption.ariaLabel */, 'ariaLabel', nls.localize(444, "Editor content"))),
|
|
3023
3023
|
ariaRequired: register(new EditorBooleanOption(9 /* EditorOption.ariaRequired */, 'ariaRequired', false, undefined)),
|
|
3024
3024
|
screenReaderAnnounceInlineSuggestion: register(new EditorBooleanOption(12 /* EditorOption.screenReaderAnnounceInlineSuggestion */, 'screenReaderAnnounceInlineSuggestion', true, {
|
|
3025
|
-
description: nls.localize(
|
|
3025
|
+
description: nls.localize(445, "Control whether inline suggestions are announced by a screen reader."),
|
|
3026
3026
|
tags: ['accessibility']
|
|
3027
3027
|
})),
|
|
3028
3028
|
autoClosingBrackets: register(new EditorStringEnumOption(10 /* EditorOption.autoClosingBrackets */, 'autoClosingBrackets', 'languageDefined', ['always', 'languageDefined', 'beforeWhitespace', 'never'], {
|
|
3029
3029
|
enumDescriptions: [
|
|
3030
3030
|
'',
|
|
3031
|
-
nls.localize(
|
|
3032
|
-
nls.localize(
|
|
3031
|
+
nls.localize(446, "Use language configurations to determine when to autoclose brackets."),
|
|
3032
|
+
nls.localize(447, "Autoclose brackets only when the cursor is to the left of whitespace."),
|
|
3033
3033
|
'',
|
|
3034
3034
|
],
|
|
3035
|
-
description: nls.localize(
|
|
3035
|
+
description: nls.localize(448, "Controls whether the editor should automatically close brackets after the user adds an opening bracket.")
|
|
3036
3036
|
})),
|
|
3037
3037
|
autoClosingComments: register(new EditorStringEnumOption(11 /* EditorOption.autoClosingComments */, 'autoClosingComments', 'languageDefined', ['always', 'languageDefined', 'beforeWhitespace', 'never'], {
|
|
3038
3038
|
enumDescriptions: [
|
|
3039
3039
|
'',
|
|
3040
|
-
nls.localize(
|
|
3041
|
-
nls.localize(
|
|
3040
|
+
nls.localize(449, "Use language configurations to determine when to autoclose comments."),
|
|
3041
|
+
nls.localize(450, "Autoclose comments only when the cursor is to the left of whitespace."),
|
|
3042
3042
|
'',
|
|
3043
3043
|
],
|
|
3044
|
-
description: nls.localize(
|
|
3044
|
+
description: nls.localize(451, "Controls whether the editor should automatically close comments after the user adds an opening comment.")
|
|
3045
3045
|
})),
|
|
3046
3046
|
autoClosingDelete: register(new EditorStringEnumOption(13 /* EditorOption.autoClosingDelete */, 'autoClosingDelete', 'auto', ['always', 'auto', 'never'], {
|
|
3047
3047
|
enumDescriptions: [
|
|
3048
3048
|
'',
|
|
3049
|
-
nls.localize(
|
|
3049
|
+
nls.localize(452, "Remove adjacent closing quotes or brackets only if they were automatically inserted."),
|
|
3050
3050
|
'',
|
|
3051
3051
|
],
|
|
3052
|
-
description: nls.localize(
|
|
3052
|
+
description: nls.localize(453, "Controls whether the editor should remove adjacent closing quotes or brackets when deleting.")
|
|
3053
3053
|
})),
|
|
3054
3054
|
autoClosingOvertype: register(new EditorStringEnumOption(14 /* EditorOption.autoClosingOvertype */, 'autoClosingOvertype', 'auto', ['always', 'auto', 'never'], {
|
|
3055
3055
|
enumDescriptions: [
|
|
3056
3056
|
'',
|
|
3057
|
-
nls.localize(
|
|
3057
|
+
nls.localize(454, "Type over closing quotes or brackets only if they were automatically inserted."),
|
|
3058
3058
|
'',
|
|
3059
3059
|
],
|
|
3060
|
-
description: nls.localize(
|
|
3060
|
+
description: nls.localize(455, "Controls whether the editor should type over closing quotes or brackets.")
|
|
3061
3061
|
})),
|
|
3062
3062
|
autoClosingQuotes: register(new EditorStringEnumOption(15 /* EditorOption.autoClosingQuotes */, 'autoClosingQuotes', 'languageDefined', ['always', 'languageDefined', 'beforeWhitespace', 'never'], {
|
|
3063
3063
|
enumDescriptions: [
|
|
3064
3064
|
'',
|
|
3065
|
-
nls.localize(
|
|
3066
|
-
nls.localize(
|
|
3065
|
+
nls.localize(456, "Use language configurations to determine when to autoclose quotes."),
|
|
3066
|
+
nls.localize(457, "Autoclose quotes only when the cursor is to the left of whitespace."),
|
|
3067
3067
|
'',
|
|
3068
3068
|
],
|
|
3069
|
-
description: nls.localize(
|
|
3069
|
+
description: nls.localize(458, "Controls whether the editor should automatically close quotes after the user adds an opening quote.")
|
|
3070
3070
|
})),
|
|
3071
3071
|
autoIndent: register(new EditorEnumOption(16 /* EditorOption.autoIndent */, 'autoIndent', 4 /* EditorAutoIndentStrategy.Full */, 'full', ['none', 'keep', 'brackets', 'advanced', 'full'], _autoIndentFromString, {
|
|
3072
3072
|
enumDescriptions: [
|
|
3073
|
-
nls.localize(
|
|
3074
|
-
nls.localize(
|
|
3075
|
-
nls.localize(
|
|
3076
|
-
nls.localize(
|
|
3077
|
-
nls.localize(
|
|
3073
|
+
nls.localize(459, "The editor will not insert indentation automatically."),
|
|
3074
|
+
nls.localize(460, "The editor will keep the current line's indentation."),
|
|
3075
|
+
nls.localize(461, "The editor will keep the current line's indentation and honor language defined brackets."),
|
|
3076
|
+
nls.localize(462, "The editor will keep the current line's indentation, honor language defined brackets and invoke special onEnterRules defined by languages."),
|
|
3077
|
+
nls.localize(463, "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."),
|
|
3078
3078
|
],
|
|
3079
|
-
description: nls.localize(
|
|
3079
|
+
description: nls.localize(464, "Controls whether the editor should automatically adjust the indentation when users type, paste, move or indent lines.")
|
|
3080
3080
|
})),
|
|
3081
|
-
autoIndentOnPaste: register(new EditorBooleanOption(17 /* EditorOption.autoIndentOnPaste */, 'autoIndentOnPaste', false, { description: nls.localize(
|
|
3082
|
-
autoIndentOnPasteWithinString: register(new EditorBooleanOption(18 /* EditorOption.autoIndentOnPasteWithinString */, 'autoIndentOnPasteWithinString', true, { description: nls.localize(
|
|
3081
|
+
autoIndentOnPaste: register(new EditorBooleanOption(17 /* EditorOption.autoIndentOnPaste */, 'autoIndentOnPaste', false, { description: nls.localize(465, "Controls whether the editor should automatically auto-indent the pasted content.") })),
|
|
3082
|
+
autoIndentOnPasteWithinString: register(new EditorBooleanOption(18 /* EditorOption.autoIndentOnPasteWithinString */, 'autoIndentOnPasteWithinString', true, { description: nls.localize(466, "Controls whether the editor should automatically auto-indent the pasted content when pasted within a string. This takes effect when autoIndentOnPaste is true.") })),
|
|
3083
3083
|
automaticLayout: register(new EditorBooleanOption(19 /* EditorOption.automaticLayout */, 'automaticLayout', false)),
|
|
3084
3084
|
autoSurround: register(new EditorStringEnumOption(20 /* EditorOption.autoSurround */, 'autoSurround', 'languageDefined', ['languageDefined', 'quotes', 'brackets', 'never'], {
|
|
3085
3085
|
enumDescriptions: [
|
|
3086
|
-
nls.localize(
|
|
3087
|
-
nls.localize(
|
|
3088
|
-
nls.localize(
|
|
3086
|
+
nls.localize(467, "Use language configurations to determine when to automatically surround selections."),
|
|
3087
|
+
nls.localize(468, "Surround with quotes but not brackets."),
|
|
3088
|
+
nls.localize(469, "Surround with brackets but not quotes."),
|
|
3089
3089
|
''
|
|
3090
3090
|
],
|
|
3091
|
-
description: nls.localize(
|
|
3091
|
+
description: nls.localize(470, "Controls whether the editor should automatically surround selections when typing quotes or brackets.")
|
|
3092
3092
|
})),
|
|
3093
3093
|
bracketPairColorization: register(new BracketPairColorization()),
|
|
3094
3094
|
bracketPairGuides: register(new GuideOptions()),
|
|
3095
|
-
stickyTabStops: register(new EditorBooleanOption(132 /* EditorOption.stickyTabStops */, 'stickyTabStops', false, { description: nls.localize(
|
|
3096
|
-
codeLens: register(new EditorBooleanOption(23 /* EditorOption.codeLens */, 'codeLens', true, { description: nls.localize(
|
|
3097
|
-
codeLensFontFamily: register(new EditorStringOption(24 /* EditorOption.codeLensFontFamily */, 'codeLensFontFamily', '', { description: nls.localize(
|
|
3095
|
+
stickyTabStops: register(new EditorBooleanOption(132 /* EditorOption.stickyTabStops */, 'stickyTabStops', false, { description: nls.localize(471, "Emulate selection behavior of tab characters when using spaces for indentation. Selection will stick to tab stops.") })),
|
|
3096
|
+
codeLens: register(new EditorBooleanOption(23 /* EditorOption.codeLens */, 'codeLens', true, { description: nls.localize(472, "Controls whether the editor shows CodeLens.") })),
|
|
3097
|
+
codeLensFontFamily: register(new EditorStringOption(24 /* EditorOption.codeLensFontFamily */, 'codeLensFontFamily', '', { description: nls.localize(473, "Controls the font family for CodeLens.") })),
|
|
3098
3098
|
codeLensFontSize: register(new EditorIntOption(25 /* EditorOption.codeLensFontSize */, 'codeLensFontSize', 0, 0, 100, {
|
|
3099
3099
|
type: 'number',
|
|
3100
3100
|
default: 0,
|
|
3101
3101
|
minimum: 0,
|
|
3102
3102
|
maximum: 100,
|
|
3103
|
-
markdownDescription: nls.localize(
|
|
3103
|
+
markdownDescription: nls.localize(474, "Controls the font size in pixels for CodeLens. When set to 0, 90% of `#editor.fontSize#` is used.")
|
|
3104
3104
|
})),
|
|
3105
|
-
colorDecorators: register(new EditorBooleanOption(26 /* EditorOption.colorDecorators */, 'colorDecorators', true, { description: nls.localize(
|
|
3105
|
+
colorDecorators: register(new EditorBooleanOption(26 /* EditorOption.colorDecorators */, 'colorDecorators', true, { description: nls.localize(475, "Controls whether the editor should render the inline color decorators and color picker.") })),
|
|
3106
3106
|
colorDecoratorActivatedOn: register(new EditorStringEnumOption(168 /* EditorOption.colorDecoratorsActivatedOn */, 'colorDecoratorsActivatedOn', 'clickAndHover', ['clickAndHover', 'hover', 'click'], {
|
|
3107
3107
|
enumDescriptions: [
|
|
3108
|
-
nls.localize(
|
|
3109
|
-
nls.localize(
|
|
3110
|
-
nls.localize(
|
|
3108
|
+
nls.localize(476, "Make the color picker appear both on click and hover of the color decorator"),
|
|
3109
|
+
nls.localize(477, "Make the color picker appear on hover of the color decorator"),
|
|
3110
|
+
nls.localize(478, "Make the color picker appear on click of the color decorator")
|
|
3111
3111
|
],
|
|
3112
|
-
description: nls.localize(
|
|
3112
|
+
description: nls.localize(479, "Controls the condition to make a color picker appear from a color decorator.")
|
|
3113
3113
|
})),
|
|
3114
3114
|
colorDecoratorsLimit: register(new EditorIntOption(27 /* EditorOption.colorDecoratorsLimit */, 'colorDecoratorsLimit', 500, 1, 1000000, {
|
|
3115
|
-
markdownDescription: nls.localize(
|
|
3115
|
+
markdownDescription: nls.localize(480, "Controls the max number of color decorators that can be rendered in an editor at once.")
|
|
3116
3116
|
})),
|
|
3117
|
-
columnSelection: register(new EditorBooleanOption(28 /* EditorOption.columnSelection */, 'columnSelection', false, { description: nls.localize(
|
|
3117
|
+
columnSelection: register(new EditorBooleanOption(28 /* EditorOption.columnSelection */, 'columnSelection', false, { description: nls.localize(481, "Enable that the selection with the mouse and keys is doing column selection.") })),
|
|
3118
3118
|
comments: register(new EditorComments()),
|
|
3119
3119
|
contextmenu: register(new EditorBooleanOption(30 /* EditorOption.contextmenu */, 'contextmenu', true)),
|
|
3120
|
-
copyWithSyntaxHighlighting: register(new EditorBooleanOption(31 /* EditorOption.copyWithSyntaxHighlighting */, 'copyWithSyntaxHighlighting', true, { description: nls.localize(
|
|
3121
|
-
cursorBlinking: register(new EditorEnumOption(32 /* EditorOption.cursorBlinking */, 'cursorBlinking', 1 /* TextEditorCursorBlinkingStyle.Blink */, 'blink', ['blink', 'smooth', 'phase', 'expand', 'solid'], cursorBlinkingStyleFromString, { description: nls.localize(
|
|
3120
|
+
copyWithSyntaxHighlighting: register(new EditorBooleanOption(31 /* EditorOption.copyWithSyntaxHighlighting */, 'copyWithSyntaxHighlighting', true, { description: nls.localize(482, "Controls whether syntax highlighting should be copied into the clipboard.") })),
|
|
3121
|
+
cursorBlinking: register(new EditorEnumOption(32 /* EditorOption.cursorBlinking */, 'cursorBlinking', 1 /* TextEditorCursorBlinkingStyle.Blink */, 'blink', ['blink', 'smooth', 'phase', 'expand', 'solid'], cursorBlinkingStyleFromString, { description: nls.localize(483, "Control the cursor animation style.") })),
|
|
3122
3122
|
cursorSmoothCaretAnimation: register(new EditorStringEnumOption(33 /* EditorOption.cursorSmoothCaretAnimation */, 'cursorSmoothCaretAnimation', 'off', ['off', 'explicit', 'on'], {
|
|
3123
3123
|
enumDescriptions: [
|
|
3124
|
-
nls.localize(
|
|
3125
|
-
nls.localize(
|
|
3126
|
-
nls.localize(
|
|
3124
|
+
nls.localize(484, "Smooth caret animation is disabled."),
|
|
3125
|
+
nls.localize(485, "Smooth caret animation is enabled only when the user moves the cursor with an explicit gesture."),
|
|
3126
|
+
nls.localize(486, "Smooth caret animation is always enabled.")
|
|
3127
3127
|
],
|
|
3128
|
-
description: nls.localize(
|
|
3128
|
+
description: nls.localize(487, "Controls whether the smooth caret animation should be enabled.")
|
|
3129
3129
|
})),
|
|
3130
|
-
cursorStyle: register(new EditorEnumOption(34 /* EditorOption.cursorStyle */, 'cursorStyle', TextEditorCursorStyle.Line, 'line', ['line', 'block', 'underline', 'line-thin', 'block-outline', 'underline-thin'], cursorStyleFromString, { description: nls.localize(
|
|
3131
|
-
overtypeCursorStyle: register(new EditorEnumOption(92 /* EditorOption.overtypeCursorStyle */, 'overtypeCursorStyle', TextEditorCursorStyle.Block, 'block', ['line', 'block', 'underline', 'line-thin', 'block-outline', 'underline-thin'], cursorStyleFromString, { description: nls.localize(
|
|
3132
|
-
cursorSurroundingLines: register(new EditorIntOption(35 /* EditorOption.cursorSurroundingLines */, 'cursorSurroundingLines', 0, 0, 1073741824 /* Constants.MAX_SAFE_SMALL_INTEGER */, { description: nls.localize(
|
|
3130
|
+
cursorStyle: register(new EditorEnumOption(34 /* EditorOption.cursorStyle */, 'cursorStyle', TextEditorCursorStyle.Line, 'line', ['line', 'block', 'underline', 'line-thin', 'block-outline', 'underline-thin'], cursorStyleFromString, { description: nls.localize(488, "Controls the cursor style in insert input mode.") })),
|
|
3131
|
+
overtypeCursorStyle: register(new EditorEnumOption(92 /* EditorOption.overtypeCursorStyle */, 'overtypeCursorStyle', TextEditorCursorStyle.Block, 'block', ['line', 'block', 'underline', 'line-thin', 'block-outline', 'underline-thin'], cursorStyleFromString, { description: nls.localize(489, "Controls the cursor style in overtype input mode.") })),
|
|
3132
|
+
cursorSurroundingLines: register(new EditorIntOption(35 /* EditorOption.cursorSurroundingLines */, 'cursorSurroundingLines', 0, 0, 1073741824 /* Constants.MAX_SAFE_SMALL_INTEGER */, { description: nls.localize(490, "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.") })),
|
|
3133
3133
|
cursorSurroundingLinesStyle: register(new EditorStringEnumOption(36 /* EditorOption.cursorSurroundingLinesStyle */, 'cursorSurroundingLinesStyle', 'default', ['default', 'all'], {
|
|
3134
3134
|
enumDescriptions: [
|
|
3135
|
-
nls.localize(
|
|
3136
|
-
nls.localize(
|
|
3135
|
+
nls.localize(491, "`cursorSurroundingLines` is enforced only when triggered via the keyboard or API."),
|
|
3136
|
+
nls.localize(492, "`cursorSurroundingLines` is enforced always.")
|
|
3137
3137
|
],
|
|
3138
|
-
markdownDescription: nls.localize(
|
|
3138
|
+
markdownDescription: nls.localize(493, "Controls when `#editor.cursorSurroundingLines#` should be enforced.")
|
|
3139
3139
|
})),
|
|
3140
|
-
cursorWidth: register(new EditorIntOption(37 /* EditorOption.cursorWidth */, 'cursorWidth', 0, 0, 1073741824 /* Constants.MAX_SAFE_SMALL_INTEGER */, { markdownDescription: nls.localize(
|
|
3141
|
-
cursorHeight: register(new EditorIntOption(38 /* EditorOption.cursorHeight */, 'cursorHeight', 0, 0, 1073741824 /* Constants.MAX_SAFE_SMALL_INTEGER */, { markdownDescription: nls.localize(
|
|
3140
|
+
cursorWidth: register(new EditorIntOption(37 /* EditorOption.cursorWidth */, 'cursorWidth', 0, 0, 1073741824 /* Constants.MAX_SAFE_SMALL_INTEGER */, { markdownDescription: nls.localize(494, "Controls the width of the cursor when `#editor.cursorStyle#` is set to `line`.") })),
|
|
3141
|
+
cursorHeight: register(new EditorIntOption(38 /* EditorOption.cursorHeight */, 'cursorHeight', 0, 0, 1073741824 /* Constants.MAX_SAFE_SMALL_INTEGER */, { markdownDescription: nls.localize(495, "Controls the height of the cursor when `#editor.cursorStyle#` is set to `line`. Cursor's max height depends on line height.") })),
|
|
3142
3142
|
disableLayerHinting: register(new EditorBooleanOption(39 /* EditorOption.disableLayerHinting */, 'disableLayerHinting', false)),
|
|
3143
3143
|
disableMonospaceOptimizations: register(new EditorBooleanOption(40 /* EditorOption.disableMonospaceOptimizations */, 'disableMonospaceOptimizations', false)),
|
|
3144
3144
|
domReadOnly: register(new EditorBooleanOption(41 /* EditorOption.domReadOnly */, 'domReadOnly', false)),
|
|
3145
|
-
dragAndDrop: register(new EditorBooleanOption(42 /* EditorOption.dragAndDrop */, 'dragAndDrop', true, { description: nls.localize(
|
|
3145
|
+
dragAndDrop: register(new EditorBooleanOption(42 /* EditorOption.dragAndDrop */, 'dragAndDrop', true, { description: nls.localize(496, "Controls whether the editor should allow moving selections via drag and drop.") })),
|
|
3146
3146
|
emptySelectionClipboard: register(new EditorEmptySelectionClipboard()),
|
|
3147
3147
|
dropIntoEditor: register(new EditorDropIntoEditor()),
|
|
3148
3148
|
editContext: register(new EditorBooleanOption(44 /* EditorOption.editContext */, 'editContext', true, {
|
|
3149
|
-
description: nls.localize(
|
|
3149
|
+
description: nls.localize(497, "Sets whether the EditContext API should be used instead of the text area to power input in the editor."),
|
|
3150
3150
|
included: platform.isChrome || platform.isEdge || platform.isNative
|
|
3151
3151
|
})),
|
|
3152
3152
|
renderRichScreenReaderContent: register(new EditorBooleanOption(107 /* EditorOption.renderRichScreenReaderContent */, 'renderRichScreenReaderContent', false, {
|
|
3153
|
-
markdownDescription: nls.localize(
|
|
3153
|
+
markdownDescription: nls.localize(498, "Whether to render rich screen reader content when the `#editor.editContext#` setting is enabled."),
|
|
3154
3154
|
})),
|
|
3155
3155
|
stickyScroll: register(new EditorStickyScroll()),
|
|
3156
3156
|
experimentalGpuAcceleration: register(new EditorStringEnumOption(46 /* EditorOption.experimentalGpuAcceleration */, 'experimentalGpuAcceleration', 'off', ['off', 'on'], {
|
|
3157
3157
|
tags: ['experimental'],
|
|
3158
3158
|
enumDescriptions: [
|
|
3159
|
-
nls.localize(
|
|
3160
|
-
nls.localize(
|
|
3159
|
+
nls.localize(499, "Use regular DOM-based rendering."),
|
|
3160
|
+
nls.localize(500, "Use GPU acceleration."),
|
|
3161
3161
|
],
|
|
3162
|
-
description: nls.localize(
|
|
3162
|
+
description: nls.localize(501, "Controls whether to use the experimental GPU acceleration to render the editor.")
|
|
3163
3163
|
})),
|
|
3164
3164
|
experimentalWhitespaceRendering: register(new EditorStringEnumOption(47 /* EditorOption.experimentalWhitespaceRendering */, 'experimentalWhitespaceRendering', 'svg', ['svg', 'font', 'off'], {
|
|
3165
3165
|
enumDescriptions: [
|
|
3166
|
-
nls.localize(
|
|
3167
|
-
nls.localize(
|
|
3168
|
-
nls.localize(
|
|
3166
|
+
nls.localize(502, "Use a new rendering method with svgs."),
|
|
3167
|
+
nls.localize(503, "Use a new rendering method with font characters."),
|
|
3168
|
+
nls.localize(504, "Use the stable rendering method."),
|
|
3169
3169
|
],
|
|
3170
|
-
description: nls.localize(
|
|
3170
|
+
description: nls.localize(505, "Controls whether whitespace is rendered with a new, experimental method.")
|
|
3171
3171
|
})),
|
|
3172
3172
|
extraEditorClassName: register(new EditorStringOption(48 /* EditorOption.extraEditorClassName */, 'extraEditorClassName', '')),
|
|
3173
|
-
fastScrollSensitivity: register(new EditorFloatOption(49 /* EditorOption.fastScrollSensitivity */, 'fastScrollSensitivity', 5, x => (x <= 0 ? 5 : x), { markdownDescription: nls.localize(
|
|
3173
|
+
fastScrollSensitivity: register(new EditorFloatOption(49 /* EditorOption.fastScrollSensitivity */, 'fastScrollSensitivity', 5, x => (x <= 0 ? 5 : x), { markdownDescription: nls.localize(506, "Scrolling speed multiplier when pressing `Alt`.") })),
|
|
3174
3174
|
find: register(new EditorFind()),
|
|
3175
3175
|
fixedOverflowWidgets: register(new EditorBooleanOption(51 /* EditorOption.fixedOverflowWidgets */, 'fixedOverflowWidgets', false)),
|
|
3176
|
-
folding: register(new EditorBooleanOption(52 /* EditorOption.folding */, 'folding', true, { description: nls.localize(
|
|
3176
|
+
folding: register(new EditorBooleanOption(52 /* EditorOption.folding */, 'folding', true, { description: nls.localize(507, "Controls whether the editor has code folding enabled.") })),
|
|
3177
3177
|
foldingStrategy: register(new EditorStringEnumOption(53 /* EditorOption.foldingStrategy */, 'foldingStrategy', 'auto', ['auto', 'indentation'], {
|
|
3178
3178
|
enumDescriptions: [
|
|
3179
|
-
nls.localize(
|
|
3180
|
-
nls.localize(
|
|
3179
|
+
nls.localize(508, "Use a language-specific folding strategy if available, else the indentation-based one."),
|
|
3180
|
+
nls.localize(509, "Use the indentation-based folding strategy."),
|
|
3181
3181
|
],
|
|
3182
|
-
description: nls.localize(
|
|
3182
|
+
description: nls.localize(510, "Controls the strategy for computing folding ranges.")
|
|
3183
3183
|
})),
|
|
3184
|
-
foldingHighlight: register(new EditorBooleanOption(54 /* EditorOption.foldingHighlight */, 'foldingHighlight', true, { description: nls.localize(
|
|
3185
|
-
foldingImportsByDefault: register(new EditorBooleanOption(55 /* EditorOption.foldingImportsByDefault */, 'foldingImportsByDefault', false, { description: nls.localize(
|
|
3184
|
+
foldingHighlight: register(new EditorBooleanOption(54 /* EditorOption.foldingHighlight */, 'foldingHighlight', true, { description: nls.localize(511, "Controls whether the editor should highlight folded ranges.") })),
|
|
3185
|
+
foldingImportsByDefault: register(new EditorBooleanOption(55 /* EditorOption.foldingImportsByDefault */, 'foldingImportsByDefault', false, { description: nls.localize(512, "Controls whether the editor automatically collapses import ranges.") })),
|
|
3186
3186
|
foldingMaximumRegions: register(new EditorIntOption(56 /* EditorOption.foldingMaximumRegions */, 'foldingMaximumRegions', 5000, 10, 65000, // limit must be less than foldingRanges MAX_FOLDING_REGIONS
|
|
3187
|
-
{ description: nls.localize(
|
|
3188
|
-
unfoldOnClickAfterEndOfLine: register(new EditorBooleanOption(57 /* EditorOption.unfoldOnClickAfterEndOfLine */, 'unfoldOnClickAfterEndOfLine', false, { description: nls.localize(
|
|
3189
|
-
fontFamily: register(new EditorStringOption(58 /* EditorOption.fontFamily */, 'fontFamily', EDITOR_FONT_DEFAULTS.fontFamily, { description: nls.localize(
|
|
3187
|
+
{ description: nls.localize(513, "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.") })),
|
|
3188
|
+
unfoldOnClickAfterEndOfLine: register(new EditorBooleanOption(57 /* EditorOption.unfoldOnClickAfterEndOfLine */, 'unfoldOnClickAfterEndOfLine', false, { description: nls.localize(514, "Controls whether clicking on the empty content after a folded line will unfold the line.") })),
|
|
3189
|
+
fontFamily: register(new EditorStringOption(58 /* EditorOption.fontFamily */, 'fontFamily', EDITOR_FONT_DEFAULTS.fontFamily, { description: nls.localize(515, "Controls the font family.") })),
|
|
3190
3190
|
fontInfo: register(new EditorFontInfo()),
|
|
3191
3191
|
fontLigatures2: register(new EditorFontLigatures()),
|
|
3192
3192
|
fontSize: register(new EditorFontSize()),
|
|
3193
3193
|
fontWeight: register(new EditorFontWeight()),
|
|
3194
3194
|
fontVariations: register(new EditorFontVariations()),
|
|
3195
|
-
formatOnPaste: register(new EditorBooleanOption(64 /* EditorOption.formatOnPaste */, 'formatOnPaste', false, { description: nls.localize(
|
|
3196
|
-
formatOnType: register(new EditorBooleanOption(65 /* EditorOption.formatOnType */, 'formatOnType', false, { description: nls.localize(
|
|
3197
|
-
glyphMargin: register(new EditorBooleanOption(66 /* EditorOption.glyphMargin */, 'glyphMargin', true, { description: nls.localize(
|
|
3195
|
+
formatOnPaste: register(new EditorBooleanOption(64 /* EditorOption.formatOnPaste */, 'formatOnPaste', false, { description: nls.localize(516, "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.") })),
|
|
3196
|
+
formatOnType: register(new EditorBooleanOption(65 /* EditorOption.formatOnType */, 'formatOnType', false, { description: nls.localize(517, "Controls whether the editor should automatically format the line after typing.") })),
|
|
3197
|
+
glyphMargin: register(new EditorBooleanOption(66 /* EditorOption.glyphMargin */, 'glyphMargin', true, { description: nls.localize(518, "Controls whether the editor should render the vertical glyph margin. Glyph margin is mostly used for debugging.") })),
|
|
3198
3198
|
gotoLocation: register(new EditorGoToLocation()),
|
|
3199
|
-
hideCursorInOverviewRuler: register(new EditorBooleanOption(68 /* EditorOption.hideCursorInOverviewRuler */, 'hideCursorInOverviewRuler', false, { description: nls.localize(
|
|
3199
|
+
hideCursorInOverviewRuler: register(new EditorBooleanOption(68 /* EditorOption.hideCursorInOverviewRuler */, 'hideCursorInOverviewRuler', false, { description: nls.localize(519, "Controls whether the cursor should be hidden in the overview ruler.") })),
|
|
3200
3200
|
hover: register(new EditorHover()),
|
|
3201
3201
|
inDiffEditor: register(new EditorBooleanOption(70 /* EditorOption.inDiffEditor */, 'inDiffEditor', false)),
|
|
3202
|
-
inertialScroll: register(new EditorBooleanOption(158 /* EditorOption.inertialScroll */, 'inertialScroll', false, { description: nls.localize(
|
|
3203
|
-
letterSpacing: register(new EditorFloatOption(72 /* EditorOption.letterSpacing */, 'letterSpacing', EDITOR_FONT_DEFAULTS.letterSpacing, x => EditorFloatOption.clamp(x, -5, 20), { description: nls.localize(
|
|
3202
|
+
inertialScroll: register(new EditorBooleanOption(158 /* EditorOption.inertialScroll */, 'inertialScroll', false, { description: nls.localize(520, "Make scrolling inertial - mostly useful with touchpad on linux.") })),
|
|
3203
|
+
letterSpacing: register(new EditorFloatOption(72 /* EditorOption.letterSpacing */, 'letterSpacing', EDITOR_FONT_DEFAULTS.letterSpacing, x => EditorFloatOption.clamp(x, -5, 20), { description: nls.localize(521, "Controls the letter spacing in pixels.") })),
|
|
3204
3204
|
lightbulb: register(new EditorLightbulb()),
|
|
3205
3205
|
lineDecorationsWidth: register(new EditorLineDecorationsWidth()),
|
|
3206
3206
|
lineHeight: register(new EditorLineHeight()),
|
|
3207
3207
|
lineNumbers: register(new EditorRenderLineNumbersOption()),
|
|
3208
3208
|
lineNumbersMinChars: register(new EditorIntOption(77 /* EditorOption.lineNumbersMinChars */, 'lineNumbersMinChars', 5, 1, 300)),
|
|
3209
|
-
linkedEditing: register(new EditorBooleanOption(78 /* EditorOption.linkedEditing */, 'linkedEditing', false, { description: nls.localize(
|
|
3210
|
-
links: register(new EditorBooleanOption(79 /* EditorOption.links */, 'links', true, { description: nls.localize(
|
|
3211
|
-
matchBrackets: register(new EditorStringEnumOption(80 /* EditorOption.matchBrackets */, 'matchBrackets', 'always', ['always', 'near', 'never'], { description: nls.localize(
|
|
3209
|
+
linkedEditing: register(new EditorBooleanOption(78 /* EditorOption.linkedEditing */, 'linkedEditing', false, { description: nls.localize(522, "Controls whether the editor has linked editing enabled. Depending on the language, related symbols such as HTML tags, are updated while editing.") })),
|
|
3210
|
+
links: register(new EditorBooleanOption(79 /* EditorOption.links */, 'links', true, { description: nls.localize(523, "Controls whether the editor should detect links and make them clickable.") })),
|
|
3211
|
+
matchBrackets: register(new EditorStringEnumOption(80 /* EditorOption.matchBrackets */, 'matchBrackets', 'always', ['always', 'near', 'never'], { description: nls.localize(524, "Highlight matching brackets.") })),
|
|
3212
3212
|
minimap: register(new EditorMinimap()),
|
|
3213
3213
|
mouseStyle: register(new EditorStringEnumOption(82 /* EditorOption.mouseStyle */, 'mouseStyle', 'text', ['text', 'default', 'copy'])),
|
|
3214
|
-
mouseWheelScrollSensitivity: register(new EditorFloatOption(83 /* EditorOption.mouseWheelScrollSensitivity */, 'mouseWheelScrollSensitivity', 1, x => (x === 0 ? 1 : x), { markdownDescription: nls.localize(
|
|
3214
|
+
mouseWheelScrollSensitivity: register(new EditorFloatOption(83 /* EditorOption.mouseWheelScrollSensitivity */, 'mouseWheelScrollSensitivity', 1, x => (x === 0 ? 1 : x), { markdownDescription: nls.localize(525, "A multiplier to be used on the `deltaX` and `deltaY` of mouse wheel scroll events.") })),
|
|
3215
3215
|
mouseWheelZoom: register(new EditorBooleanOption(84 /* EditorOption.mouseWheelZoom */, 'mouseWheelZoom', false, {
|
|
3216
3216
|
markdownDescription: platform.isMacintosh
|
|
3217
|
-
? nls.localize(
|
|
3218
|
-
: nls.localize(
|
|
3217
|
+
? nls.localize(526, "Zoom the font of the editor when using mouse wheel and holding `Cmd`.")
|
|
3218
|
+
: nls.localize(527, "Zoom the font of the editor when using mouse wheel and holding `Ctrl`.")
|
|
3219
3219
|
})),
|
|
3220
|
-
multiCursorMergeOverlapping: register(new EditorBooleanOption(85 /* EditorOption.multiCursorMergeOverlapping */, 'multiCursorMergeOverlapping', true, { description: nls.localize(
|
|
3220
|
+
multiCursorMergeOverlapping: register(new EditorBooleanOption(85 /* EditorOption.multiCursorMergeOverlapping */, 'multiCursorMergeOverlapping', true, { description: nls.localize(528, "Merge multiple cursors when they are overlapping.") })),
|
|
3221
3221
|
multiCursorModifier: register(new EditorEnumOption(86 /* EditorOption.multiCursorModifier */, 'multiCursorModifier', 'altKey', 'alt', ['ctrlCmd', 'alt'], _multiCursorModifierFromString, {
|
|
3222
3222
|
markdownEnumDescriptions: [
|
|
3223
|
-
nls.localize(
|
|
3224
|
-
nls.localize(
|
|
3223
|
+
nls.localize(529, "Maps to `Control` on Windows and Linux and to `Command` on macOS."),
|
|
3224
|
+
nls.localize(530, "Maps to `Alt` on Windows and Linux and to `Option` on macOS.")
|
|
3225
3225
|
],
|
|
3226
|
-
markdownDescription: nls.localize(
|
|
3226
|
+
markdownDescription: nls.localize(531, "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).")
|
|
3227
3227
|
|
|
3228
3228
|
|
|
3229
3229
|
|
|
@@ -3231,171 +3231,171 @@ export const EditorOptions = {
|
|
|
3231
3231
|
|
|
3232
3232
|
|
|
3233
3233
|
})),
|
|
3234
|
-
mouseMiddleClickAction: register(new EditorStringEnumOption(87 /* EditorOption.mouseMiddleClickAction */, 'mouseMiddleClickAction', 'default', ['default', 'openLink', 'ctrlLeftClick'], { description: nls.localize(
|
|
3234
|
+
mouseMiddleClickAction: register(new EditorStringEnumOption(87 /* EditorOption.mouseMiddleClickAction */, 'mouseMiddleClickAction', 'default', ['default', 'openLink', 'ctrlLeftClick'], { description: nls.localize(532, "Controls what happens when middle mouse button is clicked in the editor.") })),
|
|
3235
3235
|
multiCursorPaste: register(new EditorStringEnumOption(88 /* EditorOption.multiCursorPaste */, 'multiCursorPaste', 'spread', ['spread', 'full'], {
|
|
3236
3236
|
markdownEnumDescriptions: [
|
|
3237
|
-
nls.localize(
|
|
3238
|
-
nls.localize(
|
|
3237
|
+
nls.localize(533, "Each cursor pastes a single line of the text."),
|
|
3238
|
+
nls.localize(534, "Each cursor pastes the full text.")
|
|
3239
3239
|
],
|
|
3240
|
-
markdownDescription: nls.localize(
|
|
3240
|
+
markdownDescription: nls.localize(535, "Controls pasting when the line count of the pasted text matches the cursor count.")
|
|
3241
3241
|
})),
|
|
3242
3242
|
multiCursorLimit: register(new EditorIntOption(89 /* EditorOption.multiCursorLimit */, 'multiCursorLimit', 10000, 1, 100000, {
|
|
3243
|
-
markdownDescription: nls.localize(
|
|
3243
|
+
markdownDescription: nls.localize(536, "Controls the max number of cursors that can be in an active editor at once.")
|
|
3244
3244
|
})),
|
|
3245
3245
|
occurrencesHighlight: register(new EditorStringEnumOption(90 /* EditorOption.occurrencesHighlight */, 'occurrencesHighlight', 'singleFile', ['off', 'singleFile', 'multiFile'], {
|
|
3246
3246
|
markdownEnumDescriptions: [
|
|
3247
|
-
nls.localize(
|
|
3248
|
-
nls.localize(
|
|
3249
|
-
nls.localize(
|
|
3247
|
+
nls.localize(537, "Does not highlight occurrences."),
|
|
3248
|
+
nls.localize(538, "Highlights occurrences only in the current file."),
|
|
3249
|
+
nls.localize(539, "Experimental: Highlights occurrences across all valid open files.")
|
|
3250
3250
|
],
|
|
3251
|
-
markdownDescription: nls.localize(
|
|
3251
|
+
markdownDescription: nls.localize(540, "Controls whether occurrences should be highlighted across open files.")
|
|
3252
3252
|
})),
|
|
3253
3253
|
occurrencesHighlightDelay: register(new EditorIntOption(91 /* EditorOption.occurrencesHighlightDelay */, 'occurrencesHighlightDelay', 0, 0, 2000, {
|
|
3254
|
-
description: nls.localize(
|
|
3254
|
+
description: nls.localize(541, "Controls the delay in milliseconds after which occurrences are highlighted."),
|
|
3255
3255
|
tags: ['preview']
|
|
3256
3256
|
})),
|
|
3257
|
-
overtypeOnPaste: register(new EditorBooleanOption(93 /* EditorOption.overtypeOnPaste */, 'overtypeOnPaste', true, { description: nls.localize(
|
|
3258
|
-
overviewRulerBorder: register(new EditorBooleanOption(94 /* EditorOption.overviewRulerBorder */, 'overviewRulerBorder', true, { description: nls.localize(
|
|
3257
|
+
overtypeOnPaste: register(new EditorBooleanOption(93 /* EditorOption.overtypeOnPaste */, 'overtypeOnPaste', true, { description: nls.localize(542, "Controls whether pasting should overtype.") })),
|
|
3258
|
+
overviewRulerBorder: register(new EditorBooleanOption(94 /* EditorOption.overviewRulerBorder */, 'overviewRulerBorder', true, { description: nls.localize(543, "Controls whether a border should be drawn around the overview ruler.") })),
|
|
3259
3259
|
overviewRulerLanes: register(new EditorIntOption(95 /* EditorOption.overviewRulerLanes */, 'overviewRulerLanes', 3, 0, 3)),
|
|
3260
3260
|
padding: register(new EditorPadding()),
|
|
3261
3261
|
pasteAs: register(new EditorPasteAs()),
|
|
3262
3262
|
parameterHints: register(new EditorParameterHints()),
|
|
3263
3263
|
peekWidgetDefaultFocus: register(new EditorStringEnumOption(99 /* EditorOption.peekWidgetDefaultFocus */, 'peekWidgetDefaultFocus', 'tree', ['tree', 'editor'], {
|
|
3264
3264
|
enumDescriptions: [
|
|
3265
|
-
nls.localize(
|
|
3266
|
-
nls.localize(
|
|
3265
|
+
nls.localize(544, "Focus the tree when opening peek"),
|
|
3266
|
+
nls.localize(545, "Focus the editor when opening peek")
|
|
3267
3267
|
],
|
|
3268
|
-
description: nls.localize(
|
|
3268
|
+
description: nls.localize(546, "Controls whether to focus the inline editor or the tree in the peek widget.")
|
|
3269
3269
|
})),
|
|
3270
3270
|
placeholder: register(new PlaceholderOption()),
|
|
3271
|
-
definitionLinkOpensInPeek: register(new EditorBooleanOption(101 /* EditorOption.definitionLinkOpensInPeek */, 'definitionLinkOpensInPeek', false, { description: nls.localize(
|
|
3271
|
+
definitionLinkOpensInPeek: register(new EditorBooleanOption(101 /* EditorOption.definitionLinkOpensInPeek */, 'definitionLinkOpensInPeek', false, { description: nls.localize(547, "Controls whether the Go to Definition mouse gesture always opens the peek widget.") })),
|
|
3272
3272
|
quickSuggestions: register(new EditorQuickSuggestions()),
|
|
3273
3273
|
quickSuggestionsDelay: register(new EditorIntOption(103 /* EditorOption.quickSuggestionsDelay */, 'quickSuggestionsDelay', 10, 0, 1073741824 /* Constants.MAX_SAFE_SMALL_INTEGER */, {
|
|
3274
|
-
description: nls.localize(
|
|
3274
|
+
description: nls.localize(548, "Controls the delay in milliseconds after which quick suggestions will show up."),
|
|
3275
3275
|
experiment: {
|
|
3276
3276
|
mode: 'auto'
|
|
3277
3277
|
}
|
|
3278
3278
|
})),
|
|
3279
3279
|
readOnly: register(new EditorBooleanOption(104 /* EditorOption.readOnly */, 'readOnly', false)),
|
|
3280
3280
|
readOnlyMessage: register(new ReadonlyMessage()),
|
|
3281
|
-
renameOnType: register(new EditorBooleanOption(106 /* EditorOption.renameOnType */, 'renameOnType', false, { description: nls.localize(
|
|
3282
|
-
renderControlCharacters: register(new EditorBooleanOption(108 /* EditorOption.renderControlCharacters */, 'renderControlCharacters', true, { description: nls.localize(
|
|
3283
|
-
renderFinalNewline: register(new EditorStringEnumOption(109 /* EditorOption.renderFinalNewline */, 'renderFinalNewline', (platform.isLinux ? 'dimmed' : 'on'), ['off', 'on', 'dimmed'], { description: nls.localize(
|
|
3281
|
+
renameOnType: register(new EditorBooleanOption(106 /* EditorOption.renameOnType */, 'renameOnType', false, { description: nls.localize(549, "Controls whether the editor auto renames on type."), markdownDeprecationMessage: nls.localize(550, "Deprecated, use `#editor.linkedEditing#` instead.") })),
|
|
3282
|
+
renderControlCharacters: register(new EditorBooleanOption(108 /* EditorOption.renderControlCharacters */, 'renderControlCharacters', true, { description: nls.localize(551, "Controls whether the editor should render control characters."), restricted: true })),
|
|
3283
|
+
renderFinalNewline: register(new EditorStringEnumOption(109 /* EditorOption.renderFinalNewline */, 'renderFinalNewline', (platform.isLinux ? 'dimmed' : 'on'), ['off', 'on', 'dimmed'], { description: nls.localize(552, "Render last line number when the file ends with a newline.") })),
|
|
3284
3284
|
renderLineHighlight: register(new EditorStringEnumOption(110 /* EditorOption.renderLineHighlight */, 'renderLineHighlight', 'line', ['none', 'gutter', 'line', 'all'], {
|
|
3285
3285
|
enumDescriptions: [
|
|
3286
3286
|
'',
|
|
3287
3287
|
'',
|
|
3288
3288
|
'',
|
|
3289
|
-
nls.localize(
|
|
3289
|
+
nls.localize(553, "Highlights both the gutter and the current line."),
|
|
3290
3290
|
],
|
|
3291
|
-
description: nls.localize(
|
|
3291
|
+
description: nls.localize(554, "Controls how the editor should render the current line highlight.")
|
|
3292
3292
|
})),
|
|
3293
|
-
renderLineHighlightOnlyWhenFocus: register(new EditorBooleanOption(111 /* EditorOption.renderLineHighlightOnlyWhenFocus */, 'renderLineHighlightOnlyWhenFocus', false, { description: nls.localize(
|
|
3293
|
+
renderLineHighlightOnlyWhenFocus: register(new EditorBooleanOption(111 /* EditorOption.renderLineHighlightOnlyWhenFocus */, 'renderLineHighlightOnlyWhenFocus', false, { description: nls.localize(555, "Controls if the editor should render the current line highlight only when the editor is focused.") })),
|
|
3294
3294
|
renderValidationDecorations: register(new EditorStringEnumOption(112 /* EditorOption.renderValidationDecorations */, 'renderValidationDecorations', 'editable', ['editable', 'on', 'off'])),
|
|
3295
3295
|
renderWhitespace: register(new EditorStringEnumOption(113 /* EditorOption.renderWhitespace */, 'renderWhitespace', 'selection', ['none', 'boundary', 'selection', 'trailing', 'all'], {
|
|
3296
3296
|
enumDescriptions: [
|
|
3297
3297
|
'',
|
|
3298
|
-
nls.localize(
|
|
3299
|
-
nls.localize(
|
|
3300
|
-
nls.localize(
|
|
3298
|
+
nls.localize(556, "Render whitespace characters except for single spaces between words."),
|
|
3299
|
+
nls.localize(557, "Render whitespace characters only on selected text."),
|
|
3300
|
+
nls.localize(558, "Render only trailing whitespace characters."),
|
|
3301
3301
|
''
|
|
3302
3302
|
],
|
|
3303
|
-
description: nls.localize(
|
|
3303
|
+
description: nls.localize(559, "Controls how the editor should render whitespace characters.")
|
|
3304
3304
|
})),
|
|
3305
3305
|
revealHorizontalRightPadding: register(new EditorIntOption(114 /* EditorOption.revealHorizontalRightPadding */, 'revealHorizontalRightPadding', 15, 0, 1000)),
|
|
3306
|
-
roundedSelection: register(new EditorBooleanOption(115 /* EditorOption.roundedSelection */, 'roundedSelection', true, { description: nls.localize(
|
|
3306
|
+
roundedSelection: register(new EditorBooleanOption(115 /* EditorOption.roundedSelection */, 'roundedSelection', true, { description: nls.localize(560, "Controls whether selections should have rounded corners.") })),
|
|
3307
3307
|
rulers: register(new EditorRulers()),
|
|
3308
3308
|
scrollbar: register(new EditorScrollbar()),
|
|
3309
|
-
scrollBeyondLastColumn: register(new EditorIntOption(118 /* EditorOption.scrollBeyondLastColumn */, 'scrollBeyondLastColumn', 4, 0, 1073741824 /* Constants.MAX_SAFE_SMALL_INTEGER */, { description: nls.localize(
|
|
3310
|
-
scrollBeyondLastLine: register(new EditorBooleanOption(119 /* EditorOption.scrollBeyondLastLine */, 'scrollBeyondLastLine', true, { description: nls.localize(
|
|
3311
|
-
scrollOnMiddleClick: register(new EditorBooleanOption(171 /* EditorOption.scrollOnMiddleClick */, 'scrollOnMiddleClick', false, { description: nls.localize(
|
|
3312
|
-
scrollPredominantAxis: register(new EditorBooleanOption(120 /* EditorOption.scrollPredominantAxis */, 'scrollPredominantAxis', true, { description: nls.localize(
|
|
3309
|
+
scrollBeyondLastColumn: register(new EditorIntOption(118 /* EditorOption.scrollBeyondLastColumn */, 'scrollBeyondLastColumn', 4, 0, 1073741824 /* Constants.MAX_SAFE_SMALL_INTEGER */, { description: nls.localize(561, "Controls the number of extra characters beyond which the editor will scroll horizontally.") })),
|
|
3310
|
+
scrollBeyondLastLine: register(new EditorBooleanOption(119 /* EditorOption.scrollBeyondLastLine */, 'scrollBeyondLastLine', true, { description: nls.localize(562, "Controls whether the editor will scroll beyond the last line.") })),
|
|
3311
|
+
scrollOnMiddleClick: register(new EditorBooleanOption(171 /* EditorOption.scrollOnMiddleClick */, 'scrollOnMiddleClick', false, { description: nls.localize(563, "Controls whether the editor will scroll when the middle button is pressed.") })),
|
|
3312
|
+
scrollPredominantAxis: register(new EditorBooleanOption(120 /* EditorOption.scrollPredominantAxis */, 'scrollPredominantAxis', true, { description: nls.localize(564, "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.") })),
|
|
3313
3313
|
selectionClipboard: register(new EditorBooleanOption(121 /* EditorOption.selectionClipboard */, 'selectionClipboard', true, {
|
|
3314
|
-
description: nls.localize(
|
|
3314
|
+
description: nls.localize(565, "Controls whether the Linux primary clipboard should be supported."),
|
|
3315
3315
|
included: platform.isLinux
|
|
3316
3316
|
})),
|
|
3317
|
-
selectionHighlight: register(new EditorBooleanOption(122 /* EditorOption.selectionHighlight */, 'selectionHighlight', true, { description: nls.localize(
|
|
3318
|
-
selectionHighlightMaxLength: register(new EditorIntOption(123 /* EditorOption.selectionHighlightMaxLength */, 'selectionHighlightMaxLength', 200, 0, 1073741824 /* Constants.MAX_SAFE_SMALL_INTEGER */, { description: nls.localize(
|
|
3319
|
-
selectionHighlightMultiline: register(new EditorBooleanOption(124 /* EditorOption.selectionHighlightMultiline */, 'selectionHighlightMultiline', false, { description: nls.localize(
|
|
3317
|
+
selectionHighlight: register(new EditorBooleanOption(122 /* EditorOption.selectionHighlight */, 'selectionHighlight', true, { description: nls.localize(566, "Controls whether the editor should highlight matches similar to the selection.") })),
|
|
3318
|
+
selectionHighlightMaxLength: register(new EditorIntOption(123 /* EditorOption.selectionHighlightMaxLength */, 'selectionHighlightMaxLength', 200, 0, 1073741824 /* Constants.MAX_SAFE_SMALL_INTEGER */, { description: nls.localize(567, "Controls how many characters can be in the selection before similiar matches are not highlighted. Set to zero for unlimited.") })),
|
|
3319
|
+
selectionHighlightMultiline: register(new EditorBooleanOption(124 /* EditorOption.selectionHighlightMultiline */, 'selectionHighlightMultiline', false, { description: nls.localize(568, "Controls whether the editor should highlight selection matches that span multiple lines.") })),
|
|
3320
3320
|
selectOnLineNumbers: register(new EditorBooleanOption(125 /* EditorOption.selectOnLineNumbers */, 'selectOnLineNumbers', true)),
|
|
3321
3321
|
showFoldingControls: register(new EditorStringEnumOption(126 /* EditorOption.showFoldingControls */, 'showFoldingControls', 'mouseover', ['always', 'never', 'mouseover'], {
|
|
3322
3322
|
enumDescriptions: [
|
|
3323
|
-
nls.localize(
|
|
3324
|
-
nls.localize(
|
|
3325
|
-
nls.localize(
|
|
3323
|
+
nls.localize(569, "Always show the folding controls."),
|
|
3324
|
+
nls.localize(570, "Never show the folding controls and reduce the gutter size."),
|
|
3325
|
+
nls.localize(571, "Only show the folding controls when the mouse is over the gutter."),
|
|
3326
3326
|
],
|
|
3327
|
-
description: nls.localize(
|
|
3327
|
+
description: nls.localize(572, "Controls when the folding controls on the gutter are shown.")
|
|
3328
3328
|
})),
|
|
3329
|
-
showUnused: register(new EditorBooleanOption(127 /* EditorOption.showUnused */, 'showUnused', true, { description: nls.localize(
|
|
3330
|
-
showDeprecated: register(new EditorBooleanOption(157 /* EditorOption.showDeprecated */, 'showDeprecated', true, { description: nls.localize(
|
|
3329
|
+
showUnused: register(new EditorBooleanOption(127 /* EditorOption.showUnused */, 'showUnused', true, { description: nls.localize(573, "Controls fading out of unused code.") })),
|
|
3330
|
+
showDeprecated: register(new EditorBooleanOption(157 /* EditorOption.showDeprecated */, 'showDeprecated', true, { description: nls.localize(574, "Controls strikethrough deprecated variables.") })),
|
|
3331
3331
|
inlayHints: register(new EditorInlayHints()),
|
|
3332
3332
|
snippetSuggestions: register(new EditorStringEnumOption(128 /* EditorOption.snippetSuggestions */, 'snippetSuggestions', 'inline', ['top', 'bottom', 'inline', 'none'], {
|
|
3333
3333
|
enumDescriptions: [
|
|
3334
|
-
nls.localize(
|
|
3335
|
-
nls.localize(
|
|
3336
|
-
nls.localize(
|
|
3337
|
-
nls.localize(
|
|
3334
|
+
nls.localize(575, "Show snippet suggestions on top of other suggestions."),
|
|
3335
|
+
nls.localize(576, "Show snippet suggestions below other suggestions."),
|
|
3336
|
+
nls.localize(577, "Show snippets suggestions with other suggestions."),
|
|
3337
|
+
nls.localize(578, "Do not show snippet suggestions."),
|
|
3338
3338
|
],
|
|
3339
|
-
description: nls.localize(
|
|
3339
|
+
description: nls.localize(579, "Controls whether snippets are shown with other suggestions and how they are sorted.")
|
|
3340
3340
|
})),
|
|
3341
3341
|
smartSelect: register(new SmartSelect()),
|
|
3342
|
-
smoothScrolling: register(new EditorBooleanOption(130 /* EditorOption.smoothScrolling */, 'smoothScrolling', false, { description: nls.localize(
|
|
3342
|
+
smoothScrolling: register(new EditorBooleanOption(130 /* EditorOption.smoothScrolling */, 'smoothScrolling', false, { description: nls.localize(580, "Controls whether the editor will scroll using an animation.") })),
|
|
3343
3343
|
stopRenderingLineAfter: register(new EditorIntOption(133 /* EditorOption.stopRenderingLineAfter */, 'stopRenderingLineAfter', 10000, -1, 1073741824 /* Constants.MAX_SAFE_SMALL_INTEGER */)),
|
|
3344
3344
|
suggest: register(new EditorSuggest()),
|
|
3345
3345
|
inlineSuggest: register(new InlineEditorSuggest()),
|
|
3346
|
-
inlineCompletionsAccessibilityVerbose: register(new EditorBooleanOption(169 /* EditorOption.inlineCompletionsAccessibilityVerbose */, 'inlineCompletionsAccessibilityVerbose', false, { description: nls.localize(
|
|
3347
|
-
suggestFontSize: register(new EditorIntOption(135 /* EditorOption.suggestFontSize */, 'suggestFontSize', 0, 0, 1000, { markdownDescription: nls.localize(
|
|
3348
|
-
suggestLineHeight: register(new EditorIntOption(136 /* EditorOption.suggestLineHeight */, 'suggestLineHeight', 0, 0, 1000, { markdownDescription: nls.localize(
|
|
3349
|
-
suggestOnTriggerCharacters: register(new EditorBooleanOption(137 /* EditorOption.suggestOnTriggerCharacters */, 'suggestOnTriggerCharacters', true, { description: nls.localize(
|
|
3346
|
+
inlineCompletionsAccessibilityVerbose: register(new EditorBooleanOption(169 /* EditorOption.inlineCompletionsAccessibilityVerbose */, 'inlineCompletionsAccessibilityVerbose', false, { description: nls.localize(581, "Controls whether the accessibility hint should be provided to screen reader users when an inline completion is shown.") })),
|
|
3347
|
+
suggestFontSize: register(new EditorIntOption(135 /* EditorOption.suggestFontSize */, 'suggestFontSize', 0, 0, 1000, { markdownDescription: nls.localize(582, "Font size for the suggest widget. When set to {0}, the value of {1} is used.", '`0`', '`#editor.fontSize#`') })),
|
|
3348
|
+
suggestLineHeight: register(new EditorIntOption(136 /* EditorOption.suggestLineHeight */, 'suggestLineHeight', 0, 0, 1000, { markdownDescription: nls.localize(583, "Line height for the suggest widget. When set to {0}, the value of {1} is used. The minimum value is 8.", '`0`', '`#editor.lineHeight#`') })),
|
|
3349
|
+
suggestOnTriggerCharacters: register(new EditorBooleanOption(137 /* EditorOption.suggestOnTriggerCharacters */, 'suggestOnTriggerCharacters', true, { description: nls.localize(584, "Controls whether suggestions should automatically show up when typing trigger characters.") })),
|
|
3350
3350
|
suggestSelection: register(new EditorStringEnumOption(138 /* EditorOption.suggestSelection */, 'suggestSelection', 'first', ['first', 'recentlyUsed', 'recentlyUsedByPrefix'], {
|
|
3351
3351
|
markdownEnumDescriptions: [
|
|
3352
|
-
nls.localize(
|
|
3353
|
-
nls.localize(
|
|
3354
|
-
nls.localize(
|
|
3352
|
+
nls.localize(585, "Always select the first suggestion."),
|
|
3353
|
+
nls.localize(586, "Select recent suggestions unless further typing selects one, e.g. `console.| -> console.log` because `log` has been completed recently."),
|
|
3354
|
+
nls.localize(587, "Select suggestions based on previous prefixes that have completed those suggestions, e.g. `co -> console` and `con -> const`."),
|
|
3355
3355
|
],
|
|
3356
|
-
description: nls.localize(
|
|
3356
|
+
description: nls.localize(588, "Controls how suggestions are pre-selected when showing the suggest list.")
|
|
3357
3357
|
})),
|
|
3358
3358
|
tabCompletion: register(new EditorStringEnumOption(139 /* EditorOption.tabCompletion */, 'tabCompletion', 'off', ['on', 'off', 'onlySnippets'], {
|
|
3359
3359
|
enumDescriptions: [
|
|
3360
|
-
nls.localize(
|
|
3361
|
-
nls.localize(
|
|
3362
|
-
nls.localize(
|
|
3360
|
+
nls.localize(589, "Tab complete will insert the best matching suggestion when pressing tab."),
|
|
3361
|
+
nls.localize(590, "Disable tab completions."),
|
|
3362
|
+
nls.localize(591, "Tab complete snippets when their prefix match. Works best when 'quickSuggestions' aren't enabled."),
|
|
3363
3363
|
],
|
|
3364
|
-
description: nls.localize(
|
|
3364
|
+
description: nls.localize(592, "Enables tab completions.")
|
|
3365
3365
|
})),
|
|
3366
3366
|
tabIndex: register(new EditorIntOption(140 /* EditorOption.tabIndex */, 'tabIndex', 0, -1, 1073741824 /* Constants.MAX_SAFE_SMALL_INTEGER */)),
|
|
3367
|
-
trimWhitespaceOnDelete: register(new EditorBooleanOption(141 /* EditorOption.trimWhitespaceOnDelete */, 'trimWhitespaceOnDelete', false, { description: nls.localize(
|
|
3367
|
+
trimWhitespaceOnDelete: register(new EditorBooleanOption(141 /* EditorOption.trimWhitespaceOnDelete */, 'trimWhitespaceOnDelete', false, { description: nls.localize(593, "Controls whether the editor will also delete the next line's indentation whitespace when deleting a newline.") })),
|
|
3368
3368
|
unicodeHighlight: register(new UnicodeHighlight()),
|
|
3369
3369
|
unusualLineTerminators: register(new EditorStringEnumOption(143 /* EditorOption.unusualLineTerminators */, 'unusualLineTerminators', 'prompt', ['auto', 'off', 'prompt'], {
|
|
3370
3370
|
enumDescriptions: [
|
|
3371
|
-
nls.localize(
|
|
3372
|
-
nls.localize(
|
|
3373
|
-
nls.localize(
|
|
3371
|
+
nls.localize(594, "Unusual line terminators are automatically removed."),
|
|
3372
|
+
nls.localize(595, "Unusual line terminators are ignored."),
|
|
3373
|
+
nls.localize(596, "Unusual line terminators prompt to be removed."),
|
|
3374
3374
|
],
|
|
3375
|
-
description: nls.localize(
|
|
3375
|
+
description: nls.localize(597, "Remove unusual line terminators that might cause problems.")
|
|
3376
3376
|
})),
|
|
3377
3377
|
useShadowDOM: register(new EditorBooleanOption(144 /* EditorOption.useShadowDOM */, 'useShadowDOM', true)),
|
|
3378
|
-
useTabStops: register(new EditorBooleanOption(145 /* EditorOption.useTabStops */, 'useTabStops', true, { description: nls.localize(
|
|
3378
|
+
useTabStops: register(new EditorBooleanOption(145 /* EditorOption.useTabStops */, 'useTabStops', true, { description: nls.localize(598, "Spaces and tabs are inserted and deleted in alignment with tab stops.") })),
|
|
3379
3379
|
wordBreak: register(new EditorStringEnumOption(146 /* EditorOption.wordBreak */, 'wordBreak', 'normal', ['normal', 'keepAll'], {
|
|
3380
3380
|
markdownEnumDescriptions: [
|
|
3381
|
-
nls.localize(
|
|
3382
|
-
nls.localize(
|
|
3381
|
+
nls.localize(599, "Use the default line break rule."),
|
|
3382
|
+
nls.localize(600, "Word breaks should not be used for Chinese/Japanese/Korean (CJK) text. Non-CJK text behavior is the same as for normal."),
|
|
3383
3383
|
],
|
|
3384
|
-
description: nls.localize(
|
|
3384
|
+
description: nls.localize(601, "Controls the word break rules used for Chinese/Japanese/Korean (CJK) text.")
|
|
3385
3385
|
})),
|
|
3386
3386
|
wordSegmenterLocales: register(new WordSegmenterLocales()),
|
|
3387
|
-
wordSeparators: register(new EditorStringOption(148 /* EditorOption.wordSeparators */, 'wordSeparators', USUAL_WORD_SEPARATORS, { description: nls.localize(
|
|
3387
|
+
wordSeparators: register(new EditorStringOption(148 /* EditorOption.wordSeparators */, 'wordSeparators', USUAL_WORD_SEPARATORS, { description: nls.localize(602, "Characters that will be used as word separators when doing word related navigations or operations.") })),
|
|
3388
3388
|
wordWrap: register(new EditorStringEnumOption(149 /* EditorOption.wordWrap */, 'wordWrap', 'off', ['off', 'on', 'wordWrapColumn', 'bounded'], {
|
|
3389
3389
|
markdownEnumDescriptions: [
|
|
3390
|
-
nls.localize(
|
|
3391
|
-
nls.localize(
|
|
3392
|
-
nls.localize(
|
|
3390
|
+
nls.localize(603, "Lines will never wrap."),
|
|
3391
|
+
nls.localize(604, "Lines will wrap at the viewport width."),
|
|
3392
|
+
nls.localize(605, "Lines will wrap at `#editor.wordWrapColumn#`."),
|
|
3393
3393
|
|
|
3394
3394
|
|
|
3395
3395
|
|
|
3396
3396
|
|
|
3397
3397
|
|
|
3398
|
-
nls.localize(
|
|
3398
|
+
nls.localize(606, "Lines will wrap at the minimum of viewport and `#editor.wordWrapColumn#`."),
|
|
3399
3399
|
|
|
3400
3400
|
|
|
3401
3401
|
|
|
@@ -3403,7 +3403,7 @@ export const EditorOptions = {
|
|
|
3403
3403
|
|
|
3404
3404
|
|
|
3405
3405
|
],
|
|
3406
|
-
description: nls.localize(
|
|
3406
|
+
description: nls.localize(607, "Controls how lines should wrap.")
|
|
3407
3407
|
|
|
3408
3408
|
|
|
3409
3409
|
|
|
@@ -3418,7 +3418,7 @@ export const EditorOptions = {
|
|
|
3418
3418
|
// allow-any-unicode-next-line
|
|
3419
3419
|
'([{‘“〈《「『【〔([{「£¥$£¥++')),
|
|
3420
3420
|
wordWrapColumn: register(new EditorIntOption(152 /* EditorOption.wordWrapColumn */, 'wordWrapColumn', 80, 1, 1073741824 /* Constants.MAX_SAFE_SMALL_INTEGER */, {
|
|
3421
|
-
markdownDescription: nls.localize(
|
|
3421
|
+
markdownDescription: nls.localize(608, "Controls the wrapping column of the editor when `#editor.wordWrap#` is `wordWrapColumn` or `bounded`.")
|
|
3422
3422
|
|
|
3423
3423
|
|
|
3424
3424
|
|
|
@@ -3428,20 +3428,20 @@ export const EditorOptions = {
|
|
|
3428
3428
|
})),
|
|
3429
3429
|
wordWrapOverride1: register(new EditorStringEnumOption(153 /* EditorOption.wordWrapOverride1 */, 'wordWrapOverride1', 'inherit', ['off', 'on', 'inherit'])),
|
|
3430
3430
|
wordWrapOverride2: register(new EditorStringEnumOption(154 /* EditorOption.wordWrapOverride2 */, 'wordWrapOverride2', 'inherit', ['off', 'on', 'inherit'])),
|
|
3431
|
-
wrapOnEscapedLineFeeds: register(new EditorBooleanOption(160 /* EditorOption.wrapOnEscapedLineFeeds */, 'wrapOnEscapedLineFeeds', false, { markdownDescription: nls.localize(
|
|
3431
|
+
wrapOnEscapedLineFeeds: register(new EditorBooleanOption(160 /* EditorOption.wrapOnEscapedLineFeeds */, 'wrapOnEscapedLineFeeds', false, { markdownDescription: nls.localize(609, "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```") })),
|
|
3432
3432
|
// Leave these at the end (because they have dependencies!)
|
|
3433
3433
|
effectiveCursorStyle: register(new EffectiveCursorStyle()),
|
|
3434
3434
|
editorClassName: register(new EditorClassName()),
|
|
3435
3435
|
defaultColorDecorators: register(new EditorStringEnumOption(167 /* EditorOption.defaultColorDecorators */, 'defaultColorDecorators', 'auto', ['auto', 'always', 'never'], {
|
|
3436
3436
|
enumDescriptions: [
|
|
3437
|
-
nls.localize(
|
|
3438
|
-
nls.localize(
|
|
3439
|
-
nls.localize(
|
|
3437
|
+
nls.localize(610, "Show default color decorators only when no extension provides colors decorators."),
|
|
3438
|
+
nls.localize(611, "Always show default color decorators."),
|
|
3439
|
+
nls.localize(612, "Never show default color decorators."),
|
|
3440
3440
|
],
|
|
3441
|
-
description: nls.localize(
|
|
3441
|
+
description: nls.localize(613, "Controls whether inline color decorations should be shown using the default document color provider.")
|
|
3442
3442
|
})),
|
|
3443
3443
|
pixelRatio: register(new EditorPixelRatio()),
|
|
3444
|
-
tabFocusMode: register(new EditorBooleanOption(164 /* EditorOption.tabFocusMode */, 'tabFocusMode', false, { markdownDescription: nls.localize(
|
|
3444
|
+
tabFocusMode: register(new EditorBooleanOption(164 /* EditorOption.tabFocusMode */, 'tabFocusMode', false, { markdownDescription: nls.localize(614, "Controls whether the editor receives tabs or defers them to the workbench for navigation.") })),
|
|
3445
3445
|
layoutInfo: register(new EditorLayoutInfoComputer()),
|
|
3446
3446
|
wrappingInfo: register(new EditorWrappingInfoComputer()),
|
|
3447
3447
|
wrappingIndent: register(new WrappingIndentOption()),
|