IntelliJ IDEA folders instead of packages in proje

2019-03-22 12:49发布

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楼-- · 2019-03-22 13:16

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

Step 1

Then

Step 2

Done :-)

查看更多
趁早两清
3楼-- · 2019-03-22 13:30

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

Packages

Project

For expanding folders uncheck Compact Empty Middle Packages

enter image description here

查看更多
登录 后发表回答