-
Notifications
You must be signed in to change notification settings - Fork 19
Open
Labels
Description
Wish list of rustfmt features & bug fixes we would like to see added/improved/fixed based on the Rust projects we've been developing at Embark.
This is not a complete list, but an attempt to keep a bit of structure for our own sake, and may be of interest for rustfmt developers as well.
Should have
rustfmt features or fixes that would directly improve or help our workflows
- [unstable option]
imports_granularityrust-lang/rustfmt#4991 - [unstable option]
group_importsrust-lang/rustfmt#5083 - [unstable option] wrap_comments rust-lang/rustfmt#3347
- Gives up on chains if any line is too long. rust-lang/rustfmt#3863
- let-else formatting tracking issue rust-lang/rustfmt#4914
Nice to have
rustfmt features or fixes that would be nice to have, but are lower priority to us than the above list.
- [unstable option] format_strings rust-lang/rustfmt#3353
- [unstable option] format_code_in_doc_comments rust-lang/rustfmt#3348
- [unstable option] normalize_comments rust-lang/rustfmt#3350
- Format self types to a canonical form when possible rust-lang/rustfmt#5257
- [unstable option] reorder_impl_items rust-lang/rustfmt#3363
-
reorder_impl_itemsadds empty line between single-line macros rust-lang/rustfmt#5323
Not filed / found
Fixes or enhancements that believe there is no issue for yet, if you find one please do comment and we'll update it here.
- Could rustfmt automatically reformat literals in compliance with
clippy::unreadable_literal? Reopen this or file new? Format long numeric literals · Issue #3594 · rust-lang/rustfmt · GitHub
Related tracking issues for other Rust components:
MarijnS95, linyihai, mhnap and nielslelinyihai and nielslelotus128 and nielsle