Details
-
Bug
-
Resolution: Unresolved
-
P2: Important
-
6.10
-
None
Description
Even after https://bugreports.qt.io/browse/QTBUG-131386 was fixed, there are still more places where extra spaces get inserted in the user's code.
QtObject /**/ {}
becomes
QtObject /**/ {}
see Binding::preCodeForName(QStringView n)
More such cases exist.
Attachments
Issue Links
- resulted from
-
QTBUG-131386 qmlformat inserts a new space after block comment on file save
-
- Closed
-
Gerrit Reviews
For Gerrit Dashboard: QTBUG-133315 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
653793,5 | qmlformat: Prevent superfluous space after Object name with comment | dev | qt/qtdeclarative | Status: INTEGRATING | +2 | 0 |
654704,4 | Dom: Create region for the colon token in signal param type annotations | dev | qt/qtdeclarative | Status: INTEGRATING | +2 | 0 |
654705,8 | qmlformat: Fix comment handling around enums | dev | qt/qtdeclarative | Status: INTEGRATING | +2 | +1 |
654818,6 | Dom: Prefer writeRegion over write where possible in the OutWriter | dev | qt/qtdeclarative | Status: INTEGRATING | +2 | 0 |