aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTobias Hunger <tobias.hunger@theqtcompany.com>2015-06-18 10:25:10 +0200
committerTobias Hunger <tobias.hunger@theqtcompany.com>2015-06-22 11:40:37 +0000
commit6f34b2f68e49f0dcff36253ba84b9cf002cf13d0 (patch)
tree297a228904cc2efcc46e3896c9ea06a05d4cc654
parent3be0745a651436bd86f721cac752588f5ccd0d32 (diff)
Doc: Reformatting
No text change. Change-Id: Ie030930637bf25d181a9f95030aa91a50348912f Reviewed-by: Leena Miettinen <riitta-leena.miettinen@theqtcompany.com>
-rw-r--r--doc/src/editors/creator-beautifier.qdoc48
1 files changed, 25 insertions, 23 deletions
diff --git a/doc/src/editors/creator-beautifier.qdoc b/doc/src/editors/creator-beautifier.qdoc
index 8c693d447a..c5257f46a4 100644
--- a/doc/src/editors/creator-beautifier.qdoc
+++ b/doc/src/editors/creator-beautifier.qdoc
@@ -69,13 +69,14 @@
\li Restart \QC to be able to use the plugin.
- \li Select \uicontrol Tools > \uicontrol Options > \uicontrol Beautifier to specify
- settings for the tool you want to use.
+ \li Select \uicontrol Tools > \uicontrol Options > \uicontrol Beautifier
+ to specify settings for the tool you want to use.
\image beautifier_options.png
- \li In the \uicontrol {Artistic Style command}, \uicontrol {Clang Format command},
- or \uicontrol {Uncrustify command} field, specify the path to the tool
+ \li In the \uicontrol {Artistic Style command},
+ \uicontrol {Clang Format command}, or
+ \uicontrol {Uncrustify command} field, specify the path to the tool
executable.
\li In the \uicontrol Options group, select the configuration file that
@@ -84,39 +85,40 @@
\list
- \li Select the \uicontrol {Use file defined in project files} option
- to use the configuration file defined in the qmake
+ \li Select the \uicontrol {Use file defined in project files}
+ option to use the configuration file defined in the qmake
DISTFILES variable as the configuration file for the
selected tool.
- \li Select the \uicontrol {Use $HOME} option to use the specified file
- in the user's home directory as the configuration file for
- the selected tool.
+ \li Select the \uicontrol {Use $HOME} option to use the
+ specified file in the user's home directory as the
+ configuration file for the selected tool.
- \li Select the \uicontrol {Use customized style} option, and then
- \uicontrol Add to define your own style.
+ \li Select the \uicontrol {Use customized style} option, and
+ then \uicontrol Add to define your own style.
- Define code formatting in the \uicontrol {Edit Configuration}
- dialog. It provides syntax highlighting, auto-completion,
- and context-sensitive help. For these features, you must
- have the tool installed.
+ Define code formatting in the
+ \uicontrol {Edit Configuration} dialog. It provides syntax
+ highlighting, auto-completion, and context-sensitive help.
+ For these features, you must have the tool installed.
\image beautifier_editor.png
\endlist
- \li Select \uicontrol Tools > \uicontrol Beautifier > \uicontrol {Artistic Style},
- \uicontrol ClangFormat, or \uicontrol Uncrustify > \uicontrol {Format Current File}
- to format the currently open file.
+ \li Select \uicontrol Tools > \uicontrol Beautifier >
+ \uicontrol {Artistic Style}, \uicontrol ClangFormat, or
+ \uicontrol Uncrustify > \uicontrol {Format Current File} to format
+ the currently open file.
You can \l{Keyboard Shortcuts}{create keyboard shortcuts} for the
functions.
\endlist
- In addition to the \uicontrol {Format Current File} command, ClangFormat provides
- the \uicontrol {Format Selected Text} command. If you select it when no text is
- selected, nothing happens. To format the entire file in this case, select
- the \uicontrol {Format entire file if no text was selected} check box in the
- \uicontrol {Clang Format} options.
+ In addition to the \uicontrol {Format Current File} command, ClangFormat
+ provides the \uicontrol {Format Selected Text} command. If you select it
+ when no text is selected, nothing happens. To format the entire file in this
+ case, select the \uicontrol {Format entire file if no text was selected}
+ check box in the \uicontrol {Clang Format} options.
*/