void (@Nullable Project project, String @NotNull ... plugins) { Map<PluginId, IdeaPluginDescriptorImpl> descriptorsById = PluginManagerCore.INSTANCE.buildPluginIdMap(); LinkedHashSet<IdeaPluginDescriptor> descriptors = new LinkedHashSet<>(); for (String plugin : plugins) { IdeaPluginDescriptor descriptor = descriptorsById.get(PluginId.getId(plugin)); if (descriptor == null) { throw new IllegalArgumentException("Plugin " + plugin + " not found"); } descriptors.add(descriptor); } PluginManagerConfigurable.showPluginConfigurableAndEnable(project, descriptors); }