Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Keep previous "find all references" results

Tags:

I wonder, whether there is any way NOT to clear previous find all references results when making a next search?

If I do "find all references" once, the results will appear in "find symbol results window". I am working with a large solution, and if I do "Resolve results" it may take up to several minutes for the results to be resolved. And when I do the next "find all references", previous results will just disappear. Is there any way to keep them - just collapse - and add a new results below and so on... Anyway there is a "clear all" capability to clear the window...

like image 331
Serge Avatar asked Feb 07 '13 18:02

Serge


People also ask

How do I enable find all references in Visual Studio code?

The Find All References command is available on the context (right-click) menu of the element you want to find references to. Or, if you are a keyboard user, press Shift + F12.


1 Answers

In the new Visual Studio "15" Preview 5 release, our revised Find All References window supports this. Press the padlock icon/button (tooltip “Lock Results”) in the Find All References window’s toolbar, and Visual Studio will locks the results in that window, so that the next Find All References call you make will create a new Tool Window for the results. You can place the new tool window side by side with the previous result set if you wish. We’re improving labelling of this button in later releases.

like image 56
Mark Wilson-Thomas MSFT Avatar answered Sep 22 '22 01:09

Mark Wilson-Thomas MSFT