lsp.ShowDocumentParams
Params to show a resource in the UI.
Fields4
ShowDocumentParams.uri : lsp.URI
The uri to show.
ShowDocumentParams.external : nil | boolean
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.
ShowDocumentParams.takeFocus : nil | boolean
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 is started.
ShowDocumentParams.selection : lsp.Range | nil
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.