awesome-repositories.com
博客
awesome-repositories.com

通过 AI 驱动的搜索,发现最优秀的开源仓库。

探索精选搜索开源替代品自托管软件博客网站地图
项目关于排名机制媒体报道MCP 服务器
法律隐私政策服务条款
© 2026 Bringes Technology SRL·VAT RO45896025·hello@awesome-repositories.com
·

65 个仓库

Awesome GitHub RepositoriesCode Formatting

Tools for automatic code formatting and style enforcement.

Explore 65 awesome GitHub repositories matching part of an awesome list · Code Formatting. Refine with filters or upvote what's useful.

Awesome Code Formatting GitHub Repositories

用 AI 发现最棒的仓库。我们将通过 AI 为您搜索最匹配的仓库。
  • h5bp/html5-boilerplateh5bp 的头像

    h5bp/html5-boilerplate

    57,494在 GitHub 上查看↗

    This project is a professional HTML5 website template and responsive web starter that provides a foundation of pre-configured HTML, CSS, and JavaScript files. It serves as a cross-browser compatibility base, ensuring consistent rendering and performance across modern web browsers. The project includes a web metadata framework to standardize Open Graph and social metadata for content previews on external platforms. It also provides a front-end build pipeline to lint, format, and optimize source assets into production-ready distribution files. The codebase covers broad capability areas includi

    Standardizes coding style across file types to ensure consistent readability and maintainability.

    JavaScriptbest-practicescsshtml
    在 GitHub 上查看↗57,494
  • astral-sh/ruffastral-sh 的头像

    astral-sh/ruff

    48,177在 GitHub 上查看↗

    Ruff is a high-performance static analysis and code formatting tool designed for Python. Built in Rust, it functions as a comprehensive engine that scans source code to detect programming errors, security vulnerabilities, and deviations from established coding standards. By parsing source code into a structured tree representation, it provides both automated linting and style enforcement across entire projects. The tool distinguishes itself through its speed and deep integration into the development lifecycle. It utilizes parallelized file processing to maximize throughput on large codebases

    Extremely fast linter and formatter for Python and Rust code.

    Rustlinterpep8python
    在 GitHub 上查看↗48,177
  • ambv/blackambv 的头像

    ambv/black

    41,560在 GitHub 上查看↗

    Black is a deterministic Python code formatter and style guide enforcer. It automatically reformats source code and Jupyter notebook cells into a consistent style to eliminate manual debates over code layout and reduce noise in version control diffs. The tool uses abstract syntax tree analysis to restructure code layout while ensuring that the underlying functional logic remains unchanged. It employs a deterministic engine that produces a single consistent output for any given input, removing subjective styling choices. The system provides capabilities for in-place file mutation, automated s

    Provides automatic code formatting and style enforcement specifically for the Python language.

    Python
    在 GitHub 上查看↗41,560
  • devtoys-app/devtoysDevToys-app 的头像

    DevToys-app/DevToys

    31,666在 GitHub 上查看↗

    DevToys is a cross-platform desktop application that functions as a comprehensive suite of offline utilities for common software development tasks. It provides a unified interface for performing data formatting, encoding, validation, and asset generation locally without requiring an internet connection. The application is built on a plugin-based extensibility framework that allows users to integrate custom utility modules to meet specific technical requirements. A core differentiator is its clipboard-aware management system, which monitors clipboard content to automatically suggest or open th

    Beautifies and standardizes structured code formats like JSON, SQL, and XML to improve readability.

    C#blazorcross-platformcsharp
    在 GitHub 上查看↗31,666
  • mhinz/vim-galoremhinz 的头像

    mhinz/vim-galore

    17,883在 GitHub 上查看↗

    Vim-galore is a comprehensive technical reference and curated guide for mastering the Vim text editor. It serves as a central resource for users seeking to understand the philosophy, command structure, and advanced customization capabilities required to operate professional-grade modal text editors effectively. The project distinguishes itself by providing a deep dive into efficient editing workflows, plugin management, and automation strategies within a terminal-based environment. It covers the full spectrum of editor mastery, from fundamental modal navigation and text manipulation to comple

    Automates code formatting and indentation to maintain consistent style across project files.

    Vim scriptawesomeawesome-listguide
    在 GitHub 上查看↗17,883
  • google/yapfgoogle 的头像

    google/yapf

    13,978在 GitHub 上查看↗

    YAPF 是一个 Python 代码格式化程序和样式合规工具。它作为一个基于 AST 的重格式化程序运行,使用具体语法树来确保源文件之间的结构一致性和统一的视觉呈现。 该引擎利用基于惩罚的布局优化器,通过计算不同格式化选择的数值成本来确定最佳换行符。它采用多进程代码处理器将多个文件的格式化分布到多个 CPU 核心上。 该工具涵盖了通过就地文件修改、差异分析和处理部分代码片段进行的源代码重格式化。它包括一个用于管理样式预设、布局规则和项目级设置的基于规则的配置系统。 集成能力包括用于持续集成流水线的样式合规验证、Git 钩子自动化以及基于编辑器的保存时格式化功能。

    Automatically applies code style rules and formatting when files are saved within the development environment.

    Python
    在 GitHub 上查看↗13,978
  • raywenderlich/swift-style-guideraywenderlich 的头像

    raywenderlich/swift-style-guide

    13,173在 GitHub 上查看↗

    This project is a collection of Swift coding standards and static analysis rules designed to ensure consistency across Swift projects. It provides a defined set of naming conventions and structural guidelines to maintain a shared style for teams. The repository centers on a SwiftLint configuration used to automate the detection and correction of style violations in source code. This configuration enables automated style enforcement, ensuring that code adheres to organizational standards without requiring manual review. The guidelines cover the standardization of code formatting, naming, and

    Standardizes indentation, brace placement, and whitespace to ensure consistent visual structure.

    在 GitHub 上查看↗13,173
  • bbatsov/rubocopbbatsov 的头像

    bbatsov/rubocop

    12,879在 GitHub 上查看↗

    RuboCop is a static code analyzer and linter for Ruby. It functions as a static analysis tool designed to detect potential bugs, identify style violations, and improve overall code quality in Ruby projects. The project provides an automated code formatter that rewrites source code to align with established community standards. It also implements a language server protocol to surface linting and formatting errors directly within text editors. Its capabilities cover automated code linting and the analysis of Ruby code style to ensure consistency across a project. These functions are driven by

    Provides automatic code formatting to align Ruby source code with community style standards.

    Ruby
    在 GitHub 上查看↗12,879
  • a-h/templa-h 的头像

    a-h/templ

    10,358在 GitHub 上查看↗

    Templ is a type-safe HTML templating engine and UI framework for Go. It provides a system for building reusable HTML components that compile into Go code for server-side rendering, ensuring type safety and compile-time validation of data and logic. The project features a dedicated language server that provides autocomplete and syntax validation for template files within supported code editors. It employs compile-time code generation to transform a custom template language into Go source code, enabling the creation of modular HTML fragments and logic blocks. The framework includes automated s

    Standardizes the layout and style of source files to ensure consistent code formatting across the project.

    Gogohtml-elementshtmx
    在 GitHub 上查看↗10,358
  • reasonml/reasonreasonml 的头像

    reasonml/reason

    10,313在 GitHub 上查看↗

    Reason is a strongly typed functional language and multi-target compiler designed to produce either JavaScript for web environments or native machine code for operating systems. It serves as an OCaml-compatible language that shares an abstract syntax tree with OCaml, providing a practical syntax for the OCaml ecosystem. The project functions as a type-safe frontend language, incorporating JSX support to build user interfaces through structural elements that translate into type-safe function calls. It enables deep integration with the JavaScript ecosystem, allowing the use of existing librarie

    Includes a command line tool for automated source code formatting to ensure consistent style.

    OCamljavascriptocamlprogramming-language
    在 GitHub 上查看↗10,313
  • xonsh/xonshxonsh 的头像

    xonsh/xonsh

    9,529在 GitHub 上查看↗

    Xonsh is a cross-platform command-line interface shell and automation tool that integrates a full Python interpreter with standard shell capabilities. It functions as a Python-powered environment where users can mix native programming logic and external subprocesses within a single shared namespace. The shell is designed for extensibility, supporting a plugin system, custom event hooks, and the ability to import configurations from other shells such as Bash or Zsh. It differentiates itself by representing system environment variables and paths as mutable Python objects, allowing for programma

    Includes a dedicated code formatter to standardize the styling of shell script files.

    Pythonanthropicclaudeclaude-code
    在 GitHub 上查看↗9,529
  • nvim-mini/mini.nvimnvim-mini 的头像

    nvim-mini/mini.nvim

    9,325在 GitHub 上查看↗

    mini.nvim is a comprehensive library of independent modules designed to extend Neovim with a wide array of navigation, user interface, and text manipulation tools. It serves as a modular plugin collection, a UI toolkit for creating custom statuslines and notifications, and a package manager for installing and pinning external plugins from Git. The project provides a specialized fuzzy picker framework for filtering files and symbols, an LSP completion engine with interactive snippet expansion, and a dedicated plugin test framework that uses headless editor instances and remote procedure calls

    Interactive text alignment.

    Lualuamini-nvimneovim
    在 GitHub 上查看↗9,325
  • microsoft/vscode-tips-and-tricksmicrosoft 的头像

    microsoft/vscode-tips-and-tricks

    9,086在 GitHub 上查看↗

    This project is a comprehensive productivity guide and configuration reference for the VS Code editor. It provides a curated collection of shortcuts, configuration tips, and tutorials designed to improve efficiency and optimize the daily coding workflow. The resource covers advanced AI-assisted development, including the integration of autonomous agents, custom prompt files, and AI-powered coding assistants for task automation and code generation. It also provides specialized guidance on integrated terminal management, such as configuring shell profiles and automating command execution. Addi

    Provides a reference for standardizing source code layout according to defined style rules.

    在 GitHub 上查看↗9,086
  • xojs/xoxojs 的头像

    xojs/xo

    7,977在 GitHub 上查看↗

    xo is a zero-configuration linting tool for JavaScript and TypeScript. It functions as a wrapper for the ESLint engine, providing a set of strict default rules and static analysis to enforce professional coding standards without requiring manual configuration files. The tool distinguishes itself by providing a zero-config runtime that automatically determines parser settings and linting rules at execution time. It includes a code style formatter to standardize indentation and syntax across all project files. The project covers automated error correction and source code formatting to eliminat

    Includes a formatting engine that standardizes indentation and syntax for a consistent visual style.

    TypeScript
    在 GitHub 上查看↗7,977
  • sindresorhus/xosindresorhus 的头像

    sindresorhus/xo

    7,977在 GitHub 上查看↗

    xo is a zero-config linting tool and ESLint wrapper that provides opinionated default rules for JavaScript and TypeScript. It functions as a static analysis tool to enforce code style and readability standards immediately upon installation without requiring manual configuration. The tool distinguishes itself by providing a zero-config development workflow that eliminates the need for complex configuration files. It supports incremental codebase cleanup by allowing users to ignore known violations through a suppressions file, facilitating the gradual adoption of strict rules in existing projec

    Provides automated code formatting to fix syntax and style violations.

    TypeScript
    在 GitHub 上查看↗7,977
  • visualfc/liteidevisualfc 的头像

    visualfc/liteide

    7,754在 GitHub 上查看↗

    LiteIDE is a cross-platform integrated development environment designed for writing, compiling, and debugging Go source code. It functions as both a code editor with syntax highlighting and a build tool orchestrator that manages toolchains, environment profiles, and cross-compilation targets. The environment is modular and extensible, supporting third-party plugins and custom keyboard mapping to tailor the coding workflow. It provides an integrated interface for external debuggers to inspect program execution and state. The platform covers a broad range of development capabilities, including

    Automatically manages import lines by adding missing dependencies and removing unused ones.

    C++
    在 GitHub 上查看↗7,754
  • thangchung/clean-code-dotnetthangchung 的头像

    thangchung/clean-code-dotnet

    7,615在 GitHub 上查看↗

    This project provides a comprehensive collection of best practices, architectural patterns, and coding standards for the .NET ecosystem. It serves as a guide for developers to improve the readability, maintainability, and testability of C# applications by applying established software engineering principles. The repository focuses on enforcing consistent code style and structure through automated configuration rules. It emphasizes the use of SOLID design principles to create modular, loosely coupled components, alongside structured exception management to ensure diagnostic information is pres

    Enforces uniform indentation and whitespace rules across a project using shared configuration files.

    C#aspnetawesomeazure
    在 GitHub 上查看↗7,615
  • rescript-lang/rescriptrescript-lang 的头像

    rescript-lang/rescript

    7,396在 GitHub 上查看↗

    ReScript is a statically typed programming language and compiler designed to transform type-safe source code into efficient, human-readable JavaScript. It functions as a transpiler that enforces data consistency and prevents runtime errors through static type analysis for both web and server applications. The project distinguishes itself as an incremental build system that analyzes dependency graphs to recompile only modified files and their dependents. It includes a JSX compatible compiler for building user interfaces and provides a framework for bridging type-safe code with existing JavaScr

    Provides an automated formatter to standardize code style and ensure consistency across the codebase.

    ReScriptaltjscompilerjavascript
    在 GitHub 上查看↗7,396
  • masscodeio/masscodemassCodeIO 的头像

    massCodeIO/massCode

    6,843在 GitHub 上查看↗

    massCode is a local-first developer workspace application that combines a code snippet manager, a markdown knowledge base, and an HTTP client tool. It serves as a productivity suite for software engineers to consolidate reusable code fragments, technical documentation, and API collections within a single environment. The application distinguishes itself by integrating a developer utility suite for natural language calculations, sample data generation, and JSON visualization. It also includes visual project mapping capabilities, allowing users to create mind maps and sketch diagrams alongside

    Integrates the Prettier engine to apply consistent styling to code snippets across multiple languages.

    TypeScript
    在 GitHub 上查看↗6,843
  • ktlint/ktlintktlint 的头像

    ktlint/ktlint

    6,717在 GitHub 上查看↗

    ktlint is a linter and code formatter for Kotlin that checks source files against a built-in set of style rules and automatically rewrites them to match those rules. It operates by walking the Kotlin abstract syntax tree, detecting violations, and applying transformations directly at the node level before regenerating the source code from the modified tree. The project ships a curated default rule set that requires no configuration to enforce consistent formatting, and provides a command-line interface for running linting and formatting in batch mode. Its rule-set-based plugin architecture al

    Formats Kotlin source files to match built-in style rules automatically.

    Kotlinkotlinlintlinter
    在 GitHub 上查看↗6,717
