[haiku-commits] Re: r33824 - haiku/trunk/src/servers/app

  • From: Brecht Machiels <brecht@xxxxxxxxxxx>
  • To: haiku-commits@xxxxxxxxxxxxx
  • Date: Thu, 29 Oct 2009 12:05:06 +0100

Brecht Machiels wrote:
I know that for HTML there are tools (tidy for example) to clean up code. I'm sure there must be something similar for C++ code. It does have to be configurable to the Haiku guidelines though.

The following page lists a few tools:
http://www.softpanorama.org/Utilities/beautifiers.shtml#C++

Artistic Style[1] and GNU Indent[2] are probably the best candidates.

I'll have a go at configuring a Haiku style for one of these tonight...

Brecht

[1] http://astyle.sourceforge.net/
[2] http://www.gnu.org/software/indent/


Other related posts: