diff --git a/DEV_IDE_SETUP.md b/DEV_IDE_SETUP.md index 40572926118..73940689232 100644 --- a/DEV_IDE_SETUP.md +++ b/DEV_IDE_SETUP.md @@ -16,19 +16,35 @@ Most of the time, the IntelliJ Platform Plugin SDK bundled with your IntelliJ in To install it, please head to the SDK menu (`Cmd+;` or `Ctrl+;`), and then to `Platform Settings -> SDKs`. -In the list of SDKs, press the `+` icon, then `Add IntelliJ Platform Plugin SDK`. A file explorer window should open in the `Contents` directory of your IntelliJ installation. Select that directory. +In the list of SDKs, press the `+` icon, then `Add IntelliJ Platform Plugin SDK`. + +image + +A file explorer window should open in the `Contents` directory of your IntelliJ installation. Select that directory. + +image Make sure that the `Internal Java Platform` is set to the JDK you want to use to develop your plugin. It is recommended to use JBR 17. +image + ## Set the project-wide SDK Inside IntelliJ, go to the SDK menu (`Cmd+;` or `Ctrl+;`). Go to `Project`, and look under `SDK` to find the JetBrains Runtime SDK installed in the previous step. +image + ## Create a run configuration and add appropriate flags Once the project is imported, create a new Run configuration: `Run -> Edit Configurations...`. -Click the `+` sign, and create a new `Bazel IntelliJ Plugin` run configuration. + +Click the `+` sign, and create a new `Bazel IntelliJ Plugin` run configuration (the Bazel IntelliJ plugin needs to be installed): + +image + Configure the `Plugin SDK` field to use the SDK you've just installed. +image +