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.
Product Version = NetBeans IDE 7.2 (Build 201207171143) Operating System = Windows 7 version 6.1 running on x86 Java; VM; Vendor = 1.7.0_07 Runtime = Java HotSpot(TM) Client VM 23.3-b01 When I have HTML like: ... <div> <div> <?php echo $div_content; ?> </div> </div> ... and I run the formatter, it gets changed to ... <div> <div> <?php echo $div_content; ?> </div> </div> ... This is in conformance with my settings; I have Initial Indentation for PHP language set to 0. But in this case, when the PHP block is embedded in HTML, I would prefer it to be indented as in the first example so that the block's output starts at the proper indent level.