I’ve mentioned a number of Xcode plugins that can be found over on the Xcode plugin listing.
Here’s an Xcode plugin submitted by Travis Jeffrey that makes it easy to format your code using the Clang formatting tool in Xcode called ClangFormat-Xcode.
ClangFormat-Xcode provides easy access to the built-in LLVM, Google, Chromium, Mozilla, and Webkit styles or custom formatting based upon your own configuration file.
You’ll also find a handy tip in the readme on how to set it up so that ClangFormat-Xcode automatically runs on save.
Here’s an image from the readme showing ClangFormat-Xcode in action:
You can find ClangFormat-Xcode on Github here.
A handy plugin for formatting your code.
- Xcode Code Formatter Tool Enabling Automatic Code Formatting Based On A Custom Rule Set
- Xcode Plugin Providing Easy Use Of The Uncrustify Code Beautification Tool
- Tool: Xcode Plugin That Adds Easy Xcode Plugin Management To The Edit Menu
- Easy Guide For Proper Objective-C Memory Management
- Xcode Plugin Providing A Convenient Way To Manage Plugins, Templates And Color Schemes
Original article: An Xcode Plugin Enabling Easy Use Of The Clang Source Code Formatting Tool
©2014 iOS App Dev Libraries, Controls, Tutorials, Examples and Tools. All Rights Reserved.