I was wondering if there was any convenient way to add comments into
a .proto file that would be included in generated code for context
help.

If not, is there an existing plug-in project anyone knows of that
provides anything like that?

i.e.

message Foo {
    option documentation = "A Foo message, must contain Bar!";
    required Bar bar = 1 [documentation="A Bar value, be sure to
consider the implications of Foo."];
}

Maybe this is something that should be considered / could be a code
generator plugin for protoc?

-- 
You received this message because you are subscribed to the Google Groups 
"Protocol Buffers" group.
To post to this group, send email to protobuf@googlegroups.com.
To unsubscribe from this group, send email to 
protobuf+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/protobuf?hl=en.

Reply via email to