Is there any command line tool which can be used to beautify c++ file on ubuntu? If yes, can you please suggest one?
Thank you.
|
Is there any command line tool which can be used to beautify c++ file on ubuntu? If yes, can you please suggest one? Thank you.
| |||
|
feedback
|
|
astyle is quite good and in my experience does a much better as indent for C++. When you are familiar with Emacs you can also use that for automatic indention from the command line, a simple Emacs script for that would look like this:
| |||
|
feedback
|
|
http://www.faqs.org/docs/Linux-HOWTO/C-C++Beautifier-HOWTO.html should cover most topics of your problem:
| ||||
|
feedback
|