Open zhanglongqi opened 2 years ago
Smaller example
Repeater {
model: [
root.model[2] ]
}
is converted to
Repeater {
model: [
root.model[2] ]
}
but
Repeater {
model: [
root.model[2]
]
}
works fine
Other example with json-like elements inside square brackets :
ComboBox {
textRole: "text"
valueRole: "value"
model: [
{ value: "value1", text: "text1" },
{ value: "value2", text: "text2" }
]
}
Once formatted, json-like elements are put at the same indent as properties (in v1.3.0
) :
ComboBox {
textRole: "text"
valueRole: "value"
model: [
{ value: "value1", text: "text1" },
{ value: "value2", text: "text2" }
]
}
but they should remained indented.
My code is like this
expected like this:
but we got this