3 ms·
Is the best way to install rust-analyzer still by downloading a binary manually, or is available through rustup or similar now?
by saagarjha 7y ago
Is the best way to install rust-analyzer still by downloading a binary manually, or is available through rustup or similar now?
- Argorak 7y agoThe 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.
- saagarjha 7y agoI don't use Visual Studio Code, unfortunately. I'm currently using rls through my editor's support for LSP implementations.
- est31 7y agoYou can also compile rust-analyzer yourself. It doesn't need any custom stuff from what I saw, and supports Rust stable.
- livre 7y agoThank 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.
- mpolun 7y agoIt'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.