Goto

Move your caret to any symbol in your code and press the Goto button to jump to the declaration or implementation of the symbol. If more than one location exists, a menu of locations appears. Select the one you want and the appropriate file opens.

goto.gif

Locating Implementations

Visual Assist X searches for an implementation in files of the directory containing the declaration of a symbol, as well as ../src and ../source directories.

List source directories of C/C++ objects implemented outside your projects in the IDE settings, e.g. in Source files of Tools|Options|Projects|VC++ Directories, or on the Directories node of the Visual Assist X options dialog. For sources not specified, the Goto button finds only declarations.

Press Rebuild on the Performance node of the Visual Assist X options dialog and restart your IDE after you specify additional sources.

IDE Commands

The Goto command of Visual Assist X differs from the Goto Definition and Goto Declaration commands of the the IDE. The Goto command of Visual Assist X is separate. Visual Assist X does not alter the functionality of the IDE commands.

gotoDefinition.gif

Key Binding

By default, Alt+G also goes to an implementation. Unlike the Goto button, Alt+G opens a menu near your mouse pointer, not near the Goto button. Press Enter to select the first item. Press Alt+G again, before moving your text caret, to make the menu reappear.

gotoAltG.gif

Assign a shortcut other than Alt+G if you prefer.

Options

You must have the Context and Definition fields visible to see the Goto button.

contextOptions.png

Miscellaneous

Implementations appear in the Goto menu with {...} suffixes. The braces and ellipses differentiate implementations from declarations in C/C++ code.