Details
-
Bug
-
Resolution: Done
-
P1: Critical
-
Qt Creator 4.7.0
Description
If this code is auto formatted:
(Reformat file)
import QtQuick 2.8 import QtQuick.Timeline 1.0 Item { id: artboard_1_copy_2 width: 1917 height: 1080 } /*test* } */
I get:
import QtQuick 2.8 import QtQuick.Timeline 1.0 Item { id: artboard_1_copy_2 width: 1917 height: 1080 /*test* } */
which is not syntactically correct anymore.
This has a strong impact on Design Studio since ui.qml files are auto formatted automatically.
Attachments
For Gerrit Dashboard: QTCREATORBUG-21036 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
239504,3 | qmljs: fix bug in reformatting | 4.7 | qt-creator/qt-creator | Status: MERGED | +2 | 0 |
239849,1 | qmljs: fix bug in reformatting | master | qt-creator/qt-creator | Status: ABANDONED | 0 | 0 |