From 36fdb81aef42f672b2e1fbae82bf8f38cf48db77 Mon Sep 17 00:00:00 2001 From: Leena Miettinen Date: Mon, 25 Mar 2024 16:03:28 +0100 Subject: [PATCH] Doc: Move "Inspect QML and JavaScript" to "Move in QML code" ...from "Check code syntax". Remove redundant text. Change-Id: Ida75dae0f97881437d20a0d2167e1e4afde6ed2f Reviewed-by: Reviewed-by: David Schulz --- .../src/editors/creator-code-syntax.qdoc | 15 +-------------- .../src/howto/creator-only/creator-how-tos.qdoc | 9 ++++++++- 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 f20ecadb8e5..dbd172678e3 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 1b545943e3e..395c09ad72e 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} */ /*!