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 190038

Summary: Scriplet curly bracket indentation broken
Product: javaee Reporter: Martin Schovanek <mschovanek>
Component: JSPAssignee: Petr Jiricka <pjiricka>
Status: RESOLVED WONTFIX    
Severity: normal    
Priority: P4    
Version: 7.0   
Hardware: PC   
OS: Mac OS X   
Issue Type: DEFECT Exception Reporter:

Description Martin Schovanek 2010-08-31 17:05:48 UTC
[#201008310001, jdk1.6]

to reproduce:
-------------
1) type into a .jsp:
    if (true) {
        }
ERROR: the closing curly brace is not indented correctly.
Comment 1 keso 2011-04-21 06:02:52 UTC
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.
Comment 2 MackSix 2011-09-28 09:38:35 UTC
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.
Comment 3 Martin Balin 2016-07-07 08:55:18 UTC
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