monaco-editor-core 0.55.0-dev-20251014 → 0.55.0-dev-20251016
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 +9 -0
- 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 +9 -0
- package/esm/nls.messages.pt-br.js +9 -0
- package/esm/nls.messages.ru.js +2 -2
- package/esm/nls.messages.tr.js +9 -0
- package/esm/nls.messages.zh-cn.js +2 -2
- package/esm/nls.messages.zh-tw.js +2 -2
- package/esm/nls.metadata.json +10 -0
- package/esm/vs/base/browser/canIUse.js +0 -1
- package/esm/vs/base/browser/canIUse.js.map +1 -1
- package/esm/vs/base/browser/domSanitize.js +31 -23
- package/esm/vs/base/browser/domSanitize.js.map +1 -1
- package/esm/vs/base/browser/dompurify/dompurify.js +188 -385
- package/esm/vs/base/browser/markdownRenderer.js +6 -1
- package/esm/vs/base/browser/markdownRenderer.js.map +1 -1
- package/esm/vs/base/browser/trustedTypes.js.map +1 -1
- package/esm/vs/base/browser/ui/codicons/codicon/codicon.ttf +0 -0
- package/esm/vs/base/browser/ui/toggle/toggle.js +6 -0
- package/esm/vs/base/browser/ui/toggle/toggle.js.map +1 -1
- package/esm/vs/base/common/codiconsLibrary.js +1 -0
- package/esm/vs/base/common/codiconsLibrary.js.map +1 -1
- package/esm/vs/base/common/objects.js +0 -1
- package/esm/vs/base/common/objects.js.map +1 -1
- package/esm/vs/editor/browser/controller/mouseTarget.js +2 -1
- package/esm/vs/editor/browser/controller/mouseTarget.js.map +1 -1
- package/esm/vs/editor/browser/coreCommands.js +4 -2
- package/esm/vs/editor/browser/coreCommands.js.map +1 -1
- package/esm/vs/editor/browser/services/abstractCodeEditorService.js +5 -0
- package/esm/vs/editor/browser/services/abstractCodeEditorService.js.map +1 -1
- package/esm/vs/editor/browser/services/codeEditorService.js.map +1 -1
- package/esm/vs/editor/browser/widget/diffEditor/components/diffEditorViewZones/copySelection.js +104 -0
- package/esm/vs/editor/browser/widget/diffEditor/components/diffEditorViewZones/copySelection.js.map +1 -0
- package/esm/vs/editor/browser/widget/diffEditor/components/diffEditorViewZones/diffEditorViewZones.js +3 -3
- package/esm/vs/editor/browser/widget/diffEditor/components/diffEditorViewZones/diffEditorViewZones.js.map +1 -1
- package/esm/vs/editor/browser/widget/diffEditor/components/diffEditorViewZones/inlineDiffDeletedCodeMargin.js +25 -24
- package/esm/vs/editor/browser/widget/diffEditor/components/diffEditorViewZones/inlineDiffDeletedCodeMargin.js.map +1 -1
- package/esm/vs/editor/browser/widget/diffEditor/diffEditor.contribution.js +5 -5
- package/esm/vs/editor/browser/widget/diffEditor/diffEditorWidget.js +7 -3
- package/esm/vs/editor/browser/widget/diffEditor/diffEditorWidget.js.map +1 -1
- package/esm/vs/editor/browser/widget/diffEditor/features/hideUnchangedRegionsFeature.js +7 -7
- package/esm/vs/editor/browser/widget/diffEditor/features/movedBlocksLinesFeature.js +2 -2
- package/esm/vs/editor/browser/widget/diffEditor/features/revertButtonsFeature.js +2 -2
- package/esm/vs/editor/browser/widget/diffEditor/registrations.contribution.js +5 -5
- package/esm/vs/editor/browser/widget/diffEditor/style.css +11 -0
- package/esm/vs/editor/browser/widget/multiDiffEditor/colors.js +3 -3
- package/esm/vs/editor/browser/widget/multiDiffEditor/multiDiffEditorWidgetImpl.js +2 -2
- package/esm/vs/editor/common/config/editorConfigurationSchema.js +54 -54
- package/esm/vs/editor/common/config/editorOptions.js +406 -406
- package/esm/vs/editor/common/core/editorColorRegistry.js +68 -68
- package/esm/vs/editor/common/cursor/cursorMoveCommands.js +10 -1
- package/esm/vs/editor/common/cursor/cursorMoveCommands.js.map +1 -1
- package/esm/vs/editor/common/editorContextKeys.js +46 -46
- package/esm/vs/editor/common/languages/modesRegistry.js +1 -1
- package/esm/vs/editor/common/languages.js +56 -56
- package/esm/vs/editor/common/model/editStack.js +1 -1
- package/esm/vs/editor/common/standaloneStrings.js +10 -10
- package/esm/vs/editor/common/viewLayout/viewLineRenderer.js +2 -2
- package/esm/vs/editor/contrib/anchorSelect/browser/anchorSelect.js +6 -6
- package/esm/vs/editor/contrib/bracketMatching/browser/bracketMatching.js +6 -6
- package/esm/vs/editor/contrib/caretOperations/browser/caretOperations.js +2 -2
- package/esm/vs/editor/contrib/caretOperations/browser/transpose.js +1 -1
- package/esm/vs/editor/contrib/clipboard/browser/clipboard.js +17 -17
- package/esm/vs/editor/contrib/codeAction/browser/codeAction.js +1 -1
- package/esm/vs/editor/contrib/codeAction/browser/codeActionCommands.js +29 -29
- package/esm/vs/editor/contrib/codeAction/browser/codeActionContributions.js +3 -3
- package/esm/vs/editor/contrib/codeAction/browser/codeActionController.js +3 -3
- package/esm/vs/editor/contrib/codeAction/browser/codeActionMenu.js +8 -8
- package/esm/vs/editor/contrib/codeAction/browser/lightBulbWidget.js +9 -9
- package/esm/vs/editor/contrib/codelens/browser/codelensController.js +2 -2
- package/esm/vs/editor/contrib/colorPicker/browser/colorPickerParts/colorPickerCloseButton.js +1 -1
- package/esm/vs/editor/contrib/colorPicker/browser/colorPickerParts/colorPickerHeader.js +1 -1
- package/esm/vs/editor/contrib/colorPicker/browser/standaloneColorPicker/standaloneColorPickerActions.js +7 -7
- package/esm/vs/editor/contrib/comment/browser/comment.js +6 -6
- package/esm/vs/editor/contrib/contextmenu/browser/contextmenu.js +13 -14
- package/esm/vs/editor/contrib/contextmenu/browser/contextmenu.js.map +1 -1
- 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/foldingDecorations.js +9 -9
- package/esm/vs/editor/contrib/folding/browser/foldingDecorations.js.map +1 -1
- package/esm/vs/editor/contrib/fontZoom/browser/fontZoom.js +3 -3
- package/esm/vs/editor/contrib/format/browser/formatActions.js +2 -2
- package/esm/vs/editor/contrib/gotoError/browser/gotoError.js +8 -8
- package/esm/vs/editor/contrib/gotoError/browser/gotoErrorWidget.js +14 -14
- package/esm/vs/editor/contrib/gotoSymbol/browser/goToCommands.js +39 -39
- package/esm/vs/editor/contrib/gotoSymbol/browser/link/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/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 +19 -19
- package/esm/vs/editor/contrib/inlineCompletions/browser/controller/inlineCompletionContextKeys.js +12 -12
- package/esm/vs/editor/contrib/inlineCompletions/browser/controller/inlineCompletionsController.js +15 -10
- package/esm/vs/editor/contrib/inlineCompletions/browser/controller/inlineCompletionsController.js.map +1 -1
- package/esm/vs/editor/contrib/inlineCompletions/browser/hintsWidget/hoverParticipant.js +1 -1
- package/esm/vs/editor/contrib/inlineCompletions/browser/hintsWidget/inlineCompletionsHintsWidget.js +5 -5
- package/esm/vs/editor/contrib/inlineCompletions/browser/view/inlineEdits/components/gutterIndicatorMenu.js +6 -6
- package/esm/vs/editor/contrib/inlineCompletions/browser/view/inlineEdits/inlineEditsModel.js +1 -1
- 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 +47 -37
- package/esm/vs/editor/contrib/linesOperations/browser/linesOperations.js.map +1 -1
- 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 +56 -10
- 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/stickyScroll/browser/stickyScrollWidget.js +2 -2
- package/esm/vs/editor/contrib/stickyScroll/browser/stickyScrollWidget.js.map +1 -1
- package/esm/vs/editor/contrib/suggest/browser/suggest.js +8 -8
- package/esm/vs/editor/contrib/suggest/browser/suggestController.js +10 -10
- 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 +1 -1
- package/esm/vs/platform/accessibilitySignal/browser/accessibilitySignalService.js +62 -62
- package/esm/vs/platform/action/common/actionCommonCategories.js +6 -6
- package/esm/vs/platform/actionWidget/browser/actionList.js +4 -4
- package/esm/vs/platform/actionWidget/browser/actionWidget.js +7 -7
- package/esm/vs/platform/actions/browser/menuEntryActionViewItem.js +5 -5
- package/esm/vs/platform/actions/browser/toolbar.js +2 -2
- package/esm/vs/platform/actions/common/actions.js +0 -1
- package/esm/vs/platform/actions/common/actions.js.map +1 -1
- package/esm/vs/platform/actions/common/menuService.js +2 -2
- package/esm/vs/platform/configuration/common/configurationRegistry.js +10 -10
- package/esm/vs/platform/contextkey/browser/contextKeyService.js +1 -1
- package/esm/vs/platform/contextkey/common/contextkey.js +9 -9
- package/esm/vs/platform/contextkey/common/contextkeys.js +9 -9
- package/esm/vs/platform/contextkey/common/scanner.js +5 -5
- package/esm/vs/platform/history/browser/contextScopedHistoryWidget.js +1 -1
- package/esm/vs/platform/keybinding/common/abstractKeybindingService.js +4 -4
- package/esm/vs/platform/list/browser/listService.js +27 -27
- package/esm/vs/platform/markers/common/markerService.js +2 -2
- package/esm/vs/platform/markers/common/markers.js +6 -6
- package/esm/vs/platform/quickinput/browser/commandsQuickAccess.js +7 -7
- package/esm/vs/platform/quickinput/browser/helpQuickAccess.js +1 -1
- package/esm/vs/platform/quickinput/browser/quickInput.js +10 -10
- package/esm/vs/platform/quickinput/browser/quickInputActions.js +5 -5
- package/esm/vs/platform/quickinput/browser/quickInputController.js +6 -6
- package/esm/vs/platform/quickinput/browser/quickInputList.js +1 -1
- package/esm/vs/platform/quickinput/browser/quickInputUtils.js +1 -1
- package/esm/vs/platform/quickinput/browser/tree/quickInputTreeAccessibilityProvider.js +1 -1
- package/esm/vs/platform/quickinput/common/quickInput.js.map +1 -1
- package/esm/vs/platform/theme/common/colorUtils.js +2 -2
- package/esm/vs/platform/theme/common/colors/baseColors.js +17 -17
- package/esm/vs/platform/theme/common/colors/chartsColors.js +8 -8
- package/esm/vs/platform/theme/common/colors/editorColors.js +95 -95
- package/esm/vs/platform/theme/common/colors/inputColors.js +47 -47
- package/esm/vs/platform/theme/common/colors/listColors.js +36 -36
- package/esm/vs/platform/theme/common/colors/menuColors.js +7 -7
- package/esm/vs/platform/theme/common/colors/minimapColors.js +11 -11
- package/esm/vs/platform/theme/common/colors/miscColors.js +15 -15
- package/esm/vs/platform/theme/common/colors/quickpickColors.js +9 -9
- package/esm/vs/platform/theme/common/colors/searchColors.js +3 -3
- package/esm/vs/platform/theme/common/iconRegistry.js +6 -6
- package/esm/vs/platform/undoRedo/common/undoRedoService.js +20 -20
- package/esm/vs/platform/workspace/common/workspace.js +1 -1
- package/package.json +3 -3
- package/version.txt +1 -1
|
@@ -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(199, "Use platform APIs to detect when a Screen Reader is attached."),
|
|
308
|
+
nls.localize(200, "Optimize for usage with a Screen Reader."),
|
|
309
|
+
nls.localize(201, "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(202, "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(203, "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(204, '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(205, "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(206, "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(207, 'Never seed search string from the editor selection.'),
|
|
483
|
+
nls.localize(208, 'Always seed search string from the editor selection, including word at cursor position.'),
|
|
484
|
+
nls.localize(209, 'Only seed search string from the editor selection.')
|
|
485
485
|
],
|
|
486
|
-
description: nls.localize(
|
|
486
|
+
description: nls.localize(210, "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(211, 'Never turn on Find in Selection automatically (default).'),
|
|
494
|
+
nls.localize(212, 'Always turn on Find in Selection automatically.'),
|
|
495
|
+
nls.localize(213, 'Turn on Find in Selection automatically when multiple lines of content are selected.')
|
|
496
496
|
],
|
|
497
|
-
description: nls.localize(
|
|
497
|
+
description: nls.localize(214, "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(215, "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(216, "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(217, "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(218, 'Do not store search history from the find widget.'),
|
|
521
|
+
nls.localize(219, 'Store search history across the active workspace'),
|
|
522
522
|
],
|
|
523
|
-
description: nls.localize(
|
|
523
|
+
description: nls.localize(220, "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(221, 'Do not store history from the replace widget.'),
|
|
531
|
+
nls.localize(222, 'Store replace history across the active workspace'),
|
|
532
532
|
],
|
|
533
|
-
description: nls.localize(
|
|
533
|
+
description: nls.localize(223, "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(224, "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(225, "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(226, "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(227, "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(228, "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(229, "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(230, "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(231, "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(232, "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(233, "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(234, 'Show Peek view of the results (default)'),
|
|
804
|
+
nls.localize(235, 'Go to the primary result and show a Peek view'),
|
|
805
|
+
nls.localize(236, '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(237, "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(238, "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(239, "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(240, "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(241, "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(242, "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(243, "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(244, "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(245, "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(246, "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(247, "Alternative command id that is being executed when the result of 'Go to Reference' is the current location.")
|
|
862
862
|
},
|
|
863
863
|
});
|
|
864
864
|
}
|
|
@@ -897,30 +897,30 @@ class EditorHover extends BaseEditorOption {
|
|
|
897
897
|
'editor.hover.enabled': {
|
|
898
898
|
type: 'boolean',
|
|
899
899
|
default: defaults.enabled,
|
|
900
|
-
description: nls.localize(
|
|
900
|
+
description: nls.localize(248, "Controls whether the hover is shown.")
|
|
901
901
|
},
|
|
902
902
|
'editor.hover.delay': {
|
|
903
903
|
type: 'number',
|
|
904
904
|
default: defaults.delay,
|
|
905
905
|
minimum: 0,
|
|
906
906
|
maximum: 10000,
|
|
907
|
-
description: nls.localize(
|
|
907
|
+
description: nls.localize(249, "Controls the delay in milliseconds after which the hover is shown.")
|
|
908
908
|
},
|
|
909
909
|
'editor.hover.sticky': {
|
|
910
910
|
type: 'boolean',
|
|
911
911
|
default: defaults.sticky,
|
|
912
|
-
description: nls.localize(
|
|
912
|
+
description: nls.localize(250, "Controls whether the hover should remain visible when mouse is moved over it.")
|
|
913
913
|
},
|
|
914
914
|
'editor.hover.hidingDelay': {
|
|
915
915
|
type: 'integer',
|
|
916
916
|
minimum: 0,
|
|
917
917
|
default: defaults.hidingDelay,
|
|
918
|
-
markdownDescription: nls.localize(
|
|
918
|
+
markdownDescription: nls.localize(251, "Controls the delay in milliseconds after which the hover is hidden. Requires `#editor.hover.sticky#` to be enabled.")
|
|
919
919
|
},
|
|
920
920
|
'editor.hover.above': {
|
|
921
921
|
type: 'boolean',
|
|
922
922
|
default: defaults.above,
|
|
923
|
-
description: nls.localize(
|
|
923
|
+
description: nls.localize(252, "Prefer showing hovers above the line, if there's space.")
|
|
924
924
|
},
|
|
925
925
|
});
|
|
926
926
|
}
|
|
@@ -1297,13 +1297,13 @@ class WrappingStrategy extends BaseEditorOption {
|
|
|
1297
1297
|
super(156 /* EditorOption.wrappingStrategy */, 'wrappingStrategy', 'simple', {
|
|
1298
1298
|
'editor.wrappingStrategy': {
|
|
1299
1299
|
enumDescriptions: [
|
|
1300
|
-
nls.localize(
|
|
1301
|
-
nls.localize(
|
|
1300
|
+
nls.localize(253, "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."),
|
|
1301
|
+
nls.localize(254, "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.")
|
|
1302
1302
|
],
|
|
1303
1303
|
type: 'string',
|
|
1304
1304
|
enum: ['simple', 'advanced'],
|
|
1305
1305
|
default: 'simple',
|
|
1306
|
-
description: nls.localize(
|
|
1306
|
+
description: nls.localize(255, "Controls the algorithm that computes wrapping points. Note that when in accessibility mode, advanced will be used for the best experience.")
|
|
1307
1307
|
}
|
|
1308
1308
|
});
|
|
1309
1309
|
}
|
|
@@ -1337,11 +1337,11 @@ class EditorLightbulb extends BaseEditorOption {
|
|
|
1337
1337
|
enum: [ShowLightbulbIconMode.Off, ShowLightbulbIconMode.OnCode, ShowLightbulbIconMode.On],
|
|
1338
1338
|
default: defaults.enabled,
|
|
1339
1339
|
enumDescriptions: [
|
|
1340
|
-
nls.localize(
|
|
1341
|
-
nls.localize(
|
|
1342
|
-
nls.localize(
|
|
1340
|
+
nls.localize(256, 'Disable the code action menu.'),
|
|
1341
|
+
nls.localize(257, 'Show the code action menu when the cursor is on lines with code.'),
|
|
1342
|
+
nls.localize(258, 'Show the code action menu when the cursor is on lines with code or on empty lines.'),
|
|
1343
1343
|
],
|
|
1344
|
-
description: nls.localize(
|
|
1344
|
+
description: nls.localize(259, "Enables the Code Action lightbulb in the editor.")
|
|
1345
1345
|
}
|
|
1346
1346
|
});
|
|
1347
1347
|
}
|
|
@@ -1362,25 +1362,25 @@ class EditorStickyScroll extends BaseEditorOption {
|
|
|
1362
1362
|
'editor.stickyScroll.enabled': {
|
|
1363
1363
|
type: 'boolean',
|
|
1364
1364
|
default: defaults.enabled,
|
|
1365
|
-
description: nls.localize(
|
|
1365
|
+
description: nls.localize(260, "Shows the nested current scopes during the scroll at the top of the editor.")
|
|
1366
1366
|
},
|
|
1367
1367
|
'editor.stickyScroll.maxLineCount': {
|
|
1368
1368
|
type: 'number',
|
|
1369
1369
|
default: defaults.maxLineCount,
|
|
1370
1370
|
minimum: 1,
|
|
1371
1371
|
maximum: 20,
|
|
1372
|
-
description: nls.localize(
|
|
1372
|
+
description: nls.localize(261, "Defines the maximum number of sticky lines to show.")
|
|
1373
1373
|
},
|
|
1374
1374
|
'editor.stickyScroll.defaultModel': {
|
|
1375
1375
|
type: 'string',
|
|
1376
1376
|
enum: ['outlineModel', 'foldingProviderModel', 'indentationModel'],
|
|
1377
1377
|
default: defaults.defaultModel,
|
|
1378
|
-
description: nls.localize(
|
|
1378
|
+
description: nls.localize(262, "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.")
|
|
1379
1379
|
},
|
|
1380
1380
|
'editor.stickyScroll.scrollWithEditor': {
|
|
1381
1381
|
type: 'boolean',
|
|
1382
1382
|
default: defaults.scrollWithEditor,
|
|
1383
|
-
description: nls.localize(
|
|
1383
|
+
description: nls.localize(263, "Enable scrolling of Sticky Scroll with the editor's horizontal scrollbar.")
|
|
1384
1384
|
},
|
|
1385
1385
|
});
|
|
1386
1386
|
}
|
|
@@ -1404,34 +1404,34 @@ class EditorInlayHints extends BaseEditorOption {
|
|
|
1404
1404
|
'editor.inlayHints.enabled': {
|
|
1405
1405
|
type: 'string',
|
|
1406
1406
|
default: defaults.enabled,
|
|
1407
|
-
description: nls.localize(
|
|
1407
|
+
description: nls.localize(264, "Enables the inlay hints in the editor."),
|
|
1408
1408
|
enum: ['on', 'onUnlessPressed', 'offUnlessPressed', 'off'],
|
|
1409
1409
|
markdownEnumDescriptions: [
|
|
1410
|
-
nls.localize(
|
|
1411
|
-
nls.localize(
|
|
1412
|
-
nls.localize(
|
|
1413
|
-
nls.localize(
|
|
1410
|
+
nls.localize(265, "Inlay hints are enabled"),
|
|
1411
|
+
nls.localize(266, "Inlay hints are showing by default and hide when holding {0}", platform.isMacintosh ? `Ctrl+Option` : `Ctrl+Alt`),
|
|
1412
|
+
nls.localize(267, "Inlay hints are hidden by default and show when holding {0}", platform.isMacintosh ? `Ctrl+Option` : `Ctrl+Alt`),
|
|
1413
|
+
nls.localize(268, "Inlay hints are disabled"),
|
|
1414
1414
|
],
|
|
1415
1415
|
},
|
|
1416
1416
|
'editor.inlayHints.fontSize': {
|
|
1417
1417
|
type: 'number',
|
|
1418
1418
|
default: defaults.fontSize,
|
|
1419
|
-
markdownDescription: nls.localize(
|
|
1419
|
+
markdownDescription: nls.localize(269, "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`')
|
|
1420
1420
|
},
|
|
1421
1421
|
'editor.inlayHints.fontFamily': {
|
|
1422
1422
|
type: 'string',
|
|
1423
1423
|
default: defaults.fontFamily,
|
|
1424
|
-
markdownDescription: nls.localize(
|
|
1424
|
+
markdownDescription: nls.localize(270, "Controls font family of inlay hints in the editor. When set to empty, the {0} is used.", '`#editor.fontFamily#`')
|
|
1425
1425
|
},
|
|
1426
1426
|
'editor.inlayHints.padding': {
|
|
1427
1427
|
type: 'boolean',
|
|
1428
1428
|
default: defaults.padding,
|
|
1429
|
-
description: nls.localize(
|
|
1429
|
+
description: nls.localize(271, "Enables the padding around the inlay hints in the editor.")
|
|
1430
1430
|
},
|
|
1431
1431
|
'editor.inlayHints.maximumLength': {
|
|
1432
1432
|
type: 'number',
|
|
1433
1433
|
default: defaults.maximumLength,
|
|
1434
|
-
markdownDescription: nls.localize(
|
|
1434
|
+
markdownDescription: nls.localize(272, "Maximum overall length of inlay hints, for a single line, before they get truncated by the editor. Set to `0` to never truncate")
|
|
1435
1435
|
}
|
|
1436
1436
|
});
|
|
1437
1437
|
}
|
|
@@ -1481,7 +1481,7 @@ class EditorLineDecorationsWidth extends BaseEditorOption {
|
|
|
1481
1481
|
//#region lineHeight
|
|
1482
1482
|
class EditorLineHeight extends EditorFloatOption {
|
|
1483
1483
|
constructor() {
|
|
1484
|
-
super(75 /* EditorOption.lineHeight */, 'lineHeight', EDITOR_FONT_DEFAULTS.lineHeight, x => EditorFloatOption.clamp(x, 0, 150), { markdownDescription: nls.localize(
|
|
1484
|
+
super(75 /* EditorOption.lineHeight */, 'lineHeight', EDITOR_FONT_DEFAULTS.lineHeight, x => EditorFloatOption.clamp(x, 0, 150), { markdownDescription: nls.localize(273, "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);
|
|
1485
1485
|
}
|
|
1486
1486
|
compute(env, options, value) {
|
|
1487
1487
|
// The lineHeight is computed from the fontSize if it is 0.
|
|
@@ -1511,41 +1511,41 @@ class EditorMinimap extends BaseEditorOption {
|
|
|
1511
1511
|
'editor.minimap.enabled': {
|
|
1512
1512
|
type: 'boolean',
|
|
1513
1513
|
default: defaults.enabled,
|
|
1514
|
-
description: nls.localize(
|
|
1514
|
+
description: nls.localize(274, "Controls whether the minimap is shown.")
|
|
1515
1515
|
},
|
|
1516
1516
|
'editor.minimap.autohide': {
|
|
1517
1517
|
type: 'string',
|
|
1518
1518
|
enum: ['none', 'mouseover', 'scroll'],
|
|
1519
1519
|
enumDescriptions: [
|
|
1520
|
-
nls.localize(
|
|
1521
|
-
nls.localize(
|
|
1522
|
-
nls.localize(
|
|
1520
|
+
nls.localize(275, "The minimap is always shown."),
|
|
1521
|
+
nls.localize(276, "The minimap is hidden when mouse is not over the minimap and shown when mouse is over the minimap."),
|
|
1522
|
+
nls.localize(277, "The minimap is only shown when the editor is scrolled"),
|
|
1523
1523
|
],
|
|
1524
1524
|
default: defaults.autohide,
|
|
1525
|
-
description: nls.localize(
|
|
1525
|
+
description: nls.localize(278, "Controls whether the minimap is hidden automatically.")
|
|
1526
1526
|
},
|
|
1527
1527
|
'editor.minimap.size': {
|
|
1528
1528
|
type: 'string',
|
|
1529
1529
|
enum: ['proportional', 'fill', 'fit'],
|
|
1530
1530
|
enumDescriptions: [
|
|
1531
|
-
nls.localize(
|
|
1532
|
-
nls.localize(
|
|
1533
|
-
nls.localize(
|
|
1531
|
+
nls.localize(279, "The minimap has the same size as the editor contents (and might scroll)."),
|
|
1532
|
+
nls.localize(280, "The minimap will stretch or shrink as necessary to fill the height of the editor (no scrolling)."),
|
|
1533
|
+
nls.localize(281, "The minimap will shrink as necessary to never be larger than the editor (no scrolling)."),
|
|
1534
1534
|
],
|
|
1535
1535
|
default: defaults.size,
|
|
1536
|
-
description: nls.localize(
|
|
1536
|
+
description: nls.localize(282, "Controls the size of the minimap.")
|
|
1537
1537
|
},
|
|
1538
1538
|
'editor.minimap.side': {
|
|
1539
1539
|
type: 'string',
|
|
1540
1540
|
enum: ['left', 'right'],
|
|
1541
1541
|
default: defaults.side,
|
|
1542
|
-
description: nls.localize(
|
|
1542
|
+
description: nls.localize(283, "Controls the side where to render the minimap.")
|
|
1543
1543
|
},
|
|
1544
1544
|
'editor.minimap.showSlider': {
|
|
1545
1545
|
type: 'string',
|
|
1546
1546
|
enum: ['always', 'mouseover'],
|
|
1547
1547
|
default: defaults.showSlider,
|
|
1548
|
-
description: nls.localize(
|
|
1548
|
+
description: nls.localize(284, "Controls when the minimap slider is shown.")
|
|
1549
1549
|
},
|
|
1550
1550
|
'editor.minimap.scale': {
|
|
1551
1551
|
type: 'number',
|
|
@@ -1553,42 +1553,42 @@ class EditorMinimap extends BaseEditorOption {
|
|
|
1553
1553
|
minimum: 1,
|
|
1554
1554
|
maximum: 3,
|
|
1555
1555
|
enum: [1, 2, 3],
|
|
1556
|
-
description: nls.localize(
|
|
1556
|
+
description: nls.localize(285, "Scale of content drawn in the minimap: 1, 2 or 3.")
|
|
1557
1557
|
},
|
|
1558
1558
|
'editor.minimap.renderCharacters': {
|
|
1559
1559
|
type: 'boolean',
|
|
1560
1560
|
default: defaults.renderCharacters,
|
|
1561
|
-
description: nls.localize(
|
|
1561
|
+
description: nls.localize(286, "Render the actual characters on a line as opposed to color blocks.")
|
|
1562
1562
|
},
|
|
1563
1563
|
'editor.minimap.maxColumn': {
|
|
1564
1564
|
type: 'number',
|
|
1565
1565
|
default: defaults.maxColumn,
|
|
1566
|
-
description: nls.localize(
|
|
1566
|
+
description: nls.localize(287, "Limit the width of the minimap to render at most a certain number of columns.")
|
|
1567
1567
|
},
|
|
1568
1568
|
'editor.minimap.showRegionSectionHeaders': {
|
|
1569
1569
|
type: 'boolean',
|
|
1570
1570
|
default: defaults.showRegionSectionHeaders,
|
|
1571
|
-
description: nls.localize(
|
|
1571
|
+
description: nls.localize(288, "Controls whether named regions are shown as section headers in the minimap.")
|
|
1572
1572
|
},
|
|
1573
1573
|
'editor.minimap.showMarkSectionHeaders': {
|
|
1574
1574
|
type: 'boolean',
|
|
1575
1575
|
default: defaults.showMarkSectionHeaders,
|
|
1576
|
-
description: nls.localize(
|
|
1576
|
+
description: nls.localize(289, "Controls whether MARK: comments are shown as section headers in the minimap.")
|
|
1577
1577
|
},
|
|
1578
1578
|
'editor.minimap.markSectionHeaderRegex': {
|
|
1579
1579
|
type: 'string',
|
|
1580
1580
|
default: defaults.markSectionHeaderRegex,
|
|
1581
|
-
description: nls.localize(
|
|
1581
|
+
description: nls.localize(290, "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."),
|
|
1582
1582
|
},
|
|
1583
1583
|
'editor.minimap.sectionHeaderFontSize': {
|
|
1584
1584
|
type: 'number',
|
|
1585
1585
|
default: defaults.sectionHeaderFontSize,
|
|
1586
|
-
description: nls.localize(
|
|
1586
|
+
description: nls.localize(291, "Controls the font size of section headers in the minimap.")
|
|
1587
1587
|
},
|
|
1588
1588
|
'editor.minimap.sectionHeaderLetterSpacing': {
|
|
1589
1589
|
type: 'number',
|
|
1590
1590
|
default: defaults.sectionHeaderLetterSpacing,
|
|
1591
|
-
description: nls.localize(
|
|
1591
|
+
description: nls.localize(292, "Controls the amount of space (in pixels) between characters of section header. This helps the readability of the header in small font sizes.")
|
|
1592
1592
|
}
|
|
1593
1593
|
});
|
|
1594
1594
|
}
|
|
@@ -1640,14 +1640,14 @@ class EditorPadding extends BaseEditorOption {
|
|
|
1640
1640
|
default: 0,
|
|
1641
1641
|
minimum: 0,
|
|
1642
1642
|
maximum: 1000,
|
|
1643
|
-
description: nls.localize(
|
|
1643
|
+
description: nls.localize(293, "Controls the amount of space between the top edge of the editor and the first line.")
|
|
1644
1644
|
},
|
|
1645
1645
|
'editor.padding.bottom': {
|
|
1646
1646
|
type: 'number',
|
|
1647
1647
|
default: 0,
|
|
1648
1648
|
minimum: 0,
|
|
1649
1649
|
maximum: 1000,
|
|
1650
|
-
description: nls.localize(
|
|
1650
|
+
description: nls.localize(294, "Controls the amount of space between the bottom edge of the editor and the last line.")
|
|
1651
1651
|
}
|
|
1652
1652
|
});
|
|
1653
1653
|
}
|
|
@@ -1672,12 +1672,12 @@ class EditorParameterHints extends BaseEditorOption {
|
|
|
1672
1672
|
'editor.parameterHints.enabled': {
|
|
1673
1673
|
type: 'boolean',
|
|
1674
1674
|
default: defaults.enabled,
|
|
1675
|
-
description: nls.localize(
|
|
1675
|
+
description: nls.localize(295, "Enables a pop-up that shows parameter documentation and type information as you type.")
|
|
1676
1676
|
},
|
|
1677
1677
|
'editor.parameterHints.cycle': {
|
|
1678
1678
|
type: 'boolean',
|
|
1679
1679
|
default: defaults.cycle,
|
|
1680
|
-
description: nls.localize(
|
|
1680
|
+
description: nls.localize(296, "Controls whether the parameter hints menu cycles or closes when reaching the end of the list.")
|
|
1681
1681
|
},
|
|
1682
1682
|
});
|
|
1683
1683
|
}
|
|
@@ -1730,7 +1730,7 @@ class EditorQuickSuggestions extends BaseEditorOption {
|
|
|
1730
1730
|
{
|
|
1731
1731
|
type: 'string',
|
|
1732
1732
|
enum: ['on', 'inline', 'off'],
|
|
1733
|
-
enumDescriptions: [nls.localize(
|
|
1733
|
+
enumDescriptions: [nls.localize(297, "Quick suggestions show inside the suggest widget"), nls.localize(298, "Quick suggestions show as ghost text"), nls.localize(299, "Quick suggestions are disabled")]
|
|
1734
1734
|
}
|
|
1735
1735
|
];
|
|
1736
1736
|
super(102 /* EditorOption.quickSuggestions */, 'quickSuggestions', defaults, {
|
|
@@ -1740,21 +1740,21 @@ class EditorQuickSuggestions extends BaseEditorOption {
|
|
|
1740
1740
|
strings: {
|
|
1741
1741
|
anyOf: types,
|
|
1742
1742
|
default: defaults.strings,
|
|
1743
|
-
description: nls.localize(
|
|
1743
|
+
description: nls.localize(300, "Enable quick suggestions inside strings.")
|
|
1744
1744
|
},
|
|
1745
1745
|
comments: {
|
|
1746
1746
|
anyOf: types,
|
|
1747
1747
|
default: defaults.comments,
|
|
1748
|
-
description: nls.localize(
|
|
1748
|
+
description: nls.localize(301, "Enable quick suggestions inside comments.")
|
|
1749
1749
|
},
|
|
1750
1750
|
other: {
|
|
1751
1751
|
anyOf: types,
|
|
1752
1752
|
default: defaults.other,
|
|
1753
|
-
description: nls.localize(
|
|
1753
|
+
description: nls.localize(302, "Enable quick suggestions outside of strings and comments.")
|
|
1754
1754
|
},
|
|
1755
1755
|
},
|
|
1756
1756
|
default: defaults,
|
|
1757
|
-
markdownDescription: nls.localize(
|
|
1757
|
+
markdownDescription: nls.localize(303, "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#`')
|
|
1758
1758
|
});
|
|
1759
1759
|
this.defaultValue = defaults;
|
|
1760
1760
|
}
|
|
@@ -1804,13 +1804,13 @@ class EditorRenderLineNumbersOption extends BaseEditorOption {
|
|
|
1804
1804
|
type: 'string',
|
|
1805
1805
|
enum: ['off', 'on', 'relative', 'interval'],
|
|
1806
1806
|
enumDescriptions: [
|
|
1807
|
-
nls.localize(
|
|
1808
|
-
nls.localize(
|
|
1809
|
-
nls.localize(
|
|
1810
|
-
nls.localize(
|
|
1807
|
+
nls.localize(304, "Line numbers are not rendered."),
|
|
1808
|
+
nls.localize(305, "Line numbers are rendered as absolute number."),
|
|
1809
|
+
nls.localize(306, "Line numbers are rendered as distance in lines to cursor position."),
|
|
1810
|
+
nls.localize(307, "Line numbers are rendered every 10 lines.")
|
|
1811
1811
|
],
|
|
1812
1812
|
default: 'on',
|
|
1813
|
-
description: nls.localize(
|
|
1813
|
+
description: nls.localize(308, "Controls the display of line numbers.")
|
|
1814
1814
|
});
|
|
1815
1815
|
}
|
|
1816
1816
|
validate(lineNumbers) {
|
|
@@ -1863,7 +1863,7 @@ export function filterFontDecorations(options) {
|
|
|
1863
1863
|
class EditorRulers extends BaseEditorOption {
|
|
1864
1864
|
constructor() {
|
|
1865
1865
|
const defaults = [];
|
|
1866
|
-
const columnSchema = { type: 'number', description: nls.localize(
|
|
1866
|
+
const columnSchema = { type: 'number', description: nls.localize(309, "Number of monospace characters at which this editor ruler will render.") };
|
|
1867
1867
|
super(116 /* EditorOption.rulers */, 'rulers', defaults, {
|
|
1868
1868
|
type: 'array',
|
|
1869
1869
|
items: {
|
|
@@ -1877,7 +1877,7 @@ class EditorRulers extends BaseEditorOption {
|
|
|
1877
1877
|
column: columnSchema,
|
|
1878
1878
|
color: {
|
|
1879
1879
|
type: 'string',
|
|
1880
|
-
description: nls.localize(
|
|
1880
|
+
description: nls.localize(310, "Color of this editor ruler."),
|
|
1881
1881
|
format: 'color-hex'
|
|
1882
1882
|
}
|
|
1883
1883
|
}
|
|
@@ -1885,7 +1885,7 @@ class EditorRulers extends BaseEditorOption {
|
|
|
1885
1885
|
]
|
|
1886
1886
|
},
|
|
1887
1887
|
default: defaults,
|
|
1888
|
-
description: nls.localize(
|
|
1888
|
+
description: nls.localize(311, "Render vertical rulers after a certain number of monospace characters. Use multiple values for multiple rulers. No rulers are drawn if array is empty.")
|
|
1889
1889
|
});
|
|
1890
1890
|
}
|
|
1891
1891
|
validate(input) {
|
|
@@ -1962,43 +1962,43 @@ class EditorScrollbar extends BaseEditorOption {
|
|
|
1962
1962
|
type: 'string',
|
|
1963
1963
|
enum: ['auto', 'visible', 'hidden'],
|
|
1964
1964
|
enumDescriptions: [
|
|
1965
|
-
nls.localize(
|
|
1966
|
-
nls.localize(
|
|
1967
|
-
nls.localize(
|
|
1965
|
+
nls.localize(312, "The vertical scrollbar will be visible only when necessary."),
|
|
1966
|
+
nls.localize(313, "The vertical scrollbar will always be visible."),
|
|
1967
|
+
nls.localize(314, "The vertical scrollbar will always be hidden."),
|
|
1968
1968
|
],
|
|
1969
1969
|
default: 'auto',
|
|
1970
|
-
description: nls.localize(
|
|
1970
|
+
description: nls.localize(315, "Controls the visibility of the vertical scrollbar.")
|
|
1971
1971
|
},
|
|
1972
1972
|
'editor.scrollbar.horizontal': {
|
|
1973
1973
|
type: 'string',
|
|
1974
1974
|
enum: ['auto', 'visible', 'hidden'],
|
|
1975
1975
|
enumDescriptions: [
|
|
1976
|
-
nls.localize(
|
|
1977
|
-
nls.localize(
|
|
1978
|
-
nls.localize(
|
|
1976
|
+
nls.localize(316, "The horizontal scrollbar will be visible only when necessary."),
|
|
1977
|
+
nls.localize(317, "The horizontal scrollbar will always be visible."),
|
|
1978
|
+
nls.localize(318, "The horizontal scrollbar will always be hidden."),
|
|
1979
1979
|
],
|
|
1980
1980
|
default: 'auto',
|
|
1981
|
-
description: nls.localize(
|
|
1981
|
+
description: nls.localize(319, "Controls the visibility of the horizontal scrollbar.")
|
|
1982
1982
|
},
|
|
1983
1983
|
'editor.scrollbar.verticalScrollbarSize': {
|
|
1984
1984
|
type: 'number',
|
|
1985
1985
|
default: defaults.verticalScrollbarSize,
|
|
1986
|
-
description: nls.localize(
|
|
1986
|
+
description: nls.localize(320, "The width of the vertical scrollbar.")
|
|
1987
1987
|
},
|
|
1988
1988
|
'editor.scrollbar.horizontalScrollbarSize': {
|
|
1989
1989
|
type: 'number',
|
|
1990
1990
|
default: defaults.horizontalScrollbarSize,
|
|
1991
|
-
description: nls.localize(
|
|
1991
|
+
description: nls.localize(321, "The height of the horizontal scrollbar.")
|
|
1992
1992
|
},
|
|
1993
1993
|
'editor.scrollbar.scrollByPage': {
|
|
1994
1994
|
type: 'boolean',
|
|
1995
1995
|
default: defaults.scrollByPage,
|
|
1996
|
-
description: nls.localize(
|
|
1996
|
+
description: nls.localize(322, "Controls whether clicks scroll by page or jump to click position.")
|
|
1997
1997
|
},
|
|
1998
1998
|
'editor.scrollbar.ignoreHorizontalScrollbarInContentHeight': {
|
|
1999
1999
|
type: 'boolean',
|
|
2000
2000
|
default: defaults.ignoreHorizontalScrollbarInContentHeight,
|
|
2001
|
-
description: nls.localize(
|
|
2001
|
+
description: nls.localize(323, "When set, the horizontal scrollbar will not increase the size of the editor's content.")
|
|
2002
2002
|
}
|
|
2003
2003
|
});
|
|
2004
2004
|
}
|
|
@@ -2060,39 +2060,39 @@ class UnicodeHighlight extends BaseEditorOption {
|
|
|
2060
2060
|
type: ['boolean', 'string'],
|
|
2061
2061
|
enum: [true, false, inUntrustedWorkspace],
|
|
2062
2062
|
default: defaults.nonBasicASCII,
|
|
2063
|
-
description: nls.localize(
|
|
2063
|
+
description: nls.localize(324, "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.")
|
|
2064
2064
|
},
|
|
2065
2065
|
[unicodeHighlightConfigKeys.invisibleCharacters]: {
|
|
2066
2066
|
restricted: true,
|
|
2067
2067
|
type: 'boolean',
|
|
2068
2068
|
default: defaults.invisibleCharacters,
|
|
2069
|
-
description: nls.localize(
|
|
2069
|
+
description: nls.localize(325, "Controls whether characters that just reserve space or have no width at all are highlighted.")
|
|
2070
2070
|
},
|
|
2071
2071
|
[unicodeHighlightConfigKeys.ambiguousCharacters]: {
|
|
2072
2072
|
restricted: true,
|
|
2073
2073
|
type: 'boolean',
|
|
2074
2074
|
default: defaults.ambiguousCharacters,
|
|
2075
|
-
description: nls.localize(
|
|
2075
|
+
description: nls.localize(326, "Controls whether characters are highlighted that can be confused with basic ASCII characters, except those that are common in the current user locale.")
|
|
2076
2076
|
},
|
|
2077
2077
|
[unicodeHighlightConfigKeys.includeComments]: {
|
|
2078
2078
|
restricted: true,
|
|
2079
2079
|
type: ['boolean', 'string'],
|
|
2080
2080
|
enum: [true, false, inUntrustedWorkspace],
|
|
2081
2081
|
default: defaults.includeComments,
|
|
2082
|
-
description: nls.localize(
|
|
2082
|
+
description: nls.localize(327, "Controls whether characters in comments should also be subject to Unicode highlighting.")
|
|
2083
2083
|
},
|
|
2084
2084
|
[unicodeHighlightConfigKeys.includeStrings]: {
|
|
2085
2085
|
restricted: true,
|
|
2086
2086
|
type: ['boolean', 'string'],
|
|
2087
2087
|
enum: [true, false, inUntrustedWorkspace],
|
|
2088
2088
|
default: defaults.includeStrings,
|
|
2089
|
-
description: nls.localize(
|
|
2089
|
+
description: nls.localize(328, "Controls whether characters in strings should also be subject to Unicode highlighting.")
|
|
2090
2090
|
},
|
|
2091
2091
|
[unicodeHighlightConfigKeys.allowedCharacters]: {
|
|
2092
2092
|
restricted: true,
|
|
2093
2093
|
type: 'object',
|
|
2094
2094
|
default: defaults.allowedCharacters,
|
|
2095
|
-
description: nls.localize(
|
|
2095
|
+
description: nls.localize(329, "Defines allowed characters that are not being highlighted."),
|
|
2096
2096
|
additionalProperties: {
|
|
2097
2097
|
type: 'boolean'
|
|
2098
2098
|
}
|
|
@@ -2104,7 +2104,7 @@ class UnicodeHighlight extends BaseEditorOption {
|
|
|
2104
2104
|
type: 'boolean'
|
|
2105
2105
|
},
|
|
2106
2106
|
default: defaults.allowedLocales,
|
|
2107
|
-
description: nls.localize(
|
|
2107
|
+
description: nls.localize(330, "Unicode characters that are common in allowed locales are not being highlighted.")
|
|
2108
2108
|
},
|
|
2109
2109
|
});
|
|
2110
2110
|
}
|
|
@@ -2190,46 +2190,46 @@ class InlineEditorSuggest extends BaseEditorOption {
|
|
|
2190
2190
|
'editor.inlineSuggest.enabled': {
|
|
2191
2191
|
type: 'boolean',
|
|
2192
2192
|
default: defaults.enabled,
|
|
2193
|
-
description: nls.localize(
|
|
2193
|
+
description: nls.localize(331, "Controls whether to automatically show inline suggestions in the editor.")
|
|
2194
2194
|
},
|
|
2195
2195
|
'editor.inlineSuggest.showToolbar': {
|
|
2196
2196
|
type: 'string',
|
|
2197
2197
|
default: defaults.showToolbar,
|
|
2198
2198
|
enum: ['always', 'onHover', 'never'],
|
|
2199
2199
|
enumDescriptions: [
|
|
2200
|
-
nls.localize(
|
|
2201
|
-
nls.localize(
|
|
2202
|
-
nls.localize(
|
|
2200
|
+
nls.localize(332, "Show the inline suggestion toolbar whenever an inline suggestion is shown."),
|
|
2201
|
+
nls.localize(333, "Show the inline suggestion toolbar when hovering over an inline suggestion."),
|
|
2202
|
+
nls.localize(334, "Never show the inline suggestion toolbar."),
|
|
2203
2203
|
],
|
|
2204
|
-
description: nls.localize(
|
|
2204
|
+
description: nls.localize(335, "Controls when to show the inline suggestion toolbar."),
|
|
2205
2205
|
},
|
|
2206
2206
|
'editor.inlineSuggest.syntaxHighlightingEnabled': {
|
|
2207
2207
|
type: 'boolean',
|
|
2208
2208
|
default: defaults.syntaxHighlightingEnabled,
|
|
2209
|
-
description: nls.localize(
|
|
2209
|
+
description: nls.localize(336, "Controls whether to show syntax highlighting for inline suggestions in the editor."),
|
|
2210
2210
|
},
|
|
2211
2211
|
'editor.inlineSuggest.suppressSuggestions': {
|
|
2212
2212
|
type: 'boolean',
|
|
2213
2213
|
default: defaults.suppressSuggestions,
|
|
2214
|
-
description: nls.localize(
|
|
2214
|
+
description: nls.localize(337, "Controls how inline suggestions interact with the suggest widget. If enabled, the suggest widget is not shown automatically when inline suggestions are available.")
|
|
2215
2215
|
},
|
|
2216
2216
|
'editor.inlineSuggest.suppressInSnippetMode': {
|
|
2217
2217
|
type: 'boolean',
|
|
2218
2218
|
default: defaults.suppressInSnippetMode,
|
|
2219
|
-
description: nls.localize(
|
|
2219
|
+
description: nls.localize(338, "Controls whether inline suggestions are suppressed when in snippet mode."),
|
|
2220
2220
|
},
|
|
2221
2221
|
'editor.inlineSuggest.minShowDelay': {
|
|
2222
2222
|
type: 'number',
|
|
2223
2223
|
default: 0,
|
|
2224
2224
|
minimum: 0,
|
|
2225
2225
|
maximum: 10000,
|
|
2226
|
-
description: nls.localize(
|
|
2226
|
+
description: nls.localize(339, "Controls the minimal delay in milliseconds after which inline suggestions are shown after typing."),
|
|
2227
2227
|
},
|
|
2228
2228
|
'editor.inlineSuggest.experimental.suppressInlineSuggestions': {
|
|
2229
2229
|
type: 'string',
|
|
2230
2230
|
default: defaults.experimental.suppressInlineSuggestions,
|
|
2231
2231
|
tags: ['experimental'],
|
|
2232
|
-
description: nls.localize(
|
|
2232
|
+
description: nls.localize(340, "Suppresses inline completions for specified extension IDs -- comma separated."),
|
|
2233
2233
|
experiment: {
|
|
2234
2234
|
mode: 'auto'
|
|
2235
2235
|
}
|
|
@@ -2238,7 +2238,7 @@ class InlineEditorSuggest extends BaseEditorOption {
|
|
|
2238
2238
|
type: 'boolean',
|
|
2239
2239
|
default: defaults.experimental.emptyResponseInformation,
|
|
2240
2240
|
tags: ['experimental'],
|
|
2241
|
-
description: nls.localize(
|
|
2241
|
+
description: nls.localize(341, "Controls whether to send request information from the inline suggestion provider."),
|
|
2242
2242
|
experiment: {
|
|
2243
2243
|
mode: 'auto'
|
|
2244
2244
|
}
|
|
@@ -2247,7 +2247,7 @@ class InlineEditorSuggest extends BaseEditorOption {
|
|
|
2247
2247
|
type: 'boolean',
|
|
2248
2248
|
default: defaults.triggerCommandOnProviderChange,
|
|
2249
2249
|
tags: ['experimental'],
|
|
2250
|
-
description: nls.localize(
|
|
2250
|
+
description: nls.localize(342, "Controls whether to trigger a command when the inline suggestion provider changes."),
|
|
2251
2251
|
experiment: {
|
|
2252
2252
|
mode: 'auto'
|
|
2253
2253
|
}
|
|
@@ -2257,7 +2257,7 @@ class InlineEditorSuggest extends BaseEditorOption {
|
|
|
2257
2257
|
default: defaults.experimental.showOnSuggestConflict,
|
|
2258
2258
|
tags: ['experimental'],
|
|
2259
2259
|
enum: ['always', 'never', 'whenSuggestListIsIncomplete'],
|
|
2260
|
-
description: nls.localize(
|
|
2260
|
+
description: nls.localize(343, "Controls whether to show inline suggestions when there is a suggest conflict."),
|
|
2261
2261
|
experiment: {
|
|
2262
2262
|
mode: 'auto'
|
|
2263
2263
|
}
|
|
@@ -2265,30 +2265,30 @@ class InlineEditorSuggest extends BaseEditorOption {
|
|
|
2265
2265
|
'editor.inlineSuggest.fontFamily': {
|
|
2266
2266
|
type: 'string',
|
|
2267
2267
|
default: defaults.fontFamily,
|
|
2268
|
-
description: nls.localize(
|
|
2268
|
+
description: nls.localize(344, "Controls the font family of the inline suggestions.")
|
|
2269
2269
|
},
|
|
2270
2270
|
'editor.inlineSuggest.edits.allowCodeShifting': {
|
|
2271
2271
|
type: 'string',
|
|
2272
2272
|
default: defaults.edits.allowCodeShifting,
|
|
2273
|
-
description: nls.localize(
|
|
2273
|
+
description: nls.localize(345, "Controls whether showing a suggestion will shift the code to make space for the suggestion inline."),
|
|
2274
2274
|
enum: ['always', 'horizontal', 'never'],
|
|
2275
2275
|
tags: ['nextEditSuggestions']
|
|
2276
2276
|
},
|
|
2277
2277
|
'editor.inlineSuggest.edits.renderSideBySide': {
|
|
2278
2278
|
type: 'string',
|
|
2279
2279
|
default: defaults.edits.renderSideBySide,
|
|
2280
|
-
description: nls.localize(
|
|
2280
|
+
description: nls.localize(346, "Controls whether larger suggestions can be shown side by side."),
|
|
2281
2281
|
enum: ['auto', 'never'],
|
|
2282
2282
|
enumDescriptions: [
|
|
2283
|
-
nls.localize(
|
|
2284
|
-
nls.localize(
|
|
2283
|
+
nls.localize(347, "Larger suggestions will show side by side if there is enough space, otherwise they will be shown below."),
|
|
2284
|
+
nls.localize(348, "Larger suggestions are never shown side by side and will always be shown below."),
|
|
2285
2285
|
],
|
|
2286
2286
|
tags: ['nextEditSuggestions']
|
|
2287
2287
|
},
|
|
2288
2288
|
'editor.inlineSuggest.edits.showCollapsed': {
|
|
2289
2289
|
type: 'boolean',
|
|
2290
2290
|
default: defaults.edits.showCollapsed,
|
|
2291
|
-
description: nls.localize(
|
|
2291
|
+
description: nls.localize(349, "Controls whether the suggestion will show as collapsed until jumping to it."),
|
|
2292
2292
|
tags: ['nextEditSuggestions']
|
|
2293
2293
|
},
|
|
2294
2294
|
});
|
|
@@ -2350,12 +2350,12 @@ class BracketPairColorization extends BaseEditorOption {
|
|
|
2350
2350
|
'editor.bracketPairColorization.enabled': {
|
|
2351
2351
|
type: 'boolean',
|
|
2352
2352
|
default: defaults.enabled,
|
|
2353
|
-
markdownDescription: nls.localize(
|
|
2353
|
+
markdownDescription: nls.localize(350, "Controls whether bracket pair colorization is enabled or not. Use {0} to override the bracket highlight colors.", '`#workbench.colorCustomizations#`')
|
|
2354
2354
|
},
|
|
2355
2355
|
'editor.bracketPairColorization.independentColorPoolPerBracketType': {
|
|
2356
2356
|
type: 'boolean',
|
|
2357
2357
|
default: defaults.independentColorPoolPerBracketType,
|
|
2358
|
-
description: nls.localize(
|
|
2358
|
+
description: nls.localize(351, "Controls whether each bracket type has its own independent color pool.")
|
|
2359
2359
|
},
|
|
2360
2360
|
});
|
|
2361
2361
|
}
|
|
@@ -2387,44 +2387,44 @@ class GuideOptions extends BaseEditorOption {
|
|
|
2387
2387
|
type: ['boolean', 'string'],
|
|
2388
2388
|
enum: [true, 'active', false],
|
|
2389
2389
|
enumDescriptions: [
|
|
2390
|
-
nls.localize(
|
|
2391
|
-
nls.localize(
|
|
2392
|
-
nls.localize(
|
|
2390
|
+
nls.localize(352, "Enables bracket pair guides."),
|
|
2391
|
+
nls.localize(353, "Enables bracket pair guides only for the active bracket pair."),
|
|
2392
|
+
nls.localize(354, "Disables bracket pair guides."),
|
|
2393
2393
|
],
|
|
2394
2394
|
default: defaults.bracketPairs,
|
|
2395
|
-
description: nls.localize(
|
|
2395
|
+
description: nls.localize(355, "Controls whether bracket pair guides are enabled or not.")
|
|
2396
2396
|
},
|
|
2397
2397
|
'editor.guides.bracketPairsHorizontal': {
|
|
2398
2398
|
type: ['boolean', 'string'],
|
|
2399
2399
|
enum: [true, 'active', false],
|
|
2400
2400
|
enumDescriptions: [
|
|
2401
|
-
nls.localize(
|
|
2402
|
-
nls.localize(
|
|
2403
|
-
nls.localize(
|
|
2401
|
+
nls.localize(356, "Enables horizontal guides as addition to vertical bracket pair guides."),
|
|
2402
|
+
nls.localize(357, "Enables horizontal guides only for the active bracket pair."),
|
|
2403
|
+
nls.localize(358, "Disables horizontal bracket pair guides."),
|
|
2404
2404
|
],
|
|
2405
2405
|
default: defaults.bracketPairsHorizontal,
|
|
2406
|
-
description: nls.localize(
|
|
2406
|
+
description: nls.localize(359, "Controls whether horizontal bracket pair guides are enabled or not.")
|
|
2407
2407
|
},
|
|
2408
2408
|
'editor.guides.highlightActiveBracketPair': {
|
|
2409
2409
|
type: 'boolean',
|
|
2410
2410
|
default: defaults.highlightActiveBracketPair,
|
|
2411
|
-
description: nls.localize(
|
|
2411
|
+
description: nls.localize(360, "Controls whether the editor should highlight the active bracket pair.")
|
|
2412
2412
|
},
|
|
2413
2413
|
'editor.guides.indentation': {
|
|
2414
2414
|
type: 'boolean',
|
|
2415
2415
|
default: defaults.indentation,
|
|
2416
|
-
description: nls.localize(
|
|
2416
|
+
description: nls.localize(361, "Controls whether the editor should render indent guides.")
|
|
2417
2417
|
},
|
|
2418
2418
|
'editor.guides.highlightActiveIndentation': {
|
|
2419
2419
|
type: ['boolean', 'string'],
|
|
2420
2420
|
enum: [true, 'always', false],
|
|
2421
2421
|
enumDescriptions: [
|
|
2422
|
-
nls.localize(
|
|
2423
|
-
nls.localize(
|
|
2424
|
-
nls.localize(
|
|
2422
|
+
nls.localize(362, "Highlights the active indent guide."),
|
|
2423
|
+
nls.localize(363, "Highlights the active indent guide even if bracket guides are highlighted."),
|
|
2424
|
+
nls.localize(364, "Do not highlight the active indent guide."),
|
|
2425
2425
|
],
|
|
2426
2426
|
default: defaults.highlightActiveIndentation,
|
|
2427
|
-
description: nls.localize(
|
|
2427
|
+
description: nls.localize(365, "Controls whether the editor should highlight the active indent guide.")
|
|
2428
2428
|
}
|
|
2429
2429
|
});
|
|
2430
2430
|
}
|
|
@@ -2498,221 +2498,221 @@ class EditorSuggest extends BaseEditorOption {
|
|
|
2498
2498
|
type: 'string',
|
|
2499
2499
|
enum: ['insert', 'replace'],
|
|
2500
2500
|
enumDescriptions: [
|
|
2501
|
-
nls.localize(
|
|
2502
|
-
nls.localize(
|
|
2501
|
+
nls.localize(366, "Insert suggestion without overwriting text right of the cursor."),
|
|
2502
|
+
nls.localize(367, "Insert suggestion and overwrite text right of the cursor."),
|
|
2503
2503
|
],
|
|
2504
2504
|
default: defaults.insertMode,
|
|
2505
|
-
description: nls.localize(
|
|
2505
|
+
description: nls.localize(368, "Controls whether words are overwritten when accepting completions. Note that this depends on extensions opting into this feature.")
|
|
2506
2506
|
},
|
|
2507
2507
|
'editor.suggest.filterGraceful': {
|
|
2508
2508
|
type: 'boolean',
|
|
2509
2509
|
default: defaults.filterGraceful,
|
|
2510
|
-
description: nls.localize(
|
|
2510
|
+
description: nls.localize(369, "Controls whether filtering and sorting suggestions accounts for small typos.")
|
|
2511
2511
|
},
|
|
2512
2512
|
'editor.suggest.localityBonus': {
|
|
2513
2513
|
type: 'boolean',
|
|
2514
2514
|
default: defaults.localityBonus,
|
|
2515
|
-
description: nls.localize(
|
|
2515
|
+
description: nls.localize(370, "Controls whether sorting favors words that appear close to the cursor.")
|
|
2516
2516
|
},
|
|
2517
2517
|
'editor.suggest.shareSuggestSelections': {
|
|
2518
2518
|
type: 'boolean',
|
|
2519
2519
|
default: defaults.shareSuggestSelections,
|
|
2520
|
-
markdownDescription: nls.localize(
|
|
2520
|
+
markdownDescription: nls.localize(371, "Controls whether remembered suggestion selections are shared between multiple workspaces and windows (needs `#editor.suggestSelection#`).")
|
|
2521
2521
|
},
|
|
2522
2522
|
'editor.suggest.selectionMode': {
|
|
2523
2523
|
type: 'string',
|
|
2524
2524
|
enum: ['always', 'never', 'whenTriggerCharacter', 'whenQuickSuggestion'],
|
|
2525
2525
|
enumDescriptions: [
|
|
2526
|
-
nls.localize(
|
|
2527
|
-
nls.localize(
|
|
2528
|
-
nls.localize(
|
|
2529
|
-
nls.localize(
|
|
2526
|
+
nls.localize(372, "Always select a suggestion when automatically triggering IntelliSense."),
|
|
2527
|
+
nls.localize(373, "Never select a suggestion when automatically triggering IntelliSense."),
|
|
2528
|
+
nls.localize(374, "Select a suggestion only when triggering IntelliSense from a trigger character."),
|
|
2529
|
+
nls.localize(375, "Select a suggestion only when triggering IntelliSense as you type."),
|
|
2530
2530
|
],
|
|
2531
2531
|
default: defaults.selectionMode,
|
|
2532
|
-
markdownDescription: nls.localize(
|
|
2532
|
+
markdownDescription: nls.localize(376, "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#`')
|
|
2533
2533
|
},
|
|
2534
2534
|
'editor.suggest.snippetsPreventQuickSuggestions': {
|
|
2535
2535
|
type: 'boolean',
|
|
2536
2536
|
default: defaults.snippetsPreventQuickSuggestions,
|
|
2537
|
-
description: nls.localize(
|
|
2537
|
+
description: nls.localize(377, "Controls whether an active snippet prevents quick suggestions.")
|
|
2538
2538
|
},
|
|
2539
2539
|
'editor.suggest.showIcons': {
|
|
2540
2540
|
type: 'boolean',
|
|
2541
2541
|
default: defaults.showIcons,
|
|
2542
|
-
description: nls.localize(
|
|
2542
|
+
description: nls.localize(378, "Controls whether to show or hide icons in suggestions.")
|
|
2543
2543
|
},
|
|
2544
2544
|
'editor.suggest.showStatusBar': {
|
|
2545
2545
|
type: 'boolean',
|
|
2546
2546
|
default: defaults.showStatusBar,
|
|
2547
|
-
description: nls.localize(
|
|
2547
|
+
description: nls.localize(379, "Controls the visibility of the status bar at the bottom of the suggest widget.")
|
|
2548
2548
|
},
|
|
2549
2549
|
'editor.suggest.preview': {
|
|
2550
2550
|
type: 'boolean',
|
|
2551
2551
|
default: defaults.preview,
|
|
2552
|
-
description: nls.localize(
|
|
2552
|
+
description: nls.localize(380, "Controls whether to preview the suggestion outcome in the editor.")
|
|
2553
2553
|
},
|
|
2554
2554
|
'editor.suggest.showInlineDetails': {
|
|
2555
2555
|
type: 'boolean',
|
|
2556
2556
|
default: defaults.showInlineDetails,
|
|
2557
|
-
description: nls.localize(
|
|
2557
|
+
description: nls.localize(381, "Controls whether suggest details show inline with the label or only in the details widget.")
|
|
2558
2558
|
},
|
|
2559
2559
|
'editor.suggest.maxVisibleSuggestions': {
|
|
2560
2560
|
type: 'number',
|
|
2561
|
-
deprecationMessage: nls.localize(
|
|
2561
|
+
deprecationMessage: nls.localize(382, "This setting is deprecated. The suggest widget can now be resized."),
|
|
2562
2562
|
},
|
|
2563
2563
|
'editor.suggest.filteredTypes': {
|
|
2564
2564
|
type: 'object',
|
|
2565
|
-
deprecationMessage: nls.localize(
|
|
2565
|
+
deprecationMessage: nls.localize(383, "This setting is deprecated, please use separate settings like 'editor.suggest.showKeywords' or 'editor.suggest.showSnippets' instead.")
|
|
2566
2566
|
},
|
|
2567
2567
|
'editor.suggest.showMethods': {
|
|
2568
2568
|
type: 'boolean',
|
|
2569
2569
|
default: true,
|
|
2570
|
-
markdownDescription: nls.localize(
|
|
2570
|
+
markdownDescription: nls.localize(384, "When enabled IntelliSense shows `method`-suggestions.")
|
|
2571
2571
|
},
|
|
2572
2572
|
'editor.suggest.showFunctions': {
|
|
2573
2573
|
type: 'boolean',
|
|
2574
2574
|
default: true,
|
|
2575
|
-
markdownDescription: nls.localize(
|
|
2575
|
+
markdownDescription: nls.localize(385, "When enabled IntelliSense shows `function`-suggestions.")
|
|
2576
2576
|
},
|
|
2577
2577
|
'editor.suggest.showConstructors': {
|
|
2578
2578
|
type: 'boolean',
|
|
2579
2579
|
default: true,
|
|
2580
|
-
markdownDescription: nls.localize(
|
|
2580
|
+
markdownDescription: nls.localize(386, "When enabled IntelliSense shows `constructor`-suggestions.")
|
|
2581
2581
|
},
|
|
2582
2582
|
'editor.suggest.showDeprecated': {
|
|
2583
2583
|
type: 'boolean',
|
|
2584
2584
|
default: true,
|
|
2585
|
-
markdownDescription: nls.localize(
|
|
2585
|
+
markdownDescription: nls.localize(387, "When enabled IntelliSense shows `deprecated`-suggestions.")
|
|
2586
2586
|
},
|
|
2587
2587
|
'editor.suggest.matchOnWordStartOnly': {
|
|
2588
2588
|
type: 'boolean',
|
|
2589
2589
|
default: true,
|
|
2590
|
-
markdownDescription: nls.localize(
|
|
2590
|
+
markdownDescription: nls.localize(388, "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.")
|
|
2591
2591
|
},
|
|
2592
2592
|
'editor.suggest.showFields': {
|
|
2593
2593
|
type: 'boolean',
|
|
2594
2594
|
default: true,
|
|
2595
|
-
markdownDescription: nls.localize(
|
|
2595
|
+
markdownDescription: nls.localize(389, "When enabled IntelliSense shows `field`-suggestions.")
|
|
2596
2596
|
},
|
|
2597
2597
|
'editor.suggest.showVariables': {
|
|
2598
2598
|
type: 'boolean',
|
|
2599
2599
|
default: true,
|
|
2600
|
-
markdownDescription: nls.localize(
|
|
2600
|
+
markdownDescription: nls.localize(390, "When enabled IntelliSense shows `variable`-suggestions.")
|
|
2601
2601
|
},
|
|
2602
2602
|
'editor.suggest.showClasses': {
|
|
2603
2603
|
type: 'boolean',
|
|
2604
2604
|
default: true,
|
|
2605
|
-
markdownDescription: nls.localize(
|
|
2605
|
+
markdownDescription: nls.localize(391, "When enabled IntelliSense shows `class`-suggestions.")
|
|
2606
2606
|
},
|
|
2607
2607
|
'editor.suggest.showStructs': {
|
|
2608
2608
|
type: 'boolean',
|
|
2609
2609
|
default: true,
|
|
2610
|
-
markdownDescription: nls.localize(
|
|
2610
|
+
markdownDescription: nls.localize(392, "When enabled IntelliSense shows `struct`-suggestions.")
|
|
2611
2611
|
},
|
|
2612
2612
|
'editor.suggest.showInterfaces': {
|
|
2613
2613
|
type: 'boolean',
|
|
2614
2614
|
default: true,
|
|
2615
|
-
markdownDescription: nls.localize(
|
|
2615
|
+
markdownDescription: nls.localize(393, "When enabled IntelliSense shows `interface`-suggestions.")
|
|
2616
2616
|
},
|
|
2617
2617
|
'editor.suggest.showModules': {
|
|
2618
2618
|
type: 'boolean',
|
|
2619
2619
|
default: true,
|
|
2620
|
-
markdownDescription: nls.localize(
|
|
2620
|
+
markdownDescription: nls.localize(394, "When enabled IntelliSense shows `module`-suggestions.")
|
|
2621
2621
|
},
|
|
2622
2622
|
'editor.suggest.showProperties': {
|
|
2623
2623
|
type: 'boolean',
|
|
2624
2624
|
default: true,
|
|
2625
|
-
markdownDescription: nls.localize(
|
|
2625
|
+
markdownDescription: nls.localize(395, "When enabled IntelliSense shows `property`-suggestions.")
|
|
2626
2626
|
},
|
|
2627
2627
|
'editor.suggest.showEvents': {
|
|
2628
2628
|
type: 'boolean',
|
|
2629
2629
|
default: true,
|
|
2630
|
-
markdownDescription: nls.localize(
|
|
2630
|
+
markdownDescription: nls.localize(396, "When enabled IntelliSense shows `event`-suggestions.")
|
|
2631
2631
|
},
|
|
2632
2632
|
'editor.suggest.showOperators': {
|
|
2633
2633
|
type: 'boolean',
|
|
2634
2634
|
default: true,
|
|
2635
|
-
markdownDescription: nls.localize(
|
|
2635
|
+
markdownDescription: nls.localize(397, "When enabled IntelliSense shows `operator`-suggestions.")
|
|
2636
2636
|
},
|
|
2637
2637
|
'editor.suggest.showUnits': {
|
|
2638
2638
|
type: 'boolean',
|
|
2639
2639
|
default: true,
|
|
2640
|
-
markdownDescription: nls.localize(
|
|
2640
|
+
markdownDescription: nls.localize(398, "When enabled IntelliSense shows `unit`-suggestions.")
|
|
2641
2641
|
},
|
|
2642
2642
|
'editor.suggest.showValues': {
|
|
2643
2643
|
type: 'boolean',
|
|
2644
2644
|
default: true,
|
|
2645
|
-
markdownDescription: nls.localize(
|
|
2645
|
+
markdownDescription: nls.localize(399, "When enabled IntelliSense shows `value`-suggestions.")
|
|
2646
2646
|
},
|
|
2647
2647
|
'editor.suggest.showConstants': {
|
|
2648
2648
|
type: 'boolean',
|
|
2649
2649
|
default: true,
|
|
2650
|
-
markdownDescription: nls.localize(
|
|
2650
|
+
markdownDescription: nls.localize(400, "When enabled IntelliSense shows `constant`-suggestions.")
|
|
2651
2651
|
},
|
|
2652
2652
|
'editor.suggest.showEnums': {
|
|
2653
2653
|
type: 'boolean',
|
|
2654
2654
|
default: true,
|
|
2655
|
-
markdownDescription: nls.localize(
|
|
2655
|
+
markdownDescription: nls.localize(401, "When enabled IntelliSense shows `enum`-suggestions.")
|
|
2656
2656
|
},
|
|
2657
2657
|
'editor.suggest.showEnumMembers': {
|
|
2658
2658
|
type: 'boolean',
|
|
2659
2659
|
default: true,
|
|
2660
|
-
markdownDescription: nls.localize(
|
|
2660
|
+
markdownDescription: nls.localize(402, "When enabled IntelliSense shows `enumMember`-suggestions.")
|
|
2661
2661
|
},
|
|
2662
2662
|
'editor.suggest.showKeywords': {
|
|
2663
2663
|
type: 'boolean',
|
|
2664
2664
|
default: true,
|
|
2665
|
-
markdownDescription: nls.localize(
|
|
2665
|
+
markdownDescription: nls.localize(403, "When enabled IntelliSense shows `keyword`-suggestions.")
|
|
2666
2666
|
},
|
|
2667
2667
|
'editor.suggest.showWords': {
|
|
2668
2668
|
type: 'boolean',
|
|
2669
2669
|
default: true,
|
|
2670
|
-
markdownDescription: nls.localize(
|
|
2670
|
+
markdownDescription: nls.localize(404, "When enabled IntelliSense shows `text`-suggestions.")
|
|
2671
2671
|
},
|
|
2672
2672
|
'editor.suggest.showColors': {
|
|
2673
2673
|
type: 'boolean',
|
|
2674
2674
|
default: true,
|
|
2675
|
-
markdownDescription: nls.localize(
|
|
2675
|
+
markdownDescription: nls.localize(405, "When enabled IntelliSense shows `color`-suggestions.")
|
|
2676
2676
|
},
|
|
2677
2677
|
'editor.suggest.showFiles': {
|
|
2678
2678
|
type: 'boolean',
|
|
2679
2679
|
default: true,
|
|
2680
|
-
markdownDescription: nls.localize(
|
|
2680
|
+
markdownDescription: nls.localize(406, "When enabled IntelliSense shows `file`-suggestions.")
|
|
2681
2681
|
},
|
|
2682
2682
|
'editor.suggest.showReferences': {
|
|
2683
2683
|
type: 'boolean',
|
|
2684
2684
|
default: true,
|
|
2685
|
-
markdownDescription: nls.localize(
|
|
2685
|
+
markdownDescription: nls.localize(407, "When enabled IntelliSense shows `reference`-suggestions.")
|
|
2686
2686
|
},
|
|
2687
2687
|
'editor.suggest.showCustomcolors': {
|
|
2688
2688
|
type: 'boolean',
|
|
2689
2689
|
default: true,
|
|
2690
|
-
markdownDescription: nls.localize(
|
|
2690
|
+
markdownDescription: nls.localize(408, "When enabled IntelliSense shows `customcolor`-suggestions.")
|
|
2691
2691
|
},
|
|
2692
2692
|
'editor.suggest.showFolders': {
|
|
2693
2693
|
type: 'boolean',
|
|
2694
2694
|
default: true,
|
|
2695
|
-
markdownDescription: nls.localize(
|
|
2695
|
+
markdownDescription: nls.localize(409, "When enabled IntelliSense shows `folder`-suggestions.")
|
|
2696
2696
|
},
|
|
2697
2697
|
'editor.suggest.showTypeParameters': {
|
|
2698
2698
|
type: 'boolean',
|
|
2699
2699
|
default: true,
|
|
2700
|
-
markdownDescription: nls.localize(
|
|
2700
|
+
markdownDescription: nls.localize(410, "When enabled IntelliSense shows `typeParameter`-suggestions.")
|
|
2701
2701
|
},
|
|
2702
2702
|
'editor.suggest.showSnippets': {
|
|
2703
2703
|
type: 'boolean',
|
|
2704
2704
|
default: true,
|
|
2705
|
-
markdownDescription: nls.localize(
|
|
2705
|
+
markdownDescription: nls.localize(411, "When enabled IntelliSense shows `snippet`-suggestions.")
|
|
2706
2706
|
},
|
|
2707
2707
|
'editor.suggest.showUsers': {
|
|
2708
2708
|
type: 'boolean',
|
|
2709
2709
|
default: true,
|
|
2710
|
-
markdownDescription: nls.localize(
|
|
2710
|
+
markdownDescription: nls.localize(412, "When enabled IntelliSense shows `user`-suggestions.")
|
|
2711
2711
|
},
|
|
2712
2712
|
'editor.suggest.showIssues': {
|
|
2713
2713
|
type: 'boolean',
|
|
2714
2714
|
default: true,
|
|
2715
|
-
markdownDescription: nls.localize(
|
|
2715
|
+
markdownDescription: nls.localize(413, "When enabled IntelliSense shows `issues`-suggestions.")
|
|
2716
2716
|
}
|
|
2717
2717
|
});
|
|
2718
2718
|
}
|
|
@@ -2772,12 +2772,12 @@ class SmartSelect extends BaseEditorOption {
|
|
|
2772
2772
|
selectSubwords: true,
|
|
2773
2773
|
}, {
|
|
2774
2774
|
'editor.smartSelect.selectLeadingAndTrailingWhitespace': {
|
|
2775
|
-
description: nls.localize(
|
|
2775
|
+
description: nls.localize(414, "Whether leading and trailing whitespace should always be selected."),
|
|
2776
2776
|
default: true,
|
|
2777
2777
|
type: 'boolean'
|
|
2778
2778
|
},
|
|
2779
2779
|
'editor.smartSelect.selectSubwords': {
|
|
2780
|
-
description: nls.localize(
|
|
2780
|
+
description: nls.localize(415, "Whether subwords (like 'foo' in 'fooBar' or 'foo_bar') should be selected."),
|
|
2781
2781
|
default: true,
|
|
2782
2782
|
type: 'boolean'
|
|
2783
2783
|
}
|
|
@@ -2814,7 +2814,7 @@ class WordSegmenterLocales extends BaseEditorOption {
|
|
|
2814
2814
|
}
|
|
2815
2815
|
}
|
|
2816
2816
|
],
|
|
2817
|
-
description: nls.localize(
|
|
2817
|
+
description: nls.localize(416, "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.)."),
|
|
2818
2818
|
type: 'array',
|
|
2819
2819
|
items: {
|
|
2820
2820
|
type: 'string',
|
|
@@ -2852,12 +2852,12 @@ class WrappingIndentOption extends BaseEditorOption {
|
|
|
2852
2852
|
type: 'string',
|
|
2853
2853
|
enum: ['none', 'same', 'indent', 'deepIndent'],
|
|
2854
2854
|
enumDescriptions: [
|
|
2855
|
-
nls.localize(
|
|
2856
|
-
nls.localize(
|
|
2857
|
-
nls.localize(
|
|
2858
|
-
nls.localize(
|
|
2855
|
+
nls.localize(417, "No indentation. Wrapped lines begin at column 1."),
|
|
2856
|
+
nls.localize(418, "Wrapped lines get the same indentation as the parent."),
|
|
2857
|
+
nls.localize(419, "Wrapped lines get +1 indentation toward the parent."),
|
|
2858
|
+
nls.localize(420, "Wrapped lines get +2 indentation toward the parent."),
|
|
2859
2859
|
],
|
|
2860
|
-
description: nls.localize(
|
|
2860
|
+
description: nls.localize(421, "Controls the indentation of wrapped lines."),
|
|
2861
2861
|
default: 'same'
|
|
2862
2862
|
}
|
|
2863
2863
|
});
|
|
@@ -2907,18 +2907,18 @@ class EditorDropIntoEditor extends BaseEditorOption {
|
|
|
2907
2907
|
'editor.dropIntoEditor.enabled': {
|
|
2908
2908
|
type: 'boolean',
|
|
2909
2909
|
default: defaults.enabled,
|
|
2910
|
-
markdownDescription: nls.localize(
|
|
2910
|
+
markdownDescription: nls.localize(422, "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)."),
|
|
2911
2911
|
},
|
|
2912
2912
|
'editor.dropIntoEditor.showDropSelector': {
|
|
2913
2913
|
type: 'string',
|
|
2914
|
-
markdownDescription: nls.localize(
|
|
2914
|
+
markdownDescription: nls.localize(423, "Controls if a widget is shown when dropping files into the editor. This widget lets you control how the file is dropped."),
|
|
2915
2915
|
enum: [
|
|
2916
2916
|
'afterDrop',
|
|
2917
2917
|
'never'
|
|
2918
2918
|
],
|
|
2919
2919
|
enumDescriptions: [
|
|
2920
|
-
nls.localize(
|
|
2921
|
-
nls.localize(
|
|
2920
|
+
nls.localize(424, "Show the drop selector widget after a file is dropped into the editor."),
|
|
2921
|
+
nls.localize(425, "Never show the drop selector widget. Instead the default drop provider is always used."),
|
|
2922
2922
|
],
|
|
2923
2923
|
default: 'afterDrop',
|
|
2924
2924
|
},
|
|
@@ -2942,18 +2942,18 @@ class EditorPasteAs extends BaseEditorOption {
|
|
|
2942
2942
|
'editor.pasteAs.enabled': {
|
|
2943
2943
|
type: 'boolean',
|
|
2944
2944
|
default: defaults.enabled,
|
|
2945
|
-
markdownDescription: nls.localize(
|
|
2945
|
+
markdownDescription: nls.localize(426, "Controls whether you can paste content in different ways."),
|
|
2946
2946
|
},
|
|
2947
2947
|
'editor.pasteAs.showPasteSelector': {
|
|
2948
2948
|
type: 'string',
|
|
2949
|
-
markdownDescription: nls.localize(
|
|
2949
|
+
markdownDescription: nls.localize(427, "Controls if a widget is shown when pasting content in to the editor. This widget lets you control how the file is pasted."),
|
|
2950
2950
|
enum: [
|
|
2951
2951
|
'afterPaste',
|
|
2952
2952
|
'never'
|
|
2953
2953
|
],
|
|
2954
2954
|
enumDescriptions: [
|
|
2955
|
-
nls.localize(
|
|
2956
|
-
nls.localize(
|
|
2955
|
+
nls.localize(428, "Show the paste selector widget after content is pasted into the editor."),
|
|
2956
|
+
nls.localize(429, "Never show the paste selector widget. Instead the default pasting behavior is always used."),
|
|
2957
2957
|
],
|
|
2958
2958
|
default: 'afterPaste',
|
|
2959
2959
|
},
|
|
@@ -2980,236 +2980,236 @@ function register(option) {
|
|
|
2980
2980
|
return option;
|
|
2981
2981
|
}
|
|
2982
2982
|
export const EditorOptions = {
|
|
2983
|
-
acceptSuggestionOnCommitCharacter: register(new EditorBooleanOption(0 /* EditorOption.acceptSuggestionOnCommitCharacter */, 'acceptSuggestionOnCommitCharacter', true, { markdownDescription: nls.localize(
|
|
2983
|
+
acceptSuggestionOnCommitCharacter: register(new EditorBooleanOption(0 /* EditorOption.acceptSuggestionOnCommitCharacter */, 'acceptSuggestionOnCommitCharacter', true, { markdownDescription: nls.localize(430, "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.") })),
|
|
2984
2984
|
acceptSuggestionOnEnter: register(new EditorStringEnumOption(1 /* EditorOption.acceptSuggestionOnEnter */, 'acceptSuggestionOnEnter', 'on', ['on', 'smart', 'off'], {
|
|
2985
2985
|
markdownEnumDescriptions: [
|
|
2986
2986
|
'',
|
|
2987
|
-
nls.localize(
|
|
2987
|
+
nls.localize(431, "Only accept a suggestion with `Enter` when it makes a textual change."),
|
|
2988
2988
|
''
|
|
2989
2989
|
],
|
|
2990
|
-
markdownDescription: nls.localize(
|
|
2990
|
+
markdownDescription: nls.localize(432, "Controls whether suggestions should be accepted on `Enter`, in addition to `Tab`. Helps to avoid ambiguity between inserting new lines or accepting suggestions.")
|
|
2991
2991
|
})),
|
|
2992
2992
|
accessibilitySupport: register(new EditorAccessibilitySupport()),
|
|
2993
2993
|
accessibilityPageSize: register(new EditorIntOption(3 /* EditorOption.accessibilityPageSize */, 'accessibilityPageSize', 500, 1, 1073741824 /* Constants.MAX_SAFE_SMALL_INTEGER */, {
|
|
2994
|
-
description: nls.localize(
|
|
2994
|
+
description: nls.localize(433, "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."),
|
|
2995
2995
|
tags: ['accessibility']
|
|
2996
2996
|
})),
|
|
2997
2997
|
allowOverflow: register(new EditorBooleanOption(4 /* EditorOption.allowOverflow */, 'allowOverflow', true)),
|
|
2998
2998
|
allowVariableLineHeights: register(new EditorBooleanOption(5 /* EditorOption.allowVariableLineHeights */, 'allowVariableLineHeights', true, {
|
|
2999
|
-
description: nls.localize(
|
|
2999
|
+
description: nls.localize(434, "Controls whether to allow using variable line heights in the editor.")
|
|
3000
3000
|
})),
|
|
3001
3001
|
allowVariableFonts: register(new EditorBooleanOption(6 /* EditorOption.allowVariableFonts */, 'allowVariableFonts', true, {
|
|
3002
|
-
description: nls.localize(
|
|
3002
|
+
description: nls.localize(435, "Controls whether to allow using variable fonts in the editor.")
|
|
3003
3003
|
})),
|
|
3004
3004
|
allowVariableFontsInAccessibilityMode: register(new EditorBooleanOption(7 /* EditorOption.allowVariableFontsInAccessibilityMode */, 'allowVariableFontsInAccessibilityMode', false, {
|
|
3005
|
-
description: nls.localize(
|
|
3005
|
+
description: nls.localize(436, "Controls whether to allow using variable fonts in the editor in the accessibility mode."),
|
|
3006
3006
|
tags: ['accessibility']
|
|
3007
3007
|
})),
|
|
3008
|
-
ariaLabel: register(new EditorStringOption(8 /* EditorOption.ariaLabel */, 'ariaLabel', nls.localize(
|
|
3008
|
+
ariaLabel: register(new EditorStringOption(8 /* EditorOption.ariaLabel */, 'ariaLabel', nls.localize(437, "Editor content"))),
|
|
3009
3009
|
ariaRequired: register(new EditorBooleanOption(9 /* EditorOption.ariaRequired */, 'ariaRequired', false, undefined)),
|
|
3010
3010
|
screenReaderAnnounceInlineSuggestion: register(new EditorBooleanOption(12 /* EditorOption.screenReaderAnnounceInlineSuggestion */, 'screenReaderAnnounceInlineSuggestion', true, {
|
|
3011
|
-
description: nls.localize(
|
|
3011
|
+
description: nls.localize(438, "Control whether inline suggestions are announced by a screen reader."),
|
|
3012
3012
|
tags: ['accessibility']
|
|
3013
3013
|
})),
|
|
3014
3014
|
autoClosingBrackets: register(new EditorStringEnumOption(10 /* EditorOption.autoClosingBrackets */, 'autoClosingBrackets', 'languageDefined', ['always', 'languageDefined', 'beforeWhitespace', 'never'], {
|
|
3015
3015
|
enumDescriptions: [
|
|
3016
3016
|
'',
|
|
3017
|
-
nls.localize(
|
|
3018
|
-
nls.localize(
|
|
3017
|
+
nls.localize(439, "Use language configurations to determine when to autoclose brackets."),
|
|
3018
|
+
nls.localize(440, "Autoclose brackets only when the cursor is to the left of whitespace."),
|
|
3019
3019
|
'',
|
|
3020
3020
|
],
|
|
3021
|
-
description: nls.localize(
|
|
3021
|
+
description: nls.localize(441, "Controls whether the editor should automatically close brackets after the user adds an opening bracket.")
|
|
3022
3022
|
})),
|
|
3023
3023
|
autoClosingComments: register(new EditorStringEnumOption(11 /* EditorOption.autoClosingComments */, 'autoClosingComments', 'languageDefined', ['always', 'languageDefined', 'beforeWhitespace', 'never'], {
|
|
3024
3024
|
enumDescriptions: [
|
|
3025
3025
|
'',
|
|
3026
|
-
nls.localize(
|
|
3027
|
-
nls.localize(
|
|
3026
|
+
nls.localize(442, "Use language configurations to determine when to autoclose comments."),
|
|
3027
|
+
nls.localize(443, "Autoclose comments only when the cursor is to the left of whitespace."),
|
|
3028
3028
|
'',
|
|
3029
3029
|
],
|
|
3030
|
-
description: nls.localize(
|
|
3030
|
+
description: nls.localize(444, "Controls whether the editor should automatically close comments after the user adds an opening comment.")
|
|
3031
3031
|
})),
|
|
3032
3032
|
autoClosingDelete: register(new EditorStringEnumOption(13 /* EditorOption.autoClosingDelete */, 'autoClosingDelete', 'auto', ['always', 'auto', 'never'], {
|
|
3033
3033
|
enumDescriptions: [
|
|
3034
3034
|
'',
|
|
3035
|
-
nls.localize(
|
|
3035
|
+
nls.localize(445, "Remove adjacent closing quotes or brackets only if they were automatically inserted."),
|
|
3036
3036
|
'',
|
|
3037
3037
|
],
|
|
3038
|
-
description: nls.localize(
|
|
3038
|
+
description: nls.localize(446, "Controls whether the editor should remove adjacent closing quotes or brackets when deleting.")
|
|
3039
3039
|
})),
|
|
3040
3040
|
autoClosingOvertype: register(new EditorStringEnumOption(14 /* EditorOption.autoClosingOvertype */, 'autoClosingOvertype', 'auto', ['always', 'auto', 'never'], {
|
|
3041
3041
|
enumDescriptions: [
|
|
3042
3042
|
'',
|
|
3043
|
-
nls.localize(
|
|
3043
|
+
nls.localize(447, "Type over closing quotes or brackets only if they were automatically inserted."),
|
|
3044
3044
|
'',
|
|
3045
3045
|
],
|
|
3046
|
-
description: nls.localize(
|
|
3046
|
+
description: nls.localize(448, "Controls whether the editor should type over closing quotes or brackets.")
|
|
3047
3047
|
})),
|
|
3048
3048
|
autoClosingQuotes: register(new EditorStringEnumOption(15 /* EditorOption.autoClosingQuotes */, 'autoClosingQuotes', 'languageDefined', ['always', 'languageDefined', 'beforeWhitespace', 'never'], {
|
|
3049
3049
|
enumDescriptions: [
|
|
3050
3050
|
'',
|
|
3051
|
-
nls.localize(
|
|
3052
|
-
nls.localize(
|
|
3051
|
+
nls.localize(449, "Use language configurations to determine when to autoclose quotes."),
|
|
3052
|
+
nls.localize(450, "Autoclose quotes only when the cursor is to the left of whitespace."),
|
|
3053
3053
|
'',
|
|
3054
3054
|
],
|
|
3055
|
-
description: nls.localize(
|
|
3055
|
+
description: nls.localize(451, "Controls whether the editor should automatically close quotes after the user adds an opening quote.")
|
|
3056
3056
|
})),
|
|
3057
3057
|
autoIndent: register(new EditorEnumOption(16 /* EditorOption.autoIndent */, 'autoIndent', 4 /* EditorAutoIndentStrategy.Full */, 'full', ['none', 'keep', 'brackets', 'advanced', 'full'], _autoIndentFromString, {
|
|
3058
3058
|
enumDescriptions: [
|
|
3059
|
-
nls.localize(
|
|
3060
|
-
nls.localize(
|
|
3061
|
-
nls.localize(
|
|
3062
|
-
nls.localize(
|
|
3063
|
-
nls.localize(
|
|
3059
|
+
nls.localize(452, "The editor will not insert indentation automatically."),
|
|
3060
|
+
nls.localize(453, "The editor will keep the current line's indentation."),
|
|
3061
|
+
nls.localize(454, "The editor will keep the current line's indentation and honor language defined brackets."),
|
|
3062
|
+
nls.localize(455, "The editor will keep the current line's indentation, honor language defined brackets and invoke special onEnterRules defined by languages."),
|
|
3063
|
+
nls.localize(456, "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."),
|
|
3064
3064
|
],
|
|
3065
|
-
description: nls.localize(
|
|
3065
|
+
description: nls.localize(457, "Controls whether the editor should automatically adjust the indentation when users type, paste, move or indent lines.")
|
|
3066
3066
|
})),
|
|
3067
|
-
autoIndentOnPaste: register(new EditorBooleanOption(17 /* EditorOption.autoIndentOnPaste */, 'autoIndentOnPaste', false, { description: nls.localize(
|
|
3068
|
-
autoIndentOnPasteWithinString: register(new EditorBooleanOption(18 /* EditorOption.autoIndentOnPasteWithinString */, 'autoIndentOnPasteWithinString', true, { description: nls.localize(
|
|
3067
|
+
autoIndentOnPaste: register(new EditorBooleanOption(17 /* EditorOption.autoIndentOnPaste */, 'autoIndentOnPaste', false, { description: nls.localize(458, "Controls whether the editor should automatically auto-indent the pasted content.") })),
|
|
3068
|
+
autoIndentOnPasteWithinString: register(new EditorBooleanOption(18 /* EditorOption.autoIndentOnPasteWithinString */, 'autoIndentOnPasteWithinString', true, { description: nls.localize(459, "Controls whether the editor should automatically auto-indent the pasted content when pasted within a string. This takes effect when autoIndentOnPaste is true.") })),
|
|
3069
3069
|
automaticLayout: register(new EditorBooleanOption(19 /* EditorOption.automaticLayout */, 'automaticLayout', false)),
|
|
3070
3070
|
autoSurround: register(new EditorStringEnumOption(20 /* EditorOption.autoSurround */, 'autoSurround', 'languageDefined', ['languageDefined', 'quotes', 'brackets', 'never'], {
|
|
3071
3071
|
enumDescriptions: [
|
|
3072
|
-
nls.localize(
|
|
3073
|
-
nls.localize(
|
|
3074
|
-
nls.localize(
|
|
3072
|
+
nls.localize(460, "Use language configurations to determine when to automatically surround selections."),
|
|
3073
|
+
nls.localize(461, "Surround with quotes but not brackets."),
|
|
3074
|
+
nls.localize(462, "Surround with brackets but not quotes."),
|
|
3075
3075
|
''
|
|
3076
3076
|
],
|
|
3077
|
-
description: nls.localize(
|
|
3077
|
+
description: nls.localize(463, "Controls whether the editor should automatically surround selections when typing quotes or brackets.")
|
|
3078
3078
|
})),
|
|
3079
3079
|
bracketPairColorization: register(new BracketPairColorization()),
|
|
3080
3080
|
bracketPairGuides: register(new GuideOptions()),
|
|
3081
|
-
stickyTabStops: register(new EditorBooleanOption(132 /* EditorOption.stickyTabStops */, 'stickyTabStops', false, { description: nls.localize(
|
|
3082
|
-
codeLens: register(new EditorBooleanOption(23 /* EditorOption.codeLens */, 'codeLens', true, { description: nls.localize(
|
|
3083
|
-
codeLensFontFamily: register(new EditorStringOption(24 /* EditorOption.codeLensFontFamily */, 'codeLensFontFamily', '', { description: nls.localize(
|
|
3081
|
+
stickyTabStops: register(new EditorBooleanOption(132 /* EditorOption.stickyTabStops */, 'stickyTabStops', false, { description: nls.localize(464, "Emulate selection behavior of tab characters when using spaces for indentation. Selection will stick to tab stops.") })),
|
|
3082
|
+
codeLens: register(new EditorBooleanOption(23 /* EditorOption.codeLens */, 'codeLens', true, { description: nls.localize(465, "Controls whether the editor shows CodeLens.") })),
|
|
3083
|
+
codeLensFontFamily: register(new EditorStringOption(24 /* EditorOption.codeLensFontFamily */, 'codeLensFontFamily', '', { description: nls.localize(466, "Controls the font family for CodeLens.") })),
|
|
3084
3084
|
codeLensFontSize: register(new EditorIntOption(25 /* EditorOption.codeLensFontSize */, 'codeLensFontSize', 0, 0, 100, {
|
|
3085
3085
|
type: 'number',
|
|
3086
3086
|
default: 0,
|
|
3087
3087
|
minimum: 0,
|
|
3088
3088
|
maximum: 100,
|
|
3089
|
-
markdownDescription: nls.localize(
|
|
3089
|
+
markdownDescription: nls.localize(467, "Controls the font size in pixels for CodeLens. When set to 0, 90% of `#editor.fontSize#` is used.")
|
|
3090
3090
|
})),
|
|
3091
|
-
colorDecorators: register(new EditorBooleanOption(26 /* EditorOption.colorDecorators */, 'colorDecorators', true, { description: nls.localize(
|
|
3091
|
+
colorDecorators: register(new EditorBooleanOption(26 /* EditorOption.colorDecorators */, 'colorDecorators', true, { description: nls.localize(468, "Controls whether the editor should render the inline color decorators and color picker.") })),
|
|
3092
3092
|
colorDecoratorActivatedOn: register(new EditorStringEnumOption(168 /* EditorOption.colorDecoratorsActivatedOn */, 'colorDecoratorsActivatedOn', 'clickAndHover', ['clickAndHover', 'hover', 'click'], {
|
|
3093
3093
|
enumDescriptions: [
|
|
3094
|
-
nls.localize(
|
|
3095
|
-
nls.localize(
|
|
3096
|
-
nls.localize(
|
|
3094
|
+
nls.localize(469, "Make the color picker appear both on click and hover of the color decorator"),
|
|
3095
|
+
nls.localize(470, "Make the color picker appear on hover of the color decorator"),
|
|
3096
|
+
nls.localize(471, "Make the color picker appear on click of the color decorator")
|
|
3097
3097
|
],
|
|
3098
|
-
description: nls.localize(
|
|
3098
|
+
description: nls.localize(472, "Controls the condition to make a color picker appear from a color decorator.")
|
|
3099
3099
|
})),
|
|
3100
3100
|
colorDecoratorsLimit: register(new EditorIntOption(27 /* EditorOption.colorDecoratorsLimit */, 'colorDecoratorsLimit', 500, 1, 1000000, {
|
|
3101
|
-
markdownDescription: nls.localize(
|
|
3101
|
+
markdownDescription: nls.localize(473, "Controls the max number of color decorators that can be rendered in an editor at once.")
|
|
3102
3102
|
})),
|
|
3103
|
-
columnSelection: register(new EditorBooleanOption(28 /* EditorOption.columnSelection */, 'columnSelection', false, { description: nls.localize(
|
|
3103
|
+
columnSelection: register(new EditorBooleanOption(28 /* EditorOption.columnSelection */, 'columnSelection', false, { description: nls.localize(474, "Enable that the selection with the mouse and keys is doing column selection.") })),
|
|
3104
3104
|
comments: register(new EditorComments()),
|
|
3105
3105
|
contextmenu: register(new EditorBooleanOption(30 /* EditorOption.contextmenu */, 'contextmenu', true)),
|
|
3106
|
-
copyWithSyntaxHighlighting: register(new EditorBooleanOption(31 /* EditorOption.copyWithSyntaxHighlighting */, 'copyWithSyntaxHighlighting', true, { description: nls.localize(
|
|
3107
|
-
cursorBlinking: register(new EditorEnumOption(32 /* EditorOption.cursorBlinking */, 'cursorBlinking', 1 /* TextEditorCursorBlinkingStyle.Blink */, 'blink', ['blink', 'smooth', 'phase', 'expand', 'solid'], cursorBlinkingStyleFromString, { description: nls.localize(
|
|
3106
|
+
copyWithSyntaxHighlighting: register(new EditorBooleanOption(31 /* EditorOption.copyWithSyntaxHighlighting */, 'copyWithSyntaxHighlighting', true, { description: nls.localize(475, "Controls whether syntax highlighting should be copied into the clipboard.") })),
|
|
3107
|
+
cursorBlinking: register(new EditorEnumOption(32 /* EditorOption.cursorBlinking */, 'cursorBlinking', 1 /* TextEditorCursorBlinkingStyle.Blink */, 'blink', ['blink', 'smooth', 'phase', 'expand', 'solid'], cursorBlinkingStyleFromString, { description: nls.localize(476, "Control the cursor animation style.") })),
|
|
3108
3108
|
cursorSmoothCaretAnimation: register(new EditorStringEnumOption(33 /* EditorOption.cursorSmoothCaretAnimation */, 'cursorSmoothCaretAnimation', 'off', ['off', 'explicit', 'on'], {
|
|
3109
3109
|
enumDescriptions: [
|
|
3110
|
-
nls.localize(
|
|
3111
|
-
nls.localize(
|
|
3112
|
-
nls.localize(
|
|
3110
|
+
nls.localize(477, "Smooth caret animation is disabled."),
|
|
3111
|
+
nls.localize(478, "Smooth caret animation is enabled only when the user moves the cursor with an explicit gesture."),
|
|
3112
|
+
nls.localize(479, "Smooth caret animation is always enabled.")
|
|
3113
3113
|
],
|
|
3114
|
-
description: nls.localize(
|
|
3114
|
+
description: nls.localize(480, "Controls whether the smooth caret animation should be enabled.")
|
|
3115
3115
|
})),
|
|
3116
|
-
cursorStyle: register(new EditorEnumOption(34 /* EditorOption.cursorStyle */, 'cursorStyle', TextEditorCursorStyle.Line, 'line', ['line', 'block', 'underline', 'line-thin', 'block-outline', 'underline-thin'], cursorStyleFromString, { description: nls.localize(
|
|
3117
|
-
overtypeCursorStyle: register(new EditorEnumOption(92 /* EditorOption.overtypeCursorStyle */, 'overtypeCursorStyle', TextEditorCursorStyle.Block, 'block', ['line', 'block', 'underline', 'line-thin', 'block-outline', 'underline-thin'], cursorStyleFromString, { description: nls.localize(
|
|
3118
|
-
cursorSurroundingLines: register(new EditorIntOption(35 /* EditorOption.cursorSurroundingLines */, 'cursorSurroundingLines', 0, 0, 1073741824 /* Constants.MAX_SAFE_SMALL_INTEGER */, { description: nls.localize(
|
|
3116
|
+
cursorStyle: register(new EditorEnumOption(34 /* EditorOption.cursorStyle */, 'cursorStyle', TextEditorCursorStyle.Line, 'line', ['line', 'block', 'underline', 'line-thin', 'block-outline', 'underline-thin'], cursorStyleFromString, { description: nls.localize(481, "Controls the cursor style in insert input mode.") })),
|
|
3117
|
+
overtypeCursorStyle: register(new EditorEnumOption(92 /* EditorOption.overtypeCursorStyle */, 'overtypeCursorStyle', TextEditorCursorStyle.Block, 'block', ['line', 'block', 'underline', 'line-thin', 'block-outline', 'underline-thin'], cursorStyleFromString, { description: nls.localize(482, "Controls the cursor style in overtype input mode.") })),
|
|
3118
|
+
cursorSurroundingLines: register(new EditorIntOption(35 /* EditorOption.cursorSurroundingLines */, 'cursorSurroundingLines', 0, 0, 1073741824 /* Constants.MAX_SAFE_SMALL_INTEGER */, { description: nls.localize(483, "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.") })),
|
|
3119
3119
|
cursorSurroundingLinesStyle: register(new EditorStringEnumOption(36 /* EditorOption.cursorSurroundingLinesStyle */, 'cursorSurroundingLinesStyle', 'default', ['default', 'all'], {
|
|
3120
3120
|
enumDescriptions: [
|
|
3121
|
-
nls.localize(
|
|
3122
|
-
nls.localize(
|
|
3121
|
+
nls.localize(484, "`cursorSurroundingLines` is enforced only when triggered via the keyboard or API."),
|
|
3122
|
+
nls.localize(485, "`cursorSurroundingLines` is enforced always.")
|
|
3123
3123
|
],
|
|
3124
|
-
markdownDescription: nls.localize(
|
|
3124
|
+
markdownDescription: nls.localize(486, "Controls when `#editor.cursorSurroundingLines#` should be enforced.")
|
|
3125
3125
|
})),
|
|
3126
|
-
cursorWidth: register(new EditorIntOption(37 /* EditorOption.cursorWidth */, 'cursorWidth', 0, 0, 1073741824 /* Constants.MAX_SAFE_SMALL_INTEGER */, { markdownDescription: nls.localize(
|
|
3127
|
-
cursorHeight: register(new EditorIntOption(38 /* EditorOption.cursorHeight */, 'cursorHeight', 0, 0, 1073741824 /* Constants.MAX_SAFE_SMALL_INTEGER */, { markdownDescription: nls.localize(
|
|
3126
|
+
cursorWidth: register(new EditorIntOption(37 /* EditorOption.cursorWidth */, 'cursorWidth', 0, 0, 1073741824 /* Constants.MAX_SAFE_SMALL_INTEGER */, { markdownDescription: nls.localize(487, "Controls the width of the cursor when `#editor.cursorStyle#` is set to `line`.") })),
|
|
3127
|
+
cursorHeight: register(new EditorIntOption(38 /* EditorOption.cursorHeight */, 'cursorHeight', 0, 0, 1073741824 /* Constants.MAX_SAFE_SMALL_INTEGER */, { markdownDescription: nls.localize(488, "Controls the height of the cursor when `#editor.cursorStyle#` is set to `line`. Cursor's max height depends on line height.") })),
|
|
3128
3128
|
disableLayerHinting: register(new EditorBooleanOption(39 /* EditorOption.disableLayerHinting */, 'disableLayerHinting', false)),
|
|
3129
3129
|
disableMonospaceOptimizations: register(new EditorBooleanOption(40 /* EditorOption.disableMonospaceOptimizations */, 'disableMonospaceOptimizations', false)),
|
|
3130
3130
|
domReadOnly: register(new EditorBooleanOption(41 /* EditorOption.domReadOnly */, 'domReadOnly', false)),
|
|
3131
|
-
dragAndDrop: register(new EditorBooleanOption(42 /* EditorOption.dragAndDrop */, 'dragAndDrop', true, { description: nls.localize(
|
|
3131
|
+
dragAndDrop: register(new EditorBooleanOption(42 /* EditorOption.dragAndDrop */, 'dragAndDrop', true, { description: nls.localize(489, "Controls whether the editor should allow moving selections via drag and drop.") })),
|
|
3132
3132
|
emptySelectionClipboard: register(new EditorEmptySelectionClipboard()),
|
|
3133
3133
|
dropIntoEditor: register(new EditorDropIntoEditor()),
|
|
3134
3134
|
editContext: register(new EditorBooleanOption(44 /* EditorOption.editContext */, 'editContext', true, {
|
|
3135
|
-
description: nls.localize(
|
|
3135
|
+
description: nls.localize(490, "Sets whether the EditContext API should be used instead of the text area to power input in the editor."),
|
|
3136
3136
|
included: platform.isChrome || platform.isEdge || platform.isNative
|
|
3137
3137
|
})),
|
|
3138
3138
|
renderRichScreenReaderContent: register(new EditorBooleanOption(107 /* EditorOption.renderRichScreenReaderContent */, 'renderRichScreenReaderContent', false, {
|
|
3139
|
-
markdownDescription: nls.localize(
|
|
3139
|
+
markdownDescription: nls.localize(491, "Whether to render rich screen reader content when the `#editor.editContext#` setting is enabled."),
|
|
3140
3140
|
})),
|
|
3141
3141
|
stickyScroll: register(new EditorStickyScroll()),
|
|
3142
3142
|
experimentalGpuAcceleration: register(new EditorStringEnumOption(46 /* EditorOption.experimentalGpuAcceleration */, 'experimentalGpuAcceleration', 'off', ['off', 'on'], {
|
|
3143
3143
|
tags: ['experimental'],
|
|
3144
3144
|
enumDescriptions: [
|
|
3145
|
-
nls.localize(
|
|
3146
|
-
nls.localize(
|
|
3145
|
+
nls.localize(492, "Use regular DOM-based rendering."),
|
|
3146
|
+
nls.localize(493, "Use GPU acceleration."),
|
|
3147
3147
|
],
|
|
3148
|
-
description: nls.localize(
|
|
3148
|
+
description: nls.localize(494, "Controls whether to use the experimental GPU acceleration to render the editor.")
|
|
3149
3149
|
})),
|
|
3150
3150
|
experimentalWhitespaceRendering: register(new EditorStringEnumOption(47 /* EditorOption.experimentalWhitespaceRendering */, 'experimentalWhitespaceRendering', 'svg', ['svg', 'font', 'off'], {
|
|
3151
3151
|
enumDescriptions: [
|
|
3152
|
-
nls.localize(
|
|
3153
|
-
nls.localize(
|
|
3154
|
-
nls.localize(
|
|
3152
|
+
nls.localize(495, "Use a new rendering method with svgs."),
|
|
3153
|
+
nls.localize(496, "Use a new rendering method with font characters."),
|
|
3154
|
+
nls.localize(497, "Use the stable rendering method."),
|
|
3155
3155
|
],
|
|
3156
|
-
description: nls.localize(
|
|
3156
|
+
description: nls.localize(498, "Controls whether whitespace is rendered with a new, experimental method.")
|
|
3157
3157
|
})),
|
|
3158
3158
|
extraEditorClassName: register(new EditorStringOption(48 /* EditorOption.extraEditorClassName */, 'extraEditorClassName', '')),
|
|
3159
|
-
fastScrollSensitivity: register(new EditorFloatOption(49 /* EditorOption.fastScrollSensitivity */, 'fastScrollSensitivity', 5, x => (x <= 0 ? 5 : x), { markdownDescription: nls.localize(
|
|
3159
|
+
fastScrollSensitivity: register(new EditorFloatOption(49 /* EditorOption.fastScrollSensitivity */, 'fastScrollSensitivity', 5, x => (x <= 0 ? 5 : x), { markdownDescription: nls.localize(499, "Scrolling speed multiplier when pressing `Alt`.") })),
|
|
3160
3160
|
find: register(new EditorFind()),
|
|
3161
3161
|
fixedOverflowWidgets: register(new EditorBooleanOption(51 /* EditorOption.fixedOverflowWidgets */, 'fixedOverflowWidgets', false)),
|
|
3162
|
-
folding: register(new EditorBooleanOption(52 /* EditorOption.folding */, 'folding', true, { description: nls.localize(
|
|
3162
|
+
folding: register(new EditorBooleanOption(52 /* EditorOption.folding */, 'folding', true, { description: nls.localize(500, "Controls whether the editor has code folding enabled.") })),
|
|
3163
3163
|
foldingStrategy: register(new EditorStringEnumOption(53 /* EditorOption.foldingStrategy */, 'foldingStrategy', 'auto', ['auto', 'indentation'], {
|
|
3164
3164
|
enumDescriptions: [
|
|
3165
|
-
nls.localize(
|
|
3166
|
-
nls.localize(
|
|
3165
|
+
nls.localize(501, "Use a language-specific folding strategy if available, else the indentation-based one."),
|
|
3166
|
+
nls.localize(502, "Use the indentation-based folding strategy."),
|
|
3167
3167
|
],
|
|
3168
|
-
description: nls.localize(
|
|
3168
|
+
description: nls.localize(503, "Controls the strategy for computing folding ranges.")
|
|
3169
3169
|
})),
|
|
3170
|
-
foldingHighlight: register(new EditorBooleanOption(54 /* EditorOption.foldingHighlight */, 'foldingHighlight', true, { description: nls.localize(
|
|
3171
|
-
foldingImportsByDefault: register(new EditorBooleanOption(55 /* EditorOption.foldingImportsByDefault */, 'foldingImportsByDefault', false, { description: nls.localize(
|
|
3170
|
+
foldingHighlight: register(new EditorBooleanOption(54 /* EditorOption.foldingHighlight */, 'foldingHighlight', true, { description: nls.localize(504, "Controls whether the editor should highlight folded ranges.") })),
|
|
3171
|
+
foldingImportsByDefault: register(new EditorBooleanOption(55 /* EditorOption.foldingImportsByDefault */, 'foldingImportsByDefault', false, { description: nls.localize(505, "Controls whether the editor automatically collapses import ranges.") })),
|
|
3172
3172
|
foldingMaximumRegions: register(new EditorIntOption(56 /* EditorOption.foldingMaximumRegions */, 'foldingMaximumRegions', 5000, 10, 65000, // limit must be less than foldingRanges MAX_FOLDING_REGIONS
|
|
3173
|
-
{ description: nls.localize(
|
|
3174
|
-
unfoldOnClickAfterEndOfLine: register(new EditorBooleanOption(57 /* EditorOption.unfoldOnClickAfterEndOfLine */, 'unfoldOnClickAfterEndOfLine', false, { description: nls.localize(
|
|
3175
|
-
fontFamily: register(new EditorStringOption(58 /* EditorOption.fontFamily */, 'fontFamily', EDITOR_FONT_DEFAULTS.fontFamily, { description: nls.localize(
|
|
3173
|
+
{ description: nls.localize(506, "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.") })),
|
|
3174
|
+
unfoldOnClickAfterEndOfLine: register(new EditorBooleanOption(57 /* EditorOption.unfoldOnClickAfterEndOfLine */, 'unfoldOnClickAfterEndOfLine', false, { description: nls.localize(507, "Controls whether clicking on the empty content after a folded line will unfold the line.") })),
|
|
3175
|
+
fontFamily: register(new EditorStringOption(58 /* EditorOption.fontFamily */, 'fontFamily', EDITOR_FONT_DEFAULTS.fontFamily, { description: nls.localize(508, "Controls the font family.") })),
|
|
3176
3176
|
fontInfo: register(new EditorFontInfo()),
|
|
3177
3177
|
fontLigatures2: register(new EditorFontLigatures()),
|
|
3178
3178
|
fontSize: register(new EditorFontSize()),
|
|
3179
3179
|
fontWeight: register(new EditorFontWeight()),
|
|
3180
3180
|
fontVariations: register(new EditorFontVariations()),
|
|
3181
|
-
formatOnPaste: register(new EditorBooleanOption(64 /* EditorOption.formatOnPaste */, 'formatOnPaste', false, { description: nls.localize(
|
|
3182
|
-
formatOnType: register(new EditorBooleanOption(65 /* EditorOption.formatOnType */, 'formatOnType', false, { description: nls.localize(
|
|
3183
|
-
glyphMargin: register(new EditorBooleanOption(66 /* EditorOption.glyphMargin */, 'glyphMargin', true, { description: nls.localize(
|
|
3181
|
+
formatOnPaste: register(new EditorBooleanOption(64 /* EditorOption.formatOnPaste */, 'formatOnPaste', false, { description: nls.localize(509, "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.") })),
|
|
3182
|
+
formatOnType: register(new EditorBooleanOption(65 /* EditorOption.formatOnType */, 'formatOnType', false, { description: nls.localize(510, "Controls whether the editor should automatically format the line after typing.") })),
|
|
3183
|
+
glyphMargin: register(new EditorBooleanOption(66 /* EditorOption.glyphMargin */, 'glyphMargin', true, { description: nls.localize(511, "Controls whether the editor should render the vertical glyph margin. Glyph margin is mostly used for debugging.") })),
|
|
3184
3184
|
gotoLocation: register(new EditorGoToLocation()),
|
|
3185
|
-
hideCursorInOverviewRuler: register(new EditorBooleanOption(68 /* EditorOption.hideCursorInOverviewRuler */, 'hideCursorInOverviewRuler', false, { description: nls.localize(
|
|
3185
|
+
hideCursorInOverviewRuler: register(new EditorBooleanOption(68 /* EditorOption.hideCursorInOverviewRuler */, 'hideCursorInOverviewRuler', false, { description: nls.localize(512, "Controls whether the cursor should be hidden in the overview ruler.") })),
|
|
3186
3186
|
hover: register(new EditorHover()),
|
|
3187
3187
|
inDiffEditor: register(new EditorBooleanOption(70 /* EditorOption.inDiffEditor */, 'inDiffEditor', false)),
|
|
3188
|
-
inertialScroll: register(new EditorBooleanOption(158 /* EditorOption.inertialScroll */, 'inertialScroll', false, { description: nls.localize(
|
|
3189
|
-
letterSpacing: register(new EditorFloatOption(72 /* EditorOption.letterSpacing */, 'letterSpacing', EDITOR_FONT_DEFAULTS.letterSpacing, x => EditorFloatOption.clamp(x, -5, 20), { description: nls.localize(
|
|
3188
|
+
inertialScroll: register(new EditorBooleanOption(158 /* EditorOption.inertialScroll */, 'inertialScroll', false, { description: nls.localize(513, "Make scrolling inertial - mostly useful with touchpad on linux.") })),
|
|
3189
|
+
letterSpacing: register(new EditorFloatOption(72 /* EditorOption.letterSpacing */, 'letterSpacing', EDITOR_FONT_DEFAULTS.letterSpacing, x => EditorFloatOption.clamp(x, -5, 20), { description: nls.localize(514, "Controls the letter spacing in pixels.") })),
|
|
3190
3190
|
lightbulb: register(new EditorLightbulb()),
|
|
3191
3191
|
lineDecorationsWidth: register(new EditorLineDecorationsWidth()),
|
|
3192
3192
|
lineHeight: register(new EditorLineHeight()),
|
|
3193
3193
|
lineNumbers: register(new EditorRenderLineNumbersOption()),
|
|
3194
3194
|
lineNumbersMinChars: register(new EditorIntOption(77 /* EditorOption.lineNumbersMinChars */, 'lineNumbersMinChars', 5, 1, 300)),
|
|
3195
|
-
linkedEditing: register(new EditorBooleanOption(78 /* EditorOption.linkedEditing */, 'linkedEditing', false, { description: nls.localize(
|
|
3196
|
-
links: register(new EditorBooleanOption(79 /* EditorOption.links */, 'links', true, { description: nls.localize(
|
|
3197
|
-
matchBrackets: register(new EditorStringEnumOption(80 /* EditorOption.matchBrackets */, 'matchBrackets', 'always', ['always', 'near', 'never'], { description: nls.localize(
|
|
3195
|
+
linkedEditing: register(new EditorBooleanOption(78 /* EditorOption.linkedEditing */, 'linkedEditing', false, { description: nls.localize(515, "Controls whether the editor has linked editing enabled. Depending on the language, related symbols such as HTML tags, are updated while editing.") })),
|
|
3196
|
+
links: register(new EditorBooleanOption(79 /* EditorOption.links */, 'links', true, { description: nls.localize(516, "Controls whether the editor should detect links and make them clickable.") })),
|
|
3197
|
+
matchBrackets: register(new EditorStringEnumOption(80 /* EditorOption.matchBrackets */, 'matchBrackets', 'always', ['always', 'near', 'never'], { description: nls.localize(517, "Highlight matching brackets.") })),
|
|
3198
3198
|
minimap: register(new EditorMinimap()),
|
|
3199
3199
|
mouseStyle: register(new EditorStringEnumOption(82 /* EditorOption.mouseStyle */, 'mouseStyle', 'text', ['text', 'default', 'copy'])),
|
|
3200
|
-
mouseWheelScrollSensitivity: register(new EditorFloatOption(83 /* EditorOption.mouseWheelScrollSensitivity */, 'mouseWheelScrollSensitivity', 1, x => (x === 0 ? 1 : x), { markdownDescription: nls.localize(
|
|
3200
|
+
mouseWheelScrollSensitivity: register(new EditorFloatOption(83 /* EditorOption.mouseWheelScrollSensitivity */, 'mouseWheelScrollSensitivity', 1, x => (x === 0 ? 1 : x), { markdownDescription: nls.localize(518, "A multiplier to be used on the `deltaX` and `deltaY` of mouse wheel scroll events.") })),
|
|
3201
3201
|
mouseWheelZoom: register(new EditorBooleanOption(84 /* EditorOption.mouseWheelZoom */, 'mouseWheelZoom', false, {
|
|
3202
3202
|
markdownDescription: platform.isMacintosh
|
|
3203
|
-
? nls.localize(
|
|
3204
|
-
: nls.localize(
|
|
3203
|
+
? nls.localize(519, "Zoom the font of the editor when using mouse wheel and holding `Cmd`.")
|
|
3204
|
+
: nls.localize(520, "Zoom the font of the editor when using mouse wheel and holding `Ctrl`.")
|
|
3205
3205
|
})),
|
|
3206
|
-
multiCursorMergeOverlapping: register(new EditorBooleanOption(85 /* EditorOption.multiCursorMergeOverlapping */, 'multiCursorMergeOverlapping', true, { description: nls.localize(
|
|
3206
|
+
multiCursorMergeOverlapping: register(new EditorBooleanOption(85 /* EditorOption.multiCursorMergeOverlapping */, 'multiCursorMergeOverlapping', true, { description: nls.localize(521, "Merge multiple cursors when they are overlapping.") })),
|
|
3207
3207
|
multiCursorModifier: register(new EditorEnumOption(86 /* EditorOption.multiCursorModifier */, 'multiCursorModifier', 'altKey', 'alt', ['ctrlCmd', 'alt'], _multiCursorModifierFromString, {
|
|
3208
3208
|
markdownEnumDescriptions: [
|
|
3209
|
-
nls.localize(
|
|
3210
|
-
nls.localize(
|
|
3209
|
+
nls.localize(522, "Maps to `Control` on Windows and Linux and to `Command` on macOS."),
|
|
3210
|
+
nls.localize(523, "Maps to `Alt` on Windows and Linux and to `Option` on macOS.")
|
|
3211
3211
|
],
|
|
3212
|
-
markdownDescription: nls.localize(
|
|
3212
|
+
markdownDescription: nls.localize(524, "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).")
|
|
3213
3213
|
|
|
3214
3214
|
|
|
3215
3215
|
|
|
@@ -3217,171 +3217,171 @@ export const EditorOptions = {
|
|
|
3217
3217
|
|
|
3218
3218
|
|
|
3219
3219
|
})),
|
|
3220
|
-
mouseMiddleClickAction: register(new EditorStringEnumOption(87 /* EditorOption.mouseMiddleClickAction */, 'mouseMiddleClickAction', 'default', ['default', 'openLink', 'ctrlLeftClick'], { description: nls.localize(
|
|
3220
|
+
mouseMiddleClickAction: register(new EditorStringEnumOption(87 /* EditorOption.mouseMiddleClickAction */, 'mouseMiddleClickAction', 'default', ['default', 'openLink', 'ctrlLeftClick'], { description: nls.localize(525, "Controls what happens when middle mouse button is clicked in the editor.") })),
|
|
3221
3221
|
multiCursorPaste: register(new EditorStringEnumOption(88 /* EditorOption.multiCursorPaste */, 'multiCursorPaste', 'spread', ['spread', 'full'], {
|
|
3222
3222
|
markdownEnumDescriptions: [
|
|
3223
|
-
nls.localize(
|
|
3224
|
-
nls.localize(
|
|
3223
|
+
nls.localize(526, "Each cursor pastes a single line of the text."),
|
|
3224
|
+
nls.localize(527, "Each cursor pastes the full text.")
|
|
3225
3225
|
],
|
|
3226
|
-
markdownDescription: nls.localize(
|
|
3226
|
+
markdownDescription: nls.localize(528, "Controls pasting when the line count of the pasted text matches the cursor count.")
|
|
3227
3227
|
})),
|
|
3228
3228
|
multiCursorLimit: register(new EditorIntOption(89 /* EditorOption.multiCursorLimit */, 'multiCursorLimit', 10000, 1, 100000, {
|
|
3229
|
-
markdownDescription: nls.localize(
|
|
3229
|
+
markdownDescription: nls.localize(529, "Controls the max number of cursors that can be in an active editor at once.")
|
|
3230
3230
|
})),
|
|
3231
3231
|
occurrencesHighlight: register(new EditorStringEnumOption(90 /* EditorOption.occurrencesHighlight */, 'occurrencesHighlight', 'singleFile', ['off', 'singleFile', 'multiFile'], {
|
|
3232
3232
|
markdownEnumDescriptions: [
|
|
3233
|
-
nls.localize(
|
|
3234
|
-
nls.localize(
|
|
3235
|
-
nls.localize(
|
|
3233
|
+
nls.localize(530, "Does not highlight occurrences."),
|
|
3234
|
+
nls.localize(531, "Highlights occurrences only in the current file."),
|
|
3235
|
+
nls.localize(532, "Experimental: Highlights occurrences across all valid open files.")
|
|
3236
3236
|
],
|
|
3237
|
-
markdownDescription: nls.localize(
|
|
3237
|
+
markdownDescription: nls.localize(533, "Controls whether occurrences should be highlighted across open files.")
|
|
3238
3238
|
})),
|
|
3239
3239
|
occurrencesHighlightDelay: register(new EditorIntOption(91 /* EditorOption.occurrencesHighlightDelay */, 'occurrencesHighlightDelay', 0, 0, 2000, {
|
|
3240
|
-
description: nls.localize(
|
|
3240
|
+
description: nls.localize(534, "Controls the delay in milliseconds after which occurrences are highlighted."),
|
|
3241
3241
|
tags: ['preview']
|
|
3242
3242
|
})),
|
|
3243
|
-
overtypeOnPaste: register(new EditorBooleanOption(93 /* EditorOption.overtypeOnPaste */, 'overtypeOnPaste', true, { description: nls.localize(
|
|
3244
|
-
overviewRulerBorder: register(new EditorBooleanOption(94 /* EditorOption.overviewRulerBorder */, 'overviewRulerBorder', true, { description: nls.localize(
|
|
3243
|
+
overtypeOnPaste: register(new EditorBooleanOption(93 /* EditorOption.overtypeOnPaste */, 'overtypeOnPaste', true, { description: nls.localize(535, "Controls whether pasting should overtype.") })),
|
|
3244
|
+
overviewRulerBorder: register(new EditorBooleanOption(94 /* EditorOption.overviewRulerBorder */, 'overviewRulerBorder', true, { description: nls.localize(536, "Controls whether a border should be drawn around the overview ruler.") })),
|
|
3245
3245
|
overviewRulerLanes: register(new EditorIntOption(95 /* EditorOption.overviewRulerLanes */, 'overviewRulerLanes', 3, 0, 3)),
|
|
3246
3246
|
padding: register(new EditorPadding()),
|
|
3247
3247
|
pasteAs: register(new EditorPasteAs()),
|
|
3248
3248
|
parameterHints: register(new EditorParameterHints()),
|
|
3249
3249
|
peekWidgetDefaultFocus: register(new EditorStringEnumOption(99 /* EditorOption.peekWidgetDefaultFocus */, 'peekWidgetDefaultFocus', 'tree', ['tree', 'editor'], {
|
|
3250
3250
|
enumDescriptions: [
|
|
3251
|
-
nls.localize(
|
|
3252
|
-
nls.localize(
|
|
3251
|
+
nls.localize(537, "Focus the tree when opening peek"),
|
|
3252
|
+
nls.localize(538, "Focus the editor when opening peek")
|
|
3253
3253
|
],
|
|
3254
|
-
description: nls.localize(
|
|
3254
|
+
description: nls.localize(539, "Controls whether to focus the inline editor or the tree in the peek widget.")
|
|
3255
3255
|
})),
|
|
3256
3256
|
placeholder: register(new PlaceholderOption()),
|
|
3257
|
-
definitionLinkOpensInPeek: register(new EditorBooleanOption(101 /* EditorOption.definitionLinkOpensInPeek */, 'definitionLinkOpensInPeek', false, { description: nls.localize(
|
|
3257
|
+
definitionLinkOpensInPeek: register(new EditorBooleanOption(101 /* EditorOption.definitionLinkOpensInPeek */, 'definitionLinkOpensInPeek', false, { description: nls.localize(540, "Controls whether the Go to Definition mouse gesture always opens the peek widget.") })),
|
|
3258
3258
|
quickSuggestions: register(new EditorQuickSuggestions()),
|
|
3259
3259
|
quickSuggestionsDelay: register(new EditorIntOption(103 /* EditorOption.quickSuggestionsDelay */, 'quickSuggestionsDelay', 10, 0, 1073741824 /* Constants.MAX_SAFE_SMALL_INTEGER */, {
|
|
3260
|
-
description: nls.localize(
|
|
3260
|
+
description: nls.localize(541, "Controls the delay in milliseconds after which quick suggestions will show up."),
|
|
3261
3261
|
experiment: {
|
|
3262
3262
|
mode: 'auto'
|
|
3263
3263
|
}
|
|
3264
3264
|
})),
|
|
3265
3265
|
readOnly: register(new EditorBooleanOption(104 /* EditorOption.readOnly */, 'readOnly', false)),
|
|
3266
3266
|
readOnlyMessage: register(new ReadonlyMessage()),
|
|
3267
|
-
renameOnType: register(new EditorBooleanOption(106 /* EditorOption.renameOnType */, 'renameOnType', false, { description: nls.localize(
|
|
3268
|
-
renderControlCharacters: register(new EditorBooleanOption(108 /* EditorOption.renderControlCharacters */, 'renderControlCharacters', true, { description: nls.localize(
|
|
3269
|
-
renderFinalNewline: register(new EditorStringEnumOption(109 /* EditorOption.renderFinalNewline */, 'renderFinalNewline', (platform.isLinux ? 'dimmed' : 'on'), ['off', 'on', 'dimmed'], { description: nls.localize(
|
|
3267
|
+
renameOnType: register(new EditorBooleanOption(106 /* EditorOption.renameOnType */, 'renameOnType', false, { description: nls.localize(542, "Controls whether the editor auto renames on type."), markdownDeprecationMessage: nls.localize(543, "Deprecated, use `#editor.linkedEditing#` instead.") })),
|
|
3268
|
+
renderControlCharacters: register(new EditorBooleanOption(108 /* EditorOption.renderControlCharacters */, 'renderControlCharacters', true, { description: nls.localize(544, "Controls whether the editor should render control characters."), restricted: true })),
|
|
3269
|
+
renderFinalNewline: register(new EditorStringEnumOption(109 /* EditorOption.renderFinalNewline */, 'renderFinalNewline', (platform.isLinux ? 'dimmed' : 'on'), ['off', 'on', 'dimmed'], { description: nls.localize(545, "Render last line number when the file ends with a newline.") })),
|
|
3270
3270
|
renderLineHighlight: register(new EditorStringEnumOption(110 /* EditorOption.renderLineHighlight */, 'renderLineHighlight', 'line', ['none', 'gutter', 'line', 'all'], {
|
|
3271
3271
|
enumDescriptions: [
|
|
3272
3272
|
'',
|
|
3273
3273
|
'',
|
|
3274
3274
|
'',
|
|
3275
|
-
nls.localize(
|
|
3275
|
+
nls.localize(546, "Highlights both the gutter and the current line."),
|
|
3276
3276
|
],
|
|
3277
|
-
description: nls.localize(
|
|
3277
|
+
description: nls.localize(547, "Controls how the editor should render the current line highlight.")
|
|
3278
3278
|
})),
|
|
3279
|
-
renderLineHighlightOnlyWhenFocus: register(new EditorBooleanOption(111 /* EditorOption.renderLineHighlightOnlyWhenFocus */, 'renderLineHighlightOnlyWhenFocus', false, { description: nls.localize(
|
|
3279
|
+
renderLineHighlightOnlyWhenFocus: register(new EditorBooleanOption(111 /* EditorOption.renderLineHighlightOnlyWhenFocus */, 'renderLineHighlightOnlyWhenFocus', false, { description: nls.localize(548, "Controls if the editor should render the current line highlight only when the editor is focused.") })),
|
|
3280
3280
|
renderValidationDecorations: register(new EditorStringEnumOption(112 /* EditorOption.renderValidationDecorations */, 'renderValidationDecorations', 'editable', ['editable', 'on', 'off'])),
|
|
3281
3281
|
renderWhitespace: register(new EditorStringEnumOption(113 /* EditorOption.renderWhitespace */, 'renderWhitespace', 'selection', ['none', 'boundary', 'selection', 'trailing', 'all'], {
|
|
3282
3282
|
enumDescriptions: [
|
|
3283
3283
|
'',
|
|
3284
|
-
nls.localize(
|
|
3285
|
-
nls.localize(
|
|
3286
|
-
nls.localize(
|
|
3284
|
+
nls.localize(549, "Render whitespace characters except for single spaces between words."),
|
|
3285
|
+
nls.localize(550, "Render whitespace characters only on selected text."),
|
|
3286
|
+
nls.localize(551, "Render only trailing whitespace characters."),
|
|
3287
3287
|
''
|
|
3288
3288
|
],
|
|
3289
|
-
description: nls.localize(
|
|
3289
|
+
description: nls.localize(552, "Controls how the editor should render whitespace characters.")
|
|
3290
3290
|
})),
|
|
3291
3291
|
revealHorizontalRightPadding: register(new EditorIntOption(114 /* EditorOption.revealHorizontalRightPadding */, 'revealHorizontalRightPadding', 15, 0, 1000)),
|
|
3292
|
-
roundedSelection: register(new EditorBooleanOption(115 /* EditorOption.roundedSelection */, 'roundedSelection', true, { description: nls.localize(
|
|
3292
|
+
roundedSelection: register(new EditorBooleanOption(115 /* EditorOption.roundedSelection */, 'roundedSelection', true, { description: nls.localize(553, "Controls whether selections should have rounded corners.") })),
|
|
3293
3293
|
rulers: register(new EditorRulers()),
|
|
3294
3294
|
scrollbar: register(new EditorScrollbar()),
|
|
3295
|
-
scrollBeyondLastColumn: register(new EditorIntOption(118 /* EditorOption.scrollBeyondLastColumn */, 'scrollBeyondLastColumn', 4, 0, 1073741824 /* Constants.MAX_SAFE_SMALL_INTEGER */, { description: nls.localize(
|
|
3296
|
-
scrollBeyondLastLine: register(new EditorBooleanOption(119 /* EditorOption.scrollBeyondLastLine */, 'scrollBeyondLastLine', true, { description: nls.localize(
|
|
3297
|
-
scrollOnMiddleClick: register(new EditorBooleanOption(171 /* EditorOption.scrollOnMiddleClick */, 'scrollOnMiddleClick', false, { description: nls.localize(
|
|
3298
|
-
scrollPredominantAxis: register(new EditorBooleanOption(120 /* EditorOption.scrollPredominantAxis */, 'scrollPredominantAxis', true, { description: nls.localize(
|
|
3295
|
+
scrollBeyondLastColumn: register(new EditorIntOption(118 /* EditorOption.scrollBeyondLastColumn */, 'scrollBeyondLastColumn', 4, 0, 1073741824 /* Constants.MAX_SAFE_SMALL_INTEGER */, { description: nls.localize(554, "Controls the number of extra characters beyond which the editor will scroll horizontally.") })),
|
|
3296
|
+
scrollBeyondLastLine: register(new EditorBooleanOption(119 /* EditorOption.scrollBeyondLastLine */, 'scrollBeyondLastLine', true, { description: nls.localize(555, "Controls whether the editor will scroll beyond the last line.") })),
|
|
3297
|
+
scrollOnMiddleClick: register(new EditorBooleanOption(171 /* EditorOption.scrollOnMiddleClick */, 'scrollOnMiddleClick', false, { description: nls.localize(556, "Controls whether the editor will scroll when the middle button is pressed.") })),
|
|
3298
|
+
scrollPredominantAxis: register(new EditorBooleanOption(120 /* EditorOption.scrollPredominantAxis */, 'scrollPredominantAxis', true, { description: nls.localize(557, "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.") })),
|
|
3299
3299
|
selectionClipboard: register(new EditorBooleanOption(121 /* EditorOption.selectionClipboard */, 'selectionClipboard', true, {
|
|
3300
|
-
description: nls.localize(
|
|
3300
|
+
description: nls.localize(558, "Controls whether the Linux primary clipboard should be supported."),
|
|
3301
3301
|
included: platform.isLinux
|
|
3302
3302
|
})),
|
|
3303
|
-
selectionHighlight: register(new EditorBooleanOption(122 /* EditorOption.selectionHighlight */, 'selectionHighlight', true, { description: nls.localize(
|
|
3304
|
-
selectionHighlightMaxLength: register(new EditorIntOption(123 /* EditorOption.selectionHighlightMaxLength */, 'selectionHighlightMaxLength', 200, 0, 1073741824 /* Constants.MAX_SAFE_SMALL_INTEGER */, { description: nls.localize(
|
|
3305
|
-
selectionHighlightMultiline: register(new EditorBooleanOption(124 /* EditorOption.selectionHighlightMultiline */, 'selectionHighlightMultiline', false, { description: nls.localize(
|
|
3303
|
+
selectionHighlight: register(new EditorBooleanOption(122 /* EditorOption.selectionHighlight */, 'selectionHighlight', true, { description: nls.localize(559, "Controls whether the editor should highlight matches similar to the selection.") })),
|
|
3304
|
+
selectionHighlightMaxLength: register(new EditorIntOption(123 /* EditorOption.selectionHighlightMaxLength */, 'selectionHighlightMaxLength', 200, 0, 1073741824 /* Constants.MAX_SAFE_SMALL_INTEGER */, { description: nls.localize(560, "Controls how many characters can be in the selection before similiar matches are not highlighted. Set to zero for unlimited.") })),
|
|
3305
|
+
selectionHighlightMultiline: register(new EditorBooleanOption(124 /* EditorOption.selectionHighlightMultiline */, 'selectionHighlightMultiline', false, { description: nls.localize(561, "Controls whether the editor should highlight selection matches that span multiple lines.") })),
|
|
3306
3306
|
selectOnLineNumbers: register(new EditorBooleanOption(125 /* EditorOption.selectOnLineNumbers */, 'selectOnLineNumbers', true)),
|
|
3307
3307
|
showFoldingControls: register(new EditorStringEnumOption(126 /* EditorOption.showFoldingControls */, 'showFoldingControls', 'mouseover', ['always', 'never', 'mouseover'], {
|
|
3308
3308
|
enumDescriptions: [
|
|
3309
|
-
nls.localize(
|
|
3310
|
-
nls.localize(
|
|
3311
|
-
nls.localize(
|
|
3309
|
+
nls.localize(562, "Always show the folding controls."),
|
|
3310
|
+
nls.localize(563, "Never show the folding controls and reduce the gutter size."),
|
|
3311
|
+
nls.localize(564, "Only show the folding controls when the mouse is over the gutter."),
|
|
3312
3312
|
],
|
|
3313
|
-
description: nls.localize(
|
|
3313
|
+
description: nls.localize(565, "Controls when the folding controls on the gutter are shown.")
|
|
3314
3314
|
})),
|
|
3315
|
-
showUnused: register(new EditorBooleanOption(127 /* EditorOption.showUnused */, 'showUnused', true, { description: nls.localize(
|
|
3316
|
-
showDeprecated: register(new EditorBooleanOption(157 /* EditorOption.showDeprecated */, 'showDeprecated', true, { description: nls.localize(
|
|
3315
|
+
showUnused: register(new EditorBooleanOption(127 /* EditorOption.showUnused */, 'showUnused', true, { description: nls.localize(566, "Controls fading out of unused code.") })),
|
|
3316
|
+
showDeprecated: register(new EditorBooleanOption(157 /* EditorOption.showDeprecated */, 'showDeprecated', true, { description: nls.localize(567, "Controls strikethrough deprecated variables.") })),
|
|
3317
3317
|
inlayHints: register(new EditorInlayHints()),
|
|
3318
3318
|
snippetSuggestions: register(new EditorStringEnumOption(128 /* EditorOption.snippetSuggestions */, 'snippetSuggestions', 'inline', ['top', 'bottom', 'inline', 'none'], {
|
|
3319
3319
|
enumDescriptions: [
|
|
3320
|
-
nls.localize(
|
|
3321
|
-
nls.localize(
|
|
3322
|
-
nls.localize(
|
|
3323
|
-
nls.localize(
|
|
3320
|
+
nls.localize(568, "Show snippet suggestions on top of other suggestions."),
|
|
3321
|
+
nls.localize(569, "Show snippet suggestions below other suggestions."),
|
|
3322
|
+
nls.localize(570, "Show snippets suggestions with other suggestions."),
|
|
3323
|
+
nls.localize(571, "Do not show snippet suggestions."),
|
|
3324
3324
|
],
|
|
3325
|
-
description: nls.localize(
|
|
3325
|
+
description: nls.localize(572, "Controls whether snippets are shown with other suggestions and how they are sorted.")
|
|
3326
3326
|
})),
|
|
3327
3327
|
smartSelect: register(new SmartSelect()),
|
|
3328
|
-
smoothScrolling: register(new EditorBooleanOption(130 /* EditorOption.smoothScrolling */, 'smoothScrolling', false, { description: nls.localize(
|
|
3328
|
+
smoothScrolling: register(new EditorBooleanOption(130 /* EditorOption.smoothScrolling */, 'smoothScrolling', false, { description: nls.localize(573, "Controls whether the editor will scroll using an animation.") })),
|
|
3329
3329
|
stopRenderingLineAfter: register(new EditorIntOption(133 /* EditorOption.stopRenderingLineAfter */, 'stopRenderingLineAfter', 10000, -1, 1073741824 /* Constants.MAX_SAFE_SMALL_INTEGER */)),
|
|
3330
3330
|
suggest: register(new EditorSuggest()),
|
|
3331
3331
|
inlineSuggest: register(new InlineEditorSuggest()),
|
|
3332
|
-
inlineCompletionsAccessibilityVerbose: register(new EditorBooleanOption(169 /* EditorOption.inlineCompletionsAccessibilityVerbose */, 'inlineCompletionsAccessibilityVerbose', false, { description: nls.localize(
|
|
3333
|
-
suggestFontSize: register(new EditorIntOption(135 /* EditorOption.suggestFontSize */, 'suggestFontSize', 0, 0, 1000, { markdownDescription: nls.localize(
|
|
3334
|
-
suggestLineHeight: register(new EditorIntOption(136 /* EditorOption.suggestLineHeight */, 'suggestLineHeight', 0, 0, 1000, { markdownDescription: nls.localize(
|
|
3335
|
-
suggestOnTriggerCharacters: register(new EditorBooleanOption(137 /* EditorOption.suggestOnTriggerCharacters */, 'suggestOnTriggerCharacters', true, { description: nls.localize(
|
|
3332
|
+
inlineCompletionsAccessibilityVerbose: register(new EditorBooleanOption(169 /* EditorOption.inlineCompletionsAccessibilityVerbose */, 'inlineCompletionsAccessibilityVerbose', false, { description: nls.localize(574, "Controls whether the accessibility hint should be provided to screen reader users when an inline completion is shown.") })),
|
|
3333
|
+
suggestFontSize: register(new EditorIntOption(135 /* EditorOption.suggestFontSize */, 'suggestFontSize', 0, 0, 1000, { markdownDescription: nls.localize(575, "Font size for the suggest widget. When set to {0}, the value of {1} is used.", '`0`', '`#editor.fontSize#`') })),
|
|
3334
|
+
suggestLineHeight: register(new EditorIntOption(136 /* EditorOption.suggestLineHeight */, 'suggestLineHeight', 0, 0, 1000, { markdownDescription: nls.localize(576, "Line height for the suggest widget. When set to {0}, the value of {1} is used. The minimum value is 8.", '`0`', '`#editor.lineHeight#`') })),
|
|
3335
|
+
suggestOnTriggerCharacters: register(new EditorBooleanOption(137 /* EditorOption.suggestOnTriggerCharacters */, 'suggestOnTriggerCharacters', true, { description: nls.localize(577, "Controls whether suggestions should automatically show up when typing trigger characters.") })),
|
|
3336
3336
|
suggestSelection: register(new EditorStringEnumOption(138 /* EditorOption.suggestSelection */, 'suggestSelection', 'first', ['first', 'recentlyUsed', 'recentlyUsedByPrefix'], {
|
|
3337
3337
|
markdownEnumDescriptions: [
|
|
3338
|
-
nls.localize(
|
|
3339
|
-
nls.localize(
|
|
3340
|
-
nls.localize(
|
|
3338
|
+
nls.localize(578, "Always select the first suggestion."),
|
|
3339
|
+
nls.localize(579, "Select recent suggestions unless further typing selects one, e.g. `console.| -> console.log` because `log` has been completed recently."),
|
|
3340
|
+
nls.localize(580, "Select suggestions based on previous prefixes that have completed those suggestions, e.g. `co -> console` and `con -> const`."),
|
|
3341
3341
|
],
|
|
3342
|
-
description: nls.localize(
|
|
3342
|
+
description: nls.localize(581, "Controls how suggestions are pre-selected when showing the suggest list.")
|
|
3343
3343
|
})),
|
|
3344
3344
|
tabCompletion: register(new EditorStringEnumOption(139 /* EditorOption.tabCompletion */, 'tabCompletion', 'off', ['on', 'off', 'onlySnippets'], {
|
|
3345
3345
|
enumDescriptions: [
|
|
3346
|
-
nls.localize(
|
|
3347
|
-
nls.localize(
|
|
3348
|
-
nls.localize(
|
|
3346
|
+
nls.localize(582, "Tab complete will insert the best matching suggestion when pressing tab."),
|
|
3347
|
+
nls.localize(583, "Disable tab completions."),
|
|
3348
|
+
nls.localize(584, "Tab complete snippets when their prefix match. Works best when 'quickSuggestions' aren't enabled."),
|
|
3349
3349
|
],
|
|
3350
|
-
description: nls.localize(
|
|
3350
|
+
description: nls.localize(585, "Enables tab completions.")
|
|
3351
3351
|
})),
|
|
3352
3352
|
tabIndex: register(new EditorIntOption(140 /* EditorOption.tabIndex */, 'tabIndex', 0, -1, 1073741824 /* Constants.MAX_SAFE_SMALL_INTEGER */)),
|
|
3353
|
-
trimWhitespaceOnDelete: register(new EditorBooleanOption(141 /* EditorOption.trimWhitespaceOnDelete */, 'trimWhitespaceOnDelete', false, { description: nls.localize(
|
|
3353
|
+
trimWhitespaceOnDelete: register(new EditorBooleanOption(141 /* EditorOption.trimWhitespaceOnDelete */, 'trimWhitespaceOnDelete', false, { description: nls.localize(586, "Controls whether the editor will also delete the next line's indentation whitespace when deleting a newline.") })),
|
|
3354
3354
|
unicodeHighlight: register(new UnicodeHighlight()),
|
|
3355
3355
|
unusualLineTerminators: register(new EditorStringEnumOption(143 /* EditorOption.unusualLineTerminators */, 'unusualLineTerminators', 'prompt', ['auto', 'off', 'prompt'], {
|
|
3356
3356
|
enumDescriptions: [
|
|
3357
|
-
nls.localize(
|
|
3358
|
-
nls.localize(
|
|
3359
|
-
nls.localize(
|
|
3357
|
+
nls.localize(587, "Unusual line terminators are automatically removed."),
|
|
3358
|
+
nls.localize(588, "Unusual line terminators are ignored."),
|
|
3359
|
+
nls.localize(589, "Unusual line terminators prompt to be removed."),
|
|
3360
3360
|
],
|
|
3361
|
-
description: nls.localize(
|
|
3361
|
+
description: nls.localize(590, "Remove unusual line terminators that might cause problems.")
|
|
3362
3362
|
})),
|
|
3363
3363
|
useShadowDOM: register(new EditorBooleanOption(144 /* EditorOption.useShadowDOM */, 'useShadowDOM', true)),
|
|
3364
|
-
useTabStops: register(new EditorBooleanOption(145 /* EditorOption.useTabStops */, 'useTabStops', true, { description: nls.localize(
|
|
3364
|
+
useTabStops: register(new EditorBooleanOption(145 /* EditorOption.useTabStops */, 'useTabStops', true, { description: nls.localize(591, "Spaces and tabs are inserted and deleted in alignment with tab stops.") })),
|
|
3365
3365
|
wordBreak: register(new EditorStringEnumOption(146 /* EditorOption.wordBreak */, 'wordBreak', 'normal', ['normal', 'keepAll'], {
|
|
3366
3366
|
markdownEnumDescriptions: [
|
|
3367
|
-
nls.localize(
|
|
3368
|
-
nls.localize(
|
|
3367
|
+
nls.localize(592, "Use the default line break rule."),
|
|
3368
|
+
nls.localize(593, "Word breaks should not be used for Chinese/Japanese/Korean (CJK) text. Non-CJK text behavior is the same as for normal."),
|
|
3369
3369
|
],
|
|
3370
|
-
description: nls.localize(
|
|
3370
|
+
description: nls.localize(594, "Controls the word break rules used for Chinese/Japanese/Korean (CJK) text.")
|
|
3371
3371
|
})),
|
|
3372
3372
|
wordSegmenterLocales: register(new WordSegmenterLocales()),
|
|
3373
|
-
wordSeparators: register(new EditorStringOption(148 /* EditorOption.wordSeparators */, 'wordSeparators', USUAL_WORD_SEPARATORS, { description: nls.localize(
|
|
3373
|
+
wordSeparators: register(new EditorStringOption(148 /* EditorOption.wordSeparators */, 'wordSeparators', USUAL_WORD_SEPARATORS, { description: nls.localize(595, "Characters that will be used as word separators when doing word related navigations or operations.") })),
|
|
3374
3374
|
wordWrap: register(new EditorStringEnumOption(149 /* EditorOption.wordWrap */, 'wordWrap', 'off', ['off', 'on', 'wordWrapColumn', 'bounded'], {
|
|
3375
3375
|
markdownEnumDescriptions: [
|
|
3376
|
-
nls.localize(
|
|
3377
|
-
nls.localize(
|
|
3378
|
-
nls.localize(
|
|
3376
|
+
nls.localize(596, "Lines will never wrap."),
|
|
3377
|
+
nls.localize(597, "Lines will wrap at the viewport width."),
|
|
3378
|
+
nls.localize(598, "Lines will wrap at `#editor.wordWrapColumn#`."),
|
|
3379
3379
|
|
|
3380
3380
|
|
|
3381
3381
|
|
|
3382
3382
|
|
|
3383
3383
|
|
|
3384
|
-
nls.localize(
|
|
3384
|
+
nls.localize(599, "Lines will wrap at the minimum of viewport and `#editor.wordWrapColumn#`."),
|
|
3385
3385
|
|
|
3386
3386
|
|
|
3387
3387
|
|
|
@@ -3389,7 +3389,7 @@ export const EditorOptions = {
|
|
|
3389
3389
|
|
|
3390
3390
|
|
|
3391
3391
|
],
|
|
3392
|
-
description: nls.localize(
|
|
3392
|
+
description: nls.localize(600, "Controls how lines should wrap.")
|
|
3393
3393
|
|
|
3394
3394
|
|
|
3395
3395
|
|
|
@@ -3404,7 +3404,7 @@ export const EditorOptions = {
|
|
|
3404
3404
|
// allow-any-unicode-next-line
|
|
3405
3405
|
'([{‘“〈《「『【〔([{「£¥$£¥++')),
|
|
3406
3406
|
wordWrapColumn: register(new EditorIntOption(152 /* EditorOption.wordWrapColumn */, 'wordWrapColumn', 80, 1, 1073741824 /* Constants.MAX_SAFE_SMALL_INTEGER */, {
|
|
3407
|
-
markdownDescription: nls.localize(
|
|
3407
|
+
markdownDescription: nls.localize(601, "Controls the wrapping column of the editor when `#editor.wordWrap#` is `wordWrapColumn` or `bounded`.")
|
|
3408
3408
|
|
|
3409
3409
|
|
|
3410
3410
|
|
|
@@ -3414,20 +3414,20 @@ export const EditorOptions = {
|
|
|
3414
3414
|
})),
|
|
3415
3415
|
wordWrapOverride1: register(new EditorStringEnumOption(153 /* EditorOption.wordWrapOverride1 */, 'wordWrapOverride1', 'inherit', ['off', 'on', 'inherit'])),
|
|
3416
3416
|
wordWrapOverride2: register(new EditorStringEnumOption(154 /* EditorOption.wordWrapOverride2 */, 'wordWrapOverride2', 'inherit', ['off', 'on', 'inherit'])),
|
|
3417
|
-
wrapOnEscapedLineFeeds: register(new EditorBooleanOption(160 /* EditorOption.wrapOnEscapedLineFeeds */, 'wrapOnEscapedLineFeeds', false, { markdownDescription: nls.localize(
|
|
3417
|
+
wrapOnEscapedLineFeeds: register(new EditorBooleanOption(160 /* EditorOption.wrapOnEscapedLineFeeds */, 'wrapOnEscapedLineFeeds', false, { markdownDescription: nls.localize(602, "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```") })),
|
|
3418
3418
|
// Leave these at the end (because they have dependencies!)
|
|
3419
3419
|
effectiveCursorStyle: register(new EffectiveCursorStyle()),
|
|
3420
3420
|
editorClassName: register(new EditorClassName()),
|
|
3421
3421
|
defaultColorDecorators: register(new EditorStringEnumOption(167 /* EditorOption.defaultColorDecorators */, 'defaultColorDecorators', 'auto', ['auto', 'always', 'never'], {
|
|
3422
3422
|
enumDescriptions: [
|
|
3423
|
-
nls.localize(
|
|
3424
|
-
nls.localize(
|
|
3425
|
-
nls.localize(
|
|
3423
|
+
nls.localize(603, "Show default color decorators only when no extension provides colors decorators."),
|
|
3424
|
+
nls.localize(604, "Always show default color decorators."),
|
|
3425
|
+
nls.localize(605, "Never show default color decorators."),
|
|
3426
3426
|
],
|
|
3427
|
-
description: nls.localize(
|
|
3427
|
+
description: nls.localize(606, "Controls whether inline color decorations should be shown using the default document color provider.")
|
|
3428
3428
|
})),
|
|
3429
3429
|
pixelRatio: register(new EditorPixelRatio()),
|
|
3430
|
-
tabFocusMode: register(new EditorBooleanOption(164 /* EditorOption.tabFocusMode */, 'tabFocusMode', false, { markdownDescription: nls.localize(
|
|
3430
|
+
tabFocusMode: register(new EditorBooleanOption(164 /* EditorOption.tabFocusMode */, 'tabFocusMode', false, { markdownDescription: nls.localize(607, "Controls whether the editor receives tabs or defers them to the workbench for navigation.") })),
|
|
3431
3431
|
layoutInfo: register(new EditorLayoutInfoComputer()),
|
|
3432
3432
|
wrappingInfo: register(new EditorWrappingInfoComputer()),
|
|
3433
3433
|
wrappingIndent: register(new WrappingIndentOption()),
|