This document is a work in progress.

This topic explains how you can create a plugin that customize the system dialog box Settings displayed when you click on the IDEA toolbar.
To customize this dialog, your plugin must contribute to the applicationConfigurable or projectConfigurable extenstion points available in the IDEA core.

The applicationConfigurable extension point is designed to configure IDEA settings pertaining to your workspace (IDE settings). The IntelliJ IDEA UI provides the Settings dialog you can display by clicking on the IDEA toolbar. The settings pertaining to your workspace are displayed under IDE Settings (see the screenshot below).
For more information about extensions and extension points, see IntelliJ IDEA Plugin Structure .

Creation of Extension to applicationConfigurable

To create a plugin that contributes to the applicationConfigurable extension point, perform the following principal steps:

  1. In your plugin project, create a Java class that implements the Configurable interface.
  2. In this class, override the following methods:
  3. In the plugin configuration file plugin.xml, create the <extensions defaultExtensionNs="com.intellij"> </extensions> section.
  4. To this section, add the <applicationConfigurable implementation=%MyJavaClassName%></applicationConfigurable> section, where the %MyJavaClassName% refers to the name of your Java class implementing the Configurable interface.

Sample Plugin: Extension to the applicationConfigurable Extension Point

To clarify the above procedure, consider the applicationConfigurable sample plugin adds the new menu command "Menu Font" to the IDE Settings area. Clicking this commands causes IntelliJ IDEA to display a visual form designed to specify a font used for the IntelliJ IDEA menus. This UI is similar to the following screen:

To run this sample plugin

  1. Start IntelliJ IDEA and open the applicationConfigurable project saved into the <%IDEA project folder%>/community/samples/applicationConfigurable directory.
  2. Ensure that the project settings are valid for your environment. If necessary, modify the project settings.
    To view or modify the project settings, on the toolbar, click , and then complete the Project Structure dialog box that opens.
  3. Run the plugin by choosing the Run | Run on the main menu.
    If necessary, change the Run/Debug Configurations .
  4. On the toolbar menu, click .
    The Settings dialog box opens.
  5. In the Settings dialog box, under IDE Settings, click Menu Font.
    The plugin displays UI designed to change the IDEA menu font.