Community
Participate
Working Groups
I would like to have an option to remove blank lines before closing curly brackets. For example: public void hello() { System.out.println("Hello"); } would become: public void hello() { System.out.println("Hello"); }
No action planned.
I would like to see an option for this as well. I found this enhancement request as I was about to file a new one for removing blank lines between consecutive closing braces. The idea being that a lone curly brace on its own line is sparse enough to serve as suitable negative space. I can't immediately think of a scenario where removing blank lines between consecutive closing braces would yield different results from doing so before a single closing brace. Expanding on Andrew's example, the following: public class Greeter { public void hello() { System.out.println("Hello"); } } would become: public class Greeter { public void hello() { System.out.println("Hello"); } } I find it hard to imagine how someone would see the former as well formatted code. Is there a reason this was resolved as won't fix beyond there simply being no plan to work on it at the time?