Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to expand folded package chain in Intellij IDEA?

People also ask

How do I expand all folders in IntelliJ?

Just click the tree item you want to expand (for example src ) in project view, press and hold the * key and all nodes will be expanded pretty quickly.

How do I expand a project in IntelliJ?

Expand or collapse code elements To collapse or expand all code fragments, press Ctrl+Shift+NumPad - / Ctrl+Shift+NumPad + . IntelliJ IDEA collapses or expands all fragments within the selection, or, if nothing is selected, all fragments in the current file, for example, all methods in a file.

How do I change folder structure in IntelliJ?

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.

How do I view packages in IntelliJ?

Invoke package search Depending on a build tool in your project, open the appropriate build script in the editor. Press Alt+Insert and in the list that opens, select Add dependency. In the Dependencies tool window, search for the dependency you need, select it the list of search results and click Add.


Uncheck "Hide Empty Middle Packages" under the Project View settings dropdown:

Hide Empty Middle Packages


As another solution of how to create another file in the intermediate package:

Use expanded hierarchy of packages on the top of the window as shown below As shown below


Or you just can right-click on left-sided project tab and pick "Compact Middle Packages"