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.
Provide feature to reformat all sources of project, not only one current opened file in editor. It takes a lot of time to open all classes one by one and reformat it.
I would prefer this to act like the PMD plugin: running it on a file does just that file, but you can also run it on a node in the project window using right-click, Tools. This lets you apply formating to individual classes, packages or directories.
I missed this functionality in multiple project already. Right now, i started to work in a new project with around 500 java source files. Most of them are quite ugly: * using spaces before tabs in the indentation * being inconsistent in brackets usage within files ... This could be an alternative, until it is supported by Netbeans its self: http://sourceforge.net/projects/jalopy/ though the comments seem to suggest it currently does not work with NB.
The Source/Format action should work on packages, folders, source groups and projects after: http://hg.netbeans.org/jet-main/rev/4c9f73dec36b
nice! thanks! :-) looking forward to test this in the next release with a few libraries.
*** Bug 209370 has been marked as a duplicate of this bug. ***
*** Bug 125051 has been marked as a duplicate of this bug. ***
*** Bug 201564 has been marked as a duplicate of this bug. ***