mnish
mnish

Reputation: 3897

How to change package view in IntelliJ?

How can I change the package view like:

with dot to:

withou dot

in IntelliJ 12.1.4?

Upvotes: 24

Views: 33362

Answers (4)

Daniel Roussielle
Daniel Roussielle

Reputation: 55

Since they updated their UI, this is where you can expect to find it in IntelliJ IDEA 2023.1.

Screenshot showing IntelliJ IDEA 2023.1

Upvotes: 3

Carlos Ribeiro
Carlos Ribeiro

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

Menuka Ishan
Menuka Ishan

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.

IntelliJ IDEA 2017 none flatten packages

Upvotes: 14

JB Nizet
JB Nizet

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

Related Questions