Menu

#92 Break after closing function brace

1.0
accepted
None
2023-01-27
2015-05-08
Matt
No

The breaking support is pretty good in Astyle, but here is one that is surprisingly missing:

Insert a newline after the closing brace of a function. So this:


void func1()
{
}
void func2()
{
}

becomes this:


void func1()
{
}

void func2()
{
}

You could also apply this logic to classes as well.

Thanks for this great product.

Discussion

  • Matt

    Matt - 2017-04-13

    Hi Jim, I see you've released some new versions but it appears there's been no movement on this. It seems like it'd be a simple addition. Any thoughts on it yet? Thanks.

     
  • Jim Pattee

    Jim Pattee - 2018-01-29

    Ticket moved from /p/astyle/bugs/362/

     
  • Matt

    Matt - 2020-04-11

    Hi Jim, any progress on this one? Thanks.

     
  • Jim Pattee

    Jim Pattee - 2020-04-13

    Nothing has been done on this. You can work on it if you want and send me the changes.

     
  • André Simon

    André Simon - 2023-01-27
    • status: open --> accepted
    • assigned_to: André Simon
    • Milestone: --> 1.0
     

Log in to post a comment.