Skip to content
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 .proto file if symbols is generated from a protobuf file #274

Open
yimingwangdell opened this issue Feb 7, 2024 · 2 comments

Comments

@yimingwangdell
Copy link

yimingwangdell commented Feb 7, 2024

gd cannot jump to .proto file if symbol is generated from a protobuf file

@igbanam
Copy link

igbanam commented Feb 29, 2024

protobuf and java are two different languages.

I have this problem too at work. Creating the bridge between both languages is the issue. How I've seen this solved in Ruby land is that there's some auto-generated source file backed by the .proto definition. gd can then link to that auto-generated file.

If the above is your case, be sure to add the path to the auto-generated source files in your java.project.referencedLibraries in your :CocLocalConfig. Then ensure you <build-system> build to generate these source files. gd should be able to jump to them since its referenced.

@yimingwangdell
Copy link
Author

@igbanam thanks for your information, but I just want to jump to .proto file. jumping to source file is meaningless for me. because .java file is too big and I can't read it. and this function is implemented in intelliJ. I hope we can have this too on vim.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants