void (@NotNull Project project, @Nullable Module module) { final var id = "com.jetbrains.python.configuration.PyActiveSdkModuleConfigurable"; final var group = ConfigurableExtensionPointUtil.getConfigurableGroup(project, true); if (ConfigurableVisitor.findById(id, Collections.singletonList(group)) != null) { ShowSettingsUtilImpl.showSettingsDialog(project, id, null); return; } final ProjectSettingsService settingsService = ProjectSettingsService.getInstance(project); if (module == null || justOneModuleInheritingSdk(project, module)) { settingsService.openProjectSettings(); } else { settingsService.openModuleSettings(module); } }