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 Options, Java Code, Formatting options allow you to specify how many blank lines should be before and after various code elements. The problem is I don't always want to do the same thing. For instance if fields are related I don't put in blank line between them, if they are not related I do put a blank line in. I would like to tell the formatter to not change blank lines before or after fields. I tried setting the field before and after options to blank and to -1 but both were treated as if 0 was specified.
Netbeans 6.1 java formatter leaves blank lines unchanged