This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.
The Code Formatter tool doesn't offer enough flexibility in controlling how Code is formatted {} spacing new lines etc. Eclipse offers many more options to customize the code formatting of Java code etc.
*** Issue 72635 has been marked as a duplicate of this issue. ***
This is probably FIXED in 6.0?
As far as I am concerned, it is basically fixed. I really like the formatting features in 6.0. I haven't really thought much about the formatting features in a while, which probably means they are working for me. However, I would still really like to see 106815 fixed. My preferred spacing is: package <blank line> imports <blank line> Class name <blank line> variable group [<blank line> variable group]... <blank line> First constructor Netbeans removes most of these blank lines, although some are configurable. Maybe the option should be "at least X lines" between things. That way, if I add a line for readability, it is not removed by the reformatter.
Ok, I'm marking this as FIXED. The issue #106815 is open and will be addressed separately. Thanks