A minor issue, and really bad search term for google...
If you create a folder in the SRC folder (= package), and you create a class in it, all is fine. If you create a folder beside the class afterwards, still all is fine.
If you create a folder in the SRC folder, and then a folder in it, IntelliJ "concatenates" the path, and you cant reach the folder to create a class next to it. - wow, no way to understand this without an example :-)
Create Folder A
Create Folder A.A
Create Class A.A.c
Create Folder A.A.B
All fine, no problem to navigate...
But now try this:
Create Folder A
Create Folder A.A
Create Folder A.A.B
Create Class A.A.c
The last point is not that easy, there is no way to reach A.A in the tree anymore, the only clickable option is A.A.B (to e.g. create a class in it, which would be A.A.B.c)
I know, writing this possible took longer then just selecting "show in explorer" and creating the folder manually, but still, I am sure there is a switch for it :-)
In the project pane, click the gear in the top right corner, and un-select "compact empty middle packages".
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With