Everything was working fine until now, and all the files I was creating as .php
was being converted to .php
file with detecting, coloring and auto-correcting open. I used to create files as created I User.php
instead of `User.
PhpStorm randomly started recognising .php
extension as plain text and without extension as php file.
However, now something happened and it is shown as (see Profile is not detected asphp
file):
and is shown as a plain text file:
When I remove the .php
, it gets detected:
And then it gets detected as PHP
file , but then it doesn't show the extension in the Finder
Found my answer.. Settings > File Types > Check under PHP and Text and delete Profile