php plugin php5/php4 extension?

Hey I was wondering why the PHP plugin did have just a plain .php extension? I'd like to open some of my php files with the plugin but can't quite figure out how to get it to work.
1 comment
Comment actions Permalink
Figured it out. If you go to File->Settings, under IDE Settings->File Types, you will see under Recognized File Types: PHP files (PHP), remove the php5 and php4 under Registered Patterns. Then go to HTML files, delete the *.php pattern and then go back to PHP files (PHP) and add *.php. Now your php files will opened with the php plugin and also you can create new ones with the .php extension. I was running Intellij IDEA Ultimate 12.0.2 on Windows 8 x64 Enterprise N

Please sign in to leave a comment.