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

Indent with tabs #29

Open
jhasse opened this issue Nov 21, 2019 · 1 comment
Open

Indent with tabs #29

jhasse opened this issue Nov 21, 2019 · 1 comment

Comments

@jhasse
Copy link

jhasse commented Nov 21, 2019

Is it possible to configure qmlfmt so that it uses tabs for indention?

@jesperhh
Copy link
Owner

jesperhh commented Nov 21, 2019

Unfortunately, this is not currently possible, qmtfmt uses the qml formatter from Qt Creator, which does not support tabs instead of spaces - what Qt Creator does instead is to first format the qml with spaces, and then another code path converts the spaces to tabs.

When time permits, I will see if I can integrate the spaces to tabs conversion to qmlfmt.

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