-
Suggestion
-
Resolution: Fixed
-
Not Evaluated
-
None
-
Qt Creator 16.0.1
-
-
26df7b036 (dev), a50af1987 (dev), 4b5b1540c (6.10), f74b1936a (dev)
It would be nice if there is a way to keep empty objects from being expanded onto a new line?
e.g. something like this:
property QtObject object: QtObject { } // empty object
becomes:
property QtObject object: QtObject {
} // empty object
I know this is subjective, but It would look nicer to keep it on one line.
- depends on
-
QTBUG-123386 QmlFormat. Incorrect handling of some comments
-
- Open
-
- relates to
-
QTBUG-123386 QmlFormat. Incorrect handling of some comments
-
- Open
-
| For Gerrit Dashboard: QTCREATORBUG-33333 | ||||||
|---|---|---|---|---|---|---|
| # | Subject | Branch | Project | Status | CR | V |
| 670563,6 | qmlformat: add 'single line empty objects' option | dev | qt/qtdeclarative | Status: MERGED | +2 | 0 |
| 670566,15 | qmlformat: Fix ScriptFormatter for blocks/statements comments | dev | qt/qtdeclarative | Status: MERGED | +2 | +1 |
| 671362,3 | qqmldomreformatter: allow outWithComments to change indentation | dev | qt/qtdeclarative | Status: ABANDONED | +1 | 0 |
| 675031,15 | qmlformat: stop moving comments around QmlObjects | dev | qt/qtdeclarative | Status: MERGED | +2 | +1 |
| 677172,3 | qmlformat: Fix ScriptFormatter for blocks/statements comments | 6.10 | qt/qtdeclarative | Status: MERGED | +2 | +1 |