[Interest] QML beautifier?

André Somers andre at familiesomers.nl
Thu May 15 08:56:53 CEST 2014


Jason H schreef op 14-5-2014 19:40:
> So It's crossed my mind that having a stable or standard order of elements in a QML document would be a good thing. Also it would help with merging QML files. While the order of Elements in the QML file is important, the order of properties is not.
>
> So I was wondering if there is a tool to consistently order the properties. The usual order would be id, anchors, values (text:, color:), custom properties, then finally event handlers. Within in each group, they would be sorted by name.
Why would that be _the_ order? Let me put it like this: it is not the 
order I normally use. I am not claiming my order is better, I am just 
wondering why you think that your order is The Right One(TM).

André




More information about the Interest mailing list