|
nixd
|
#include <Protocol.h>
Public Attributes | |
| URIForFile | uri |
| The document URI to show (for file:// URIs). | |
| std::optional< std::string > | externalUri |
| std::optional< bool > | external |
| std::optional< bool > | takeFocus |
| std::optional< Range > | selection |
Parameters for the window/showDocument request.
Definition at line 1245 of file lspserver/include/lspserver/Protocol.h.
| std::optional<bool> lspserver::ShowDocumentParams::external |
Indicates to show the resource in an external program. To show, for example, https://noogle.dev/ in the default web browser, set external to true.
Definition at line 1256 of file lspserver/include/lspserver/Protocol.h.
Referenced by lspserver::toJSON().
| std::optional<std::string> lspserver::ShowDocumentParams::externalUri |
External URI string (for https:// or other non-file URIs). When set, this takes precedence over uri in serialization.
Definition at line 1251 of file lspserver/include/lspserver/Protocol.h.
Referenced by lspserver::toJSON().
| std::optional<Range> lspserver::ShowDocumentParams::selection |
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.
Definition at line 1266 of file lspserver/include/lspserver/Protocol.h.
Referenced by lspserver::toJSON().
| std::optional<bool> lspserver::ShowDocumentParams::takeFocus |
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.
Definition at line 1261 of file lspserver/include/lspserver/Protocol.h.
Referenced by lspserver::toJSON().
| URIForFile lspserver::ShowDocumentParams::uri |
The document URI to show (for file:// URIs).
Definition at line 1247 of file lspserver/include/lspserver/Protocol.h.
Referenced by lspserver::toJSON().