InitializeParams

Undocumented in source.

Members

Functions

getWorkspaceFolders
WorkspaceFolder[] getWorkspaceFolders(string fallbackRootName)

Compatibility helper to get workspace folders. Checks these members: 1) If workspaceFolders has any entries, it is returned as-is. 2) Otherwise, if rootUri is non-empty, it is returned as the only workspace, with fallbackRootName as name. 3) Otherwise, if rootPath is non-empty, it is converted to a URI and returned as the only workspace, with fallbackRootName as name. 4) Otherwise, empty array [] is returned.

Variables

capabilities
ClientCapabilities capabilities;
Undocumented in source.
clientInfo
Optional!InitializeParamsClientInfo clientInfo;
Undocumented in source.
initializationOptions
OptionalJsonValue initializationOptions;
Undocumented in source.
locale
Optional!string locale;
Undocumented in source.
processId
Variant!(typeof(null), int) processId;
Undocumented in source.
rootPath
Optional!string rootPath;
Undocumented in source.
rootUri
DocumentUri rootUri;
Undocumented in source.
trace
Optional!string trace;
Undocumented in source.
workspaceFolders
NullableOptional!(WorkspaceFolder[]) workspaceFolders;
Undocumented in source.

Meta