palantir-java-format icon indicating copy to clipboard operation
palantir-java-format copied to clipboard

Prefer in-process formatter when javac modules are exported

Open morokosi opened this issue 1 year ago • 2 comments

Before this PR

  • When using recent version of IntelliJ (shipped with JDK17+), the plugin uses bootstrapping formatter to avoid issues with internal API encapsulation
  • Developers may suffer from slow formatting because the bootstrapping formatter is not as fast as the in-process formatter

After this PR

  • This PR allows optional use of in-process formatter when javac modules are exported in plugin vm process (specified in Custom VM Options)

Possible downsides?

morokosi avatar Dec 07 '24 04:12 morokosi