aboutsummaryrefslogtreecommitdiffstats
path: root/doc/qtcreator
diff options
context:
space:
mode:
authorLeena Miettinen <riitta-leena.miettinen@qt.io>2024-03-25 16:03:28 +0100
committerLeena Miettinen <riitta-leena.miettinen@qt.io>2024-03-26 12:28:57 +0000
commit36fdb81aef42f672b2e1fbae82bf8f38cf48db77 (patch)
tree107bb5bfc18aca02164be0ba75c9ccf9a3c18e49 /doc/qtcreator
parent4bc12d6671d9113bd2a4c7feb988a1753642d00e (diff)
Doc: Move "Inspect QML and JavaScript" to "Move in QML code"
...from "Check code syntax". Remove redundant text. Change-Id: Ida75dae0f97881437d20a0d2167e1e4afde6ed2f Reviewed-by: <github-actions-qt-creator@cristianadam.eu> Reviewed-by: David Schulz <david.schulz@qt.io>
Diffstat (limited to 'doc/qtcreator')
-rw-r--r--doc/qtcreator/src/editors/creator-code-syntax.qdoc15
-rw-r--r--doc/qtcreator/src/howto/creator-only/creator-how-tos.qdoc9
2 files changed, 9 insertions, 15 deletions
diff --git a/doc/qtcreator/src/editors/creator-code-syntax.qdoc b/doc/qtcreator/src/editors/creator-code-syntax.qdoc
index f20ecadb8e..dbd172678e 100644
--- a/doc/qtcreator/src/editors/creator-code-syntax.qdoc
+++ b/doc/qtcreator/src/editors/creator-code-syntax.qdoc
@@ -66,9 +66,6 @@
\section1 Set line annotation positions
- To specify the position of the line annotations when looking at them in the
- code editor, select \uicontrol {Annotation Settings} in the tooltip popup.
-
To specify the position where the annotations are displayed, go to
\preferences > \uicontrol {Text Editor} >
\uicontrol Display > \uicontrol {Line annotations}, and then select
@@ -82,17 +79,7 @@
If you hide the annotations, you can move the mouse pointer over an icon to
view them.
- \if defined(qtcreator)
- \section1 Inspect QML and JavaScript
-
- To inspect QML and JavaScript properties, methods, and enums, move the
- cursor over them and go to \uicontrol Tools > \uicontrol {QML/JS} >
- \uicontrol {Inspect API for Element Under Cursor}.
-
- \sa {Clangd}
- \endif
-
- \sa {JavaScript and QML Checks}
+ \sa {Analyze code with Clang-Tidy and Clazy}, {JavaScript and QML Checks}
*/
/*!
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 1b545943e3..395c09ad72 100644
--- a/doc/qtcreator/src/howto/creator-only/creator-how-tos.qdoc
+++ b/doc/qtcreator/src/howto/creator-only/creator-how-tos.qdoc
@@ -423,6 +423,12 @@
\uicontrol {Find References to Symbol Under Cursor}.
\endlist
+ \section1 Inspect QML and JavaScript
+
+ To inspect QML and JavaScript properties, methods, and enums, place the
+ cursor over them and go to \uicontrol Tools > \uicontrol {QML/JS} >
+ \uicontrol {Inspect API for Element Under Cursor}.
+
\section1 Move between QML and C++
To move to the C++ implementation of a QML type in the code editor, place the
@@ -433,7 +439,8 @@
\li Go to \uicontrol {Follow Symbol Under Cursor} in the context menu.
\endlist
- \sa {Edit Code}{How To: Edit Code}, {Edit Mode}, {Navigate with locator}
+ \sa {Edit Code}{How To: Edit Code}, {Clangd}, {Edit Mode},
+ {Navigate with locator}
*/
/*!