palantir-java-format
palantir-java-format copied to clipboard
Prefer in-process formatter when javac modules are exported
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)