objective c - How do I install uncrustify? -
how install uncrustify? followed instruction install uncrustify when run it, not work. can give me installing tool? want run on objective-c code in xcode 4. in adavance
on os x mavericks 10.9.1 :
1- install brew, open terminal windows , type :
ruby -e "$(curl -fssl https://raw.github.com/homebrew/homebrew/go/install)"
it ask download other files, answer ok (for more information see : http://brew.sh/index_fr.html).
2 - install uncrusify, open terminal windows type :
brew install uncrustify
3 - make code beautiful, download bbuncrustifyplugin-xcode available @ https://github.com/benoitsan/bbuncrustifyplugin-xcode
you have :
- compile project
- copy file uncrusify.cfg in home directory
- restart xcode.
nb : bbuncrustifyplugin, don't need use automator.
4 - after restarting xcode, use menu edit > uncrustify selected files uncrustify selected items in project navigator.
your code beautiful! that's magic!
post-scriptum : can change uncrusify configuration file using :
i hope help!
Comments
Post a Comment