A text document to be shown.
Optionalcolumn: ViewColumnA view column in which the editor should be shown. The default is the active.
Columns that do not exist will be created as needed up to the maximum of ViewColumn.Nine. Use ViewColumn.Beside
to open the editor to the side of the currently active one.
OptionalpreserveFocus: 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.
Optionaloptions: 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.
Optionaloptions: 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.