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

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

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

25 个仓库

Awesome GitHub RepositoriesAutomatic Code Formatters

Tools that automatically rewrite source code to adhere to a consistent visual style and syntax standard.

Distinct from Code Formatting: Focuses on the automatic restructuring of code for style consistency, which is distinct from UI component discovery or routers.

Explore 25 awesome GitHub repositories matching development tools & productivity · Automatic Code Formatters. Refine with filters or upvote what's useful.

Awesome Automatic Code Formatters GitHub Repositories

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

    standard/standard

    29,431在 GitHub 上查看↗

    Standard is a suite of static analysis tools for JavaScript, comprising a linter, formatter, and a predefined style guide. It functions as a static code analyzer that scans source code for style violations and potential errors without executing the program. The project provides an automatic code fixer that rewrites source code to resolve formatting issues and enforce syntax consistency. It implements a standardized set of rules for JavaScript formatting and syntax to ensure a uniform appearance across different projects. The system covers a wide range of static analysis capabilities, includi

    Automatically corrects indentation, spacing, and syntax inconsistencies in JavaScript files to match a defined standard.

    JavaScriptdevelopmentecmascriptes6
    在 GitHub 上查看↗29,431
  • okonet/lint-stagedokonet 的头像

    okonet/lint-staged

    14,669在 GitHub 上查看↗

    lint-staged is a git pre-commit task runner that executes linters and formatters specifically on files staged in git. It functions as a staged file filter and a monorepo task orchestrator, identifying the correct configuration and working directory for files across multiple packages in a repository. The system automatically adds formatting changes back to the git stage after a successful task run. It uses a mechanism to match files in the git index against glob patterns to determine which tasks to execute and can automatically update git indices after formatting. The project covers sequentia

    Automatically adds formatting changes back to the Git stage after a successful task run.

    JavaScript
    在 GitHub 上查看↗14,669
  • w0rp/alew0rp 的头像

    w0rp/ale

    14,005在 GitHub 上查看↗

    Ale is a Neovim LSP client and asynchronous linter wrapper designed to integrate language servers and syntax checkers into the editor. It provides infrastructure for background syntax validation and automated code fixing without blocking the editor interface. The project implements the Language Server Protocol to enable advanced semantic navigation, including symbol renaming, definition jumping, and the application of automatic refactoring changes. It functions as an automatic code fixer that applies formatting and repairs based on feedback from linting tools and language servers. The plugin

    Applies automatic corrections to files based on feedback from linting tools and language servers.

    Vim Script
    在 GitHub 上查看↗14,005
  • todepond/dreamberdTodePond 的头像

    TodePond/DreamBerd

    13,550在 GitHub 上查看↗

    DreamBerd is a general purpose programming language designed for building applications with integrated support for reactive state, time-aware memory management, and embedded user interface markup. It functions as a programming environment that tracks dynamic values and coordinates asynchronous tasks through sequential execution constraints. The language is distinguished by its ability to track variable history, providing dedicated keywords to retrieve previous, current, and future values of variables during execution. It further differentiates itself through a memory model that controls varia

    Implements automated syntax completion that inserts missing brackets and structural delimiters to resolve unfinished code blocks.

    在 GitHub 上查看↗13,550
  • rust-lang/rust-clippyrust-lang 的头像

    rust-lang/rust-clippy

    13,309在 GitHub 上查看↗

    This project is a static analysis linter, code quality tool, and language auditor for Rust. It functions as an automated refactoring system designed to identify common mistakes and suggest idiomatic improvements for Rust source code. The tool identifies non-idiomatic patterns, performance bottlenecks, and code smells to improve the overall correctness and quality of the code. It specifically audits memory safety by flagging suspicious use of unsafe blocks and pointer manipulations and detects inefficient operations to optimize execution speed. The analysis surface covers coding style enforce

    Automatically modifies source code to apply the non-destructive fixes recommended by the analyzer.

    Rustlintrust
    在 GitHub 上查看↗13,309
  • rubocop/rubocoprubocop 的头像

    rubocop/rubocop

    12,879在 GitHub 上查看↗

    RuboCop is a static code analyzer, linter, and formatter for the Ruby language. It identifies style violations, smells, and errors in source code to ensure consistency and maintainability based on community guidelines. The project provides automatic source code formatting to rewrite files according to defined stylistic standards. It also functions as a language server protocol implementation, surfacing violations and suggested fixes directly within code editors. The tool covers code complexity monitoring to track the size of classes and methods and employs non-inclusive language detection to

    Automatically rewrites Ruby source code to adhere to defined stylistic and syntactic formatting standards.

    Rubycode-formatterhacktoberfestlinter
    在 GitHub 上查看↗12,879
  • rubocop-hq/rubocoprubocop-hq 的头像

    rubocop-hq/rubocop

    12,879在 GitHub 上查看↗

    RuboCop is a static code analyzer, linter, and formatter for the Ruby language. It detects style violations, potential bugs, and code smells by scanning source code without executing the program. The tool enforces a predefined Ruby style guide by flagging deviations and automatically rewriting source code to ensure consistency across projects. It includes a language server that provides real-time analysis and formatting suggestions directly within text editors.

    Automatically rewrites Ruby source code to adhere to a consistent visual style and syntax standard.

    Ruby
    在 GitHub 上查看↗12,879
  • zxqfl/tabninezxqfl 的头像

    zxqfl/TabNine

    10,784在 GitHub 上查看↗

    TabNine is an AI programming assistant and large language model completion tool that predicts and completes source code in real time. It functions as a language-aware code predictor, providing automated line completions and code snippets based on the context of the current file and project. The system utilizes custom language mapping and programming language tokenization to ensure suggestions remain syntax-accurate across various file extensions. By defining how source code is broken into symbols and identifiers, the tool maintains consistent suggestions across a project's different file type

    Analyzes file structure through tokenization to provide contextually relevant and syntax-accurate code completions.

    Shell
    在 GitHub 上查看↗10,784
  • super-linter/super-lintersuper-linter 的头像

    super-linter/super-linter

    10,492在 GitHub 上查看↗

    Combination of multiple linters to run as a GitHub Action or standalone

    Applies automatic fixes for supported linters and formatters directly to source files in the workspace.

    Shellactionscicode-quality
    在 GitHub 上查看↗10,492
  • xo/usqlxo 的头像

    xo/usql

    10,014在 GitHub 上查看↗

    usql is a universal SQL command-line interface used to connect to and manage multiple SQL and NoSQL databases through a single unified tool. It provides a standardized interface for executing queries across various data stores and serves as a multi-database query tool and schema inspector. The tool distinguishes itself by enabling cross-database data migration, allowing users to pipe result sets from one active database connection directly into another. It also features terminal-based data visualization, which renders query results as graphical charts, graphs, and images directly within the t

    Provides syntax-aware completions for queries and commands within the interactive shell.

    Gocommand-linedatabasego
    在 GitHub 上查看↗10,014
  • nicklockwood/swiftformatnicklockwood 的头像

    nicklockwood/SwiftFormat

    8,835在 GitHub 上查看↗

    SwiftFormat is a tool for the Swift language that functions as a code formatter, linter, and refactoring utility. It automatically applies consistent style rules and visual formatting to source files to ensure a uniform appearance across a project. The project differentiates itself by providing both a command-line interface for batch processing and an Xcode extension for integration directly into the development environment. It includes specialized capabilities for modernizing legacy API usage, simplifying language constructs, and inferring formatting options by analyzing an existing codebase

    Automatically rewrites Swift source code to adhere to consistent visual style and syntax standards.

    Swift
    在 GitHub 上查看↗8,835
  • missing-semester-cn/missing-semester-cn.github.iomissing-semester-cn 的头像

    missing-semester-cn/missing-semester-cn.github.io

    7,311在 GitHub 上查看↗

    This is an open-source educational website that translates and localizes MIT's Missing Semester course, teaching practical computing skills for computer science students. The curriculum covers developer tooling, shell scripting, version control, security fundamentals, and open-source collaboration, with a focus on core computing skills including data processing pipelines, workflow automation, secure remote access, shell productivity, Vim editing, and Git version control. The project distinguishes itself by teaching command-line mastery, shell scripting, and automation to boost daily developer

    Teaches automatic code formatting tools to enforce consistent style guides.

    Markdown
    在 GitHub 上查看↗7,311
  • rust-lang-nursery/rustfmtrust-lang-nursery 的头像

    rust-lang-nursery/rustfmt

    6,877在 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

    Automatically rewrites Rust source code to adhere to a consistent and standardized style guide.

    Rust
    在 GitHub 上查看↗6,877
  • saghen/blink.cmpsaghen 的头像

    saghen/blink.cmp

    5,951在 GitHub 上查看↗

    Integrates with language servers for context-aware completions including signature help.

    Luaneovimneovim-lua-pluginneovim-plugin
    在 GitHub 上查看↗5,951
  • prettier/prettier-vscodeprettier 的头像

    prettier/prettier-vscode

    5,504在 GitHub 上查看↗

    这是一个将 Prettier 格式化引擎集成到编辑器中的 Visual Studio Code 扩展。它作为一座桥梁,通过从语法树重新打印源代码来强制执行一致的布局和换行,从而提供主观的、多语言的代码样式。 该扩展支持在保存时或通过命令自动格式化,确保团队间代码库的统一。它通过合并编辑器首选项、EditorConfig 文件和本地配置文件来解析样式规则,并能与 linter 协调以解决冲突的样式规则。 该系统支持广泛的编程语言和标记格式,并能够通过插件和自定义文件扩展名映射扩展语言支持。它通过优先考虑项目本地安装而非捆绑版本来处理格式化程序版本解析,并跟踪光标位置以在代码修改后保持插入符位置。

    Automatically rewrites source code to adhere to consistent visual styles and syntax standards.

    TypeScript
    在 GitHub 上查看↗5,504
  • x-motemen/gorex-motemen 的头像

    x-motemen/gore

    5,472在 GitHub 上查看↗

    gore 是一个 Go 语言的交互式 Shell 和读取-求值-打印循环(REPL)。它作为一个原型设计工具,允许在终端界面中评估表达式、语句和函数声明,而无需完整的构建周期。 该项目作为语言服务器客户端集成,提供智能代码补全、实时代码建议和自动包导入解析。它通过生成临时模块文件来解析依赖,并在会话期间自动导入远程仓库,从而脱颖而出。 该工具包含提升开发者体验的功能,如表达式类型检查、符号文档检索以及过滤冗余的编译器输出。交互式会话支持多行块跟踪、持久化命令历史记录以及基于 ANSI 的终端光标管理。

    Analyzes source code structure and applies automated fixes to resolve compilation errors.

    Go
    在 GitHub 上查看↗5,472
  • missing-semester/missing-semestermissing-semester 的头像

    missing-semester/missing-semester

    5,525在 GitHub 上查看↗

    The Missing Semester is a free, open-source educational curriculum designed to bridge the gap between theoretical computer science and the practical tooling every software engineer needs. Organized as a structured course, it covers Unix shell mastery, version control with Git, software debugging and profiling, system administration fundamentals, and computer security practices — the skills often left out of traditional degree programs. The project is maintained as a collaborative set of lecture notes, exercises, and guides that function as both a professional development tools course and a Uni

    Covers automatically reformatting code to enforce consistent style, handling spacing, quotes, and imports.

    CSS
    在 GitHub 上查看↗5,525
  • juliapluto/pluto.jlJuliaPluto 的头像

    JuliaPluto/Pluto.jl

    5,346在 GitHub 上查看↗

    Pluto.jl 是一个用于 Julia 的响应式计算环境,其功能类似于可编程文档格式。它作为一个交互式数据科学 IDE 和多语言计算笔记本,将 Julia 代码和环境依赖项存储为可版本化的源文件。 该系统以其响应式执行模型而著称,该模型使用有向无环图来跟踪变量依赖关系,并在值发生变化时自动重新评估受影响的下游单元。它通过将隔离的包环境直接集成到笔记本文件中,并将内容持久化为纯可执行源文件,从而确保了可重复性。 该平台涵盖了广泛的功能,包括交互式数据可视化、创建引导式教育作业以及生成静态文档网站。它支持多种输出模式,如幻灯片演示和 Web 应用程序,并提供将笔记本导出为 HTML、PDF 和以可重复性为重点的脚本的工具。 该环境可以通过 localhost 上的 Web 界面启动,也可以通过远程服务器和云计算托管进行访问。

    Identifies code that fails to parse and suggests automatic corrections to resolve syntax typos.

    JavaScriptdesigned-for-teacherseducationexploration
    在 GitHub 上查看↗5,346
  • google/gtsgoogle 的头像

    google/gts

    5,284在 GitHub 上查看↗

    gts 提供了用于项目引导和应用一致性 Linting 及格式化风格指南的标准化实用程序。它作为一个 TypeScript 项目引导程序,使用标准化的依赖项、构建脚本和编译器设置来初始化新项目。 该项目实施了一个综合的 TypeScript 风格指南,由预定义的静态分析规则集合和自动调整源代码间距及语法的代码格式化程序组成。这些工具识别并修复代码风格违规,以确保代码库的一致性。 其他功能包括强制执行严格的编译器约束和类型检查行为。该系统还通过预提交(pre-commit)验证自动化与版本控制集成,以防止不合规的代码进入仓库历史记录。

    Implements tools that automatically rewrite source code to adhere to a consistent visual style and syntax standard.

    TypeScriptformattergooglelinter
    在 GitHub 上查看↗5,284
  • wklken/k-vimwklken 的头像

    wklken/k-vim

    4,863在 GitHub 上查看↗

    k-vim 是一个 Vim 编辑器的配置框架和开发环境。它提供了一套预定义的设置、快捷键配置和精选插件套件,旨在针对各种编程技术栈优化编辑器。 该框架的特色在于语言特定的配置分组,允许编辑器根据检测到的文件类型激活定制的插件集和格式化规则。它集成了专用的包管理系统,用于安装、更新和组织这些扩展。 该环境涵盖了广泛的功能领域,包括自动代码格式化(空格和缩进)、优化的搜索结果定位以及简化的标签页和缓冲区管理。它还实现了用于导航和高级文本编辑控制的自定义快捷键映射。

    Automatically trims trailing whitespace and adjusts indentation to maintain consistent visual style.

    Vim Scriptk-vimsolarizedvim-configuration
    在 GitHub 上查看↗4,863
上一个12下一个
  1. Home
  2. Development Tools & Productivity
  3. Automatic Code Formatters

探索子标签

  • Commit-Integrated FormattersCode formatters that are integrated into the Git commit lifecycle to automatically update the index. **Distinct from Automatic Code Formatters:** Distinct from Automatic Code Formatters by specifically linking the formatting action to the Git commit process.
  • Structural Token Completion1 个子标签Automatically inserts missing delimiters and structural tokens to resolve incomplete code blocks. **Distinct from Automatic Code Formatters:** Distinct from Automatic Code Formatters: completes missing syntax structures rather than rearranging existing code for style.
  • Syntax CorrectionsAutomated application of fixes to resolve syntax errors identified by analysis tools. **Distinct from Automatic Code Formatters:** Focuses on repairing structural syntax errors rather than just applying visual style formatting