I want to reformat the following code:
but its output is:
As this link written (https://doc.qt.io/qt-6/qml-codingconventions.html) , it will "try to group related properties together", but the height and weight in the output didn't group together, I think maybe the "visible" property make something wrong.
My Qt Creator settings is:
Qt Quick->QML/JS Editing,
"Use custom command instead of built-in formatter" √
Arguments: -f -n
I'm using Qt 6.5.1 MSVC 2019.