Skip to content

hsarret/BBUncrustifyPlugin-Xcode

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

#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

Resources

License

Stars

0 stars

Watchers

1 watching

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages

  • Objective-C 100.0%