Details
-
Suggestion
-
Resolution: Unresolved
-
P3: Somewhat important
-
None
Description
Input
import QtQuick.Controls.Basic TextField { width: 200 height: 50 color: "blue" hoverEnabled: true objectName: "Test" }
Current output
qmlformat --normalize
import QtQuick.Controls.Basic TextField { color: "blue" height: 50 hoverEnabled: true objectName: "Test" width: 200 }
Suggested other output
qmlformat --normalize --type-property-grouping
import QtQuick.Controls.Basic TextField { // QtObject properties objectName: "Test" // Item properties height: 50 width: 200 // TextInput properties color: "blue" // TextField properties hoverEnabled: true }
(Perhaps with another flag for enabling/disabling the comments?)