-
Notifications
You must be signed in to change notification settings - Fork 256
RLS isn't able to suggest anything from crates anymore, it suggests a set of random symbols instead #1017
Comments
What's the output of |
@kngwyu I've downgraded now so I don't know... I just ran |
|
Hmm but sometimes I can get completions even in current version... |
From what I could see I think it gets worse if the project is bigger, especially if more dependencies are added. I'm not sure I've ever seen it working in the last few days though... but yeah, the behavior changed over time, it wasn't stable. Oh, I often have 2 rust projects open in 2 different versions of VSCode! From a quick test though, leaving only one open didn't seem to help. Maybe it did, but a little? |
I noticed if the project has no
since we don't allow it to @nrc @matklad |
@kngwyu I'm sure I always had |
@Tomcc |
So,
|
I also have this issue. I get the Edit: I've removed the |
It should! cc @matklad for |
Since racer still needs |
Having the same issue. Runnin rls with debug logging gives me this error
then it segfaults. Doesn't happen when I remove |
@vonforum |
@kngwyu not sure what changed, but I've updated to |
Same here, actually, everything works fine now. Seems the problem was related, after all. |
I'm redirected here from #1001 The same issue came back in later version of nightly compiler. Currently, Oct 22 2019, the latest working version is This bug persists for more than two weeks. |
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:
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.old: shows correct autocomplete (
socket()
,raw
,destroy()
)new:
and even on a simple project:
old: correctly completes each section of this whole sequence:
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!
The text was updated successfully, but these errors were encountered: