Jon Kelley fb2f3e68ff fix: random commit (#586) 2 年之前
..
src fb2f3e68ff fix: random commit (#586) 2 年之前
tests 3d47cb48fa fix: autofmt on single line rsx calls 3 年之前
Cargo.toml d9546d9504 Renderers are now packages, not features. (#387) 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