dioxus/packages/rsx
Evan Almloff 2523581cf4
Autocomplete rsx (#2421)
* autocomplete rsx

* hide the completions module

* fix autocomplete for identifiers that start with a raw identifier

* add field completion hints for props

* remove extra import

* Revert "add field completion hints for props"

This reverts commit 194899c737.

* fix autocomplete inside raw expressions

* fix autofmt

* feat: just use regular ifmt if it's compatible

reuses the tokens for ifmt so RA provides its HIR lowering on simple formatted strings

* fix merging ifmt strings

* add a better error message for components called like functions

---------

Co-authored-by: Jonathan Kelley <jkelleyrtp@gmail.com>
2024-05-22 07:24:50 -05:00
..
.vscode 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
src Autocomplete rsx (#2421) 2024-05-22 07:24:50 -05:00
tests Autocomplete rsx (#2421) 2024-05-22 07:24:50 -05:00
Cargo.toml 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
README.md Fix Outdated README.md (#2147) 2024-03-26 19:17:02 -07:00

Dioxus-RSX

Crates.io MIT licensed Build Status Discord chat

Website | Guides | API Docs | Chat

Overview

This crate provides the actual DSL that Dioxus uses in the rsx! macro. This crate is separate from the macro crate to enable tooling like autoformat, translation, and AST manipulation (extract to component).

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.