struct LSP::ShowDocumentParams
- LSP::ShowDocumentParams
- Struct
- Value
- Object
Overview
Params to show a document.
Included Modules
- JSON::Serializable
Defined in:
lsp/window_features/show_document.crConstructors
Instance Method Summary
-
#external : Bool | Nil
Indicates to show the resource in an external program.
-
#external=(external : Bool | Nil)
Indicates to show the resource in an external program.
-
#selection : Range | Nil
An optional selection range if the document is a text document.
-
#selection=(selection : Range | Nil)
An optional selection range if the document is a text document.
- #take_focus : Bool | Nil
- #take_focus=(take_focus : Bool | Nil)
-
#uri : String
The document uri to show.
-
#uri=(uri : String)
The document uri to show.
Constructor Detail
Instance Method Detail
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.
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.
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.
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.