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.
It would be nice if the 'Reformat Code' functionality aviable inside html editor would affect embedded javascript. Currently, ie. following code is not re-indented: <html> <head> <script type="text/javascript"> function validate_required(field,alerttxt) { with (field) { if (value==null||value=="") {alert(alerttxt);return false} else {return true} } } function validate_form(thisform) { with (thisform) { if (validate_required(email,"Email must be filled out!")==false) {email.focus();return false} } } </script> </head> <body> <body> </html> --- NetBeans IDE Dev (Build 200704161800) 1.6.0_01; Java HotSpot(TM) Client VM 1.6.0_01-b04 SunOS version 5.10 running on sparc en (nb); ISO646-US
*** This issue has been marked as a duplicate of 102058 ***
Hm,verified duplicate.