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.
Product Version = NetBeans IDE Dev (Build 201608150002) Operating System = Linux version 4.4.0-34-generic running on amd64 Java; VM; Vendor = 1.8.0_102 Runtime = Java HotSpot(TM) 64-Bit Server VM 25.102-b14 Reproducibility: Happens every time The editor does not mainain proper indentation when editing JSP files. In general, it behaves as if JSP scriplets do not factor in to the indentation. In the screen shot examples coming shortly, the indentation is correct when the "if" statement in JSP scriptlet is removed. Here are the steps that go along with the screen shots: 1. JSP scriptlet with "if" statement 2. <td></td> on a single line indented, cursor between <td> and </td> 3. Press enter 5. the td constructs outdent to match the other td before at the same level as the "if" 6. I think that the td should be indented from the "if"
Created attachment 161717 [details] IDE log
Created attachment 161718 [details] Before pressing enter
Created attachment 161719 [details] After pressing enter, indentation is wrong
Created attachment 161720 [details] Proper indentation
Reassigned to JavaEE folks for further evaluation.