benoitsan / BBUncrustifyPlugin-Xcode

Xcode plugin to format source code using ClangFormat or Uncrustify
MIT License
1.19k stars 150 forks source link

Use system uncrustify or clang format #129

Closed pankkor closed 8 years ago

pankkor commented 8 years ago

Because uncrustify updates more often than this plugin which is 2 version behind atm (0.61 vs 0.63) it would be nice to have an ability to use a system uncrustify to have a wider control over a version you want to use.

benoitsan commented 8 years ago

It's already supported. The plugin will use the system binary, if found, at /usr/local/bin/uncrustify. Explained in readme https://github.com/benoitsan/BBUncrustifyPlugin-Xcode#tips

pankkor commented 8 years ago

@benoitsan Great! Didn't notice that. Consider it solved then.