forked from qt-creator/qt-creator
Doc: Describe Call Hierarchy view and language server button
Task-number: QTCREATORBUG-28721 Change-Id: I9275c5f0a7ca838aab29c42962e88d4b80ed8622 Reviewed-by: David Schulz <david.schulz@qt.io>
This commit is contained in:
@@ -102,6 +102,21 @@
|
||||
To visit all parts of a namespace, double-click on the namespace item
|
||||
multiple times.
|
||||
|
||||
\section1 Viewing Call Hierarchy
|
||||
|
||||
The \uicontrol {Call Hierarchy} view shows information about incoming and
|
||||
outgoing function calls from a \l{Using Language Servers}{language server}.
|
||||
Place the cursor on a function definition in the code editor to see lists
|
||||
of functions that call it and the functions it calls. This works recursively,
|
||||
so you can also see the caller of the caller. However, Clangd only lists
|
||||
incoming calls.
|
||||
|
||||
Select the \inlineimage icons/languageclient.png
|
||||
button on the \l{Managing Language Servers}{editor toolbar}, and then select
|
||||
\uicontrol {Restart} to collect call hierarchy information for the function.
|
||||
|
||||
\image qtcreator-call-hierarchy-view.png {Call Hierarchy view}
|
||||
|
||||
\section1 Viewing Type Hierarchy
|
||||
|
||||
To view the base classes and derived classes of a class, right-click the
|
||||
|
||||
Reference in New Issue
Block a user