跳到主要内容

editor options

常用options​

全部Options​

acceptSuggestionOnCommitCharacter​

accept接受 Suggestion提议 Commit提交 Character字符

Accept suggestions on provider defined characters. Defaults to true. 输入字符时,是否接受程序提议,默认为true

acceptSuggestionOnEnter​

Accept suggestions on ENTER. Defaults to 'on'. 回车时,是否接受程序提议,"on" | "off" | "smart",默认为“on”

accessibilityHelpUrl​

accessibility 可访问性,可达到的 An URL to open when Ctrl+H (Windows and Linux) or Cmd+H (OSX) is pressed in the accessibility help dialog in the editor. 在编辑器的可访问性帮助对话框中按下 Ctrl + H (Windows 和 Linux)或 Cmd + H (OSX)时打开的 URL。

Defaults to "https://go.microsoft.com/fwlink/?linkid=852450"

accessibilityPageSize​

Controls the number of lines in the editor that can be read out by a screen reader 控制编辑器中可由屏幕阅读器读出的行数

accessibilitySupport​

Configure the editor's accessibility support. Defaults to 'auto'. It is best to leave this to 'auto'.

配置编辑器的可访问性支持。默认设置为“ auto”。最好将此设置为“ auto”。

ariaContainerElement​

aria的意思是Accessible Rich Internet Application,aria-*的作用就是描述这个tag在可视化的情境中的具体信息

Container element to use for ARIA messages. Defaults to document.body. 用于 ARIA 消息的容器元素, 默认是body

ariaLabel​

The aria label for the editor's textarea (when it is focused). 编辑器文本区的tag标签(当它被聚焦时)。

autoClosingBrackets​

bracket: 方括号,中括号([]) Options for auto closing brackets. Defaults to language defined behavior. 自动关闭括号的选项。

autoClosingDelete​

Options for pressing backspace near quotes or bracket pairs. 在quotes引号或bracket括号对附近按退格键的选项

autoClosingOvertype​

Options for typing over closing quotes or brackets. 在结束引号或括号上键入的选项。

autoClosingQuotes​

Options for auto closing quotes. Defaults to language defined behavior. 自动结束引号选项。

autoDetectHighContrast​

Detect发现 Contrast对比度 If enabled, will automatically change to high contrast theme if the OS is using a high contrast theme. Defaults to true. 如果启用,将自动更改到高对比度的主题,如果操作系统是使用高对比度的主题。默认为真。

!!! autoIndent​

值:"none" | "advanced" | "full" | "brackets" | "keep" Controls whether the editor should automatically adjust the indentation when users type, paste, move or indent lines. Defaults to advanced. 控制当用户键入、粘贴、移动或缩进行时,编辑器是否应自动调整缩进。默认为高级。

autoSurround​

Surround环绕,包围 Options for auto surrounding. Defaults to always allowing auto surrounding. 自动包围选项。默认为允许自动包围。

!!!automaticLayout​

automatic自动的 layout布局 Enable that the editor will install a ResizeObserver to check if its container dom node size has changed. Defaults to false. 允许编辑器安装 ResizeObserver 来检查其容器 dom 节点大小是否已更改。默认为 false。 => 监听 resize 事件,但只有在放大时有效,缩小无效

bracketPairColorization​

Configures bracket pair colorization (disabled by default). 配置括号对颜色(默认情况下禁用)。{enable: false}

codeActionsOnSaveTimeout​

Timeout for running code actions on save. 执行代码的超时时间, number

!!!codeLens​

Show code lens Defaults to true. 显示代码长度

codeLensFontFamily​

Code lens font family. Defaults to editor font family. 使用什么字体显示代码长度,默认使用编辑器字体

codeLensFontSize​

Code lens font size. Default to 90% of the editor font size 使用什么字号显示代码长度,默认是编辑器字体字号的90%

colorDecorators​

Decorators修饰器 Enable inline color decorators and color picker rendering. 是否启用内联颜色修饰器和颜色选择器渲染。

columnSelection​

纵向选择 Enable that the selection with the mouse and keys is doing column selection. Defaults to false. 使用鼠标和键进行列选择。默认为 false。

