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 Reformat Code option in the editor (Java Indentation Engine) is quite limited in the formatting options it provides. The following additional options would be nice to have: - newline before braces for class and method definitions, but not for other code structures (ifs etc. within the methods) - put throws (for method desclarations), extends and implements (for class declarations) clauses on a new line with a double indent. - any of the other options jrefactory's prettyprinter module (http://jrefactory.sourceforge.net/cspretty.html) offers.
The implementation lies in the Editor module
Set target milestone to TBD
Changing subcomponent to formatting.
The nb6 java formatter would seem to allow for all of these.
Yes, the formatter is much more powerful in NB 6. BTW editor folks - there are *a lot* of open issues, including DEFECTs, filed in the editor relating somehow to formatting which are obsolete and need to be reevaluated for NB 6. Time to do an Issuezilla sweep.