Reputation: 3897
How can I change the package view like:
to:
in IntelliJ 12.1.4?
Upvotes: 24
Views: 33362
Reputation: 55
Since they updated their UI, this is where you can expect to find it in IntelliJ IDEA 2023.1.
Upvotes: 3
Reputation: 150
In Intellij click on the gear icon on the left side of the window, select Tree Appearence and then Flatten Packages and Compact Middle Packages.
Upvotes: 1
Reputation: 5514
This screen shot taken from IntelliJ IDEA 2017. Most of the time the answer will be same on every Intellij IDE. As JB mentioned this should solve your problem. This screen shot will help a beginner find it easily.
Upvotes: 14
Reputation: 692191
Click on the gear icon at the top right on the package view, and make sure that "Flatten Packages" and "Compact empty middle packages" are unchecked.
Upvotes: 51