'How can I get Qt creator clang-format to work on google protocol buffer .proto files?
I'm using Qt Creator. In my project settings Beautifier/Clang Format the "Restrict to MIME types:" field contains text/x-c++src; text/x-c++hdr; text/x-csrc; text/x-chdr; text/x-objcsrc; text/x-objc++src This makes clang-format only apply to C/C++ source and header files, etc. What "text/x-something" MIME type will make it work on .proto files? I've tried a number of guesses, but none seem to do the trick.
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
| Solution | Source |
|---|
