g

google-java-format

JetBrains

Google · v—

Formats source code using the google-java-format tool. This plugin requires additional IDE configuration. For more information, read the documentation.

Formatting
Downloads
1.9M
1 915 648
Rating
4.1 ★
33 ratings
Category
JetBrains Marketplace
Collected
2026-11-04
weekly snapshot

Rating distribution

4.1 ★ 33 ratings
5★ 48.5%
4★ 12.1%
3★ 12.1%
2★ 3.0%
1★ 24.2%

Reviews 8

★★★★★ Mathew Hall 2025-05-29

Works fine. I like that I can use it to run spotless without having to run a gradle build.

★★★★★ Robert Close 2022-09-30

I have noticed that if my file has an enhanced switch statement or I use triple quotes """ to define a String, it breaks the formatter for that file, meaning no format will happen. Other than that, this is a great plugin!

★★★★★ dongfeng xu 2022-08-04

IDEA 2022.2 not working

★★★★★ uche 2022-08-02

解决方案|solution https://github.com/google/google-java-format/issues/787

★★★★★ uche 2022-07-29

Hey bro, this plugin is in IDEA Build #IU-222.3345.118, built on July 26, 2022 not working

★★★★★ Richard 2022-07-23

Can you add an icon to the plugin?

★★★★★ Kasra Karami 2021-11-14

It's very useful

★★★★★ Thomas Hartwig 2020-11-28

Thanks for the plugin, good work. Is there any chance to configure the line break width for instance?

Similar in “Formatting”