@Override
  protected void doRunCurrentFile(@NotNull Project project,
                                  @NotNull RunnerAndConfigurationSettings runConfig,
                                  @NotNull DataContext dataContext) {
    String suggestedName = StringUtil.notNullize(((LocatableConfiguration)runConfig.getConfiguration()).suggestedName(),
                                                 runConfig.getName());
    List<String> usedNames = ContainerUtil.map(RunManager.getInstance(project).getAllSettings(), RunnerAndConfigurationSettings::getName);
    String uniqueName = UniqueNameGenerator.generateUniqueName(suggestedName, "", "", " (", ")", s -> !usedNames.contains(s));
    runConfig.setName(uniqueName);

    String dialogTitle = ExecutionBundle.message("dialog.title.edit.configuration.settings");
    if (RunDialog.editConfiguration(project, runConfig, dialogTitle, myExecutor)) {
      RunManager.getInstance(project).setTemporaryConfiguration(runConfig);
      super.doRunCurrentFile(project, runConfig, dataContext);
    }
  }
@Override
  protected void doRunCurrentFile(@NotNull Project project,
                                  @NotNull RunnerAndConfigurationSettings runConfig,
                                  @NotNull DataContext dataContext)