Summary: | formatter - remove blank lines before closing } | ||
---|---|---|---|
Product: | [Eclipse Project] JDT | Reporter: | Andrew Freeman <andy.w.freeman> |
Component: | Core | Assignee: | Olivier Thomann <Olivier_Thomann> |
Status: | RESOLVED WONTFIX | QA Contact: | |
Severity: | enhancement | ||
Priority: | P3 | CC: | gunnar, ian |
Version: | 3.1 | ||
Target Milestone: | 3.3 RC4 | ||
Hardware: | PC | ||
OS: | Windows XP | ||
Whiteboard: |
Description
Andrew Freeman
2005-04-20 12:52:57 EDT
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? |