Reputation: 3081
I do not know what happened with my PHP file in PhpStorm 2019.2.3, but it does not work with it as with php file. I mean lack of context help, code reformat etc...
Which options did I changes and how to restore it?
Actually that is problem with only 1 file, the rest are OK.
Upvotes: 0
Views: 223
Reputation: 26
you marked it as plain text. right click on the file and select mark as php
Upvotes: 1
Reputation:
You need to install PHP Extension on it and restart your PhpStorm
if already install PHP Extension then check on the right bottom and select PHP instead of Plain Text
Upvotes: 0
Reputation: 3043
You accidentally marked it as text, please check your Settings | Editor | File Types | Text for the filename.
Upvotes: 3