JuliaIO / ProtoBuf.jl

Julia protobuf implementation
Other
205 stars 55 forks source link

Preserve comments in output _pb.jl files from original .proto #208

Open NHDaly opened 2 years ago

NHDaly commented 2 years ago

We should ideally copy all the comments from the original .proto file into the new generated _pb.jl file by reading the comments fields off of the SourceCodeInfo proto.

An example that does this in Go can be found here (under the MIT license): https://github.com/pseudomuto/protokit/blob/7037620/comments.go


This issue is extracted from https://github.com/JuliaIO/ProtoBuf.jl/pull/128, which was never merged, and is obsolete after the 1.0.0 rewrite.