View source
typedef ShowDocumentParams
package languageServerProtocol.protocol
import languageServerProtocol.protocol.ShowDocument
Params to show a document.
Available since
3.16.0
.Fields
optionaltakeFocus:Null<Bool>
An optional property to indicate whether the editor showing the document should take focus or not. Clients might ignore this property if an external program in started.
optionalselection:Null<Range>
An optional selection range if the document is a text document. Clients might ignore the property if an external program is started or the file is not a text file.
optionalexternal:Null<Bool>
Indicates to show the resource in an external program.
To show for example https://code.visualstudio.com/
in the default WEB browser set external
to true
.