Answer the question
In order to leave comments, you need to log in
Why doesn't phpstorm recognize one php file?
phpstorm does not recognize one php file among many others (others are recognized normally in the same project and in the same folder). When you try to open a file, it opens in another text editor. If you rename it, then everything is OK. If you move it to another directory, then everything is also OK. Namely in this directory and with this name does not want. The problem arose long ago, after something accidentally clicked. To this day I can’t figure it out .. can anyone help?
Answer the question
In order to leave comments, you need to log in
I had such a problem. The bottom line is that the file (full name) was registered in the pattern to another type of files.
Open the same File -> Settings -> File Types,
and there look for your file in "Registered Patterns" among other data types.
Most likely he got into "Files opened in associated applications".
1. Open File -> Settings -> File Types
2. Find your file in this dialog
3. Remove it from the list and save the settings
Try to open the console (Win+R, then the text "cmd"), go to the project directory (using the command CD
). In the folder with the problem file execute DIR *.php /s /b
. This should print a list of files to the terminal. Look for the problematic file in the list. If it is on the list, then copy its name as a reply to this message
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question