dioxus/packages/autofmt
Jonathan Kelley eb79e61642
Add a ton of comments to rsx/hotreload, add snapshot testing, refactor a bit to simplify the crate (#2130)
Merge dynamic context and dynamic mapping, clean up the rsx hotreload logic, and add location data to the Rsx objects
2024-03-24 13:31:26 -07:00
..
src Add a ton of comments to rsx/hotreload, add snapshot testing, refactor a bit to simplify the crate (#2130) 2024-03-24 13:31:26 -07:00
tests Fix #2104: fmt incorrectly using 1-indexing for columns (#2106) 2024-03-18 18:23:45 -07:00
Cargo.toml fix hotreloading issues in the CLI 2024-03-12 13:39:42 -07:00
README.md fix: Update doc links from v3 to v4 2023-09-16 19:03:27 +02:00

dioxus-autofmt

Crates.io MIT licensed Build Status Discord chat

Website | Guides | API Docs | Chat

Overview

dioxus-autofmt provides a pretty printer for the rsx syntax tree.

This is done manually with a via set of formatting rules. The output is not guaranteed to be stable between minor versions of the crate as we might tweak the output.

dioxus-autofmt provides an API to perform precision edits as well as just spit out a block of formatted RSX from any RSX syntax tree. This is used by the rsx-rosetta crate which can accept various input languages and output valid RSX.

Contributing

  • Report issues on our issue tracker.
  • Join the discord and ask questions!

License

This project is licensed under the MIT license.

Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in Dioxus by you shall be licensed as MIT without any additional terms or conditions.