Plugin Development Guidelines
IntelliJ IDEA lets you customize and extend its functionality based on your specific needs. This can be done using plugins that leverage the IntelliJ platform API.
The following is required for developing plugins in IntelliJ IDEA:
Download and install a JDK.
Enable the Plugin DevKit plugin. For more information, see Managing Plugins.
Optionally, get the IntelliJ IDEA Community Edition sources. This will make debugging your plugins much easier.
For detailed information about developing plugins, see the IntelliJ Platform SDK Developer Guide.
Overview for developing an IntelliJ IDEA plugin
Create the necessary source elements and write the source code.
Run and debug your plugin.