dioxus/packages/autofmt
2022-06-27 13:36:41 -04:00
..
src wip: use stateful buffer 2022-06-27 13:36:41 -04:00
tests wip: rely on git version of prettyplease, refactor autofmt 2022-06-25 00:55:52 -04:00
Cargo.toml wip: rely on git version of prettyplease, refactor autofmt 2022-06-25 00:55:52 -04:00
README.md feat: add fork of prettyplease for autoformatting 2022-06-24 14:22:08 -04:00

This crate autofmts blocks of rsx!

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

It also incorporates a fork of prettyplease to allow formatting arbitrary rust code too. Prettyplease rejected a suggestion to allow arbitrary expression formatting - something our fork lets us do.