2 comments

- Formatter. "Blank lines after last member" setting.


Do you mean the option "Blank Lines|Keep Blank Lines|Before '}'"? I've
set it to 0, but when I reformat my class

public class Foo {

public void bar() {
// note the two empty lines before the closing class-'}'
}


}

I get

public class Foo {

public void bar() {
// note the two empty lines before the closing class-'}'
}

}

instead of

public class Foo {

public void bar() {
// note the two empty lines before the closing class-'}'
}
}

Tom

0

Sorry Thomas we've fired too early. As the matter of fact this feature is
implemented in a new version of the formatter we haven't yet exposed to EAP.
Should be avaliable very soon though.

>> - Formatter. "Blank lines after last member" setting.
>>

Do you mean the option "Blank Lines|Keep Blank Lines|Before '}'"? I've
set it to 0, but when I reformat my class

public class Foo {

public void bar() {
// note the two empty lines before the closing class-'}'
}
}

I get

public class Foo {

public void bar() {
// note the two empty lines before the closing class-'}'
}
}

instead of

public class Foo {

public void bar() {
// note the two empty lines before the closing class-'}'
}
}
Tom



0

Please sign in to leave a comment.