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

Wrong alignment when element contain list #11

Closed
tienlocnguyen opened this issue Jan 15, 2022 · 1 comment
Closed

Wrong alignment when element contain list #11

tienlocnguyen opened this issue Jan 15, 2022 · 1 comment

Comments

@tienlocnguyen
Copy link

When QML element contain a list which marked with [], the next close bracket will be shift to 1 level
For example:
This is wrong

            ComboBox {
                width: 200
                model: ["500000", "1000000"]
                }  // -> shifted to 1 level

But after comment the list, it's correct

            ComboBox {
                width: 200
                // model: ["500000", "1000000"]
            } // -> Correct
@AndreOneti
Copy link
Owner

Thanks for sharing this error, I will work on fixing it.

But this formatter is still under development.

AndreOneti pushed a commit that referenced this issue Jan 17, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants