News for hackers. Stuff that matters.
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?
Re:Rust-analyzer – an IDE backend for Rust by Argorak on Monday April 27, 2020 @11:41AM (#22996886)
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.
Re:Rust-analyzer – an IDE backend for Rust by livre on Monday April 27, 2020 @02:29PM (#22998518)
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.
Re:Rust-analyzer – an IDE backend for Rust by est31 on Monday April 27, 2020 @02:33PM (#22998560)
You can also compile rust-analyzer yourself. It doesn't need any custom stuff from what I saw, and supports Rust stable.
Re:Rust-analyzer – an IDE backend for Rust by mpolun on Monday April 27, 2020 @11:44AM (#22996921)
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.