A text document to be shown.
Optional
column: ViewColumnA 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: booleanWhen true
the editor will not take focus.
A promise that resolves to an editor.
Show the given document in a text editor. Options can be provided to control options of the editor is being shown. Might change the active editor.
A text document to be shown.
Optional
options: TextDocumentShowOptionsEditor options to configure the behavior of showing the editor.
A promise that resolves to an editor.
A short-hand for openTextDocument(uri).then(document => showTextDocument(document, options))
.
A resource identifier.
Optional
options: TextDocumentShowOptionsEditor options to configure the behavior of showing the editor.
A promise that resolves to an editor.
Show the given document in a text editor. A column can be provided to control where the editor is being shown. Might change the active editor.