Uncrustify - Source Code Beautifier

For C, C++, C#, D, Java, and Pawn


The goals of this project are simple:
Create a highly configurable, easily modifiable source code beautifier.

Sourceforge project web site

Download Uncrustify 0.0.24 source

The change log is here.

What it does: See some example output.

Want to help?

The most helpful way is to try it out and give feedback.

Documentation and examples are available in the source tree, so check it out.

You can find a copy of the configurable parameters here.
Here is the config file for my favorite style. And one I set up for Linux.
And here is a before and after C source example.
That should give you a pretty good idea of what Uncrustify can do.

If you find a bug, please do the following:

If you want to add a feature, fix a bug, or implement missing functionality, feel free to do so!
Patches are welcome!

Here are some areas that need attention:


Portability

I'm pretty sure that I'm not using anything that is OS-specific.
The software has been tested on the following operating systems:

Links

$Id: index.html 400 2006-08-05 20:18:24Z bengardner $