Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > C++ > Need Code Beautifier for C++ with command line capabilities

Reply
Thread Tools

Need Code Beautifier for C++ with command line capabilities

 
 
Sparhawk
Guest
Posts: n/a
 
      11-23-2004
Hi,

I want to integrate a code beautifier for C++ in the development
process of my company. There are many beautifiers around which would
meet our formatting requirements (SourceFormatX, SourceStyler, ...)
but those are based on a GUI and thus require a developer to do this
extra-step before checking the code in.

We planned to include the beautifier as a post build step (from MS
VC++). To do this we would need a command line interface of the
beautifier.
SourceFormatX does not have one
SourceStyler seems to have one, but I can't test it before purchasing
and it seems to be very basic
PolyStyle has one but breaks my C++ code

I have the following requirements to a beautifier
a) has command line interface
b) allows formatting of whole folders with recursive option for
subfolders
c) ignores readonly files
d) command line allows using of a style file which was previously
defined
e) preferably allows to exclude specific files (such as
automatically generated headers)
f) does not need to be free but shouldn't cost 500$/license either

Does anyone know of a tool?

Any help is greatly appreciated,
Kay Eckernkamp
 
Reply With Quote
 
 
 
 
Ira Baxter
Guest
Posts: n/a
 
      11-23-2004
"Sparhawk" <(E-Mail Removed)> wrote in message
news:(E-Mail Removed) m...

> I want to integrate a code beautifier for C++ in the development
> process of my company. There are many beautifiers around which would
> meet our formatting requirements (SourceFormatX, SourceStyler, ...)
> but those are based on a GUI and thus require a developer to do this
> extra-step before checking the code in.
>
> We planned to include the beautifier as a post build step (from MS
> VC++). To do this we would need a command line interface of the
> beautifier.
> SourceFormatX does not have one
> SourceStyler seems to have one, but I can't test it before purchasing
> and it seems to be very basic
> PolyStyle has one but breaks my C++ code


See http://www.semanticdesigns.com/Produ...Formatter.html
Won't break your source code.

> I have the following requirements to a beautifier
> a) has command line interface

Check.

> b) allows formatting of whole folders with recursive option for
> subfolders

There's a GUI tool to establish a "project file" that has such a recursive
option. Once the project file is established, you can execute from
the command line.

> c) ignores readonly files

Leave them out of the project file.

> d) command line allows using of a style file which was previously
> defined

Style established on command line. You can of course
put this in a script.

> e) preferably allows to exclude specific files (such as
> automatically generated headers)

Leave them out of the project file.

> f) does not need to be free but shouldn't cost 500$/license either

Way under $500.00.


> Any help is greatly appreciated,
> Kay Eckernkamp



--
Ira D. Baxter, Ph.D., CTO 512-250-1018
Semantic Designs, Inc. www.semdesigns.com


 
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
diff multi-line whitespace to verify Beautifier output Shug C++ 5 06-12-2008 09:47 PM
Need C++ Beautifier - must be VERY configurable Shug C++ 4 11-29-2006 11:45 AM
C++ code beautifier groleo@gmail.com C++ 4 03-22-2005 07:45 PM
C/C++ code beautifier Diego Andres Alvarez Marin C++ 20 11-28-2004 05:03 PM
Need good free beautifier other than Jalopy Tivo Escobar Java 6 10-01-2004 12:34 AM



Advertisments