@codingame/monaco-vscode-api 5.3.0 → 6.0.0
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/api.js +1 -1
- package/extensions.d.ts +4 -4
- package/localExtensionHost.js +2 -1
- package/missing-services.js +68 -22
- package/package.json +8 -8
- package/service-override/dialogs.d.ts +1 -8
- package/service-override/search.d.ts +1 -8
- package/service-override/tools/editor.js +11 -2
- package/services.js +2 -2
- package/vscode/src/vs/base/browser/canIUse.js +10 -4
- package/vscode/src/vs/base/browser/deviceAccess.js +60 -0
- package/vscode/src/vs/base/browser/dom.js +25 -9
- package/vscode/src/vs/base/browser/formattedTextRenderer.js +36 -24
- package/vscode/src/vs/base/browser/keyboardEvent.js +24 -24
- package/vscode/src/vs/base/browser/markdownRenderer.js +130 -30
- package/vscode/src/vs/base/browser/performance.js +24 -18
- package/vscode/src/vs/base/browser/ui/actionbar/actionbar.js +22 -16
- package/vscode/src/vs/base/browser/ui/breadcrumbs/breadcrumbsWidget.js +3 -2
- package/vscode/src/vs/base/browser/ui/button/button.js +19 -7
- package/vscode/src/vs/base/browser/ui/codicons/codicon/codicon.css.js +1 -1
- package/vscode/src/vs/base/browser/ui/contextview/contextview.js +43 -17
- package/vscode/src/vs/base/browser/ui/dialog/dialog.js +7 -6
- package/vscode/src/vs/base/browser/ui/dropdown/dropdown.js +4 -2
- package/vscode/src/vs/base/browser/ui/dropdown/dropdownActionViewItem.js +3 -2
- package/vscode/src/vs/base/browser/ui/findinput/findInput.js +5 -4
- package/vscode/src/vs/base/browser/ui/findinput/replaceInput.js +5 -4
- package/vscode/src/vs/base/browser/ui/hover/hover.d.ts +5 -0
- package/vscode/src/vs/base/browser/ui/hover/hoverDelegate2.js +1 -0
- package/vscode/src/vs/base/browser/ui/hover/hoverWidget.css.js +1 -1
- package/vscode/src/vs/base/browser/ui/hover/hoverWidget.js +10 -6
- package/vscode/src/vs/base/browser/ui/iconLabel/iconLabel.js +16 -1
- package/vscode/src/vs/base/browser/ui/iconLabel/iconlabel.css.js +1 -1
- package/vscode/src/vs/base/browser/ui/icons/iconSelectBox.js +2 -1
- package/vscode/src/vs/base/browser/ui/inputbox/inputBox.js +17 -9
- package/vscode/src/vs/base/browser/ui/list/list.js +12 -1
- package/vscode/src/vs/base/browser/ui/list/listView.js +19 -11
- package/vscode/src/vs/base/browser/ui/list/listWidget.js +17 -16
- package/vscode/src/vs/base/browser/ui/menu/menu.js +17 -15
- package/vscode/src/vs/base/browser/ui/menu/menubar.js +14 -14
- package/vscode/src/vs/base/browser/ui/resizable/resizable.js +9 -9
- package/vscode/src/vs/base/browser/ui/sash/sash.js +30 -18
- package/vscode/src/vs/base/browser/ui/scrollbar/horizontalScrollbar.js +5 -4
- package/vscode/src/vs/base/browser/ui/scrollbar/scrollableElement.js +3 -3
- package/vscode/src/vs/base/browser/ui/scrollbar/scrollbarVisibilityController.js +3 -2
- package/vscode/src/vs/base/browser/ui/scrollbar/verticalScrollbar.js +3 -2
- package/vscode/src/vs/base/browser/ui/selectBox/selectBox.js +3 -0
- package/vscode/src/vs/base/browser/ui/selectBox/selectBoxCustom.js +25 -20
- package/vscode/src/vs/base/browser/ui/selectBox/selectBoxNative.js +6 -2
- package/vscode/src/vs/base/browser/ui/splitview/paneview.js +26 -24
- package/vscode/src/vs/base/browser/ui/splitview/splitview.js +33 -27
- package/vscode/src/vs/base/browser/ui/table/tableWidget.js +5 -3
- package/vscode/src/vs/base/browser/ui/toggle/toggle.js +4 -2
- package/vscode/src/vs/base/browser/ui/toolbar/toolbar.js +2 -2
- package/vscode/src/vs/base/browser/ui/tree/abstractTree.js +30 -24
- package/vscode/src/vs/base/browser/ui/tree/asyncDataTree.js +7 -7
- package/vscode/src/vs/base/browser/ui/tree/indexTreeModel.js +15 -15
- package/vscode/src/vs/base/browser/ui/tree/tree.js +13 -1
- package/vscode/src/vs/base/common/actions.js +1 -1
- package/vscode/src/vs/base/common/arrays.js +2 -5
- package/vscode/src/vs/base/common/assert.js +7 -2
- package/vscode/src/vs/base/common/async.js +38 -14
- package/vscode/src/vs/base/common/charCode.js +296 -0
- package/vscode/src/vs/base/common/codicons.d.ts +1 -0
- package/vscode/src/vs/base/common/codiconsLibrary.js +1 -0
- package/vscode/src/vs/base/common/color.js +24 -23
- package/vscode/src/vs/base/common/diff/diff.js +15 -10
- package/vscode/src/vs/base/common/event.js +83 -26
- package/vscode/src/vs/base/common/extpath.js +10 -9
- package/vscode/src/vs/base/common/filters.js +40 -32
- package/vscode/src/vs/base/common/fuzzyScorer.js +10 -9
- package/vscode/src/vs/base/common/glob.js +2 -1
- package/vscode/src/vs/base/common/hash.js +15 -10
- package/vscode/src/vs/base/common/htmlContent.js +8 -3
- package/vscode/src/vs/base/common/json.js +323 -149
- package/vscode/src/vs/base/common/jsonErrorMessages.js +10 -9
- package/vscode/src/vs/base/common/jsonFormatter.js +30 -30
- package/vscode/src/vs/base/common/keyCodes.js +591 -249
- package/vscode/src/vs/base/common/keybindingLabels.js +4 -3
- package/vscode/src/vs/base/common/keybindings.js +30 -17
- package/vscode/src/vs/base/common/labels.js +10 -10
- package/vscode/src/vs/base/common/lifecycle.js +5 -0
- package/vscode/src/vs/base/common/map.js +20 -14
- package/vscode/src/vs/base/common/marshalling.js +5 -4
- package/vscode/src/vs/base/common/marshallingIds.js +22 -0
- package/vscode/src/vs/base/common/naturalLanguage/korean.js +213 -129
- package/vscode/src/vs/base/common/network.js +3 -2
- package/vscode/src/vs/base/common/objects.js +8 -1
- package/vscode/src/vs/base/common/observableInternal/autorun.js +19 -13
- package/vscode/src/vs/base/common/observableInternal/base.js +1 -1
- package/vscode/src/vs/base/common/observableInternal/derived.js +35 -19
- package/vscode/src/vs/base/common/observableInternal/utils.js +9 -1
- package/vscode/src/vs/base/common/platform.js +26 -10
- package/vscode/src/vs/base/common/prefixTree.js +3 -0
- package/vscode/src/vs/base/common/processes.js +32 -0
- package/vscode/src/vs/base/common/resources.js +4 -3
- package/vscode/src/vs/base/common/scrollable.js +7 -1
- package/vscode/src/vs/base/common/strings.d.ts +9 -0
- package/vscode/src/vs/base/common/strings.js +94 -47
- package/vscode/src/vs/base/common/ternarySearchTree.js +54 -39
- package/vscode/src/vs/base/common/uint.js +14 -5
- package/vscode/src/vs/base/common/uri.js +41 -39
- package/vscode/src/vs/base/common/uriIpc.js +2 -1
- package/vscode/src/vs/base/common/worker/simpleWorker.js +20 -12
- package/vscode/src/vs/base/parts/ipc/common/ipc.js +77 -55
- package/vscode/src/vs/base/parts/ipc/common/ipc.net.js +108 -51
- package/vscode/src/vs/base/parts/storage/common/storage.js +3 -1
- package/vscode/src/vs/editor/browser/config/charWidthReader.js +10 -4
- package/vscode/src/vs/editor/browser/config/editorConfiguration.js +4 -3
- package/vscode/src/vs/editor/browser/config/fontMeasurements.js +21 -21
- package/vscode/src/vs/editor/browser/controller/mouseHandler.js +28 -25
- package/vscode/src/vs/editor/browser/controller/mouseTarget.js +68 -50
- package/vscode/src/vs/editor/browser/controller/pointerHandler.js +5 -3
- package/vscode/src/vs/editor/browser/controller/textAreaHandler.js +49 -44
- package/vscode/src/vs/editor/browser/controller/textAreaInput.js +8 -6
- package/vscode/src/vs/editor/browser/controller/textAreaState.js +8 -7
- package/vscode/src/vs/editor/browser/coreCommands.js +215 -198
- package/vscode/src/vs/editor/browser/editorBrowser.js +30 -1
- package/vscode/src/vs/editor/browser/editorExtensions.js +19 -10
- package/vscode/src/vs/editor/browser/services/abstractCodeEditorService.js +28 -18
- package/vscode/src/vs/editor/browser/services/editorWorkerService.js +2 -1
- package/vscode/src/vs/editor/browser/services/hoverService/hoverService.js +26 -10
- package/vscode/src/vs/editor/browser/services/hoverService/hoverWidget.js +70 -62
- package/vscode/src/vs/editor/browser/services/hoverService/updatableHoverWidget.js +5 -3
- package/vscode/src/vs/editor/browser/services/markerDecorations.js +2 -2
- package/vscode/src/vs/editor/browser/stableEditorScroll.js +4 -3
- package/vscode/src/vs/editor/browser/view/domLineBreaksComputer.js +27 -21
- package/vscode/src/vs/editor/browser/view/viewController.js +5 -4
- package/vscode/src/vs/editor/browser/view/viewLayer.js +2 -1
- package/vscode/src/vs/editor/browser/view/viewOverlays.js +9 -8
- package/vscode/src/vs/editor/browser/view/viewPart.js +15 -2
- package/vscode/src/vs/editor/browser/view/viewUserInputEvents.js +2 -1
- package/vscode/src/vs/editor/browser/view.js +9 -8
- package/vscode/src/vs/editor/browser/viewParts/blockDecorations/blockDecorations.js +2 -1
- package/vscode/src/vs/editor/browser/viewParts/contentWidgets/contentWidgets.js +47 -20
- package/vscode/src/vs/editor/browser/viewParts/currentLineHighlight/currentLineHighlight.js +7 -6
- package/vscode/src/vs/editor/browser/viewParts/decorations/decorations.js +3 -2
- package/vscode/src/vs/editor/browser/viewParts/editorScrollbar/editorScrollbar.js +19 -17
- package/vscode/src/vs/editor/browser/viewParts/glyphMargin/glyphMargin.js +16 -10
- package/vscode/src/vs/editor/browser/viewParts/indentGuides/indentGuides.js +7 -6
- package/vscode/src/vs/editor/browser/viewParts/lineNumbers/lineNumbers.js +9 -8
- package/vscode/src/vs/editor/browser/viewParts/lines/rangeUtil.js +4 -3
- package/vscode/src/vs/editor/browser/viewParts/lines/viewLine.js +29 -24
- package/vscode/src/vs/editor/browser/viewParts/lines/viewLines.js +35 -31
- package/vscode/src/vs/editor/browser/viewParts/linesDecorations/linesDecorations.js +3 -2
- package/vscode/src/vs/editor/browser/viewParts/margin/margin.js +5 -4
- package/vscode/src/vs/editor/browser/viewParts/minimap/minimap.js +39 -29
- package/vscode/src/vs/editor/browser/viewParts/minimap/minimapCharRenderer.js +9 -9
- package/vscode/src/vs/editor/browser/viewParts/minimap/minimapCharRendererFactory.js +22 -22
- package/vscode/src/vs/editor/browser/viewParts/minimap/minimapCharSheet.js +20 -7
- package/vscode/src/vs/editor/browser/viewParts/overlayWidgets/overlayWidgets.js +41 -20
- package/vscode/src/vs/editor/browser/viewParts/overviewRuler/decorationsOverviewRuler.js +37 -19
- package/vscode/src/vs/editor/browser/viewParts/overviewRuler/overviewRuler.js +7 -6
- package/vscode/src/vs/editor/browser/viewParts/rulers/rulers.js +5 -4
- package/vscode/src/vs/editor/browser/viewParts/scrollDecoration/scrollDecoration.js +4 -3
- package/vscode/src/vs/editor/browser/viewParts/selections/selections.js +33 -26
- package/vscode/src/vs/editor/browser/viewParts/viewCursors/viewCursor.js +9 -9
- package/vscode/src/vs/editor/browser/viewParts/viewCursors/viewCursors.js +22 -21
- package/vscode/src/vs/editor/browser/viewParts/viewZones/viewZones.js +6 -5
- package/vscode/src/vs/editor/browser/viewParts/whitespace/whitespace.js +18 -16
- package/vscode/src/vs/editor/browser/widget/codeEditor/codeEditorContributions.js +12 -11
- package/vscode/src/vs/editor/browser/widget/codeEditor/codeEditorWidget.js +195 -149
- package/vscode/src/vs/editor/browser/widget/diffEditor/commands.js +7 -5
- package/vscode/src/vs/editor/browser/widget/diffEditor/components/accessibleDiffViewer.js +24 -23
- package/vscode/src/vs/editor/browser/widget/diffEditor/components/diffEditorSash.js +47 -35
- package/vscode/src/vs/editor/browser/widget/diffEditor/components/diffEditorViewZones/diffEditorViewZones.js +15 -12
- package/vscode/src/vs/editor/browser/widget/diffEditor/components/diffEditorViewZones/inlineDiffDeletedCodeMargin.js +9 -6
- package/vscode/src/vs/editor/browser/widget/diffEditor/components/diffEditorViewZones/renderLines.js +10 -10
- package/vscode/src/vs/editor/browser/widget/diffEditor/delegatingEditorImpl.js +19 -18
- package/vscode/src/vs/editor/browser/widget/diffEditor/diffEditorOptions.js +7 -6
- package/vscode/src/vs/editor/browser/widget/diffEditor/diffEditorViewModel.js +9 -3
- package/vscode/src/vs/editor/browser/widget/diffEditor/diffEditorWidget.js +26 -9
- package/vscode/src/vs/editor/browser/widget/diffEditor/diffProviderFactoryService.js +2 -2
- package/vscode/src/vs/editor/browser/widget/diffEditor/features/gutterFeature.js +29 -12
- package/vscode/src/vs/editor/browser/widget/diffEditor/features/hideUnchangedRegionsFeature.js +13 -10
- package/vscode/src/vs/editor/browser/widget/diffEditor/features/overviewRulerFeature.js +2 -1
- package/vscode/src/vs/editor/browser/widget/diffEditor/style.css.js +1 -1
- package/vscode/src/vs/editor/browser/widget/diffEditor/utils.js +4 -7
- package/vscode/src/vs/editor/browser/widget/markdownRenderer/browser/markdownRenderer.js +2 -1
- package/vscode/src/vs/editor/browser/widget/multiDiffEditor/multiDiffEditorWidgetImpl.js +49 -39
- package/vscode/src/vs/editor/browser/widget/multiDiffEditor/style.css.js +1 -1
- package/vscode/src/vs/editor/common/commands/replaceCommand.js +2 -2
- package/vscode/src/vs/editor/common/commands/shiftCommand.js +6 -5
- package/vscode/src/vs/editor/common/commands/trimTrailingWhitespaceCommand.js +2 -1
- package/vscode/src/vs/editor/common/config/editorConfigurationSchema.js +2 -2
- package/vscode/src/vs/editor/common/config/editorOptions.d.ts +4 -0
- package/vscode/src/vs/editor/common/config/editorOptions.js +719 -559
- package/vscode/src/vs/editor/common/config/fontInfo.js +8 -8
- package/vscode/src/vs/editor/common/core/characterClassifier.js +8 -3
- package/vscode/src/vs/editor/common/core/cursorColumns.js +3 -2
- package/vscode/src/vs/editor/common/core/eolCounter.js +16 -8
- package/vscode/src/vs/editor/common/core/lineRange.d.ts +0 -9
- package/vscode/src/vs/editor/common/core/lineRange.js +0 -28
- package/vscode/src/vs/editor/common/core/selection.js +12 -7
- package/vscode/src/vs/editor/common/core/wordCharacterClassifier.js +12 -5
- package/vscode/src/vs/editor/common/cursor/cursor.js +34 -31
- package/vscode/src/vs/editor/common/cursor/cursorAtomicMoveOperations.js +17 -10
- package/vscode/src/vs/editor/common/cursor/cursorColumnSelection.js +3 -3
- package/vscode/src/vs/editor/common/cursor/cursorDeleteOperations.js +4 -4
- package/vscode/src/vs/editor/common/cursor/cursorMoveCommands.js +52 -50
- package/vscode/src/vs/editor/common/cursor/cursorMoveOperations.js +14 -12
- package/vscode/src/vs/editor/common/cursor/cursorTypeOperations.js +35 -33
- package/vscode/src/vs/editor/common/cursor/cursorWordOperations.js +79 -65
- package/vscode/src/vs/editor/common/cursor/oneCursor.js +7 -6
- package/vscode/src/vs/editor/common/cursorCommon.js +54 -38
- package/vscode/src/vs/editor/common/cursorEvents.js +11 -0
- package/vscode/src/vs/editor/common/diff/defaultLinesDiffComputer/defaultLinesDiffComputer.js +1 -1
- package/vscode/src/vs/editor/common/diff/defaultLinesDiffComputer/lineSequence.js +2 -1
- package/vscode/src/vs/editor/common/diff/defaultLinesDiffComputer/linesSliceCharSequence.js +43 -30
- package/vscode/src/vs/editor/common/diff/defaultLinesDiffComputer/utils.js +2 -1
- package/vscode/src/vs/editor/common/diff/legacyLinesDiffComputer.js +5 -4
- package/vscode/src/vs/editor/common/editorCommon.js +16 -1
- package/vscode/src/vs/editor/common/encodedTokenAttributes.js +71 -19
- package/vscode/src/vs/editor/common/languages/autoIndent.js +83 -89
- package/vscode/src/vs/editor/common/languages/enterAction.js +10 -20
- package/vscode/src/vs/editor/common/languages/languageConfiguration.js +9 -7
- package/vscode/src/vs/editor/common/languages/languageConfigurationRegistry.js +3 -10
- package/vscode/src/vs/editor/common/languages/linkComputer.js +94 -69
- package/vscode/src/vs/editor/common/languages/nullTokenize.js +6 -5
- package/vscode/src/vs/editor/common/languages/supports/indentRules.js +12 -5
- package/vscode/src/vs/editor/common/languages/supports/indentationLineProcessor.js +150 -0
- package/vscode/src/vs/editor/common/languages/supports/languageBracketsConfiguration.d.ts +2 -0
- package/vscode/src/vs/editor/common/languages/supports/languageBracketsConfiguration.js +5 -0
- package/vscode/src/vs/editor/common/languages/supports/onEnter.js +4 -3
- package/vscode/src/vs/editor/common/languages/supports/richEditBrackets.js +3 -3
- package/vscode/src/vs/editor/common/languages/supports/tokenization.js +25 -24
- package/vscode/src/vs/editor/common/languages/supports.d.ts +5 -1
- package/vscode/src/vs/editor/common/languages/supports.js +13 -1
- package/vscode/src/vs/editor/common/languages/textToHtmlTokenizer.js +14 -12
- package/vscode/src/vs/editor/common/languages.d.ts +6 -15
- package/vscode/src/vs/editor/common/languages.js +204 -113
- package/vscode/src/vs/editor/common/model/bracketPairsTextModelPart/bracketPairsTree/ast.js +18 -10
- package/vscode/src/vs/editor/common/model/bracketPairsTextModelPart/bracketPairsTree/bracketPairsTree.js +18 -16
- package/vscode/src/vs/editor/common/model/bracketPairsTextModelPart/bracketPairsTree/brackets.js +4 -4
- package/vscode/src/vs/editor/common/model/bracketPairsTextModelPart/bracketPairsTree/concat23Trees.js +3 -3
- package/vscode/src/vs/editor/common/model/bracketPairsTextModelPart/bracketPairsTree/parser.js +8 -7
- package/vscode/src/vs/editor/common/model/bracketPairsTextModelPart/bracketPairsTree/tokenizer.js +15 -33
- package/vscode/src/vs/editor/common/model/bracketPairsTextModelPart/fixBrackets.js +5 -4
- package/vscode/src/vs/editor/common/model/editStack.js +6 -4
- package/vscode/src/vs/editor/common/model/indentationGuesser.js +7 -6
- package/vscode/src/vs/editor/common/model/intervalTree.js +119 -71
- package/vscode/src/vs/editor/common/model/pieceTreeTextBuffer/pieceTreeBase.js +17 -16
- package/vscode/src/vs/editor/common/model/pieceTreeTextBuffer/pieceTreeTextBuffer.js +11 -11
- package/vscode/src/vs/editor/common/model/pieceTreeTextBuffer/pieceTreeTextBufferBuilder.js +5 -3
- package/vscode/src/vs/editor/common/model/pieceTreeTextBuffer/rbTreeBase.js +46 -41
- package/vscode/src/vs/editor/common/model/textModel.js +35 -26
- package/vscode/src/vs/editor/common/model/textModelSearch.js +15 -14
- package/vscode/src/vs/editor/common/model/textModelTokens.js +8 -3
- package/vscode/src/vs/editor/common/model/tokenizationTextModelPart.js +8 -5
- package/vscode/src/vs/editor/common/model/utils.js +3 -2
- package/vscode/src/vs/editor/common/model.js +46 -1
- package/vscode/src/vs/editor/common/modelLineProjectionData.js +10 -10
- package/vscode/src/vs/editor/common/services/editorBaseApi.js +5 -5
- package/vscode/src/vs/editor/common/services/findSectionHeaders.js +1 -1
- package/vscode/src/vs/editor/common/services/getIconClasses.js +6 -1
- package/vscode/src/vs/editor/common/services/languageFeatureDebounce.js +2 -2
- package/vscode/src/vs/editor/common/services/languageFeaturesService.js +2 -2
- package/vscode/src/vs/editor/common/services/languagesRegistry.js +4 -3
- package/vscode/src/vs/editor/common/services/markerDecorationsService.js +19 -18
- package/vscode/src/vs/editor/common/services/modelService.js +9 -8
- package/vscode/src/vs/editor/common/services/semanticTokensDto.js +8 -3
- package/vscode/src/vs/editor/common/services/semanticTokensProviderStyling.js +27 -16
- package/vscode/src/vs/editor/common/services/semanticTokensStylingService.js +2 -2
- package/vscode/src/vs/editor/common/services/treeViewsDndService.js +2 -2
- package/vscode/src/vs/editor/common/services/unicodeTextModelHighlighter.js +31 -18
- package/vscode/src/vs/editor/common/standaloneStrings.js +18 -39
- package/vscode/src/vs/editor/common/textModelEvents.js +14 -6
- package/vscode/src/vs/editor/common/tokenizationRegistry.js +3 -2
- package/vscode/src/vs/editor/common/tokenizationTextModelPart.js +6 -0
- package/vscode/src/vs/editor/common/tokens/contiguousTokensStore.js +7 -7
- package/vscode/src/vs/editor/common/tokens/lineTokens.d.ts +12 -1
- package/vscode/src/vs/editor/common/tokens/lineTokens.js +64 -8
- package/vscode/src/vs/editor/common/tokens/sparseMultilineTokens.js +5 -4
- package/vscode/src/vs/editor/common/tokens/sparseTokensStore.js +7 -6
- package/vscode/src/vs/editor/common/viewEventHandler.js +19 -18
- package/vscode/src/vs/editor/common/viewEvents.js +50 -19
- package/vscode/src/vs/editor/common/viewLayout/lineDecorations.js +9 -6
- package/vscode/src/vs/editor/common/viewLayout/linePart.js +12 -3
- package/vscode/src/vs/editor/common/viewLayout/viewLayout.js +25 -23
- package/vscode/src/vs/editor/common/viewLayout/viewLineRenderer.js +97 -72
- package/vscode/src/vs/editor/common/viewModel/minimapTokensColorTracker.js +3 -2
- package/vscode/src/vs/editor/common/viewModel/modelLineProjection.js +2 -1
- package/vscode/src/vs/editor/common/viewModel/monospaceLineBreaksComputer.js +30 -19
- package/vscode/src/vs/editor/common/viewModel/overviewZoneManager.js +5 -1
- package/vscode/src/vs/editor/common/viewModel/viewModelDecorations.js +11 -9
- package/vscode/src/vs/editor/common/viewModel/viewModelImpl.js +42 -38
- package/vscode/src/vs/editor/common/viewModel/viewModelLines.js +15 -8
- package/vscode/src/vs/editor/common/viewModel.js +9 -2
- package/vscode/src/vs/editor/common/viewModelEventDispatcher.js +30 -14
- package/vscode/src/vs/editor/contrib/anchorSelect/browser/anchorSelect.js +12 -10
- package/vscode/src/vs/editor/contrib/bracketMatching/browser/bracketMatching.js +15 -12
- package/vscode/src/vs/editor/contrib/caretOperations/browser/transpose.js +4 -2
- package/vscode/src/vs/editor/contrib/clipboard/browser/clipboard.js +19 -16
- package/vscode/src/vs/editor/contrib/codeAction/browser/codeAction.js +3 -2
- package/vscode/src/vs/editor/contrib/codeAction/browser/codeActionCommands.js +21 -19
- package/vscode/src/vs/editor/contrib/codeAction/browser/codeActionContributions.js +6 -6
- package/vscode/src/vs/editor/contrib/codeAction/browser/codeActionController.js +14 -11
- package/vscode/src/vs/editor/contrib/codeAction/browser/codeActionKeybindingResolver.js +2 -2
- package/vscode/src/vs/editor/contrib/codeAction/browser/codeActionMenu.js +4 -3
- package/vscode/src/vs/editor/contrib/codeAction/browser/codeActionModel.js +19 -17
- package/vscode/src/vs/editor/contrib/codeAction/browser/lightBulbWidget.js +21 -12
- package/vscode/src/vs/editor/contrib/codeAction/common/types.js +10 -4
- package/vscode/src/vs/editor/contrib/codelens/browser/codeLensCache.js +6 -6
- package/vscode/src/vs/editor/contrib/codelens/browser/codelensController.js +14 -13
- package/vscode/src/vs/editor/contrib/codelens/browser/codelensWidget.js +4 -2
- package/vscode/src/vs/editor/contrib/colorPicker/browser/colorContributions.js +8 -5
- package/vscode/src/vs/editor/contrib/colorPicker/browser/colorDetector.js +9 -8
- package/vscode/src/vs/editor/contrib/colorPicker/browser/colorHoverParticipant.js +7 -4
- package/vscode/src/vs/editor/contrib/colorPicker/browser/standaloneColorPickerActions.js +6 -4
- package/vscode/src/vs/editor/contrib/colorPicker/browser/standaloneColorPickerWidget.js +8 -5
- package/vscode/src/vs/editor/contrib/comment/browser/blockCommentCommand.js +5 -4
- package/vscode/src/vs/editor/contrib/comment/browser/comment.js +18 -16
- package/vscode/src/vs/editor/contrib/comment/browser/lineCommentCommand.js +20 -12
- package/vscode/src/vs/editor/contrib/contextmenu/browser/contextmenu.js +23 -18
- package/vscode/src/vs/editor/contrib/cursorUndo/browser/cursorUndo.js +6 -4
- package/vscode/src/vs/editor/contrib/dnd/browser/dnd.js +17 -12
- package/vscode/src/vs/editor/contrib/documentSymbols/browser/outlineModel.js +2 -2
- package/vscode/src/vs/editor/contrib/dropOrPasteInto/browser/copyPasteContribution.js +8 -6
- package/vscode/src/vs/editor/contrib/dropOrPasteInto/browser/copyPasteController.js +12 -9
- package/vscode/src/vs/editor/contrib/dropOrPasteInto/browser/dropIntoEditorContribution.js +10 -8
- package/vscode/src/vs/editor/contrib/dropOrPasteInto/browser/dropIntoEditorController.js +4 -3
- package/vscode/src/vs/editor/contrib/dropOrPasteInto/browser/postEditWidget.js +76 -34
- package/vscode/src/vs/editor/contrib/editorState/browser/editorState.js +16 -9
- package/vscode/src/vs/editor/contrib/editorState/browser/keybindingCancellation.js +6 -4
- package/vscode/src/vs/editor/contrib/find/browser/findController.js +95 -85
- package/vscode/src/vs/editor/contrib/find/browser/findDecorations.js +10 -8
- package/vscode/src/vs/editor/contrib/find/browser/findModel.js +31 -25
- package/vscode/src/vs/editor/contrib/find/browser/findOptionsWidget.js +2 -1
- package/vscode/src/vs/editor/contrib/find/browser/findState.js +17 -11
- package/vscode/src/vs/editor/contrib/find/browser/findWidget.js +58 -49
- package/vscode/src/vs/editor/contrib/find/browser/replacePattern.js +25 -19
- package/vscode/src/vs/editor/contrib/folding/browser/folding.js +68 -64
- package/vscode/src/vs/editor/contrib/folding/browser/foldingDecorations.js +14 -13
- package/vscode/src/vs/editor/contrib/folding/browser/foldingModel.js +6 -6
- package/vscode/src/vs/editor/contrib/folding/browser/foldingRanges.js +20 -14
- package/vscode/src/vs/editor/contrib/format/browser/format.js +31 -10
- package/vscode/src/vs/editor/contrib/format/browser/formatActions.js +18 -16
- package/vscode/src/vs/editor/contrib/gotoError/browser/gotoError.js +17 -14
- package/vscode/src/vs/editor/contrib/gotoError/browser/gotoErrorWidget.js +8 -5
- package/vscode/src/vs/editor/contrib/gotoError/browser/markerNavigationService.js +2 -2
- package/vscode/src/vs/editor/contrib/gotoSymbol/browser/goToCommands.js +39 -38
- package/vscode/src/vs/editor/contrib/gotoSymbol/browser/goToSymbol.js +13 -3
- package/vscode/src/vs/editor/contrib/gotoSymbol/browser/link/clickLinkGesture.js +9 -7
- package/vscode/src/vs/editor/contrib/gotoSymbol/browser/link/goToDefinitionAtPosition.js +9 -7
- package/vscode/src/vs/editor/contrib/gotoSymbol/browser/peek/referencesController.js +31 -28
- package/vscode/src/vs/editor/contrib/gotoSymbol/browser/peek/referencesWidget.js +8 -4
- package/vscode/src/vs/editor/contrib/gotoSymbol/browser/referencesModel.js +2 -6
- package/vscode/src/vs/editor/contrib/gotoSymbol/browser/symbolNavigation.js +10 -8
- package/vscode/src/vs/editor/contrib/hover/browser/contentHoverComputer.js +4 -2
- package/vscode/src/vs/editor/contrib/hover/browser/contentHoverController.js +31 -12
- package/vscode/src/vs/editor/contrib/hover/browser/contentHoverWidget.js +14 -10
- package/vscode/src/vs/editor/contrib/hover/browser/hover.css.js +1 -1
- package/vscode/src/vs/editor/contrib/hover/browser/hoverAccessibleViews.js +247 -0
- package/vscode/src/vs/editor/contrib/hover/browser/hoverActionIds.js +7 -1
- package/vscode/src/vs/editor/contrib/hover/browser/hoverActions.js +38 -34
- package/vscode/src/vs/editor/contrib/hover/browser/hoverContribution.js +7 -2
- package/vscode/src/vs/editor/contrib/hover/browser/hoverController.js +46 -17
- package/vscode/src/vs/editor/contrib/hover/browser/hoverOperation.js +37 -18
- package/vscode/src/vs/editor/contrib/hover/browser/hoverTypes.js +12 -7
- package/vscode/src/vs/editor/contrib/hover/browser/marginHoverWidget.js +9 -7
- package/vscode/src/vs/editor/contrib/hover/browser/markdownHoverParticipant.js +100 -60
- package/vscode/src/vs/editor/contrib/hover/browser/markerHoverParticipant.js +7 -4
- package/vscode/src/vs/editor/contrib/hover/browser/resizableContentWidget.js +6 -4
- package/vscode/src/vs/editor/contrib/inPlaceReplace/browser/inPlaceReplace.js +10 -11
- package/vscode/src/vs/editor/contrib/indentation/browser/indentation.js +20 -6
- package/vscode/src/vs/editor/contrib/indentation/common/indentation.js +25 -20
- package/vscode/src/vs/editor/contrib/inlayHints/browser/inlayHintsContribution.js +2 -2
- package/vscode/src/vs/editor/contrib/inlayHints/browser/inlayHintsController.js +26 -20
- package/vscode/src/vs/editor/contrib/inlayHints/browser/inlayHintsHover.js +4 -2
- package/vscode/src/vs/editor/contrib/inlayHints/browser/inlayHintsLocations.js +3 -2
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/commands.js +9 -7
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/ghostText.js +0 -1
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/ghostTextWidget.js +19 -18
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/hoverParticipant.js +9 -7
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/inlineCompletions.contribution.js +5 -2
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/inlineCompletionsAccessibleView.js +55 -0
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/inlineCompletionsController.js +10 -8
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/inlineCompletionsHintsWidget.js +26 -14
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/inlineCompletionsModel.js +8 -5
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/inlineCompletionsSource.js +2 -1
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/singleTextEdit.js +2 -1
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/suggestWidgetInlineCompletionProvider.js +2 -2
- package/vscode/src/vs/editor/contrib/inlineEdit/browser/commands.js +12 -10
- package/vscode/src/vs/editor/contrib/inlineEdit/browser/ghostTextWidget.js +3 -2
- package/vscode/src/vs/editor/contrib/inlineEdit/browser/hoverParticipant.js +8 -6
- package/vscode/src/vs/editor/contrib/inlineEdit/browser/inlineEdit.contribution.js +2 -2
- package/vscode/src/vs/editor/contrib/inlineEdit/browser/inlineEditController.js +5 -4
- package/vscode/src/vs/editor/contrib/inlineEdit/browser/inlineEditHintsWidget.js +6 -3
- package/vscode/src/vs/editor/contrib/inlineProgress/browser/inlineProgress.js +7 -4
- package/vscode/src/vs/editor/contrib/lineSelection/browser/lineSelection.js +6 -3
- package/vscode/src/vs/editor/contrib/linesOperations/browser/copyLinesCommand.js +2 -2
- package/vscode/src/vs/editor/contrib/linesOperations/browser/linesOperations.js +35 -33
- package/vscode/src/vs/editor/contrib/linesOperations/browser/moveLinesCommand.js +4 -2
- package/vscode/src/vs/editor/contrib/linkedEditing/browser/linkedEditing.js +14 -10
- package/vscode/src/vs/editor/contrib/links/browser/links.js +13 -10
- package/vscode/src/vs/editor/contrib/longLinesHelper/browser/longLinesHelper.js +6 -4
- package/vscode/src/vs/editor/contrib/message/browser/messageController.js +14 -9
- package/vscode/src/vs/editor/contrib/multicursor/browser/multicursor.js +53 -51
- package/vscode/src/vs/editor/contrib/parameterHints/browser/parameterHints.js +15 -13
- package/vscode/src/vs/editor/contrib/parameterHints/browser/parameterHintsModel.js +18 -16
- package/vscode/src/vs/editor/contrib/parameterHints/browser/parameterHintsWidget.js +19 -6
- package/vscode/src/vs/editor/contrib/peekView/browser/peekView.js +8 -7
- package/vscode/src/vs/editor/contrib/quickAccess/browser/editorNavigationQuickAccess.js +8 -6
- package/vscode/src/vs/editor/contrib/quickAccess/browser/gotoLineQuickAccess.js +5 -3
- package/vscode/src/vs/editor/contrib/quickAccess/browser/gotoSymbolQuickAccess.js +38 -34
- package/vscode/src/vs/editor/contrib/readOnlyMessage/browser/contribution.js +4 -3
- package/vscode/src/vs/editor/contrib/rename/browser/rename.js +22 -20
- package/vscode/src/vs/editor/contrib/rename/browser/renameWidget.js +15 -11
- package/vscode/src/vs/editor/contrib/sectionHeaders/browser/sectionHeaders.js +15 -12
- package/vscode/src/vs/editor/contrib/semanticTokens/browser/viewportSemanticTokens.js +2 -2
- package/vscode/src/vs/editor/contrib/smartSelect/browser/smartSelect.js +14 -11
- package/vscode/src/vs/editor/contrib/smartSelect/browser/wordSelections.js +3 -2
- package/vscode/src/vs/editor/contrib/snippet/browser/snippetController2.js +13 -10
- package/vscode/src/vs/editor/contrib/snippet/browser/snippetParser.js +100 -81
- package/vscode/src/vs/editor/contrib/snippet/browser/snippetSession.js +10 -7
- package/vscode/src/vs/editor/contrib/stickyScroll/browser/stickyScroll.css.js +1 -1
- package/vscode/src/vs/editor/contrib/stickyScroll/browser/stickyScrollActions.js +7 -5
- package/vscode/src/vs/editor/contrib/stickyScroll/browser/stickyScrollContribution.js +2 -2
- package/vscode/src/vs/editor/contrib/stickyScroll/browser/stickyScrollController.js +19 -16
- package/vscode/src/vs/editor/contrib/stickyScroll/browser/stickyScrollModelProvider.js +2 -1
- package/vscode/src/vs/editor/contrib/stickyScroll/browser/stickyScrollProvider.js +3 -2
- package/vscode/src/vs/editor/contrib/stickyScroll/browser/stickyScrollWidget.js +14 -11
- package/vscode/src/vs/editor/contrib/suggest/browser/completionModel.js +18 -10
- package/vscode/src/vs/editor/contrib/suggest/browser/suggest.js +24 -16
- package/vscode/src/vs/editor/contrib/suggest/browser/suggestCommitCharacters.js +4 -2
- package/vscode/src/vs/editor/contrib/suggest/browser/suggestController.js +83 -69
- package/vscode/src/vs/editor/contrib/suggest/browser/suggestInlineCompletions.js +6 -4
- package/vscode/src/vs/editor/contrib/suggest/browser/suggestMemory.js +6 -6
- package/vscode/src/vs/editor/contrib/suggest/browser/suggestModel.js +66 -57
- package/vscode/src/vs/editor/contrib/suggest/browser/suggestWidget.js +71 -59
- package/vscode/src/vs/editor/contrib/suggest/browser/suggestWidgetDetails.js +6 -5
- package/vscode/src/vs/editor/contrib/suggest/browser/suggestWidgetRenderer.js +10 -9
- package/vscode/src/vs/editor/contrib/suggest/browser/wordContextKey.js +3 -2
- package/vscode/src/vs/editor/contrib/suggest/browser/wordDistance.js +4 -2
- package/vscode/src/vs/editor/contrib/toggleTabFocusMode/browser/toggleTabFocusMode.js +6 -4
- package/vscode/src/vs/editor/contrib/unicodeHighlighter/browser/unicodeHighlighter.js +28 -25
- package/vscode/src/vs/editor/contrib/unusualLineTerminators/browser/unusualLineTerminators.js +7 -6
- package/vscode/src/vs/editor/contrib/wordHighlighter/browser/highlightDecorations.js +10 -10
- package/vscode/src/vs/editor/contrib/wordHighlighter/browser/wordHighlighter.js +16 -12
- package/vscode/src/vs/editor/contrib/wordOperations/browser/wordOperations.js +54 -50
- package/vscode/src/vs/editor/contrib/wordPartOperations/browser/wordPartOperations.js +21 -19
- package/vscode/src/vs/editor/contrib/zoneWidget/browser/zoneWidget.js +12 -9
- package/vscode/src/vs/editor/standalone/browser/iPadShowKeyboard/iPadShowKeyboard.js +6 -4
- package/vscode/src/vs/editor/standalone/browser/quickInput/standaloneQuickInputService.js +5 -3
- package/vscode/src/vs/editor/standalone/browser/standaloneCodeEditorService.js +5 -4
- package/vscode/src/vs/editor/standalone/browser/standaloneLayoutService.js +2 -2
- package/vscode/src/vs/editor/standalone/browser/standaloneServices.js +50 -43
- package/vscode/src/vs/editor/standalone/browser/standaloneThemeService.js +5 -5
- package/vscode/src/vs/platform/accessibility/browser/accessibilityService.js +3 -3
- package/vscode/src/vs/platform/accessibility/browser/accessibleView.js +58 -0
- package/vscode/src/vs/{workbench/contrib → platform}/accessibility/browser/accessibleView.service.js +1 -1
- package/vscode/src/vs/platform/accessibility/browser/accessibleViewRegistry.js +35 -0
- package/vscode/src/vs/platform/accessibility/common/accessibility.js +7 -1
- package/vscode/src/vs/platform/accessibilitySignal/browser/accessibilitySignalService.d.ts +3 -0
- package/vscode/src/vs/platform/accessibilitySignal/browser/accessibilitySignalService.js +61 -51
- package/vscode/src/vs/platform/accessibilitySignal/browser/accessibilitySignalService.service.d.ts +1 -0
- package/vscode/src/vs/platform/action/common/action.d.ts +4 -0
- package/vscode/src/vs/platform/actionWidget/browser/actionList.js +13 -8
- package/vscode/src/vs/platform/actionWidget/browser/actionWidget.js +16 -14
- package/vscode/src/vs/platform/actions/browser/dropdownWithPrimaryActionViewItem.js +3 -2
- package/vscode/src/vs/platform/actions/browser/menuEntryActionViewItem.js +6 -4
- package/vscode/src/vs/platform/actions/browser/toolbar.js +10 -4
- package/vscode/src/vs/platform/actions/common/actions.contribution.js +1 -0
- package/vscode/src/vs/platform/actions/common/actions.d.ts +3 -0
- package/vscode/src/vs/platform/actions/common/actions.js +14 -10
- package/vscode/src/vs/platform/actions/common/menuService.js +9 -8
- package/vscode/src/vs/platform/clipboard/browser/clipboardService.js +5 -5
- package/vscode/src/vs/platform/configuration/common/configuration.js +20 -9
- package/vscode/src/vs/platform/configuration/common/configurationModels.js +4 -3
- package/vscode/src/vs/platform/configuration/common/configurationRegistry.js +15 -15
- package/vscode/src/vs/platform/contextkey/browser/contextKeyService.js +4 -2
- package/vscode/src/vs/platform/contextkey/common/contextkey.js +98 -78
- package/vscode/src/vs/platform/contextkey/common/scanner.js +94 -69
- package/vscode/src/vs/platform/contextview/browser/contextMenuHandler.js +2 -2
- package/vscode/src/vs/platform/contextview/browser/contextViewService.js +6 -6
- package/vscode/src/vs/platform/diagnostics/common/diagnostics.js +4 -1
- package/vscode/src/vs/platform/editor/common/editor.js +14 -1
- package/vscode/src/vs/platform/extensionManagement/common/extensionEnablementService.js +9 -8
- package/vscode/src/vs/platform/extensionManagement/common/extensionManagement.d.ts +1 -0
- package/vscode/src/vs/platform/extensionManagement/common/extensionManagement.js +106 -61
- package/vscode/src/vs/platform/extensionManagement/common/extensionManagementUtil.js +5 -3
- package/vscode/src/vs/platform/extensionManagement/common/extensionStorage.js +13 -12
- package/vscode/src/vs/platform/extensionManagement/common/extensionsProfileScannerService.js +16 -9
- package/vscode/src/vs/platform/extensionManagement/common/extensionsScannerService.js +26 -26
- package/vscode/src/vs/platform/extensionResourceLoader/common/extensionResourceLoader.js +6 -4
- package/vscode/src/vs/platform/extensions/common/extensions.js +22 -1
- package/vscode/src/vs/platform/externalServices/common/serviceMachineId.js +3 -2
- package/vscode/src/vs/platform/files/browser/htmlFileSystemProvider.js +4 -4
- package/vscode/src/vs/platform/files/common/files.js +53 -25
- package/vscode/src/vs/platform/files/common/inMemoryFilesystemProvider.js +10 -10
- package/vscode/src/vs/platform/files/common/watcher.js +26 -10
- package/vscode/src/vs/platform/history/browser/contextScopedHistoryWidget.js +8 -7
- package/vscode/src/vs/platform/hover/browser/hover.js +5 -4
- package/vscode/src/vs/platform/instantiation/common/extensions.js +6 -1
- package/vscode/src/vs/platform/instantiation/common/instantiation.d.ts +5 -1
- package/vscode/src/vs/platform/instantiation/common/instantiationService.js +16 -7
- package/vscode/src/vs/platform/issue/common/issue.service.js +3 -0
- package/vscode/src/vs/platform/keybinding/common/abstractKeybindingService.js +7 -6
- package/vscode/src/vs/platform/keybinding/common/keybindingResolver.js +15 -9
- package/vscode/src/vs/platform/keybinding/common/keybindingsRegistry.d.ts +3 -0
- package/vscode/src/vs/platform/keybinding/common/keybindingsRegistry.js +12 -4
- package/vscode/src/vs/platform/keybinding/common/resolvedKeybindingItem.js +2 -1
- package/vscode/src/vs/platform/keybinding/common/usLayoutResolvedKeybinding.js +64 -63
- package/vscode/src/vs/platform/label/common/label.js +7 -0
- package/vscode/src/vs/platform/languagePacks/common/localizedStrings.js +11 -0
- package/vscode/src/vs/platform/list/browser/listService.js +3 -2
- package/vscode/src/vs/platform/markers/common/markerService.js +1 -0
- package/vscode/src/vs/platform/markers/common/markers.js +6 -1
- package/vscode/src/vs/platform/observable/common/platformObservableUtils.js +19 -0
- package/vscode/src/vs/platform/opener/browser/link.js +2 -1
- package/vscode/src/vs/platform/product/common/product.js +1 -1
- package/vscode/src/vs/platform/progress/common/progress.js +10 -47
- package/vscode/src/vs/platform/quickinput/browser/pickerQuickAccess.js +7 -0
- package/vscode/src/vs/platform/quickinput/browser/quickAccess.js +9 -8
- package/vscode/src/vs/platform/quickinput/browser/quickInput.js +81 -113
- package/vscode/src/vs/platform/quickinput/browser/quickInputActions.js +145 -0
- package/vscode/src/vs/platform/quickinput/browser/quickInputBox.js +3 -2
- package/vscode/src/vs/platform/quickinput/browser/quickInputController.js +39 -13
- package/vscode/src/vs/platform/quickinput/browser/quickInputService.js +1 -0
- package/vscode/src/vs/platform/quickinput/browser/quickInputTree.js +63 -85
- package/vscode/src/vs/platform/quickinput/browser/quickInputUtils.js +2 -1
- package/vscode/src/vs/platform/quickinput/browser/quickPickPin.js +3 -2
- package/vscode/src/vs/platform/quickinput/common/quickAccess.d.ts +16 -0
- package/vscode/src/vs/platform/quickinput/common/quickInput.d.ts +76 -1
- package/vscode/src/vs/platform/quickinput/common/quickInput.js +19 -1
- package/vscode/src/vs/platform/quickinput/common/quickInput.service.d.ts +5 -1
- package/vscode/src/vs/platform/remote/common/remoteAgentConnection.js +29 -15
- package/vscode/src/vs/platform/remote/common/remoteAuthorityResolver.js +8 -3
- package/vscode/src/vs/platform/request/common/request.js +2 -2
- package/vscode/src/vs/platform/storage/common/storage.js +22 -22
- package/vscode/src/vs/platform/telemetry/common/telemetry.js +15 -1
- package/vscode/src/vs/platform/telemetry/common/telemetry.service.d.ts +1 -0
- package/vscode/src/vs/platform/telemetry/common/telemetryUtils.js +12 -12
- package/vscode/src/vs/platform/terminal/common/capabilities/capabilities.d.ts +1 -0
- package/vscode/src/vs/platform/terminal/common/capabilities/capabilities.js +14 -0
- package/vscode/src/vs/platform/terminal/common/terminal.js +151 -1
- package/vscode/src/vs/platform/theme/common/colorUtils.js +25 -15
- package/vscode/src/vs/platform/theme/common/colors/baseColors.js +1 -1
- package/vscode/src/vs/platform/theme/common/colors/editorColors.js +66 -64
- package/vscode/src/vs/platform/tunnel/common/tunnel.js +3 -1
- package/vscode/src/vs/platform/undoRedo/common/undoRedo.js +6 -1
- package/vscode/src/vs/platform/undoRedo/common/undoRedoService.js +29 -24
- package/vscode/src/vs/platform/update/common/update.js +37 -10
- package/vscode/src/vs/platform/uriIdentity/common/uriIdentityService.js +3 -1
- package/vscode/src/vs/platform/userDataProfile/common/userDataProfile.js +12 -3
- package/vscode/src/vs/platform/userDataSync/common/abstractSynchronizer.js +56 -58
- package/vscode/src/vs/platform/userDataSync/common/userDataSync.js +75 -8
- package/vscode/src/vs/platform/userDataSync/common/userDataSyncMachines.js +6 -5
- package/vscode/src/vs/platform/userDataSync/common/userDataSyncStoreService.js +49 -48
- package/vscode/src/vs/platform/window/common/window.js +24 -7
- package/vscode/src/vs/platform/workspace/common/workspace.js +7 -1
- package/vscode/src/vs/platform/workspace/common/workspaceTrust.js +7 -0
- package/vscode/src/vs/workbench/api/browser/statusBarService.js +12 -6
- package/vscode/src/vs/workbench/api/common/extHost.api.impl.js +59 -40
- package/vscode/src/vs/workbench/api/common/extHost.common.services.js +27 -27
- package/vscode/src/vs/workbench/api/common/extHost.protocol.js +68 -3
- package/vscode/src/vs/workbench/api/common/extHostApiCommands.js +19 -0
- package/vscode/src/vs/workbench/api/common/extHostAuthentication.js +6 -6
- package/vscode/src/vs/workbench/api/common/extHostChatAgents2.js +115 -45
- package/vscode/src/vs/workbench/api/common/extHostChatVariables.js +14 -9
- package/vscode/src/vs/workbench/api/common/extHostComments.js +14 -12
- package/vscode/src/vs/workbench/api/common/extHostConfiguration.js +10 -9
- package/vscode/src/vs/workbench/api/common/extHostCustomEditors.js +13 -8
- package/vscode/src/vs/workbench/api/common/extHostDebugService.js +5 -3
- package/vscode/src/vs/workbench/api/common/extHostEditorTabs.js +19 -19
- package/vscode/src/vs/workbench/api/common/extHostEmbedding.js +64 -0
- package/vscode/src/vs/workbench/api/common/extHostExtensionService.js +2 -2
- package/vscode/src/vs/workbench/api/common/extHostFileSystem.js +17 -15
- package/vscode/src/vs/workbench/api/common/extHostFileSystemConsumer.js +2 -2
- package/vscode/src/vs/workbench/api/common/extHostFileSystemEventService.js +13 -12
- package/vscode/src/vs/workbench/api/common/extHostFileSystemInfo.js +2 -1
- package/vscode/src/vs/workbench/api/common/extHostLanguageFeatures.js +79 -76
- package/vscode/src/vs/workbench/api/common/extHostLanguageModels.js +121 -87
- package/vscode/src/vs/workbench/api/common/extHostNotebook.js +24 -8
- package/vscode/src/vs/workbench/api/common/extHostNotebookKernels.js +1 -0
- package/vscode/src/vs/workbench/api/common/extHostSCM.js +34 -28
- package/vscode/src/vs/workbench/api/common/extHostSpeech.js +38 -2
- package/vscode/src/vs/workbench/api/common/extHostTask.js +2 -2
- package/vscode/src/vs/workbench/api/common/extHostTelemetry.js +7 -5
- package/vscode/src/vs/workbench/api/common/extHostTerminalService.js +8 -6
- package/vscode/src/vs/workbench/api/common/extHostTestItem.js +7 -7
- package/vscode/src/vs/workbench/api/common/extHostTesting.js +140 -45
- package/vscode/src/vs/workbench/api/common/extHostTimeline.js +2 -1
- package/vscode/src/vs/workbench/api/common/extHostTypeConverters.js +259 -278
- package/vscode/src/vs/workbench/api/common/extHostTypes.js +83 -22
- package/vscode/src/vs/workbench/api/common/extHostWebviewMessaging.js +23 -22
- package/vscode/src/vs/workbench/api/common/extHostWorkspace.js +2 -1
- package/vscode/src/vs/workbench/api/common/jsonValidationExtensionPoint.js +2 -2
- package/vscode/src/vs/workbench/api/worker/extHost.worker.services.js +3 -3
- package/vscode/src/vs/workbench/api/worker/extensionHostWorker.js +4 -4
- package/vscode/src/vs/workbench/browser/actions/developerActions.js +13 -10
- package/vscode/src/vs/workbench/browser/actions/layoutActions.js +95 -100
- package/vscode/src/vs/workbench/browser/actions/textInputActions.js +7 -6
- package/vscode/src/vs/workbench/browser/actions/widgetNavigationCommands.js +8 -7
- package/vscode/src/vs/workbench/browser/actions/windowActions.js +24 -23
- package/vscode/src/vs/workbench/browser/actions/workspaceActions.js +17 -16
- package/vscode/src/vs/workbench/browser/codeeditor.js +12 -9
- package/vscode/src/vs/workbench/browser/labels.js +3 -0
- package/vscode/src/vs/workbench/browser/parts/auxiliarybar/auxiliaryBarActions.js +11 -8
- package/vscode/src/vs/workbench/browser/parts/editor/breadcrumbs.js +29 -28
- package/vscode/src/vs/workbench/browser/parts/editor/breadcrumbsControl.js +34 -33
- package/vscode/src/vs/workbench/browser/parts/editor/breadcrumbsModel.js +4 -2
- package/vscode/src/vs/workbench/browser/parts/editor/diffEditorCommands.js +37 -33
- package/vscode/src/vs/workbench/browser/parts/editor/editor.contribution._autosave.js +2 -2
- package/vscode/src/vs/workbench/browser/parts/editor/editor.js +2 -0
- package/vscode/src/vs/workbench/browser/parts/editor/editorActions.js +224 -219
- package/vscode/src/vs/workbench/browser/parts/editor/editorAutoSave.js +30 -27
- package/vscode/src/vs/workbench/browser/parts/editor/editorCommands.js +204 -161
- package/vscode/src/vs/workbench/browser/parts/editor/editorGroupView.js +151 -80
- package/vscode/src/vs/workbench/browser/parts/editor/editorGroupWatermark.js +9 -5
- package/vscode/src/vs/workbench/browser/parts/editor/editorPane.js +4 -3
- package/vscode/src/vs/workbench/browser/parts/editor/editorPanes.js +3 -3
- package/vscode/src/vs/workbench/browser/parts/editor/editorPlaceholder.js +5 -3
- package/vscode/src/vs/workbench/browser/parts/editor/editorQuickAccess.js +7 -6
- package/vscode/src/vs/workbench/browser/parts/editor/editorStatus.js +28 -22
- package/vscode/src/vs/workbench/browser/parts/editor/editorTabsControl.js +12 -10
- package/vscode/src/vs/workbench/browser/parts/editor/editorTitleControl.js +3 -0
- package/vscode/src/vs/workbench/browser/parts/editor/editorsObserver.js +19 -17
- package/vscode/src/vs/workbench/browser/parts/editor/media/editortabscontrol.css.js +1 -1
- package/vscode/src/vs/workbench/browser/parts/editor/media/multieditortabscontrol.css.js +1 -1
- package/vscode/src/vs/workbench/browser/parts/editor/multiEditorTabsControl.js +218 -76
- package/vscode/src/vs/workbench/browser/parts/editor/multiRowEditorTabsControl.js +4 -0
- package/vscode/src/vs/workbench/browser/parts/editor/noEditorTabsControl.js +1 -0
- package/vscode/src/vs/workbench/browser/parts/editor/sideBySideEditor.js +16 -15
- package/vscode/src/vs/workbench/browser/parts/editor/singleEditorTabsControl.js +10 -11
- package/vscode/src/vs/workbench/browser/parts/editor/textCodeEditor.js +2 -1
- package/vscode/src/vs/workbench/browser/parts/editor/textDiffEditor.js +7 -5
- package/vscode/src/vs/workbench/browser/parts/editor/textEditor.js +12 -10
- package/vscode/src/vs/workbench/browser/parts/editor/textResourceEditor.js +7 -4
- package/vscode/src/vs/workbench/browser/parts/globalCompositeBar.js +13 -9
- package/vscode/src/vs/workbench/browser/parts/notifications/notificationsAlerts.js +3 -2
- package/vscode/src/vs/workbench/browser/parts/notifications/notificationsCenter.js +10 -8
- package/vscode/src/vs/workbench/browser/parts/notifications/notificationsCommands.js +33 -33
- package/vscode/src/vs/workbench/browser/parts/notifications/notificationsStatus.js +8 -6
- package/vscode/src/vs/workbench/browser/parts/notifications/notificationsToasts.js +12 -8
- package/vscode/src/vs/workbench/browser/parts/notifications/notificationsViewer.js +12 -6
- package/vscode/src/vs/workbench/browser/parts/paneCompositePart.d.ts +1 -1
- package/vscode/src/vs/workbench/browser/parts/panel/panelActions.js +32 -36
- package/vscode/src/vs/workbench/browser/parts/sidebar/sidebarPart.d.ts +1 -1
- package/vscode/src/vs/workbench/browser/parts/titlebar/media/menubarControl.css.js +1 -1
- package/vscode/src/vs/workbench/browser/parts/titlebar/menubarControl.js +22 -16
- package/vscode/src/vs/workbench/browser/parts/titlebar/windowTitle.js +21 -14
- package/vscode/src/vs/workbench/browser/parts/views/treeView.js +8 -12
- package/vscode/src/vs/workbench/browser/parts/views/viewFilter.d.ts +2 -0
- package/vscode/src/vs/workbench/browser/parts/views/viewFilter.js +13 -6
- package/vscode/src/vs/workbench/browser/parts/views/viewPane.js +13 -9
- package/vscode/src/vs/workbench/browser/parts/views/viewPaneContainer.js +57 -46
- package/vscode/src/vs/workbench/browser/window.js +329 -0
- package/vscode/src/vs/workbench/browser/workbench.contribution.js +207 -199
- package/vscode/src/vs/workbench/common/configuration.js +94 -20
- package/vscode/src/vs/workbench/common/contextkeys.js +50 -40
- package/vscode/src/vs/workbench/common/contributions.js +23 -22
- package/vscode/src/vs/workbench/common/editor/diffEditorInput.js +16 -16
- package/vscode/src/vs/workbench/common/editor/editorGroupModel.js +125 -63
- package/vscode/src/vs/workbench/common/editor/editorInput.js +6 -6
- package/vscode/src/vs/workbench/common/editor/editorOptions.js +5 -4
- package/vscode/src/vs/workbench/common/editor/filteredEditorGroupModel.js +9 -6
- package/vscode/src/vs/workbench/common/editor/resourceEditorInput.js +13 -12
- package/vscode/src/vs/workbench/common/editor/sideBySideEditorInput.js +7 -7
- package/vscode/src/vs/workbench/common/editor/textEditorModel.js +3 -2
- package/vscode/src/vs/workbench/common/editor.d.ts +13 -11
- package/vscode/src/vs/workbench/common/editor.js +49 -1
- package/vscode/src/vs/workbench/common/memento.js +10 -9
- package/vscode/src/vs/workbench/common/notifications.js +32 -11
- package/vscode/src/vs/workbench/common/theme.js +167 -137
- package/vscode/src/vs/workbench/common/views.js +5 -6
- package/vscode/src/vs/workbench/contrib/accessibility/browser/accessibilityConfiguration.js +477 -378
- package/vscode/src/vs/workbench/contrib/accessibility/browser/accessibleViewActions.js +87 -49
- package/vscode/src/vs/workbench/contrib/accessibility/browser/editorAccessibilityHelp.js +19 -29
- package/vscode/src/vs/workbench/contrib/accessibility/common/accessibilityCommands.js +15 -0
- package/vscode/src/vs/workbench/contrib/callHierarchy/common/callHierarchy.js +6 -1
- package/vscode/src/vs/workbench/contrib/chat/browser/actions/chatActions.js +74 -48
- package/vscode/src/vs/workbench/contrib/chat/browser/actions/chatExecuteActions.js +10 -8
- package/vscode/src/vs/workbench/contrib/chat/browser/actions/chatQuickInputActions.js +5 -3
- package/vscode/src/vs/workbench/contrib/chat/browser/chatAccessibilityProvider.js +3 -2
- package/vscode/src/vs/workbench/contrib/chat/browser/chatAgentHover.js +50 -43
- package/vscode/src/vs/workbench/contrib/chat/browser/chatConfirmationWidget.js +47 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/chatEditorInput.js +2 -1
- package/vscode/src/vs/workbench/contrib/chat/browser/chatFollowups.js +8 -21
- package/vscode/src/vs/workbench/contrib/chat/browser/chatInputPart.js +101 -47
- package/vscode/src/vs/workbench/contrib/chat/browser/chatListRenderer.js +276 -140
- package/vscode/src/vs/workbench/contrib/chat/browser/chatMarkdownDecorationsRenderer.js +120 -29
- package/vscode/src/vs/workbench/contrib/chat/browser/chatMarkdownRenderer.js +65 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/chatWidget.js +51 -34
- package/vscode/src/vs/workbench/contrib/chat/browser/codeBlockPart.css.js +1 -1
- package/vscode/src/vs/workbench/contrib/chat/browser/codeBlockPart.js +55 -34
- package/vscode/src/vs/workbench/contrib/chat/browser/contrib/chatDynamicVariables.js +20 -18
- package/vscode/src/vs/workbench/contrib/chat/browser/media/chat.css.js +1 -1
- package/vscode/src/vs/workbench/contrib/chat/browser/media/chatAgentHover.css.js +1 -1
- package/vscode/src/vs/workbench/contrib/chat/browser/media/chatConfirmationWidget.css.js +4 -0
- package/vscode/src/vs/workbench/contrib/chat/common/annotations.js +7 -7
- package/vscode/src/vs/workbench/contrib/chat/common/chatAgents.js +79 -23
- package/vscode/src/vs/workbench/contrib/chat/common/chatContextKeys.js +2 -1
- package/vscode/src/vs/workbench/contrib/chat/common/chatModel.js +189 -103
- package/vscode/src/vs/workbench/contrib/chat/common/chatParserTypes.js +9 -10
- package/vscode/src/vs/workbench/contrib/chat/common/chatRequestParser.js +21 -5
- package/vscode/src/vs/workbench/contrib/chat/common/chatService.js +6 -6
- package/vscode/src/vs/workbench/contrib/chat/common/chatViewModel.js +19 -12
- package/vscode/src/vs/workbench/contrib/chat/common/chatWordCounter.js +8 -15
- package/vscode/src/vs/workbench/contrib/chat/common/codeBlockModelCollection.js +11 -2
- package/vscode/src/vs/workbench/contrib/chat/common/languageModels.js +170 -0
- package/vscode/src/vs/workbench/contrib/codeActions/browser/codeActions.contribution.js +2 -1
- package/vscode/src/vs/workbench/contrib/codeActions/browser/codeActionsContribution.js +2 -2
- package/vscode/src/vs/workbench/contrib/codeEditor/browser/dictation/editorDictation.js +20 -12
- package/vscode/src/vs/workbench/contrib/codeEditor/browser/diffEditorAccessibilityHelp.js +77 -0
- package/vscode/src/vs/workbench/contrib/codeEditor/browser/diffEditorHelper.js +9 -89
- package/vscode/src/vs/workbench/contrib/codeEditor/browser/editorFeatures.js +2 -2
- package/vscode/src/vs/workbench/contrib/codeEditor/browser/editorLineNumberMenu.js +7 -5
- package/vscode/src/vs/workbench/contrib/codeEditor/browser/find/simpleFindWidget.js +4 -7
- package/vscode/src/vs/workbench/contrib/codeEditor/browser/largeFileOptimizations.js +2 -2
- package/vscode/src/vs/workbench/contrib/codeEditor/browser/menuPreventer.js +5 -4
- package/vscode/src/vs/workbench/contrib/codeEditor/browser/quickaccess/gotoSymbolQuickAccess.js +10 -6
- package/vscode/src/vs/workbench/contrib/codeEditor/browser/saveParticipants.js +15 -12
- package/vscode/src/vs/workbench/contrib/codeEditor/browser/simpleEditorOptions.js +2 -1
- package/vscode/src/vs/workbench/contrib/codeEditor/browser/suggestEnabledInput/suggestEnabledInput.js +5 -3
- package/vscode/src/vs/workbench/contrib/codeEditor/browser/toggleMultiCursorModifier.js +2 -1
- package/vscode/src/vs/workbench/contrib/codeEditor/browser/toggleWordWrap.js +17 -14
- package/vscode/src/vs/workbench/contrib/codeEditor/browser/workbenchReferenceSearch.js +2 -2
- package/vscode/src/vs/workbench/contrib/comments/browser/commentFormActions.js +2 -1
- package/vscode/src/vs/workbench/contrib/comments/browser/commentGlyphWidget.js +2 -1
- package/vscode/src/vs/workbench/contrib/comments/browser/commentNode.js +14 -12
- package/vscode/src/vs/workbench/contrib/comments/browser/commentReply.js +23 -15
- package/vscode/src/vs/workbench/contrib/comments/browser/commentThreadAdditionalActions.js +2 -1
- package/vscode/src/vs/workbench/contrib/comments/browser/commentThreadBody.js +3 -2
- package/vscode/src/vs/workbench/contrib/comments/browser/commentThreadHeader.js +3 -1
- package/vscode/src/vs/workbench/contrib/comments/browser/commentThreadWidget.js +12 -10
- package/vscode/src/vs/workbench/contrib/comments/browser/commentThreadZoneWidget.js +11 -14
- package/vscode/src/vs/workbench/contrib/comments/browser/commentsAccessibility.js +49 -76
- package/vscode/src/vs/workbench/contrib/comments/browser/commentsController.js +50 -40
- package/vscode/src/vs/workbench/contrib/comments/browser/commentsTreeViewer.js +15 -8
- package/vscode/src/vs/workbench/contrib/comments/browser/commentsView.js +4 -2
- package/vscode/src/vs/workbench/contrib/comments/browser/commentsViewActions.js +8 -6
- package/vscode/src/vs/workbench/contrib/comments/browser/simpleCommentEditor.js +9 -8
- package/vscode/src/vs/workbench/contrib/comments/common/commentCommandIds.js +15 -0
- package/vscode/src/vs/workbench/contrib/contextmenu/browser/contextmenu.contribution.js +2 -1
- package/vscode/src/vs/workbench/contrib/customEditor/browser/customEditorInput.js +14 -14
- package/vscode/src/vs/workbench/contrib/debug/browser/baseDebugView.js +3 -2
- package/vscode/src/vs/workbench/contrib/debug/browser/breakpointEditorContribution.js +19 -17
- package/vscode/src/vs/workbench/contrib/debug/browser/breakpointWidget.js +33 -32
- package/vscode/src/vs/workbench/contrib/debug/browser/breakpointsView.js +25 -20
- package/vscode/src/vs/workbench/contrib/debug/browser/callStackEditorContribution.js +4 -3
- package/vscode/src/vs/workbench/contrib/debug/browser/debugCommands.js +62 -60
- package/vscode/src/vs/workbench/contrib/debug/common/debug.js +40 -4
- package/vscode/src/vs/workbench/contrib/debug/common/debug.service.d.ts +2 -2
- package/vscode/src/vs/workbench/contrib/debug/common/debugModel.d.ts +4 -1
- package/vscode/src/vs/workbench/contrib/debug/common/debugModel.js +15 -16
- package/vscode/src/vs/workbench/contrib/debug/common/debugSource.js +2 -1
- package/vscode/src/vs/workbench/contrib/extensions/browser/extensionsActions.js +118 -109
- package/vscode/src/vs/workbench/contrib/extensions/browser/media/extensionActions.css.js +1 -1
- package/vscode/src/vs/workbench/contrib/extensions/common/extensions.js +24 -1
- package/vscode/src/vs/workbench/contrib/extensions/common/extensionsInput.js +2 -1
- package/vscode/src/vs/workbench/contrib/extensions/common/extensionsUtils.js +4 -2
- package/vscode/src/vs/workbench/contrib/files/browser/editors/binaryFileEditor.js +3 -2
- package/vscode/src/vs/workbench/contrib/files/browser/editors/fileEditorInput.js +23 -16
- package/vscode/src/vs/workbench/contrib/files/browser/editors/textFileEditor.js +12 -9
- package/vscode/src/vs/workbench/contrib/files/browser/editors/textFileEditorTracker.js +3 -2
- package/vscode/src/vs/workbench/contrib/files/browser/editors/textFileSaveErrorHandler.js +14 -12
- package/vscode/src/vs/workbench/contrib/files/browser/explorerFileContrib.js +10 -2
- package/vscode/src/vs/workbench/contrib/files/browser/explorerViewlet.js +9 -7
- package/vscode/src/vs/workbench/contrib/files/browser/fileActions.js +12 -9
- package/vscode/src/vs/workbench/contrib/files/browser/fileCommands._save.js +23 -22
- package/vscode/src/vs/workbench/contrib/files/browser/fileImportExport.js +13 -11
- package/vscode/src/vs/workbench/contrib/files/browser/files.contribution._configuration.js +25 -25
- package/vscode/src/vs/workbench/contrib/files/browser/files.contribution._editorPane.js +7 -7
- package/vscode/src/vs/workbench/contrib/files/browser/files.js +8 -1
- package/vscode/src/vs/workbench/contrib/files/browser/media/explorerviewlet.css.js +1 -1
- package/vscode/src/vs/workbench/contrib/files/browser/views/emptyView.js +2 -2
- package/vscode/src/vs/workbench/contrib/files/browser/views/explorerView.js +16 -10
- package/vscode/src/vs/workbench/contrib/files/browser/views/explorerViewer.js +55 -111
- package/vscode/src/vs/workbench/contrib/files/browser/views/openEditorsView.js +42 -35
- package/vscode/src/vs/workbench/contrib/files/common/dirtyFilesIndicator.js +2 -1
- package/vscode/src/vs/workbench/contrib/files/common/explorerFileNestingTrie.js +15 -8
- package/vscode/src/vs/workbench/contrib/files/common/explorerModel.js +5 -3
- package/vscode/src/vs/workbench/contrib/files/common/files.js +25 -2
- package/vscode/src/vs/workbench/contrib/folding/browser/folding.contribution.js +2 -1
- package/vscode/src/vs/workbench/contrib/format/browser/formatActionsMultiple.js +8 -6
- package/vscode/src/vs/workbench/contrib/format/browser/formatActionsNone.js +7 -4
- package/vscode/src/vs/workbench/contrib/format/browser/formatModified.js +2 -2
- package/vscode/src/vs/workbench/contrib/inlayHints/browser/inlayHintsAccessibilty.js +6 -4
- package/vscode/src/vs/workbench/contrib/inlineChat/browser/inlineChatActions.js +82 -137
- package/vscode/src/vs/workbench/contrib/inlineChat/browser/inlineChatContentWidget.js +11 -8
- package/vscode/src/vs/workbench/contrib/inlineChat/browser/inlineChatController.js +292 -328
- package/vscode/src/vs/workbench/contrib/inlineChat/browser/inlineChatSession.js +69 -67
- package/vscode/src/vs/workbench/contrib/inlineChat/browser/inlineChatSessionServiceImpl.js +79 -417
- package/vscode/src/vs/workbench/contrib/inlineChat/browser/inlineChatStrategies.js +50 -61
- package/vscode/src/vs/workbench/contrib/inlineChat/browser/inlineChatWidget.js +32 -124
- package/vscode/src/vs/workbench/contrib/inlineChat/browser/inlineChatZoneWidget.js +41 -20
- package/vscode/src/vs/workbench/contrib/inlineChat/browser/media/inlineChat.css.js +1 -1
- package/vscode/src/vs/workbench/contrib/inlineChat/browser/utils.js +5 -1
- package/vscode/src/vs/workbench/contrib/inlineChat/common/inlineChat.js +59 -53
- package/vscode/src/vs/workbench/contrib/interactive/browser/interactiveEditorInput.js +5 -4
- package/vscode/src/vs/workbench/contrib/list/browser/list.contribution.js +2 -2
- package/vscode/src/vs/workbench/contrib/markers/common/markers.js +7 -2
- package/vscode/src/vs/workbench/contrib/mergeEditor/browser/mergeEditorInput.js +3 -3
- package/vscode/src/vs/workbench/contrib/mergeEditor/browser/mergeEditorInputModel.js +15 -13
- package/vscode/src/vs/workbench/contrib/mergeEditor/browser/model/diffComputer.js +1 -1
- package/vscode/src/vs/workbench/contrib/mergeEditor/browser/model/lineRange.js +3 -2
- package/vscode/src/vs/workbench/contrib/mergeEditor/browser/model/mergeEditorModel.js +26 -20
- package/vscode/src/vs/workbench/contrib/mergeEditor/browser/model/modifiedBaseRange.js +13 -8
- package/vscode/src/vs/workbench/contrib/mergeEditor/browser/model/textModelDiffs.js +22 -10
- package/vscode/src/vs/workbench/contrib/mergeEditor/browser/utils.js +5 -11
- package/vscode/src/vs/workbench/contrib/multiDiffEditor/browser/multiDiffEditorInput.js +4 -3
- package/vscode/src/vs/workbench/contrib/notebook/browser/contrib/cellStatusBar/executionStatusBarItemController.js +7 -57
- package/vscode/src/vs/workbench/contrib/notebook/browser/contrib/find/findFilters.js +25 -1
- package/vscode/src/vs/workbench/contrib/notebook/browser/contrib/find/findModel.js +7 -6
- package/vscode/src/vs/workbench/contrib/notebook/browser/contrib/find/notebookFindReplaceWidget.js +103 -23
- package/vscode/src/vs/workbench/contrib/notebook/browser/contrib/find/notebookFindWidget.js +6 -5
- package/vscode/src/vs/workbench/contrib/notebook/browser/controller/cellOperations.js +16 -15
- package/vscode/src/vs/workbench/contrib/notebook/browser/controller/chat/notebookChatContext.js +2 -2
- package/vscode/src/vs/workbench/contrib/notebook/browser/controller/chat/notebookChatController.js +137 -261
- package/vscode/src/vs/workbench/contrib/notebook/browser/controller/coreActions.js +26 -8
- package/vscode/src/vs/workbench/contrib/notebook/browser/controller/editActions.js +25 -23
- package/vscode/src/vs/workbench/contrib/notebook/browser/controller/foldingController.js +23 -21
- package/vscode/src/vs/workbench/contrib/notebook/browser/media/notebook.css.js +1 -1
- package/vscode/src/vs/workbench/contrib/notebook/browser/notebookAccessibilityProvider.js +4 -2
- package/vscode/src/vs/workbench/contrib/notebook/browser/notebookBrowser.js +21 -1
- package/vscode/src/vs/workbench/contrib/notebook/browser/notebookEditor.js +16 -11
- package/vscode/src/vs/workbench/contrib/notebook/browser/notebookEditorWidget.js +36 -18
- package/vscode/src/vs/workbench/contrib/notebook/browser/notebookOptions.js +24 -13
- package/vscode/src/vs/workbench/contrib/notebook/browser/view/cellParts/cellComments.js +1 -1
- package/vscode/src/vs/workbench/contrib/notebook/browser/view/cellParts/cellContextKeys.js +8 -7
- package/vscode/src/vs/workbench/contrib/notebook/browser/view/cellParts/cellDnd.js +3 -3
- package/vscode/src/vs/workbench/contrib/notebook/browser/view/cellParts/cellDragRenderer.js +5 -3
- package/vscode/src/vs/workbench/contrib/notebook/browser/view/cellParts/cellFocusIndicator.js +1 -1
- package/vscode/src/vs/workbench/contrib/notebook/browser/view/cellParts/cellOutput.js +17 -10
- package/vscode/src/vs/workbench/contrib/notebook/browser/view/cellParts/cellStatusPart.js +14 -9
- package/vscode/src/vs/workbench/contrib/notebook/browser/view/cellParts/cellToolbars.js +3 -2
- package/vscode/src/vs/workbench/contrib/notebook/browser/view/cellParts/cellWidgets.js +7 -0
- package/vscode/src/vs/workbench/contrib/notebook/browser/view/cellParts/codeCell.js +11 -1
- package/vscode/src/vs/workbench/contrib/notebook/browser/view/cellParts/codeCellRunToolbar.js +2 -1
- package/vscode/src/vs/workbench/contrib/notebook/browser/view/cellParts/foldedCellHint.js +15 -5
- package/vscode/src/vs/workbench/contrib/notebook/browser/view/cellParts/markupCell.js +7 -4
- package/vscode/src/vs/workbench/contrib/notebook/browser/view/notebookCellList.js +36 -25
- package/vscode/src/vs/workbench/contrib/notebook/browser/view/notebookCellListView.js +14 -3
- package/vscode/src/vs/workbench/contrib/notebook/browser/view/renderers/backLayerWebView.js +20 -10
- package/vscode/src/vs/workbench/contrib/notebook/browser/view/renderers/webviewPreloads.js +2 -1
- package/vscode/src/vs/workbench/contrib/notebook/browser/viewModel/baseCellViewModel.js +2 -1
- package/vscode/src/vs/workbench/contrib/notebook/browser/viewModel/codeCellViewModel.js +7 -10
- package/vscode/src/vs/workbench/contrib/notebook/browser/viewModel/foldingModel.js +3 -2
- package/vscode/src/vs/workbench/contrib/notebook/browser/viewModel/markupCellViewModel.js +2 -2
- package/vscode/src/vs/workbench/contrib/notebook/browser/viewModel/notebookViewModelImpl.js +19 -9
- package/vscode/src/vs/workbench/contrib/notebook/browser/viewParts/notebookEditorStickyScroll.js +5 -3
- package/vscode/src/vs/workbench/contrib/notebook/browser/viewParts/notebookEditorToolbar.js +5 -4
- package/vscode/src/vs/workbench/contrib/notebook/browser/viewParts/notebookKernelQuickPickStrategy.js +15 -11
- package/vscode/src/vs/workbench/contrib/notebook/browser/viewParts/notebookTopCellToolbar.js +2 -2
- package/vscode/src/vs/workbench/contrib/notebook/common/model/notebookCellTextModel.js +4 -3
- package/vscode/src/vs/workbench/contrib/notebook/common/notebookCommon.js +35 -2
- package/vscode/src/vs/workbench/contrib/notebook/common/notebookEditorInput.js +14 -12
- package/vscode/src/vs/workbench/contrib/notebook/common/notebookEditorModel.js +41 -15
- package/vscode/src/vs/workbench/contrib/outline/browser/outline.js +8 -2
- package/vscode/src/vs/workbench/contrib/preferences/browser/keybindingWidgets.js +5 -3
- package/vscode/src/vs/workbench/contrib/preferences/browser/preferencesWidgets.js +29 -23
- package/vscode/src/vs/workbench/contrib/preferences/browser/settingsLayout.js +1 -1
- package/vscode/src/vs/workbench/contrib/preferences/browser/settingsTreeModels.js +31 -24
- package/vscode/src/vs/workbench/contrib/remote/browser/remoteExplorer.js +11 -8
- package/vscode/src/vs/workbench/contrib/remote/browser/tunnelView.js +29 -27
- package/vscode/src/vs/workbench/contrib/remote/browser/urlFinder.js +2 -2
- package/vscode/src/vs/workbench/contrib/scm/browser/dirtydiffDecorator.js +27 -45
- package/vscode/src/vs/workbench/contrib/scm/common/scm.js +13 -1
- package/vscode/src/vs/workbench/contrib/search/browser/anythingQuickAccess.js +785 -0
- package/vscode/src/vs/workbench/contrib/search/browser/media/anythingQuickAccess.css.js +4 -0
- package/vscode/src/vs/workbench/contrib/search/browser/notebookSearch/notebookSearchService.js +2 -2
- package/vscode/src/vs/workbench/contrib/search/browser/searchActionsFind.js +23 -22
- package/vscode/src/vs/workbench/contrib/search/browser/searchModel.js +36 -32
- package/vscode/src/vs/workbench/contrib/search/browser/symbolsQuickAccess.js +222 -0
- package/vscode/src/vs/workbench/contrib/search/common/cacheState.js +85 -0
- package/vscode/src/vs/workbench/contrib/search/common/cellSearchModel.js +3 -2
- package/vscode/src/vs/workbench/contrib/search/common/constants.js +49 -1
- package/vscode/src/vs/workbench/contrib/snippets/browser/snippetCompletionProvider.js +6 -5
- package/vscode/src/vs/workbench/contrib/snippets/browser/snippetsFile.js +8 -2
- package/vscode/src/vs/workbench/contrib/snippets/browser/snippetsService.js +16 -13
- package/vscode/src/vs/workbench/contrib/snippets/browser/tabCompletion.js +11 -11
- package/vscode/src/vs/workbench/contrib/speech/common/speechService.js +47 -30
- package/vscode/src/vs/workbench/contrib/tags/browser/workspaceTagsService.js +1 -0
- package/vscode/src/vs/workbench/contrib/tasks/common/tasks.js +80 -11
- package/vscode/src/vs/workbench/contrib/terminal/browser/terminal.d.ts +5 -3
- package/vscode/src/vs/workbench/contrib/terminal/browser/terminal.js +27 -1
- package/vscode/src/vs/workbench/contrib/terminal/browser/terminalEditorInput.js +8 -5
- package/vscode/src/vs/workbench/contrib/terminal/browser/terminalMenus.js +721 -0
- package/vscode/src/vs/workbench/contrib/terminal/browser/terminalProcessExtHostProxy.js +9 -8
- package/vscode/src/vs/workbench/contrib/terminal/browser/xterm/xtermTerminal.d.ts +0 -9
- package/vscode/src/vs/workbench/contrib/terminal/common/terminal.d.ts +2 -5
- package/vscode/src/vs/workbench/contrib/terminal/common/terminal.js +166 -71
- package/vscode/src/vs/workbench/contrib/terminal/common/terminalContextKey.js +92 -144
- package/vscode/src/vs/workbench/contrib/terminal/common/terminalStrings.js +41 -0
- package/vscode/src/vs/workbench/contrib/terminalContrib/accessibility/common/terminal.accessibility.js +12 -0
- package/vscode/src/vs/workbench/contrib/terminalContrib/find/common/terminal.find.js +22 -0
- package/vscode/src/vs/workbench/contrib/terminalContrib/suggest/common/terminal.suggest.js +18 -0
- package/vscode/src/vs/workbench/contrib/testing/common/constants.js +103 -0
- package/vscode/src/vs/workbench/contrib/testing/common/getComputedState.js +4 -3
- package/vscode/src/vs/workbench/contrib/testing/common/testCoverage.js +79 -22
- package/vscode/src/vs/workbench/contrib/testing/common/testId.js +46 -18
- package/vscode/src/vs/workbench/contrib/testing/common/testItemCollection.js +51 -41
- package/vscode/src/vs/workbench/contrib/testing/common/testResult.js +33 -19
- package/vscode/src/vs/workbench/contrib/testing/common/testTypes.js +108 -38
- package/vscode/src/vs/workbench/contrib/testing/common/testingStates.js +19 -18
- package/vscode/src/vs/workbench/contrib/timeline/common/timeline.js +1 -2
- package/vscode/src/vs/workbench/contrib/typeHierarchy/common/typeHierarchy.js +6 -1
- package/vscode/src/vs/workbench/contrib/url/browser/trustedDomainService.js +77 -0
- package/vscode/src/vs/workbench/contrib/url/browser/trustedDomainService.service.js +3 -0
- package/vscode/src/vs/workbench/contrib/url/browser/trustedDomains.js +119 -0
- package/vscode/src/vs/workbench/contrib/webview/browser/webview.js +9 -2
- package/vscode/src/vs/workbench/contrib/webview/common/webview.js +4 -3
- package/vscode/src/vs/workbench/contrib/webviewPanel/browser/webviewEditor.js +3 -2
- package/vscode/src/vs/workbench/contrib/webviewPanel/browser/webviewEditorInput.js +2 -1
- package/vscode/src/vs/workbench/contrib/webviewPanel/browser/webviewIconManager.js +2 -1
- package/vscode/src/vs/workbench/contrib/webviewPanel/browser/webviewWorkbenchService.js +22 -10
- package/vscode/src/vs/workbench/services/authentication/browser/authenticationService.js +25 -9
- package/vscode/src/vs/workbench/services/auxiliaryWindow/browser/auxiliaryWindowService.js +370 -0
- package/vscode/src/vs/workbench/services/configuration/common/configuration.js +8 -7
- package/vscode/src/vs/workbench/services/driver/browser/driver.js +187 -0
- package/vscode/src/vs/workbench/services/editor/browser/codeEditorService.js +3 -1
- package/vscode/src/vs/workbench/services/editor/browser/editorService.js +42 -29
- package/vscode/src/vs/workbench/services/editor/common/customEditorLabelService.js +1 -0
- package/vscode/src/vs/workbench/services/editor/common/editorGroupColumn.js +5 -5
- package/vscode/src/vs/workbench/services/editor/common/editorGroupFinder.js +5 -5
- package/vscode/src/vs/workbench/services/editor/common/editorGroupsService.d.ts +36 -1
- package/vscode/src/vs/workbench/services/editor/common/editorGroupsService.js +2 -2
- package/vscode/src/vs/workbench/services/editor/common/editorGroupsService.service.d.ts +11 -2
- package/vscode/src/vs/workbench/services/editor/common/editorResolverService.js +6 -1
- package/vscode/src/vs/workbench/services/editor/common/editorService.service.d.ts +3 -0
- package/vscode/src/vs/workbench/services/extensionManagement/common/extensionManagement.d.ts +1 -0
- package/vscode/src/vs/workbench/services/extensionManagement/common/extensionManagement.js +20 -1
- package/vscode/src/vs/workbench/services/extensionManagement/common/extensionManagement.service.d.ts +1 -0
- package/vscode/src/vs/workbench/services/extensionRecommendations/common/extensionRecommendations.js +11 -0
- package/vscode/src/vs/workbench/services/extensionRecommendations/common/workspaceExtensionsConfig.js +4 -7
- package/vscode/src/vs/workbench/services/extensions/common/extensionDescriptionRegistry.js +8 -2
- package/vscode/src/vs/workbench/services/extensions/common/extensionHostKind.js +16 -10
- package/vscode/src/vs/workbench/services/extensions/common/extensionHostProtocol.js +18 -7
- package/vscode/src/vs/workbench/services/extensions/common/extensionManifestPropertiesService.js +1 -0
- package/vscode/src/vs/workbench/services/extensions/common/extensionRunningLocation.js +4 -3
- package/vscode/src/vs/workbench/services/extensions/common/extensions.js +17 -6
- package/vscode/src/vs/workbench/services/extensions/common/extensionsApiProposals.js +4 -4
- package/vscode/src/vs/workbench/services/extensions/common/extensionsRegistry.d.ts +2 -1
- package/vscode/src/vs/workbench/services/extensions/common/extensionsRegistry.js +5 -0
- package/vscode/src/vs/workbench/services/extensions/common/rpcProtocol.js +103 -64
- package/vscode/src/vs/workbench/services/filesConfiguration/common/filesConfigurationService.js +31 -15
- package/vscode/src/vs/workbench/services/{views/browser/treeViewsService.service.js → integrity/common/integrity.service.js} +2 -2
- package/vscode/src/vs/workbench/services/language/common/languageService.js +2 -1
- package/vscode/src/vs/workbench/services/layout/browser/layoutService.js +71 -24
- package/vscode/src/vs/workbench/services/lifecycle/common/lifecycle.js +28 -8
- package/vscode/src/vs/workbench/services/lifecycle/common/lifecycleService.js +11 -11
- package/vscode/src/vs/workbench/services/notebook/common/notebookDocumentService.js +1 -0
- package/vscode/src/vs/workbench/services/outline/browser/outline.js +22 -0
- package/vscode/src/vs/workbench/services/preferences/common/preferencesModels.js +10 -9
- package/vscode/src/vs/workbench/services/progress/browser/progressIndicator.js +19 -17
- package/vscode/src/vs/workbench/services/remote/common/remoteExplorerService.js +4 -2
- package/vscode/src/vs/workbench/services/remote/common/tunnelModel.js +16 -16
- package/vscode/src/vs/workbench/services/search/common/fileSearchManager.js +3 -2
- package/vscode/src/vs/workbench/services/search/common/queryBuilder.js +9 -9
- package/vscode/src/vs/workbench/services/search/common/replace.js +12 -11
- package/vscode/src/vs/workbench/services/search/common/search.js +32 -1
- package/vscode/src/vs/workbench/services/search/common/textSearchManager.js +6 -6
- package/vscode/src/vs/workbench/services/statusbar/browser/statusbar.js +6 -1
- package/vscode/src/vs/workbench/services/storage/browser/storageService.js +13 -13
- package/vscode/src/vs/workbench/services/textfile/common/encoding.js +6 -2
- package/vscode/src/vs/workbench/services/textfile/common/textEditorService.js +1 -0
- package/vscode/src/vs/workbench/services/textfile/common/textFileEditorModel.js +28 -27
- package/vscode/src/vs/workbench/services/textfile/common/textfiles.js +27 -3
- package/vscode/src/vs/workbench/services/themes/common/colorExtensionPoint.js +2 -2
- package/vscode/src/vs/workbench/services/themes/common/iconExtensionPoint.js +2 -2
- package/vscode/src/vs/workbench/services/themes/common/workbenchThemeService.js +43 -1
- package/vscode/src/vs/workbench/services/untitled/common/untitledTextEditorInput.js +2 -2
- package/vscode/src/vs/workbench/services/untitled/common/untitledTextEditorModel.js +2 -2
- package/vscode/src/vs/workbench/services/userDataProfile/browser/iconSelectBox.js +12 -11
- package/vscode/src/vs/workbench/services/userDataSync/common/userDataSync.js +19 -13
- package/vscode/src/vs/workbench/services/views/browser/viewsService.js +29 -25
- package/vscode/src/vs/workbench/services/workingCopy/common/fileWorkingCopy.js +6 -0
- package/vscode/src/vs/workbench/services/workingCopy/common/resourceWorkingCopy.js +3 -2
- package/vscode/src/vs/workbench/services/workingCopy/common/storedFileWorkingCopy.js +52 -32
- package/vscode/src/vs/workbench/services/workingCopy/common/workingCopy.js +7 -1
- package/vscode/src/vs/workbench/services/workspaces/common/workspaceTrust.js +17 -14
- package/vscode-dts/vscode.proposed.attributableCoverage.d.ts +28 -0
- package/vscode-dts/vscode.proposed.chatParticipantAdditions.d.ts +90 -97
- package/vscode-dts/vscode.proposed.chatParticipantPrivate.d.ts +76 -0
- package/vscode-dts/vscode.proposed.chatProvider.d.ts +24 -7
- package/vscode-dts/vscode.proposed.chatVariableResolver.d.ts +82 -2
- package/vscode-dts/vscode.proposed.defaultChatParticipant.d.ts +0 -5
- package/vscode-dts/vscode.proposed.editorHoverVerbosityLevel.d.ts +2 -2
- package/vscode-dts/vscode.proposed.embeddings.d.ts +33 -0
- package/vscode-dts/vscode.proposed.interactive.d.ts +2 -110
- package/vscode-dts/vscode.proposed.languageModelSystem.d.ts +17 -0
- package/vscode-dts/vscode.proposed.resolvers.d.ts +2 -1
- package/vscode-dts/vscode.proposed.speech.d.ts +26 -6
- package/vscode-dts/vscode.proposed.testObserver.d.ts +9 -0
- package/vscode/src/vs/workbench/api/common/extHostInlineChat.js +0 -194
- package/vscode/src/vs/workbench/contrib/accessibility/browser/accessibleView.js +0 -876
- package/vscode/src/vs/workbench/contrib/accessibility/browser/accessibleViewContributions.js +0 -407
- package/vscode/src/vs/workbench/contrib/chat/browser/actions/chatAccessibilityHelp.js +0 -196
- package/vscode/src/vs/workbench/contrib/inlineChat/common/inlineChat.service.js +0 -3
- package/vscode/src/vs/workbench/contrib/notebook/browser/contrib/cellCommands/cellCommands.js +0 -595
- package/vscode/src/vs/workbench/contrib/notebook/browser/contrib/cellDiagnostics/cellDiagnostics.js +0 -102
- package/vscode-dts/vscode.proposed.chatParticipant.d.ts +0 -458
- package/vscode-dts/vscode.proposed.debugFocus.d.ts +0 -66
- package/vscode-dts/vscode.proposed.languageModels.d.ts +0 -291
- package/vscode-dts/vscode.proposed.testPreserveFocus.d.ts +0 -28
- /package/vscode/src/vs/workbench/{services → contrib}/issue/browser/issueTroubleshoot.service.js +0 -0
- /package/vscode/src/vs/workbench/{services → contrib}/issue/common/issue.service.js +0 -0
|
@@ -1,10 +1,21 @@
|
|
|
1
1
|
import { equals } from '../../../base/common/arrays.js';
|
|
2
2
|
import { equals as equals$1 } from '../../../base/common/objects.js';
|
|
3
3
|
import { isMacintosh, isLinux } from '../../../base/common/platform.js';
|
|
4
|
+
import { ScrollbarVisibility } from '../../../base/common/scrollable.js';
|
|
5
|
+
import { Constants } from '../../../base/common/uint.js';
|
|
4
6
|
import { EDITOR_MODEL_DEFAULTS } from '../core/textModelDefaults.js';
|
|
5
7
|
import { USUAL_WORD_SEPARATORS } from '../core/wordHelper.js';
|
|
6
8
|
import { localizeWithPath } from '../../../nls.js';
|
|
9
|
+
import { AccessibilitySupport } from '../../../platform/accessibility/common/accessibility.js';
|
|
7
10
|
const _moduleId = "vs/editor/common/config/editorOptions";
|
|
11
|
+
var EditorAutoIndentStrategy;
|
|
12
|
+
( ((function(EditorAutoIndentStrategy) {
|
|
13
|
+
EditorAutoIndentStrategy[EditorAutoIndentStrategy["None"] = 0] = "None";
|
|
14
|
+
EditorAutoIndentStrategy[EditorAutoIndentStrategy["Keep"] = 1] = "Keep";
|
|
15
|
+
EditorAutoIndentStrategy[EditorAutoIndentStrategy["Brackets"] = 2] = "Brackets";
|
|
16
|
+
EditorAutoIndentStrategy[EditorAutoIndentStrategy["Advanced"] = 3] = "Advanced";
|
|
17
|
+
EditorAutoIndentStrategy[EditorAutoIndentStrategy["Full"] = 4] = "Full";
|
|
18
|
+
})(EditorAutoIndentStrategy || (EditorAutoIndentStrategy = {}))));
|
|
8
19
|
const MINIMAP_GUTTER_WIDTH = 8;
|
|
9
20
|
class ConfigurationChangedEvent {
|
|
10
21
|
constructor(values) {
|
|
@@ -259,16 +270,16 @@ class EditorEnumOption extends BaseEditorOption {
|
|
|
259
270
|
}
|
|
260
271
|
function _autoIndentFromString(autoIndent) {
|
|
261
272
|
switch (autoIndent) {
|
|
262
|
-
case 'none': return
|
|
263
|
-
case 'keep': return
|
|
264
|
-
case 'brackets': return
|
|
265
|
-
case 'advanced': return
|
|
266
|
-
case 'full': return
|
|
273
|
+
case 'none': return EditorAutoIndentStrategy.None;
|
|
274
|
+
case 'keep': return EditorAutoIndentStrategy.Keep;
|
|
275
|
+
case 'brackets': return EditorAutoIndentStrategy.Brackets;
|
|
276
|
+
case 'advanced': return EditorAutoIndentStrategy.Advanced;
|
|
277
|
+
case 'full': return EditorAutoIndentStrategy.Full;
|
|
267
278
|
}
|
|
268
279
|
}
|
|
269
280
|
class EditorAccessibilitySupport extends BaseEditorOption {
|
|
270
281
|
constructor() {
|
|
271
|
-
super(
|
|
282
|
+
super(EditorOption.accessibilitySupport, 'accessibilitySupport', AccessibilitySupport.Unknown, {
|
|
272
283
|
type: 'string',
|
|
273
284
|
enum: ['auto', 'on', 'off'],
|
|
274
285
|
enumDescriptions: [
|
|
@@ -291,14 +302,14 @@ class EditorAccessibilitySupport extends BaseEditorOption {
|
|
|
291
302
|
}
|
|
292
303
|
validate(input) {
|
|
293
304
|
switch (input) {
|
|
294
|
-
case 'auto': return
|
|
295
|
-
case 'off': return
|
|
296
|
-
case 'on': return
|
|
305
|
+
case 'auto': return AccessibilitySupport.Unknown;
|
|
306
|
+
case 'off': return AccessibilitySupport.Disabled;
|
|
307
|
+
case 'on': return AccessibilitySupport.Enabled;
|
|
297
308
|
}
|
|
298
309
|
return this.defaultValue;
|
|
299
310
|
}
|
|
300
311
|
compute(env, options, value) {
|
|
301
|
-
if (value ===
|
|
312
|
+
if (value === AccessibilitySupport.Unknown) {
|
|
302
313
|
return env.accessibilitySupport;
|
|
303
314
|
}
|
|
304
315
|
return value;
|
|
@@ -310,7 +321,7 @@ class EditorComments extends BaseEditorOption {
|
|
|
310
321
|
insertSpace: true,
|
|
311
322
|
ignoreEmptyLines: true,
|
|
312
323
|
};
|
|
313
|
-
super(
|
|
324
|
+
super(EditorOption.comments, 'comments', defaults, {
|
|
314
325
|
'editor.comments.insertSpace': {
|
|
315
326
|
type: 'boolean',
|
|
316
327
|
default: defaults.insertSpace,
|
|
@@ -342,13 +353,22 @@ class EditorComments extends BaseEditorOption {
|
|
|
342
353
|
};
|
|
343
354
|
}
|
|
344
355
|
}
|
|
356
|
+
var TextEditorCursorBlinkingStyle;
|
|
357
|
+
( ((function(TextEditorCursorBlinkingStyle) {
|
|
358
|
+
TextEditorCursorBlinkingStyle[TextEditorCursorBlinkingStyle["Hidden"] = 0] = "Hidden";
|
|
359
|
+
TextEditorCursorBlinkingStyle[TextEditorCursorBlinkingStyle["Blink"] = 1] = "Blink";
|
|
360
|
+
TextEditorCursorBlinkingStyle[TextEditorCursorBlinkingStyle["Smooth"] = 2] = "Smooth";
|
|
361
|
+
TextEditorCursorBlinkingStyle[TextEditorCursorBlinkingStyle["Phase"] = 3] = "Phase";
|
|
362
|
+
TextEditorCursorBlinkingStyle[TextEditorCursorBlinkingStyle["Expand"] = 4] = "Expand";
|
|
363
|
+
TextEditorCursorBlinkingStyle[TextEditorCursorBlinkingStyle["Solid"] = 5] = "Solid";
|
|
364
|
+
})(TextEditorCursorBlinkingStyle || (TextEditorCursorBlinkingStyle = {}))));
|
|
345
365
|
function _cursorBlinkingStyleFromString(cursorBlinkingStyle) {
|
|
346
366
|
switch (cursorBlinkingStyle) {
|
|
347
|
-
case 'blink': return
|
|
348
|
-
case 'smooth': return
|
|
349
|
-
case 'phase': return
|
|
350
|
-
case 'expand': return
|
|
351
|
-
case 'solid': return
|
|
367
|
+
case 'blink': return TextEditorCursorBlinkingStyle.Blink;
|
|
368
|
+
case 'smooth': return TextEditorCursorBlinkingStyle.Smooth;
|
|
369
|
+
case 'phase': return TextEditorCursorBlinkingStyle.Phase;
|
|
370
|
+
case 'expand': return TextEditorCursorBlinkingStyle.Expand;
|
|
371
|
+
case 'solid': return TextEditorCursorBlinkingStyle.Solid;
|
|
352
372
|
}
|
|
353
373
|
}
|
|
354
374
|
var TextEditorCursorStyle;
|
|
@@ -382,26 +402,26 @@ function _cursorStyleFromString(cursorStyle) {
|
|
|
382
402
|
}
|
|
383
403
|
class EditorClassName extends ComputedEditorOption {
|
|
384
404
|
constructor() {
|
|
385
|
-
super(
|
|
405
|
+
super(EditorOption.editorClassName);
|
|
386
406
|
}
|
|
387
407
|
compute(env, options, _) {
|
|
388
408
|
const classNames = ['monaco-editor'];
|
|
389
|
-
if (options.get(
|
|
390
|
-
classNames.push(options.get(
|
|
409
|
+
if (options.get(EditorOption.extraEditorClassName)) {
|
|
410
|
+
classNames.push(options.get(EditorOption.extraEditorClassName));
|
|
391
411
|
}
|
|
392
412
|
if (env.extraEditorClassName) {
|
|
393
413
|
classNames.push(env.extraEditorClassName);
|
|
394
414
|
}
|
|
395
|
-
if (options.get(
|
|
415
|
+
if (options.get(EditorOption.mouseStyle) === 'default') {
|
|
396
416
|
classNames.push('mouse-default');
|
|
397
417
|
}
|
|
398
|
-
else if (options.get(
|
|
418
|
+
else if (options.get(EditorOption.mouseStyle) === 'copy') {
|
|
399
419
|
classNames.push('mouse-copy');
|
|
400
420
|
}
|
|
401
|
-
if (options.get(
|
|
421
|
+
if (options.get(EditorOption.showUnused)) {
|
|
402
422
|
classNames.push('showUnused');
|
|
403
423
|
}
|
|
404
|
-
if (options.get(
|
|
424
|
+
if (options.get(EditorOption.showDeprecated)) {
|
|
405
425
|
classNames.push('showDeprecated');
|
|
406
426
|
}
|
|
407
427
|
return classNames.join(' ');
|
|
@@ -409,7 +429,7 @@ class EditorClassName extends ComputedEditorOption {
|
|
|
409
429
|
}
|
|
410
430
|
class EditorEmptySelectionClipboard extends EditorBooleanOption {
|
|
411
431
|
constructor() {
|
|
412
|
-
super(
|
|
432
|
+
super(EditorOption.emptySelectionClipboard, 'emptySelectionClipboard', true, { description: ( localizeWithPath(
|
|
413
433
|
_moduleId,
|
|
414
434
|
6,
|
|
415
435
|
"Controls whether copying without a selection copies the current line."
|
|
@@ -429,7 +449,7 @@ class EditorFind extends BaseEditorOption {
|
|
|
429
449
|
addExtraSpaceOnTop: true,
|
|
430
450
|
loop: true
|
|
431
451
|
};
|
|
432
|
-
super(
|
|
452
|
+
super(EditorOption.find, 'find', defaults, {
|
|
433
453
|
'editor.find.cursorMoveOnType': {
|
|
434
454
|
type: 'boolean',
|
|
435
455
|
default: defaults.cursorMoveOnType,
|
|
@@ -530,7 +550,7 @@ class EditorFontLigatures extends BaseEditorOption {
|
|
|
530
550
|
static { this.OFF = '"liga" off, "calt" off'; }
|
|
531
551
|
static { this.ON = '"liga" on, "calt" on'; }
|
|
532
552
|
constructor() {
|
|
533
|
-
super(
|
|
553
|
+
super(EditorOption.fontLigatures, 'fontLigatures', EditorFontLigatures.OFF, {
|
|
534
554
|
anyOf: [
|
|
535
555
|
{
|
|
536
556
|
type: 'boolean',
|
|
@@ -580,7 +600,7 @@ class EditorFontVariations extends BaseEditorOption {
|
|
|
580
600
|
static { this.OFF = 'normal'; }
|
|
581
601
|
static { this.TRANSLATE = 'translate'; }
|
|
582
602
|
constructor() {
|
|
583
|
-
super(
|
|
603
|
+
super(EditorOption.fontVariations, 'fontVariations', EditorFontVariations.OFF, {
|
|
584
604
|
anyOf: [
|
|
585
605
|
{
|
|
586
606
|
type: 'boolean',
|
|
@@ -631,7 +651,7 @@ class EditorFontVariations extends BaseEditorOption {
|
|
|
631
651
|
}
|
|
632
652
|
class EditorFontInfo extends ComputedEditorOption {
|
|
633
653
|
constructor() {
|
|
634
|
-
super(
|
|
654
|
+
super(EditorOption.fontInfo);
|
|
635
655
|
}
|
|
636
656
|
compute(env, options, _) {
|
|
637
657
|
return env.fontInfo;
|
|
@@ -639,7 +659,7 @@ class EditorFontInfo extends ComputedEditorOption {
|
|
|
639
659
|
}
|
|
640
660
|
class EditorFontSize extends SimpleEditorOption {
|
|
641
661
|
constructor() {
|
|
642
|
-
super(
|
|
662
|
+
super(EditorOption.fontSize, 'fontSize', EDITOR_FONT_DEFAULTS.fontSize, {
|
|
643
663
|
type: 'number',
|
|
644
664
|
minimum: 6,
|
|
645
665
|
maximum: 100,
|
|
@@ -663,7 +683,7 @@ class EditorFontWeight extends BaseEditorOption {
|
|
|
663
683
|
static { this.MINIMUM_VALUE = 1; }
|
|
664
684
|
static { this.MAXIMUM_VALUE = 1000; }
|
|
665
685
|
constructor() {
|
|
666
|
-
super(
|
|
686
|
+
super(EditorOption.fontWeight, 'fontWeight', EDITOR_FONT_DEFAULTS.fontWeight, {
|
|
667
687
|
anyOf: [
|
|
668
688
|
{
|
|
669
689
|
type: 'number',
|
|
@@ -728,7 +748,7 @@ class EditorGoToLocation extends BaseEditorOption {
|
|
|
728
748
|
]
|
|
729
749
|
};
|
|
730
750
|
const alternativeCommandOptions = ['', 'editor.action.referenceSearch.trigger', 'editor.action.goToReferences', 'editor.action.peekImplementation', 'editor.action.goToImplementation', 'editor.action.peekTypeDefinition', 'editor.action.goToTypeDefinition', 'editor.action.peekDeclaration', 'editor.action.revealDeclaration', 'editor.action.peekDefinition', 'editor.action.revealDefinitionAside', 'editor.action.revealDefinition'];
|
|
731
|
-
super(
|
|
751
|
+
super(EditorOption.gotoLocation, 'gotoLocation', defaults, {
|
|
732
752
|
'editor.gotoLocation.multiple': {
|
|
733
753
|
deprecationMessage: ( localizeWithPath(
|
|
734
754
|
_moduleId,
|
|
@@ -857,7 +877,7 @@ class EditorHover extends BaseEditorOption {
|
|
|
857
877
|
sticky: true,
|
|
858
878
|
above: true,
|
|
859
879
|
};
|
|
860
|
-
super(
|
|
880
|
+
super(EditorOption.hover, 'hover', defaults, {
|
|
861
881
|
'editor.hover.enabled': {
|
|
862
882
|
type: 'boolean',
|
|
863
883
|
default: defaults.enabled,
|
|
@@ -914,9 +934,15 @@ class EditorHover extends BaseEditorOption {
|
|
|
914
934
|
};
|
|
915
935
|
}
|
|
916
936
|
}
|
|
937
|
+
var RenderMinimap;
|
|
938
|
+
( ((function(RenderMinimap) {
|
|
939
|
+
RenderMinimap[RenderMinimap["None"] = 0] = "None";
|
|
940
|
+
RenderMinimap[RenderMinimap["Text"] = 1] = "Text";
|
|
941
|
+
RenderMinimap[RenderMinimap["Blocks"] = 2] = "Blocks";
|
|
942
|
+
})(RenderMinimap || (RenderMinimap = {}))));
|
|
917
943
|
class EditorLayoutInfoComputer extends ComputedEditorOption {
|
|
918
944
|
constructor() {
|
|
919
|
-
super(
|
|
945
|
+
super(EditorOption.layoutInfo);
|
|
920
946
|
}
|
|
921
947
|
compute(env, options, _) {
|
|
922
948
|
return EditorLayoutInfoComputer.computeLayout(options, {
|
|
@@ -950,7 +976,7 @@ class EditorLayoutInfoComputer extends ComputedEditorOption {
|
|
|
950
976
|
const pixelRatio = input.pixelRatio;
|
|
951
977
|
if (!input.minimap.enabled) {
|
|
952
978
|
return {
|
|
953
|
-
renderMinimap:
|
|
979
|
+
renderMinimap: RenderMinimap.None,
|
|
954
980
|
minimapLeft: 0,
|
|
955
981
|
minimapWidth: 0,
|
|
956
982
|
minimapHeightIsEditorHeight: false,
|
|
@@ -1062,7 +1088,7 @@ class EditorLayoutInfoComputer extends ComputedEditorOption {
|
|
|
1062
1088
|
let minimapCanvasInnerWidth = Math.floor(pixelRatio * minimapWidth);
|
|
1063
1089
|
const minimapCanvasOuterWidth = minimapCanvasInnerWidth / pixelRatio;
|
|
1064
1090
|
minimapCanvasInnerWidth = Math.floor(minimapCanvasInnerWidth * minimapWidthMultiplier);
|
|
1065
|
-
const renderMinimap = (
|
|
1091
|
+
const renderMinimap = (minimapRenderCharacters ? RenderMinimap.Text : RenderMinimap.Blocks);
|
|
1066
1092
|
const minimapLeft = (minimapSide === 'left' ? 0 : (outerWidth - minimapWidth - verticalScrollbarWidth));
|
|
1067
1093
|
return {
|
|
1068
1094
|
renderMinimap,
|
|
@@ -1087,25 +1113,25 @@ class EditorLayoutInfoComputer extends ComputedEditorOption {
|
|
|
1087
1113
|
const maxDigitWidth = env.maxDigitWidth;
|
|
1088
1114
|
const pixelRatio = env.pixelRatio;
|
|
1089
1115
|
const viewLineCount = env.viewLineCount;
|
|
1090
|
-
const wordWrapOverride2 = options.get(
|
|
1091
|
-
const wordWrapOverride1 = (wordWrapOverride2 === 'inherit' ? options.get(
|
|
1092
|
-
const wordWrap = (wordWrapOverride1 === 'inherit' ? options.get(
|
|
1093
|
-
const wordWrapColumn = options.get(
|
|
1116
|
+
const wordWrapOverride2 = options.get(EditorOption.wordWrapOverride2);
|
|
1117
|
+
const wordWrapOverride1 = (wordWrapOverride2 === 'inherit' ? options.get(EditorOption.wordWrapOverride1) : wordWrapOverride2);
|
|
1118
|
+
const wordWrap = (wordWrapOverride1 === 'inherit' ? options.get(EditorOption.wordWrap) : wordWrapOverride1);
|
|
1119
|
+
const wordWrapColumn = options.get(EditorOption.wordWrapColumn);
|
|
1094
1120
|
const isDominatedByLongLines = env.isDominatedByLongLines;
|
|
1095
|
-
const showGlyphMargin = options.get(
|
|
1096
|
-
const showLineNumbers = (
|
|
1097
|
-
const lineNumbersMinChars = options.get(
|
|
1098
|
-
const scrollBeyondLastLine = options.get(
|
|
1099
|
-
const padding = options.get(
|
|
1100
|
-
const minimap = options.get(
|
|
1101
|
-
const scrollbar = options.get(
|
|
1121
|
+
const showGlyphMargin = options.get(EditorOption.glyphMargin);
|
|
1122
|
+
const showLineNumbers = (options.get(EditorOption.lineNumbers).renderType !== RenderLineNumbersType.Off);
|
|
1123
|
+
const lineNumbersMinChars = options.get(EditorOption.lineNumbersMinChars);
|
|
1124
|
+
const scrollBeyondLastLine = options.get(EditorOption.scrollBeyondLastLine);
|
|
1125
|
+
const padding = options.get(EditorOption.padding);
|
|
1126
|
+
const minimap = options.get(EditorOption.minimap);
|
|
1127
|
+
const scrollbar = options.get(EditorOption.scrollbar);
|
|
1102
1128
|
const verticalScrollbarWidth = scrollbar.verticalScrollbarSize;
|
|
1103
1129
|
const verticalScrollbarHasArrows = scrollbar.verticalHasArrows;
|
|
1104
1130
|
const scrollbarArrowSize = scrollbar.arrowSize;
|
|
1105
1131
|
const horizontalScrollbarHeight = scrollbar.horizontalScrollbarSize;
|
|
1106
|
-
const folding = options.get(
|
|
1107
|
-
const showFoldingDecoration = options.get(
|
|
1108
|
-
let lineDecorationsWidth = options.get(
|
|
1132
|
+
const folding = options.get(EditorOption.folding);
|
|
1133
|
+
const showFoldingDecoration = options.get(EditorOption.showFoldingControls) !== 'never';
|
|
1134
|
+
let lineDecorationsWidth = options.get(EditorOption.lineDecorationsWidth);
|
|
1109
1135
|
if (folding && showFoldingDecoration) {
|
|
1110
1136
|
lineDecorationsWidth += 16;
|
|
1111
1137
|
}
|
|
@@ -1151,7 +1177,7 @@ class EditorLayoutInfoComputer extends ComputedEditorOption {
|
|
|
1151
1177
|
remainingWidth: remainingWidth,
|
|
1152
1178
|
isViewportWrapping: isViewportWrapping,
|
|
1153
1179
|
}, env.memory || ( (new ComputeOptionsMemory())));
|
|
1154
|
-
if (minimapLayout.renderMinimap !==
|
|
1180
|
+
if (minimapLayout.renderMinimap !== RenderMinimap.None && minimapLayout.minimapLeft === 0) {
|
|
1155
1181
|
glyphMarginLeft += minimapLayout.minimapWidth;
|
|
1156
1182
|
lineNumbersLeft += minimapLayout.minimapWidth;
|
|
1157
1183
|
decorationsLeft += minimapLayout.minimapWidth;
|
|
@@ -1196,7 +1222,7 @@ class EditorLayoutInfoComputer extends ComputedEditorOption {
|
|
|
1196
1222
|
}
|
|
1197
1223
|
class WrappingStrategy extends BaseEditorOption {
|
|
1198
1224
|
constructor() {
|
|
1199
|
-
super(
|
|
1225
|
+
super(EditorOption.wrappingStrategy, 'wrappingStrategy', 'simple', {
|
|
1200
1226
|
'editor.wrappingStrategy': {
|
|
1201
1227
|
enumDescriptions: [
|
|
1202
1228
|
( localizeWithPath(
|
|
@@ -1225,8 +1251,8 @@ class WrappingStrategy extends BaseEditorOption {
|
|
|
1225
1251
|
return stringSet(input, 'simple', ['simple', 'advanced']);
|
|
1226
1252
|
}
|
|
1227
1253
|
compute(env, options, value) {
|
|
1228
|
-
const accessibilitySupport = options.get(
|
|
1229
|
-
if (accessibilitySupport ===
|
|
1254
|
+
const accessibilitySupport = options.get(EditorOption.accessibilitySupport);
|
|
1255
|
+
if (accessibilitySupport === AccessibilitySupport.Enabled) {
|
|
1230
1256
|
return 'advanced';
|
|
1231
1257
|
}
|
|
1232
1258
|
return value;
|
|
@@ -1241,7 +1267,7 @@ var ShowLightbulbIconMode;
|
|
|
1241
1267
|
class EditorLightbulb extends BaseEditorOption {
|
|
1242
1268
|
constructor() {
|
|
1243
1269
|
const defaults = { enabled: ShowLightbulbIconMode.On };
|
|
1244
|
-
super(
|
|
1270
|
+
super(EditorOption.lightbulb, 'lightbulb', defaults, {
|
|
1245
1271
|
'editor.lightbulb.enabled': {
|
|
1246
1272
|
type: 'string',
|
|
1247
1273
|
tags: ['experimental'],
|
|
@@ -1277,7 +1303,7 @@ class EditorLightbulb extends BaseEditorOption {
|
|
|
1277
1303
|
class EditorStickyScroll extends BaseEditorOption {
|
|
1278
1304
|
constructor() {
|
|
1279
1305
|
const defaults = { enabled: true, maxLineCount: 5, defaultModel: 'outlineModel', scrollWithEditor: true };
|
|
1280
|
-
super(
|
|
1306
|
+
super(EditorOption.stickyScroll, 'stickyScroll', defaults, {
|
|
1281
1307
|
'editor.stickyScroll.enabled': {
|
|
1282
1308
|
type: 'boolean',
|
|
1283
1309
|
default: defaults.enabled,
|
|
@@ -1332,7 +1358,7 @@ class EditorStickyScroll extends BaseEditorOption {
|
|
|
1332
1358
|
class EditorInlayHints extends BaseEditorOption {
|
|
1333
1359
|
constructor() {
|
|
1334
1360
|
const defaults = { enabled: 'on', fontSize: 0, fontFamily: '', padding: false };
|
|
1335
|
-
super(
|
|
1361
|
+
super(EditorOption.inlayHints, 'inlayHints', defaults, {
|
|
1336
1362
|
'editor.inlayHints.enabled': {
|
|
1337
1363
|
type: 'string',
|
|
1338
1364
|
default: defaults.enabled,
|
|
@@ -1401,7 +1427,7 @@ class EditorInlayHints extends BaseEditorOption {
|
|
|
1401
1427
|
}
|
|
1402
1428
|
class EditorLineDecorationsWidth extends BaseEditorOption {
|
|
1403
1429
|
constructor() {
|
|
1404
|
-
super(
|
|
1430
|
+
super(EditorOption.lineDecorationsWidth, 'lineDecorationsWidth', 10);
|
|
1405
1431
|
}
|
|
1406
1432
|
validate(input) {
|
|
1407
1433
|
if (typeof input === 'string' && /^\d+(\.\d+)?ch$/.test(input)) {
|
|
@@ -1423,7 +1449,7 @@ class EditorLineDecorationsWidth extends BaseEditorOption {
|
|
|
1423
1449
|
}
|
|
1424
1450
|
class EditorLineHeight extends EditorFloatOption {
|
|
1425
1451
|
constructor() {
|
|
1426
|
-
super(
|
|
1452
|
+
super(EditorOption.lineHeight, 'lineHeight', EDITOR_FONT_DEFAULTS.lineHeight, x => EditorFloatOption.clamp(x, 0, 150), { markdownDescription: ( localizeWithPath(
|
|
1427
1453
|
_moduleId,
|
|
1428
1454
|
66,
|
|
1429
1455
|
"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."
|
|
@@ -1447,8 +1473,9 @@ class EditorMinimap extends BaseEditorOption {
|
|
|
1447
1473
|
showRegionSectionHeaders: true,
|
|
1448
1474
|
showMarkSectionHeaders: true,
|
|
1449
1475
|
sectionHeaderFontSize: 9,
|
|
1476
|
+
sectionHeaderLetterSpacing: 1,
|
|
1450
1477
|
};
|
|
1451
|
-
super(
|
|
1478
|
+
super(EditorOption.minimap, 'minimap', defaults, {
|
|
1452
1479
|
'editor.minimap.enabled': {
|
|
1453
1480
|
type: 'boolean',
|
|
1454
1481
|
default: defaults.enabled,
|
|
@@ -1542,6 +1569,15 @@ class EditorMinimap extends BaseEditorOption {
|
|
|
1542
1569
|
type: 'number',
|
|
1543
1570
|
default: defaults.sectionHeaderFontSize,
|
|
1544
1571
|
description: ( localizeWithPath(_moduleId, 80, "Controls the font size of section headers in the minimap."))
|
|
1572
|
+
},
|
|
1573
|
+
'editor.minimap.sectionHeaderLetterSpacing': {
|
|
1574
|
+
type: 'number',
|
|
1575
|
+
default: defaults.sectionHeaderLetterSpacing,
|
|
1576
|
+
description: ( localizeWithPath(
|
|
1577
|
+
_moduleId,
|
|
1578
|
+
81,
|
|
1579
|
+
"Controls the amount of space (in pixels) between characters of section header. This helps the readability of the header in small font sizes."
|
|
1580
|
+
))
|
|
1545
1581
|
}
|
|
1546
1582
|
});
|
|
1547
1583
|
}
|
|
@@ -1562,6 +1598,7 @@ class EditorMinimap extends BaseEditorOption {
|
|
|
1562
1598
|
showRegionSectionHeaders: boolean(input.showRegionSectionHeaders, this.defaultValue.showRegionSectionHeaders),
|
|
1563
1599
|
showMarkSectionHeaders: boolean(input.showMarkSectionHeaders, this.defaultValue.showMarkSectionHeaders),
|
|
1564
1600
|
sectionHeaderFontSize: EditorFloatOption.clamp(input.sectionHeaderFontSize ?? this.defaultValue.sectionHeaderFontSize, 4, 32),
|
|
1601
|
+
sectionHeaderLetterSpacing: EditorFloatOption.clamp(input.sectionHeaderLetterSpacing ?? this.defaultValue.sectionHeaderLetterSpacing, 0, 5),
|
|
1565
1602
|
};
|
|
1566
1603
|
}
|
|
1567
1604
|
}
|
|
@@ -1573,7 +1610,7 @@ function _multiCursorModifierFromString(multiCursorModifier) {
|
|
|
1573
1610
|
}
|
|
1574
1611
|
class EditorPadding extends BaseEditorOption {
|
|
1575
1612
|
constructor() {
|
|
1576
|
-
super(
|
|
1613
|
+
super(EditorOption.padding, 'padding', { top: 0, bottom: 0 }, {
|
|
1577
1614
|
'editor.padding.top': {
|
|
1578
1615
|
type: 'number',
|
|
1579
1616
|
default: 0,
|
|
@@ -1581,7 +1618,7 @@ class EditorPadding extends BaseEditorOption {
|
|
|
1581
1618
|
maximum: 1000,
|
|
1582
1619
|
description: ( localizeWithPath(
|
|
1583
1620
|
_moduleId,
|
|
1584
|
-
|
|
1621
|
+
82,
|
|
1585
1622
|
"Controls the amount of space between the top edge of the editor and the first line."
|
|
1586
1623
|
))
|
|
1587
1624
|
},
|
|
@@ -1592,7 +1629,7 @@ class EditorPadding extends BaseEditorOption {
|
|
|
1592
1629
|
maximum: 1000,
|
|
1593
1630
|
description: ( localizeWithPath(
|
|
1594
1631
|
_moduleId,
|
|
1595
|
-
|
|
1632
|
+
83,
|
|
1596
1633
|
"Controls the amount of space between the bottom edge of the editor and the last line."
|
|
1597
1634
|
))
|
|
1598
1635
|
}
|
|
@@ -1615,13 +1652,13 @@ class EditorParameterHints extends BaseEditorOption {
|
|
|
1615
1652
|
enabled: true,
|
|
1616
1653
|
cycle: true
|
|
1617
1654
|
};
|
|
1618
|
-
super(
|
|
1655
|
+
super(EditorOption.parameterHints, 'parameterHints', defaults, {
|
|
1619
1656
|
'editor.parameterHints.enabled': {
|
|
1620
1657
|
type: 'boolean',
|
|
1621
1658
|
default: defaults.enabled,
|
|
1622
1659
|
description: ( localizeWithPath(
|
|
1623
1660
|
_moduleId,
|
|
1624
|
-
|
|
1661
|
+
84,
|
|
1625
1662
|
"Enables a pop-up that shows parameter documentation and type information as you type."
|
|
1626
1663
|
))
|
|
1627
1664
|
},
|
|
@@ -1630,7 +1667,7 @@ class EditorParameterHints extends BaseEditorOption {
|
|
|
1630
1667
|
default: defaults.cycle,
|
|
1631
1668
|
description: ( localizeWithPath(
|
|
1632
1669
|
_moduleId,
|
|
1633
|
-
|
|
1670
|
+
85,
|
|
1634
1671
|
"Controls whether the parameter hints menu cycles or closes when reaching the end of the list."
|
|
1635
1672
|
))
|
|
1636
1673
|
},
|
|
@@ -1649,7 +1686,7 @@ class EditorParameterHints extends BaseEditorOption {
|
|
|
1649
1686
|
}
|
|
1650
1687
|
class EditorPixelRatio extends ComputedEditorOption {
|
|
1651
1688
|
constructor() {
|
|
1652
|
-
super(
|
|
1689
|
+
super(EditorOption.pixelRatio);
|
|
1653
1690
|
}
|
|
1654
1691
|
compute(env, options, _) {
|
|
1655
1692
|
return env.pixelRatio;
|
|
@@ -1667,33 +1704,33 @@ class EditorQuickSuggestions extends BaseEditorOption {
|
|
|
1667
1704
|
{
|
|
1668
1705
|
type: 'string',
|
|
1669
1706
|
enum: ['on', 'inline', 'off'],
|
|
1670
|
-
enumDescriptions: [( localizeWithPath(_moduleId,
|
|
1707
|
+
enumDescriptions: [( localizeWithPath(_moduleId, 86, "Quick suggestions show inside the suggest widget")), ( localizeWithPath(_moduleId, 87, "Quick suggestions show as ghost text")), ( localizeWithPath(_moduleId, 88, "Quick suggestions are disabled"))]
|
|
1671
1708
|
}
|
|
1672
1709
|
];
|
|
1673
|
-
super(
|
|
1710
|
+
super(EditorOption.quickSuggestions, 'quickSuggestions', defaults, {
|
|
1674
1711
|
type: 'object',
|
|
1675
1712
|
additionalProperties: false,
|
|
1676
1713
|
properties: {
|
|
1677
1714
|
strings: {
|
|
1678
1715
|
anyOf: types,
|
|
1679
1716
|
default: defaults.strings,
|
|
1680
|
-
description: ( localizeWithPath(_moduleId,
|
|
1717
|
+
description: ( localizeWithPath(_moduleId, 89, "Enable quick suggestions inside strings."))
|
|
1681
1718
|
},
|
|
1682
1719
|
comments: {
|
|
1683
1720
|
anyOf: types,
|
|
1684
1721
|
default: defaults.comments,
|
|
1685
|
-
description: ( localizeWithPath(_moduleId,
|
|
1722
|
+
description: ( localizeWithPath(_moduleId, 90, "Enable quick suggestions inside comments."))
|
|
1686
1723
|
},
|
|
1687
1724
|
other: {
|
|
1688
1725
|
anyOf: types,
|
|
1689
1726
|
default: defaults.other,
|
|
1690
|
-
description: ( localizeWithPath(_moduleId,
|
|
1727
|
+
description: ( localizeWithPath(_moduleId, 91, "Enable quick suggestions outside of strings and comments."))
|
|
1691
1728
|
},
|
|
1692
1729
|
},
|
|
1693
1730
|
default: defaults,
|
|
1694
1731
|
markdownDescription: ( localizeWithPath(
|
|
1695
1732
|
_moduleId,
|
|
1696
|
-
|
|
1733
|
+
92,
|
|
1697
1734
|
"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.",
|
|
1698
1735
|
`#editor.suggestOnTriggerCharacters#`
|
|
1699
1736
|
))
|
|
@@ -1738,23 +1775,31 @@ class EditorQuickSuggestions extends BaseEditorOption {
|
|
|
1738
1775
|
};
|
|
1739
1776
|
}
|
|
1740
1777
|
}
|
|
1778
|
+
var RenderLineNumbersType;
|
|
1779
|
+
( ((function(RenderLineNumbersType) {
|
|
1780
|
+
RenderLineNumbersType[RenderLineNumbersType["Off"] = 0] = "Off";
|
|
1781
|
+
RenderLineNumbersType[RenderLineNumbersType["On"] = 1] = "On";
|
|
1782
|
+
RenderLineNumbersType[RenderLineNumbersType["Relative"] = 2] = "Relative";
|
|
1783
|
+
RenderLineNumbersType[RenderLineNumbersType["Interval"] = 3] = "Interval";
|
|
1784
|
+
RenderLineNumbersType[RenderLineNumbersType["Custom"] = 4] = "Custom";
|
|
1785
|
+
})(RenderLineNumbersType || (RenderLineNumbersType = {}))));
|
|
1741
1786
|
class EditorRenderLineNumbersOption extends BaseEditorOption {
|
|
1742
1787
|
constructor() {
|
|
1743
|
-
super(
|
|
1788
|
+
super(EditorOption.lineNumbers, 'lineNumbers', { renderType: RenderLineNumbersType.On, renderFn: null }, {
|
|
1744
1789
|
type: 'string',
|
|
1745
1790
|
enum: ['off', 'on', 'relative', 'interval'],
|
|
1746
1791
|
enumDescriptions: [
|
|
1747
|
-
( localizeWithPath(_moduleId,
|
|
1748
|
-
( localizeWithPath(_moduleId,
|
|
1792
|
+
( localizeWithPath(_moduleId, 93, "Line numbers are not rendered.")),
|
|
1793
|
+
( localizeWithPath(_moduleId, 94, "Line numbers are rendered as absolute number.")),
|
|
1749
1794
|
( localizeWithPath(
|
|
1750
1795
|
_moduleId,
|
|
1751
|
-
|
|
1796
|
+
95,
|
|
1752
1797
|
"Line numbers are rendered as distance in lines to cursor position."
|
|
1753
1798
|
)),
|
|
1754
|
-
( localizeWithPath(_moduleId,
|
|
1799
|
+
( localizeWithPath(_moduleId, 96, "Line numbers are rendered every 10 lines."))
|
|
1755
1800
|
],
|
|
1756
1801
|
default: 'on',
|
|
1757
|
-
description: ( localizeWithPath(_moduleId,
|
|
1802
|
+
description: ( localizeWithPath(_moduleId, 97, "Controls the display of line numbers."))
|
|
1758
1803
|
});
|
|
1759
1804
|
}
|
|
1760
1805
|
validate(lineNumbers) {
|
|
@@ -1762,20 +1807,20 @@ class EditorRenderLineNumbersOption extends BaseEditorOption {
|
|
|
1762
1807
|
let renderFn = this.defaultValue.renderFn;
|
|
1763
1808
|
if (typeof lineNumbers !== 'undefined') {
|
|
1764
1809
|
if (typeof lineNumbers === 'function') {
|
|
1765
|
-
renderType =
|
|
1810
|
+
renderType = RenderLineNumbersType.Custom;
|
|
1766
1811
|
renderFn = lineNumbers;
|
|
1767
1812
|
}
|
|
1768
1813
|
else if (lineNumbers === 'interval') {
|
|
1769
|
-
renderType =
|
|
1814
|
+
renderType = RenderLineNumbersType.Interval;
|
|
1770
1815
|
}
|
|
1771
1816
|
else if (lineNumbers === 'relative') {
|
|
1772
|
-
renderType =
|
|
1817
|
+
renderType = RenderLineNumbersType.Relative;
|
|
1773
1818
|
}
|
|
1774
1819
|
else if (lineNumbers === 'on') {
|
|
1775
|
-
renderType =
|
|
1820
|
+
renderType = RenderLineNumbersType.On;
|
|
1776
1821
|
}
|
|
1777
1822
|
else {
|
|
1778
|
-
renderType =
|
|
1823
|
+
renderType = RenderLineNumbersType.Off;
|
|
1779
1824
|
}
|
|
1780
1825
|
}
|
|
1781
1826
|
return {
|
|
@@ -1785,9 +1830,9 @@ class EditorRenderLineNumbersOption extends BaseEditorOption {
|
|
|
1785
1830
|
}
|
|
1786
1831
|
}
|
|
1787
1832
|
function filterValidationDecorations(options) {
|
|
1788
|
-
const renderValidationDecorations = options.get(
|
|
1833
|
+
const renderValidationDecorations = options.get(EditorOption.renderValidationDecorations);
|
|
1789
1834
|
if (renderValidationDecorations === 'editable') {
|
|
1790
|
-
return options.get(
|
|
1835
|
+
return options.get(EditorOption.readOnly);
|
|
1791
1836
|
}
|
|
1792
1837
|
return renderValidationDecorations === 'on' ? false : true;
|
|
1793
1838
|
}
|
|
@@ -1796,10 +1841,10 @@ class EditorRulers extends BaseEditorOption {
|
|
|
1796
1841
|
const defaults = [];
|
|
1797
1842
|
const columnSchema = { type: 'number', description: ( localizeWithPath(
|
|
1798
1843
|
_moduleId,
|
|
1799
|
-
|
|
1844
|
+
98,
|
|
1800
1845
|
"Number of monospace characters at which this editor ruler will render."
|
|
1801
1846
|
)) };
|
|
1802
|
-
super(
|
|
1847
|
+
super(EditorOption.rulers, 'rulers', defaults, {
|
|
1803
1848
|
type: 'array',
|
|
1804
1849
|
items: {
|
|
1805
1850
|
anyOf: [
|
|
@@ -1812,7 +1857,7 @@ class EditorRulers extends BaseEditorOption {
|
|
|
1812
1857
|
column: columnSchema,
|
|
1813
1858
|
color: {
|
|
1814
1859
|
type: 'string',
|
|
1815
|
-
description: ( localizeWithPath(_moduleId,
|
|
1860
|
+
description: ( localizeWithPath(_moduleId, 99, "Color of this editor ruler.")),
|
|
1816
1861
|
format: 'color-hex'
|
|
1817
1862
|
}
|
|
1818
1863
|
}
|
|
@@ -1822,7 +1867,7 @@ class EditorRulers extends BaseEditorOption {
|
|
|
1822
1867
|
default: defaults,
|
|
1823
1868
|
description: ( localizeWithPath(
|
|
1824
1869
|
_moduleId,
|
|
1825
|
-
|
|
1870
|
+
100,
|
|
1826
1871
|
"Render vertical rulers after a certain number of monospace characters. Use multiple values for multiple rulers. No rulers are drawn if array is empty."
|
|
1827
1872
|
))
|
|
1828
1873
|
});
|
|
@@ -1854,7 +1899,7 @@ class EditorRulers extends BaseEditorOption {
|
|
|
1854
1899
|
class ReadonlyMessage extends BaseEditorOption {
|
|
1855
1900
|
constructor() {
|
|
1856
1901
|
const defaults = undefined;
|
|
1857
|
-
super(
|
|
1902
|
+
super(EditorOption.readOnlyMessage, 'readOnlyMessage', defaults);
|
|
1858
1903
|
}
|
|
1859
1904
|
validate(_input) {
|
|
1860
1905
|
if (!_input || typeof _input !== 'object') {
|
|
@@ -1868,16 +1913,16 @@ function _scrollbarVisibilityFromString(visibility, defaultValue) {
|
|
|
1868
1913
|
return defaultValue;
|
|
1869
1914
|
}
|
|
1870
1915
|
switch (visibility) {
|
|
1871
|
-
case 'hidden': return
|
|
1872
|
-
case 'visible': return
|
|
1873
|
-
default: return
|
|
1916
|
+
case 'hidden': return ScrollbarVisibility.Hidden;
|
|
1917
|
+
case 'visible': return ScrollbarVisibility.Visible;
|
|
1918
|
+
default: return ScrollbarVisibility.Auto;
|
|
1874
1919
|
}
|
|
1875
1920
|
}
|
|
1876
1921
|
class EditorScrollbar extends BaseEditorOption {
|
|
1877
1922
|
constructor() {
|
|
1878
1923
|
const defaults = {
|
|
1879
|
-
vertical:
|
|
1880
|
-
horizontal:
|
|
1924
|
+
vertical: ScrollbarVisibility.Auto,
|
|
1925
|
+
horizontal: ScrollbarVisibility.Auto,
|
|
1881
1926
|
arrowSize: 11,
|
|
1882
1927
|
useShadows: true,
|
|
1883
1928
|
verticalHasArrows: false,
|
|
@@ -1891,21 +1936,21 @@ class EditorScrollbar extends BaseEditorOption {
|
|
|
1891
1936
|
scrollByPage: false,
|
|
1892
1937
|
ignoreHorizontalScrollbarInContentHeight: false,
|
|
1893
1938
|
};
|
|
1894
|
-
super(
|
|
1939
|
+
super(EditorOption.scrollbar, 'scrollbar', defaults, {
|
|
1895
1940
|
'editor.scrollbar.vertical': {
|
|
1896
1941
|
type: 'string',
|
|
1897
1942
|
enum: ['auto', 'visible', 'hidden'],
|
|
1898
1943
|
enumDescriptions: [
|
|
1899
1944
|
( localizeWithPath(
|
|
1900
1945
|
_moduleId,
|
|
1901
|
-
|
|
1946
|
+
101,
|
|
1902
1947
|
"The vertical scrollbar will be visible only when necessary."
|
|
1903
1948
|
)),
|
|
1904
|
-
( localizeWithPath(_moduleId,
|
|
1905
|
-
( localizeWithPath(_moduleId,
|
|
1949
|
+
( localizeWithPath(_moduleId, 102, "The vertical scrollbar will always be visible.")),
|
|
1950
|
+
( localizeWithPath(_moduleId, 103, "The vertical scrollbar will always be hidden.")),
|
|
1906
1951
|
],
|
|
1907
1952
|
default: 'auto',
|
|
1908
|
-
description: ( localizeWithPath(_moduleId,
|
|
1953
|
+
description: ( localizeWithPath(_moduleId, 104, "Controls the visibility of the vertical scrollbar."))
|
|
1909
1954
|
},
|
|
1910
1955
|
'editor.scrollbar.horizontal': {
|
|
1911
1956
|
type: 'string',
|
|
@@ -1913,31 +1958,31 @@ class EditorScrollbar extends BaseEditorOption {
|
|
|
1913
1958
|
enumDescriptions: [
|
|
1914
1959
|
( localizeWithPath(
|
|
1915
1960
|
_moduleId,
|
|
1916
|
-
|
|
1961
|
+
105,
|
|
1917
1962
|
"The horizontal scrollbar will be visible only when necessary."
|
|
1918
1963
|
)),
|
|
1919
|
-
( localizeWithPath(_moduleId,
|
|
1920
|
-
( localizeWithPath(_moduleId,
|
|
1964
|
+
( localizeWithPath(_moduleId, 106, "The horizontal scrollbar will always be visible.")),
|
|
1965
|
+
( localizeWithPath(_moduleId, 107, "The horizontal scrollbar will always be hidden.")),
|
|
1921
1966
|
],
|
|
1922
1967
|
default: 'auto',
|
|
1923
|
-
description: ( localizeWithPath(_moduleId,
|
|
1968
|
+
description: ( localizeWithPath(_moduleId, 108, "Controls the visibility of the horizontal scrollbar."))
|
|
1924
1969
|
},
|
|
1925
1970
|
'editor.scrollbar.verticalScrollbarSize': {
|
|
1926
1971
|
type: 'number',
|
|
1927
1972
|
default: defaults.verticalScrollbarSize,
|
|
1928
|
-
description: ( localizeWithPath(_moduleId,
|
|
1973
|
+
description: ( localizeWithPath(_moduleId, 109, "The width of the vertical scrollbar."))
|
|
1929
1974
|
},
|
|
1930
1975
|
'editor.scrollbar.horizontalScrollbarSize': {
|
|
1931
1976
|
type: 'number',
|
|
1932
1977
|
default: defaults.horizontalScrollbarSize,
|
|
1933
|
-
description: ( localizeWithPath(_moduleId,
|
|
1978
|
+
description: ( localizeWithPath(_moduleId, 110, "The height of the horizontal scrollbar."))
|
|
1934
1979
|
},
|
|
1935
1980
|
'editor.scrollbar.scrollByPage': {
|
|
1936
1981
|
type: 'boolean',
|
|
1937
1982
|
default: defaults.scrollByPage,
|
|
1938
1983
|
description: ( localizeWithPath(
|
|
1939
1984
|
_moduleId,
|
|
1940
|
-
|
|
1985
|
+
111,
|
|
1941
1986
|
"Controls whether clicks scroll by page or jump to click position."
|
|
1942
1987
|
))
|
|
1943
1988
|
},
|
|
@@ -1946,7 +1991,7 @@ class EditorScrollbar extends BaseEditorOption {
|
|
|
1946
1991
|
default: defaults.ignoreHorizontalScrollbarInContentHeight,
|
|
1947
1992
|
description: ( localizeWithPath(
|
|
1948
1993
|
_moduleId,
|
|
1949
|
-
|
|
1994
|
+
112,
|
|
1950
1995
|
"When set, the horizontal scrollbar will not increase the size of the editor's content."
|
|
1951
1996
|
))
|
|
1952
1997
|
}
|
|
@@ -1998,7 +2043,7 @@ class UnicodeHighlight extends BaseEditorOption {
|
|
|
1998
2043
|
allowedCharacters: {},
|
|
1999
2044
|
allowedLocales: { _os: true, _vscode: true },
|
|
2000
2045
|
};
|
|
2001
|
-
super(
|
|
2046
|
+
super(EditorOption.unicodeHighlighting, 'unicodeHighlight', defaults, {
|
|
2002
2047
|
[unicodeHighlightConfigKeys.nonBasicASCII]: {
|
|
2003
2048
|
restricted: true,
|
|
2004
2049
|
type: ['boolean', 'string'],
|
|
@@ -2006,7 +2051,7 @@ class UnicodeHighlight extends BaseEditorOption {
|
|
|
2006
2051
|
default: defaults.nonBasicASCII,
|
|
2007
2052
|
description: ( localizeWithPath(
|
|
2008
2053
|
_moduleId,
|
|
2009
|
-
|
|
2054
|
+
113,
|
|
2010
2055
|
"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."
|
|
2011
2056
|
))
|
|
2012
2057
|
},
|
|
@@ -2016,7 +2061,7 @@ class UnicodeHighlight extends BaseEditorOption {
|
|
|
2016
2061
|
default: defaults.invisibleCharacters,
|
|
2017
2062
|
description: ( localizeWithPath(
|
|
2018
2063
|
_moduleId,
|
|
2019
|
-
|
|
2064
|
+
114,
|
|
2020
2065
|
"Controls whether characters that just reserve space or have no width at all are highlighted."
|
|
2021
2066
|
))
|
|
2022
2067
|
},
|
|
@@ -2026,7 +2071,7 @@ class UnicodeHighlight extends BaseEditorOption {
|
|
|
2026
2071
|
default: defaults.ambiguousCharacters,
|
|
2027
2072
|
description: ( localizeWithPath(
|
|
2028
2073
|
_moduleId,
|
|
2029
|
-
|
|
2074
|
+
115,
|
|
2030
2075
|
"Controls whether characters are highlighted that can be confused with basic ASCII characters, except those that are common in the current user locale."
|
|
2031
2076
|
))
|
|
2032
2077
|
},
|
|
@@ -2037,7 +2082,7 @@ class UnicodeHighlight extends BaseEditorOption {
|
|
|
2037
2082
|
default: defaults.includeComments,
|
|
2038
2083
|
description: ( localizeWithPath(
|
|
2039
2084
|
_moduleId,
|
|
2040
|
-
|
|
2085
|
+
116,
|
|
2041
2086
|
"Controls whether characters in comments should also be subject to Unicode highlighting."
|
|
2042
2087
|
))
|
|
2043
2088
|
},
|
|
@@ -2048,7 +2093,7 @@ class UnicodeHighlight extends BaseEditorOption {
|
|
|
2048
2093
|
default: defaults.includeStrings,
|
|
2049
2094
|
description: ( localizeWithPath(
|
|
2050
2095
|
_moduleId,
|
|
2051
|
-
|
|
2096
|
+
117,
|
|
2052
2097
|
"Controls whether characters in strings should also be subject to Unicode highlighting."
|
|
2053
2098
|
))
|
|
2054
2099
|
},
|
|
@@ -2058,7 +2103,7 @@ class UnicodeHighlight extends BaseEditorOption {
|
|
|
2058
2103
|
default: defaults.allowedCharacters,
|
|
2059
2104
|
description: ( localizeWithPath(
|
|
2060
2105
|
_moduleId,
|
|
2061
|
-
|
|
2106
|
+
118,
|
|
2062
2107
|
"Defines allowed characters that are not being highlighted."
|
|
2063
2108
|
)),
|
|
2064
2109
|
additionalProperties: {
|
|
@@ -2074,7 +2119,7 @@ class UnicodeHighlight extends BaseEditorOption {
|
|
|
2074
2119
|
default: defaults.allowedLocales,
|
|
2075
2120
|
description: ( localizeWithPath(
|
|
2076
2121
|
_moduleId,
|
|
2077
|
-
|
|
2122
|
+
119,
|
|
2078
2123
|
"Unicode characters that are common in allowed locales are not being highlighted."
|
|
2079
2124
|
))
|
|
2080
2125
|
},
|
|
@@ -2140,13 +2185,13 @@ class InlineEditorSuggest extends BaseEditorOption {
|
|
|
2140
2185
|
keepOnBlur: false,
|
|
2141
2186
|
fontFamily: 'default'
|
|
2142
2187
|
};
|
|
2143
|
-
super(
|
|
2188
|
+
super(EditorOption.inlineSuggest, 'inlineSuggest', defaults, {
|
|
2144
2189
|
'editor.inlineSuggest.enabled': {
|
|
2145
2190
|
type: 'boolean',
|
|
2146
2191
|
default: defaults.enabled,
|
|
2147
2192
|
description: ( localizeWithPath(
|
|
2148
2193
|
_moduleId,
|
|
2149
|
-
|
|
2194
|
+
120,
|
|
2150
2195
|
"Controls whether to automatically show inline suggestions in the editor."
|
|
2151
2196
|
))
|
|
2152
2197
|
},
|
|
@@ -2157,31 +2202,31 @@ class InlineEditorSuggest extends BaseEditorOption {
|
|
|
2157
2202
|
enumDescriptions: [
|
|
2158
2203
|
( localizeWithPath(
|
|
2159
2204
|
_moduleId,
|
|
2160
|
-
|
|
2205
|
+
121,
|
|
2161
2206
|
"Show the inline suggestion toolbar whenever an inline suggestion is shown."
|
|
2162
2207
|
)),
|
|
2163
2208
|
( localizeWithPath(
|
|
2164
2209
|
_moduleId,
|
|
2165
|
-
|
|
2210
|
+
122,
|
|
2166
2211
|
"Show the inline suggestion toolbar when hovering over an inline suggestion."
|
|
2167
2212
|
)),
|
|
2168
|
-
( localizeWithPath(_moduleId,
|
|
2213
|
+
( localizeWithPath(_moduleId, 123, "Never show the inline suggestion toolbar.")),
|
|
2169
2214
|
],
|
|
2170
|
-
description: ( localizeWithPath(_moduleId,
|
|
2215
|
+
description: ( localizeWithPath(_moduleId, 124, "Controls when to show the inline suggestion toolbar.")),
|
|
2171
2216
|
},
|
|
2172
2217
|
'editor.inlineSuggest.suppressSuggestions': {
|
|
2173
2218
|
type: 'boolean',
|
|
2174
2219
|
default: defaults.suppressSuggestions,
|
|
2175
2220
|
description: ( localizeWithPath(
|
|
2176
2221
|
_moduleId,
|
|
2177
|
-
|
|
2222
|
+
125,
|
|
2178
2223
|
"Controls how inline suggestions interact with the suggest widget. If enabled, the suggest widget is not shown automatically when inline suggestions are available."
|
|
2179
2224
|
))
|
|
2180
2225
|
},
|
|
2181
2226
|
'editor.inlineSuggest.fontFamily': {
|
|
2182
2227
|
type: 'string',
|
|
2183
2228
|
default: defaults.fontFamily,
|
|
2184
|
-
description: ( localizeWithPath(_moduleId,
|
|
2229
|
+
description: ( localizeWithPath(_moduleId, 126, "Controls the font family of the inline suggestions."))
|
|
2185
2230
|
},
|
|
2186
2231
|
});
|
|
2187
2232
|
}
|
|
@@ -2209,11 +2254,11 @@ class InlineEditorEdit extends BaseEditorOption {
|
|
|
2209
2254
|
keepOnBlur: false,
|
|
2210
2255
|
backgroundColoring: false,
|
|
2211
2256
|
};
|
|
2212
|
-
super(
|
|
2257
|
+
super(EditorOption.inlineEdit, 'experimentalInlineEdit', defaults, {
|
|
2213
2258
|
'editor.experimentalInlineEdit.enabled': {
|
|
2214
2259
|
type: 'boolean',
|
|
2215
2260
|
default: defaults.enabled,
|
|
2216
|
-
description: ( localizeWithPath(_moduleId,
|
|
2261
|
+
description: ( localizeWithPath(_moduleId, 127, "Controls whether to show inline edits in the editor."))
|
|
2217
2262
|
},
|
|
2218
2263
|
'editor.experimentalInlineEdit.showToolbar': {
|
|
2219
2264
|
type: 'string',
|
|
@@ -2222,29 +2267,29 @@ class InlineEditorEdit extends BaseEditorOption {
|
|
|
2222
2267
|
enumDescriptions: [
|
|
2223
2268
|
( localizeWithPath(
|
|
2224
2269
|
_moduleId,
|
|
2225
|
-
|
|
2270
|
+
128,
|
|
2226
2271
|
"Show the inline edit toolbar whenever an inline suggestion is shown."
|
|
2227
2272
|
)),
|
|
2228
2273
|
( localizeWithPath(
|
|
2229
2274
|
_moduleId,
|
|
2230
|
-
|
|
2275
|
+
129,
|
|
2231
2276
|
"Show the inline edit toolbar when hovering over an inline suggestion."
|
|
2232
2277
|
)),
|
|
2233
|
-
( localizeWithPath(_moduleId,
|
|
2278
|
+
( localizeWithPath(_moduleId, 130, "Never show the inline edit toolbar.")),
|
|
2234
2279
|
],
|
|
2235
|
-
description: ( localizeWithPath(_moduleId,
|
|
2280
|
+
description: ( localizeWithPath(_moduleId, 131, "Controls when to show the inline edit toolbar.")),
|
|
2236
2281
|
},
|
|
2237
2282
|
'editor.experimentalInlineEdit.fontFamily': {
|
|
2238
2283
|
type: 'string',
|
|
2239
2284
|
default: defaults.fontFamily,
|
|
2240
|
-
description: ( localizeWithPath(_moduleId,
|
|
2285
|
+
description: ( localizeWithPath(_moduleId, 132, "Controls the font family of the inline edit."))
|
|
2241
2286
|
},
|
|
2242
2287
|
'editor.experimentalInlineEdit.backgroundColoring': {
|
|
2243
2288
|
type: 'boolean',
|
|
2244
2289
|
default: defaults.backgroundColoring,
|
|
2245
2290
|
description: ( localizeWithPath(
|
|
2246
2291
|
_moduleId,
|
|
2247
|
-
|
|
2292
|
+
133,
|
|
2248
2293
|
"Controls whether to color the background of inline edits."
|
|
2249
2294
|
))
|
|
2250
2295
|
},
|
|
@@ -2270,13 +2315,13 @@ class BracketPairColorization extends BaseEditorOption {
|
|
|
2270
2315
|
enabled: EDITOR_MODEL_DEFAULTS.bracketPairColorizationOptions.enabled,
|
|
2271
2316
|
independentColorPoolPerBracketType: EDITOR_MODEL_DEFAULTS.bracketPairColorizationOptions.independentColorPoolPerBracketType,
|
|
2272
2317
|
};
|
|
2273
|
-
super(
|
|
2318
|
+
super(EditorOption.bracketPairColorization, 'bracketPairColorization', defaults, {
|
|
2274
2319
|
'editor.bracketPairColorization.enabled': {
|
|
2275
2320
|
type: 'boolean',
|
|
2276
2321
|
default: defaults.enabled,
|
|
2277
2322
|
markdownDescription: ( localizeWithPath(
|
|
2278
2323
|
_moduleId,
|
|
2279
|
-
|
|
2324
|
+
134,
|
|
2280
2325
|
"Controls whether bracket pair colorization is enabled or not. Use {0} to override the bracket highlight colors.",
|
|
2281
2326
|
'`#workbench.colorCustomizations#`'
|
|
2282
2327
|
))
|
|
@@ -2286,7 +2331,7 @@ class BracketPairColorization extends BaseEditorOption {
|
|
|
2286
2331
|
default: defaults.independentColorPoolPerBracketType,
|
|
2287
2332
|
description: ( localizeWithPath(
|
|
2288
2333
|
_moduleId,
|
|
2289
|
-
|
|
2334
|
+
135,
|
|
2290
2335
|
"Controls whether each bracket type has its own independent color pool."
|
|
2291
2336
|
))
|
|
2292
2337
|
},
|
|
@@ -2312,21 +2357,21 @@ class GuideOptions extends BaseEditorOption {
|
|
|
2312
2357
|
indentation: true,
|
|
2313
2358
|
highlightActiveIndentation: true
|
|
2314
2359
|
};
|
|
2315
|
-
super(
|
|
2360
|
+
super(EditorOption.guides, 'guides', defaults, {
|
|
2316
2361
|
'editor.guides.bracketPairs': {
|
|
2317
2362
|
type: ['boolean', 'string'],
|
|
2318
2363
|
enum: [true, 'active', false],
|
|
2319
2364
|
enumDescriptions: [
|
|
2320
|
-
( localizeWithPath(_moduleId,
|
|
2365
|
+
( localizeWithPath(_moduleId, 136, "Enables bracket pair guides.")),
|
|
2321
2366
|
( localizeWithPath(
|
|
2322
2367
|
_moduleId,
|
|
2323
|
-
|
|
2368
|
+
137,
|
|
2324
2369
|
"Enables bracket pair guides only for the active bracket pair."
|
|
2325
2370
|
)),
|
|
2326
|
-
( localizeWithPath(_moduleId,
|
|
2371
|
+
( localizeWithPath(_moduleId, 138, "Disables bracket pair guides.")),
|
|
2327
2372
|
],
|
|
2328
2373
|
default: defaults.bracketPairs,
|
|
2329
|
-
description: ( localizeWithPath(_moduleId,
|
|
2374
|
+
description: ( localizeWithPath(_moduleId, 139, "Controls whether bracket pair guides are enabled or not."))
|
|
2330
2375
|
},
|
|
2331
2376
|
'editor.guides.bracketPairsHorizontal': {
|
|
2332
2377
|
type: ['boolean', 'string'],
|
|
@@ -2334,20 +2379,20 @@ class GuideOptions extends BaseEditorOption {
|
|
|
2334
2379
|
enumDescriptions: [
|
|
2335
2380
|
( localizeWithPath(
|
|
2336
2381
|
_moduleId,
|
|
2337
|
-
|
|
2382
|
+
140,
|
|
2338
2383
|
"Enables horizontal guides as addition to vertical bracket pair guides."
|
|
2339
2384
|
)),
|
|
2340
2385
|
( localizeWithPath(
|
|
2341
2386
|
_moduleId,
|
|
2342
|
-
|
|
2387
|
+
141,
|
|
2343
2388
|
"Enables horizontal guides only for the active bracket pair."
|
|
2344
2389
|
)),
|
|
2345
|
-
( localizeWithPath(_moduleId,
|
|
2390
|
+
( localizeWithPath(_moduleId, 142, "Disables horizontal bracket pair guides.")),
|
|
2346
2391
|
],
|
|
2347
2392
|
default: defaults.bracketPairsHorizontal,
|
|
2348
2393
|
description: ( localizeWithPath(
|
|
2349
2394
|
_moduleId,
|
|
2350
|
-
|
|
2395
|
+
143,
|
|
2351
2396
|
"Controls whether horizontal bracket pair guides are enabled or not."
|
|
2352
2397
|
))
|
|
2353
2398
|
},
|
|
@@ -2356,31 +2401,31 @@ class GuideOptions extends BaseEditorOption {
|
|
|
2356
2401
|
default: defaults.highlightActiveBracketPair,
|
|
2357
2402
|
description: ( localizeWithPath(
|
|
2358
2403
|
_moduleId,
|
|
2359
|
-
|
|
2404
|
+
144,
|
|
2360
2405
|
"Controls whether the editor should highlight the active bracket pair."
|
|
2361
2406
|
))
|
|
2362
2407
|
},
|
|
2363
2408
|
'editor.guides.indentation': {
|
|
2364
2409
|
type: 'boolean',
|
|
2365
2410
|
default: defaults.indentation,
|
|
2366
|
-
description: ( localizeWithPath(_moduleId,
|
|
2411
|
+
description: ( localizeWithPath(_moduleId, 145, "Controls whether the editor should render indent guides."))
|
|
2367
2412
|
},
|
|
2368
2413
|
'editor.guides.highlightActiveIndentation': {
|
|
2369
2414
|
type: ['boolean', 'string'],
|
|
2370
2415
|
enum: [true, 'always', false],
|
|
2371
2416
|
enumDescriptions: [
|
|
2372
|
-
( localizeWithPath(_moduleId,
|
|
2417
|
+
( localizeWithPath(_moduleId, 146, "Highlights the active indent guide.")),
|
|
2373
2418
|
( localizeWithPath(
|
|
2374
2419
|
_moduleId,
|
|
2375
|
-
|
|
2420
|
+
147,
|
|
2376
2421
|
"Highlights the active indent guide even if bracket guides are highlighted."
|
|
2377
2422
|
)),
|
|
2378
|
-
( localizeWithPath(_moduleId,
|
|
2423
|
+
( localizeWithPath(_moduleId, 148, "Do not highlight the active indent guide.")),
|
|
2379
2424
|
],
|
|
2380
2425
|
default: defaults.highlightActiveIndentation,
|
|
2381
2426
|
description: ( localizeWithPath(
|
|
2382
2427
|
_moduleId,
|
|
2383
|
-
|
|
2428
|
+
149,
|
|
2384
2429
|
"Controls whether the editor should highlight the active indent guide."
|
|
2385
2430
|
))
|
|
2386
2431
|
}
|
|
@@ -2451,26 +2496,26 @@ class EditorSuggest extends BaseEditorOption {
|
|
|
2451
2496
|
showUsers: true,
|
|
2452
2497
|
showIssues: true,
|
|
2453
2498
|
};
|
|
2454
|
-
super(
|
|
2499
|
+
super(EditorOption.suggest, 'suggest', defaults, {
|
|
2455
2500
|
'editor.suggest.insertMode': {
|
|
2456
2501
|
type: 'string',
|
|
2457
2502
|
enum: ['insert', 'replace'],
|
|
2458
2503
|
enumDescriptions: [
|
|
2459
2504
|
( localizeWithPath(
|
|
2460
2505
|
_moduleId,
|
|
2461
|
-
|
|
2506
|
+
150,
|
|
2462
2507
|
"Insert suggestion without overwriting text right of the cursor."
|
|
2463
2508
|
)),
|
|
2464
2509
|
( localizeWithPath(
|
|
2465
2510
|
_moduleId,
|
|
2466
|
-
|
|
2511
|
+
151,
|
|
2467
2512
|
"Insert suggestion and overwrite text right of the cursor."
|
|
2468
2513
|
)),
|
|
2469
2514
|
],
|
|
2470
2515
|
default: defaults.insertMode,
|
|
2471
2516
|
description: ( localizeWithPath(
|
|
2472
2517
|
_moduleId,
|
|
2473
|
-
|
|
2518
|
+
152,
|
|
2474
2519
|
"Controls whether words are overwritten when accepting completions. Note that this depends on extensions opting into this feature."
|
|
2475
2520
|
))
|
|
2476
2521
|
},
|
|
@@ -2479,7 +2524,7 @@ class EditorSuggest extends BaseEditorOption {
|
|
|
2479
2524
|
default: defaults.filterGraceful,
|
|
2480
2525
|
description: ( localizeWithPath(
|
|
2481
2526
|
_moduleId,
|
|
2482
|
-
|
|
2527
|
+
153,
|
|
2483
2528
|
"Controls whether filtering and sorting suggestions accounts for small typos."
|
|
2484
2529
|
))
|
|
2485
2530
|
},
|
|
@@ -2488,7 +2533,7 @@ class EditorSuggest extends BaseEditorOption {
|
|
|
2488
2533
|
default: defaults.localityBonus,
|
|
2489
2534
|
description: ( localizeWithPath(
|
|
2490
2535
|
_moduleId,
|
|
2491
|
-
|
|
2536
|
+
154,
|
|
2492
2537
|
"Controls whether sorting favors words that appear close to the cursor."
|
|
2493
2538
|
))
|
|
2494
2539
|
},
|
|
@@ -2497,7 +2542,7 @@ class EditorSuggest extends BaseEditorOption {
|
|
|
2497
2542
|
default: defaults.shareSuggestSelections,
|
|
2498
2543
|
markdownDescription: ( localizeWithPath(
|
|
2499
2544
|
_moduleId,
|
|
2500
|
-
|
|
2545
|
+
155,
|
|
2501
2546
|
"Controls whether remembered suggestion selections are shared between multiple workspaces and windows (needs `#editor.suggestSelection#`)."
|
|
2502
2547
|
))
|
|
2503
2548
|
},
|
|
@@ -2507,29 +2552,29 @@ class EditorSuggest extends BaseEditorOption {
|
|
|
2507
2552
|
enumDescriptions: [
|
|
2508
2553
|
( localizeWithPath(
|
|
2509
2554
|
_moduleId,
|
|
2510
|
-
|
|
2555
|
+
156,
|
|
2511
2556
|
"Always select a suggestion when automatically triggering IntelliSense."
|
|
2512
2557
|
)),
|
|
2513
2558
|
( localizeWithPath(
|
|
2514
2559
|
_moduleId,
|
|
2515
|
-
|
|
2560
|
+
157,
|
|
2516
2561
|
"Never select a suggestion when automatically triggering IntelliSense."
|
|
2517
2562
|
)),
|
|
2518
2563
|
( localizeWithPath(
|
|
2519
2564
|
_moduleId,
|
|
2520
|
-
|
|
2565
|
+
158,
|
|
2521
2566
|
"Select a suggestion only when triggering IntelliSense from a trigger character."
|
|
2522
2567
|
)),
|
|
2523
2568
|
( localizeWithPath(
|
|
2524
2569
|
_moduleId,
|
|
2525
|
-
|
|
2570
|
+
159,
|
|
2526
2571
|
"Select a suggestion only when triggering IntelliSense as you type."
|
|
2527
2572
|
)),
|
|
2528
2573
|
],
|
|
2529
2574
|
default: defaults.selectionMode,
|
|
2530
2575
|
markdownDescription: ( localizeWithPath(
|
|
2531
2576
|
_moduleId,
|
|
2532
|
-
|
|
2577
|
+
160,
|
|
2533
2578
|
"Controls whether a suggestion is selected when the widget shows. Note that this only applies to automatically triggered suggestions (`#editor.quickSuggestions#` and `#editor.suggestOnTriggerCharacters#`) and that a suggestion is always selected when explicitly invoked, e.g via `Ctrl+Space`."
|
|
2534
2579
|
))
|
|
2535
2580
|
},
|
|
@@ -2538,21 +2583,21 @@ class EditorSuggest extends BaseEditorOption {
|
|
|
2538
2583
|
default: defaults.snippetsPreventQuickSuggestions,
|
|
2539
2584
|
description: ( localizeWithPath(
|
|
2540
2585
|
_moduleId,
|
|
2541
|
-
|
|
2586
|
+
161,
|
|
2542
2587
|
"Controls whether an active snippet prevents quick suggestions."
|
|
2543
2588
|
))
|
|
2544
2589
|
},
|
|
2545
2590
|
'editor.suggest.showIcons': {
|
|
2546
2591
|
type: 'boolean',
|
|
2547
2592
|
default: defaults.showIcons,
|
|
2548
|
-
description: ( localizeWithPath(_moduleId,
|
|
2593
|
+
description: ( localizeWithPath(_moduleId, 162, "Controls whether to show or hide icons in suggestions."))
|
|
2549
2594
|
},
|
|
2550
2595
|
'editor.suggest.showStatusBar': {
|
|
2551
2596
|
type: 'boolean',
|
|
2552
2597
|
default: defaults.showStatusBar,
|
|
2553
2598
|
description: ( localizeWithPath(
|
|
2554
2599
|
_moduleId,
|
|
2555
|
-
|
|
2600
|
+
163,
|
|
2556
2601
|
"Controls the visibility of the status bar at the bottom of the suggest widget."
|
|
2557
2602
|
))
|
|
2558
2603
|
},
|
|
@@ -2561,7 +2606,7 @@ class EditorSuggest extends BaseEditorOption {
|
|
|
2561
2606
|
default: defaults.preview,
|
|
2562
2607
|
description: ( localizeWithPath(
|
|
2563
2608
|
_moduleId,
|
|
2564
|
-
|
|
2609
|
+
164,
|
|
2565
2610
|
"Controls whether to preview the suggestion outcome in the editor."
|
|
2566
2611
|
))
|
|
2567
2612
|
},
|
|
@@ -2570,7 +2615,7 @@ class EditorSuggest extends BaseEditorOption {
|
|
|
2570
2615
|
default: defaults.showInlineDetails,
|
|
2571
2616
|
description: ( localizeWithPath(
|
|
2572
2617
|
_moduleId,
|
|
2573
|
-
|
|
2618
|
+
165,
|
|
2574
2619
|
"Controls whether suggest details show inline with the label or only in the details widget."
|
|
2575
2620
|
))
|
|
2576
2621
|
},
|
|
@@ -2578,7 +2623,7 @@ class EditorSuggest extends BaseEditorOption {
|
|
|
2578
2623
|
type: 'number',
|
|
2579
2624
|
deprecationMessage: ( localizeWithPath(
|
|
2580
2625
|
_moduleId,
|
|
2581
|
-
|
|
2626
|
+
166,
|
|
2582
2627
|
"This setting is deprecated. The suggest widget can now be resized."
|
|
2583
2628
|
)),
|
|
2584
2629
|
},
|
|
@@ -2586,26 +2631,26 @@ class EditorSuggest extends BaseEditorOption {
|
|
|
2586
2631
|
type: 'object',
|
|
2587
2632
|
deprecationMessage: ( localizeWithPath(
|
|
2588
2633
|
_moduleId,
|
|
2589
|
-
|
|
2634
|
+
167,
|
|
2590
2635
|
"This setting is deprecated, please use separate settings like 'editor.suggest.showKeywords' or 'editor.suggest.showSnippets' instead."
|
|
2591
2636
|
))
|
|
2592
2637
|
},
|
|
2593
2638
|
'editor.suggest.showMethods': {
|
|
2594
2639
|
type: 'boolean',
|
|
2595
2640
|
default: true,
|
|
2596
|
-
markdownDescription: ( localizeWithPath(_moduleId,
|
|
2641
|
+
markdownDescription: ( localizeWithPath(_moduleId, 168, "When enabled IntelliSense shows `method`-suggestions."))
|
|
2597
2642
|
},
|
|
2598
2643
|
'editor.suggest.showFunctions': {
|
|
2599
2644
|
type: 'boolean',
|
|
2600
2645
|
default: true,
|
|
2601
|
-
markdownDescription: ( localizeWithPath(_moduleId,
|
|
2646
|
+
markdownDescription: ( localizeWithPath(_moduleId, 169, "When enabled IntelliSense shows `function`-suggestions."))
|
|
2602
2647
|
},
|
|
2603
2648
|
'editor.suggest.showConstructors': {
|
|
2604
2649
|
type: 'boolean',
|
|
2605
2650
|
default: true,
|
|
2606
2651
|
markdownDescription: ( localizeWithPath(
|
|
2607
2652
|
_moduleId,
|
|
2608
|
-
|
|
2653
|
+
170,
|
|
2609
2654
|
"When enabled IntelliSense shows `constructor`-suggestions."
|
|
2610
2655
|
))
|
|
2611
2656
|
},
|
|
@@ -2614,7 +2659,7 @@ class EditorSuggest extends BaseEditorOption {
|
|
|
2614
2659
|
default: true,
|
|
2615
2660
|
markdownDescription: ( localizeWithPath(
|
|
2616
2661
|
_moduleId,
|
|
2617
|
-
|
|
2662
|
+
171,
|
|
2618
2663
|
"When enabled IntelliSense shows `deprecated`-suggestions."
|
|
2619
2664
|
))
|
|
2620
2665
|
},
|
|
@@ -2623,146 +2668,146 @@ class EditorSuggest extends BaseEditorOption {
|
|
|
2623
2668
|
default: true,
|
|
2624
2669
|
markdownDescription: ( localizeWithPath(
|
|
2625
2670
|
_moduleId,
|
|
2626
|
-
|
|
2671
|
+
172,
|
|
2627
2672
|
"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."
|
|
2628
2673
|
))
|
|
2629
2674
|
},
|
|
2630
2675
|
'editor.suggest.showFields': {
|
|
2631
2676
|
type: 'boolean',
|
|
2632
2677
|
default: true,
|
|
2633
|
-
markdownDescription: ( localizeWithPath(_moduleId,
|
|
2678
|
+
markdownDescription: ( localizeWithPath(_moduleId, 173, "When enabled IntelliSense shows `field`-suggestions."))
|
|
2634
2679
|
},
|
|
2635
2680
|
'editor.suggest.showVariables': {
|
|
2636
2681
|
type: 'boolean',
|
|
2637
2682
|
default: true,
|
|
2638
|
-
markdownDescription: ( localizeWithPath(_moduleId,
|
|
2683
|
+
markdownDescription: ( localizeWithPath(_moduleId, 174, "When enabled IntelliSense shows `variable`-suggestions."))
|
|
2639
2684
|
},
|
|
2640
2685
|
'editor.suggest.showClasses': {
|
|
2641
2686
|
type: 'boolean',
|
|
2642
2687
|
default: true,
|
|
2643
|
-
markdownDescription: ( localizeWithPath(_moduleId,
|
|
2688
|
+
markdownDescription: ( localizeWithPath(_moduleId, 175, "When enabled IntelliSense shows `class`-suggestions."))
|
|
2644
2689
|
},
|
|
2645
2690
|
'editor.suggest.showStructs': {
|
|
2646
2691
|
type: 'boolean',
|
|
2647
2692
|
default: true,
|
|
2648
|
-
markdownDescription: ( localizeWithPath(_moduleId,
|
|
2693
|
+
markdownDescription: ( localizeWithPath(_moduleId, 176, "When enabled IntelliSense shows `struct`-suggestions."))
|
|
2649
2694
|
},
|
|
2650
2695
|
'editor.suggest.showInterfaces': {
|
|
2651
2696
|
type: 'boolean',
|
|
2652
2697
|
default: true,
|
|
2653
|
-
markdownDescription: ( localizeWithPath(_moduleId,
|
|
2698
|
+
markdownDescription: ( localizeWithPath(_moduleId, 177, "When enabled IntelliSense shows `interface`-suggestions."))
|
|
2654
2699
|
},
|
|
2655
2700
|
'editor.suggest.showModules': {
|
|
2656
2701
|
type: 'boolean',
|
|
2657
2702
|
default: true,
|
|
2658
|
-
markdownDescription: ( localizeWithPath(_moduleId,
|
|
2703
|
+
markdownDescription: ( localizeWithPath(_moduleId, 178, "When enabled IntelliSense shows `module`-suggestions."))
|
|
2659
2704
|
},
|
|
2660
2705
|
'editor.suggest.showProperties': {
|
|
2661
2706
|
type: 'boolean',
|
|
2662
2707
|
default: true,
|
|
2663
|
-
markdownDescription: ( localizeWithPath(_moduleId,
|
|
2708
|
+
markdownDescription: ( localizeWithPath(_moduleId, 179, "When enabled IntelliSense shows `property`-suggestions."))
|
|
2664
2709
|
},
|
|
2665
2710
|
'editor.suggest.showEvents': {
|
|
2666
2711
|
type: 'boolean',
|
|
2667
2712
|
default: true,
|
|
2668
|
-
markdownDescription: ( localizeWithPath(_moduleId,
|
|
2713
|
+
markdownDescription: ( localizeWithPath(_moduleId, 180, "When enabled IntelliSense shows `event`-suggestions."))
|
|
2669
2714
|
},
|
|
2670
2715
|
'editor.suggest.showOperators': {
|
|
2671
2716
|
type: 'boolean',
|
|
2672
2717
|
default: true,
|
|
2673
|
-
markdownDescription: ( localizeWithPath(_moduleId,
|
|
2718
|
+
markdownDescription: ( localizeWithPath(_moduleId, 181, "When enabled IntelliSense shows `operator`-suggestions."))
|
|
2674
2719
|
},
|
|
2675
2720
|
'editor.suggest.showUnits': {
|
|
2676
2721
|
type: 'boolean',
|
|
2677
2722
|
default: true,
|
|
2678
|
-
markdownDescription: ( localizeWithPath(_moduleId,
|
|
2723
|
+
markdownDescription: ( localizeWithPath(_moduleId, 182, "When enabled IntelliSense shows `unit`-suggestions."))
|
|
2679
2724
|
},
|
|
2680
2725
|
'editor.suggest.showValues': {
|
|
2681
2726
|
type: 'boolean',
|
|
2682
2727
|
default: true,
|
|
2683
|
-
markdownDescription: ( localizeWithPath(_moduleId,
|
|
2728
|
+
markdownDescription: ( localizeWithPath(_moduleId, 183, "When enabled IntelliSense shows `value`-suggestions."))
|
|
2684
2729
|
},
|
|
2685
2730
|
'editor.suggest.showConstants': {
|
|
2686
2731
|
type: 'boolean',
|
|
2687
2732
|
default: true,
|
|
2688
|
-
markdownDescription: ( localizeWithPath(_moduleId,
|
|
2733
|
+
markdownDescription: ( localizeWithPath(_moduleId, 184, "When enabled IntelliSense shows `constant`-suggestions."))
|
|
2689
2734
|
},
|
|
2690
2735
|
'editor.suggest.showEnums': {
|
|
2691
2736
|
type: 'boolean',
|
|
2692
2737
|
default: true,
|
|
2693
|
-
markdownDescription: ( localizeWithPath(_moduleId,
|
|
2738
|
+
markdownDescription: ( localizeWithPath(_moduleId, 185, "When enabled IntelliSense shows `enum`-suggestions."))
|
|
2694
2739
|
},
|
|
2695
2740
|
'editor.suggest.showEnumMembers': {
|
|
2696
2741
|
type: 'boolean',
|
|
2697
2742
|
default: true,
|
|
2698
2743
|
markdownDescription: ( localizeWithPath(
|
|
2699
2744
|
_moduleId,
|
|
2700
|
-
|
|
2745
|
+
186,
|
|
2701
2746
|
"When enabled IntelliSense shows `enumMember`-suggestions."
|
|
2702
2747
|
))
|
|
2703
2748
|
},
|
|
2704
2749
|
'editor.suggest.showKeywords': {
|
|
2705
2750
|
type: 'boolean',
|
|
2706
2751
|
default: true,
|
|
2707
|
-
markdownDescription: ( localizeWithPath(_moduleId,
|
|
2752
|
+
markdownDescription: ( localizeWithPath(_moduleId, 187, "When enabled IntelliSense shows `keyword`-suggestions."))
|
|
2708
2753
|
},
|
|
2709
2754
|
'editor.suggest.showWords': {
|
|
2710
2755
|
type: 'boolean',
|
|
2711
2756
|
default: true,
|
|
2712
|
-
markdownDescription: ( localizeWithPath(_moduleId,
|
|
2757
|
+
markdownDescription: ( localizeWithPath(_moduleId, 188, "When enabled IntelliSense shows `text`-suggestions."))
|
|
2713
2758
|
},
|
|
2714
2759
|
'editor.suggest.showColors': {
|
|
2715
2760
|
type: 'boolean',
|
|
2716
2761
|
default: true,
|
|
2717
|
-
markdownDescription: ( localizeWithPath(_moduleId,
|
|
2762
|
+
markdownDescription: ( localizeWithPath(_moduleId, 189, "When enabled IntelliSense shows `color`-suggestions."))
|
|
2718
2763
|
},
|
|
2719
2764
|
'editor.suggest.showFiles': {
|
|
2720
2765
|
type: 'boolean',
|
|
2721
2766
|
default: true,
|
|
2722
|
-
markdownDescription: ( localizeWithPath(_moduleId,
|
|
2767
|
+
markdownDescription: ( localizeWithPath(_moduleId, 190, "When enabled IntelliSense shows `file`-suggestions."))
|
|
2723
2768
|
},
|
|
2724
2769
|
'editor.suggest.showReferences': {
|
|
2725
2770
|
type: 'boolean',
|
|
2726
2771
|
default: true,
|
|
2727
|
-
markdownDescription: ( localizeWithPath(_moduleId,
|
|
2772
|
+
markdownDescription: ( localizeWithPath(_moduleId, 191, "When enabled IntelliSense shows `reference`-suggestions."))
|
|
2728
2773
|
},
|
|
2729
2774
|
'editor.suggest.showCustomcolors': {
|
|
2730
2775
|
type: 'boolean',
|
|
2731
2776
|
default: true,
|
|
2732
2777
|
markdownDescription: ( localizeWithPath(
|
|
2733
2778
|
_moduleId,
|
|
2734
|
-
|
|
2779
|
+
192,
|
|
2735
2780
|
"When enabled IntelliSense shows `customcolor`-suggestions."
|
|
2736
2781
|
))
|
|
2737
2782
|
},
|
|
2738
2783
|
'editor.suggest.showFolders': {
|
|
2739
2784
|
type: 'boolean',
|
|
2740
2785
|
default: true,
|
|
2741
|
-
markdownDescription: ( localizeWithPath(_moduleId,
|
|
2786
|
+
markdownDescription: ( localizeWithPath(_moduleId, 193, "When enabled IntelliSense shows `folder`-suggestions."))
|
|
2742
2787
|
},
|
|
2743
2788
|
'editor.suggest.showTypeParameters': {
|
|
2744
2789
|
type: 'boolean',
|
|
2745
2790
|
default: true,
|
|
2746
2791
|
markdownDescription: ( localizeWithPath(
|
|
2747
2792
|
_moduleId,
|
|
2748
|
-
|
|
2793
|
+
194,
|
|
2749
2794
|
"When enabled IntelliSense shows `typeParameter`-suggestions."
|
|
2750
2795
|
))
|
|
2751
2796
|
},
|
|
2752
2797
|
'editor.suggest.showSnippets': {
|
|
2753
2798
|
type: 'boolean',
|
|
2754
2799
|
default: true,
|
|
2755
|
-
markdownDescription: ( localizeWithPath(_moduleId,
|
|
2800
|
+
markdownDescription: ( localizeWithPath(_moduleId, 195, "When enabled IntelliSense shows `snippet`-suggestions."))
|
|
2756
2801
|
},
|
|
2757
2802
|
'editor.suggest.showUsers': {
|
|
2758
2803
|
type: 'boolean',
|
|
2759
2804
|
default: true,
|
|
2760
|
-
markdownDescription: ( localizeWithPath(_moduleId,
|
|
2805
|
+
markdownDescription: ( localizeWithPath(_moduleId, 196, "When enabled IntelliSense shows `user`-suggestions."))
|
|
2761
2806
|
},
|
|
2762
2807
|
'editor.suggest.showIssues': {
|
|
2763
2808
|
type: 'boolean',
|
|
2764
2809
|
default: true,
|
|
2765
|
-
markdownDescription: ( localizeWithPath(_moduleId,
|
|
2810
|
+
markdownDescription: ( localizeWithPath(_moduleId, 197, "When enabled IntelliSense shows `issues`-suggestions."))
|
|
2766
2811
|
}
|
|
2767
2812
|
});
|
|
2768
2813
|
}
|
|
@@ -2817,14 +2862,14 @@ class EditorSuggest extends BaseEditorOption {
|
|
|
2817
2862
|
}
|
|
2818
2863
|
class SmartSelect extends BaseEditorOption {
|
|
2819
2864
|
constructor() {
|
|
2820
|
-
super(
|
|
2865
|
+
super(EditorOption.smartSelect, 'smartSelect', {
|
|
2821
2866
|
selectLeadingAndTrailingWhitespace: true,
|
|
2822
2867
|
selectSubwords: true,
|
|
2823
2868
|
}, {
|
|
2824
2869
|
'editor.smartSelect.selectLeadingAndTrailingWhitespace': {
|
|
2825
2870
|
description: ( localizeWithPath(
|
|
2826
2871
|
_moduleId,
|
|
2827
|
-
|
|
2872
|
+
198,
|
|
2828
2873
|
"Whether leading and trailing whitespace should always be selected."
|
|
2829
2874
|
)),
|
|
2830
2875
|
default: true,
|
|
@@ -2833,7 +2878,7 @@ class SmartSelect extends BaseEditorOption {
|
|
|
2833
2878
|
'editor.smartSelect.selectSubwords': {
|
|
2834
2879
|
description: ( localizeWithPath(
|
|
2835
2880
|
_moduleId,
|
|
2836
|
-
|
|
2881
|
+
199,
|
|
2837
2882
|
"Whether subwords (like 'foo' in 'fooBar' or 'foo_bar') should be selected."
|
|
2838
2883
|
)),
|
|
2839
2884
|
default: true,
|
|
@@ -2854,19 +2899,19 @@ class SmartSelect extends BaseEditorOption {
|
|
|
2854
2899
|
class WordSegmenterLocales extends BaseEditorOption {
|
|
2855
2900
|
constructor() {
|
|
2856
2901
|
const defaults = [];
|
|
2857
|
-
super(
|
|
2902
|
+
super(EditorOption.wordSegmenterLocales, 'wordSegmenterLocales', defaults, {
|
|
2858
2903
|
anyOf: [
|
|
2859
2904
|
{
|
|
2860
2905
|
description: ( localizeWithPath(
|
|
2861
2906
|
_moduleId,
|
|
2862
|
-
|
|
2907
|
+
200,
|
|
2863
2908
|
"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.)."
|
|
2864
2909
|
)),
|
|
2865
2910
|
type: 'string',
|
|
2866
2911
|
}, {
|
|
2867
2912
|
description: ( localizeWithPath(
|
|
2868
2913
|
_moduleId,
|
|
2869
|
-
|
|
2914
|
+
200,
|
|
2870
2915
|
"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.)."
|
|
2871
2916
|
)),
|
|
2872
2917
|
type: 'array',
|
|
@@ -2899,46 +2944,53 @@ class WordSegmenterLocales extends BaseEditorOption {
|
|
|
2899
2944
|
return this.defaultValue;
|
|
2900
2945
|
}
|
|
2901
2946
|
}
|
|
2947
|
+
var WrappingIndent;
|
|
2948
|
+
( ((function(WrappingIndent) {
|
|
2949
|
+
WrappingIndent[WrappingIndent["None"] = 0] = "None";
|
|
2950
|
+
WrappingIndent[WrappingIndent["Same"] = 1] = "Same";
|
|
2951
|
+
WrappingIndent[WrappingIndent["Indent"] = 2] = "Indent";
|
|
2952
|
+
WrappingIndent[WrappingIndent["DeepIndent"] = 3] = "DeepIndent";
|
|
2953
|
+
})(WrappingIndent || (WrappingIndent = {}))));
|
|
2902
2954
|
class WrappingIndentOption extends BaseEditorOption {
|
|
2903
2955
|
constructor() {
|
|
2904
|
-
super(
|
|
2956
|
+
super(EditorOption.wrappingIndent, 'wrappingIndent', WrappingIndent.Same, {
|
|
2905
2957
|
'editor.wrappingIndent': {
|
|
2906
2958
|
type: 'string',
|
|
2907
2959
|
enum: ['none', 'same', 'indent', 'deepIndent'],
|
|
2908
2960
|
enumDescriptions: [
|
|
2909
|
-
( localizeWithPath(_moduleId,
|
|
2910
|
-
( localizeWithPath(_moduleId,
|
|
2911
|
-
( localizeWithPath(_moduleId,
|
|
2912
|
-
( localizeWithPath(_moduleId,
|
|
2961
|
+
( localizeWithPath(_moduleId, 201, "No indentation. Wrapped lines begin at column 1.")),
|
|
2962
|
+
( localizeWithPath(_moduleId, 202, "Wrapped lines get the same indentation as the parent.")),
|
|
2963
|
+
( localizeWithPath(_moduleId, 203, "Wrapped lines get +1 indentation toward the parent.")),
|
|
2964
|
+
( localizeWithPath(_moduleId, 204, "Wrapped lines get +2 indentation toward the parent.")),
|
|
2913
2965
|
],
|
|
2914
|
-
description: ( localizeWithPath(_moduleId,
|
|
2966
|
+
description: ( localizeWithPath(_moduleId, 205, "Controls the indentation of wrapped lines.")),
|
|
2915
2967
|
default: 'same'
|
|
2916
2968
|
}
|
|
2917
2969
|
});
|
|
2918
2970
|
}
|
|
2919
2971
|
validate(input) {
|
|
2920
2972
|
switch (input) {
|
|
2921
|
-
case 'none': return
|
|
2922
|
-
case 'same': return
|
|
2923
|
-
case 'indent': return
|
|
2924
|
-
case 'deepIndent': return
|
|
2973
|
+
case 'none': return WrappingIndent.None;
|
|
2974
|
+
case 'same': return WrappingIndent.Same;
|
|
2975
|
+
case 'indent': return WrappingIndent.Indent;
|
|
2976
|
+
case 'deepIndent': return WrappingIndent.DeepIndent;
|
|
2925
2977
|
}
|
|
2926
|
-
return
|
|
2978
|
+
return WrappingIndent.Same;
|
|
2927
2979
|
}
|
|
2928
2980
|
compute(env, options, value) {
|
|
2929
|
-
const accessibilitySupport = options.get(
|
|
2930
|
-
if (accessibilitySupport ===
|
|
2931
|
-
return
|
|
2981
|
+
const accessibilitySupport = options.get(EditorOption.accessibilitySupport);
|
|
2982
|
+
if (accessibilitySupport === AccessibilitySupport.Enabled) {
|
|
2983
|
+
return WrappingIndent.None;
|
|
2932
2984
|
}
|
|
2933
2985
|
return value;
|
|
2934
2986
|
}
|
|
2935
2987
|
}
|
|
2936
2988
|
class EditorWrappingInfoComputer extends ComputedEditorOption {
|
|
2937
2989
|
constructor() {
|
|
2938
|
-
super(
|
|
2990
|
+
super(EditorOption.wrappingInfo);
|
|
2939
2991
|
}
|
|
2940
2992
|
compute(env, options, _) {
|
|
2941
|
-
const layoutInfo = options.get(
|
|
2993
|
+
const layoutInfo = options.get(EditorOption.layoutInfo);
|
|
2942
2994
|
return {
|
|
2943
2995
|
isDominatedByLongLines: env.isDominatedByLongLines,
|
|
2944
2996
|
isWordWrapMinified: layoutInfo.isWordWrapMinified,
|
|
@@ -2950,13 +3002,13 @@ class EditorWrappingInfoComputer extends ComputedEditorOption {
|
|
|
2950
3002
|
class EditorDropIntoEditor extends BaseEditorOption {
|
|
2951
3003
|
constructor() {
|
|
2952
3004
|
const defaults = { enabled: true, showDropSelector: 'afterDrop' };
|
|
2953
|
-
super(
|
|
3005
|
+
super(EditorOption.dropIntoEditor, 'dropIntoEditor', defaults, {
|
|
2954
3006
|
'editor.dropIntoEditor.enabled': {
|
|
2955
3007
|
type: 'boolean',
|
|
2956
3008
|
default: defaults.enabled,
|
|
2957
3009
|
markdownDescription: ( localizeWithPath(
|
|
2958
3010
|
_moduleId,
|
|
2959
|
-
|
|
3011
|
+
206,
|
|
2960
3012
|
"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)."
|
|
2961
3013
|
)),
|
|
2962
3014
|
},
|
|
@@ -2964,7 +3016,7 @@ class EditorDropIntoEditor extends BaseEditorOption {
|
|
|
2964
3016
|
type: 'string',
|
|
2965
3017
|
markdownDescription: ( localizeWithPath(
|
|
2966
3018
|
_moduleId,
|
|
2967
|
-
|
|
3019
|
+
207,
|
|
2968
3020
|
"Controls if a widget is shown when dropping files into the editor. This widget lets you control how the file is dropped."
|
|
2969
3021
|
)),
|
|
2970
3022
|
enum: [
|
|
@@ -2974,12 +3026,12 @@ class EditorDropIntoEditor extends BaseEditorOption {
|
|
|
2974
3026
|
enumDescriptions: [
|
|
2975
3027
|
( localizeWithPath(
|
|
2976
3028
|
_moduleId,
|
|
2977
|
-
|
|
3029
|
+
208,
|
|
2978
3030
|
"Show the drop selector widget after a file is dropped into the editor."
|
|
2979
3031
|
)),
|
|
2980
3032
|
( localizeWithPath(
|
|
2981
3033
|
_moduleId,
|
|
2982
|
-
|
|
3034
|
+
209,
|
|
2983
3035
|
"Never show the drop selector widget. Instead the default drop provider is always used."
|
|
2984
3036
|
)),
|
|
2985
3037
|
],
|
|
@@ -3001,13 +3053,13 @@ class EditorDropIntoEditor extends BaseEditorOption {
|
|
|
3001
3053
|
class EditorPasteAs extends BaseEditorOption {
|
|
3002
3054
|
constructor() {
|
|
3003
3055
|
const defaults = { enabled: true, showPasteSelector: 'afterPaste' };
|
|
3004
|
-
super(
|
|
3056
|
+
super(EditorOption.pasteAs, 'pasteAs', defaults, {
|
|
3005
3057
|
'editor.pasteAs.enabled': {
|
|
3006
3058
|
type: 'boolean',
|
|
3007
3059
|
default: defaults.enabled,
|
|
3008
3060
|
markdownDescription: ( localizeWithPath(
|
|
3009
3061
|
_moduleId,
|
|
3010
|
-
|
|
3062
|
+
210,
|
|
3011
3063
|
"Controls whether you can paste content in different ways."
|
|
3012
3064
|
)),
|
|
3013
3065
|
},
|
|
@@ -3015,7 +3067,7 @@ class EditorPasteAs extends BaseEditorOption {
|
|
|
3015
3067
|
type: 'string',
|
|
3016
3068
|
markdownDescription: ( localizeWithPath(
|
|
3017
3069
|
_moduleId,
|
|
3018
|
-
|
|
3070
|
+
211,
|
|
3019
3071
|
"Controls if a widget is shown when pasting content in to the editor. This widget lets you control how the file is pasted."
|
|
3020
3072
|
)),
|
|
3021
3073
|
enum: [
|
|
@@ -3025,12 +3077,12 @@ class EditorPasteAs extends BaseEditorOption {
|
|
|
3025
3077
|
enumDescriptions: [
|
|
3026
3078
|
( localizeWithPath(
|
|
3027
3079
|
_moduleId,
|
|
3028
|
-
|
|
3080
|
+
212,
|
|
3029
3081
|
"Show the paste selector widget after content is pasted into the editor."
|
|
3030
3082
|
)),
|
|
3031
3083
|
( localizeWithPath(
|
|
3032
3084
|
_moduleId,
|
|
3033
|
-
|
|
3085
|
+
213,
|
|
3034
3086
|
"Never show the paste selector widget. Instead the default pasting behavior is always used."
|
|
3035
3087
|
)),
|
|
3036
3088
|
],
|
|
@@ -3064,19 +3116,172 @@ function register(option) {
|
|
|
3064
3116
|
editorOptionsRegistry[option.id] = option;
|
|
3065
3117
|
return option;
|
|
3066
3118
|
}
|
|
3119
|
+
var EditorOption;
|
|
3120
|
+
( ((function(EditorOption) {
|
|
3121
|
+
EditorOption[EditorOption["acceptSuggestionOnCommitCharacter"] = 0] = "acceptSuggestionOnCommitCharacter";
|
|
3122
|
+
EditorOption[EditorOption["acceptSuggestionOnEnter"] = 1] = "acceptSuggestionOnEnter";
|
|
3123
|
+
EditorOption[EditorOption["accessibilitySupport"] = 2] = "accessibilitySupport";
|
|
3124
|
+
EditorOption[EditorOption["accessibilityPageSize"] = 3] = "accessibilityPageSize";
|
|
3125
|
+
EditorOption[EditorOption["ariaLabel"] = 4] = "ariaLabel";
|
|
3126
|
+
EditorOption[EditorOption["ariaRequired"] = 5] = "ariaRequired";
|
|
3127
|
+
EditorOption[EditorOption["autoClosingBrackets"] = 6] = "autoClosingBrackets";
|
|
3128
|
+
EditorOption[EditorOption["autoClosingComments"] = 7] = "autoClosingComments";
|
|
3129
|
+
EditorOption[EditorOption["screenReaderAnnounceInlineSuggestion"] = 8] = "screenReaderAnnounceInlineSuggestion";
|
|
3130
|
+
EditorOption[EditorOption["autoClosingDelete"] = 9] = "autoClosingDelete";
|
|
3131
|
+
EditorOption[EditorOption["autoClosingOvertype"] = 10] = "autoClosingOvertype";
|
|
3132
|
+
EditorOption[EditorOption["autoClosingQuotes"] = 11] = "autoClosingQuotes";
|
|
3133
|
+
EditorOption[EditorOption["autoIndent"] = 12] = "autoIndent";
|
|
3134
|
+
EditorOption[EditorOption["automaticLayout"] = 13] = "automaticLayout";
|
|
3135
|
+
EditorOption[EditorOption["autoSurround"] = 14] = "autoSurround";
|
|
3136
|
+
EditorOption[EditorOption["bracketPairColorization"] = 15] = "bracketPairColorization";
|
|
3137
|
+
EditorOption[EditorOption["guides"] = 16] = "guides";
|
|
3138
|
+
EditorOption[EditorOption["codeLens"] = 17] = "codeLens";
|
|
3139
|
+
EditorOption[EditorOption["codeLensFontFamily"] = 18] = "codeLensFontFamily";
|
|
3140
|
+
EditorOption[EditorOption["codeLensFontSize"] = 19] = "codeLensFontSize";
|
|
3141
|
+
EditorOption[EditorOption["colorDecorators"] = 20] = "colorDecorators";
|
|
3142
|
+
EditorOption[EditorOption["colorDecoratorsLimit"] = 21] = "colorDecoratorsLimit";
|
|
3143
|
+
EditorOption[EditorOption["columnSelection"] = 22] = "columnSelection";
|
|
3144
|
+
EditorOption[EditorOption["comments"] = 23] = "comments";
|
|
3145
|
+
EditorOption[EditorOption["contextmenu"] = 24] = "contextmenu";
|
|
3146
|
+
EditorOption[EditorOption["copyWithSyntaxHighlighting"] = 25] = "copyWithSyntaxHighlighting";
|
|
3147
|
+
EditorOption[EditorOption["cursorBlinking"] = 26] = "cursorBlinking";
|
|
3148
|
+
EditorOption[EditorOption["cursorSmoothCaretAnimation"] = 27] = "cursorSmoothCaretAnimation";
|
|
3149
|
+
EditorOption[EditorOption["cursorStyle"] = 28] = "cursorStyle";
|
|
3150
|
+
EditorOption[EditorOption["cursorSurroundingLines"] = 29] = "cursorSurroundingLines";
|
|
3151
|
+
EditorOption[EditorOption["cursorSurroundingLinesStyle"] = 30] = "cursorSurroundingLinesStyle";
|
|
3152
|
+
EditorOption[EditorOption["cursorWidth"] = 31] = "cursorWidth";
|
|
3153
|
+
EditorOption[EditorOption["disableLayerHinting"] = 32] = "disableLayerHinting";
|
|
3154
|
+
EditorOption[EditorOption["disableMonospaceOptimizations"] = 33] = "disableMonospaceOptimizations";
|
|
3155
|
+
EditorOption[EditorOption["domReadOnly"] = 34] = "domReadOnly";
|
|
3156
|
+
EditorOption[EditorOption["dragAndDrop"] = 35] = "dragAndDrop";
|
|
3157
|
+
EditorOption[EditorOption["dropIntoEditor"] = 36] = "dropIntoEditor";
|
|
3158
|
+
EditorOption[EditorOption["emptySelectionClipboard"] = 37] = "emptySelectionClipboard";
|
|
3159
|
+
EditorOption[EditorOption["experimentalWhitespaceRendering"] = 38] = "experimentalWhitespaceRendering";
|
|
3160
|
+
EditorOption[EditorOption["extraEditorClassName"] = 39] = "extraEditorClassName";
|
|
3161
|
+
EditorOption[EditorOption["fastScrollSensitivity"] = 40] = "fastScrollSensitivity";
|
|
3162
|
+
EditorOption[EditorOption["find"] = 41] = "find";
|
|
3163
|
+
EditorOption[EditorOption["fixedOverflowWidgets"] = 42] = "fixedOverflowWidgets";
|
|
3164
|
+
EditorOption[EditorOption["folding"] = 43] = "folding";
|
|
3165
|
+
EditorOption[EditorOption["foldingStrategy"] = 44] = "foldingStrategy";
|
|
3166
|
+
EditorOption[EditorOption["foldingHighlight"] = 45] = "foldingHighlight";
|
|
3167
|
+
EditorOption[EditorOption["foldingImportsByDefault"] = 46] = "foldingImportsByDefault";
|
|
3168
|
+
EditorOption[EditorOption["foldingMaximumRegions"] = 47] = "foldingMaximumRegions";
|
|
3169
|
+
EditorOption[EditorOption["unfoldOnClickAfterEndOfLine"] = 48] = "unfoldOnClickAfterEndOfLine";
|
|
3170
|
+
EditorOption[EditorOption["fontFamily"] = 49] = "fontFamily";
|
|
3171
|
+
EditorOption[EditorOption["fontInfo"] = 50] = "fontInfo";
|
|
3172
|
+
EditorOption[EditorOption["fontLigatures"] = 51] = "fontLigatures";
|
|
3173
|
+
EditorOption[EditorOption["fontSize"] = 52] = "fontSize";
|
|
3174
|
+
EditorOption[EditorOption["fontWeight"] = 53] = "fontWeight";
|
|
3175
|
+
EditorOption[EditorOption["fontVariations"] = 54] = "fontVariations";
|
|
3176
|
+
EditorOption[EditorOption["formatOnPaste"] = 55] = "formatOnPaste";
|
|
3177
|
+
EditorOption[EditorOption["formatOnType"] = 56] = "formatOnType";
|
|
3178
|
+
EditorOption[EditorOption["glyphMargin"] = 57] = "glyphMargin";
|
|
3179
|
+
EditorOption[EditorOption["gotoLocation"] = 58] = "gotoLocation";
|
|
3180
|
+
EditorOption[EditorOption["hideCursorInOverviewRuler"] = 59] = "hideCursorInOverviewRuler";
|
|
3181
|
+
EditorOption[EditorOption["hover"] = 60] = "hover";
|
|
3182
|
+
EditorOption[EditorOption["inDiffEditor"] = 61] = "inDiffEditor";
|
|
3183
|
+
EditorOption[EditorOption["inlineSuggest"] = 62] = "inlineSuggest";
|
|
3184
|
+
EditorOption[EditorOption["inlineEdit"] = 63] = "inlineEdit";
|
|
3185
|
+
EditorOption[EditorOption["letterSpacing"] = 64] = "letterSpacing";
|
|
3186
|
+
EditorOption[EditorOption["lightbulb"] = 65] = "lightbulb";
|
|
3187
|
+
EditorOption[EditorOption["lineDecorationsWidth"] = 66] = "lineDecorationsWidth";
|
|
3188
|
+
EditorOption[EditorOption["lineHeight"] = 67] = "lineHeight";
|
|
3189
|
+
EditorOption[EditorOption["lineNumbers"] = 68] = "lineNumbers";
|
|
3190
|
+
EditorOption[EditorOption["lineNumbersMinChars"] = 69] = "lineNumbersMinChars";
|
|
3191
|
+
EditorOption[EditorOption["linkedEditing"] = 70] = "linkedEditing";
|
|
3192
|
+
EditorOption[EditorOption["links"] = 71] = "links";
|
|
3193
|
+
EditorOption[EditorOption["matchBrackets"] = 72] = "matchBrackets";
|
|
3194
|
+
EditorOption[EditorOption["minimap"] = 73] = "minimap";
|
|
3195
|
+
EditorOption[EditorOption["mouseStyle"] = 74] = "mouseStyle";
|
|
3196
|
+
EditorOption[EditorOption["mouseWheelScrollSensitivity"] = 75] = "mouseWheelScrollSensitivity";
|
|
3197
|
+
EditorOption[EditorOption["mouseWheelZoom"] = 76] = "mouseWheelZoom";
|
|
3198
|
+
EditorOption[EditorOption["multiCursorMergeOverlapping"] = 77] = "multiCursorMergeOverlapping";
|
|
3199
|
+
EditorOption[EditorOption["multiCursorModifier"] = 78] = "multiCursorModifier";
|
|
3200
|
+
EditorOption[EditorOption["multiCursorPaste"] = 79] = "multiCursorPaste";
|
|
3201
|
+
EditorOption[EditorOption["multiCursorLimit"] = 80] = "multiCursorLimit";
|
|
3202
|
+
EditorOption[EditorOption["occurrencesHighlight"] = 81] = "occurrencesHighlight";
|
|
3203
|
+
EditorOption[EditorOption["overviewRulerBorder"] = 82] = "overviewRulerBorder";
|
|
3204
|
+
EditorOption[EditorOption["overviewRulerLanes"] = 83] = "overviewRulerLanes";
|
|
3205
|
+
EditorOption[EditorOption["padding"] = 84] = "padding";
|
|
3206
|
+
EditorOption[EditorOption["pasteAs"] = 85] = "pasteAs";
|
|
3207
|
+
EditorOption[EditorOption["parameterHints"] = 86] = "parameterHints";
|
|
3208
|
+
EditorOption[EditorOption["peekWidgetDefaultFocus"] = 87] = "peekWidgetDefaultFocus";
|
|
3209
|
+
EditorOption[EditorOption["definitionLinkOpensInPeek"] = 88] = "definitionLinkOpensInPeek";
|
|
3210
|
+
EditorOption[EditorOption["quickSuggestions"] = 89] = "quickSuggestions";
|
|
3211
|
+
EditorOption[EditorOption["quickSuggestionsDelay"] = 90] = "quickSuggestionsDelay";
|
|
3212
|
+
EditorOption[EditorOption["readOnly"] = 91] = "readOnly";
|
|
3213
|
+
EditorOption[EditorOption["readOnlyMessage"] = 92] = "readOnlyMessage";
|
|
3214
|
+
EditorOption[EditorOption["renameOnType"] = 93] = "renameOnType";
|
|
3215
|
+
EditorOption[EditorOption["renderControlCharacters"] = 94] = "renderControlCharacters";
|
|
3216
|
+
EditorOption[EditorOption["renderFinalNewline"] = 95] = "renderFinalNewline";
|
|
3217
|
+
EditorOption[EditorOption["renderLineHighlight"] = 96] = "renderLineHighlight";
|
|
3218
|
+
EditorOption[EditorOption["renderLineHighlightOnlyWhenFocus"] = 97] = "renderLineHighlightOnlyWhenFocus";
|
|
3219
|
+
EditorOption[EditorOption["renderValidationDecorations"] = 98] = "renderValidationDecorations";
|
|
3220
|
+
EditorOption[EditorOption["renderWhitespace"] = 99] = "renderWhitespace";
|
|
3221
|
+
EditorOption[EditorOption["revealHorizontalRightPadding"] = 100] = "revealHorizontalRightPadding";
|
|
3222
|
+
EditorOption[EditorOption["roundedSelection"] = 101] = "roundedSelection";
|
|
3223
|
+
EditorOption[EditorOption["rulers"] = 102] = "rulers";
|
|
3224
|
+
EditorOption[EditorOption["scrollbar"] = 103] = "scrollbar";
|
|
3225
|
+
EditorOption[EditorOption["scrollBeyondLastColumn"] = 104] = "scrollBeyondLastColumn";
|
|
3226
|
+
EditorOption[EditorOption["scrollBeyondLastLine"] = 105] = "scrollBeyondLastLine";
|
|
3227
|
+
EditorOption[EditorOption["scrollPredominantAxis"] = 106] = "scrollPredominantAxis";
|
|
3228
|
+
EditorOption[EditorOption["selectionClipboard"] = 107] = "selectionClipboard";
|
|
3229
|
+
EditorOption[EditorOption["selectionHighlight"] = 108] = "selectionHighlight";
|
|
3230
|
+
EditorOption[EditorOption["selectOnLineNumbers"] = 109] = "selectOnLineNumbers";
|
|
3231
|
+
EditorOption[EditorOption["showFoldingControls"] = 110] = "showFoldingControls";
|
|
3232
|
+
EditorOption[EditorOption["showUnused"] = 111] = "showUnused";
|
|
3233
|
+
EditorOption[EditorOption["snippetSuggestions"] = 112] = "snippetSuggestions";
|
|
3234
|
+
EditorOption[EditorOption["smartSelect"] = 113] = "smartSelect";
|
|
3235
|
+
EditorOption[EditorOption["smoothScrolling"] = 114] = "smoothScrolling";
|
|
3236
|
+
EditorOption[EditorOption["stickyScroll"] = 115] = "stickyScroll";
|
|
3237
|
+
EditorOption[EditorOption["stickyTabStops"] = 116] = "stickyTabStops";
|
|
3238
|
+
EditorOption[EditorOption["stopRenderingLineAfter"] = 117] = "stopRenderingLineAfter";
|
|
3239
|
+
EditorOption[EditorOption["suggest"] = 118] = "suggest";
|
|
3240
|
+
EditorOption[EditorOption["suggestFontSize"] = 119] = "suggestFontSize";
|
|
3241
|
+
EditorOption[EditorOption["suggestLineHeight"] = 120] = "suggestLineHeight";
|
|
3242
|
+
EditorOption[EditorOption["suggestOnTriggerCharacters"] = 121] = "suggestOnTriggerCharacters";
|
|
3243
|
+
EditorOption[EditorOption["suggestSelection"] = 122] = "suggestSelection";
|
|
3244
|
+
EditorOption[EditorOption["tabCompletion"] = 123] = "tabCompletion";
|
|
3245
|
+
EditorOption[EditorOption["tabIndex"] = 124] = "tabIndex";
|
|
3246
|
+
EditorOption[EditorOption["unicodeHighlighting"] = 125] = "unicodeHighlighting";
|
|
3247
|
+
EditorOption[EditorOption["unusualLineTerminators"] = 126] = "unusualLineTerminators";
|
|
3248
|
+
EditorOption[EditorOption["useShadowDOM"] = 127] = "useShadowDOM";
|
|
3249
|
+
EditorOption[EditorOption["useTabStops"] = 128] = "useTabStops";
|
|
3250
|
+
EditorOption[EditorOption["wordBreak"] = 129] = "wordBreak";
|
|
3251
|
+
EditorOption[EditorOption["wordSegmenterLocales"] = 130] = "wordSegmenterLocales";
|
|
3252
|
+
EditorOption[EditorOption["wordSeparators"] = 131] = "wordSeparators";
|
|
3253
|
+
EditorOption[EditorOption["wordWrap"] = 132] = "wordWrap";
|
|
3254
|
+
EditorOption[EditorOption["wordWrapBreakAfterCharacters"] = 133] = "wordWrapBreakAfterCharacters";
|
|
3255
|
+
EditorOption[EditorOption["wordWrapBreakBeforeCharacters"] = 134] = "wordWrapBreakBeforeCharacters";
|
|
3256
|
+
EditorOption[EditorOption["wordWrapColumn"] = 135] = "wordWrapColumn";
|
|
3257
|
+
EditorOption[EditorOption["wordWrapOverride1"] = 136] = "wordWrapOverride1";
|
|
3258
|
+
EditorOption[EditorOption["wordWrapOverride2"] = 137] = "wordWrapOverride2";
|
|
3259
|
+
EditorOption[EditorOption["wrappingIndent"] = 138] = "wrappingIndent";
|
|
3260
|
+
EditorOption[EditorOption["wrappingStrategy"] = 139] = "wrappingStrategy";
|
|
3261
|
+
EditorOption[EditorOption["showDeprecated"] = 140] = "showDeprecated";
|
|
3262
|
+
EditorOption[EditorOption["inlayHints"] = 141] = "inlayHints";
|
|
3263
|
+
EditorOption[EditorOption["editorClassName"] = 142] = "editorClassName";
|
|
3264
|
+
EditorOption[EditorOption["pixelRatio"] = 143] = "pixelRatio";
|
|
3265
|
+
EditorOption[EditorOption["tabFocusMode"] = 144] = "tabFocusMode";
|
|
3266
|
+
EditorOption[EditorOption["layoutInfo"] = 145] = "layoutInfo";
|
|
3267
|
+
EditorOption[EditorOption["wrappingInfo"] = 146] = "wrappingInfo";
|
|
3268
|
+
EditorOption[EditorOption["defaultColorDecorators"] = 147] = "defaultColorDecorators";
|
|
3269
|
+
EditorOption[EditorOption["colorDecoratorsActivatedOn"] = 148] = "colorDecoratorsActivatedOn";
|
|
3270
|
+
EditorOption[EditorOption["inlineCompletionsAccessibilityVerbose"] = 149] = "inlineCompletionsAccessibilityVerbose";
|
|
3271
|
+
})(EditorOption || (EditorOption = {}))));
|
|
3067
3272
|
const EditorOptions = {
|
|
3068
3273
|
acceptSuggestionOnCommitCharacter: register(( (new EditorBooleanOption(
|
|
3069
|
-
|
|
3274
|
+
EditorOption.acceptSuggestionOnCommitCharacter,
|
|
3070
3275
|
'acceptSuggestionOnCommitCharacter',
|
|
3071
3276
|
true,
|
|
3072
3277
|
{ markdownDescription: ( localizeWithPath(
|
|
3073
3278
|
_moduleId,
|
|
3074
|
-
|
|
3279
|
+
214,
|
|
3075
3280
|
"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."
|
|
3076
3281
|
)) }
|
|
3077
3282
|
)))),
|
|
3078
3283
|
acceptSuggestionOnEnter: register(( (new EditorStringEnumOption(
|
|
3079
|
-
|
|
3284
|
+
EditorOption.acceptSuggestionOnEnter,
|
|
3080
3285
|
'acceptSuggestionOnEnter',
|
|
3081
3286
|
'on',
|
|
3082
3287
|
['on', 'smart', 'off'],
|
|
@@ -3085,51 +3290,51 @@ const EditorOptions = {
|
|
|
3085
3290
|
'',
|
|
3086
3291
|
( localizeWithPath(
|
|
3087
3292
|
_moduleId,
|
|
3088
|
-
|
|
3293
|
+
215,
|
|
3089
3294
|
"Only accept a suggestion with `Enter` when it makes a textual change."
|
|
3090
3295
|
)),
|
|
3091
3296
|
''
|
|
3092
3297
|
],
|
|
3093
3298
|
markdownDescription: ( localizeWithPath(
|
|
3094
3299
|
_moduleId,
|
|
3095
|
-
|
|
3300
|
+
216,
|
|
3096
3301
|
"Controls whether suggestions should be accepted on `Enter`, in addition to `Tab`. Helps to avoid ambiguity between inserting new lines or accepting suggestions."
|
|
3097
3302
|
))
|
|
3098
3303
|
}
|
|
3099
3304
|
)))),
|
|
3100
3305
|
accessibilitySupport: register(( (new EditorAccessibilitySupport()))),
|
|
3101
3306
|
accessibilityPageSize: register(( (new EditorIntOption(
|
|
3102
|
-
|
|
3307
|
+
EditorOption.accessibilityPageSize,
|
|
3103
3308
|
'accessibilityPageSize',
|
|
3104
3309
|
10,
|
|
3105
3310
|
1,
|
|
3106
|
-
|
|
3311
|
+
Constants.MAX_SAFE_SMALL_INTEGER,
|
|
3107
3312
|
{
|
|
3108
3313
|
description: ( localizeWithPath(
|
|
3109
3314
|
_moduleId,
|
|
3110
|
-
|
|
3315
|
+
217,
|
|
3111
3316
|
"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."
|
|
3112
3317
|
)),
|
|
3113
3318
|
tags: ['accessibility']
|
|
3114
3319
|
}
|
|
3115
3320
|
)))),
|
|
3116
|
-
ariaLabel: register(( (new EditorStringOption(
|
|
3117
|
-
ariaRequired: register(( (new EditorBooleanOption(
|
|
3321
|
+
ariaLabel: register(( (new EditorStringOption(EditorOption.ariaLabel, 'ariaLabel', ( localizeWithPath(_moduleId, 218, "Editor content")))))),
|
|
3322
|
+
ariaRequired: register(( (new EditorBooleanOption(EditorOption.ariaRequired, 'ariaRequired', false, undefined)))),
|
|
3118
3323
|
screenReaderAnnounceInlineSuggestion: register(( (new EditorBooleanOption(
|
|
3119
|
-
|
|
3324
|
+
EditorOption.screenReaderAnnounceInlineSuggestion,
|
|
3120
3325
|
'screenReaderAnnounceInlineSuggestion',
|
|
3121
3326
|
true,
|
|
3122
3327
|
{
|
|
3123
3328
|
description: ( localizeWithPath(
|
|
3124
3329
|
_moduleId,
|
|
3125
|
-
|
|
3330
|
+
219,
|
|
3126
3331
|
"Control whether inline suggestions are announced by a screen reader."
|
|
3127
3332
|
)),
|
|
3128
3333
|
tags: ['accessibility']
|
|
3129
3334
|
}
|
|
3130
3335
|
)))),
|
|
3131
3336
|
autoClosingBrackets: register(( (new EditorStringEnumOption(
|
|
3132
|
-
|
|
3337
|
+
EditorOption.autoClosingBrackets,
|
|
3133
3338
|
'autoClosingBrackets',
|
|
3134
3339
|
'languageDefined',
|
|
3135
3340
|
['always', 'languageDefined', 'beforeWhitespace', 'never'],
|
|
@@ -3138,25 +3343,25 @@ const EditorOptions = {
|
|
|
3138
3343
|
'',
|
|
3139
3344
|
( localizeWithPath(
|
|
3140
3345
|
_moduleId,
|
|
3141
|
-
|
|
3346
|
+
220,
|
|
3142
3347
|
"Use language configurations to determine when to autoclose brackets."
|
|
3143
3348
|
)),
|
|
3144
3349
|
( localizeWithPath(
|
|
3145
3350
|
_moduleId,
|
|
3146
|
-
|
|
3351
|
+
221,
|
|
3147
3352
|
"Autoclose brackets only when the cursor is to the left of whitespace."
|
|
3148
3353
|
)),
|
|
3149
3354
|
'',
|
|
3150
3355
|
],
|
|
3151
3356
|
description: ( localizeWithPath(
|
|
3152
3357
|
_moduleId,
|
|
3153
|
-
|
|
3358
|
+
222,
|
|
3154
3359
|
"Controls whether the editor should automatically close brackets after the user adds an opening bracket."
|
|
3155
3360
|
))
|
|
3156
3361
|
}
|
|
3157
3362
|
)))),
|
|
3158
3363
|
autoClosingComments: register(( (new EditorStringEnumOption(
|
|
3159
|
-
|
|
3364
|
+
EditorOption.autoClosingComments,
|
|
3160
3365
|
'autoClosingComments',
|
|
3161
3366
|
'languageDefined',
|
|
3162
3367
|
['always', 'languageDefined', 'beforeWhitespace', 'never'],
|
|
@@ -3165,25 +3370,25 @@ const EditorOptions = {
|
|
|
3165
3370
|
'',
|
|
3166
3371
|
( localizeWithPath(
|
|
3167
3372
|
_moduleId,
|
|
3168
|
-
|
|
3373
|
+
223,
|
|
3169
3374
|
"Use language configurations to determine when to autoclose comments."
|
|
3170
3375
|
)),
|
|
3171
3376
|
( localizeWithPath(
|
|
3172
3377
|
_moduleId,
|
|
3173
|
-
|
|
3378
|
+
224,
|
|
3174
3379
|
"Autoclose comments only when the cursor is to the left of whitespace."
|
|
3175
3380
|
)),
|
|
3176
3381
|
'',
|
|
3177
3382
|
],
|
|
3178
3383
|
description: ( localizeWithPath(
|
|
3179
3384
|
_moduleId,
|
|
3180
|
-
|
|
3385
|
+
225,
|
|
3181
3386
|
"Controls whether the editor should automatically close comments after the user adds an opening comment."
|
|
3182
3387
|
))
|
|
3183
3388
|
}
|
|
3184
3389
|
)))),
|
|
3185
3390
|
autoClosingDelete: register(( (new EditorStringEnumOption(
|
|
3186
|
-
|
|
3391
|
+
EditorOption.autoClosingDelete,
|
|
3187
3392
|
'autoClosingDelete',
|
|
3188
3393
|
'auto',
|
|
3189
3394
|
['always', 'auto', 'never'],
|
|
@@ -3192,20 +3397,20 @@ const EditorOptions = {
|
|
|
3192
3397
|
'',
|
|
3193
3398
|
( localizeWithPath(
|
|
3194
3399
|
_moduleId,
|
|
3195
|
-
|
|
3400
|
+
226,
|
|
3196
3401
|
"Remove adjacent closing quotes or brackets only if they were automatically inserted."
|
|
3197
3402
|
)),
|
|
3198
3403
|
'',
|
|
3199
3404
|
],
|
|
3200
3405
|
description: ( localizeWithPath(
|
|
3201
3406
|
_moduleId,
|
|
3202
|
-
|
|
3407
|
+
227,
|
|
3203
3408
|
"Controls whether the editor should remove adjacent closing quotes or brackets when deleting."
|
|
3204
3409
|
))
|
|
3205
3410
|
}
|
|
3206
3411
|
)))),
|
|
3207
3412
|
autoClosingOvertype: register(( (new EditorStringEnumOption(
|
|
3208
|
-
|
|
3413
|
+
EditorOption.autoClosingOvertype,
|
|
3209
3414
|
'autoClosingOvertype',
|
|
3210
3415
|
'auto',
|
|
3211
3416
|
['always', 'auto', 'never'],
|
|
@@ -3214,20 +3419,20 @@ const EditorOptions = {
|
|
|
3214
3419
|
'',
|
|
3215
3420
|
( localizeWithPath(
|
|
3216
3421
|
_moduleId,
|
|
3217
|
-
|
|
3422
|
+
228,
|
|
3218
3423
|
"Type over closing quotes or brackets only if they were automatically inserted."
|
|
3219
3424
|
)),
|
|
3220
3425
|
'',
|
|
3221
3426
|
],
|
|
3222
3427
|
description: ( localizeWithPath(
|
|
3223
3428
|
_moduleId,
|
|
3224
|
-
|
|
3429
|
+
229,
|
|
3225
3430
|
"Controls whether the editor should type over closing quotes or brackets."
|
|
3226
3431
|
))
|
|
3227
3432
|
}
|
|
3228
3433
|
)))),
|
|
3229
3434
|
autoClosingQuotes: register(( (new EditorStringEnumOption(
|
|
3230
|
-
|
|
3435
|
+
EditorOption.autoClosingQuotes,
|
|
3231
3436
|
'autoClosingQuotes',
|
|
3232
3437
|
'languageDefined',
|
|
3233
3438
|
['always', 'languageDefined', 'beforeWhitespace', 'never'],
|
|
@@ -3236,60 +3441,60 @@ const EditorOptions = {
|
|
|
3236
3441
|
'',
|
|
3237
3442
|
( localizeWithPath(
|
|
3238
3443
|
_moduleId,
|
|
3239
|
-
|
|
3444
|
+
230,
|
|
3240
3445
|
"Use language configurations to determine when to autoclose quotes."
|
|
3241
3446
|
)),
|
|
3242
3447
|
( localizeWithPath(
|
|
3243
3448
|
_moduleId,
|
|
3244
|
-
|
|
3449
|
+
231,
|
|
3245
3450
|
"Autoclose quotes only when the cursor is to the left of whitespace."
|
|
3246
3451
|
)),
|
|
3247
3452
|
'',
|
|
3248
3453
|
],
|
|
3249
3454
|
description: ( localizeWithPath(
|
|
3250
3455
|
_moduleId,
|
|
3251
|
-
|
|
3456
|
+
232,
|
|
3252
3457
|
"Controls whether the editor should automatically close quotes after the user adds an opening quote."
|
|
3253
3458
|
))
|
|
3254
3459
|
}
|
|
3255
3460
|
)))),
|
|
3256
3461
|
autoIndent: register(( (new EditorEnumOption(
|
|
3257
|
-
|
|
3462
|
+
EditorOption.autoIndent,
|
|
3258
3463
|
'autoIndent',
|
|
3259
|
-
|
|
3464
|
+
EditorAutoIndentStrategy.Full,
|
|
3260
3465
|
'full',
|
|
3261
3466
|
['none', 'keep', 'brackets', 'advanced', 'full'],
|
|
3262
3467
|
_autoIndentFromString,
|
|
3263
3468
|
{
|
|
3264
3469
|
enumDescriptions: [
|
|
3265
|
-
( localizeWithPath(_moduleId,
|
|
3266
|
-
( localizeWithPath(_moduleId,
|
|
3470
|
+
( localizeWithPath(_moduleId, 233, "The editor will not insert indentation automatically.")),
|
|
3471
|
+
( localizeWithPath(_moduleId, 234, "The editor will keep the current line's indentation.")),
|
|
3267
3472
|
( localizeWithPath(
|
|
3268
3473
|
_moduleId,
|
|
3269
|
-
|
|
3474
|
+
235,
|
|
3270
3475
|
"The editor will keep the current line's indentation and honor language defined brackets."
|
|
3271
3476
|
)),
|
|
3272
3477
|
( localizeWithPath(
|
|
3273
3478
|
_moduleId,
|
|
3274
|
-
|
|
3479
|
+
236,
|
|
3275
3480
|
"The editor will keep the current line's indentation, honor language defined brackets and invoke special onEnterRules defined by languages."
|
|
3276
3481
|
)),
|
|
3277
3482
|
( localizeWithPath(
|
|
3278
3483
|
_moduleId,
|
|
3279
|
-
|
|
3484
|
+
237,
|
|
3280
3485
|
"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."
|
|
3281
3486
|
)),
|
|
3282
3487
|
],
|
|
3283
3488
|
description: ( localizeWithPath(
|
|
3284
3489
|
_moduleId,
|
|
3285
|
-
|
|
3490
|
+
238,
|
|
3286
3491
|
"Controls whether the editor should automatically adjust the indentation when users type, paste, move or indent lines."
|
|
3287
3492
|
))
|
|
3288
3493
|
}
|
|
3289
3494
|
)))),
|
|
3290
|
-
automaticLayout: register(( (new EditorBooleanOption(
|
|
3495
|
+
automaticLayout: register(( (new EditorBooleanOption(EditorOption.automaticLayout, 'automaticLayout', false)))),
|
|
3291
3496
|
autoSurround: register(( (new EditorStringEnumOption(
|
|
3292
|
-
|
|
3497
|
+
EditorOption.autoSurround,
|
|
3293
3498
|
'autoSurround',
|
|
3294
3499
|
'languageDefined',
|
|
3295
3500
|
['languageDefined', 'quotes', 'brackets', 'never'],
|
|
@@ -3297,16 +3502,16 @@ const EditorOptions = {
|
|
|
3297
3502
|
enumDescriptions: [
|
|
3298
3503
|
( localizeWithPath(
|
|
3299
3504
|
_moduleId,
|
|
3300
|
-
|
|
3505
|
+
239,
|
|
3301
3506
|
"Use language configurations to determine when to automatically surround selections."
|
|
3302
3507
|
)),
|
|
3303
|
-
( localizeWithPath(_moduleId,
|
|
3304
|
-
( localizeWithPath(_moduleId,
|
|
3508
|
+
( localizeWithPath(_moduleId, 240, "Surround with quotes but not brackets.")),
|
|
3509
|
+
( localizeWithPath(_moduleId, 241, "Surround with brackets but not quotes.")),
|
|
3305
3510
|
''
|
|
3306
3511
|
],
|
|
3307
3512
|
description: ( localizeWithPath(
|
|
3308
3513
|
_moduleId,
|
|
3309
|
-
|
|
3514
|
+
242,
|
|
3310
3515
|
"Controls whether the editor should automatically surround selections when typing quotes or brackets."
|
|
3311
3516
|
))
|
|
3312
3517
|
}
|
|
@@ -3314,50 +3519,45 @@ const EditorOptions = {
|
|
|
3314
3519
|
bracketPairColorization: register(( (new BracketPairColorization()))),
|
|
3315
3520
|
bracketPairGuides: register(( (new GuideOptions()))),
|
|
3316
3521
|
stickyTabStops: register(( (new EditorBooleanOption(
|
|
3317
|
-
|
|
3522
|
+
EditorOption.stickyTabStops,
|
|
3318
3523
|
'stickyTabStops',
|
|
3319
3524
|
false,
|
|
3320
3525
|
{ description: ( localizeWithPath(
|
|
3321
3526
|
_moduleId,
|
|
3322
|
-
|
|
3527
|
+
243,
|
|
3323
3528
|
"Emulate selection behavior of tab characters when using spaces for indentation. Selection will stick to tab stops."
|
|
3324
3529
|
)) }
|
|
3325
3530
|
)))),
|
|
3326
|
-
codeLens: register(( (new EditorBooleanOption(
|
|
3327
|
-
17 ,
|
|
3328
|
-
'codeLens',
|
|
3329
|
-
true,
|
|
3330
|
-
{ description: ( localizeWithPath(_moduleId, 243, "Controls whether the editor shows CodeLens.")) }
|
|
3331
|
-
)))),
|
|
3531
|
+
codeLens: register(( (new EditorBooleanOption(EditorOption.codeLens, 'codeLens', true, { description: ( localizeWithPath(_moduleId, 244, "Controls whether the editor shows CodeLens.")) })))),
|
|
3332
3532
|
codeLensFontFamily: register(( (new EditorStringOption(
|
|
3333
|
-
|
|
3533
|
+
EditorOption.codeLensFontFamily,
|
|
3334
3534
|
'codeLensFontFamily',
|
|
3335
3535
|
'',
|
|
3336
|
-
{ description: ( localizeWithPath(_moduleId,
|
|
3536
|
+
{ description: ( localizeWithPath(_moduleId, 245, "Controls the font family for CodeLens.")) }
|
|
3337
3537
|
)))),
|
|
3338
|
-
codeLensFontSize: register(( (new EditorIntOption(
|
|
3538
|
+
codeLensFontSize: register(( (new EditorIntOption(EditorOption.codeLensFontSize, 'codeLensFontSize', 0, 0, 100, {
|
|
3339
3539
|
type: 'number',
|
|
3340
3540
|
default: 0,
|
|
3341
3541
|
minimum: 0,
|
|
3342
3542
|
maximum: 100,
|
|
3343
3543
|
markdownDescription: ( localizeWithPath(
|
|
3344
3544
|
_moduleId,
|
|
3345
|
-
|
|
3545
|
+
246,
|
|
3346
3546
|
"Controls the font size in pixels for CodeLens. When set to 0, 90% of `#editor.fontSize#` is used."
|
|
3347
3547
|
))
|
|
3348
3548
|
})))),
|
|
3349
3549
|
colorDecorators: register(( (new EditorBooleanOption(
|
|
3350
|
-
|
|
3550
|
+
EditorOption.colorDecorators,
|
|
3351
3551
|
'colorDecorators',
|
|
3352
3552
|
true,
|
|
3353
3553
|
{ description: ( localizeWithPath(
|
|
3354
3554
|
_moduleId,
|
|
3355
|
-
|
|
3555
|
+
247,
|
|
3356
3556
|
"Controls whether the editor should render the inline color decorators and color picker."
|
|
3357
3557
|
)) }
|
|
3358
3558
|
)))),
|
|
3359
3559
|
colorDecoratorActivatedOn: register(( (new EditorStringEnumOption(
|
|
3360
|
-
|
|
3560
|
+
EditorOption.colorDecoratorsActivatedOn,
|
|
3361
3561
|
'colorDecoratorsActivatedOn',
|
|
3362
3562
|
'clickAndHover',
|
|
3363
3563
|
['clickAndHover', 'hover', 'click'],
|
|
@@ -3365,29 +3565,29 @@ const EditorOptions = {
|
|
|
3365
3565
|
enumDescriptions: [
|
|
3366
3566
|
( localizeWithPath(
|
|
3367
3567
|
_moduleId,
|
|
3368
|
-
|
|
3568
|
+
248,
|
|
3369
3569
|
"Make the color picker appear both on click and hover of the color decorator"
|
|
3370
3570
|
)),
|
|
3371
3571
|
( localizeWithPath(
|
|
3372
3572
|
_moduleId,
|
|
3373
|
-
|
|
3573
|
+
249,
|
|
3374
3574
|
"Make the color picker appear on hover of the color decorator"
|
|
3375
3575
|
)),
|
|
3376
3576
|
( localizeWithPath(
|
|
3377
3577
|
_moduleId,
|
|
3378
|
-
|
|
3578
|
+
250,
|
|
3379
3579
|
"Make the color picker appear on click of the color decorator"
|
|
3380
3580
|
))
|
|
3381
3581
|
],
|
|
3382
3582
|
description: ( localizeWithPath(
|
|
3383
3583
|
_moduleId,
|
|
3384
|
-
|
|
3584
|
+
251,
|
|
3385
3585
|
"Controls the condition to make a color picker appear from a color decorator"
|
|
3386
3586
|
))
|
|
3387
3587
|
}
|
|
3388
3588
|
)))),
|
|
3389
3589
|
colorDecoratorsLimit: register(( (new EditorIntOption(
|
|
3390
|
-
|
|
3590
|
+
EditorOption.colorDecoratorsLimit,
|
|
3391
3591
|
'colorDecoratorsLimit',
|
|
3392
3592
|
500,
|
|
3393
3593
|
1,
|
|
@@ -3395,87 +3595,87 @@ const EditorOptions = {
|
|
|
3395
3595
|
{
|
|
3396
3596
|
markdownDescription: ( localizeWithPath(
|
|
3397
3597
|
_moduleId,
|
|
3398
|
-
|
|
3598
|
+
252,
|
|
3399
3599
|
"Controls the max number of color decorators that can be rendered in an editor at once."
|
|
3400
3600
|
))
|
|
3401
3601
|
}
|
|
3402
3602
|
)))),
|
|
3403
3603
|
columnSelection: register(( (new EditorBooleanOption(
|
|
3404
|
-
|
|
3604
|
+
EditorOption.columnSelection,
|
|
3405
3605
|
'columnSelection',
|
|
3406
3606
|
false,
|
|
3407
3607
|
{ description: ( localizeWithPath(
|
|
3408
3608
|
_moduleId,
|
|
3409
|
-
|
|
3609
|
+
253,
|
|
3410
3610
|
"Enable that the selection with the mouse and keys is doing column selection."
|
|
3411
3611
|
)) }
|
|
3412
3612
|
)))),
|
|
3413
3613
|
comments: register(( (new EditorComments()))),
|
|
3414
|
-
contextmenu: register(( (new EditorBooleanOption(
|
|
3614
|
+
contextmenu: register(( (new EditorBooleanOption(EditorOption.contextmenu, 'contextmenu', true)))),
|
|
3415
3615
|
copyWithSyntaxHighlighting: register(( (new EditorBooleanOption(
|
|
3416
|
-
|
|
3616
|
+
EditorOption.copyWithSyntaxHighlighting,
|
|
3417
3617
|
'copyWithSyntaxHighlighting',
|
|
3418
3618
|
true,
|
|
3419
3619
|
{ description: ( localizeWithPath(
|
|
3420
3620
|
_moduleId,
|
|
3421
|
-
|
|
3621
|
+
254,
|
|
3422
3622
|
"Controls whether syntax highlighting should be copied into the clipboard."
|
|
3423
3623
|
)) }
|
|
3424
3624
|
)))),
|
|
3425
3625
|
cursorBlinking: register(( (new EditorEnumOption(
|
|
3426
|
-
|
|
3626
|
+
EditorOption.cursorBlinking,
|
|
3427
3627
|
'cursorBlinking',
|
|
3428
|
-
|
|
3628
|
+
TextEditorCursorBlinkingStyle.Blink,
|
|
3429
3629
|
'blink',
|
|
3430
3630
|
['blink', 'smooth', 'phase', 'expand', 'solid'],
|
|
3431
3631
|
_cursorBlinkingStyleFromString,
|
|
3432
|
-
{ description: ( localizeWithPath(_moduleId,
|
|
3632
|
+
{ description: ( localizeWithPath(_moduleId, 255, "Control the cursor animation style.")) }
|
|
3433
3633
|
)))),
|
|
3434
3634
|
cursorSmoothCaretAnimation: register(( (new EditorStringEnumOption(
|
|
3435
|
-
|
|
3635
|
+
EditorOption.cursorSmoothCaretAnimation,
|
|
3436
3636
|
'cursorSmoothCaretAnimation',
|
|
3437
3637
|
'off',
|
|
3438
3638
|
['off', 'explicit', 'on'],
|
|
3439
3639
|
{
|
|
3440
3640
|
enumDescriptions: [
|
|
3441
|
-
( localizeWithPath(_moduleId,
|
|
3641
|
+
( localizeWithPath(_moduleId, 256, "Smooth caret animation is disabled.")),
|
|
3442
3642
|
( localizeWithPath(
|
|
3443
3643
|
_moduleId,
|
|
3444
|
-
|
|
3644
|
+
257,
|
|
3445
3645
|
"Smooth caret animation is enabled only when the user moves the cursor with an explicit gesture."
|
|
3446
3646
|
)),
|
|
3447
|
-
( localizeWithPath(_moduleId,
|
|
3647
|
+
( localizeWithPath(_moduleId, 258, "Smooth caret animation is always enabled."))
|
|
3448
3648
|
],
|
|
3449
3649
|
description: ( localizeWithPath(
|
|
3450
3650
|
_moduleId,
|
|
3451
|
-
|
|
3651
|
+
259,
|
|
3452
3652
|
"Controls whether the smooth caret animation should be enabled."
|
|
3453
3653
|
))
|
|
3454
3654
|
}
|
|
3455
3655
|
)))),
|
|
3456
3656
|
cursorStyle: register(( (new EditorEnumOption(
|
|
3457
|
-
|
|
3657
|
+
EditorOption.cursorStyle,
|
|
3458
3658
|
'cursorStyle',
|
|
3459
3659
|
TextEditorCursorStyle.Line,
|
|
3460
3660
|
'line',
|
|
3461
3661
|
['line', 'block', 'underline', 'line-thin', 'block-outline', 'underline-thin'],
|
|
3462
3662
|
_cursorStyleFromString,
|
|
3463
|
-
{ description: ( localizeWithPath(_moduleId,
|
|
3663
|
+
{ description: ( localizeWithPath(_moduleId, 260, "Controls the cursor style.")) }
|
|
3464
3664
|
)))),
|
|
3465
3665
|
cursorSurroundingLines: register(( (new EditorIntOption(
|
|
3466
|
-
|
|
3666
|
+
EditorOption.cursorSurroundingLines,
|
|
3467
3667
|
'cursorSurroundingLines',
|
|
3468
3668
|
0,
|
|
3469
3669
|
0,
|
|
3470
|
-
|
|
3670
|
+
Constants.MAX_SAFE_SMALL_INTEGER,
|
|
3471
3671
|
{ description: ( localizeWithPath(
|
|
3472
3672
|
_moduleId,
|
|
3473
|
-
|
|
3673
|
+
261,
|
|
3474
3674
|
"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."
|
|
3475
3675
|
)) }
|
|
3476
3676
|
)))),
|
|
3477
3677
|
cursorSurroundingLinesStyle: register(( (new EditorStringEnumOption(
|
|
3478
|
-
|
|
3678
|
+
EditorOption.cursorSurroundingLinesStyle,
|
|
3479
3679
|
'cursorSurroundingLinesStyle',
|
|
3480
3680
|
'default',
|
|
3481
3681
|
['default', 'all'],
|
|
@@ -3483,44 +3683,44 @@ const EditorOptions = {
|
|
|
3483
3683
|
enumDescriptions: [
|
|
3484
3684
|
( localizeWithPath(
|
|
3485
3685
|
_moduleId,
|
|
3486
|
-
|
|
3686
|
+
262,
|
|
3487
3687
|
"`cursorSurroundingLines` is enforced only when triggered via the keyboard or API."
|
|
3488
3688
|
)),
|
|
3489
|
-
( localizeWithPath(_moduleId,
|
|
3689
|
+
( localizeWithPath(_moduleId, 263, "`cursorSurroundingLines` is enforced always."))
|
|
3490
3690
|
],
|
|
3491
3691
|
markdownDescription: ( localizeWithPath(
|
|
3492
3692
|
_moduleId,
|
|
3493
|
-
|
|
3693
|
+
264,
|
|
3494
3694
|
"Controls when `#editor.cursorSurroundingLines#` should be enforced."
|
|
3495
3695
|
))
|
|
3496
3696
|
}
|
|
3497
3697
|
)))),
|
|
3498
3698
|
cursorWidth: register(( (new EditorIntOption(
|
|
3499
|
-
|
|
3699
|
+
EditorOption.cursorWidth,
|
|
3500
3700
|
'cursorWidth',
|
|
3501
3701
|
0,
|
|
3502
3702
|
0,
|
|
3503
|
-
|
|
3703
|
+
Constants.MAX_SAFE_SMALL_INTEGER,
|
|
3504
3704
|
{ markdownDescription: ( localizeWithPath(
|
|
3505
3705
|
_moduleId,
|
|
3506
|
-
|
|
3706
|
+
265,
|
|
3507
3707
|
"Controls the width of the cursor when `#editor.cursorStyle#` is set to `line`."
|
|
3508
3708
|
)) }
|
|
3509
3709
|
)))),
|
|
3510
|
-
disableLayerHinting: register(( (new EditorBooleanOption(
|
|
3710
|
+
disableLayerHinting: register(( (new EditorBooleanOption(EditorOption.disableLayerHinting, 'disableLayerHinting', false)))),
|
|
3511
3711
|
disableMonospaceOptimizations: register(( (new EditorBooleanOption(
|
|
3512
|
-
|
|
3712
|
+
EditorOption.disableMonospaceOptimizations,
|
|
3513
3713
|
'disableMonospaceOptimizations',
|
|
3514
3714
|
false
|
|
3515
3715
|
)))),
|
|
3516
|
-
domReadOnly: register(( (new EditorBooleanOption(
|
|
3716
|
+
domReadOnly: register(( (new EditorBooleanOption(EditorOption.domReadOnly, 'domReadOnly', false)))),
|
|
3517
3717
|
dragAndDrop: register(( (new EditorBooleanOption(
|
|
3518
|
-
|
|
3718
|
+
EditorOption.dragAndDrop,
|
|
3519
3719
|
'dragAndDrop',
|
|
3520
3720
|
true,
|
|
3521
3721
|
{ description: ( localizeWithPath(
|
|
3522
3722
|
_moduleId,
|
|
3523
|
-
|
|
3723
|
+
266,
|
|
3524
3724
|
"Controls whether the editor should allow moving selections via drag and drop."
|
|
3525
3725
|
)) }
|
|
3526
3726
|
)))),
|
|
@@ -3528,41 +3728,36 @@ const EditorOptions = {
|
|
|
3528
3728
|
dropIntoEditor: register(( (new EditorDropIntoEditor()))),
|
|
3529
3729
|
stickyScroll: register(( (new EditorStickyScroll()))),
|
|
3530
3730
|
experimentalWhitespaceRendering: register(( (new EditorStringEnumOption(
|
|
3531
|
-
|
|
3731
|
+
EditorOption.experimentalWhitespaceRendering,
|
|
3532
3732
|
'experimentalWhitespaceRendering',
|
|
3533
3733
|
'svg',
|
|
3534
3734
|
['svg', 'font', 'off'],
|
|
3535
3735
|
{
|
|
3536
3736
|
enumDescriptions: [
|
|
3537
|
-
( localizeWithPath(_moduleId,
|
|
3538
|
-
( localizeWithPath(_moduleId,
|
|
3539
|
-
( localizeWithPath(_moduleId,
|
|
3737
|
+
( localizeWithPath(_moduleId, 267, "Use a new rendering method with svgs.")),
|
|
3738
|
+
( localizeWithPath(_moduleId, 268, "Use a new rendering method with font characters.")),
|
|
3739
|
+
( localizeWithPath(_moduleId, 269, "Use the stable rendering method.")),
|
|
3540
3740
|
],
|
|
3541
3741
|
description: ( localizeWithPath(
|
|
3542
3742
|
_moduleId,
|
|
3543
|
-
|
|
3743
|
+
270,
|
|
3544
3744
|
"Controls whether whitespace is rendered with a new, experimental method."
|
|
3545
3745
|
))
|
|
3546
3746
|
}
|
|
3547
3747
|
)))),
|
|
3548
|
-
extraEditorClassName: register(( (new EditorStringOption(
|
|
3748
|
+
extraEditorClassName: register(( (new EditorStringOption(EditorOption.extraEditorClassName, 'extraEditorClassName', '')))),
|
|
3549
3749
|
fastScrollSensitivity: register(( (new EditorFloatOption(
|
|
3550
|
-
|
|
3750
|
+
EditorOption.fastScrollSensitivity,
|
|
3551
3751
|
'fastScrollSensitivity',
|
|
3552
3752
|
5,
|
|
3553
3753
|
x => (x <= 0 ? 5 : x),
|
|
3554
|
-
{ markdownDescription: ( localizeWithPath(_moduleId,
|
|
3754
|
+
{ markdownDescription: ( localizeWithPath(_moduleId, 271, "Scrolling speed multiplier when pressing `Alt`.")) }
|
|
3555
3755
|
)))),
|
|
3556
3756
|
find: register(( (new EditorFind()))),
|
|
3557
|
-
fixedOverflowWidgets: register(( (new EditorBooleanOption(
|
|
3558
|
-
folding: register(( (new EditorBooleanOption(
|
|
3559
|
-
43 ,
|
|
3560
|
-
'folding',
|
|
3561
|
-
true,
|
|
3562
|
-
{ description: ( localizeWithPath(_moduleId, 271, "Controls whether the editor has code folding enabled.")) }
|
|
3563
|
-
)))),
|
|
3757
|
+
fixedOverflowWidgets: register(( (new EditorBooleanOption(EditorOption.fixedOverflowWidgets, 'fixedOverflowWidgets', false)))),
|
|
3758
|
+
folding: register(( (new EditorBooleanOption(EditorOption.folding, 'folding', true, { description: ( localizeWithPath(_moduleId, 272, "Controls whether the editor has code folding enabled.")) })))),
|
|
3564
3759
|
foldingStrategy: register(( (new EditorStringEnumOption(
|
|
3565
|
-
|
|
3760
|
+
EditorOption.foldingStrategy,
|
|
3566
3761
|
'foldingStrategy',
|
|
3567
3762
|
'auto',
|
|
3568
3763
|
['auto', 'indentation'],
|
|
@@ -3570,61 +3765,61 @@ const EditorOptions = {
|
|
|
3570
3765
|
enumDescriptions: [
|
|
3571
3766
|
( localizeWithPath(
|
|
3572
3767
|
_moduleId,
|
|
3573
|
-
|
|
3768
|
+
273,
|
|
3574
3769
|
"Use a language-specific folding strategy if available, else the indentation-based one."
|
|
3575
3770
|
)),
|
|
3576
|
-
( localizeWithPath(_moduleId,
|
|
3771
|
+
( localizeWithPath(_moduleId, 274, "Use the indentation-based folding strategy.")),
|
|
3577
3772
|
],
|
|
3578
|
-
description: ( localizeWithPath(_moduleId,
|
|
3773
|
+
description: ( localizeWithPath(_moduleId, 275, "Controls the strategy for computing folding ranges."))
|
|
3579
3774
|
}
|
|
3580
3775
|
)))),
|
|
3581
3776
|
foldingHighlight: register(( (new EditorBooleanOption(
|
|
3582
|
-
|
|
3777
|
+
EditorOption.foldingHighlight,
|
|
3583
3778
|
'foldingHighlight',
|
|
3584
3779
|
true,
|
|
3585
3780
|
{ description: ( localizeWithPath(
|
|
3586
3781
|
_moduleId,
|
|
3587
|
-
|
|
3782
|
+
276,
|
|
3588
3783
|
"Controls whether the editor should highlight folded ranges."
|
|
3589
3784
|
)) }
|
|
3590
3785
|
)))),
|
|
3591
3786
|
foldingImportsByDefault: register(( (new EditorBooleanOption(
|
|
3592
|
-
|
|
3787
|
+
EditorOption.foldingImportsByDefault,
|
|
3593
3788
|
'foldingImportsByDefault',
|
|
3594
3789
|
false,
|
|
3595
3790
|
{ description: ( localizeWithPath(
|
|
3596
3791
|
_moduleId,
|
|
3597
|
-
|
|
3792
|
+
277,
|
|
3598
3793
|
"Controls whether the editor automatically collapses import ranges."
|
|
3599
3794
|
)) }
|
|
3600
3795
|
)))),
|
|
3601
3796
|
foldingMaximumRegions: register(( (new EditorIntOption(
|
|
3602
|
-
|
|
3797
|
+
EditorOption.foldingMaximumRegions,
|
|
3603
3798
|
'foldingMaximumRegions',
|
|
3604
3799
|
5000,
|
|
3605
3800
|
10,
|
|
3606
3801
|
65000,
|
|
3607
3802
|
{ description: ( localizeWithPath(
|
|
3608
3803
|
_moduleId,
|
|
3609
|
-
|
|
3804
|
+
278,
|
|
3610
3805
|
"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."
|
|
3611
3806
|
)) }
|
|
3612
3807
|
)))),
|
|
3613
3808
|
unfoldOnClickAfterEndOfLine: register(( (new EditorBooleanOption(
|
|
3614
|
-
|
|
3809
|
+
EditorOption.unfoldOnClickAfterEndOfLine,
|
|
3615
3810
|
'unfoldOnClickAfterEndOfLine',
|
|
3616
3811
|
false,
|
|
3617
3812
|
{ description: ( localizeWithPath(
|
|
3618
3813
|
_moduleId,
|
|
3619
|
-
|
|
3814
|
+
279,
|
|
3620
3815
|
"Controls whether clicking on the empty content after a folded line will unfold the line."
|
|
3621
3816
|
)) }
|
|
3622
3817
|
)))),
|
|
3623
3818
|
fontFamily: register(( (new EditorStringOption(
|
|
3624
|
-
|
|
3819
|
+
EditorOption.fontFamily,
|
|
3625
3820
|
'fontFamily',
|
|
3626
3821
|
EDITOR_FONT_DEFAULTS.fontFamily,
|
|
3627
|
-
{ description: ( localizeWithPath(_moduleId,
|
|
3822
|
+
{ description: ( localizeWithPath(_moduleId, 280, "Controls the font family.")) }
|
|
3628
3823
|
)))),
|
|
3629
3824
|
fontInfo: register(( (new EditorFontInfo()))),
|
|
3630
3825
|
fontLigatures2: register(( (new EditorFontLigatures()))),
|
|
@@ -3632,127 +3827,116 @@ const EditorOptions = {
|
|
|
3632
3827
|
fontWeight: register(( (new EditorFontWeight()))),
|
|
3633
3828
|
fontVariations: register(( (new EditorFontVariations()))),
|
|
3634
3829
|
formatOnPaste: register(( (new EditorBooleanOption(
|
|
3635
|
-
|
|
3830
|
+
EditorOption.formatOnPaste,
|
|
3636
3831
|
'formatOnPaste',
|
|
3637
3832
|
false,
|
|
3638
3833
|
{ description: ( localizeWithPath(
|
|
3639
3834
|
_moduleId,
|
|
3640
|
-
|
|
3835
|
+
281,
|
|
3641
3836
|
"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."
|
|
3642
3837
|
)) }
|
|
3643
3838
|
)))),
|
|
3644
3839
|
formatOnType: register(( (new EditorBooleanOption(
|
|
3645
|
-
|
|
3840
|
+
EditorOption.formatOnType,
|
|
3646
3841
|
'formatOnType',
|
|
3647
3842
|
false,
|
|
3648
3843
|
{ description: ( localizeWithPath(
|
|
3649
3844
|
_moduleId,
|
|
3650
|
-
|
|
3845
|
+
282,
|
|
3651
3846
|
"Controls whether the editor should automatically format the line after typing."
|
|
3652
3847
|
)) }
|
|
3653
3848
|
)))),
|
|
3654
3849
|
glyphMargin: register(( (new EditorBooleanOption(
|
|
3655
|
-
|
|
3850
|
+
EditorOption.glyphMargin,
|
|
3656
3851
|
'glyphMargin',
|
|
3657
3852
|
true,
|
|
3658
3853
|
{ description: ( localizeWithPath(
|
|
3659
3854
|
_moduleId,
|
|
3660
|
-
|
|
3855
|
+
283,
|
|
3661
3856
|
"Controls whether the editor should render the vertical glyph margin. Glyph margin is mostly used for debugging."
|
|
3662
3857
|
)) }
|
|
3663
3858
|
)))),
|
|
3664
3859
|
gotoLocation: register(( (new EditorGoToLocation()))),
|
|
3665
3860
|
hideCursorInOverviewRuler: register(( (new EditorBooleanOption(
|
|
3666
|
-
|
|
3861
|
+
EditorOption.hideCursorInOverviewRuler,
|
|
3667
3862
|
'hideCursorInOverviewRuler',
|
|
3668
3863
|
false,
|
|
3669
3864
|
{ description: ( localizeWithPath(
|
|
3670
3865
|
_moduleId,
|
|
3671
|
-
|
|
3866
|
+
284,
|
|
3672
3867
|
"Controls whether the cursor should be hidden in the overview ruler."
|
|
3673
3868
|
)) }
|
|
3674
3869
|
)))),
|
|
3675
3870
|
hover: register(( (new EditorHover()))),
|
|
3676
|
-
inDiffEditor: register(( (new EditorBooleanOption(
|
|
3871
|
+
inDiffEditor: register(( (new EditorBooleanOption(EditorOption.inDiffEditor, 'inDiffEditor', false)))),
|
|
3677
3872
|
letterSpacing: register(( (new EditorFloatOption(
|
|
3678
|
-
|
|
3873
|
+
EditorOption.letterSpacing,
|
|
3679
3874
|
'letterSpacing',
|
|
3680
3875
|
EDITOR_FONT_DEFAULTS.letterSpacing,
|
|
3681
3876
|
x => EditorFloatOption.clamp(x, -5, 20),
|
|
3682
|
-
{ description: ( localizeWithPath(_moduleId,
|
|
3877
|
+
{ description: ( localizeWithPath(_moduleId, 285, "Controls the letter spacing in pixels.")) }
|
|
3683
3878
|
)))),
|
|
3684
3879
|
lightbulb: register(( (new EditorLightbulb()))),
|
|
3685
3880
|
lineDecorationsWidth: register(( (new EditorLineDecorationsWidth()))),
|
|
3686
3881
|
lineHeight: register(( (new EditorLineHeight()))),
|
|
3687
3882
|
lineNumbers: register(( (new EditorRenderLineNumbersOption()))),
|
|
3688
|
-
lineNumbersMinChars: register(( (new EditorIntOption(
|
|
3689
|
-
69 ,
|
|
3690
|
-
'lineNumbersMinChars',
|
|
3691
|
-
5,
|
|
3692
|
-
1,
|
|
3693
|
-
300
|
|
3694
|
-
)))),
|
|
3883
|
+
lineNumbersMinChars: register(( (new EditorIntOption(EditorOption.lineNumbersMinChars, 'lineNumbersMinChars', 5, 1, 300)))),
|
|
3695
3884
|
linkedEditing: register(( (new EditorBooleanOption(
|
|
3696
|
-
|
|
3885
|
+
EditorOption.linkedEditing,
|
|
3697
3886
|
'linkedEditing',
|
|
3698
3887
|
false,
|
|
3699
3888
|
{ description: ( localizeWithPath(
|
|
3700
3889
|
_moduleId,
|
|
3701
|
-
|
|
3890
|
+
286,
|
|
3702
3891
|
"Controls whether the editor has linked editing enabled. Depending on the language, related symbols such as HTML tags, are updated while editing."
|
|
3703
3892
|
)) }
|
|
3704
3893
|
)))),
|
|
3705
|
-
links: register(( (new EditorBooleanOption(
|
|
3894
|
+
links: register(( (new EditorBooleanOption(EditorOption.links, 'links', true, { description: ( localizeWithPath(
|
|
3706
3895
|
_moduleId,
|
|
3707
|
-
|
|
3896
|
+
287,
|
|
3708
3897
|
"Controls whether the editor should detect links and make them clickable."
|
|
3709
3898
|
)) })))),
|
|
3710
3899
|
matchBrackets: register(( (new EditorStringEnumOption(
|
|
3711
|
-
|
|
3900
|
+
EditorOption.matchBrackets,
|
|
3712
3901
|
'matchBrackets',
|
|
3713
3902
|
'always',
|
|
3714
3903
|
['always', 'near', 'never'],
|
|
3715
|
-
{ description: ( localizeWithPath(_moduleId,
|
|
3904
|
+
{ description: ( localizeWithPath(_moduleId, 288, "Highlight matching brackets.")) }
|
|
3716
3905
|
)))),
|
|
3717
3906
|
minimap: register(( (new EditorMinimap()))),
|
|
3718
|
-
mouseStyle: register(( (new EditorStringEnumOption(
|
|
3719
|
-
74 ,
|
|
3720
|
-
'mouseStyle',
|
|
3721
|
-
'text',
|
|
3722
|
-
['text', 'default', 'copy']
|
|
3723
|
-
)))),
|
|
3907
|
+
mouseStyle: register(( (new EditorStringEnumOption(EditorOption.mouseStyle, 'mouseStyle', 'text', ['text', 'default', 'copy'])))),
|
|
3724
3908
|
mouseWheelScrollSensitivity: register(( (new EditorFloatOption(
|
|
3725
|
-
|
|
3909
|
+
EditorOption.mouseWheelScrollSensitivity,
|
|
3726
3910
|
'mouseWheelScrollSensitivity',
|
|
3727
3911
|
1,
|
|
3728
3912
|
x => (x === 0 ? 1 : x),
|
|
3729
3913
|
{ markdownDescription: ( localizeWithPath(
|
|
3730
3914
|
_moduleId,
|
|
3731
|
-
|
|
3915
|
+
289,
|
|
3732
3916
|
"A multiplier to be used on the `deltaX` and `deltaY` of mouse wheel scroll events."
|
|
3733
3917
|
)) }
|
|
3734
3918
|
)))),
|
|
3735
|
-
mouseWheelZoom: register(( (new EditorBooleanOption(
|
|
3919
|
+
mouseWheelZoom: register(( (new EditorBooleanOption(EditorOption.mouseWheelZoom, 'mouseWheelZoom', false, {
|
|
3736
3920
|
markdownDescription: isMacintosh
|
|
3737
3921
|
? ( localizeWithPath(
|
|
3738
3922
|
_moduleId,
|
|
3739
|
-
|
|
3923
|
+
290,
|
|
3740
3924
|
"Zoom the font of the editor when using mouse wheel and holding `Cmd`."
|
|
3741
3925
|
))
|
|
3742
3926
|
: ( localizeWithPath(
|
|
3743
3927
|
_moduleId,
|
|
3744
|
-
|
|
3928
|
+
291,
|
|
3745
3929
|
"Zoom the font of the editor when using mouse wheel and holding `Ctrl`."
|
|
3746
3930
|
))
|
|
3747
3931
|
})))),
|
|
3748
3932
|
multiCursorMergeOverlapping: register(( (new EditorBooleanOption(
|
|
3749
|
-
|
|
3933
|
+
EditorOption.multiCursorMergeOverlapping,
|
|
3750
3934
|
'multiCursorMergeOverlapping',
|
|
3751
3935
|
true,
|
|
3752
|
-
{ description: ( localizeWithPath(_moduleId,
|
|
3936
|
+
{ description: ( localizeWithPath(_moduleId, 292, "Merge multiple cursors when they are overlapping.")) }
|
|
3753
3937
|
)))),
|
|
3754
3938
|
multiCursorModifier: register(( (new EditorEnumOption(
|
|
3755
|
-
|
|
3939
|
+
EditorOption.multiCursorModifier,
|
|
3756
3940
|
'multiCursorModifier',
|
|
3757
3941
|
'altKey',
|
|
3758
3942
|
'alt',
|
|
@@ -3762,160 +3946,153 @@ const EditorOptions = {
|
|
|
3762
3946
|
markdownEnumDescriptions: [
|
|
3763
3947
|
( localizeWithPath(
|
|
3764
3948
|
_moduleId,
|
|
3765
|
-
|
|
3949
|
+
293,
|
|
3766
3950
|
"Maps to `Control` on Windows and Linux and to `Command` on macOS."
|
|
3767
3951
|
)),
|
|
3768
3952
|
( localizeWithPath(
|
|
3769
3953
|
_moduleId,
|
|
3770
|
-
|
|
3954
|
+
294,
|
|
3771
3955
|
"Maps to `Alt` on Windows and Linux and to `Option` on macOS."
|
|
3772
3956
|
))
|
|
3773
3957
|
],
|
|
3774
3958
|
markdownDescription: ( localizeWithPath(
|
|
3775
3959
|
_moduleId,
|
|
3776
|
-
|
|
3960
|
+
295,
|
|
3777
3961
|
"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)."
|
|
3778
3962
|
))
|
|
3779
3963
|
}
|
|
3780
3964
|
)))),
|
|
3781
3965
|
multiCursorPaste: register(( (new EditorStringEnumOption(
|
|
3782
|
-
|
|
3966
|
+
EditorOption.multiCursorPaste,
|
|
3783
3967
|
'multiCursorPaste',
|
|
3784
3968
|
'spread',
|
|
3785
3969
|
['spread', 'full'],
|
|
3786
3970
|
{
|
|
3787
3971
|
markdownEnumDescriptions: [
|
|
3788
|
-
( localizeWithPath(_moduleId,
|
|
3789
|
-
( localizeWithPath(_moduleId,
|
|
3972
|
+
( localizeWithPath(_moduleId, 296, "Each cursor pastes a single line of the text.")),
|
|
3973
|
+
( localizeWithPath(_moduleId, 297, "Each cursor pastes the full text."))
|
|
3790
3974
|
],
|
|
3791
|
-
markdownDescription: ( localizeWithPath(
|
|
3792
|
-
_moduleId,
|
|
3793
|
-
297,
|
|
3794
|
-
"Controls pasting when the line count of the pasted text matches the cursor count."
|
|
3795
|
-
))
|
|
3796
|
-
}
|
|
3797
|
-
)))),
|
|
3798
|
-
multiCursorLimit: register(( (new EditorIntOption(
|
|
3799
|
-
80 ,
|
|
3800
|
-
'multiCursorLimit',
|
|
3801
|
-
10000,
|
|
3802
|
-
1,
|
|
3803
|
-
100000,
|
|
3804
|
-
{
|
|
3805
3975
|
markdownDescription: ( localizeWithPath(
|
|
3806
3976
|
_moduleId,
|
|
3807
3977
|
298,
|
|
3808
|
-
"Controls the
|
|
3978
|
+
"Controls pasting when the line count of the pasted text matches the cursor count."
|
|
3809
3979
|
))
|
|
3810
3980
|
}
|
|
3811
3981
|
)))),
|
|
3982
|
+
multiCursorLimit: register(( (new EditorIntOption(EditorOption.multiCursorLimit, 'multiCursorLimit', 10000, 1, 100000, {
|
|
3983
|
+
markdownDescription: ( localizeWithPath(
|
|
3984
|
+
_moduleId,
|
|
3985
|
+
299,
|
|
3986
|
+
"Controls the max number of cursors that can be in an active editor at once."
|
|
3987
|
+
))
|
|
3988
|
+
})))),
|
|
3812
3989
|
occurrencesHighlight: register(( (new EditorStringEnumOption(
|
|
3813
|
-
|
|
3990
|
+
EditorOption.occurrencesHighlight,
|
|
3814
3991
|
'occurrencesHighlight',
|
|
3815
3992
|
'singleFile',
|
|
3816
3993
|
['off', 'singleFile', 'multiFile'],
|
|
3817
3994
|
{
|
|
3818
3995
|
markdownEnumDescriptions: [
|
|
3819
|
-
( localizeWithPath(_moduleId,
|
|
3820
|
-
( localizeWithPath(_moduleId,
|
|
3996
|
+
( localizeWithPath(_moduleId, 300, "Does not highlight occurrences.")),
|
|
3997
|
+
( localizeWithPath(_moduleId, 301, "Highlights occurrences only in the current file.")),
|
|
3821
3998
|
( localizeWithPath(
|
|
3822
3999
|
_moduleId,
|
|
3823
|
-
|
|
4000
|
+
302,
|
|
3824
4001
|
"Experimental: Highlights occurrences across all valid open files."
|
|
3825
4002
|
))
|
|
3826
4003
|
],
|
|
3827
4004
|
markdownDescription: ( localizeWithPath(
|
|
3828
4005
|
_moduleId,
|
|
3829
|
-
|
|
4006
|
+
303,
|
|
3830
4007
|
"Controls whether occurrences should be highlighted across open files."
|
|
3831
4008
|
))
|
|
3832
4009
|
}
|
|
3833
4010
|
)))),
|
|
3834
4011
|
overviewRulerBorder: register(( (new EditorBooleanOption(
|
|
3835
|
-
|
|
4012
|
+
EditorOption.overviewRulerBorder,
|
|
3836
4013
|
'overviewRulerBorder',
|
|
3837
4014
|
true,
|
|
3838
4015
|
{ description: ( localizeWithPath(
|
|
3839
4016
|
_moduleId,
|
|
3840
|
-
|
|
4017
|
+
304,
|
|
3841
4018
|
"Controls whether a border should be drawn around the overview ruler."
|
|
3842
4019
|
)) }
|
|
3843
4020
|
)))),
|
|
3844
|
-
overviewRulerLanes: register(( (new EditorIntOption(
|
|
4021
|
+
overviewRulerLanes: register(( (new EditorIntOption(EditorOption.overviewRulerLanes, 'overviewRulerLanes', 3, 0, 3)))),
|
|
3845
4022
|
padding: register(( (new EditorPadding()))),
|
|
3846
4023
|
pasteAs: register(( (new EditorPasteAs()))),
|
|
3847
4024
|
parameterHints: register(( (new EditorParameterHints()))),
|
|
3848
4025
|
peekWidgetDefaultFocus: register(( (new EditorStringEnumOption(
|
|
3849
|
-
|
|
4026
|
+
EditorOption.peekWidgetDefaultFocus,
|
|
3850
4027
|
'peekWidgetDefaultFocus',
|
|
3851
4028
|
'tree',
|
|
3852
4029
|
['tree', 'editor'],
|
|
3853
4030
|
{
|
|
3854
4031
|
enumDescriptions: [
|
|
3855
|
-
( localizeWithPath(_moduleId,
|
|
3856
|
-
( localizeWithPath(_moduleId,
|
|
4032
|
+
( localizeWithPath(_moduleId, 305, "Focus the tree when opening peek")),
|
|
4033
|
+
( localizeWithPath(_moduleId, 306, "Focus the editor when opening peek"))
|
|
3857
4034
|
],
|
|
3858
4035
|
description: ( localizeWithPath(
|
|
3859
4036
|
_moduleId,
|
|
3860
|
-
|
|
4037
|
+
307,
|
|
3861
4038
|
"Controls whether to focus the inline editor or the tree in the peek widget."
|
|
3862
4039
|
))
|
|
3863
4040
|
}
|
|
3864
4041
|
)))),
|
|
3865
4042
|
definitionLinkOpensInPeek: register(( (new EditorBooleanOption(
|
|
3866
|
-
|
|
4043
|
+
EditorOption.definitionLinkOpensInPeek,
|
|
3867
4044
|
'definitionLinkOpensInPeek',
|
|
3868
4045
|
false,
|
|
3869
4046
|
{ description: ( localizeWithPath(
|
|
3870
4047
|
_moduleId,
|
|
3871
|
-
|
|
4048
|
+
308,
|
|
3872
4049
|
"Controls whether the Go to Definition mouse gesture always opens the peek widget."
|
|
3873
4050
|
)) }
|
|
3874
4051
|
)))),
|
|
3875
4052
|
quickSuggestions: register(( (new EditorQuickSuggestions()))),
|
|
3876
4053
|
quickSuggestionsDelay: register(( (new EditorIntOption(
|
|
3877
|
-
|
|
4054
|
+
EditorOption.quickSuggestionsDelay,
|
|
3878
4055
|
'quickSuggestionsDelay',
|
|
3879
4056
|
10,
|
|
3880
4057
|
0,
|
|
3881
|
-
|
|
4058
|
+
Constants.MAX_SAFE_SMALL_INTEGER,
|
|
3882
4059
|
{ description: ( localizeWithPath(
|
|
3883
4060
|
_moduleId,
|
|
3884
|
-
|
|
4061
|
+
309,
|
|
3885
4062
|
"Controls the delay in milliseconds after which quick suggestions will show up."
|
|
3886
4063
|
)) }
|
|
3887
4064
|
)))),
|
|
3888
|
-
readOnly: register(( (new EditorBooleanOption(
|
|
4065
|
+
readOnly: register(( (new EditorBooleanOption(EditorOption.readOnly, 'readOnly', false)))),
|
|
3889
4066
|
readOnlyMessage: register(( (new ReadonlyMessage()))),
|
|
3890
4067
|
renameOnType: register(( (new EditorBooleanOption(
|
|
3891
|
-
|
|
4068
|
+
EditorOption.renameOnType,
|
|
3892
4069
|
'renameOnType',
|
|
3893
4070
|
false,
|
|
3894
|
-
{ description: ( localizeWithPath(_moduleId,
|
|
4071
|
+
{ description: ( localizeWithPath(_moduleId, 310, "Controls whether the editor auto renames on type.")), markdownDeprecationMessage: ( localizeWithPath(_moduleId, 311, "Deprecated, use `editor.linkedEditing` instead.")) }
|
|
3895
4072
|
)))),
|
|
3896
4073
|
renderControlCharacters: register(( (new EditorBooleanOption(
|
|
3897
|
-
|
|
4074
|
+
EditorOption.renderControlCharacters,
|
|
3898
4075
|
'renderControlCharacters',
|
|
3899
4076
|
true,
|
|
3900
4077
|
{ description: ( localizeWithPath(
|
|
3901
4078
|
_moduleId,
|
|
3902
|
-
|
|
4079
|
+
312,
|
|
3903
4080
|
"Controls whether the editor should render control characters."
|
|
3904
4081
|
)), restricted: true }
|
|
3905
4082
|
)))),
|
|
3906
4083
|
renderFinalNewline: register(( (new EditorStringEnumOption(
|
|
3907
|
-
|
|
4084
|
+
EditorOption.renderFinalNewline,
|
|
3908
4085
|
'renderFinalNewline',
|
|
3909
4086
|
(isLinux ? 'dimmed' : 'on'),
|
|
3910
4087
|
['off', 'on', 'dimmed'],
|
|
3911
4088
|
{ description: ( localizeWithPath(
|
|
3912
4089
|
_moduleId,
|
|
3913
|
-
|
|
4090
|
+
313,
|
|
3914
4091
|
"Render last line number when the file ends with a newline."
|
|
3915
4092
|
)) }
|
|
3916
4093
|
)))),
|
|
3917
4094
|
renderLineHighlight: register(( (new EditorStringEnumOption(
|
|
3918
|
-
|
|
4095
|
+
EditorOption.renderLineHighlight,
|
|
3919
4096
|
'renderLineHighlight',
|
|
3920
4097
|
'line',
|
|
3921
4098
|
['none', 'gutter', 'line', 'all'],
|
|
@@ -3924,33 +4101,33 @@ const EditorOptions = {
|
|
|
3924
4101
|
'',
|
|
3925
4102
|
'',
|
|
3926
4103
|
'',
|
|
3927
|
-
( localizeWithPath(_moduleId,
|
|
4104
|
+
( localizeWithPath(_moduleId, 314, "Highlights both the gutter and the current line.")),
|
|
3928
4105
|
],
|
|
3929
4106
|
description: ( localizeWithPath(
|
|
3930
4107
|
_moduleId,
|
|
3931
|
-
|
|
4108
|
+
315,
|
|
3932
4109
|
"Controls how the editor should render the current line highlight."
|
|
3933
4110
|
))
|
|
3934
4111
|
}
|
|
3935
4112
|
)))),
|
|
3936
4113
|
renderLineHighlightOnlyWhenFocus: register(( (new EditorBooleanOption(
|
|
3937
|
-
|
|
4114
|
+
EditorOption.renderLineHighlightOnlyWhenFocus,
|
|
3938
4115
|
'renderLineHighlightOnlyWhenFocus',
|
|
3939
4116
|
false,
|
|
3940
4117
|
{ description: ( localizeWithPath(
|
|
3941
4118
|
_moduleId,
|
|
3942
|
-
|
|
4119
|
+
316,
|
|
3943
4120
|
"Controls if the editor should render the current line highlight only when the editor is focused."
|
|
3944
4121
|
)) }
|
|
3945
4122
|
)))),
|
|
3946
4123
|
renderValidationDecorations: register(( (new EditorStringEnumOption(
|
|
3947
|
-
|
|
4124
|
+
EditorOption.renderValidationDecorations,
|
|
3948
4125
|
'renderValidationDecorations',
|
|
3949
4126
|
'editable',
|
|
3950
4127
|
['editable', 'on', 'off']
|
|
3951
4128
|
)))),
|
|
3952
4129
|
renderWhitespace: register(( (new EditorStringEnumOption(
|
|
3953
|
-
|
|
4130
|
+
EditorOption.renderWhitespace,
|
|
3954
4131
|
'renderWhitespace',
|
|
3955
4132
|
'selection',
|
|
3956
4133
|
['none', 'boundary', 'selection', 'trailing', 'all'],
|
|
@@ -3959,241 +4136,236 @@ const EditorOptions = {
|
|
|
3959
4136
|
'',
|
|
3960
4137
|
( localizeWithPath(
|
|
3961
4138
|
_moduleId,
|
|
3962
|
-
|
|
4139
|
+
317,
|
|
3963
4140
|
"Render whitespace characters except for single spaces between words."
|
|
3964
4141
|
)),
|
|
3965
|
-
( localizeWithPath(_moduleId,
|
|
3966
|
-
( localizeWithPath(_moduleId,
|
|
4142
|
+
( localizeWithPath(_moduleId, 318, "Render whitespace characters only on selected text.")),
|
|
4143
|
+
( localizeWithPath(_moduleId, 319, "Render only trailing whitespace characters.")),
|
|
3967
4144
|
''
|
|
3968
4145
|
],
|
|
3969
4146
|
description: ( localizeWithPath(
|
|
3970
4147
|
_moduleId,
|
|
3971
|
-
|
|
4148
|
+
320,
|
|
3972
4149
|
"Controls how the editor should render whitespace characters."
|
|
3973
4150
|
))
|
|
3974
4151
|
}
|
|
3975
4152
|
)))),
|
|
3976
4153
|
revealHorizontalRightPadding: register(( (new EditorIntOption(
|
|
3977
|
-
|
|
4154
|
+
EditorOption.revealHorizontalRightPadding,
|
|
3978
4155
|
'revealHorizontalRightPadding',
|
|
3979
4156
|
15,
|
|
3980
4157
|
0,
|
|
3981
4158
|
1000
|
|
3982
4159
|
)))),
|
|
3983
4160
|
roundedSelection: register(( (new EditorBooleanOption(
|
|
3984
|
-
|
|
4161
|
+
EditorOption.roundedSelection,
|
|
3985
4162
|
'roundedSelection',
|
|
3986
4163
|
true,
|
|
3987
|
-
{ description: ( localizeWithPath(_moduleId,
|
|
4164
|
+
{ description: ( localizeWithPath(_moduleId, 321, "Controls whether selections should have rounded corners.")) }
|
|
3988
4165
|
)))),
|
|
3989
4166
|
rulers: register(( (new EditorRulers()))),
|
|
3990
4167
|
scrollbar: register(( (new EditorScrollbar()))),
|
|
3991
4168
|
scrollBeyondLastColumn: register(( (new EditorIntOption(
|
|
3992
|
-
|
|
4169
|
+
EditorOption.scrollBeyondLastColumn,
|
|
3993
4170
|
'scrollBeyondLastColumn',
|
|
3994
4171
|
4,
|
|
3995
4172
|
0,
|
|
3996
|
-
|
|
4173
|
+
Constants.MAX_SAFE_SMALL_INTEGER,
|
|
3997
4174
|
{ description: ( localizeWithPath(
|
|
3998
4175
|
_moduleId,
|
|
3999
|
-
|
|
4176
|
+
322,
|
|
4000
4177
|
"Controls the number of extra characters beyond which the editor will scroll horizontally."
|
|
4001
4178
|
)) }
|
|
4002
4179
|
)))),
|
|
4003
4180
|
scrollBeyondLastLine: register(( (new EditorBooleanOption(
|
|
4004
|
-
|
|
4181
|
+
EditorOption.scrollBeyondLastLine,
|
|
4005
4182
|
'scrollBeyondLastLine',
|
|
4006
4183
|
true,
|
|
4007
4184
|
{ description: ( localizeWithPath(
|
|
4008
4185
|
_moduleId,
|
|
4009
|
-
|
|
4186
|
+
323,
|
|
4010
4187
|
"Controls whether the editor will scroll beyond the last line."
|
|
4011
4188
|
)) }
|
|
4012
4189
|
)))),
|
|
4013
4190
|
scrollPredominantAxis: register(( (new EditorBooleanOption(
|
|
4014
|
-
|
|
4191
|
+
EditorOption.scrollPredominantAxis,
|
|
4015
4192
|
'scrollPredominantAxis',
|
|
4016
4193
|
true,
|
|
4017
4194
|
{ description: ( localizeWithPath(
|
|
4018
4195
|
_moduleId,
|
|
4019
|
-
|
|
4196
|
+
324,
|
|
4020
4197
|
"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."
|
|
4021
4198
|
)) }
|
|
4022
4199
|
)))),
|
|
4023
|
-
selectionClipboard: register(( (new EditorBooleanOption(
|
|
4200
|
+
selectionClipboard: register(( (new EditorBooleanOption(EditorOption.selectionClipboard, 'selectionClipboard', true, {
|
|
4024
4201
|
description: ( localizeWithPath(
|
|
4025
4202
|
_moduleId,
|
|
4026
|
-
|
|
4203
|
+
325,
|
|
4027
4204
|
"Controls whether the Linux primary clipboard should be supported."
|
|
4028
4205
|
)),
|
|
4029
4206
|
included: isLinux
|
|
4030
4207
|
})))),
|
|
4031
4208
|
selectionHighlight: register(( (new EditorBooleanOption(
|
|
4032
|
-
|
|
4209
|
+
EditorOption.selectionHighlight,
|
|
4033
4210
|
'selectionHighlight',
|
|
4034
4211
|
true,
|
|
4035
4212
|
{ description: ( localizeWithPath(
|
|
4036
4213
|
_moduleId,
|
|
4037
|
-
|
|
4214
|
+
326,
|
|
4038
4215
|
"Controls whether the editor should highlight matches similar to the selection."
|
|
4039
4216
|
)) }
|
|
4040
4217
|
)))),
|
|
4041
|
-
selectOnLineNumbers: register(( (new EditorBooleanOption(
|
|
4218
|
+
selectOnLineNumbers: register(( (new EditorBooleanOption(EditorOption.selectOnLineNumbers, 'selectOnLineNumbers', true)))),
|
|
4042
4219
|
showFoldingControls: register(( (new EditorStringEnumOption(
|
|
4043
|
-
|
|
4220
|
+
EditorOption.showFoldingControls,
|
|
4044
4221
|
'showFoldingControls',
|
|
4045
4222
|
'mouseover',
|
|
4046
4223
|
['always', 'never', 'mouseover'],
|
|
4047
4224
|
{
|
|
4048
4225
|
enumDescriptions: [
|
|
4049
|
-
( localizeWithPath(_moduleId,
|
|
4226
|
+
( localizeWithPath(_moduleId, 327, "Always show the folding controls.")),
|
|
4050
4227
|
( localizeWithPath(
|
|
4051
4228
|
_moduleId,
|
|
4052
|
-
|
|
4229
|
+
328,
|
|
4053
4230
|
"Never show the folding controls and reduce the gutter size."
|
|
4054
4231
|
)),
|
|
4055
4232
|
( localizeWithPath(
|
|
4056
4233
|
_moduleId,
|
|
4057
|
-
|
|
4234
|
+
329,
|
|
4058
4235
|
"Only show the folding controls when the mouse is over the gutter."
|
|
4059
4236
|
)),
|
|
4060
4237
|
],
|
|
4061
4238
|
description: ( localizeWithPath(
|
|
4062
4239
|
_moduleId,
|
|
4063
|
-
|
|
4240
|
+
330,
|
|
4064
4241
|
"Controls when the folding controls on the gutter are shown."
|
|
4065
4242
|
))
|
|
4066
4243
|
}
|
|
4067
4244
|
)))),
|
|
4068
|
-
showUnused: register(( (new EditorBooleanOption(
|
|
4069
|
-
111 ,
|
|
4070
|
-
'showUnused',
|
|
4071
|
-
true,
|
|
4072
|
-
{ description: ( localizeWithPath(_moduleId, 330, "Controls fading out of unused code.")) }
|
|
4073
|
-
)))),
|
|
4245
|
+
showUnused: register(( (new EditorBooleanOption(EditorOption.showUnused, 'showUnused', true, { description: ( localizeWithPath(_moduleId, 331, "Controls fading out of unused code.")) })))),
|
|
4074
4246
|
showDeprecated: register(( (new EditorBooleanOption(
|
|
4075
|
-
|
|
4247
|
+
EditorOption.showDeprecated,
|
|
4076
4248
|
'showDeprecated',
|
|
4077
4249
|
true,
|
|
4078
|
-
{ description: ( localizeWithPath(_moduleId,
|
|
4250
|
+
{ description: ( localizeWithPath(_moduleId, 332, "Controls strikethrough deprecated variables.")) }
|
|
4079
4251
|
)))),
|
|
4080
4252
|
inlayHints: register(( (new EditorInlayHints()))),
|
|
4081
4253
|
snippetSuggestions: register(( (new EditorStringEnumOption(
|
|
4082
|
-
|
|
4254
|
+
EditorOption.snippetSuggestions,
|
|
4083
4255
|
'snippetSuggestions',
|
|
4084
4256
|
'inline',
|
|
4085
4257
|
['top', 'bottom', 'inline', 'none'],
|
|
4086
4258
|
{
|
|
4087
4259
|
enumDescriptions: [
|
|
4088
|
-
( localizeWithPath(_moduleId,
|
|
4089
|
-
( localizeWithPath(_moduleId,
|
|
4090
|
-
( localizeWithPath(_moduleId,
|
|
4091
|
-
( localizeWithPath(_moduleId,
|
|
4260
|
+
( localizeWithPath(_moduleId, 333, "Show snippet suggestions on top of other suggestions.")),
|
|
4261
|
+
( localizeWithPath(_moduleId, 334, "Show snippet suggestions below other suggestions.")),
|
|
4262
|
+
( localizeWithPath(_moduleId, 335, "Show snippets suggestions with other suggestions.")),
|
|
4263
|
+
( localizeWithPath(_moduleId, 336, "Do not show snippet suggestions.")),
|
|
4092
4264
|
],
|
|
4093
4265
|
description: ( localizeWithPath(
|
|
4094
4266
|
_moduleId,
|
|
4095
|
-
|
|
4267
|
+
337,
|
|
4096
4268
|
"Controls whether snippets are shown with other suggestions and how they are sorted."
|
|
4097
4269
|
))
|
|
4098
4270
|
}
|
|
4099
4271
|
)))),
|
|
4100
4272
|
smartSelect: register(( (new SmartSelect()))),
|
|
4101
4273
|
smoothScrolling: register(( (new EditorBooleanOption(
|
|
4102
|
-
|
|
4274
|
+
EditorOption.smoothScrolling,
|
|
4103
4275
|
'smoothScrolling',
|
|
4104
4276
|
false,
|
|
4105
4277
|
{ description: ( localizeWithPath(
|
|
4106
4278
|
_moduleId,
|
|
4107
|
-
|
|
4279
|
+
338,
|
|
4108
4280
|
"Controls whether the editor will scroll using an animation."
|
|
4109
4281
|
)) }
|
|
4110
4282
|
)))),
|
|
4111
4283
|
stopRenderingLineAfter: register(( (new EditorIntOption(
|
|
4112
|
-
|
|
4284
|
+
EditorOption.stopRenderingLineAfter,
|
|
4113
4285
|
'stopRenderingLineAfter',
|
|
4114
4286
|
10000,
|
|
4115
4287
|
-1,
|
|
4116
|
-
|
|
4288
|
+
Constants.MAX_SAFE_SMALL_INTEGER
|
|
4117
4289
|
)))),
|
|
4118
4290
|
suggest: register(( (new EditorSuggest()))),
|
|
4119
4291
|
inlineSuggest: register(( (new InlineEditorSuggest()))),
|
|
4120
4292
|
inlineEdit: register(( (new InlineEditorEdit()))),
|
|
4121
4293
|
inlineCompletionsAccessibilityVerbose: register(( (new EditorBooleanOption(
|
|
4122
|
-
|
|
4294
|
+
EditorOption.inlineCompletionsAccessibilityVerbose,
|
|
4123
4295
|
'inlineCompletionsAccessibilityVerbose',
|
|
4124
4296
|
false,
|
|
4125
4297
|
{ description: ( localizeWithPath(
|
|
4126
4298
|
_moduleId,
|
|
4127
|
-
|
|
4299
|
+
339,
|
|
4128
4300
|
"Controls whether the accessibility hint should be provided to screen reader users when an inline completion is shown."
|
|
4129
4301
|
)) }
|
|
4130
4302
|
)))),
|
|
4131
4303
|
suggestFontSize: register(( (new EditorIntOption(
|
|
4132
|
-
|
|
4304
|
+
EditorOption.suggestFontSize,
|
|
4133
4305
|
'suggestFontSize',
|
|
4134
4306
|
0,
|
|
4135
4307
|
0,
|
|
4136
4308
|
1000,
|
|
4137
4309
|
{ markdownDescription: ( localizeWithPath(
|
|
4138
4310
|
_moduleId,
|
|
4139
|
-
|
|
4311
|
+
340,
|
|
4140
4312
|
"Font size for the suggest widget. When set to {0}, the value of {1} is used.",
|
|
4141
4313
|
'`0`',
|
|
4142
4314
|
'`#editor.fontSize#`'
|
|
4143
4315
|
)) }
|
|
4144
4316
|
)))),
|
|
4145
4317
|
suggestLineHeight: register(( (new EditorIntOption(
|
|
4146
|
-
|
|
4318
|
+
EditorOption.suggestLineHeight,
|
|
4147
4319
|
'suggestLineHeight',
|
|
4148
4320
|
0,
|
|
4149
4321
|
0,
|
|
4150
4322
|
1000,
|
|
4151
4323
|
{ markdownDescription: ( localizeWithPath(
|
|
4152
4324
|
_moduleId,
|
|
4153
|
-
|
|
4325
|
+
341,
|
|
4154
4326
|
"Line height for the suggest widget. When set to {0}, the value of {1} is used. The minimum value is 8.",
|
|
4155
4327
|
'`0`',
|
|
4156
4328
|
'`#editor.lineHeight#`'
|
|
4157
4329
|
)) }
|
|
4158
4330
|
)))),
|
|
4159
4331
|
suggestOnTriggerCharacters: register(( (new EditorBooleanOption(
|
|
4160
|
-
|
|
4332
|
+
EditorOption.suggestOnTriggerCharacters,
|
|
4161
4333
|
'suggestOnTriggerCharacters',
|
|
4162
4334
|
true,
|
|
4163
4335
|
{ description: ( localizeWithPath(
|
|
4164
4336
|
_moduleId,
|
|
4165
|
-
|
|
4337
|
+
342,
|
|
4166
4338
|
"Controls whether suggestions should automatically show up when typing trigger characters."
|
|
4167
4339
|
)) }
|
|
4168
4340
|
)))),
|
|
4169
4341
|
suggestSelection: register(( (new EditorStringEnumOption(
|
|
4170
|
-
|
|
4342
|
+
EditorOption.suggestSelection,
|
|
4171
4343
|
'suggestSelection',
|
|
4172
4344
|
'first',
|
|
4173
4345
|
['first', 'recentlyUsed', 'recentlyUsedByPrefix'],
|
|
4174
4346
|
{
|
|
4175
4347
|
markdownEnumDescriptions: [
|
|
4176
|
-
( localizeWithPath(_moduleId,
|
|
4348
|
+
( localizeWithPath(_moduleId, 343, "Always select the first suggestion.")),
|
|
4177
4349
|
( localizeWithPath(
|
|
4178
4350
|
_moduleId,
|
|
4179
|
-
|
|
4351
|
+
344,
|
|
4180
4352
|
"Select recent suggestions unless further typing selects one, e.g. `console.| -> console.log` because `log` has been completed recently."
|
|
4181
4353
|
)),
|
|
4182
4354
|
( localizeWithPath(
|
|
4183
4355
|
_moduleId,
|
|
4184
|
-
|
|
4356
|
+
345,
|
|
4185
4357
|
"Select suggestions based on previous prefixes that have completed those suggestions, e.g. `co -> console` and `con -> const`."
|
|
4186
4358
|
)),
|
|
4187
4359
|
],
|
|
4188
4360
|
description: ( localizeWithPath(
|
|
4189
4361
|
_moduleId,
|
|
4190
|
-
|
|
4362
|
+
346,
|
|
4191
4363
|
"Controls how suggestions are pre-selected when showing the suggest list."
|
|
4192
4364
|
))
|
|
4193
4365
|
}
|
|
4194
4366
|
)))),
|
|
4195
4367
|
tabCompletion: register(( (new EditorStringEnumOption(
|
|
4196
|
-
|
|
4368
|
+
EditorOption.tabCompletion,
|
|
4197
4369
|
'tabCompletion',
|
|
4198
4370
|
'off',
|
|
4199
4371
|
['on', 'off', 'onlySnippets'],
|
|
@@ -4201,162 +4373,150 @@ const EditorOptions = {
|
|
|
4201
4373
|
enumDescriptions: [
|
|
4202
4374
|
( localizeWithPath(
|
|
4203
4375
|
_moduleId,
|
|
4204
|
-
|
|
4376
|
+
347,
|
|
4205
4377
|
"Tab complete will insert the best matching suggestion when pressing tab."
|
|
4206
4378
|
)),
|
|
4207
|
-
( localizeWithPath(_moduleId,
|
|
4379
|
+
( localizeWithPath(_moduleId, 348, "Disable tab completions.")),
|
|
4208
4380
|
( localizeWithPath(
|
|
4209
4381
|
_moduleId,
|
|
4210
|
-
|
|
4382
|
+
349,
|
|
4211
4383
|
"Tab complete snippets when their prefix match. Works best when 'quickSuggestions' aren't enabled."
|
|
4212
4384
|
)),
|
|
4213
4385
|
],
|
|
4214
|
-
description: ( localizeWithPath(_moduleId,
|
|
4386
|
+
description: ( localizeWithPath(_moduleId, 350, "Enables tab completions."))
|
|
4215
4387
|
}
|
|
4216
4388
|
)))),
|
|
4217
|
-
tabIndex: register(( (new EditorIntOption(
|
|
4218
|
-
124 ,
|
|
4219
|
-
'tabIndex',
|
|
4220
|
-
0,
|
|
4221
|
-
-1,
|
|
4222
|
-
1073741824
|
|
4223
|
-
)))),
|
|
4389
|
+
tabIndex: register(( (new EditorIntOption(EditorOption.tabIndex, 'tabIndex', 0, -1, Constants.MAX_SAFE_SMALL_INTEGER)))),
|
|
4224
4390
|
unicodeHighlight: register(( (new UnicodeHighlight()))),
|
|
4225
4391
|
unusualLineTerminators: register(( (new EditorStringEnumOption(
|
|
4226
|
-
|
|
4392
|
+
EditorOption.unusualLineTerminators,
|
|
4227
4393
|
'unusualLineTerminators',
|
|
4228
4394
|
'prompt',
|
|
4229
4395
|
['auto', 'off', 'prompt'],
|
|
4230
4396
|
{
|
|
4231
4397
|
enumDescriptions: [
|
|
4232
|
-
( localizeWithPath(_moduleId,
|
|
4233
|
-
( localizeWithPath(_moduleId,
|
|
4234
|
-
( localizeWithPath(_moduleId,
|
|
4398
|
+
( localizeWithPath(_moduleId, 351, "Unusual line terminators are automatically removed.")),
|
|
4399
|
+
( localizeWithPath(_moduleId, 352, "Unusual line terminators are ignored.")),
|
|
4400
|
+
( localizeWithPath(_moduleId, 353, "Unusual line terminators prompt to be removed.")),
|
|
4235
4401
|
],
|
|
4236
4402
|
description: ( localizeWithPath(
|
|
4237
4403
|
_moduleId,
|
|
4238
|
-
|
|
4404
|
+
354,
|
|
4239
4405
|
"Remove unusual line terminators that might cause problems."
|
|
4240
4406
|
))
|
|
4241
4407
|
}
|
|
4242
4408
|
)))),
|
|
4243
|
-
useShadowDOM: register(( (new EditorBooleanOption(
|
|
4409
|
+
useShadowDOM: register(( (new EditorBooleanOption(EditorOption.useShadowDOM, 'useShadowDOM', true)))),
|
|
4244
4410
|
useTabStops: register(( (new EditorBooleanOption(
|
|
4245
|
-
|
|
4411
|
+
EditorOption.useTabStops,
|
|
4246
4412
|
'useTabStops',
|
|
4247
4413
|
true,
|
|
4248
4414
|
{ description: ( localizeWithPath(
|
|
4249
4415
|
_moduleId,
|
|
4250
|
-
|
|
4416
|
+
355,
|
|
4251
4417
|
"Spaces and tabs are inserted and deleted in alignment with tab stops."
|
|
4252
4418
|
)) }
|
|
4253
4419
|
)))),
|
|
4254
|
-
wordBreak: register(( (new EditorStringEnumOption(
|
|
4255
|
-
|
|
4256
|
-
|
|
4257
|
-
|
|
4258
|
-
['normal', 'keepAll'],
|
|
4259
|
-
{
|
|
4260
|
-
markdownEnumDescriptions: [
|
|
4261
|
-
( localizeWithPath(_moduleId, 355, "Use the default line break rule.")),
|
|
4262
|
-
( localizeWithPath(
|
|
4263
|
-
_moduleId,
|
|
4264
|
-
356,
|
|
4265
|
-
"Word breaks should not be used for Chinese/Japanese/Korean (CJK) text. Non-CJK text behavior is the same as for normal."
|
|
4266
|
-
)),
|
|
4267
|
-
],
|
|
4268
|
-
description: ( localizeWithPath(
|
|
4420
|
+
wordBreak: register(( (new EditorStringEnumOption(EditorOption.wordBreak, 'wordBreak', 'normal', ['normal', 'keepAll'], {
|
|
4421
|
+
markdownEnumDescriptions: [
|
|
4422
|
+
( localizeWithPath(_moduleId, 356, "Use the default line break rule.")),
|
|
4423
|
+
( localizeWithPath(
|
|
4269
4424
|
_moduleId,
|
|
4270
4425
|
357,
|
|
4271
|
-
"
|
|
4272
|
-
))
|
|
4273
|
-
|
|
4274
|
-
|
|
4426
|
+
"Word breaks should not be used for Chinese/Japanese/Korean (CJK) text. Non-CJK text behavior is the same as for normal."
|
|
4427
|
+
)),
|
|
4428
|
+
],
|
|
4429
|
+
description: ( localizeWithPath(
|
|
4430
|
+
_moduleId,
|
|
4431
|
+
358,
|
|
4432
|
+
"Controls the word break rules used for Chinese/Japanese/Korean (CJK) text."
|
|
4433
|
+
))
|
|
4434
|
+
})))),
|
|
4275
4435
|
wordSegmenterLocales: register(( (new WordSegmenterLocales()))),
|
|
4276
4436
|
wordSeparators: register(( (new EditorStringOption(
|
|
4277
|
-
|
|
4437
|
+
EditorOption.wordSeparators,
|
|
4278
4438
|
'wordSeparators',
|
|
4279
4439
|
USUAL_WORD_SEPARATORS,
|
|
4280
4440
|
{ description: ( localizeWithPath(
|
|
4281
4441
|
_moduleId,
|
|
4282
|
-
|
|
4442
|
+
359,
|
|
4283
4443
|
"Characters that will be used as word separators when doing word related navigations or operations."
|
|
4284
4444
|
)) }
|
|
4285
4445
|
)))),
|
|
4286
4446
|
wordWrap: register(( (new EditorStringEnumOption(
|
|
4287
|
-
|
|
4447
|
+
EditorOption.wordWrap,
|
|
4288
4448
|
'wordWrap',
|
|
4289
4449
|
'off',
|
|
4290
4450
|
['off', 'on', 'wordWrapColumn', 'bounded'],
|
|
4291
4451
|
{
|
|
4292
4452
|
markdownEnumDescriptions: [
|
|
4293
|
-
( localizeWithPath(_moduleId,
|
|
4294
|
-
( localizeWithPath(_moduleId,
|
|
4295
|
-
( localizeWithPath(_moduleId,
|
|
4453
|
+
( localizeWithPath(_moduleId, 360, "Lines will never wrap.")),
|
|
4454
|
+
( localizeWithPath(_moduleId, 361, "Lines will wrap at the viewport width.")),
|
|
4455
|
+
( localizeWithPath(_moduleId, 362, "Lines will wrap at `#editor.wordWrapColumn#`.")),
|
|
4296
4456
|
( localizeWithPath(
|
|
4297
4457
|
_moduleId,
|
|
4298
|
-
|
|
4458
|
+
363,
|
|
4299
4459
|
"Lines will wrap at the minimum of viewport and `#editor.wordWrapColumn#`."
|
|
4300
4460
|
)),
|
|
4301
4461
|
],
|
|
4302
|
-
description: ( localizeWithPath(_moduleId,
|
|
4462
|
+
description: ( localizeWithPath(_moduleId, 364, "Controls how lines should wrap."))
|
|
4303
4463
|
}
|
|
4304
4464
|
)))),
|
|
4305
4465
|
wordWrapBreakAfterCharacters: register(( (new EditorStringOption(
|
|
4306
|
-
|
|
4466
|
+
EditorOption.wordWrapBreakAfterCharacters,
|
|
4307
4467
|
'wordWrapBreakAfterCharacters',
|
|
4308
4468
|
' \t})]?|/&.,;¢°′″‰℃、。。、¢,.:;?!%・・ゝゞヽヾーァィゥェォッャュョヮヵヶぁぃぅぇぉっゃゅょゎゕゖㇰㇱㇲㇳㇴㇵㇶㇷㇸㇹㇺㇻㇼㇽㇾㇿ々〻ァィゥェォャュョッー”〉》」』】〕)]}」'
|
|
4309
4469
|
)))),
|
|
4310
4470
|
wordWrapBreakBeforeCharacters: register(( (new EditorStringOption(
|
|
4311
|
-
|
|
4471
|
+
EditorOption.wordWrapBreakBeforeCharacters,
|
|
4312
4472
|
'wordWrapBreakBeforeCharacters',
|
|
4313
4473
|
'([{‘“〈《「『【〔([{「£¥$£¥++'
|
|
4314
4474
|
)))),
|
|
4315
4475
|
wordWrapColumn: register(( (new EditorIntOption(
|
|
4316
|
-
|
|
4476
|
+
EditorOption.wordWrapColumn,
|
|
4317
4477
|
'wordWrapColumn',
|
|
4318
4478
|
80,
|
|
4319
4479
|
1,
|
|
4320
|
-
|
|
4480
|
+
Constants.MAX_SAFE_SMALL_INTEGER,
|
|
4321
4481
|
{
|
|
4322
4482
|
markdownDescription: ( localizeWithPath(
|
|
4323
4483
|
_moduleId,
|
|
4324
|
-
|
|
4484
|
+
365,
|
|
4325
4485
|
"Controls the wrapping column of the editor when `#editor.wordWrap#` is `wordWrapColumn` or `bounded`."
|
|
4326
4486
|
))
|
|
4327
4487
|
}
|
|
4328
4488
|
)))),
|
|
4329
4489
|
wordWrapOverride1: register(( (new EditorStringEnumOption(
|
|
4330
|
-
|
|
4490
|
+
EditorOption.wordWrapOverride1,
|
|
4331
4491
|
'wordWrapOverride1',
|
|
4332
4492
|
'inherit',
|
|
4333
4493
|
['off', 'on', 'inherit']
|
|
4334
4494
|
)))),
|
|
4335
4495
|
wordWrapOverride2: register(( (new EditorStringEnumOption(
|
|
4336
|
-
|
|
4496
|
+
EditorOption.wordWrapOverride2,
|
|
4337
4497
|
'wordWrapOverride2',
|
|
4338
4498
|
'inherit',
|
|
4339
4499
|
['off', 'on', 'inherit']
|
|
4340
4500
|
)))),
|
|
4341
4501
|
editorClassName: register(( (new EditorClassName()))),
|
|
4342
4502
|
defaultColorDecorators: register(( (new EditorBooleanOption(
|
|
4343
|
-
|
|
4503
|
+
EditorOption.defaultColorDecorators,
|
|
4344
4504
|
'defaultColorDecorators',
|
|
4345
4505
|
false,
|
|
4346
4506
|
{ markdownDescription: ( localizeWithPath(
|
|
4347
4507
|
_moduleId,
|
|
4348
|
-
|
|
4508
|
+
366,
|
|
4349
4509
|
"Controls whether inline color decorations should be shown using the default document color provider"
|
|
4350
4510
|
)) }
|
|
4351
4511
|
)))),
|
|
4352
4512
|
pixelRatio: register(( (new EditorPixelRatio()))),
|
|
4353
4513
|
tabFocusMode: register(( (new EditorBooleanOption(
|
|
4354
|
-
|
|
4514
|
+
EditorOption.tabFocusMode,
|
|
4355
4515
|
'tabFocusMode',
|
|
4356
4516
|
false,
|
|
4357
4517
|
{ markdownDescription: ( localizeWithPath(
|
|
4358
4518
|
_moduleId,
|
|
4359
|
-
|
|
4519
|
+
367,
|
|
4360
4520
|
"Controls whether the editor receives tabs or defers them to the workbench for navigation."
|
|
4361
4521
|
)) }
|
|
4362
4522
|
)))),
|
|
@@ -4365,4 +4525,4 @@ const EditorOptions = {
|
|
|
4365
4525
|
wrappingIndent: register(( (new WrappingIndentOption()))),
|
|
4366
4526
|
wrappingStrategy: register(( (new WrappingStrategy())))
|
|
4367
4527
|
};
|
|
4368
|
-
export { ApplyUpdateResult, ComputeOptionsMemory, ConfigurationChangedEvent, EDITOR_FONT_DEFAULTS, EditorFontLigatures, EditorFontVariations, EditorLayoutInfoComputer, EditorOptions, MINIMAP_GUTTER_WIDTH, ShowLightbulbIconMode, TextEditorCursorStyle, boolean, clampedFloat, clampedInt, cursorStyleToString, editorOptionsRegistry, filterValidationDecorations, inUntrustedWorkspace, stringSet, unicodeHighlightConfigKeys };
|
|
4528
|
+
export { ApplyUpdateResult, ComputeOptionsMemory, ConfigurationChangedEvent, EDITOR_FONT_DEFAULTS, EditorAutoIndentStrategy, EditorFontLigatures, EditorFontVariations, EditorLayoutInfoComputer, EditorOption, EditorOptions, MINIMAP_GUTTER_WIDTH, RenderLineNumbersType, RenderMinimap, ShowLightbulbIconMode, TextEditorCursorBlinkingStyle, TextEditorCursorStyle, WrappingIndent, boolean, clampedFloat, clampedInt, cursorStyleToString, editorOptionsRegistry, filterValidationDecorations, inUntrustedWorkspace, stringSet, unicodeHighlightConfigKeys };
|