Skip to content

Manage project modules

If you need to have a multi-module project, create an empty project and put modules in it. Do not nest modules.
To learn how to create an empty project, see Create a new project.

Create a module

From the main menu

  1. Select File > New > Module on the main menu.
  2. In New Module continue from step 2 of Create a new project.

From the Project Structure window

The Project Structure window appears immediately after finishing the creation of an empty project, but it can also be opened with the Project Structure button .

Info

To toggle the display of the main toolbar, select View > Appearance > Toolbar on the main menu.

  1. On the toolbar, select IDE and Project Settings > Project Structure
  2. In the Modules panel, select Add on the middle panel toolbar.

    Or:

    Right-click inside the middle panel and select Add > New Module.

  3. In New Module continue from step 2 of Create a new project.

Delete a module

  • In the Project tool window right-click the module and select Remove Module.

Or:

  • In the Project tool window, select the module and press Del.

Or:

  1. On the main toolbar, select IDE and Project Settings > Project Structure.
  2. Select Project Settings > Module on the left menu.
  3. In the middle panel, select the module you want to delete.
  4. On the toolbar select Delete .

Or:

  1. Right-click and select Delete.

Or:

  1. Press `Alt+Del`.