Module (@NotNull Project project, @Nullable ModifiableModuleModel model) { Module module = super.commitModule(project, model); if (module != null) { RunManager runManager = RunManager.getInstance(project); RunnerAndConfigurationSettings configuration = runManager.createConfiguration(DevKitBundle.message("run.configuration.title"), new PluginConfigurationType().getConfigurationFactories()[0]); runManager.addConfiguration(configuration); runManager.setSelectedConfiguration(configuration); } return module; }