Files
dioxus/packages
Sebastian Flügge 82c3cab25f fix(autofmt): preserve indentation of commented-out RSX blocks (#5464)
* test: add failing idempotency tests for commented-out RSX blocks

Two variants of the regression introduced in v0.7.4 (#5257):
- commented_rsx_block: first line keeps indent, rest gets dedented
- commented_rsx_block_nested: entire block gets dedented

See #5463

* fix(autofmt): preserve indentation of commented-out RSX blocks

Trailing comments before `}` in write_rsx_block were indented at
parent level instead of child level. Truncate the tab from
tabbed_line() and bump indent to child level before
apply_line_comments, same approach as write_trailing_body_comments.

Fixes #5463
2026-04-21 17:16:20 -07:00
..
2026-04-14 17:58:50 -07:00
2025-08-20 10:49:03 -07:00
2026-01-25 13:54:26 -08:00
2026-04-14 14:34:41 -07:00
2025-10-30 21:26:01 -07:00
2026-04-21 13:59:12 -07:00
2025-10-30 21:26:01 -07:00
2025-11-17 08:09:41 -06:00
2026-04-14 15:37:30 -07:00
2026-04-14 12:10:58 -07:00