You can select an element name in your code and navigate to its declaration.
The table below describes what happens when matching declarations are found.
If this is found | This is what happens |
Only one matching declaration is found, and it is in another file | The file that contains the declaration will be opened |
Only one matching declaration is found, and it is in the same file | The line on which the declaration is found is highlighted |
More than one matching declaration is found | A list is displayed of each matching declaration and the file in which it is found |
Navigate to a C or C++ element's
declaration
Searching for C/C++ elements