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.
use this code in JSP file: --------------------------------- <html> <head> <title></title> </head> <body> <div> <div> <table class="axial"> <tr> <td>${jdks}</td> </tr> </table> </div> </div>| </body> </html> ------------------------------- press Enter at position of "|" -> indentation is incorrect - you get: ------------------- ... </div> | ------------------- removing expression language (line <td>${...}</td>) seems to fix the problem
Integrated into 'main-golden', will be available in build *200906240201* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main-golden/rev/12c72cdad00f User: mkuchtiak@netbeans.org Log: #167228: resolve META-INF/wsdl folder by using J2EE persistence API
This issue is tricky. Reindent of whole file will always work. But for single line indent there are several optimization in place and one of them is causing this problem. Removing optimization would solve this issue but it may also have negative performance impact (in certain scenarios). The right fix would be to enhance optimization to cover this case as well. That's doable but non trivial - indentation code is very complex. So unless there are other case where this fails or there is a strong demand to fix this I'm putting this issue on hold.