Smart Key - C++ Source Code
bash
When the OO-Browser has been loaded and the press is within a C++
buffer:
ACTION KEY or ASSIST KEY
Jumps to the definition of the selected C++ construct via
OO-Browser support.
(1) on a #include statement, the include file is displayed;
this looks for include files using the directory lists
‘smart-c-cpp-include-path’ and
‘smart-c-include-path’;
(2) within a method definition before the opening brace, its
declaration is displayed;
(3) within a method declaration, its definition is displayed;
(4) on a class name, the class definition is shown;
(5) on a member reference (past any :: scoping operator), the
member definition or a listing of possible definitions or a
matching declaration (if no definitions exist within the
Environment) is shown;
(6) on a global variable or function identifier, its definition is
shown.bash
When pressed within a C++ source code file (without the OO-Browser):
ACTION KEY
Jumps to the definition of the selected C++ construct:
(1) on a #include statement, the include file is displayed;
this looks for include files using the directory lists
‘smart-c-cpp-include-path’ and
‘smart-c-include-path’;
(2) on a C++ identifier, the identifier definition is displayed,
assuming the identifier is found within an "etags" generated
tags file in the current directory or any of its ancestor
directories;
(3) if ‘smart-c-use-lib-man’ is non-nil (see its documentation),
the C++ identifier is recognized as a library symbol, and a man
page is found for the identifier, then the man page is
displayed.
ASSIST KEY
Jumps to the next tag matching an identifier at point.