Details
-
Bug
-
Resolution: Duplicate
-
P2: Important
-
None
-
Qt Creator 4.9.0-rc1
-
None
Description
Enter this into the QML code editor:
property var members: [
,
{"name": "member2"}]
Tools/Qml/JS/Reformat file
Result: property var members: [, ]
The re-formater should not delete code.
Attachments
Issue Links
- duplicates
-
QTCREATORBUG-22026 [Reg 4.8->4.9] QML auto format breaks valid structures
- Closed