[ale] C++ indent/beautifier

Pete Hardie pete.hardie at sciatl.com
Mon Mar 8 15:07:20 EST 2004


Charles Shapiro wrote:
> 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.

Thanks, I'll give it a look.

BTW, does anyone else think it ironic that the source code for indent has not 
been run through indent?

-- 
Pete Hardie                   |   Goalie, DVSG Dart Team
     posting from, but not     |
     speaking for:             |
Scientific Atlanta, Digital Video Services Group



     - - - - - - -  Appended by Scientific-Atlanta, Inc.  - - - - - - -  
This e-mail and any attachments may contain information which is confidential, proprietary, privileged or otherwise protected by law. The information is solely intended for the named addressee (or a person responsible for delivering it to the addressee). If you are not the intended recipient of this message, you are not authorized to read, print, retain, copy or disseminate this message or any part of it. If you have received this e-mail in error, please notify the sender immediately by return e-mail and delete it from your computer.



More information about the Ale mailing list