LSPClientConfig
constructor(rootUri: String? = null, workspaceFolders: List<WorkspaceFolder>? = null, clientInfo: InitializeParamsClientInfo? = DEFAULT_CLIENT_INFO, capabilities: ClientCapabilities = ClientCapabilities(), initializationOptions: LSPAny? = null, createWorkspace: (LSPClient) -> Workspace = { client -> Workspace(client) })
Parameters
rootUri
The root URI of the workspace, sent during initialize.
workspaceFolders
The workspace folders to advertise to the server.
clientInfo
Optional client name/version reported to the server.
capabilities
The ClientCapabilities advertised during initialize.
initializationOptions
Optional server-specific initialization options.
createWorkspace
Factory used to build the Workspace managed by the client. Defaults to a single-file workspace.