awesome-repositories.com
Blog
awesome-repositories.com

Descoperă cele mai bune repository-uri open source cu căutare AI.

ExploreazăCăutări recomandateAlternative open-sourceSoftware self-hostedBlogHartă site
ProiectDespreCum realizăm clasamentulPresăServer MCP
LegalConfidențialitateTermeni
© 2026 Bringes Technology SRL·VAT RO45896025·hello@awesome-repositories.com
·
google avatar

google/google-java-format

0
View on GitHub↗
6,145 stele·919 fork-uri·Java·2 vizualizări

Google Java Format

google-java-format este un instrument de formatare a codului Java și de impunere a stilului. Acesta reformatează codul sursă Java pentru a respecta un ghid de stil standardizat, asigurând un layout și o indentare consistente în cadrul întregilor proiecte sau al fișierelor individuale.

Proiectul funcționează ca un instrument de linting în pipeline-ul de build pentru fluxurile de lucru de integrare continuă (CI) și ca plugin de formatare pentru IDE-uri, înlocuind formatarea nativă a editorului. Poate fi integrat ca bibliotecă de formatare în software-ul de generare de cod pentru a asigura că output-ul scris automat rămâne lizibil pentru oameni.

Instrumentul oferă funcționalități pentru reorganizarea indentării și spațierii codului sursă, inclusiv posibilitatea de a aplica formatarea selectiv pe anumite intervale de linii sau pe diff-uri modificate. Suportă integrarea cu editoare de dezvoltare precum Eclipse pentru a automatiza actualizările de layout în timpul procesului de scriere a codului.

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.

Istoric stele

Graficul istoricului de stele pentru google/google-java-formatGraficul istoricului de stele pentru google/google-java-format

Căutare AI

Explorează mai multe repository-uri excelente

Descrie ce ai nevoie în limbaj simplu — AI-ul sortează mii de proiecte open source selectate în funcție de relevanță.

Start searching with AI

Întrebări frecvente

Ce face google/google-java-format?

google-java-format este un instrument de formatare a codului Java și de impunere a stilului. Acesta reformatează codul sursă Java pentru a respecta un ghid de stil standardizat, asigurând un layout și o indentare consistente în cadrul întregilor proiecte sau al fișierelor individuale.

Care sunt principalele funcționalități ale google/google-java-format?

Principalele funcționalități ale google/google-java-format sunt: Formatting Engines, Source Code Formatters, Source Code Rewriting, Coding Style Tools, Layout Formatters, Style Rule Sets, Style Guide Enforcers, Recursive Descent Parsers.

Care sunt câteva alternative open-source pentru google/google-java-format?

Alternativele open-source pentru google/google-java-format includ: 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…

Alternative open-source pentru Google Java Format

Proiecte open-source similare, clasificate după numărul de funcționalități comune cu Google Java Format.
  • mvdan/gofumptAvatar mvdan

    mvdan/gofumpt

    4,007Vezi pe 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
    Vezi pe GitHub↗4,007
  • rust-lang-nursery/rustfmtAvatar rust-lang-nursery

    rust-lang-nursery/rustfmt

    6,877Vezi pe 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
    Vezi pe GitHub↗6,877
  • pycqa/pycodestyleAvatar PyCQA

    PyCQA/pycodestyle

    5,155Vezi pe 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
    Vezi pe GitHub↗5,155
  • jscs-dev/node-jscsAvatar jscs-dev

    jscs-dev/node-jscs

    4,936Vezi pe 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
    Vezi pe GitHub↗4,936
  • Vezi toate cele 30 alternative pentru Google Java Format→