Jonathan Kelley 5313fc0cc6 fix: trailing commas with key 2 سال پیش
..
src 5313fc0cc6 fix: trailing commas with key 2 سال پیش
tests 5313fc0cc6 fix: trailing commas with key 2 سال پیش
Cargo.toml d9546d9504 Renderers are now packages, not features. (#387) 3 سال پیش
README.md a37458b9fa chore: fixes to autoformat to prevent double rendering of expr line 2 سال پیش

README.md

This crate autofmts blocks of rsx!

This crate formats rsx! by parsing call bodies and pretty-printing them back out.

Todo:

Sorted roughly in order of what's possible

  • Oneline rsx! calls - blocker because this wrecks formatting
  • Nested RSX calls (important) - unnecessary but desirable
  • RSX edits overstepping each other
  • Collapse components and elements under syntax -
  • Don't eat comments in exprs
  • Format regular exprs
  • Fix prettyplease around chaining
  • Don't eat comments in prettyplease

Technique