Running "rustup component add rls-preview --toolchain nightly" gives me
error: toolchain 'nightly-x86_64-apple-darwin' does not contain component 'rls-preview' for target 'x86_64-apple-darwin'
I encountered the same problem last week and, according to #535 , the problem was fixed. But I still run into this problem today.
This will be a recurring issue - not every nightly will have the RLS component. To work around this, you can use the beta channel or stick with yesterday's nightly (see https://github.com/rust-lang-nursery/rls-vscode/issues/181#issue-269383659).
After switching to the beta channel, everything works like a charm! Thx~
I think it would be nice to document the solution to this issue in the README if this will be a recurring issue.
It's documented in the debugging and troubleshooting guide which is linked from the README.
Most helpful comment
After switching to the beta channel, everything works like a charm! Thx~
I think it would be nice to document the solution to this issue in the README if this will be a recurring issue.