A simple tool to apply a fixed format to our QML files (since we don't use QT Creator we don't get it's autostyling)
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Dan Ballard fbfe9d6edf copy qmlfmt over from cwtch.im/ui/cmd/qmlfmt 6 days ago
README.md copy qmlfmt over from cwtch.im/ui/cmd/qmlfmt 6 days ago
qmlfmt.go copy qmlfmt over from cwtch.im/ui/cmd/qmlfmt 6 days ago

README.md

qmlfmt

qmlfmt in place edits the qml files specified on the command line applying fixed 4 space indent rules to them. This simple tool is aimed at projects working with QML but not using QT Creator so not benefiting from it's auto formating.