Skip to content

DRAFT RFC Run autoformat on QML files

David Edmundson requested to merge work/qml_format into master

The clang-format has made life a lot easier for C++ dev work. We've been wanting to do something similar for QML. This is using something like the qmlformatter but disabling the re-ordering of blocks within a file. What's nice is that we'll then be able to use QML tools more directly without worrying about them affecting existing code ordering.

Naturally I suspect we'll need some rounds of iteration, some of the JS isn't quite as neat compressed.

As it's a big diff it might be easier to load the branch manually.

Merge request reports

Loading