Jon Kelley fb2f3e68ff fix: random commit (#586) před 2 roky
..
src fb2f3e68ff fix: random commit (#586) před 2 roky
tests 3d47cb48fa fix: autofmt on single line rsx calls před 3 roky
Cargo.toml d9546d9504 Renderers are now packages, not features. (#387) před 3 roky
README.md 575f92d2d4 chore: update readme and tests for autofmt před 3 roky

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