Menu

#340 Wrong indentation of function arguments

closed-fixed
None
2017-01-14
2015-02-05
No

It looks like the indentation for function arguments is screwed up when the line gets to long. No arguments needed for astyle to reproduce the problem.

void doSomething()
{
    m_thismustbethatlong = my_func_12345678(m_BookmarkManager,
                                            i18n("&Bookmarks"),
                                            this);
    m_thismustbethatlong = my_func_123456789(m_BookmarkManager,
                           i18n("&Bookmarks"),
                           this);
}

Tested with 2.04 from openSUSE and svn HEAD (r461)

Discussion

  • Jim Pattee

    Jim Pattee - 2015-02-09

    Increase the value of max-instatement-indent.

     
  • Jim Pattee

    Jim Pattee - 2015-02-09
    • status: open --> open-fixed
    • Priority: 5 --> 7
     
  • Jim Pattee

    Jim Pattee - 2017-01-14
    • status: open-fixed --> closed-fixed
     

Log in to post a comment.