Files
qt-creator/tests/auto/qml/reformatter/annotations.qml
Thomas Hartmann 90b36d88e2 QmlJS: Add support for annotations in qmljsreformatter
This fixes that the annotations are removed. The indentation
still has issues.

Change-Id: I6752767e00e0fafe8eb567066db3b9952f0d0a4f
Reviewed-by: Ulf Hermann <ulf.hermann@qt.io>
Reviewed-by: <github-actions-qt-creator@cristianadam.eu>
2023-06-06 11:17:46 +00:00

23 lines
412 B
QML

import QtQuick
@Annotation {}
Item {
// properties
property int foo
property alias bar: x
@Annotation2 {
someproperty: 10
}
id: someId
@Annotation3 {
someproperty: 10
}
Rectangle {
// properties
property int foo
property alias bar: x
id: someId2
}
}