Details
-
Suggestion
-
Resolution: Unresolved
-
P2: Important
-
None
Description
qmlformat supports 2 broad categories of options:
A) Options that control how qmlformat reads inputs and writes outputs (examples: --files, --verbose, --help)
B) Options that control how qmlformat lays out the contents of a QML document (examples: --tabs, --indent-width, --normalize)
The .qmlformat.ini file is only concerned with Category B options.
It would be helpful to split qmlformat --help as well as https://doc.qt.io/qt-6/qtqml-tooling-qmlformat.html#options into the 2 sub-categories.
(Background context: We received a request to add the equivalent of qmlformat --inplace into .qmlformat.ini. Categorizing the options would help to clarify why this request doesn't make sense)
Attachments
Issue Links
- relates to
-
QTBUG-127286 Provide documentation for all options and their valid values for .qmlformat.ini file
-
- Reported
-