QML formatter from the command line?
已回答
Thanks JetBrains for adding QML supoort to CLion!
Is it possible to run the QML formatter from the command line?
请先登录再写评论。
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
Thanks Anna!