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.
[#201008310001, jdk1.6] to reproduce: ------------- 1) type into a .jsp: if (true) { } ERROR: the closing curly brace is not indented correctly.
This happens also with PHP and is really annoying. It has been broken atleast from version 6.9 and is still broken in 7.0. The description doesn't mention it, but the problem occurs when "Insert closing brackets automatically" is off.
If the problem is "Insert closing brackets automatically" is off, then this is a duplicate of this report here: http://netbeans.org/bugzilla/show_bug.cgi?id=158386 Since the original reporter did not specify this this is the case, I will not mark it as a duplicate.
This old bug may not be relevant anymore. If you can still reproduce it in 8.2 development builds please reopen this issue. Thanks for your cooperation, NetBeans IDE 8.2 Release Boss