To run or debug your plugin, you should create the corresponding Run/Debug configuration first.
- On the main menu, choose .
- In the Run/Debug Configuration dialog, click
,
or press ⇧⌫ or ⇧⌫⇧⌫ or ⇧⌫InsertInsert, and select Plugin. - Specify the settings as necessary and click OK.
Depending on whether you are going to run or debug your plugin:
- To run the plugin, select from the main menu, or press ⌃R or ⌃R⇧F10 or ⇧F10⇧⌘F11 or ⇧⌘F11^ F5, ⌃F5 or ⌃F5⇧ F10, ⇧F10 or ⇧F10.
- To debug the plugin, select from the main menu, or press ⌃D or ⌃D⇧F9 or ⇧F9⌘F11 or ⌘F11⌥ F5, ⌥F5 or ⌥F5⇧ F9, ⇧F9 or ⇧F9.
As a result, IntelliJ IDEA will start an instance of itself. This will be the instance in which your plugin will be available.