[ale] C++ indent/beautifier
Charles Shapiro
cshapiro at nubridges.com
Mon Mar 8 15:02:40 EST 2004
Around here we use astyle (http://sourceforge.net/projects/astyle). It
ain't too terribly sophisticated or nothin', but it seems to Do The Job
on Java and C. It's written in C++ and claims to handle that language
as well.
The controls are pretty crude. For example, you get a choice of three
ways to handle brackets but you can't actually create a brand-new way
(the best of the three ways only approximates what I
really want to see).
If you can get it to do what you want, it seems reliable. At least it
hasn't mangled any of the Java source I've thrown at it. It's GPLed,
so if you are ambitious you could probably code up a proper
configuration language for it.
-- CHS
On Mon, 2004-03-08 at 14:48, Stephan Uphoff wrote:
> Geoffrey wrote:
> > Pete Hardie wrote:
> > > All,
> > >
> > > Anyone know of a good C++ code beautifier? I've got indent, but it
> > > explicitly excludes C++ support. cb isn't full-featured enough
> > > (shades of Jane Russell!) , etc.
> >
> > You can't beautify something so ugly. :) (shades of Phyllis Diller)
>
> People in Perl houses shouldn't throw stones.
>
> :-)
> Stephan
>
> _______________________________________________
> Ale mailing list
> Ale at ale.org
> http://www.ale.org/mailman/listinfo/ale
More information about the Ale
mailing list