Community
Participate
Working Groups
Ooops ... Wrong button ... here is the description: in the formatter there is a checkbox on the New Lines tab that says clear all blank lines. I would like this changed so that you can clear all blank lines above a certain value. So If I set "keep" to 1 then anywhere the formatter encounters 2 blank lines in a row it will compress them to one blank line. Input: public class foo { /** some attribute. */ public int someAttr = 0; public foo() { // intitialize someAttr = -1; for (int idx=0; idx<1000;idx++) } } } With code keep blank lines = 1 it is .. public class foo { /** some attribute. */ public int someAttr = 0; public foo() { // intitialize someAttr = -1; for (int idx=0; idx<1000;idx++) } } } With code keep blank lines = 0 it is .. public class foo { /** some attribute. */ public int someAttr = 0; public foo() { // intitialize someAttr = -1; for (int idx=0; idx<1000;idx++) } } }
This is doable when the new code formatter preference page is ready.
Could you please check the new formatter preferences page in the latest integration build and let me know if it works as expected? Then I can close it.
This is done by changing the values for blank lines using the new code formatter preference page.
Fixed in HEAD.
Verified for 3.0M6