Share via


Finding References of a Symbol

Once a .bsc file is created for a project, you can go to all references of the symbols. For more information, see Creating a .bsc File. For example:

To find references of a symbol

  1. In the Object Browser or Class View, right-click a symbol. In the Source editor, place the cursor in a symbol and right-click a symbol.

  2. On the shortcut menu, click Go To Reference.

    This takes you to the first reference of the symbol. You may have to disambiguate the symbol that you want to find a reference for, in which case the Resolve Ambiguity dialog box appears

  3. To go to the next reference, press CTRL+SHIFT+1.

  4. In the Find Symbol Results window that is displayed after doing a search in the Find Symbol dialog box, expand the node for the symbol.

    This lets you see all references for the symbol so that you can navigate to the source file for the reference that you want.

See Also

Other Resources

Using .Bsc Files to Enable Browsing To References of C++ Symbols