You can remove unnecessary modules from your project. However, the files and folders that make up the corresponding modules are not physically deleted. Thus, 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.
- Open the Project tool window (e.g. ).
- Select the module to be removed.
-
Do one of the following:
- Select Remove Module from the context menu.
- Select Edit | Remove Module.
- Press Delete.
- Open the Project Structure dialog (e.g. Ctrl+Shift+Alt+S).
- In the left-hand pane, under Project Settings, select Modules.
- In the pane to the right, select the module to be removed.
-
Do one of the following:
-
Click
. - Select Delete from the context menu.
- Press Delete.
-
Click
- Click OK in the Project Structure dialog.