Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

DX format eats comments at the end of blocks #3030

Open
DioxusGrow opened this issue Oct 3, 2024 · 0 comments
Open

DX format eats comments at the end of blocks #3030

DioxusGrow opened this issue Oct 3, 2024 · 0 comments
Labels
autoformatting Related to the autofmt crate bug Something isn't working

Comments

@DioxusGrow
Copy link

DioxusGrow commented Oct 3, 2024

While creating an app, sometimes you have to comment out nested tags to see the difference. When saving Ctrl + S, all commented tags are deleted. You have to save them outside the component and then re-insert them. This behavior is not logical at all during development and is annoying.

bandicam.2024-10-03.13-55-41-158.mp4

Environment:
Dioxus version: dioxus 0.6.0-alpha.2 (d0c9b67) from github 03/10/24
Rust version: rustc 1.81.0 (eeb90cda1 2024-09-04)
OS info: Win11
App platform: web
VSCode 1.93.1 (last for 03/10/24)
Dioxus VSCode Extension v0.5.1

@ealmloff ealmloff changed the title Fix permanent deletion of commented nested tags DX format eats comments at the end of blocks Oct 3, 2024
@ealmloff ealmloff added bug Something isn't working autoformatting Related to the autofmt crate labels Oct 3, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
autoformatting Related to the autofmt crate bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants