Child pages
  • Customizing the IDEA Settings Dialog

Versions Compared


  • This line was added.
  • This line was removed.
  • Formatting was changed.


  1. In your plugin project, create a Java class that implements the Configurable interface.
  2. In this class, override the following methods:
    • createComponent: creates the UI visual form and returns its root element.
    • apply: this method is called when the user clicks the OK or Apply button.
    • reset: this method is called when the user clicks the Cancel button.
    • isModified: this method is regularly called to check the form for changes. If the method returns false, the Apply button is disabled.
    • disposeUIResources: this method is called when the user closes the form. In this method, you can, for example, release the resources used by the form.
  3. In the plugin configuration file plugin.xml, create the <extensions defaultExtensionNs="com.intellij"> </extensions> section.
  4. To this section, add the <applicationConfigurable implementationinstance=%MyJavaClassName%></applicationConfigurable> section, where the %MyJavaClassName% refers to the name of your Java class implementing the Configurable interface (see Step 1).