Get Updates By E-mail 

Article Written By:
Johann Dowa

An Xcode Plugin Enabling Easy Use Of The Clang Source Code Formatting Tool

  •  
  •  
  •  
  •  
  •  

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:

Xcode Clang Formatting Plugin

You can find ClangFormat-Xcode on Github here.

A handy plugin for formatting your code.


  •  
  •  
  •  
  •  
  •  

Submit A Resource

Have you created a useful tutorial, library or tool for iOS development that you would like to get in front of our 300,000+ monthly page views from iOS developers?

You can submit the url here.

The resources we feel will appeal to our readers the most will be posted on the front page.

Comments