Protobuf: proto file formatter

Created on 29 Dec 2017  路  1Comment  路  Source: protocolbuffers/protobuf

Hi all,

Is there a proto file formatter somewhere?

If not, why there isn't one? It seems possible to create a working prototype from FileDescriptor.

question

Most helpful comment

clang-format supports formatting proto files. Google uses clang-format for this internally:

https://clang.llvm.org/docs/ClangFormat.html

>All comments

clang-format supports formatting proto files. Google uses clang-format for this internally:

https://clang.llvm.org/docs/ClangFormat.html

Was this page helpful?
0 / 5 - 0 ratings