-
-
Notifications
You must be signed in to change notification settings - Fork 899
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
Rust Analyzer completion issues #1452
Comments
If you put the |
Well, if you use for example |
We of course plan to support this, but it is very complicated to implement. You can follow rust-lang/rust-analyzer#1165 for it. TBH, 'practically unusable' and 'I expect' is not the kind of tone that will motivate people to work on this for you though. |
@TatriX I am closing the PR based on the fact that this is something that has to be fixed on the server and there is nothing address on lsp-mode's side. |
Sorry if that sounded rude, I didn't mean that. It's practically unusable for me right now, not in general. I understood suggestion to move use statement out of the function as "not a bug", so I just wanted to say that it should work in principle as it's what I expect after rls, not that I'm expecting someone to go and fix it for me. |
rust-analyzer
completion is practically unusable.See also #1269
Describe the bug
Weird completion with
rust-analyzer
.To Reproduce
then open
src/main.rs
, findx.
andM-tab
.See attached zip for a test case.
rust-analyzer-tests.zip
Expected behavior
With
(setq rustic-lsp-server 'rls)
Which Language Server did you use
rls
&rust-analyzer
OS
Arch Linux.
I'm using Emacs from master, and also tried
26.3
just in case.The text was updated successfully, but these errors were encountered: