44
votes

Is it possible in IntelliJ IDEA to show folders instead of packages in project view? There is such a feature in Eclipse: we can just switch from "package explorer" to "project explorer" and here we go.

To make it more clear:

I want to see packages as hierarchy of folders.

I wanna see this:
enter image description here

but instead I see this:

enter image description here

2

2 Answers

59
votes

Yes you can switch "View as" from Packages to Project.

Packages

Project

For expanding folders uncheck Compact Empty Middle Packages

enter image description here

18
votes

Simple, follow these steps and you should able to resolve the issue

Step 1

Then

Step 2

Done :-)