I have a problem with PhpStorm.
I created a file BlogPost
and forgot to write the .php
extension.
I renamed the file (BlogPost.php
) but the file was not recognized (in editor the PHP code was like a plain text). I deleted the file and created again as a PHP file the same thing.
If I rename the file something else everything is OK. If rename it back to BlogPost.php
the file is not recognized.
Where in PhpStorm keep tracks of this .... history ?
I am using PhpStorm 2018.1.
Try Settings | Editor | File Types | Text.