Hovering Class Browser
The
Hovering Class Browser (HCB) within
VA View provides more information for a symbol than what is available with standard hovering tooltips. The HCB is valuable primarily during browsing and editing of unfamiliar or complex code. When the HCB is active, hover over a method or member variable and see other members in its class. Hover over a class and see its members.
Show Current Scope
Right-Click in the
Hovering Class Browser and enable the option to Update with current scope.
If enabled, start typing in your source window and the HCB shows you the current scope. The method in which you are working is highlighted. In the following example, the current scope is
CGridCtrl::ValidateEdit.
Controlling the Browser
Hovering over white space, a comment or unknown symbol does not change the content of the class browser.
Hovering over a non-class symbol such as a preprocessor macro, global function, or system method displays information for the symbol. If applicable, other symbols within the same data structure are shown. This allows you to choose from among related symbols without consulting the documentation.
Symbols that are defined in multiple ways, particularly in C/C++, appear with multiple entries. Overloaded methods also appear multiple times.
Hover over a symbol to see a tooltip with comments (if any) and file location.
Click
+ in the
Hovering Class Browser to drill down into enums and inherited classes.
Pinning Results
Use the push pin in the top right of the
Hovering Class Browser to prevent content from changing. You can hover and type -- the content remains. Use the push pin again to return to normal operation.
Miscellaneous
Double-click in the
Hovering Class Browser to quickly jump to the declaration of a symbol.
Right-click to
Goto the declaration or implementation of a symbol, copy its declaration (including method parameters if applicable), or refactor with
Change Signature,
Rename, or
Find References.