Jonathan Kelley 575f92d2d4 chore: update readme and tests for autofmt 3 年 前
..
src 76581e7400 fix: disappearing manual props 3 年 前
tests 575f92d2d4 chore: update readme and tests for autofmt 3 年 前
Cargo.toml fa9ebe17cc feat: fix autoformatting around one liners 3 年 前
README.md 575f92d2d4 chore: update readme and tests for autofmt 3 年 前

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