Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

PHPStorm can't open js file

I'm using SVN 1.7 with a PHPStorm project and today I've created a js file in my project then a while after I deleted it. I created it again later and I couldn't open it at all.

It has a small question mark next to its file name, and nothing happens if I try to open it in PHPStorm. (I can create new files next to it with same extension and they don't have this problem).

Screenshot

I can open it using external tools (notepad++, etc), I can delete it from PHPStorm as well.

Other people using my SVN repository can open it. I tried to create new project from the repository into new folder, but the problem was still there for that single file.

like image 794
TomDerone Avatar asked Mar 20 '23 21:03

TomDerone


1 Answers

I think I have a solution to this. I had a similar problem in my PHPStorm configuration. If you clear PHPStorm's cache in File->Invalidate Caches/Restart menu option, it will again let you open the file.

http://i.stack.imgur.com/6Y7sS.png

like image 152
Kevin Cook Avatar answered Mar 22 '23 22:03

Kevin Cook