Search code examples
viewintellij-ideapackagedirectory

IntelliJ IDEA folders instead of packages in project view


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


Solution

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

    Packages

    Project

    For expanding folders uncheck Compact Empty Middle Packages

    enter image description here