#BBUncrustifyPlugin-Xcode
Xcode plugin to uncrustify the source code opened in the editor.
Tested with Xcode 4.6.1 on 10.8.
-
Build the Xcode project. The plug-in will automatically be installed in
~/Library/Application Support/Developer/Shared/Xcode/Plug-ins
. -
Relaunch Xcode.
To uninstall, just remove the plugin from ~/Library/Application Support/Developer/Shared/Xcode/Plug-ins
and restart Xcode.
-
Use the menu
Edit > Uncrustify
to uncrustify the source code actually opened in the editor. -
Use the menu
Edit > Uncrustify Selected Files
to uncrustify the selected items in the project navigator.
PS: Modifications are recorded in the undo. So undo reverts the modifications.
I recommend to use UncrustifyX. Overwite the file uncrustify.cfg
with your own configuration and rebuild the plugin (and restart Xcode).
BBUncrustifyPlugin is available under the MIT license. See the LICENSE file for more info.