views:

196

answers:

2

Visual Studio has a "Find All References" tool that is great in navigating the codebase to find out where a function is called or where a variable is used. When navigating a large code base, I tend to do find all references multiple times to find the top level of where a function is called.

Imagine we have the following:

A1() calls B1(), B1() calls C()

A2() calls B2(), B2() calls C()

My problem:

If I do find all references on C(), I find both B1() and B2(), which is great.

Now, I try to find out where B1() is called. I find A1() calls B1(). Great!

However, I run into an issue when I want to back track and find out what calls B2(), but I lost track of B2()! By default, VS.NET only has window for the "Find All References" result. Since I found all references for B1() just now, I lost track of where C() was called. I now have to find all references to C(), and then find all references to B2(). I'm working in a large code base, and finding all references can easily take more than a minute for a function. It would be nice if I could save the results of a search, and future find all references would open a new window instead of overwriting the existing search.

Is there a setting in VS.NET 2008 or a free addon that would allow me to have multiple "Find All References" windows?

On a related note, VS.NET has 2 Find result windows for searching for text. Is there a way to have more?

+1  A: 

I don't know about studio, but Resharper does this for you. It will keep track of all your previous searches when you use the "Find Usages" function. You also have some good flexibility for hte scope of hte search (Current File, Project, Solution, etc), as well as options for searching (usages of base types, etc).

They do have a free trial, so see if that meets your needs.

Nader Shirazie
A: 

I agree with Jeremiah answer as below quoted.

"I figured out what it was. I was still running the Beta version of the Web Deployment Project code template. Just had to un-install it and download the RTW version and everything was fine."

thanks Jeremiah;

Sudhir