// in example below two square brackets mean empty array which is ok, but QML editor marks it as a syntax error and breaks all QML code parsing
// this is legit QML code, taken from QGroundControl
// see lines 531 and 542 (or similar if code changes)
// https://github.com/mavlink/qgroundcontrol/blob/master/src/PlanView/PlanView.qml
Plugin
QML Editor
Code example
// in example below two square brackets mean empty array which is ok, but QML editor marks it as a syntax error and breaks all QML code parsing // this is legit QML code, taken from QGroundControl // see lines 531 and 542 (or similar if code changes) // https://github.com/mavlink/qgroundcontrol/blob/master/src/PlanView/PlanView.qml
Documentation reference
https://doc.qt.io/qt-6/qtqml-javascript-expressions.html