Home > Back-end >  Is there a way to keep multiple "Find Reference" panes in Visual Studio?
Is there a way to keep multiple "Find Reference" panes in Visual Studio?

Time:03-22

When searching for a symbol using Find Reference (or alike) we get only one result pane. So searching for another symbol replaces the results from the previous search.

Is it possible to keep the previous results?

I know R# has this feature, but using R# is not an option, because R# is just too heavy. And so we do not use it. I can extend this limitation to any VS plugin that is as heavy as R#.

Basically, I am asking if there is a light weight plugin that does just that - allows to keep the results of the previous Find References available. Or maybe there is a VS flag for that?

EDIT 1

FYI, the Find References option I use produces a pane like this:

enter image description here

EDIT 2

I have never noticed that the Find All References context menu option

enter image description here

produces a pane with the Keep Results button:

enter image description here

What I was doing often is just clicking the References Code Lens hyperlink:

enter image description here

For some reason I thought both produce the same result and clicking the link was faster than opening a popup. But now I can see they produce different result. I wonder why?

CodePudding user response:

What about this button? The "MyClass-References" Window has a button named "Keep results" on top. Enabling it seems to exactly do what you need: Each consecutive "Find references" will open a new tab.

"Keep results"

  • Related