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.
Bug 218843 - [73cat] Formatter category "braces" for Javascript (edit)
Above is a similar bug. Seems like it could be taken from PHP almost one-to-one.