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.
Summary: | Provide feature to reformat all sources of project | ||
---|---|---|---|
Product: | editor | Reporter: | Vladimir Yaroslavskiy <yaroslavskiy> |
Component: | Formatting & Indentation | Assignee: | Dusan Balek <dbalek> |
Status: | RESOLVED FIXED | ||
Severity: | blocker | CC: | alexin, jlahoda, shiretu |
Priority: | P2 | ||
Version: | 6.x | ||
Hardware: | All | ||
OS: | All | ||
Issue Type: | ENHANCEMENT | Exception Reporter: |
Description
Vladimir Yaroslavskiy
2005-10-24 10:19:51 UTC
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. *** |