#228 Function parameter alignement returns to the line


AStyle indents C/C++ code well but is a bit too restrictive.

For instance, it transforms ...
function arguments aligned to the right of the end of the function name
... to ...
function arguments aligned to the left of the begining of the function name

--> see joined picture for more information.

I think the final code is less readable than the original one.
Adding an option to align functions arguments based on right of function name would be very nice.


1 Attachments


  • Jim Pattee

    Jim Pattee - 2013-10-09
    • status: open --> open-fixed
    • Priority: 4 --> 7
  • Jim Pattee

    Jim Pattee - 2013-10-09

    Try increasing the max in-statement indent.

  • Jim Pattee

    Jim Pattee - 2013-11-05
    • status: open-fixed --> closed-fixed

Log in to post a comment.

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:

No, thanks