Skip to content

Commit

Permalink
Add screenshots to DEV_IDE_SETUP.md
Browse files Browse the repository at this point in the history
  • Loading branch information
rogerhu committed Sep 13, 2023
1 parent c6a848f commit 558338f
Showing 1 changed file with 11 additions and 1 deletion.
12 changes: 11 additions & 1 deletion DEV_IDE_SETUP.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,16 +16,26 @@ 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`.

<img width="1021" alt="image" src="https://github.com/bazelbuild/intellij/assets/326857/d5323a70-d93b-4734-a64c-d8018e19adc1">

A file explorer window should open in the `Contents` directory of your IntelliJ installation. Select that directory.

<img width="655" alt="image" src="https://github.com/bazelbuild/intellij/assets/326857/ce7b591f-ca51-42e5-8038-07f2a102a700">

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.

<img width="463" alt="image" src="https://github.com/bazelbuild/intellij/assets/326857/d276ca32-9b63-478f-9805-47bbf1295e2b">

## 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.

<img width="1019" alt="image" src="https://github.com/bazelbuild/intellij/assets/326857/27f659fb-8e18-46dc-a4eb-27a345549cb7">

## Create a run configuration and add appropriate flags

Once the project is imported, create a new Run configuration: `Run -> Edit Configurations...`.
Expand Down

0 comments on commit 558338f

Please sign in to comment.