V
V
vladislav9972020-10-09 11:50:28
phpstorm
vladislav997, 2020-10-09 11:50:28

Why does PhpStorm see controller.php as a regular file, but the rest are fine?

Tell me why PhpStorm sees all PHP files normally, and when you edit it too, namely controller.php as a regular text file, but if you rename it to controller2.php, is it normal?
5f80244cb907f285449023.png

Answer the question

In order to leave comments, you need to log in

1 answer(s)
S
Sergey delphinpro, 2020-10-09
@vladislav997

First of all, invalidate the cache

screenshot
5f802ffde7916352322057.png

If it does not help, then look here.
File | Settings | Editor | File Types
Perhaps you accidentally added it to the text group
. In the most extreme case, exit the program and delete the .idea folder in the project. But this will also remove all custom settings for this project.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question