Details
-
Type:
Bug
-
Status: Closed
-
Priority:
P2: Important
-
Resolution: Duplicate
-
Affects Version/s: Qt Creator 4.9.0-rc1
-
Fix Version/s: None
-
Component/s: Quick / QML Support
-
Labels: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
-