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.
NetBeans does a decent job of formatting plain PHP code, however it botches .phtml files. While it would be nice to have that fixed, that's a different ticket. What I'd like is to be able to format-on-save .php files but not .phtml files. Unfortunately, there is only one setting for "PHP" files that includes both. I want NetBeans to treat .phtml files as PHP with syntax checking and such, but I want separate on-save settings.