After spending nearly one hour to reformat some parts of my C++ code I ended up with a mess. Obviously one of the brackets got lost and the program could no longer be compiled. After looking through the web for tools which take-over the nasty job of formatting your code I found what I searched: Artistic Style (http://astyle.sourceforge.net/), a small and handy, but also powerful tool that formats your C,C++,C# or Java source code into a good looking piece of work. The option --style=ansi is doing exactly what I have tried to do manually without disturbing the source. Moreover, Artistic Style (1.21) can be installed conviniently via YUM on Fedora.
Popularity: 1%