!!!comments​

Control the behaviour of comments in the editor. 控制编辑器中注释的行为。见IEditorCommentsOptions

  • ignoreEmptyLines 忽略空行 Ignore empty lines when inserting line comments. Defaults to true. 在插入行注释时忽略空行。默认为 true。

  • insertSpace 插入空格 Insert a space after the line comment token and inside the block comments tokens. Defaults to true. 在行注释标记后面和块注释标记内插入一个空格。默认值为 true。

!!!contextmenu​

Enable custom contextmenu. Defaults to true. 启用自定义上下文菜单。默认为 true。

copyWithSyntaxHighlighting​

Syntax highlighting is copied. 语法突显复制

cursorBlinking 光标动画​

cursor光标 Control the cursor animation style, possible values are 'blink', 'smooth', 'phase', 'expand' and 'solid'. Defaults to 'blink'. 控制光标动画样式,可能的值是“眨眼”、“平滑”、“相位”、“展开”和“实心”。默认为“眨眼”。

cursorSmoothCaretAnimation​

Enable smooth caret animation. Defaults to false. 启用光标平滑插入动画。默认为 false。

!!!cursorStyle​

"line" “线” | "block" “块” | "underline" “下划线” | "line-thin" “细线” | "block-outline" “大纲” | "underline-thin" “下划线-瘦”

Control the cursor style, either 'block' or 'line'. Defaults to 'line'.

控制光标样式,“块”或“线”。默认为“线”。

cursorSurroundingLines​

Controls the minimal number of visible leading and trailing lines surrounding the cursor. Defaults to 0.

控制光标周围可见的最小引导线和尾随线数。默认值为0。

cursorSurroundingLinesStyle​

Controls when cursorSurroundingLines should be enforced Defaults to default, cursorSurroundingLines is not enforced when cursor position is changed by mouse.

控件应强制执行 cursorSuroundingLines 默认情况下,当鼠标更改光标位置时不强制执行 cursorSuroundingLines。

cursorWidth​

Control the width of the cursor when cursorStyle is set to 'line'

当 cursorStyle 设置为“ line”时,控制光标的宽度

definitionLinkOpensInPeek​

peek查看 Controls whether the definition link opens element in the peek widget. Defaults to false.

控制 定义链接 是否在查看小部件中打开元素。默认值为 false

detectIndentation​

Controls whether tabSize and insertSpaces will be automatically detected when a file is opened based on the file contents. Defaults to true.

控制在根据文件内容打开文件时是否自动检测 tabSize 和 insertSpaces。默认为真。

dimension​

The initial editor dimension (to avoid measuring the container).

初始编辑器维度(以避免测量容器)。

disableLayerHinting​

Hint暗示

Disable the use of transform: translate3d(0px, 0px, 0px) for the editor margin and lines layers. The usage of transform: translate3d(0px, 0px, 0px) acts as a hint for browsers to create an extra layer. Defaults to false.

禁用对编辑器边距和行层使用 transformate3d (0px,0px,0px)。Transate3d (0px,0px,0px)的用法可以作为浏览器创建额外层的提示。默认为 false。

disableMonospaceOptimizations​

monospace单位空间 Disable the optimizations for monospace fonts. Defaults to false.

禁用单位空间字体的优化。默认为 false。

domReadOnly​

Should the textarea used for input use the DOM readonly attribute. Defaults to false.

用于输入的文本区域是否使用 DOM readonly 属性,则默认为 false。

!!!dragAndDrop​

Controls if the editor should allow to move selections via drag and drop. Defaults to false.

控制编辑器是否允许通过拖放移动选择。默认为 false。

!!!dropIntoEditor​

Controls dropping into the editor from an external source.

控件从外部源拖放到编辑器中。

When enabled, this shows a preview of the drop location and triggers an onDropIntoEditor event.

启用后,将显示放置位置的预览,并触发 onDropIntoEditor 事件。

emptySelectionClipboard​

空选框的复制行为 Copying without a selection copies the current line.

没有选定内容的复制将复制当前行。

