-
Technical task
-
Resolution: Unresolved
-
P2: Important
In some instances you want sections of your code to not get reformatted, in these cases it should be possible to turn the formatter on and off via a comment.
- covers
-
QTBUG-131686 qmlformat: Provide a way to preserve line breaks in multi-line expressions
-
- Open
-
- depends on
-
QTBUG-92869 improve QML custom lexer to be restartable and use it for line by line indentation
-
- Closed
-
For Gerrit Dashboard: QTBUG-97796 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
670450,4 | qmlformat: Pass fileLocations to writeRegion for conditional output | dev | qt/qtdeclarative | Status: NEW | +1 | 0 |
670452,9 | qmlformat: Add support for disabling formatting via comments | dev | qt/qtdeclarative | Status: NEW | 0 | 0 |
670679,7 | doc: document qmlformat disable feature | dev | qt/qtdeclarative | Status: NEW | +1 | 0 |
673157,1 | qmlformat: Disable WriteOutCheck at runtime | dev | qt/qtdeclarative | Status: NEW | +2 | 0 |
673158,1 | qmlformat: Expose sourceLocation for Comment | dev | qt/qtdeclarative | Status: NEW | +2 | 0 |
673162,5 | qmlformat: Enable file locations for script expressions in default dom creation | dev | qt/qtdeclarative | Status: NEW | +2 | 0 |
673163,6 | qmlformat: Add FormatDirectiveScanner for qmlformat directive support | dev | qt/qtdeclarative | Status: NEW | 0 | 0 |
673165,6 | qmlformat: Support disabling formatting for script expressions via comments | dev | qt/qtdeclarative | Status: NEW | 0 | 0 |