Reputation: 25
I want to create some folder structure in Intellij IDEA
IDE. But, when I am trying to create some folder in other folder, root folder renaming.
For example: There is a folder src/test/java
. I want to create folder com/tests
. com
folder renaming to com.tests
.
Why is it happening?
Upvotes: 1
Views: 725
Reputation: 2916
This is how IntelliJ IDEA
displays packages a per default.
To change it:
In your Project Browser, click the Settings
Button and deselect Compact empty Middle Packages
.
Upvotes: 5
Reputation: 417
To complete jörn-buitink's answer
There's a little gear on top of Project tab. If you press on that gear you will see Compact Empty Middle Packges
button. That's the one you want to deselect
Upvotes: 2