From 6f34b2f68e49f0dcff36253ba84b9cf002cf13d0 Mon Sep 17 00:00:00 2001 From: Tobias Hunger <tobias.hunger@theqtcompany.com> Date: Thu, 18 Jun 2015 10:25:10 +0200 Subject: [PATCH] Doc: Reformatting No text change. Change-Id: Ie030930637bf25d181a9f95030aa91a50348912f Reviewed-by: Leena Miettinen <riitta-leena.miettinen@theqtcompany.com> --- doc/src/editors/creator-beautifier.qdoc | 48 +++++++++++++------------ 1 file changed, 25 insertions(+), 23 deletions(-) diff --git a/doc/src/editors/creator-beautifier.qdoc b/doc/src/editors/creator-beautifier.qdoc index 8c693d447ae..c5257f46a4e 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. */ -- GitLab