When IDEA creates a package, the directory hierarchy is displayed

When creating packages in idea, we want to create layer-by-layer packages, but they are piled up together. This problem can be solved by unchecking Compact Middle Packages.

When I create a multi-level directory:

The effect I want:

 

However, it looks like this:

solution:

1. Click Settings in the small panel on the left

2. Find Compact Middle Packages in Tree Appearance

Operation effect:

Guess you like

Origin blog.csdn.net/m0_70807708/article/details/124772083