IntelliJ Platform Plugin SDK Help

Creating a Plugin Project

The recommended approach to creating a plugin is the IDE Plugin wizard available in IntelliJ IDEA. The wizard is available when Gradle and Plugin DevKit plugins are installed and enabled.

It is also possible to create plugins via the web IDE Plugin generator.

Create an IDE Plugin

Launch the New Project wizard via the File | New | Project... action and follow these steps:

  1. Select the IDE Plugin type from the list on the left.

  2. Specify the project Name and Location.

  3. Choose the Plugin option in the project Type.

  4. Provide the Group which is typically an inverted company domain (e.g. com.example.mycompany).
    It is used for the Gradle property project.group value in the project's Gradle build script, the base project package name, and the generated plugin ID.

  5. Provide the Artifact, which is the default name of the build project artifact (without the version).
    It is used for the Gradle property rootProject.name value in the project's settings.gradle.kts file, plugin name, and the generated plugin ID.

  6. Select a JDK matching the required Java version.
    It will be the default JRE used to run Gradle, and the JDK used to compile the plugin sources. Currently, the generated project targets the platform version compatible with JDK 21.

  7. Enable the Add sample code checkbox if you want to generate a sample tool window code.

  8. Click the Next button.

  9. Select Features to include in the generated plugin.

  10. Click the Create button to generate the project.

    The created project structure is described in the README.md file in the Project structure section.

    Running the Plugin

    The generated project contains the Run IDE with Plugin run configuration that can be executed via the Run | Run... action or can be found in the Gradle tool window under the Run Configurations node.

    To execute the Gradle runIde task directly, open the Gradle tool window and search for the runIde task under the Tasks node. If it's not on the list, click the Sync All Gradle Projects button on the toolbar at the top of the Gradle tool window. Then double-click it to execute.

    The generated project contains the Run IDE with Plugin (Split Mode) run configuration that can be executed via the Run | Run... action.

    Alternatively, run Run IDE with Plugin (Backend) and Run IDE with Plugin (Frontend) separately.

    To execute the Gradle tasks directly, open the Gradle tool window and search for the runIdeBackend and runIdeFrontend tasks under the Tasks node. If they are not on the list, click the Sync All Gradle Projects button on the toolbar at the top of the Gradle tool window. Then double-click tasks to execute.

    To debug your plugin in a standalone IDE instance, please see How to Debug Your Own IntelliJ IDEA Instance blog post.

    21 July 2026