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

Generated .pb.go files remain unsynced and unrecognized in GoLand #3734

Closed
timduly4 opened this issue Jun 27, 2022 · 5 comments
Closed

Generated .pb.go files remain unsynced and unrecognized in GoLand #3734

timduly4 opened this issue Jun 27, 2022 · 5 comments
Labels
more-data-needed Awaiting response from issue author product: GoLand GoLand plugin product: IntelliJ IntelliJ plugin topic: protobuf Protobuf rules integration type: user support User support

Comments

@timduly4
Copy link

GoLand isn't recognizing structures that are are generated by protobuf definitions, specifically the config.pb.go file. Any idea why?

This simple example is from the CockroachDB repo, and I have GoLand version 2022.1.3 with the Bazel plugin version 2022.06.14.0.1-api-version-221.

#194 looks similar, but it is 5 years old, and they recommend to disable Go Modules. This is disabled by default in GoLand, and the problem remains.

Screen Shot 2022-06-26 at 6 03 40 PM

@timduly4 timduly4 changed the title Generated .pb.go files remain unsynced and unrecognized in GoLand Generated .pb.go files remain unsynced and unrecognized in GoLand Jun 27, 2022
@timduly4 timduly4 changed the title Generated .pb.go files remain unsynced and unrecognized in GoLand Generated .pb.go files remain unsynced and unrecognized in GoLand Jun 27, 2022
@JamesRTaylor
Copy link

We've found that if we move the protobuf file to it's own sibling directory/module, the Bazel Plugin recognizes it. This doesn't work for the gogo protos, though. If anyone has advice on those, we'd love to hear workarounds.

@sgowroji
Copy link
Member

sgowroji commented Oct 4, 2022

Hello @timduly4, I see the filenames are changed to proto and we are able to open and sync properly with bazel plugin. Could you please confirm if you are still looking unsynced error as mentioned in the above issue. Thanks!

@sgowroji sgowroji added product: IntelliJ IntelliJ plugin topic: protobuf Protobuf rules integration type: user support User support more-data-needed Awaiting response from issue author product: GoLand GoLand plugin labels Oct 4, 2022
@sgowroji sgowroji added the awaiting-maintainer Awaiting review from Bazel team on issues label Dec 2, 2022
@brandonwang15
Copy link

I've also been encountering this same issue! @sgowroji, I'm afraid I don't understand your last comment - are you able to replicate the issue or are you seeing different (working) behavior on your end? Happy to help add reproduction steps, assist in investigating here.

@sgowroji
Copy link
Member

sgowroji commented Dec 14, 2022

Yea if you are able to reproduce, could you provide some steps? Thanks!

@keertk keertk removed the awaiting-maintainer Awaiting review from Bazel team on issues label Jan 9, 2023
@raoarun
Copy link
Collaborator

raoarun commented Apr 20, 2023

closing as no comments on this from @timduly4 since June 2022.

@raoarun raoarun closed this as completed Apr 20, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
more-data-needed Awaiting response from issue author product: GoLand GoLand plugin product: IntelliJ IntelliJ plugin topic: protobuf Protobuf rules integration type: user support User support
Projects
Development

No branches or pull requests

6 participants