-
Notifications
You must be signed in to change notification settings - Fork 168
Duplicated completion entries #506
Comments
Ok, so it seems like the problem in RLS itself. What I understood from description - it uses racer for providing completions. Tried to invoke racer manually. Here's the result:
So, Also, launched LSP inspector from Microsoft to check what language server sends to VSCode and found there 3 occurrences of Didn't manage to setup debuggable |
Ok, figured out the problem. Prize goes to racer. I've tested racer completion while I had 2.0 version. RLS is built against 2.1 version. When I checked what happens when I invoke Made a fix for this behaviour in Racer and opened PR racer-rust/racer#1021 |
Fixed in rust-lang/rls#1402, should be available in the newest nightly toolchain in 1-2 days. |
Closing this as fixed (remember that it's available since Rust 1.35) |
@Xanewok I guess this problem continues. $ racer complete 16 9 src/main.rs
PREFIX 289,289,
MATCH username,2,4,src/main.rs,StructField,String
MATCH email,3,4,src/main.rs,StructField,String
MATCH sign_in_count,4,4,src/main.rs,StructField,u64
MATCH active,5,4,src/main.rs,StructField,bool
END However, in VS Code, it looks like this: Please let me know if you need any other debugging information. |
at least I'm not the only one. Any updates on this? |
I have duplicated entries in completion list. Duplications are not everywhere, but i.e., for
env::args().
all functions will be present 3 times.Here's gif with demo:
VSCode: 1.31.1
Extension version: 0.5.3
Any other RLS or Rust completion extension is not installed.
The text was updated successfully, but these errors were encountered: