Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > C++ > Need C++ Beautifier - must be VERY configurable

Reply
Thread Tools

Need C++ Beautifier - must be VERY configurable

 
 
Shug
Guest
Posts: n/a
 
      11-25-2006
Hi,

We need a C++ beautifier, and due to the specific requirements of some
of our developers, it has to be very configurable. After trying some
free ones, we now realise that we might need to pay to get the options
we need.

We've tried AStyle - good, but not nearly configurable enough.
We've tried GreatCode - very good - much more configurable, but still
missing a few options

I've heard recommendations of Semantic Designs product, but I'm not
sure if it's got the features we need.

We've previously used Jindent for Java, and it was absolutely perfect,
because it was so configurable. They appear to be thinking about a C++
product, and other language formatters, but they're not available yet.

Some options we need for our C++ are:

- must have a command line interface option - to run as an external
tool from our IDEs
- brace positioning for everything - try catch, if else, switch,
methods
- insert a user-configurable file header (e.g., insert an external
user-specified text file)
- insert user-configurable method headers
- can IGNORE the formatting of MACROS
- can specify spaces required everywhere - including between Class
names and Object names in method calls etc
- can format entire projects automatically

Any suggestions very much appreciated, especially from developers
already using such a beautifier.

Cheers

Shug

 
Reply With Quote
 
 
 
 
Roland Pibinger
Guest
Posts: n/a
 
      11-25-2006
On 25 Nov 2006 04:54:25 -0800, "Shug" wrote:
>We need a C++ beautifier, and due to the specific requirements of some
>of our developers, it has to be very configurable.
>
>We've tried AStyle - good, but not nearly configurable enough.
>We've tried GreatCode - very good - much more configurable, but still
>missing a few options


Haven't cross-checked your requirements but the following tool claims
to have '168 configurable options as of version 0.30'. If that's not
enough combine the 3 tools in a pipe. I guess more beauty is hardly
possible.

http://uncrustify.sourceforge.net/

Good luck,
Roland Pibinger
 
Reply With Quote
 
 
 
 
Shug
Guest
Posts: n/a
 
      11-26-2006

Roland Pibinger wrote:
> On 25 Nov 2006 04:54:25 -0800, "Shug" wrote:
> >We need a C++ beautifier, and due to the specific requirements of some
> >of our developers, it has to be very configurable.
> >
> >We've tried AStyle - good, but not nearly configurable enough.
> >We've tried GreatCode - very good - much more configurable, but still
> >missing a few options

>
> Haven't cross-checked your requirements but the following tool claims
> to have '168 configurable options as of version 0.30'. If that's not
> enough combine the 3 tools in a pipe. I guess more beauty is hardly
> possible.
>
> http://uncrustify.sourceforge.net/
>
> Good luck,
> Roland Pibinger


Thanks for your response Roland.

I had already searched in sourceforge for the usual terms, but that one
didn't come up.

I'll have a look at it later today - thanks again!

Shug

 
Reply With Quote
 
Shug
Guest
Posts: n/a
 
      11-29-2006

Roland Pibinger wrote:
> On 25 Nov 2006 04:54:25 -0800, "Shug" wrote:
> >We need a C++ beautifier, and due to the specific requirements of some
> >of our developers, it has to be very configurable.
> >
> >We've tried AStyle - good, but not nearly configurable enough.
> >We've tried GreatCode - very good - much more configurable, but still
> >missing a few options

>
> Haven't cross-checked your requirements but the following tool claims
> to have '168 configurable options as of version 0.30'. If that's not
> enough combine the 3 tools in a pipe. I guess more beauty is hardly
> possible.
>
> http://uncrustify.sourceforge.net/
>
> Good luck,
> Roland Pibinger


Thanks again for that link Roland.

Having used uncrustify for a few days now, I have to say it's the best
beautifier that we've looked at recently - better than AStyle and
GreatCode, and also better than a couple of commercial products.

Additionally, the developer has been very accomodating with suggestions
for new Features, suggesting that this app will continue getting better
and more configurable. I suppose the more people use it and
contribute, the better it will be all round.

So, Roland, thanks for suggesting Uncrustify.

And credit to the uncrustify developer, Ben, for a great app.

Shug

 
Reply With Quote
 
Shug
Guest
Posts: n/a
 
      11-29-2006

Roland Pibinger wrote:
> On 25 Nov 2006 04:54:25 -0800, "Shug" wrote:
> >We need a C++ beautifier, and due to the specific requirements of some
> >of our developers, it has to be very configurable.
> >
> >We've tried AStyle - good, but not nearly configurable enough.
> >We've tried GreatCode - very good - much more configurable, but still
> >missing a few options

>
> Haven't cross-checked your requirements but the following tool claims
> to have '168 configurable options as of version 0.30'. If that's not
> enough combine the 3 tools in a pipe. I guess more beauty is hardly
> possible.
>
> http://uncrustify.sourceforge.net/
>
> Good luck,
> Roland Pibinger


Thanks again for that link Roland.

Having used uncrustify for a few days now, I have to say it's the best
beautifier that we've looked at recently - better than AStyle and
GreatCode, and also better than a couple of commercial products.

Additionally, the developer has been very accomodating with suggestions
for new Features, suggesting that this app will continue getting better
and more configurable. I suppose the more people use it and
contribute, the better it will be all round.

So, Roland, thanks for suggesting Uncrustify.

And credit to the uncrustify developer, Ben, for a great app.

Shug

 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Need good configurable forum... suggestion? VB Programmer ASP .Net 1 10-14-2005 08:21 PM
Need Code Beautifier for C++ with command line capabilities Sparhawk C++ 1 11-23-2004 04:36 PM
Need good free beautifier other than Jalopy Tivo Escobar Java 6 10-01-2004 12:34 AM
Quick Book file access very very very slow Thomas Reed Computer Support 7 04-09-2004 08:09 PM
very Very VERY dumb Question About The new Set( ) 's Raymond Arthur St. Marie II of III Python 4 07-27-2003 12:09 AM



Advertisments
 



1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57