Configuring Extensions to the IntelliJ IDEA Core
This topic explains how you can create a plugin that contributes to extension points declared in the IntelliJ IDEA core.
From this page, you can also download a sample plugin illustrating how to contribute to the applicationConfigurable extenstion point.
How to Get the Extension Points List?
To get a list of extension points available in the IntelliJ IDEA core, consult the <extensionPoints> section of the following XML configuration files:
How to Declare an Extension in Your Plugin?
To declare an extension that contributes to the specified extension point, make the following changes to the plugin configuration file plugin.xml:
- Create the <extensions defaultExtensionNs="com.intellij"> </extensions> section.
- To this section, add the following syntax: <extensionPointName implementation=implementation class name></extensionPointName>.
Where the extensionPointName refers to the extension point name to access, and the implementation class name refers to a Java class defined in your plugin project. This Java class must imlement