From 1a8d8cd0068f12032b8a865a6b479f9ef3b58907 Mon Sep 17 00:00:00 2001 From: Leena Miettinen <riitta-leena.miettinen@nokia.com> Date: Fri, 3 Sep 2010 15:14:32 +0200 Subject: [PATCH] Doc - Add information about the Open Type Hierarchy function, and the functions for moving to symbol definitions and declarations. Reviewed-by: Leandro Melo --- doc/qtcreator.qdoc | 17 ++++++++++++++++- 1 file changed, 16 insertions(+), 1 deletion(-) diff --git a/doc/qtcreator.qdoc b/doc/qtcreator.qdoc index 163cf1d1176..6f336423250 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 @@ -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 -- GitLab