From 37c4505bd5d123e464c8d6f55da6c00a88595900 Mon Sep 17 00:00:00 2001 From: "Dmitry.Krasilschikov" Date: Wed, 12 Jan 2022 16:39:00 +0200 Subject: [PATCH] IDEA-286441 adding `customAdditionalOptions()` method it's needed to move some unpopular settings below the "advanced settings" group GitOrigin-RevId: 64d4a19d687aa8b752bb3bd42f76559489905e13 --- .../projectWizard/generators/IntelliJNewProjectWizardStep.kt | 3 +++ 1 file changed, 3 insertions(+) diff --git a/java/idea-ui/src/com/intellij/ide/projectWizard/generators/IntelliJNewProjectWizardStep.kt b/java/idea-ui/src/com/intellij/ide/projectWizard/generators/IntelliJNewProjectWizardStep.kt index c9cb7d3bc3ae..952aca8e87cd 100644 --- a/java/idea-ui/src/com/intellij/ide/projectWizard/generators/IntelliJNewProjectWizardStep.kt +++ b/java/idea-ui/src/com/intellij/ide/projectWizard/generators/IntelliJNewProjectWizardStep.kt @@ -133,11 +133,14 @@ abstract class IntelliJNewProjectWizardStep(val parent: ParentStep) } }.bottomGap(BottomGap.SMALL) }.topGap(TopGap.MEDIUM) + customAdditionalOptions() } } open fun Panel.customOptions() {} + open fun Panel.customAdditionalOptions() {} + private fun ValidationInfoBuilder.validateModuleName(): ValidationInfo? { if (moduleName.isEmpty()) return error(JavaUiBundle.message("module.name.location.dialog.message.enter.module.name"))