Menu ▾ ▴

#82 Missing indentation on continuation line for method call

open-accepted
8 hours ago
2011-03-30
No

Sometimes it is necessary to break a like with a method call before the opening parenthesis.

Example:
void foo() {
....veryLongMethodName
........(veryLongParameter1,
.........veryLongParameter2);
....veryLongClassName
.........veryLongMethodName
........(veryLongParameter1,
.........veryLongParameter2);
}

Currently, the continuation line is not indented at all.

Discussion

  • Johannes Martin

    Johannes Martin - 2011-10-25

    Problem persists in astyle 2.02.

     
  • André Simon

    André Simon - 8 hours ago
    • status: open --> open-accepted
    • assigned_to: André Simon
     

Log in to post a comment.