IntelliJ IDEA 2017.1 Help

Removing Modules from a Project

Overview

You can remove unnecessary modules from your project. However, the files and folders that make up the corresponding modules in that case are not physically deleted. So the modules you have removed from a project can later be added to the same or a different project.

To remove a module, you can use the Project tool window or the Project Structure dialog.

Removing a module in the Project tool window

  1. Open the Project tool window (e.g. View | Tool Windows | Project).
  2. Select the module to be removed.
  3. Do one of the following:
    • Press Delete.
    • Select Remove Module from the context menu.
    • Select Edit | Remove Module.

Removing a module in the Project Structure dialog

  1. Open the Project Structure dialog (e.g. Ctrl+Shift+Alt+S).
  2. Select Modules, and then select the module to be removed.
  3. Do one of the following:
    • Press Delete.
    • Click /help/img/idea/2017.1/delete.png.
    • Select Delete from the context menu.
  4. Click OK in the Project Structure dialog.

See Also

Last modified: 18 July 2017