Is there a config file for Uncrustify that will format Objective-C per Google's Objective-C style guide?
Example config files for Uncrustify look a bit daunting and I'm hoping that I won't need to build one from scratch...
I wanted to incorporate uncrustify into my automated builds but faced problems. I found an alternative that I'm happy with. The AppCode objective-C IDE from Jetbrains works as a supplemental IDE to Xcode.
It includes an excellent and highly configurable code formatting tool, among other things.
. . . to my knowledge you can't invoke this tool from the cmd-line, however I've just filed a feature request to do so.
If you prefer Uncrustify there's a GUI Tool that might help.
That config file seems daunting only in length... (I've seen much worse!) I don't know if it conforms to the Google style guide, but mmorris
posted his .cfg in this answer: https://stackoverflow.com/a/7321776/18961
You don't want to strictly conform to the Google style anyway... it only uses two character indentation! ;)
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With