Re:Rust-analyzer – an IDE backend for Rust
by saagarjha on Monday April 27, 2020 @11:29AM
(#22996752)
Is the best way to install rust-analyzer still by downloading a binary manually, or is available through rustup or similar now?
[ Parent
| on HN ]
The best way to install it is by installing the VSCode plugin, it will download the binary for you. rustup may arrive in the future and make things better for other plugins.
Thank you for letting me know about that. Last time I gave it try it required building the analyzer and then installing the extension manually. The process is much less tedious now.
Re:Rust-analyzer – an IDE backend for Rust
by saagarjha on Monday April 27, 2020 @01:11PM
(#22997730)
I don't use Visual Studio Code, unfortunately. I'm currently using rls through my editor's support for LSP implementations.
You can also compile rust-analyzer yourself. It doesn't need any custom stuff from what I saw, and supports Rust stable.
It's not part of rustup. At least for the VSCode plugin, it'll prompt you to download when it first runs. As long as you've got a working rust installation it'll work pretty seamlessly in my experience.