Skip to content

Client for communicating with the language server #10380

Closed
@nerdondon

Description

@nerdondon

Hi,

I'm looking to make a vscode extension and it would be nice if it could communicate with the rust-analyzer language server and use it's functionality. i see that i could probably just create a language client in the same way as the rust-analyzer vscode extension:

const client = new lc.LanguageClient(
        'rust-analyzer',
        'Rust Analyzer Language Server',
        serverOptions,
        clientOptions,
);

but is there a more supported way? is there an official client interface (node package) that i could add as a dependency of my own project?

if such a thing does not exist, i guess this becomes a sort of feature request for official client specs. it seems that this sort of thing can be generated via protobuff or thrift.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions