google / google-java-format

Reformats Java source code to comply with Google Java Style.
Other
5.49k stars 848 forks source link

Before commit reformatting option in IntelliJ does invoke plugin #1070

Open vshamrai opened 4 months ago

vshamrai commented 4 months ago

The same issue is mentioned there https://github.com/google/google-java-format/issues/228

I use the plugin google-java-format and want to execute formatting before committing. I enabled the Reformat Code and Optimize Imports parameters in the commit settings, but nothing happened.

My setup is: IntelliJ @ IC-233.14475.28 google-java-format plugin @ 1.19.2.0