Sometimes I close folder/package in Project Tool Window and then I should click every folder in it to open them . How to avoid this and open all folders/packages quickly?
You can collapse or expand all root-level layer groups by holding down Cmd + click on the triangle icon. Hold down Cmd + Opt + click on the triangle icon will collapse or expand all level layer groups.
From the main menu, select File | Project Structure Ctrl+Alt+Shift+S and click Modules. Select the necessary module and open the Sources tab. to the right of the necessary folder (folder path). Specify the path relative to the output folder root, and click OK.
Just simply uncheck flatten modules, flatten package on right-click on PACKAGE drop-down. Save this answer.
To change settings of a module that hosts the file you are currently editing, just press Alt+F1, 7 or open the View menu, select Select In and click Project Structure. IntelliJ IDEA will open the Project Structure dialog and jump to the required module.
Also see IDEA guide about Title bar context menu and customize project window as you need.
Navigate to any folder / package by name! Use the shortcut Shift+Ctrl+N(on Mac ⇧+⌘+N) in the pop-up window type name of folder / package, and end of name add /, for example src/
. See here guide for more understanding.
Use the great feature Speed Search for quick navigation:
And also use shortcut Alt+1 to open, Shift+Esc to hide Project Tool Window.
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