Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

PhpStorm hides directories in Project window

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 shortkey on accident.

They are there in the file system - I see them in Windows Explorer, but they just don't show up in PhpStorm. I have checked the Jetbrains documentation, checked the scope and tried deleting the project-settings (.idea-dir), but to no avail.

Does anybody have a suggestion on how to show them again? Or where I might have screwed up the settings? Thanks!

like image 266
Jelmer Keij Avatar asked Jul 03 '13 10:07

Jelmer Keij


People also ask

How do you focus a project tool window?

Just select a file in the Project tool window and press the spacebar. The file will open in a popup, which is usually enough to look through the contents and decide whether you want to work with it or not. This is useful when you need to look through several files without exceeding the tab limit.

Which command is used to display hidden files in a directory?

First, browse to the directory you want to view. 2. Then, press Ctrl+h . If Ctrl+h doesn't work, click the View menu, then check the box to Show hidden files.

What does the project view show in the EDU tools?

Project view. This view displays all the project items along with their dependencies (SDKs and libraries). The emphasis is on the directory structure, although the packages are also shown.


3 Answers

removing the .idea folder, and restarting the app did the trick for me

like image 98
fallanic Avatar answered Oct 28 '22 16:10

fallanic


Have you changed the scope dropdown value by any chance?

scope dropdown

like image 29
deceze Avatar answered Oct 28 '22 15:10

deceze


So, it's now a couple of months later and made the same mistake. Only this time I made 1 directory disappear and was accidentally pointed in the right direction by PhpStorm itself. I excluded the directory from the project, so it didn't show up anymore. Apparently exluded dirs are not saved in the project settings since re-creating the project didn't help.

Here is how I found it back: File > Settings > Project settings > Directories There I saw my dir flagged with a red icon, meaning excluded. Just right-click it and click 'exclude' once again. Tadaaaa it's back.

I can't believe I've overlooked it so many times...

like image 34
Jelmer Keij Avatar answered Oct 28 '22 16:10

Jelmer Keij