hsarret / BBUncrustifyPlugin-Xcode

Xcode plugin to uncrustify the source code opened in the editor

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

#BBUncrustifyPlugin-Xcode

Xcode plugin to uncrustify the source code opened in the editor.

Requirements

Tested with Xcode 4.6.1 on 10.8.

Installation

  • 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.

How does it work?

  • 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.

How to customize the uncrustify configuration?

I recommend to use UncrustifyX. Overwite the file uncrustify.cfg with your own configuration and rebuild the plugin (and restart Xcode).

Creator

Benoît Bourdon (@benoitsan).

License

BBUncrustifyPlugin is available under the MIT license. See the LICENSE file for more info.

About

Xcode plugin to uncrustify the source code opened in the editor

License:MIT License


Languages

Language:Objective-C 100.0%