Raw
Raw

Reputation: 675

How to directly show the Maven directory in Intellij Idea?

enter image description here enter image description here

Here is the Maven project structure in Intellij Idea, it should be clicked one by one to unfold, how to show the Maven directory like in Eclipse as shown above.

I have selected the Flatten Packages option.

enter image description here

Upvotes: 0

Views: 57

Answers (1)

glytching
glytching

Reputation: 47895

Click on the gear icon in the Project Files view and select Flatten Packages.

Here's a screenshot:

enter image description here

Note: you must be in the Project Files view not in the Project view. See this screenshot:

enter image description here

More details in the docs.

Upvotes: 1

Related Questions