Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface TextDocumentShowOptions

Represents options to configure the behavior of showing a document in an editor.

层级

  • TextDocumentShowOptions

索引

Properties(4)

Optional viewColumn

viewColumn: ViewColumn

An optional view column in which the editor should be shown. The default is the active, other values are adjusted to be Min(column, columnCount + 1), the active-column is not adjusted. Use ViewColumn.Beside to open the editor to the side of the currently active one.

Optional preserveFocus

preserveFocus: boolean

An optional flag that when true will stop the editor from taking focus.

Optional preview

preview: boolean

An optional flag that controls if an editor-tab will be replaced with the next editor or if it will be kept.

Optional selection

selection: Range

An optional selection to apply for the document in the editor.

友链:VS Code 中文文档 | VS Code 官网文档 | VS Code 扩展市场

Generated by TypeDoc. Maintained by 洛竹