forked from qt-creator/qt-creator
Doc - Add information about the Open Type Hierarchy function, and the functions for moving to symbol definitions and declarations.
Reviewed-by: Leandro Melo
This commit is contained in:
@@ -1086,8 +1086,20 @@
|
||||
a symbol by holding the \key Ctrl and clicking the symbol.
|
||||
|
||||
To enable this moving function, in \gui Tools > \gui{Options...} >
|
||||
\gui{Text Editor} > \gui Behavior select \gui{Enable mouse navigation}.
|
||||
\gui{Text Editor} > \gui Behavior, select \gui{Enable mouse navigation}.
|
||||
|
||||
You can also select the symbol and press \key F2, or right-click the symbol
|
||||
and select \gui {Follow Symbol Under Cursor} to move to its definition or declaration.
|
||||
This is supported for namespaces, classes, methods, variables, include statements,
|
||||
and macros.
|
||||
|
||||
To switch between the definition and declaration of a symbol, press \key {Shift+F2}
|
||||
or right-click the symbol and select \gui {Switch Between Method Declaration/Definition}.
|
||||
|
||||
\section1 Viewing Type Hierarchy
|
||||
|
||||
To view the base classes of a class, right-click the class and select
|
||||
\gui {Open Type Hierarchy} or press \key {Ctrl+Shift+T}.
|
||||
|
||||
\section1 Using Update Code Model
|
||||
|
||||
@@ -6605,6 +6617,9 @@
|
||||
\row
|
||||
\o Switch between method declaration and definition
|
||||
\o Shift+F2
|
||||
\row
|
||||
\o Open type hierarchy
|
||||
\o Ctrl+Shift+T
|
||||
\row
|
||||
\o Switch between header and source file
|
||||
\o F4
|
||||
|
||||
Reference in New Issue
Block a user