上一个123…4下一个
  1. Home
  2. Part of an Awesome List
  3. Developer Tools
  4. Code Formatting

探索子标签

  • Formatting Diff AnalyzersTools that identify and compare style differences between original and formatted code without modifying the file. **Distinct from Code Formatting:** Focuses on the comparison/diff aspect of formatting rather than the act of applying the format.
  • Formatting LibrariesEmbeddable engines that provide formatting capabilities to other software, such as code generators. **Distinct from Code Formatting:** Distinct from Code Formatting: specifically refers to the library distribution for use within other applications.
  • Generated Code FormattersFormats generated TypeScript files using Prettier, Biome, or oxfmt. **Distinct from Code Formatting:** Distinct from general Code Formatting: focuses on formatting auto-generated output files, not hand-written source code.
  • Kotlin FormattersAutomatic code formatting tools specifically for the Kotlin language. **Distinct from Code Formatting:** Specializes general code formatting for the Kotlin language syntax and style guidelines.
  • On-Save FormattingAutomatically applying code style rules and quick-fixes when a file is saved to disk. **Distinct from Code Formatting:** Focuses on the specific trigger (save event) rather than the general formatting tool.
  • Rust Code FormattersTools that apply consistent, project-wide formatting to Rust source files according to official style guidelines. **Distinct from Code Formatting:** Distinct from Code Formatting: focuses specifically on Rust code formatting with edition-aware rules and Cargo integration, not general code formatting.
  • Style Adherence ChecksVerification processes that identify style deviations without modifying the source code. **Distinct from Code Formatting:** Distinct from general formatting by focusing on the 'check-only' status verification rather than the application of changes.