!!!extraEditorClassName​

Class name to be added to the editor.

要添加到编辑器中的类名。

fastScrollSensitivity​

Sensitivity敏感度 FastScrolling mulitplier speed when pressing Alt Defaults to 5.

按 Alt 默认值为5时,快速滚动乘法器速度。

???find cmd+左键,自动索引功能​

Control the behavior of the find widget.

控制查找小部件的行为。

见IEditorFindOptions

  • addExtraSpaceOnTop
  • autoFindInSelection
    • "always" “永远” | "never" “绝不” | "multiline" “多线”
    • Controls if Find in Selection flag is turned on in the editor.
  • cursorMoveOnType 控制在键入时光标是否应移动以查找匹配项
  • loop 当无法找到进一步匹配时,控制搜索是从开始(还是结束)自动重新启动
  • seedSearchStringFromSelection
    • "always" “永远” | "never" “绝不” | "selection" “选择”
    • 控件是否在具有编辑器选择的 Find Widget 中为搜索字符串播种。

fixedOverflowWidgets​

Display overflow widgets as fixed. Defaults to false.

将溢出窗口小部件显示为固定值。默认为 false。

!!!folding​

Enable code folding. Defaults to true.

启用代码折叠。默认为 true。

!!!foldingHighlight​

Enable highlight for folded regions. Defaults to true.

为折叠区域启用高亮显示。默认为 true。

!!!foldingImportsByDefault​

Auto fold imports folding regions. Defaults to true.

自动折叠import折叠区域。默认为 true。

foldingMaximumRegions​

Maximum number of foldable regions. Defaults to 5000.

可折叠区域的最大数目。默认为5000。

foldingStrategy​

"auto" “自动” | "indentation" “压痕” Selects the folding strategy. 'auto' uses the strategies contributed for the current document, 'indentation' uses the indentation based folding strategy. Defaults to 'auto'.

选择折叠策略。auto使用为当前文档提供的策略,indentation使用基于缩进的折叠策略。默认为 auto。

!!!fontFamily​

字体

fontLigatures​

ligatures绳子 Enable font ligatures. Defaults to false.

启用字体连字符。默认为 false。

!!!fontSize​

字体大小

!!!fontWeight​

字重

!!!formatOnPaste​

Enable format on paste. Defaults to false.

启用粘贴时格式化。默认为 false。

formatOnType​

Enable format on type. Defaults to false.

在类型上启用格式。默认为 false。

glyphMargin​

glyph雕文,字形 Enable the rendering of the glyph margin. Defaults to true in vscode and to false in monaco-editor.

启用字形边距的呈现。在 vscode 中默认为 true,在 monaco 编辑器中默认为 false。

???gotoLocation​

跳到位置,跟find哪个是自动索引?? 见IGotoLocationOptions

guides​

控制编辑器指南的行为。见IGuidesOptions

hideCursorInOverviewRuler​

Should the cursor be hidden in the overview ruler. Defaults to false.

光标是否隐藏在概览标尺中,则默认为 false。

hover​

Configure the editor's hover.

配置编辑器的悬停。见IEditorHoverOptions

  • above 悬停是否应该显示在行的上方? 默认为 false。
  • delay 显示悬停时延迟。默认值为300。
  • enabled 启用悬停。默认为 true。
  • sticky 悬念吸附。 默认为 true。

!!!inDiffEditor​

This editor is used inside a diff editor.

此编辑器在 diff editor中使用。

inlayHints​

inlay镶嵌 hint提示,暗示 Control the behavior and rendering of the inline hints.

控制内联提示的行为和呈现。

inlineSuggest​

内嵌式提议,见IInlineSuggestOptions

!!!insertSpaces​

Insert spaces when pressing Tab. This setting is overridden based on the file contents when detectIndentation is on. Defaults to true.

按 Tab 时插入空格。在侦测缩进处于打开状态时,将根据文件内容重写此设置。默认为true。

!!!language​

The initial language of the auto created model in the editor. To not automatically create a model, use model: null.

编辑器中自动创建模型的初始语言。若要不自动创建模型,请使用 model: null。

