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 current implementation of the formatter use current lexer that is going to be changed. So we need to rewrite the formatter as well.
Related to replacing Rhino, which was done a few years ago.