Stream: t-compiler/rust-analyzer

Topic: using ra as library or lsp


Manmeet Mann (May 27 2021 at 15:39, on Zulip):

I am going to write a plugin for an editor
what do you think will be more complex/time consuming: implementing lsp client or using ra directly

bjorn3 (May 27 2021 at 17:23, on Zulip):

The api of rust-analyzer is unstable and frequently changes. The language server protocol is pretty stable. Maybe (and only maybe) in the short term using the api is easier, but it will require a lot more maintenance work in the long term.

Manmeet Mann (May 27 2021 at 17:37, on Zulip):

thanks! also, is there a crate for lsp client

bjorn3 (May 27 2021 at 17:52, on Zulip):

I think the lsp-types crate is what you are looking for.

Last update: Jul 29 2021 at 09:30UTC