Apply the default style of 4 spaces per indent and no formatting changes
Apply the Java style with attached braces
Apply the allman style with broken braces
Apply a custom indent using spaces. Choose between 2 and 20 spaces
Apply a custom indent using tabs. Choose between 2 and 20 tabs
astyle [options] File1 [File2] [...]
Artistic Style (or astyle) is a source code indenter, formatter and beautifier, written in C++. It handles the following programming languages:
For the full usage, please refer to the HTML documentation provided with this distribution in /usr/share/doc/astyle/html
Please note that when indenting a specific file the newly indented file retains the original filename, while a copy of the original file is created, with a suffix of ".orig" added to the original filename.
indent(1) http://astyle.sourceforge.net/ http://www.sourceforge.net/projects/astyle/ http://packages.debian.org/astyle
Artistic Style was originally written by Tal Davidson <email@example.com> and is currently maintained by Jim Pattee <firstname.lastname@example.org>.
This stub manual page was written by Matteo Cypriani <email@example.com> for the Debian project.