Menu

#186 Split "Blank lines before right curly brace" in tw

open
nobody
Core (38)
5
2005-12-15
2003-05-05
No

It would be a nice feature if the setting "Blank lines
before right curly brace" could be split into two settings.
One that apply when the curly brace is alone on the line
and one that apply when it's not.

This way you could format the following code correctly:

if (a > 0) {

d = c;
b = a;

if (d == 0) {

a = b;
c = d;

} else {

a = 0;
b = 0;
c = 0;
d = 0;
}
}

Discussion

  • Joakim Kemeny

    Joakim Kemeny - 2003-05-05
    • labels: --> Core
     
  • Joakim Kemeny

    Joakim Kemeny - 2004-05-08
    • status: open --> pending
     
  • S

    S - 2005-12-15
    • status: pending --> open
     
  • S

    S - 2005-12-15
    • summary: Split "Blank lines before right curly brace" in two --> Split "Blank lines before right curly brace" in tw
     

Log in to post a comment.

MongoDB Logo MongoDB