This happens now and then and drives me crazy: Sometimes after doing a git merge from another branch, the project files are "lost", meaning getting the yellow background and the Directories folder in settings are empty.
I'm unable to add my project files again, unless I delete the whole .idea folder and restart PHPStorm. This works, but all my project settings are lost.
What to do??