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: --------------------- <script type="text/javascript"> function f(){ var p = 10; if (p == ${var}){ } } </script> -------------------- invoke reformat -> result -> end brackets are reformatted incorrectly: -------------------- <script type="text/javascript"> function f(){ var p = 10; if (p == ${var}){ } } </script> --------------------
using more blocks like this one in one scriptlet shifts code more and more to the left side of the document try to reformat this code in JSP file: <script type="text/javascript"> function f(){ if (p == ${var}){ if (q == ${var}){ if (e == ${var}){ } } } } </script>
Fixed in changeset 61516a7c95c3.
verified. NetBeans IDE Dev (Build 081007)