Evan Almloff
e5df83ceec
Merge branch 'master' into pr/atty303/1349
2024-01-06 08:52:37 -06:00
Jonathan Kelley
8df7a7685e
Merge branch 'master' into many_optional_attributes
2024-01-04 10:18:57 -08:00
Alex Parrill
52fb080193
Use indentation settings in dx fmt and vscode extension
...
Adds the ability to specify an indent string to public autofmt methods - either
a sequence of spaces or a tab character.
Get the indentation style and size from rustfmt for dx fmt, or from the editor
settings for the vscode extension.
Closes #1595
2023-11-01 17:24:18 -04: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
7033276c34
Merge branch 'master' into pr/atty303/1349
2023-09-20 16:19:23 -05:00
Evan Almloff
ab2b9fb34e
fix autoformatting
2023-09-19 09:39:53 -05:00
Evan Almloff
d297e2baa2
Add optional attributes
2023-09-18 19:50:02 -05:00
Evan Almloff
1a17ca988c
fix double quotes in autoformatting
2023-09-14 16:19:21 -05:00
Evan Almloff
8c47dfaf78
clean up attribute parsing
2023-09-14 14:08:39 -05:00
Evan Almloff
f818d27fa6
only collect the rsx and render macros when formatting
2023-09-02 07:09:02 -05:00
Koji AGAWA
d573f5dfd5
feat: props spread
2023-08-13 16:45:17 +09:00
Evan Almloff
beb56b93a0
more clippy fixes
2023-07-20 09:06:12 -07:00
Evan Almloff
330950140c
fix clippy
2023-07-19 18:16:32 -07:00
Evan Almloff
b6ea722d94
fix some edge cases around multiline attributes
2023-07-19 16:59:20 -07:00
Evan Almloff
212022d0c2
more clippy fixes
2023-07-19 13:54:10 -07:00
Evan Almloff
6639011a3e
fix autofmt
2023-07-19 13:43:04 -07:00
ealmloff
c9d00908ec
Update component.rs
2023-07-19 15:00:10 -05:00
Evan Almloff
3d8d8a1b6f
half-build-times
2023-07-19 10:19:23 -07:00
Evan Almloff
8f67d0aafd
make creating rsx nodes from macros possible
2023-06-29 12:52:27 -07:00
Evan Almloff
d9e0b9a918
fix autoformatting raw strings
2023-06-02 12:03:56 -05:00
Evan Almloff
7be8ec3467
Fix html to rsx conversions
2023-04-24 16:07:50 -05:00
Evan Almloff
b6c7d44a27
fix clippy
2023-01-27 20:35:46 -06:00
Jonathan Kelley
4e4e101eee
fix: dont choke on emojji n exprs
2023-01-17 16:24:29 -08:00
Jonathan Kelley
61b8a25ad8
make clippy happy
2023-01-17 10:51:23 -08:00
Jonathan Kelley
b81eca0433
fix: short expr lists should not eat the final exprs
2023-01-16 17:25:55 -08:00
Jonathan Kelley
b6e4db1f2f
fix: immediate exprs
2023-01-16 16:36:50 -08:00
Jonathan Kelley
aa0f6812fa
fix ci around autofmt
2023-01-14 00:42:43 -08:00
Jonathan Kelley
270de7a0d2
fmt
2023-01-13 18:03:16 -08:00
Jonathan Kelley
3945928c59
fix: adjust padding on autofmt
2023-01-13 17:16:06 -08:00
Jonathan Kelley
0b110075ef
chore: remvoe todos hiding in autofmt
2023-01-13 17:05:45 -08:00
Jonathan Kelley
9f9bcd747a
chore: fewer clones in autoformat infrastructure
2023-01-13 16:58:53 -08:00
Jonathan Kelley
ea032eeb8e
clean up macro crate a little bit
2023-01-13 16:52:37 -08:00
Jonathan Kelley
ac6035cb2a
feat: parse entire file instead of hunting for verbtain
2023-01-13 16:46:34 -08:00
Jonathan Kelley
bf559a6d06
fix clippy
2023-01-13 10:59:03 -08:00
Jonathan Kelley
6cd87796f2
feat: allow ifchains and for loops
2023-01-13 10:51:12 -08:00
Jonathan Kelley
8ec5cbcc20
fix ci
2023-01-12 22:54:50 -08:00
Jonathan Kelley
293ef9c690
fix: only flow exprs with indent in mind
2023-01-12 17:02:41 -08:00
Jonathan Kelley
983789e4c5
handle weird trailing whitespace in autofmt
2023-01-12 16:55:13 -08:00
Jonathan Kelley
cc8b910cf3
fix emoji support in autofmt
2023-01-12 16:29:31 -08:00
Jonathan Kelley
1940855e39
feat: implement comments in zero children nodes
2023-01-10 17:47:58 -08:00
Jonathan Kelley
74421d47fd
fix comments being eaten in autofmt
2023-01-07 14:09:32 -08:00
Jonathan Kelley
5c63ae4b5d
chore: dont panic
2022-12-29 01:02:07 -05:00
Jonathan Kelley
bc3cf6501c
feat: complete html to rsx rosetta
2022-12-28 16:22:20 -05:00
Jonathan Kelley
14bc007c15
wip: refactor out translation into its own crate
2022-12-28 11:51:41 -05:00
Jonathan Kelley
c240aebfa1
chore: start instead of flart
2022-12-26 09:58:41 -05:00
Jonathan Kelley
182f11d0f3
chore: update with master
2022-12-19 16:17:59 -08:00
Jonathan Kelley
09b38574db
Merge branch 'master' into jk/autofmt-fixues
2022-12-19 12:19:51 -08:00