<div dir="ltr"><div></div><div>In a similar topic I've been pointed to a tool called qmlformat. It's basically clang-format for QML.</div><div><br></div><div>It seems to work quite well. It insists on a very specific code layout : <a href="https://doc.qt.io/qt-5/qml-codingconventions.html">https://doc.qt.io/qt-5/qml-codingconventions.html</a></div><div>id first, then newly declared properties and so on. This makes the changes applied to files quite extreme. </div><div><br></div><div>It also removes braces on single line if statements with no possibility for configuration currently.</div><div><br></div><div>I don't want to block the C++ tidying discussion on this, but it's definitely worth looking into in parallel.<br></div><div><br></div><div>David<br></div><br><div><br></div></div>