473,395 Members | 1,456 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,395 software developers and data experts.

Need Code Beautifier for C++ with command line capabilities

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
Jul 22 '05 #1
1 2292
"Sparhawk" <Ka************@gmx.de> wrote in message
news:74*************************@posting.google.co 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
Jul 22 '05 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

3
by: Huibert | last post by:
How do I create a .MDE from a .MDB, in an automated way? I.e. I want to compile a series of files, created on A97 onto A2000. Converting to the A2000 version, that's a command line option, but...
9
by: happy | last post by:
I need to download Command line C compiler ASAP ? Where can I find the latest and moden one ?
6
by: RA | last post by:
Hi I have a windows form app and I need to execute a program when the user chooses an option. How do I start a program from code, with command line arguments and getting the return value from...
3
by: Red2 | last post by:
Hey all, I have a windows application that I need to pass command line arguments to. However I can't get it to work. Does anyone have any example on how to do this. I can get it to work on a...
4
by: magix | last post by:
Dear Guru, I'm not so good in file manipulation, but would like to seek for help here. I have following basic code of command line argument as starting point (the code below output the...
2
by: Averocean | last post by:
Hi all, I am very new to python language and I need help with command line using python. I want to write a piece of python code to execute some DOS command line but I don't know the...
6
by: Orin | last post by:
Hi! If anybody knows how to output formatted HTML code in command line with help of PHP (or other way), please help me. With best regards, Orin
0
by: cfps.Christian | last post by:
You could do something like split on spaces and take each parameter individually and put it in a loop containing a switch statement.
1
by: mcfly | last post by:
I have a set of python code written up in file.py. Within the code is about 5-6 different functions/sections. What I want to do is execute the python code from the Command Prompt, but only execute...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.