largeFileOptimizations​

Special handling for large files to disable certain memory intensive features. Defaults to true.

对大文件的特殊处理,禁用某些内存密集型特性。默认为 true。

!!!letterSpacing​

字间距

lightbulb​

Control the behavior and rendering of the code action lightbulb.

控制代码操作灯泡的行为和呈现。

lineDecorationsWidth​

The width reserved for line decorations (in px). Line decorations are placed between line numbers and the editor content. You can pass in a string in the format floating point followed by "ch". e.g. 1.3ch. Defaults to 10.

为线条装饰保留的宽度(以 px 为单位)。行修饰放置在行号和编辑器内容之间。您可以以后跟“ ch”的浮点数格式传入字符串。例如1.3 ch。默认值为10。

!!!lineHeight​

行高

!!!lineNumbers​

值:"on" | "off" | "relative" | "interval" | ((lineNumber: number) => string)

Control the rendering of line numbers. If it is a function, it will be invoked when rendering a line number and the return value will be rendered. Otherwise, if it is a truthy, line numbers will be rendered normally (equivalent of using an identity function). Otherwise, line numbers will not be rendered. Defaults to on.

控制行号的呈现。如果它是一个函数,则在呈现行号时调用它,并呈现返回值。否则,如果它是真值,则行号将正常呈现(相当于使用标识函数)。否则,将不会呈现行号。默认打开。

lineNumbersMinChars​

Control the width of line numbers, by reserving horizontal space for rendering at least an amount of digits. Defaults to 5.

通过保留水平空间以呈现至少一定数量的数字,控制行号的宽度。默认值为5。

???linkedEditing​

Enable linked editing. Defaults to false.

启用链接编辑。默认为 false。

Enable detecting links and making them clickable. Defaults to true.

启用检测链接并使其可点击。默认为 true。

!!!matchBrackets​

Enable highlighting of matching brackets. Defaults to 'always'.

启用匹配方括号的高亮显示。默认为“总是”。

matchOnWordStartOnly​

Controls whether suggestions allow matches in the middle of the word instead of only at the beginning

控制建议是否允许在单词的中间而不是仅在开头进行匹配

maxTokenizationLineLength​

Lines above this length will not be tokenized for performance reasons. Defaults to 20000.

由于性能原因,超过此长度的行将不会被标记。默认值为20000。

!!!minimap 右侧小地图​

Control the behavior and rendering of the minimap.

控制小地图的行为和呈现。见IEditorMinimapOptions

  • autohide?: boolean 试过好像无效
  • enabled?: boolean 为false时,隐藏右侧小地图,默认为true
  • maxColumn?: number 将小地图的宽度限制为最多呈现一定数量的列。默认值为120。
  • renderCharacters?: boolean 在一行上呈现实际的文本(与颜色块相反)。默认为 true。
  • scale?: number 小地图中字体的相对大小。默认为1。
  • showSlider?: "always" | "mouseover" 控制小地图滑块的渲染。默认为“鼠标悬停”(mouseover)。
  • side?: "right" | "left" 在编辑器中控制小地图的侧面。默认为“右”。
  • size?: "proportional" “比例” | "fill" “填满” | "fit" “合适” 控制小地图渲染模式。默认为“实际”。

!!!model​

初始模型

!!!mouseStyle​

Control the mouse pointer style, either 'text' or 'default' or 'copy' Defaults to 'text'

控制鼠标指针样式,“ text”或“ default”或“ copy”默认为“ text”

mouseWheelScrollSensitivity​

鼠标滚轮敏感度设置 A multiplier to be used on the deltaX and deltaY of mouse wheel scroll events. Defaults to 1.

用于鼠标滚轮事件的 deltaX 和 deltaY 的乘法器。默认值为1。

!!mouseWheelZoom​

鼠标滚轮 + ctrl,缩放字体 Zoom the font in the editor when using the mouse wheel in combination with holding Ctrl. Defaults to false.

当使用鼠标滚轮并保持 Ctrl.Default 为 false 时,在编辑器中缩放字体。

