CLion 2019.1 Help

Change Configuration Templates

For a run/debug configuration of a particular type, you can set up the default values for one or more parameters and save them as a template for further usage. In this case, the next time when you create a new configuration of that type, the corresponding fields of the dialog will already contain the specified values.

Set up the default values for a run/debug configuration

  1. On the left pane of the Run/Debug Configurations Dialog, select the Templates node.

  2. To disable the automatic generation of the run configurations for the new targets, deselect the Generate run configurations for new CMake targets automatically checkbox of the right pane.

  3. To disable the automatic deletion of the run configuration for missing or obsolete targets, deselect the Delete run configurations for missing CMake targets automatically checkbox.

  4. To enable the silent start of a new process, deselect the Confirm rerun with process termination checkbox of the right pane. Otherwise, the system will prompt for your confirmation for launching a new process while the other process is running.

  5. Specify the maximum number of temporary configurations to be stored and shown in the Select Run/Debug Configuration list in the Temporary configurations limit field of the right pane. Do nothing to keep the default value of 5 configurations.

    Changing Run/debug defaults

  6. In the left-hand pane of the run/debug configuration dialog, expand the Templates node.

  7. Select the desired configuration type under the Templates node. The corresponding configuration template appears in the right-hand pane.

  8. Select the desired configuration type.

  9. Specify the desired parameters in the right pane and click Apply to save the template.

Last modified: 24 July 2019

See Also