IntelliJ Platform Plugin SDK Help

Running and Debugging a Theme

In most cases, the results of theme plugin can be previewed by running the Preview Theme action in the theme description file editor. Sometimes, when more advanced styling options are implemented, the previewing theme may not be enough to see all the changes. This page explains how to run or debug the theme plugin in the IDE configured as a part of project SDK.

Create Plugin Run Configuration

To run and debug a plugin directly from a theme plugin project, a Plugin run configuration must be added.

Add Plugin Run Configuration

  1. Go to Run | Edit Configurations....

  2. Click the Add New Configuration... button (+) and select the Plugin type.

  3. Provide the configuration Name, e.g., Run Theme.

  4. Ensure that Use classpath of module specifies the current theme plugin module.

  5. Click the Apply button.

    See the IDE Development Instance section for information about advanced run configuration settings. If additional settings, like system property, are needed, see Run/Debug Configuration: Plugin explaining how to configure them.

    Run/Debug Theme Plugin

    To run the theme in the IDE development instance, choose Run | Run... and select the created run configuration. Debugging a theme is similar, but instead of Run..., select the Debug... action.

    Last modified: 07 April 2023