Skip to content

Commit 285ccf3

Browse files
committed
Say that IntelliJ IDEA runs the native binary when the build does
With openjavaformat.native.formatter=true the Gradle plugin writes the path of the native binary into .idea/open-java-format.xml, and the IDE plugin then runs that binary rather than a JVM on the IDE's runtime. The page only mentioned the IDE's runtime.
1 parent 31d85e9 commit 285ccf3

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

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

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,8 @@ open-java-format.
4444
## Which formatter version runs
4545

4646
The formatter runs in a process of its own, on the IDE's runtime, so the project SDK can be any
47-
version.
47+
version. When a Gradle build runs the formatter as a
48+
[native binary](gradle.md#choose-how-the-formatter-runs), the IDE runs that binary instead.
4849

4950
A project that applies the [Gradle plugin](gradle.md) takes the formatter version from the build.
5051
Every other project uses the version bundled with the IDE plugin.

0 commit comments

Comments
 (0)