summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLeena Miettinen <riitta-leena.miettinen@qt.io>2023-02-17 17:32:33 +0100
committerLeena Miettinen <riitta-leena.miettinen@qt.io>2023-02-20 08:00:20 +0000
commitff71290758fbc2ba7f20a18f1c04f5f7a8cc14d3 (patch)
treef26a08b9440cceb1f0b04feda545d9b03099c7af
parentb9af26adf3c0f7d5b923760581fc1942ff965e3e (diff)
downloadqt-creator-ff71290758fbc2ba7f20a18f1c04f5f7a8cc14d3.tar.gz
Doc: Describe Temporarily hide inline annotations in Edit mode
...for different types of annotations individually in the annotation tooltip popup. Update the screenshot. Task-number: QTCREATORBUG-28721 Change-Id: Ic2f010e370109a5ea35aef5d9c8da5b74927f4ef Reviewed-by: Christian Kandeler <christian.kandeler@qt.io>
-rw-r--r--doc/qtcreator/images/qtcreator-typo-clang.pngbin19902 -> 23566 bytes
-rw-r--r--doc/qtcreator/src/editors/creator-code-syntax.qdoc7
2 files changed, 4 insertions, 3 deletions
diff --git a/doc/qtcreator/images/qtcreator-typo-clang.png b/doc/qtcreator/images/qtcreator-typo-clang.png
index 76722d658e..2d0b6bd5d1 100644
--- a/doc/qtcreator/images/qtcreator-typo-clang.png
+++ b/doc/qtcreator/images/qtcreator-typo-clang.png
Binary files differ
diff --git a/doc/qtcreator/src/editors/creator-code-syntax.qdoc b/doc/qtcreator/src/editors/creator-code-syntax.qdoc
index deb2e3b7d9..a51358c75f 100644
--- a/doc/qtcreator/src/editors/creator-code-syntax.qdoc
+++ b/doc/qtcreator/src/editors/creator-code-syntax.qdoc
@@ -21,7 +21,7 @@
In the following screenshot, \QC annotates an error because a semicolon is
missing at the end of the line:
- \image qtcreator-syntaxerror.png
+ \image qtcreator-syntaxerror.png {Syntax error in the Edit mode}
In the following screenshot, \QC issues a warning because the variable is
not used:
@@ -30,10 +30,11 @@
In the following screenshot, a Qt class name has a typo:
- \image qtcreator-typo-clang.png
+ \image qtcreator-typo-clang.png {Annotation tooltip in the Edit mode}
You can use the icons in the tooltip popup to copy the error or
- warning message to the clipboard or to ignore and hide it. Select
+ warning message to the clipboard, to hide messages of a particular type,
+ or to \l{Configuring clangd}{change the diagnostics settings}. Select
the \uicontrol {Annotation Settings} link to specify the position
of the line annotations.