forked from qt-creator/qt-creator
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>
This commit is contained in:
@@ -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}
|
||||
*/
|
||||
|
||||
/*!
|
||||
|
@@ -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}
|
||||
*/
|
||||
|
||||
/*!
|
||||
|
Reference in New Issue
Block a user