Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

IntelliJ IDEA 12 Keep Blank Lines

I have this code:

private int a;

private int b;

private int c;

But when I reformat it with IntelliJ, it changes to this:

private int a;
private int b;
private int c;

How would I allow it to keep the blank lines?

But this code:

private boolean a;
private String s;

Should stay as it is.

like image 814
Ramus Avatar asked Jan 23 '13 10:01

Ramus


1 Answers

The problem is caused by the Rearranger bug, at the moment it doesn't honor the maximum blank lines setting. I've created the issue that you can follow for progress.

like image 159
CrazyCoder Avatar answered Sep 22 '22 18:09

CrazyCoder