diff options
author | Maximilian Goldstein <max.goldstein@qt.io> | 2021-10-25 18:30:26 +0200 |
---|---|---|
committer | Maximilian Goldstein <max.goldstein@qt.io> | 2021-10-26 12:03:40 +0200 |
commit | e14d13bea68a5bf40a5475e5065651f750d4af04 (patch) | |
tree | 360afa7ca59445a0e960df18d716ef9666a47a9c /src/quick/doc/src/guidelines | |
parent | e2532e8773e0ee123d2b27e978026386b7ebc19d (diff) |
qmlformat: Implement settings file
Implements controlling qmlformat via a settings file as can be done for qmllint.
[ChangeLog][General][qmlformat] Adds the ability to set linting options
via a settings file rather than using command line parameters. Use
--write-defaults to generate a template with default values for editing.
Use --ignore-settings to disable this feature.
Fixes: QTBUG-86415
Change-Id: I282c3b994ca6cc491a27b45f531f1ba1c2652ef7
Reviewed-by: Fabian Kosmale <fabian.kosmale@qt.io>
Diffstat (limited to 'src/quick/doc/src/guidelines')
-rw-r--r-- | src/quick/doc/src/guidelines/qtquick-toolsnutilities.qdoc | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/quick/doc/src/guidelines/qtquick-toolsnutilities.qdoc b/src/quick/doc/src/guidelines/qtquick-toolsnutilities.qdoc index 96d2163eda..266cbf064c 100644 --- a/src/quick/doc/src/guidelines/qtquick-toolsnutilities.qdoc +++ b/src/quick/doc/src/guidelines/qtquick-toolsnutilities.qdoc @@ -111,4 +111,7 @@ by specifying the \c{-n} flag. By default, qmlformat writes the formatted version of the file to stdout. If you wish to have your file updated in-place specify the \c{-i} flag. + +You may also change tab widths and line ending types among other settings, +either via command line options or by using a settings file. */ |