multiCursorMergeOverlapping​

Merge overlapping selections. Defaults to true

多光标合并重叠的选项。默认为 true

!!!multiCursorModifier​

新增多光标的快捷键,默认为 alt The modifier to be used to add multiple cursors with the mouse. Defaults to 'alt'

用于用鼠标添加多个游标的修饰符。默认为“ alt”

multiCursorPaste​

Configure the behaviour when pasting a text with the line count equal to the cursor count. Defaults to 'spread'.

配置粘贴行数等于光标数的文本时的行为。默认为“传播”。

occurrencesHighlight​

Enable semantic occurrences highlight. Defaults to true.

启用语义突出显示。默认为 true。

overflowWidgetsDomNode​

Place overflow widgets inside an external DOM node. Defaults to an internal DOM node.

将溢出小部件放在外部 DOM 节点内。默认为内部 DOM 节点。

overviewRulerBorder​

overview概览 ruler标尺 Border边框 Controls if a border should be drawn around the overview ruler. Defaults to true.

控件是否应在概览标尺周围绘制边框。默认值为 true。

overviewRulerLanes​

lanes通道数 The number of vertical lanes the overview ruler should render. Defaults to 3.

概览标尺应该呈现的垂直通道数。默认值为3。

!!!padding​

编辑器第一行距离边框的间距 见IEditorPaddingOptions

  • bottom
  • top

!!!parameterHints​

参数提示, 见IEditorParameterHintOptions

  • cycle 循环提示, 默认为false
  • enable 开启,默认是true

???peekWidgetDefaultFocus​

Controls whether to focus the inline editor in the peek widget by default. Defaults to false.

默认情况下控制是否将内联编辑器集中在查看小部件中。默认情况下为 false。

??? 啥是内联编辑器,小部件又是怎么定义的?

quickSuggestions​

Enable quick suggestions (shadow suggestions) Defaults to true.

启用快速建议(影子建议)默认为真。见IQuickSuggestionsOptions

  • comments
  • other
  • strings

quickSuggestionsDelay​

Quick suggestions show delay (in ms) Defaults to 10 (ms)

快速建议显示延迟(毫秒)默认值为10(毫秒)

!!!readOnly​

编辑器只读。默认为 false。

???renameOnType​

重命名type deprecated, use linkedEditing instead

不推荐,请使用 linkedEditing 代替

renderControlCharacters​

Enable rendering of control characters. Defaults to true.

启用控制字符的呈现。默认为 true。

!!!renderFinalNewline​

Render last line number when the file ends with a newline. Defaults to true.

当文件以换行结束时呈现最后一行号。默认为 true。

!!!renderLineHighlight​

值:"all" “所有” | "line" “线” | "none" “没有” | "gutter" “阴沟” Enable rendering of current line highlight. Defaults to all.

启用当前行高亮显示的呈现。默认为all。

!!!renderLineHighlightOnlyWhenFocus​

Control if the current line highlight should be rendered only the editor is focused. Defaults to false.

只有编辑器被聚焦时,当前的行高亮显示。默认为 false。

???renderValidationDecorations​

Should the editor render validation decorations. Defaults to editable.

编辑器是否应呈现验证修饰。默认值为可编辑。

???renderWhitespace​

值: "all" “所有” | "none" “没有” | "boundary" “界限” | "selection" “选择” | "trailing" “跟踪” Enable rendering of whitespace. Defaults to 'selection'.

启用空格渲染??。默认为“选择”。

revealHorizontalRightPadding​

reveal揭示 When revealing the cursor, a virtual padding (px) is added to the cursor, turning it into a rectangle. This virtual padding ensures that the cursor gets revealed before hitting the edge of the viewport. Defaults to 30 (px).

当显示光标时,向光标添加一个虚拟填充(px) ,将其转换为一个矩形。这种虚拟填充确保光标在到达视口边缘之前显示出来。默认值为30(px)。

roundedSelection​

Render the editor selection with rounded borders. Defaults to true.

呈现圆角边框的编辑器选项。默认为 true。

rulers​

[{color?: string, column?: number}] 指定列的垂直线。默认为空数组

