Evan Almloff and Jonathan Kelley
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 194899c73783e0f9b5d601d53365746d838f2048.
* 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
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
Jonathan Kelley
ae352f8958
Feat: reject invalid keys
2024-03-07 16:03:00 -08:00
Evan Almloff
e5df83ceec
Merge branch 'master' into pr/atty303/1349
2024-01-06 08:52:37 -06:00
Evan Almloff
f6acaba061
fix compilation
2024-01-04 17:04:56 -06:00
Jonathan Kelley
8df7a7685e
Merge branch 'master' into many_optional_attributes
2024-01-04 10:18:57 -08:00
Evan Almloff
bc557906fe
fix formatting
2024-01-03 15:18:37 -06:00
Evan Almloff
afb258b658
Fix elements and attributes mapping for dx translate
2024-01-03 15:18:27 -06:00
Evan Almloff
77d53df532
Merge branch 'master' into pr/atty303/1349
2023-10-31 13:39:20 -05:00
Leonard
2d1234c3d1
Include README and Dioxus logo in package docs ( #1536 )
...
* Include README in docs.rs and add Dioxus logo
* Update README.md
2023-10-10 10:52:48 -05:00
Evan Almloff
5b65c4cfb4
implement spreading props in the rsx macro
2023-09-22 10:04:34 -05:00
Evan Almloff
9e167dfdb7
Merge branch 'many_optional_attributes' into pr/atty303/1349
2023-09-22 09:32:05 -05:00
Evan Almloff
ab2b9fb34e
fix autoformatting
2023-09-19 09:39:53 -05:00
Evan Almloff
8c47dfaf78
clean up attribute parsing
2023-09-14 14:08:39 -05:00
Koji AGAWA
d573f5dfd5
feat: props spread
2023-08-13 16:45:17 +09:00
Evan Almloff
8f67d0aafd
make creating rsx nodes from macros possible
2023-06-29 12:52:27 -07:00
Evan Almloff
209a55da69
allow raw elements if they include a dash
2023-03-19 20:37:40 -05:00
Jonathan Kelley
2a9eb90154
fix: generate brace in rosetta
2023-01-10 18:14:16 -08:00
Jonathan Kelley
4fdbce9a70
chore: clean up readmes
2022-12-29 16:17:03 -05:00
Jonathan Kelley
04ca284704
chore: add svg collection
2022-12-29 02:21:32 -05:00
Jonathan Kelley
ecb154db6f
chore: rename method
2022-12-29 00:56:23 -05:00
Jonathan Kelley
1389766596
chore: take domtree by reference
2022-12-29 00:55:04 -05:00
Jonathan Kelley
bc707db832
chore: make clippy happy and limit workspace checks
2022-12-29 00:46:02 -05:00
Jonathan Kelley
bc3cf6501c
feat: complete html to rsx rosetta
2022-12-28 16:22:20 -05:00