[go: up one dir, main page]

Skip to content

Comments are indented at every execution

Seen in 3.4.11 and 3.4.12

Each time we execute astyle, the comments are indented.

Example:

    /*
     * Line 1
     * Line 2
     */

After 1st execution:

    /*
         * Line 1
         * Line 2
         */

After 2nd execution:

    /*
             * Line 1
             * Line 2
             */

And so on ...

# astyle formatting options

# braces style
style=otbs                      # One True Brace Style

# indentation
indent-switches
max-continuation-indent=80

# padding
pad-oper
pad-header
align-pointer=name

# formatting
add-braces

# other options
recursive
ignore-exclude-errors
Edited by Johan Amiard