If there are many modules in your project, you may want to arrange them in module groups.

The module groups can be nested, that is, a group can contain subgroups, the subgroups - lower-level subgroups, etc.

To create a group and add a module to it:

  1. In the Project Tool Window or in the Project Structure dialog, right-click the module of interest.
  2. In the context menu, select Move Module to Group, and then select New top-level group. As a result, a new (top-level) module group will be created, and the selected module will become its member.

    There are also the following options:

    Outside any group. If the selected module is currently a member of a module group, the module will be removed from that group.

    To new sub group. A new subgroup will be created in the selected group, and the selected module will be moved to this subgroup.

    To this group: The selected module will be moved to the selected module group.