scrollBeyondLastColumn​

Enable that scrolling can go beyond the last column by a number of columns. Defaults to 5.

允许滚动可以超过最后一列的列数。默认值为5。

!!!scrollBeyondLastLine​

Enable that scrolling can go one screen size after the last line. Defaults to true.

允许在最后一行后滚动一个屏幕大小。默认为 true。

!!!scrollPredominantAxis​

Enable that the editor scrolls only the predominant axis. Prevents horizontal drift when scrolling vertically on a trackpad. Defaults to true.

允许编辑器只滚动主轴。防止在轨迹板上垂直滚动时的水平漂移。默认为true。

!!!scrollbar​

滚动条设置,见IEditorScrollbarOptions

  • alwaysConsumeMouseWheel 始终使用鼠标滚轮事件(始终在浏览器事件上调用 proventDefault ()和 stop 传播())。默认为true。注意: 无法使用 updateOptions ()更新此选项
  • arrowSize 箭头大小, 默认值为11。注意: 此选项不能使用 updateOptions ()更新
  • handleMouseWheel 听取鼠标滚轮事件并通过滚动对其作出反应。默认为 true。
  • horizontal 呈现水平滚动条。默认为“自动”。 "auto" “自动” | "visible" “可见” | "hidden" “隐藏”
  • horizontalHasArrows 在水平滚动条的左侧和右侧呈现箭头。默认为 false。注意: 无法使用 updateOptions ()更新此选项
  • horizontalScrollbarSize 水平滚动条的高度(以像素为单位)。默认值为10(px)。
  • horizontalSliderSize 水平滑块的高度(以像素为单位)。默认为水平滚动条大小。注意: 此选项不能使用 updateOptions ()更新
  • scrollByPage 滚动槽点击按页面移动或跳转到位置。默认为 false。
  • useShadows 滚动内容时投射水平和垂直阴影。默认为真。注意: 无法使用 updateOptions ()更新此选项
  • vertical 呈现垂直滚动条。默认为“自动”。"auto" “自动” | "visible" “可见” | "hidden" “隐藏”
  • verticalHasArrows 在垂直滚动条的顶部和底部呈现箭头。默认为 false。注意: 无法使用 updateOptions ()更新此选项
  • verticalScrollbarSize 垂直滚动条的宽度(以像素为单位)。默认值为10(px)。
  • verticalSliderSize 垂直滑块的宽度(以像素为单位)。默认为垂直 ScrollbarSize。注意: 此选项不能使用 updateOptions ()更新

selectOnLineNumbers​

Should the corresponding line be selected when clicking on the line number? Defaults to true.

单击行号时是否应选择相应的行? 默认为 true。

!!!selectionClipboard​

启用 剪贴板。默认为 true。

selectionHighlight​

Enable selection highlight. Defaults to true.

启用选择突出显示。默认为 true。

semanticHighlighting.enabled​

Controls whether the semanticHighlighting is shown for the languages that support it. true: semanticHighlighting is enabled for all themes false: semanticHighlighting is disabled for all themes 'configuredByTheme': semanticHighlighting is controlled by the current color theme's semanticHighlighting setting. Defaults to 'byTheme'.

控制是否为支持它的语言显示语义突出显示。True: semanticHighlights 为所有主题启用 false: semanticHighlights 为所有主题“ configuredByTheme”禁用: semanticHighlights 由当前颜色主题的 semanticHighlights 设置控制。默认为“ byTheme”。

showDeprecated​

删除不推荐的变量

!!!showFoldingControls​

折叠操作是始终可见还是隐藏,除非鼠标位于折叠区上方。默认设置为“鼠标悬停”。

!!!showUnused​

淡出未使用的变量

smartSelect​

智能选区,见ISmartSelectOptions

  • selectLeadingAndTrailingWhitespace

!!!smoothScrolling​

平滑滚动,默认为false

snippetSuggestions​

启用代码片段建议。默认为“ true”。

stablePeek​

Keep peek editors open even when double clicking their content or when hitting Escape. Defaults to false.

