IntelliJ IDEA 2017.3 Help

Creating Folders and Grouping Run/Debug Configurations

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 are used to organize run/debug configurations. When not needed, they can be deleted, and the run/debug configurations grouped under those folders will be moved under the root of the corresponding run/debug configuration type.

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

To create a folder for fun/debug configurations

  1. Open the Run/Debug Configuration dialog box by doing one of the following:
    • On the main menu, choose Run | Edit Configurations.
    • With the Navigation Bar visible (View | Navigation Bar), choose Edit Configurations from the selector of run/debug configurations.
    • Press Shift+Alt+F10, then press 0 to display the Edit Configuration dialog box or select the configuration from the pop-up window and press F4.
  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 the default name.
  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 arrowUp and arrowDown toolbar buttons.
    • Press Alt+Up or Alt+Down.
  5. Apply changes. Note that if a folder is empty, it will not be saved.

To delete a run/debug configuration folder

  1. In the Run/Debug Configurations Dialog, 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.

To change order of folders

  1. In the Run/Debug Configurations Dialog, select one of the folders within a certain run/debug configuration type.
  2. Do one of the following:
    • On the toolbar, click arrowUp or arrowDown.
    • Press Alt+Up or Alt+Down.

    The selected folder moves one position up or down.

  3. Apply changes.
  4. After the dialog box is closed, 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 the type.
Last modified: 6 March 2018

See Also