code format

#download BBUncrustifyPlugin

  • download BBUncrustifyPlugin and install

  • open Xcode Edit->Format Code->BBUncrustifyPlugin Prefreences set Formatter to Uncrustify

  • open Terminal

  • run git clone .uncrustify

  • set shortcut for Format Active File with this article

download UncrustifyX

UncrustifyX allows importing and exporting of Uncrustify .cfg files, and provides a GUI to run a configuration set on a list of files, or direct source code input.

##Have fun