IntelliJ IDEA
 
Get IntelliJ IDEA
You are viewing the documentation for an earlier version of IntelliJ IDEA.

Modules

Last modified: 10 August 2022

File | Project Structure | Modules

Ctrl+Alt+Shift+S | Modules

project structure | Modules

Projects in IntelliJ IDEA contain of modules. A module is composed of the file that keeps internal representation of module settings and a content root, which stores your source code, resources, tests, and so on.

The Module page opens in the right-hand part of the Project Structure dialog when you select a module in the element selector pane.

Use the Sources tab to select the supported language level for Java and to configure the module contents.

the Sources tab
Language level

Use this list to select the Java language level for the module.

The left-hand pane

The left-hand pane shows a tree of folders for a module content root. If the module has more than one content root, the structure shown corresponds to the content root selected in the right-hand pane.

The right-hand pane

The right-hand pane shows the module content roots: a content root is a module root folder. Everything that has something to do with a module is stored within its content roots. A module can have more than one content root.