aboutsummaryrefslogtreecommitdiffstats
path: root/tools/qmlformat/qmlformat.cpp
diff options
context:
space:
mode:
authorSemih Yavuz <semih.yavuz@qt.io>2025-09-30 22:41:43 +0200
committerSemih Yavuz <semih.yavuz@qt.io>2025-10-01 15:17:41 +0200
commit4486e9c1a41d467642c47bfd960b84d8620f2551 (patch)
tree1c09ee2adfaecf8eb32671605b01e7a5839617ab /tools/qmlformat/qmlformat.cpp
parenta07e9360ed4b31c0088f7b6d1a99dd016c3c31aa (diff)
qmlformat: disable formatting of non-script expressions via comments
Implement handling of // qmlformat off and // qmlformat on comments to allow selective disabling and enabling of formatting in QML files. Extend OutWriter to track disabled regions and skip formatting output accordingly. Task-number: QTBUG-97796 Change-Id: I5a0817f3229bb9916ee077d2d946c54f5dfc0c4f Reviewed-by: Sami Shalayel <sami.shalayel@qt.io>
Diffstat (limited to 'tools/qmlformat/qmlformat.cpp')
0 files changed, 0 insertions, 0 deletions