-
Notifications
You must be signed in to change notification settings - Fork 1.7k
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
cannot jump to code generated by tonic grpc #5799
Comments
Did you enable |
hi @bjorn3 I just enabled it but it still doesn't work, I'm using coc-rust-analyzer + coc.nvim + rust-analyzer |
Fwiw enabling |
Are you using nightly? If so, can you try with a new rust-analyzer? Also, how did you enable the setting? |
@lnicola -
Yes, I'm currently using
I'm using the latest master, built fresh a couple of hours ago with
I just added this line to my VS Code "rust-analyzer.cargo.loadOutDirsFromCheck": true, |
Sorry, I was asking @GopherJ since for you it already works. |
Hi all, thanks for your replies, I confirm that I'm using nightly but I'm not using VSCode, I use vim + coc.nvim + coc-rust-analyzer @inicola is it a problem on You can see all my config at: https://github.com/GopherJ/cfg/tree/master/coc |
It's hard to tell, but if you're using proc macros with a nightly It's unlikely, but it could also be a |
needs a minimal reproducible examble to become actionable. THe action would be to check with vs code if i works. |
Hi @matklad thanks for your reply, I should have done it :) sorry. I confirm it's more a pb on coc.nvim + coc-rust-analyzer because it works perfectly in Vscode but not with coc.nvim + coc-rust-analyzer |
Closing for now, we can reopen or file a new bug if we're doing anything wrong. |
CC #3767 -- I think? |
I have the same issuse, is there some progress? |
@lgln can you give a minimal reproduction of the issue? |
i want to find definition of "GreeterClient" in line 1, the cursor just jump to "tonic::include_proto!(" in line 5 my rust-analyzer is v0.2.583, my config in settings.json:
|
It is easy to repro with https://github.com/shikhar/bazel-tonic/tree/4a27fbf7fe15a26804a3eb5eb3f7b62dafa9fba4 Generated code is included in |
This seems like a duplicate of #3767. |
Hi, I found it's impossible to jump to code generated by tonic, is it unimplemented ?
The text was updated successfully, but these errors were encountered: