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 - Scriplet curly bracket indentation broken
Summary: Scriplet curly bracket indentation broken
Status: RESOLVED WONTFIX
Alias: None
Product: javaee
Classification: Unclassified
Component: JSP (show other bugs)
Version: 7.0
Hardware: PC Mac OS X
: P4 normal (vote)
Assignee: Petr Jiricka
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-08-31 17:05 UTC by Martin Schovanek
Modified: 2016-07-07 08:55 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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