VISUAL ASSIST - Filling Gaps in Visual Studio for C/C++ and C# Developers

Tips and Tricks

Refresh Find References

Find References is great at locating references to symbols across your solution.  But did you know that when you just want to search the active file, you can use the Find References in File command?  You get a shorter search duration and the results list window is the same one you use with Find References.

The Find References results list has a Refresh button that allows you to re-execute a search without moving your caret to an occurrence of the symbol for which you last searched.

For the standard Find References command, Refresh is straightforward: search the solution again.  But what about Find References In File?  Refresh executes the search in the active file – not necessarily the same file that was active for the first set of results.

Bug or feature?

%d bloggers like this: