Skip to content

Add Autoconfig plugin to required plugins

Sebastian Westemeyer edited this page Jun 20, 2024 · 3 revisions

Projects can require a set of plugins to be installed. This list is either updated through the IDE settings, or by editing the .idea/externalDependencies.xml file.

To make sure the Autoconfig plugin is available for a project, add the following line to that file:

<plugin id="de.gebit.plugins.autoconfig" />

A complete external dependencies file could for example look like this:

<?xml version="1.0" encoding="UTF-8"?>
<project version="4">
  <component name="ExternalDependencies">
    <plugin id="CheckStyle-IDEA" />
    <plugin id="Docker" />
    <plugin id="EclipseCodeFormatter" />
    <plugin id="org.intellij.plugins.markdown" />
    <plugin id="idea.plugin.protoeditor" />
    <plugin id="org.sonarlint.idea" />
    <plugin id="org.mapstruct.intellij" />
    <plugin id="de.gebit.plugins.autoconfig" />
  </component>
</project>

After reloading the project, a balloon message is displayed, requesting the plugin:
requiredPlugins

Note: this message will only appear for IDE installations that do not already contain the plugin.

Clone this wiki locally