awesome-repositories.com
Blog
awesome-repositories.com

Descubre los mejores repositorios open-source con nuestra búsqueda potenciada por IA.

ExplorarBúsquedas curadasOpen-source alternativesSelf-hosted softwareBlogMapa del sitio
ProyectoAcerca deHow we rankPrensaServidor MCP
Aviso legalPrivacidadTérminos
© 2026 Bringes Technology SRL·VAT RO45896025·hello@awesome-repositories.com
·
google avatar

google/google-java-format

0
View on GitHub↗
6,145 estrellas·919 forks·Java·2 vistas

Google Java Format

google-java-format es una herramienta de formateo de código Java y aplicación de estilos. Reformatea el código fuente Java para cumplir con una guía de estilo estandarizada, asegurando un diseño y una sangría consistentes en proyectos completos o archivos individuales.

El proyecto funciona como una herramienta de linting en pipelines de compilación para flujos de trabajo de integración continua y como un plugin de formateo para IDEs, reemplazando el formateo nativo del editor. Puede integrarse como una librería de formateo dentro de software de generación de código para garantizar que la salida escrita por máquinas siga siendo legible para los humanos.

La herramienta ofrece capacidades para reorganizar la sangría y el espaciado del código fuente, incluyendo la posibilidad de aplicar el formato de forma selectiva a rangos de líneas específicos o diffs modificados. Soporta la integración con editores de desarrollo como Eclipse para automatizar las actualizaciones de diseño durante el proceso de codificación.

Features

  • Formatting Engines - Provides a comprehensive engine for formatting Java source code to a standardized layout.
  • Source Code Formatters - Automatically rewrites Java source code to adhere to a standardized style guide for consistent layout and indentation.
  • Source Code Formatters - Automatically restructures Java source code to adhere to a consistent visual style and layout.
  • Source Code Rewriting - Rewrites whole Java documents or specific offsets to correct style violations based on structural analysis.
  • Coding Style Tools - Provides tools to enforce consistent coding style and layout across Java projects.
  • Layout Formatters - Standardizes Java source code layout and style for consistency and readability across organizations.
  • Style Rule Sets - Enforces a fixed set of layout constraints and spacing standards via style rule sets.
  • Style Guide Enforcers - Automates the application of a strict, singular Java coding style to ensure consistency across entire projects.
  • Recursive Descent Parsers - Employs recursive descent parsing to break down Java source code into structural boundaries.
  • AST-Based Source Transformations - Uses abstract syntax tree transformations to rewrite Java source code while preserving semantic meaning.
  • Editor Formatting Integrations - Integrates with editors to replace native formatting actions with a standardized style.
  • Code Formatters - Provides an IDE plugin that replaces native formatting with a standardized Java style guide.
  • Build Pipeline Integrations - Integrates formatting verification into continuous integration and build pipelines.
  • Continuous Integration Checks - Automates formatting and style checks as part of a continuous integration pipeline.
  • Diff-Aware Formatting - Supports diff-aware formatting to apply style updates only to modified lines in a file.
  • Token Stream Converters - Utilizes token stream converters to process raw characters into tokens for precise indentation control.
  • Lossless Semantic Trees - Implements lossless semantic trees to ensure comments and whitespace are preserved during reformatting.
  • Surgical Code Refactoring - Allows for surgical code modifications by applying style updates only to specific line ranges.
  • Formatting and Linting Pipelines - Functions as a formatting and linting pipeline to ensure code meets style requirements before merging.
  • Static Analysis Tools - Reformats Java code to Google Style.

Historial de estrellas

Gráfico del historial de estrellas de google/google-java-formatGráfico del historial de estrellas de google/google-java-format

Búsqueda con IA

Explora más repositorios increíbles

Describe lo que necesitas en lenguaje sencillo: la IA clasifica miles de proyectos open-source curados por relevancia.

Start searching with AI

Alternativas open-source a Google Java Format

