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 123546

Summary: A hint to convert HTML file to PHP
Product: php Reporter: Tomasz Slota <tslota>
Component: EditorAssignee: Andrew Korostelev <akorostelev>
Status: VERIFIED INVALID    
Severity: blocker CC: polan
Priority: P3    
Version: 6.x   
Hardware: All   
OS: All   
Issue Type: ENHANCEMENT Exception Reporter:
Bug Depends on: 123545    
Bug Blocks:    

Description Tomasz Slota 2007-12-06 09:34:16 UTC
The IDE should hint to change the file extension to PHP if there seems to be some PHP syntax in it. For example when the user starts typing PHP script 
opening tag.

When changing the file extension it would be highly desirable to automatically update all the references to it (see issue 123545).
Comment 1 polan 2008-08-08 09:10:12 UTC
PHP file can have html (or any other) extension if the server allows it. It is not desireable to support this.
Comment 2 Mikhail Matveev 2008-10-23 13:22:12 UTC
I agree.