From ff3e314ea6ffe54d356f1f46491250a7921eff5e Mon Sep 17 00:00:00 2001 From: Roger Hu Date: Wed, 13 Sep 2023 10:46:36 -0700 Subject: [PATCH 1/2] Add screenshots to DEV_IDE_SETUP.md --- DEV_IDE_SETUP.md | 20 ++++++++++++++++++-- 1 file changed, 18 insertions(+), 2 deletions(-) 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 + From 52dfcd4a2af085b6cc18c41b3b5d71d194528fa4 Mon Sep 17 00:00:00 2001 From: Roger Hu Date: Thu, 28 Sep 2023 09:43:09 -0700 Subject: [PATCH 2/2] Update DEV_IDE_SETUP.md --- DEV_IDE_SETUP.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/DEV_IDE_SETUP.md b/DEV_IDE_SETUP.md index 73940689232..dce5e4fe952 100644 --- a/DEV_IDE_SETUP.md +++ b/DEV_IDE_SETUP.md @@ -26,7 +26,7 @@ A file explorer window should open in the `Contents` directory of your IntelliJ 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 +image ## Set the project-wide SDK