-
Suggestion
-
Resolution: Fixed
-
P3: Somewhat important
-
None
-
fe8b5d2e4 (dev), 66b7fca24 (dev)
Currently, qmlformat seems to look for .qmlformat.ini files in the directory of each *.qml file. Also, settings from a parent directory are propagated to its subdirectories, until overridden by another .qmlformat.ini file in the subdir. If no .qmlformat.ini file is found in the directory of the *.qml file or its parent directories, then the "default" settings are used. (Assuming no command line options are specified)
Suggestion
Provide the ability to specify the path to an external settings file to replace the "default" settings.
- relates to
-
QTBUG-134207 qmlformat: Support company-wide coding guidelines
-
- Reported
-
For Gerrit Dashboard: QTBUG-107212 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
657999,5 | qqmltoolingsettings: refactor search() | dev | qt/qtdeclarative | Status: MERGED | +2 | 0 |
659339,6 | qmlformat: allow specifying an alternative location for settings | dev | qt/qtdeclarative | Status: MERGED | +2 | 0 |