diff options
author | Leena Miettinen <riitta-leena.miettinen@qt.io> | 2017-08-29 10:11:29 +0200 |
---|---|---|
committer | Leena Miettinen <riitta-leena.miettinen@qt.io> | 2017-08-29 10:26:05 +0000 |
commit | 5ca7894ee405b5de29ff0e85e8331ef9663d48fd (patch) | |
tree | 017a61b175d7aa2762134ba69c6c7e65c372609a /doc | |
parent | df94a96043965f1c1db22614bec09a5918ff5bf3 (diff) | |
download | qt-creator-5ca7894ee405b5de29ff0e85e8331ef9663d48fd.tar.gz |
Doc: Explain different usages of "Restrict to MIME types"
Different MIME type restrictions can be specified for auto
formatting and executing the menu command.
Update the screenshot that shows Beautifier options.
Change-Id: Ie6028bef252c6b13d87c6c4eed465eddae991408
Reviewed-by: Eike Ziller <eike.ziller@qt.io>
Diffstat (limited to 'doc')
-rw-r--r-- | doc/images/beautifier_options.png | bin | 9586 -> 31375 bytes | |||
-rw-r--r-- | doc/src/editors/creator-beautifier.qdoc | 9 |
2 files changed, 9 insertions, 0 deletions
diff --git a/doc/images/beautifier_options.png b/doc/images/beautifier_options.png Binary files differindex 23152694ae..00b65a9fd9 100644 --- a/doc/images/beautifier_options.png +++ b/doc/images/beautifier_options.png diff --git a/doc/src/editors/creator-beautifier.qdoc b/doc/src/editors/creator-beautifier.qdoc index 0da50727e9..c47f9fb512 100644 --- a/doc/src/editors/creator-beautifier.qdoc +++ b/doc/src/editors/creator-beautifier.qdoc @@ -89,6 +89,11 @@ types of the files to beautify, separated by semicolons. Leave the field empty to apply the tool on all files. + This setting is applied only when automatically beautifying files on + save. To restrict the MIME types when selecting the menu item to + format the currently open file, specify this option in the + tool-specific tab. + \li Select the \uicontrol {Restrict to files contained in the current project} check box to only beautify files that belong to the current project. @@ -104,6 +109,10 @@ \uicontrol {Clang Format command}, or \uicontrol {Uncrustify command} field. + \li In the \uicontrol {Restrict to MIME types} field, define the MIME + types of the files to beautify. This setting is applied when you + select the menu item to format the currently open file. + \li In the \uicontrol Options group, select the configuration file that defines the style to use in the source files. If you select several options, they are applied from top down. The available options |