r/phpstorm • • 3d ago

help PhpStorm project folder keeps disappearing randomly - deleting .idea temporarily fixes it

My entire project folder randomly disappears from PhpStorm's Project panel, leaving only External Libraries and Scratches and Consoles.

Under Settings -> Directories, it shows "Nothing to show." The actual files are still on disk.

Deleting the .idea folder and reopening the project fixes it temporarily, but the issue keeps coming back. I've already done this 5–6 times.

Has anyone experienced this? Is it a known PhpStorm bug, and is there a permanent fix?

2 Upvotes

2 comments sorted by

2

u/eurosat7 3d ago

Clear cache folders and restart.

1

u/8ivek 1d ago

I already tried clearing the cache and restarting PhpStorm. It temporarily fixes the issue, but as soon as I close and reopen PhpStorm, the problem comes back, exactly like when I delete the .idea folder.

It's frustrating that such a disruptive issue keeps happening, and I haven't been able to find a permanent solution. I really hope someone from the phpstorm team can look into this.