QML formatter from the command line?

Answered

Thanks JetBrains for adding QML supoort to CLion!

Is it possible to run the QML formatter from the command line?

 

0
2 comments

Hello!

To format QML code CLion uses Qmlformat - https://www.jetbrains.com/help/clion/qml-syntax-support.html#qmlformat. This is a tool from Qt installation. You can use it from the command line - https://doc.qt.io/qt-6/qtquick-tools-and-utilities.html#qmlformat

1

Thanks Anna!

0

Please sign in to leave a comment.