prettier-plugin-rust
jinx-rust
prettier-plugin-rust | jinx-rust | |
---|---|---|
10 | 3 | |
167 | 28 | |
- | - | |
4.1 | 0.0 | |
12 months ago | 12 months ago | |
Rust | Rust | |
MIT License | MIT License |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
prettier-plugin-rust
- Oxlint – written in Rust – 50-100 Times Faster than ESLint
-
Is rustfmt abandoned? Will it ever format `let ... else` syntax?
Same code formatted by Prettier Rust
-
Minimalist Rust formatter as an alternative to rustfmt?
There are alternatives to rustfmt: Prettier Rust and genemichaels
- Prettier Rust: An opinionated code formatter that autocorrects bad syntax
-
Configuring rust format to add line break before comments start
If you're open to using an alternative, here's how Prettier Rust would format your snippet:
- Prettier code formatter for Rust
- Prettier for Rust
jinx-rust
- jinx-rust: A permissive Rust parser for Rust tooling written in Typescript
-
Prettier Rust: An opinionated code formatter that autocorrects bad syntax
Prettier Rust parses using jinx-rust. Jinx-rust is built specifically for Rust tooling. Hence it tolerates a wide range of syntax errors, supports missing nodes (e.g. type annotations) and sometimes even infers user intent (e.g. Javascript's !== is parsed as !=).
- Jinx-Rust – A Rust Parser for Rust Tooling in TypeScript
What are some alternatives?
rustfmt - Format Rust code [Moved to: https://github.com/rust-lang/rustfmt]
foundry - Foundry is a blazing fast, portable and modular toolkit for Ethereum application development written in Rust.
rustfmt - Format Rust code
topiary
darker - Apply black reformatting to Python files only in regions changed since a given commit. For a practical usage example, see the blog post at https://dev.to/akaihola/improving-python-code-incrementally-3f7a
prettyplease - A minimal `syn` syntax tree pretty-printer
cbfmt - A tool to format codeblocks inside markdown and org documents.
genemichaels - Even formats macros
rfcs - RFCs for changes to Rust
oxc - ⚓ A collection of JavaScript tools written in Rust.
goformat - Alternative to gofmt with configurable formatting style (indentation etc.)
Cargo - The Rust package manager