Considere switch clang-format for prototool ?
Hi, the format with vscode is a huge plus.
But when it comes to validate a format, we are depending on clang-format, which depends on the OS. For example you might not have the same version for ubuntu and alpine.
For me the use case was to be able to format on vscode but also validate on CI that the file are well formated before pushing them.
I found out that Uber developped a tool https://github.com/uber/prototool . which allow formating and testing for protobuf file.
Might it be interesting to converge to this tool ? ( which should be cross-platform and "version free" ).
what do you think ?
Hi, tommy. I think prototool is very interesting. But currently I have not enough time to investigate it : (
I will add support for this tool (maybe when clang-format is not on the path) when I find some time. Thank you to provide such detailed information.