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