A tool that automatically reformats Java source code to comply with Google Java Style guidelines.
google-java-format is a tool that automatically reformats Java source code to comply with the Google Java Style Guide. It parses Java files and applies consistent formatting rules, eliminating manual style adjustments and ensuring uniformity across codebases. The tool is designed to be integrated into command-line workflows, IDEs, and build processes.
Java developers and teams working on projects that adopt or enforce the Google Java Style Guide, particularly those in environments requiring consistent code formatting.
It provides a zero-configuration, opinionated formatter that guarantees adherence to a widely recognized style guide, reducing time spent on code reviews about formatting and ensuring consistency across large codebases.
Reformats Java source code to comply with Google Java Style.
Deliberately lacks formatting algorithm configurability, enforcing a single style to eliminate debates and ensure uniform formatting across all Java files, as stated in the README.
Offers plugins for IntelliJ, Android Studio, Eclipse, and VS Code, seamlessly replacing default formatting actions to enforce Google style without manual intervention.
Integrates with Gradle, Maven, and SBT through third-party plugins, enabling automated formatting during build processes and in CI/CD pipelines, as listed in the README.
Can be included as a Maven or Gradle dependency, allowing tools that generate Java code to output properly formatted source easily, with clear usage examples provided.
Requires adding multiple --add-exports JVM flags for JDK 16+, complicating setup in IDEs and command-line usage, as detailed in the README for IntelliJ and Eclipse.
Admits no configurability for the formatting algorithm, which is a deliberate design choice but can alienate teams with pre-existing style preferences or unique requirements.
Uses internal javac APIs, making it vulnerable to breaking changes with Java version updates and requiring ongoing maintenance to stay compatible.
Only supports the Google Java Style Guide (with an AOSP variant for 4-space indent), offering no flexibility for other popular styles like Sun or Oracle conventions.
A PHP parser written in PHP
:sparkles: Monorepo for all the tooling which enables ESLint to support TypeScript
Static Type Checker for Python
🐶 Automated code review tool integrated with any code analysis tools regardless of programming language
Open-Awesome is built by the community, for the community. Submit a project, suggest an awesome list, or help improve the catalog on GitHub.