When I open a .rs file in VScode a alert pops up that says
Unknown RLS configuration:
mode,rls,rust_lang_src_path,rustup
I am currently using the nightly toolchain.
How can I fix this?
Check if you have defined "rust.XYZ" settings (mode, rls and the rest from the above.
It's possible that you set it for https://github.com/editor-rs/vscode-rust which is a different extension.
I have not defined my "rust.XYZ" settings. How would I set it up for this extension?
I'd say the default settings are pretty good, you can consult https://github.com/rust-lang/rls-vscode/blob/8d870000cbf959457dbcf1f9e20e670bd6f798df/package.json#L146-L397
to see which options are available.
Can you link your VSCode settings (found via Ctrl + , and clicking the {} (Open Settings (JSON)) in the top-right corner) here?
Here you go.
As you can see, these:
"rust.rustLangSrcPath": "C:\\Users\\Kestor Brown\\.rustup",
"rust.rls": {
"executable": "rustup",
"args": [
"run",
"nightly",
"rls"
],
"env": {
"RUST_LOG": "rls=debug"
}
},
"rust.rustup": {
"toolchain": "nightly-x86_64-pc-windows-msvc"
},
"rust.mode": "rls",
are set but all the "rust.*" are passed to the RLS which does not understand them (look up the linked supported settings, these are not on the list).
I personally use these:
"rust-client.channel": "nightly", // Use Rust nightly channel
"rust.clippy_preference": "on", // Always run Clippy lints
"rust.unstable_features": true, // Conditionally enable range formatting, not enabled by default
"rust.all_targets": false, // Don't pass `-all` to `cargo check`, it often takes too much time
Ok. thanks
Unknown RLS configuration:
crate_blacklistsettings (Ctrl + ,) and search
crate_blacklist, rest can fix it
No it doesn't. I just tried to reset via settings and the message keeps appearing after restarting VSCode:

@brainstorm
look rls-vscode
Short-term solution would be to wait a couple of days for the stable 1.38 release and prune the deprecated config entirely for now.
@dasoncheng I'm actually on insiders edition 1.39.0... so that update didn't work for me :/

I've had the same message for a few weeks.
Unknown RLS configuration: crate_blacklist
I have no rust.crate_blacklist setting defined, in user, workspace or project configuration. Reinstalling the rls extension doesn't fix it and this error seems to block the RLS compilation. Is there some hidden system-level setting containing this parameter ?
[edit] using stable rust 1.37.0 and rls 0.6.3
The current open ticket for this issue seems to be here: https://github.com/rust-lang/rls-vscode/issues/656
Most helpful comment
I've had the same message for a few weeks.
Unknown RLS configuration: crate_blacklistI have no rust.crate_blacklist setting defined, in user, workspace or project configuration. Reinstalling the rls extension doesn't fix it and this error seems to block the RLS compilation. Is there some hidden system-level setting containing this parameter ?
[edit] using stable rust 1.37.0 and rls 0.6.3