DioxusLabs / DioxusLabs/dioxus

dx fmt bug

Open
#5,648 3 comments 1 reaction 0 assignees View on GitHub
autoformatting bug
Dominant language
Rust
Stars
39.1k
Forks
1.9k
Avg merge
4d 10h
Merged PRs (30d)
4

Description

After dx fmt, the string will be indented to the right

Image

Image

Contributor guide

No contributing guide indexed for this repository

Research direction

Start by reproducing the indentation change with `dx fmt` and compare the before-and-after output shown in the issue images. Trace the formatter entry point to identify which formatting step moves the string; done means the same input is formatted without the unwanted right indentation and the existing formatting checks still pass.

Written by the indexing model from the issue text.

Assessment

Tech stack
rust
Domain
tooling
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Quiet
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.