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.
Created attachment 144015 [details] screenshot of alighment mistake Code alignment breaks if you write dynamic JS into HTML script tag using PHP tags. USES AUTOMATIC FORMATING ALT+SHIFT+F See attachment archive for example screenshot and PHP-code
PHP tags are formatted with no indentiation. Example - before format: <script> alert('start'); <?php $a = 5; ?> alert('end'); </script> After format: <script> alert('start'); <?php $a = 5; ?> alert('end'); </script>