• RSS Feed

Goto Implementation

Use Goto Implementation (Alt+G) to jump to the declaration or implementation of the current symbol. If only one possible destination exists, Goto Implementation jumps directly to the location. If more than one destination exists, Goto Implementation opens a menu of locations.

Visual Assist versus Visual Studio

Most Microsoft IDEs include commands—Goto Definition and Goto Declaration—that are similar to the Goto Implementation command of Visual Assist.

Although the built-in commands are sufficient for some projects, the Visual Assist version of Goto Implementation generally provides better accuracy and functionality. Specifically, the Visual Assist version:

  • works on files outside a project
  • works on symbols within comments
  • goes to implementors of interfaces, in addition to interface definitions
  • goes to VA Hashtags
  • provides a consistent interface across multiple IDEs

Access

Use the default shortcut for VAssistX.GotoImplementation (Alt+G) for most efficient access to Goto Implementation. When accessed via shortcut, menus open under the text caret.

Implementations in menus appear with {...} whereas declarations do not.

You can also access Goto Implementation via a modified mouse button if the appropriate setting is enabled in the options dialog of Visual Assist.

You can access Goto Implementation via the VAssistX menu (Alt+X, G).

Finally, you can access Goto Implementation via a button in the VA Navigation Bar. When accessed via the Go button, menus appear under the button.

Note: The VA Navigation Bar must be enabled in the options dialog of Visual Assist to see the Go button.

Return to Previous Location

After Goto Implementation, use Navigate Back (Alt+Left-Arrow) to return to your original location—the location where you issued the Goto Implementation. Returning is particularly useful when a menu contains several locations you need to investigate.

Although you can use the IDE version of Navigate Back, the Visual Assist version of Navigate Back (Alt+Left-Arrow) records fewer waypoints during editing and scrolling, so you can generally return to your original location with fewer steps.

Sources of Implementations

Goto Implementation searches for implementations in the directory containing the declaration of a symbol, as well as respective ../src and ../source directories.

Goto Implementation also searches for C/C++ objects implemented outside your projects using project properties, settings in the IDE, and settings in the options dialog of Visual Assist. Seek technical support or see C/C++ Directories if Goto Implementation does not find the implementations you expect.

Goto Implementation from Code-Behind Files

Goto Implementation works from both design and code-behind files in frameworks that employ a code-behind model, e.g. WPF.

Goto Implementation from Comments

Goto Implementation is permitted from symbols within comments. Explicit scopes in comments may identify specific symbol(s), but when a commented symbol does not include an explicit scope, Goto Implementation presents a menu of identically named symbols in your solution.

Goto Implementation from VA Hashtags

Goto Implementation from a VA Hashtag opens a menu of other references to the VA Hashtag.

Registry Settings

Value Name Meaning
DimmedMenuitemOpacity Control opacity of dimmed text in Visual Assist menus