aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLeena Miettinen <riitta-leena.miettinen@qt.io>2021-11-26 18:46:20 +0100
committerLeena Miettinen <riitta-leena.miettinen@qt.io>2021-11-29 12:18:24 +0000
commit0f4a203337bd16e50684814550653bd410612f97 (patch)
tree7b0b2afbf2757355b72ab61cee8c6cecb8a2263f
parentb38251659babbae135599b9746444fbcb6569f07 (diff)
Doc: Edit the How-tos for grammar and punctuation
Also remove the specific mention of Shift key for enclosing code because that requires Ctrl for curly braces on some keyboards. Task-number: QTCREATORBUG-26278 Change-Id: I7daa02392e9f405264bbc5960ad569ea2a4b281b Reviewed-by: <github-actions-qt-creator@cristianadam.eu> Reviewed-by: Eike Ziller <eike.ziller@qt.io>
-rw-r--r--doc/qtcreator/src/howto/creator-only/creator-how-tos.qdoc28
1 files changed, 15 insertions, 13 deletions
diff --git a/doc/qtcreator/src/howto/creator-only/creator-how-tos.qdoc b/doc/qtcreator/src/howto/creator-only/creator-how-tos.qdoc
index 6ba4f49a6d..8e9df345bd 100644
--- a/doc/qtcreator/src/howto/creator-only/creator-how-tos.qdoc
+++ b/doc/qtcreator/src/howto/creator-only/creator-how-tos.qdoc
@@ -111,7 +111,7 @@
\section1 Find a specific setting
- To find specific settings you require in \uicontrol{Tools} > \uicontrol{Options}
+ To find specific settings in \uicontrol Tools > \uicontrol Options,
use the filter located at the top left of the \uicontrol Options dialog box.
\section1 Open output panes
@@ -147,17 +147,17 @@
You can see the keyboard shortcut for a menu command in the menu
or the tooltip for a button.
- To customize, import or export keyboard shortcuts, select \uicontrol Tools >
+ To customize, import, or export keyboard shortcuts, select \uicontrol Tools >
\uicontrol Options > \uicontrol Environment > \uicontrol Keyboard.
\section1 Run \QC from the command line
- You can launch \QC from command line using the name of an
- existing session or \c .pro file by giving the name as the command
- argument.
+ You can launch \QC from the command line using the name of an
+ existing \l{Managing Sessions}{session} or project file by entering
+ the name as the command argument.
- For example, running \tt{qtcreator somesession}, launches \QC and
- loads session somesession.
+ For example, running \c {qtcreator somesession}, launches \QC and
+ loads the session called \e somesession.
For more information, see \l{Using Command Line Options}.
@@ -210,7 +210,7 @@
If special debugging of Qt objects fails due to data corruption within the
debugged objects, you can switch off the debugging helpers. When debugging
- helpers are switched off low-level structures become visible.
+ helpers are switched off, low-level structures become visible.
To switch off the debugging helpers:
\list 1
@@ -250,7 +250,7 @@
\section1 Quickly locate files using the keyboard
The \uicontrol Locator provides one of the easiest ways in \QC to browse
- through projects, files, classes, functions, documentation and file systems.
+ through projects, files, classes, functions, documentation, and file systems.
To quickly access files not directly mentioned in your project, you can
create your own locator filters. That way you can locate files in a
directory structure you have defined.
@@ -307,12 +307,14 @@
\section1 Enclose selected code in curly braces, parentheses, or double quotes
- Press \key {Shift} and then the opening character.
+ When you have selected code and enter one of the following opening
+ characters, the appropriate closing character is added automatically
+ at the end of the selection:
\list
- \li Curly braces: \key {Shift+\{}
- \li Parentheses: \key {Shift+(}
- \li Double quotes: \key {Shift+"}
+ \li {
+ \li (
+ \li "
\endlist
\section1 Select the enclosing block in C++