Child pages
  • Customizing the IDEA Settings Dialog
Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 11 Next »

This document is a work in progress.

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 Create an Extension in Your Plugin?

To create an extension that contributes to the specified extension point, perform the following steps:

  1. In your plugin project, create a Java class that implements a bean class or an interface that is allowed to access the extension point to which you want to contribute.
  2. In the plugin configuration file plugin.xml, create the <extensions defaultExtensionNs="com.intellij"> </extensions> section.
  3. To this section, add the child element similar to 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 the newly created Java class.
  • No labels