Symbol Navigation Commands

These commands are the most commonly used commands to navigate to symbol definitions, or function callers.

Jump to Definition command

The Jump to Definition command jumps to the declaration of the symbol under the cursor. See: Jump To Definition. Type Alt+equal or Ctrl+click with the left mouse button to invoke the command. You can also right-click on the symbol and use the shortcut menu to run this command.

To jump to a definition, hold down Ctrl and click on its name.

After locating the symbol, the symbol's file is opened, displayed in a window, and the symbol name is selected. If you have more than one symbol with the same name in your project, Source Insight will ask you to select the one you want.

Another way to jump to a definition is to have the Context Window open. Let the Context Window show the defi­nition. If you want to jump there, just double click on the Context Window.

Jump to Caller command

The Jump to Caller command jumps to the caller of the function under the cursor. See: Jump To Caller. You can right-click on the symbol and use the shortcut menu to run this command. This only works if the object under the cursor is a function name.

Refresh Relation Window command

This command causes the Relation Window to update to reflect the currently selected symbol. For example, if the Relation Window is setup to show function references and you have the cursor on a function name, then this command will make the Relation Window show all the references to the function. This command is useful is you normally keep the Relation Window locked to prevent automatic updates. See: Relation Window.

Browser Mode

The Edit > Browser Mode command toggles Source Insight's Browser-Mode. When Browser-Mode is on, your source code becomes read-only, and acts like a web browser. For example, single clicking on the name of a function in a function call will jump to the function's definition. See: Browser Mode.