保持偷看编辑器打开,即使双击他们的内容或当点击逃逸。默认为假。

stickyScroll​

Control the behavior of sticky scroll options

滚动条吸附,见IEditorStickyScrollOptions

  • enabled
  • maxLineCount

stickyTabStops​

Emulate selection behaviour of tab characters when using spaces for indentation. This means selection will stick to tab stops.

当使用空格缩进时,模拟制表符的选择行为。这意味着选择将停留在制表符上。

stopRenderingLineAfter​

Performance guard: Stop rendering a line after x characters. Defaults to 10000. Use -1 to never stop rendering

性能保护: 停止渲染 x 字符后面的一行。默认为10000。使用 -1永远不停止渲染

!!!suggest​

提议,见ISuggestOptions

提议

!!!suggestFontSize​

提议的字体

!!!suggestLineHeight​

提议的行高

!!!suggestOnTriggerCharacters​

Enable the suggestion box to pop-up on trigger characters. Defaults to true.

启用在触发器字符上弹出的提议框。默认为 true。

suggestSelection​

The history mode for suggestions.

提议的下拉选项模式。"first" “第一” | "recentlyUsed" “最近使用” | "recentlyUsedByPrefix" “最近使用前缀”

tabCompletion​

Enable tab completion.

启用选项卡完成。"on" “开” | "off" “关闭” | "onlySnippets" “只有片段”

tabIndex​

The tabindex property of the editor's textarea

编辑器的 输入框 的 tabindex 属性

!!!tabSize​

tab占位数量,默认值为4

!!!theme​

主题

trimAutoWhitespace​

Remove trailing auto inserted whitespace. Defaults to true.

删除尾随自动插入的空格。默认为 true。

unfoldOnClickAfterEndOfLine​

Controls whether clicking on the empty content after a folded line will unfold the line. Defaults to false.

控制单击折叠线之后的空白内容是否会展开该线。默认为 false。

unicodeHighlight​

Controls the behavior of the unicode highlight feature (by default, ambiguous and invisible characters are highlighted).

控制 unicode 突出显示特性的行为(默认情况下,突出显示模糊和不可见字符)。

unusualLineTerminators​

Remove unusual line terminators like LINE SEPARATOR (LS), PARAGRAPH SEPARATOR (PS). Defaults to 'prompt'.

删除异常的行终止符,如行分隔符(LS)、段落分隔符(PS)。默认为“提示”。 "off" “关闭” | "auto" “自动” | "prompt" “提示”

useShadowDOM​

是否应该使用阴影 DOM

useTabStops​

Inserting and deleting whitespace follows tab stops.

在制表位之后插入和删除空格。

!!!value​

自动创建模型的初始值

wordBasedSuggestions​

Controls whether completions should be computed based on words in the document. Defaults to true.

控制是否应根据文档中的单词计算完成。默认值为 true。

wordBasedSuggestionsOnlySameLanguage​

Controls whether word based completions should be included from opened documents of the same language or any language.

控制是否应从同一语言或任何语言的已打开文档中包含基于单词的补全。

wordSeparators​

A string containing the word separators used when doing word navigation. Defaults to ~!@#$%^&*()-=+[{]}\|;:'",.<>/?

包含单词导航时使用的单词分隔符的字符串。默认为\~!@#$%^&*()-=+[{]}|;:’”,.< >/?

!!!wordWrap​

自动换行, "on" “开” | "off" “关闭” | "wordWrapColumn" “ wordWrapColumn” | "bounded" “有界”

wordWrapBreakAfterCharacters​

是个string Configure word wrapping characters. A break will be introduced after these characters.

在这些字符之后自动换行。

wordWrapBreakBeforeCharacters​

是个string Configure word wrapping characters. A break will be introduced before these characters.

在这些字符之前自动换行。

wordWrapColumn​

是个number 超过xx列自动换行,默认为80

wordWrapOverride1​

覆盖wordWrap

wordWrapOverride2​

覆盖wordWrapOverride1

wrappingIndent​

换行后缩进

wrappingStrategy​

换行策略。"simple" “简单” | "advanced" “高级”