You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Dec 29, 2022. It is now read-only.
Hi,
First of all, I'm not an expert in RLS whatsoever so please excuse me if this turns out to be a setup issue on my side!
My setup is:
Rust nightly
Windows 10
VSCode + official extension
rls-preview from rustup
The issue is that well, autocomplete stopped working entirely 😄
Even in small ~400 lines single file projects , autocomplete only seems to work on std types and only in the first chained function call.
Basic stuff like suggesting .unwrap() after a result, or autocompleting anything from any crate I tried won't work.
What is worse is that rather than showing nothing like previous well behaved versions, RLS will show what looks like absolutely unrelated stuff!
As a test, I've reverted to nightly-2018-06-10 (called "old" below) and it shows a marked improvement.
Some examples:
old: shows nothing. Disappointing, but it's hard to deduce that that's a Vec<Receiver<String>> even by looking at it.
new:
I've tried the same in trivial cases eg. autocompleting an i32 and that will also show all kinds of weird macros.
and even on a simple project:
old: correctly completes each section of this whole sequence:
let r = Regex::from_str("test").unwrap();
r.find("testtest").take().unwrap().end;
new:
it only shows this and then more random, wrong autocompletes from std if you go on.
For now I'll keep staying on the old version so RLS is not a nuisance, but there's a chance that this is a legit regression and you might want to know!