Interface ISocketConnectionOptions

Option to create the websocket connection to the LSP proxy server on the backend.

interface ISocketConnectionOptions {
    capabilities: ClientCapabilities;
    hasLspSupportedFile: boolean;
    language: string;
    virtualDocument: VirtualDocument;
}

Properties

capabilities: ClientCapabilities

LSP capabilities describing currently supported features

hasLspSupportedFile: boolean

Is the file format is supported by LSP?

language: string

The language identifier, corresponding to the API endpoint on the LSP proxy server.

virtualDocument: VirtualDocument

The virtual document trying to connect to the LSP server.