diff options
author | Leena Miettinen <riitta-leena.miettinen@nokia.com> | 2010-09-03 15:14:32 +0200 |
---|---|---|
committer | Leena Miettinen <riitta-leena.miettinen@nokia.com> | 2010-09-03 15:15:13 +0200 |
commit | 1a8d8cd0068f12032b8a865a6b479f9ef3b58907 (patch) | |
tree | fe462961afb178cd33ba34ca7f21cb24c46e2347 /doc/qtcreator.qdoc | |
parent | de46b4401c0a2d1528c9a6ab00884d772397611c (diff) | |
download | qt-creator-1a8d8cd0068f12032b8a865a6b479f9ef3b58907.tar.gz |
Doc - Add information about the Open Type Hierarchy function, and the functions for moving to symbol definitions and declarations.
Reviewed-by: Leandro Melo
Diffstat (limited to 'doc/qtcreator.qdoc')
-rw-r--r-- | doc/qtcreator.qdoc | 17 |
1 files changed, 16 insertions, 1 deletions
diff --git a/doc/qtcreator.qdoc b/doc/qtcreator.qdoc index 163cf1d117..6f33642325 100644 --- a/doc/qtcreator.qdoc +++ b/doc/qtcreator.qdoc @@ -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 @@ -6606,6 +6618,9 @@ \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 \endtable |