IntelliJ IDEA folders instead of packages in proje

2019-03-22 12:34发布

问题:

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:

but instead I see this:

回答1:

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

For expanding folders uncheck Compact Empty Middle Packages



回答2:

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

Then

Done :-)