-
Notifications
You must be signed in to change notification settings - Fork 27
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Rust analyzer version is hardcoded #29
Comments
Line 93 in 02d3a76
|
There is no latest version, you should use |
I think that's tedious and boring. This link https://github.com/rust-lang/rust-analyzer/releases/latest/download/rust-analyzer-aarch64-unknown-linux-gnu.gz everytime points to latest release of rust-analyzer |
And I think downloading always newest version is lazy and unstable. |
I agree that latest release can be buggy. But a fixed version wouldn't help either as the analyzer might get outdated, doesn't get fixes for the bugs. I've a suggestion, let the user decide on the version he wants to install from plugin settings, if not mentioned it will always point to latest (i.,e defaults to latest). What do you think ? |
I understand now what do you meant by Why can't we use rustup to install rust-analyzer and then set the path ? After adding ❯ rustup which rust-analyzer
/home/akhil/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/bin/rust-analyzer Let me know if you are interested in this idea, I'll try to give a PR |
It wasn't possible before.
I'm aware of that but we don't have a way yet to get command output in plugins. |
I.e, because plugin runs as wasi binary ? |
Closing this as there's no proper way to configure rust analyzer version |
Currently the rust analyzer version is hard coded and there's no way to use latest release.
The text was updated successfully, but these errors were encountered: