Unsolved Set comments in the ending scope
-
Hiya,
In large QML projects, it's quite annoying to create comments in the ending scope of each item. For example:
GreenSquare{ BlueSquare{ width:12 anchors.fill: parent anchors.margins: 8 text: '(1)' }//BlueSquare }//GreenSquare
In Qt/C++ I can deal with refactoring or maintain my code simple... But QML I think it might be useful to have an automatic tool to fill this comments.
I'm open for best practices in declarative languages... It's just a weird feeling.
-
I remember there being a feature request for exactly this in Qt Creator some time ago. Not sure if it has gone anywhere yet, but QtC devs seemed interested in it.
-