ModuleWizardStep (@NotNull SettingsStep settingsStep) { if (settingsStep instanceof ProjectSettingsStep projectSettingsStep) { if (myProjectId != null) { final ModuleNameLocationSettings nameLocationSettings = settingsStep.getModuleNameLocationSettings(); String artifactId = myProjectId.getArtifactId(); if (nameLocationSettings != null && artifactId != null) { nameLocationSettings.setModuleName(artifactId); } } projectSettingsStep.bindModuleSettings(); } return super.modifySettingsStep(settingsStep); }