Proyectos open-source similares, clasificados según cuántas características comparten con Google Java Format.
  • mvdan/gofumptAvatar de mvdan

    mvdan/gofumpt

    4,007Ver en GitHub↗

    gofumpt is a Go language tool and source code formatter. It functions as an opinionated code styler that applies a strict and consistent visual style to Go source files to ensure a standardized appearance across a codebase. The tool enforces a more rigid and deterministic set of layout constraints than the standard Go toolchain. It is designed for Go project style enforcement to eliminate trivial diffs and stylistic inconsistencies. The project supports Go source code formatting and continuous integration linting to automatically check and correct formatting during the build process.

    Go
    Ver en GitHub↗4,007
  • rust-lang-nursery/rustfmtAvatar de rust-lang-nursery

    rust-lang-nursery/rustfmt

    6,877Ver en GitHub↗

    rustfmt is a tool that automatically rewrites Rust source code to adhere to a consistent and standardized style guide. It functions as both a code formatter for transforming source files and a style linter used to verify if code matches required formatting rules. The system is configurable, allowing for the definition of custom formatting rules and language editions through configuration files to override default styles. It also supports selective formatting by using dedicated skip markers to prevent specific blocks of code from being modified. The tool provides capabilities for both source

    Rust
    Ver en GitHub↗6,877
  • pycqa/pycodestyleAvatar de PyCQA

    PyCQA/pycodestyle

    5,155Ver en GitHub↗

    pycodestyle is a Python code quality utility that checks source files against the PEP 8 style guide, reporting deviations as a static analysis tool. Its primary function is to enforce consistent code formatting by scanning files and flagging violations with precise line and column numbers for direct integration into editors or workflows. The tool combines token-based pattern matching with abstract syntax tree (AST) context enrichment, enabling it to evaluate both surface-level formatting and deeper structural patterns. Its architecture supports custom validation rules through a plugin interfa

    Pythonflake8-pluginlinter-flake8linter-plugin
    Ver en GitHub↗5,155
  • jscs-dev/node-jscsAvatar de jscs-dev

    jscs-dev/node-jscs

    4,936Ver en GitHub↗

    node-jscs is a JavaScript linter and code style checker designed to analyze source code and enforce consistent coding standards. It functions as a static analysis tool that identifies patterns in JavaScript code to ensure adherence to defined style guides. The project provides capabilities for both JavaScript code linting and automated code formatting. It can check source code for style violations and automatically correct those errors to align the codebase with a specified set of formatting rules.

    JavaScript
    Ver en GitHub↗4,936
Ver las 30 alternativas a Google Java Format→

Frequently asked questions

What does google/google-java-format do?

google-java-format es una herramienta de formateo de código Java y aplicación de estilos. Reformatea el código fuente Java para cumplir con una guía de estilo estandarizada, asegurando un diseño y una sangría consistentes en proyectos completos o archivos individuales.

What are the main features of google/google-java-format?

The main features of google/google-java-format are: Formatting Engines, Source Code Formatters, Source Code Rewriting, Coding Style Tools, Layout Formatters, Style Rule Sets, Style Guide Enforcers, Recursive Descent Parsers.

What are some open-source alternatives to google/google-java-format?

Open-source alternatives to google/google-java-format include: mvdan/gofumpt — gofumpt is a Go language tool and source code formatter. It functions as an opinionated code styler that applies a… rust-lang-nursery/rustfmt — rustfmt is a tool that automatically rewrites Rust source code to adhere to a consistent and standardized style guide.… pycqa/pycodestyle — pycodestyle is a Python code quality utility that checks source files against the PEP 8 style guide, reporting… jscs-dev/node-jscs — node-jscs is a JavaScript linter and code style checker designed to analyze source code and enforce consistent coding… openrewrite/rewrite — OpenRewrite is an automated refactoring engine and source-to-source migration framework. It uses a lossless semantic… rust-lang/rustfmt — rustfmt is a Rust code formatter that operates as a Cargo subcommand, applying consistent formatting to Rust source…