void ( @NotNull RunConfiguration configuration, @NotNull ConfigurationContext context ) { RunnerAndConfigurationSettings template = context.getRunManager().getConfigurationTemplate(getConfigurationFactory()); final RunConfiguration original = template.getConfiguration(); if (original instanceof ExternalSystemRunConfiguration originalRC && configuration instanceof ExternalSystemRunConfiguration configurationRC) { String currentParams = configurationRC.getSettings().getScriptParameters(); String defaultParams = originalRC.getSettings().getScriptParameters(); if (!StringUtil.isEmptyOrSpaces(defaultParams)) { if (!StringUtil.isEmptyOrSpaces(currentParams)) { configurationRC.getSettings().setScriptParameters(currentParams + " " + defaultParams); } else { configurationRC.getSettings().setScriptParameters(defaultParams); } } } }