Reputation: 671
It looks like all the PHP code is commented out (gray but still working)
How can I change it back?
Upvotes: 0
Views: 56
Reputation: 93738
Looks as if the *.php
pattern is assigned to Text file type; please check file patterns in Preferences | Editor | File types -> Text file type - can you see *.php
there? Removing it and re-assigning it to PHP file type should help
Upvotes: 1
Reputation: 2395
Looking at generic file type icons in file tree, you might have disassociated .php
extension from PHP type, as understood by PhpStorm.
Check Settings > Editor > File Types > PHP > Registered Patterns
Upvotes: 2