Does anyone know of a way to autoformat C/C++ code in Dev-C++? I can't seem to locate a formatting/beautification utility.
Thanks,
Josh
P.S. Sorry for the cross-post; I'm not getting an answer in dev-cpp-users.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Anonymous
-
2007-08-22
Write it beautiful in the first place! ;-)
Dev-C++ has no such facility. When I am dealing with 'foreign' code that needs formatting to my preferences I use MS Visual C++ 2005 Express Edition (free), or CodeWright (very not free). You might also try using GC GreatCode ( http://sourceforge.net/projects/gcgreatcode/ ), but personally I find that far too fussy and complex for most tasks.
Clifford
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Artistic Style 1.21 found on Source Forge works fairly well. Set it up under configure tools in Dev.
My parameters are: --style=kr --pad=oper <SOURCENAME> Check the docs for all the details. Your updated file must be saved for it to be modified.
Ed
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Does anyone know of a way to autoformat C/C++ code in Dev-C++? I can't seem to locate a formatting/beautification utility.
Thanks,
Josh
P.S. Sorry for the cross-post; I'm not getting an answer in dev-cpp-users.
Write it beautiful in the first place! ;-)
Dev-C++ has no such facility. When I am dealing with 'foreign' code that needs formatting to my preferences I use MS Visual C++ 2005 Express Edition (free), or CodeWright (very not free). You might also try using GC GreatCode ( http://sourceforge.net/projects/gcgreatcode/ ), but personally I find that far too fussy and complex for most tasks.
Clifford
Artistic Style 1.21 found on Source Forge works fairly well. Set it up under configure tools in Dev.
My parameters are: --style=kr --pad=oper <SOURCENAME> Check the docs for all the details. Your updated file must be saved for it to be modified.
Ed