Details
-
Bug
-
Resolution: Done
-
P2: Important
-
Qt Creator 6.0.1
-
-
556ec7c20e (qt-creator/qt-creator/master)
Description
qmlformat moves the "unrelatedProp" over a bunch of whitespace to align with the "N/A" because of the nullish coalescing.
import QtQuick 2.15 import QtQuick.Controls 2.15 Item { property string otherString: "" property string aProp: otherString ?? "N/A" property int unrelatedProp: 10 }
Attachments
For Gerrit Dashboard: QTCREATORBUG-27344 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
409859,2 | qmljsreformatter: support nullish coalescing | master | qt-creator/qt-creator | Status: MERGED | +2 | 0 |