I am wondering if anybody can point me to a good, free C++ formatter/beautifier. I'm looking for something that offers the level of control that the Unix/Linux 'indent' program provides, but for C++ (indent has some quirks when applied to C++). I have spent a while Googling for something along these lines, but haven't come up with anything, only various very basic formatting programs like Artistic Style. It would be best if someone could point me to an open-source program, but I'm willing to work with something that's free .
Re: C++ formatter/beautifier?
This is a parsing tool and a universal source code generator that interprets a scripting language. The language provides the function
If you just have a file to indent, write a single-line script, called "indent.cws" for instance:
If you have more files to indent, change "indent.cws" to:
forfile i in "*.cpp" indentFile(i);
forfile i in "*.h" indentFile(i);
|Thread Tools||Search this Thread|
|Similar Threads for: "C++ formatter/beautifier?"|
|Thread||Thread Starter||Forum||Replies||Last Post|
|Scrivener: Ebook formatter and converter?||tHeDa!||Ebooks||7||04-03-2012 12:27 PM|