summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorLorenz Haas <lorenz.haas@histomatics.de>2016-05-19 21:30:27 +0200
committerLorenz Haas <lorenz.haas@histomatics.de>2016-06-01 07:41:37 +0000
commit3af36134d1fde899c5ea424f101b4d07ec863d85 (patch)
treebf327b9cee4f71d8a68d01843c1a2d8355c3fda1 /doc
parent069714b832e2c8eb79ea0de7593bcfacc213fbf0 (diff)
downloadqt-creator-3af36134d1fde899c5ea424f101b4d07ec863d85.tar.gz
Beautifier: Make all tools MIME restrict-able
The newly introduced auto save option is restricted to user definable MIME types. The underlaying tool's restriction, however, is only if the current editor is a cpp editor. This patch makes the tools also MIME types restrict-able. In addition the auto save functionality is now only applicable if the file matches the auto save MIME types as well as the MIME types of the chosen tool. Change-Id: Ic430b4a07341647e6c8e95d2b802a17db1637a36 Reviewed-by: Leena Miettinen <riitta-leena.miettinen@qt.io>
Diffstat (limited to 'doc')
-rw-r--r--doc/src/editors/creator-beautifier.qdoc10
1 files changed, 7 insertions, 3 deletions
diff --git a/doc/src/editors/creator-beautifier.qdoc b/doc/src/editors/creator-beautifier.qdoc
index b371bfa979..76c3d18d21 100644
--- a/doc/src/editors/creator-beautifier.qdoc
+++ b/doc/src/editors/creator-beautifier.qdoc
@@ -81,10 +81,14 @@
\image beautifier_options.png
- \li In the \uicontrol {Artistic Style command},
+ \li In the \uicontrol Configuration group, specify the path to
+ the tool executable in the \uicontrol {Artistic Style command},
\uicontrol {Clang Format command}, or
- \uicontrol {Uncrustify command} field, specify the path to the tool
- executable.
+ \uicontrol {Uncrustify command} field.
+
+ \li In the \uicontrol {Restrict to MIME types} field, define the MIME
+ types of the files to beautify, separated by semicolons. Leave the
+ field empty to apply the tool on all files.
\li In the \uicontrol Options group, select the configuration file that
defines the style to use in the source files. If you select several