nixd
|
#include <Protocol.h>
Public Attributes | |
std::optional< int > | processId |
std::optional< std::string > | rootPath |
std::optional< URIForFile > | rootUri |
ClientCapabilities | capabilities |
The capabilities provided by the client (editor or tool) | |
llvm::json::Object | rawCapabilities |
The same data as capabilities, but not parsed (to expose to modules). | |
std::optional< TraceLevel > | trace |
The initial trace setting. If omitted trace is disabled ('off'). | |
InitializationOptions | initializationOptions |
User-provided initialization options. | |
Definition at line 585 of file lspserver/include/lspserver/Protocol.h.
ClientCapabilities lspserver::InitializeParams::capabilities |
The capabilities provided by the client (editor or tool)
Definition at line 607 of file lspserver/include/lspserver/Protocol.h.
Referenced by lspserver::fromJSON().
InitializationOptions lspserver::InitializeParams::initializationOptions |
User-provided initialization options.
Definition at line 615 of file lspserver/include/lspserver/Protocol.h.
Referenced by lspserver::fromJSON().
std::optional<int> lspserver::InitializeParams::processId |
The process Id of the parent process that started the server. Is null if the process has not been started by another process. If the parent process is not alive then the server should exit (see exit notification) its process.
Definition at line 590 of file lspserver/include/lspserver/Protocol.h.
Referenced by lspserver::fromJSON().
llvm::json::Object lspserver::InitializeParams::rawCapabilities |
The same data as capabilities, but not parsed (to expose to modules).
Definition at line 609 of file lspserver/include/lspserver/Protocol.h.
Referenced by lspserver::fromJSON().
std::optional<std::string> lspserver::InitializeParams::rootPath |
The rootPath of the workspace. Is null if no folder is open.
deprecated, in favour of rootUri.
Definition at line 596 of file lspserver/include/lspserver/Protocol.h.
Referenced by lspserver::fromJSON().
std::optional<URIForFile> lspserver::InitializeParams::rootUri |
The rootUri of the workspace. Is null if no folder is open. If both rootPath
and rootUri
are set rootUri
wins.
Definition at line 601 of file lspserver/include/lspserver/Protocol.h.
Referenced by lspserver::fromJSON().
std::optional<TraceLevel> lspserver::InitializeParams::trace |
The initial trace setting. If omitted trace is disabled ('off').
Definition at line 612 of file lspserver/include/lspserver/Protocol.h.
Referenced by lspserver::fromJSON().