4 个仓库
Tools 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.
Explore 4 awesome GitHub repositories matching part of an awesome list · Rust Code Formatters. Refine with filters or upvote what's useful.
rustfmt is a Rust code formatter that operates as a Cargo subcommand, applying consistent formatting to Rust source files according to official style guidelines. It parses source code into a syntax tree, applies formatting rules to tree nodes, and pretty-prints the result back to text, with support for TOML-driven configuration that allows per-project style customization. The formatter is edition-aware, automatically selecting formatting rules based on the Rust edition specified in the project, and supports a style edition override that decouples formatting rules from the Rust edition used fo
Applies consistent, project-wide formatting to Rust source files according to official style guidelines.
Skim is a cross-platform interactive fuzzy finder that runs as a terminal application, a Rust library, a Vim and Neovim plugin, and a shell integration tool. It provides real-time filtering and selection from lists of items, supporting keyboard and mouse navigation, live preview panes, and multi-select functionality across Linux, macOS, and Windows. The tool distinguishes itself through a composable query expression tree that supports fuzzy, exact, inverse, prefix, suffix, and logical AND/OR operators, combined with a Smith-Waterman scoring engine that penalizes typos and gaps for natural rel
Formats Rust source code with a maximum line width of 120 characters and grouped imports.
rust.vim 是一个 Vim 插件,提供针对 Rust 的语言特定编辑器支持。它集成了语法高亮、缩进管理和工具配置,以提高 Rust 源代码的可读性和结构理解。 该插件支持针对特定函数的定向测试执行,并提供与在线 Playground 的集成以进行代码实验和共享。 它进一步涵盖了代码格式化、静态错误检测以及用于浏览源代码结构和在定义之间跳转的符号导航功能。 配置通过 Vimscript 管理。
Standardizes the layout and indentation of Rust source files using external formatting tools.
dprint is a multi-language code formatter that applies consistent styling across various programming languages using a pluggable architecture. It functions as a unified project style management tool, a command-line interface for continuous integration style enforcement, and a Language Server Protocol implementation for real-time formatting in editors. The project is distinguished by a WebAssembly-based plugin system that loads sandboxed formatting logic from URLs or file paths. It further extends its capabilities through a process-based tool integration that wraps external command-line interf
Applies consistent project-wide formatting to Rust source files using a rustfmt wrapper.