Skip to content

Commit 8ca149e

Browse files
committed
Install the IntelliJ plugin from the Marketplace and show its card
The plugin was approved on the JetBrains Marketplace as plugin 34359, so the page no longer says it is missing there: the Marketplace is the first way to install, and the release zip stays for versions that are not published yet. The Marketplace card is embedded as a plain iframe. JetBrains' widget script renders exactly that iframe, but it is a 156 KB bundle that would run inside our own pages; the iframe alone shows the same card, is lazy-loaded, and shrinks to the viewport on a phone.
1 parent d1d182b commit 8ca149e

1 file changed

Lines changed: 14 additions & 1 deletion

File tree

‎docs/get-started/intellij-idea.md‎

Lines changed: 14 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,9 +7,22 @@ stop applying.
77
The plugin needs IntelliJ IDEA 2024.2 or later, or another JetBrains IDE with Java support, such as
88
Android Studio.
99

10+
<iframe src="https://plugins.jetbrains.com/embeddable/card/34359" width="384" height="319" title="open-java-format on the JetBrains Marketplace" loading="lazy" style="border: 0; max-width: 100%;"></iframe>
11+
1012
## Install
1113

12-
The plugin is not on the JetBrains Marketplace yet, so it is installed from a file.
14+
### From the JetBrains Marketplace
15+
16+
1. Open **Settings**, go to **Plugins** and switch to the **Marketplace** tab.
17+
2. Search for **open-java-format** and click **Install**.
18+
3. Restart the IDE.
19+
20+
The [plugin page](https://plugins.jetbrains.com/plugin/34359-open-java-format) on the Marketplace
21+
has an **Install to IDE** button that does the same for an IDE that is already running.
22+
23+
### From a file
24+
25+
A version that is not on the Marketplace yet can be installed from a release.
1326

1427
1. Download `open-java-format-idea-plugin-2.98.0.1.zip` from the
1528
[latest release](https://github.com/openjavaformat/open-java-format/releases/latest). Do not

0 commit comments

Comments
 (0)