vscode-rust
vscode-rust copied to clipboard
The Rust Analyzer server crashed 5 times in the last 3 minutes. The server will not be restarted.
There are open issues that discuss issue this but have already been closed, so I will re-open this one. I am running the following versions:
Versions:
- macOS: 11.2.3 Big Sur
- vs-code: 1.54.3
- vscode-rust extension: 0.7.8
- rust-analyzer as the engine
- rustc 1.50.0
- rustup 1.23.1
There are no known updates available. Note is that it works with the normal rust-analyzer plugin.
My extensions:
My vs-code settings.json:
{
"telemetry.enableTelemetry": false,
"aws.telemetry": false,
"workbench.colorTheme": "GitHub Dark",
"editor.minimap.enabled": false,
"rust-client.engine": "rust-analyzer",
"editor.formatOnSave": true,
}
See:
The rust-analyzer support is not working right now and is unmaintained (you might have seem me pointing this out previously). You should either use RLS or the stand-alone rust-analyzer extension.
According to #816 it should have been moved here I thought.
Are there any releases planned in the near future? The latest release was in May 2020.
#816 was a one-time import. There's been only one change to that code since then, again in last July.
I don't know of any concrete plans to update it, although it might happen eventually. Currently, the rust-analyzer extension is developed in the RA repository, for both technical and organizational reasons.
Ok, I will keep an eye on future releases but will stick with intellij-rust until then.
Is there any reason why you don't want to use the stand-alone extension?
I'm relatively new to Rust but as far as I can tell, the Rust Language Servers gives the less recommendations when typing code but I'm not sure if it should be that way. Take this one for example:
VS Code (RLS)
IntelliJ Rust in CLion
Run configurations
Using the RLS engine the plugin also does not provide single "run" button like you have in the other rust-analyzer or intellij-rust plugin so you always have to go to the terminal. Might not be a big deal but just some observations so far.
Sorry, I meant to ask why you would prefer using this extension (rust-lang.rust) instead of the rust-analyzer one, not why you prefer IntelliJ.
Oh my bad, I want to stick with official plugins and not too many 3rd party plugins.
rust-analyzer is official according to https://github.com/rust-lang/rfcs/blob/master/text/2912-rust-analyzer.md (but not according to the materials on the rust-lang.org site).
Anyway, that's fair, I suppose. I suggest trying the stand-alone extension instead of filing issues in this repo, since it's more maintained.