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.

Bug 238576

Summary: Add separate On Save settings for .phtml files
Product: php Reporter: dharkness <dharkness>
Component: Formatting & IndentationAssignee: Ondrej Brejla <obrejla>
Status: NEW ---    
Severity: normal    
Priority: P3    
Version: 7.4   
Hardware: PC   
OS: Linux   
Issue Type: ENHANCEMENT Exception Reporter:

Description dharkness 2013-11-19 22:51:21 UTC
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.