Hacktoberfest 2026: the issues maintainers tagged for October, open and beginner-friendly. Browse Hacktoberfest issues

Before commit reformatting option in IntelliJ does invoke plugin

Open
#1,070 0 comments 0 reactions 0 assignees View on GitHub

Maintainers usually reply within 1 day

Nobody has claimed this yet.

Assessment

Difficulty
4/5
Estimated time
3-5 days
Newbie friendliness
35/100
Issue type
Bug
Clarity
Mostly clear
Activity status
Stale
Tech stack
java
Domain
tooling

Research direction

Reproduce the behavior using IntelliJ IC-233.14475.28 with google-java-format plugin 1.19.2.0 and the enabled Reformat Code and Optimize Imports commit options. Compare the behavior and context with issue 228, then trace the IntelliJ commit integration. Done means formatting and import optimization run before committing.

Written by the indexing model from the issue text.

Description

IntelliJ

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

Dominant language
Java
Stars
6.2k
Forks
936
Avg merge
6m
Merged PRs (30d)
3

Getting set up

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from google/google-java-format

All issues in google/google-java-format

Similar issues

More Java issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.