PhpStorm hides directories in Project window

前端 未结 13 1027
再見小時候
再見小時候 2021-02-06 21:38

I\'m using PhpStorm 6.0.3, and it doesn\'t show any directories in the Project Tool Window. They were there just a minute ago but I managed to make them disappear by clicking or

13条回答
  •  迷失自我
    2021-02-06 22:10

    My USB flash drive decided to randomly disconnect itself while I was opening up the project, then I plugged it back in and no directories were showing up. Just the default files like all the .git files, .htaccess, and the index.php.

    By going to File > Settings > Project: ProjectName > Directories. There was no longer any content root. I just had to click "Add Content Root" select my root folder and I was able to see everything again :)

    Also it seems people have excluded directories like their content root or individual files which can be managed through the same settings.

提交回复
热议问题