IntelliJ IDEA 2017.2 Help

Creating Folders and Grouping Run/Debug Configurations

On this page:


When there are too many run/debug configurations of the same type, you can put them into directories, and thus make them visually distinguishable.

Folders area used to organize run/debug configurations. When not needed, they can be deleted, and the run/debug configurations under those folders just pass under the root of the corresponding type.

Once grouped, the run/debug configurations appear in the drop-down list under the corresponding folders:

Creating folders of run/debug configurations

To create a folder of run/debug configurations

  1. Open Run/Debug Configuration dialog box.
  2. In the Run/Debug Configuration dialog box, click folder on the toolbar. A new empty folder is created.
  3. Specify the folder name in the text field to the right, or accept default.
  4. Select the desired run/debug configuration of a certain type, and move under the target folder. This can be done in one of the following ways:
    • Use drag-and-drop.
    • Use the toolbar buttons arrowUparrowDown.
    • Press Alt+Up or Alt+Down.
  5. Apply changes. Note that the folders of run/debug configurations should not be empty. The empty folders are not saved.

Deleting folders

To delete a folder

  1. In the Run/Debug Configuration dialog box, select a folder to be deleted.
  2. On the toolbar, click delete. The selected folder is deleted silently. Any run/debug configurations grouped under this folder, are moved under the root of the corresponding type.
  3. Apply changes.

Changing order of folders

To move folders up or down

  1. In the Run/Debug Configuration dialog box, select one of the folders within a category of run/debug configurations.
  2. Do one of the following:
    • On the toolbar, click arrowUp or arrowDown.
    • Press Alt+Up or Alt+Down.

    The folder in question moves one position up or down.

  3. Apply changes.

After closing the dialog box, groups of run/debug configurations in the run/debug configurations selector on the main toolbar appear in the order achieved by moving folders up or down within a category.

Last modified: 29 November 2017

See Also