Interface IComputedEditorOptions
Methods
get
- get<T>(id: T): NonNullable<ComputedEditorOptionValue<{
acceptSuggestionOnCommitCharacter: IEditorOption<acceptSuggestionOnCommitCharacter, boolean>;
acceptSuggestionOnEnter: IEditorOption<acceptSuggestionOnEnter, "on" | "off" | "smart">;
accessibilityPageSize: IEditorOption<accessibilityPageSize, number>;
accessibilitySupport: IEditorOption<accessibilitySupport, AccessibilitySupport>;
ariaLabel: IEditorOption<ariaLabel, string>;
autoClosingBrackets: IEditorOption<autoClosingBrackets, "always" | "languageDefined" | "beforeWhitespace" | "never">;
autoClosingDelete: IEditorOption<autoClosingDelete, "auto" | "always" | "never">;
autoClosingOvertype: IEditorOption<autoClosingOvertype, "auto" | "always" | "never">;
autoClosingQuotes: IEditorOption<autoClosingQuotes, "always" | "languageDefined" | "beforeWhitespace" | "never">;
autoIndent: IEditorOption<autoIndent, EditorAutoIndentStrategy>;
autoSurround: IEditorOption<autoSurround, "languageDefined" | "never" | "quotes" | "brackets">;
automaticLayout: IEditorOption<automaticLayout, boolean>;
bracketPairColorization: IEditorOption<bracketPairColorization, Readonly<Required<IBracketPairColorizationOptions>>>;
bracketPairGuides: IEditorOption<guides, Readonly<Required<IGuidesOptions>>>;
codeLens: IEditorOption<codeLens, boolean>;
codeLensFontFamily: IEditorOption<codeLensFontFamily, string>;
codeLensFontSize: IEditorOption<codeLensFontSize, number>;
colorDecorators: IEditorOption<colorDecorators, boolean>;
columnSelection: IEditorOption<columnSelection, boolean>;
comments: IEditorOption<comments, Readonly<Required<IEditorCommentsOptions>>>;
contextmenu: IEditorOption<contextmenu, boolean>;
copyWithSyntaxHighlighting: IEditorOption<copyWithSyntaxHighlighting, boolean>;
cursorBlinking: IEditorOption<cursorBlinking, TextEditorCursorBlinkingStyle>;
cursorSmoothCaretAnimation: IEditorOption<cursorSmoothCaretAnimation, boolean>;
cursorStyle: IEditorOption<cursorStyle, TextEditorCursorStyle>;
cursorSurroundingLines: IEditorOption<cursorSurroundingLines, number>;
cursorSurroundingLinesStyle: IEditorOption<cursorSurroundingLinesStyle, "default" | "all">;
cursorWidth: IEditorOption<cursorWidth, number>;
definitionLinkOpensInPeek: IEditorOption<definitionLinkOpensInPeek, boolean>;
disableLayerHinting: IEditorOption<disableLayerHinting, boolean>;
disableMonospaceOptimizations: IEditorOption<disableMonospaceOptimizations, boolean>;
domReadOnly: IEditorOption<domReadOnly, boolean>;
dragAndDrop: IEditorOption<dragAndDrop, boolean>;
dropIntoEditor: IEditorOption<dropIntoEditor, Readonly<Required<IDropIntoEditorOptions>>>;
editorClassName: IEditorOption<editorClassName, string>;
emptySelectionClipboard: IEditorOption<emptySelectionClipboard, boolean>;
extraEditorClassName: IEditorOption<extraEditorClassName, string>;
fastScrollSensitivity: IEditorOption<fastScrollSensitivity, number>;
find: IEditorOption<find, Readonly<Required<IEditorFindOptions>>>;
fixedOverflowWidgets: IEditorOption<fixedOverflowWidgets, boolean>;
folding: IEditorOption<folding, boolean>;
foldingHighlight: IEditorOption<foldingHighlight, boolean>;
foldingImportsByDefault: IEditorOption<foldingImportsByDefault, boolean>;
foldingMaximumRegions: IEditorOption<foldingMaximumRegions, number>;
foldingStrategy: IEditorOption<foldingStrategy, "auto" | "indentation">;
fontFamily: IEditorOption<fontFamily, string>;
fontInfo: IEditorOption<fontInfo, FontInfo>;
fontLigatures2: IEditorOption<fontLigatures, string>;
fontSize: IEditorOption<fontSize, number>;
fontWeight: IEditorOption<fontWeight, string>;
formatOnPaste: IEditorOption<formatOnPaste, boolean>;
formatOnType: IEditorOption<formatOnType, boolean>;
glyphMargin: IEditorOption<glyphMargin, boolean>;
gotoLocation: IEditorOption<gotoLocation, Readonly<Required<IGotoLocationOptions>>>;
hideCursorInOverviewRuler: IEditorOption<hideCursorInOverviewRuler, boolean>;
hover: IEditorOption<hover, Readonly<Required<IEditorHoverOptions>>>;
inDiffEditor: IEditorOption<inDiffEditor, boolean>;
inlayHints: IEditorOption<inlayHints, Readonly<Required<IEditorInlayHintsOptions>>>;
inlineSuggest: IEditorOption<inlineSuggest, Readonly<Required<IInlineSuggestOptions>>>;
layoutInfo: IEditorOption<layoutInfo, EditorLayoutInfo>;
letterSpacing: IEditorOption<letterSpacing, number>;
lightbulb: IEditorOption<lightbulb, Readonly<Required<IEditorLightbulbOptions>>>;
lineDecorationsWidth: IEditorOption<lineDecorationsWidth, string | number>;
lineHeight: IEditorOption<lineHeight, number>;
lineNumbers: IEditorOption<lineNumbers, InternalEditorRenderLineNumbersOptions>;
lineNumbersMinChars: IEditorOption<lineNumbersMinChars, number>;
linkedEditing: IEditorOption<linkedEditing, boolean>;
links: IEditorOption<links, boolean>;
matchBrackets: IEditorOption<matchBrackets, "always" | "never" | "near">;
minimap: IEditorOption<minimap, Readonly<Required<IEditorMinimapOptions>>>;
mouseStyle: IEditorOption<mouseStyle, "default" | "text" | "copy">;
mouseWheelScrollSensitivity: IEditorOption<mouseWheelScrollSensitivity, number>;
mouseWheelZoom: IEditorOption<mouseWheelZoom, boolean>;
multiCursorMergeOverlapping: IEditorOption<multiCursorMergeOverlapping, boolean>;
multiCursorModifier: IEditorOption<multiCursorModifier, "altKey" | "metaKey" | "ctrlKey">;
multiCursorPaste: IEditorOption<multiCursorPaste, "spread" | "full">;
occurrencesHighlight: IEditorOption<occurrencesHighlight, boolean>;
overviewRulerBorder: IEditorOption<overviewRulerBorder, boolean>;
overviewRulerLanes: IEditorOption<overviewRulerLanes, number>;
padding: IEditorOption<padding, Readonly<Required<IEditorPaddingOptions>>>;
parameterHints: IEditorOption<parameterHints, Readonly<Required<IEditorParameterHintOptions>>>;
peekWidgetDefaultFocus: IEditorOption<peekWidgetDefaultFocus, "tree" | "editor">;
pixelRatio: IEditorOption<pixelRatio, number>;
quickSuggestions: IEditorOption<quickSuggestions, InternalQuickSuggestionsOptions>;
quickSuggestionsDelay: IEditorOption<quickSuggestionsDelay, number>;
readOnly: IEditorOption<readOnly, boolean>;
renameOnType: IEditorOption<renameOnType, boolean>;
renderControlCharacters: IEditorOption<renderControlCharacters, boolean>;
renderFinalNewline: IEditorOption<renderFinalNewline, boolean>;
renderLineHighlight: IEditorOption<renderLineHighlight, "all" | "line" | "none" | "gutter">;
renderLineHighlightOnlyWhenFocus: IEditorOption<renderLineHighlightOnlyWhenFocus, boolean>;
renderValidationDecorations: IEditorOption<renderValidationDecorations, "on" | "off" | "editable">;
renderWhitespace: IEditorOption<renderWhitespace, "all" | "none" | "boundary" | "selection" | "trailing">;
revealHorizontalRightPadding: IEditorOption<revealHorizontalRightPadding, number>;
roundedSelection: IEditorOption<roundedSelection, boolean>;
rulers: IEditorOption<rulers, {}>;
scrollBeyondLastColumn: IEditorOption<scrollBeyondLastColumn, number>;
scrollBeyondLastLine: IEditorOption<scrollBeyondLastLine, boolean>;
scrollPredominantAxis: IEditorOption<scrollPredominantAxis, boolean>;
scrollbar: IEditorOption<scrollbar, InternalEditorScrollbarOptions>;
selectOnLineNumbers: IEditorOption<selectOnLineNumbers, boolean>;
selectionClipboard: IEditorOption<selectionClipboard, boolean>;
selectionHighlight: IEditorOption<selectionHighlight, boolean>;
showDeprecated: IEditorOption<showDeprecated, boolean>;
showFoldingControls: IEditorOption<showFoldingControls, "always" | "never" | "mouseover">;
showUnused: IEditorOption<showUnused, boolean>;
smartSelect: IEditorOption<smartSelect, Readonly<Required<ISmartSelectOptions>>>;
smoothScrolling: IEditorOption<smoothScrolling, boolean>;
snippetSuggestions: IEditorOption<snippetSuggestions, "none" | "top" | "bottom" | "inline">;
stickyScroll: IEditorOption<stickyScroll, Readonly<Required<IEditorStickyScrollOptions>>>;
stickyTabStops: IEditorOption<stickyTabStops, boolean>;
stopRenderingLineAfter: IEditorOption<stopRenderingLineAfter, number>;
suggest: IEditorOption<suggest, Readonly<Required<ISuggestOptions>>>;
suggestFontSize: IEditorOption<suggestFontSize, number>;
suggestLineHeight: IEditorOption<suggestLineHeight, number>;
suggestOnTriggerCharacters: IEditorOption<suggestOnTriggerCharacters, boolean>;
suggestSelection: IEditorOption<suggestSelection, "first" | "recentlyUsed" | "recentlyUsedByPrefix">;
tabCompletion: IEditorOption<tabCompletion, "on" | "off" | "onlySnippets">;
tabFocusMode: IEditorOption<tabFocusMode, boolean>;
tabIndex: IEditorOption<tabIndex, number>;
unfoldOnClickAfterEndOfLine: IEditorOption<unfoldOnClickAfterEndOfLine, boolean>;
unicodeHighlight: IEditorOption<unicodeHighlighting, any>;
unusualLineTerminators: IEditorOption<unusualLineTerminators, "off" | "auto" | "prompt">;
useShadowDOM: IEditorOption<useShadowDOM, boolean>;
useTabStops: IEditorOption<useTabStops, boolean>;
wordSeparators: IEditorOption<wordSeparators, string>;
wordWrap: IEditorOption<wordWrap, "on" | "off" | "wordWrapColumn" | "bounded">;
wordWrapBreakAfterCharacters: IEditorOption<wordWrapBreakAfterCharacters, string>;
wordWrapBreakBeforeCharacters: IEditorOption<wordWrapBreakBeforeCharacters, string>;
wordWrapColumn: IEditorOption<wordWrapColumn, number>;
wordWrapOverride1: IEditorOption<wordWrapOverride1, "on" | "off" | "inherit">;
wordWrapOverride2: IEditorOption<wordWrapOverride2, "on" | "off" | "inherit">;
wrappingIndent: IEditorOption<wrappingIndent, WrappingIndent>;
wrappingInfo: IEditorOption<wrappingInfo, EditorWrappingInfo>;
wrappingStrategy: IEditorOption<wrappingStrategy, "simple" | "advanced">;
}[FindEditorOptionsKeyById<T>]>>
-
All computed editor options.