google-java-format is a program that reformats Java source code to comply with Google Java Style. The formatter can act on whole files, on limited lines, on specific offsets, passing through to standard-out (default) or altered in-place. There is no configurability as to the formatter's algorithm for formatting. This is a deliberate design decision to unify our code formatting on a single format. The formatter can be used in software that generates java to output more legible java code. Just include the library in your maven/gradle/etc. configuration. A google-java-format IntelliJ plugin is available from the plugin repository. To install it, go to your IDE's settings and select the Plugins category. Click the Marketplace tab, search for the google-java-format plugin, and click the Install button.

Features

  • You can use the formatter through the formatSource methods
  • Third-party integrations
  • The formatter can be used in software which generates java to output more legible java code
  • Include the library in your maven/gradle/etc. configuration
  • IntelliJ, Android Studio, and other JetBrains IDEs
  • There is no configurability as to the formatter's algorithm for formatting

Project Samples

Project Activity

See All Activity >

License

Apache License V2.0

Follow google-java-format

google-java-format Web Site

Other Useful Business Software
Assembled is the only unified platform for staffing and managing your human and AI support team. Icon
Assembled is the only unified platform for staffing and managing your human and AI support team.

AI for world-class support operations

Assembled is the only platform that unifies AI agents and intelligent workforce management to power fast and flexible support operations. Built for scale, we help teams automate over 50% of customer interactions, forecast with 90%+ accuracy, and optimize staffing across in-house and BPO teams. Orchestrate every chat, email, or call, balancing workloads between human and AI agents in real time — without sacrificing quality or control. Trusted by Stripe, Canva, and Robinhood, Assembled transforms support from a cost center into a strategic advantage. Our Workforce and Vendor Management tools connect forecasting, scheduling, and performance for smarter staffing decisions. AI Agents automate conversations across channels with your workflows and brand voice. AI Copilot empowers agents with real-time guidance, suggested replies, and one-click actions for faster, higher-quality resolutions.
Learn More
Rate This Project
Login To Rate This Project

User Reviews

Be the first to post a review of google-java-format!

Additional Project Details

Operating Systems

Android, Mac

Programming Language

Java

Related Categories

Java Data Formats Software, Java Source Code Analysis Tool, Java Code Formatters

Registered

2021-12-28