PyCharm 2017.3 Help

Creating Folders and Grouping Run/Debug Configurations

Introduction

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:

/help/img/idea/2017.3/py_run_config_folder.png

Creating folders of run/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 /help/img/idea/2017.3/arrowUp.png and /help/img/idea/2017.3/arrowDown.png toolbar buttons.
    • Press Alt+Up or Alt+Down.
  5. Apply changes. Note that if a folder is empty, it will not be saved.

Deleting folders

  1. In the Run/Debug Configuration dialog box, select a folder to be deleted.
  2. On the toolbar, click /help/img/idea/2017.3/delete.png. 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

  1. In the Run/Debug Configuration dialog box, select one of the folders within a certain run/debug configuration type.
  2. Do one of the following:
    • On the toolbar, click /help/img/idea/2017.3/arrowUp.png or /help/img/idea/2017.3/arrowDown.png.
    • Press Alt+Up or Alt+Down.

    The selected folder moves one position up or down.

  3. Apply changes.

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.

See Also

Last modified: 15 September 2017