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.
Reformatting of a JSP or HTML page that contains embedded JavaScript causes the JavaScript to lose all indentations. Reformatting worked correctly with 6.0, but does not work right with 6.1 Beta 1. See the examples of 6.0 and 6.1 below. Marking as a P1 due to being a regression. Formatting with 6.0: ----------- <html> <head> <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> <title>JSP Page</title> <script> function test() { alert("test"); } </script> </head> <body> <h2>Hello World!</h2> </body> </html> Formatting with 6.1 Beta 1: ----------- <html> <head> <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> <title>JSP Page</title> <script> function test() { alert("test"); } </script> </head> <body> <h2>Hello World!</h2> </body> </html>
Martine, can you please evalue this one? May be related to your changes in js formatting. Reassign to Tomasz if not yours.
This is already fixed.
verified. NetBeans IDE 6.1 (Build 200804210003)