-
Notifications
You must be signed in to change notification settings - Fork 1.8k
Missing auto completion on std library #15845
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
Confirmed, this one is pretty annoying. It's interesting that we do offer suggestions for |
@lnicola So this behavior is intended cause rust-analyzer didn't implement this ? I thought i have some wrong settings on neovim. |
It's caused by RA, not NeoVim, but probably not intended.
Do you mean you get the |
@lnicola Both stable and nightly version of VScode rust analyzer extension gives me same suggestions as neovim (Not showing write()) |
it's same for me. Any update on this? |
No updates here yet, can try looking into this next week. Interestingly though, this works fine for |
rust-analyzer version : 2023-11-06
When I didn't import std::io::Write trait for TcpStream struct and I expect write() method for suggestion, but rust-analyzer only shows four methods.
If I add use::std::Write , It shows write() method for suggestions.
I use neovim and lsp-config and when I use vscode and rust-analyzer plugin, It does not work like neovim.
With intellij and jetbrain's rust plugin, It shows many other method for struct.
The text was updated successfully, but these errors were encountered: