I've been having trouble lately with VSCode claiming that the RLS is not installed and then failing to install it, but decided to give it another try after @alexcrichton's announcement that Rust will no longer be shipping nightlies without RLS, and seeing that the latest nightly (bacb5c58d 2018-01-26) has the rls-preview
package.
Indeed, it appears to be working once again! (also, I discovered that I had a configuration issue leftover from earlier hacks) So if you've had trouble before, I suggest you give it another try!
cc @alanhkarp who mentioned having issues recently.
Note: In the past I think I recall it was necessary to set an override to use nightly, but this does not appear to be the case anymore. You can work on stable rust and the plugin will transparently install the RLS from nightly.
A note on possible configuration issues
At some point the rls
component was renamed to rls-preview
. This means older versions of the plugin have an incorrect default setting for one of the config variables:
"rust-client.rls-name": "rls", // old (wrong, for now)
"rust-client.rls-name": "rls-preview", // new (correct, for now)
So if the plugin claims to be unable to install the RLS, update the plugin and check your settings.json to make sure your naive younger self didn't put a copy of the old setting into there.