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.
Eclipse has a functionality to automatically format the code of a file on saving. Since there's already an auto format function, it looks to me like it's possible to include such a feature in Netbeans. Would be a very nice addition to an already great IDE
*** This bug has been marked as a duplicate of bug 140719 ***