Popup of "Unknown RLS configuration: mode
,rustup
"
Build indicator keeps spinning:
$ rustup component list --toolchain stable --installed
cargo-x86_64-apple-darwin
rls-x86_64-apple-darwin
rust-analysis-x86_64-apple-darwin
rust-docs-x86_64-apple-darwin
rust-src
rust-std-x86_64-apple-darwin
rustc-x86_64-apple-darwin
I had this as well and had to remove "rust.mode": "legacy" from my user settings (editing the json by hand, as opposed to using the GUI). It appears they've disabled legacy mode. I can't remember why I turned it on in the first place, so that's all right.
I believe these options are for another extension - https://github.com/editor-rs/vscode-rust. I wouldn't recommend running both as they may spawn two instances of RLS or do overwrite each other tasks or similar. I believe that extension is quasi-deprecated at this point and this should be used instead, so in this case it's safe to remove rust.mode
and rust.rustup
entries from settings.json.
You are right I had these orphan settings my user settings!
However the build indicator keeps spinning.
Might be related to https://github.com/rust-lang/rls-vscode/issues/492
you need to delete the rust.mode and rust.rustup in the setting.json
Most helpful comment
I believe these options are for another extension - https://github.com/editor-rs/vscode-rust. I wouldn't recommend running both as they may spawn two instances of RLS or do overwrite each other tasks or similar. I believe that extension is quasi-deprecated at this point and this should be used instead, so in this case it's safe to remove
rust.mode
andrust.rustup
entries from settings.json.