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

letmegrpc does not generate tooltips for imported proto objects #49

Open
con-ji opened this issue Jul 26, 2018 · 2 comments
Open

letmegrpc does not generate tooltips for imported proto objects #49

con-ji opened this issue Jul 26, 2018 · 2 comments

Comments

@con-ji
Copy link

con-ji commented Jul 26, 2018

Given a.proto and b.proto, if b.proto imports a.proto and uses an object, say c, any comments within c from a.proto will not be generated.

a.proto:

message C {
    // This comment doesn't get turned into a tooltip
    required int64 something = 1;
}

b.proto:

message WrapperMsg {
    // This message does
    required a.C nested = 1;
}

Is it possible for the parser to process imported .proto files and their comments?

@con-ji
Copy link
Author

con-ji commented Jul 27, 2018

Actually, expanding on this issue: comments in the wrapper class can somehow wind up in the nested message as well. Something's up with the .proto parser.

@awalterschulze
Copy link
Member

Could you provide the command you run to generate the code?

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