views:

45

answers:

1

I'm looking for a VS2008 AddIn or utility that improves on "Find In Files".

The main feature I'm looking for is to show the names of the methods that contain the matching string, preferably in a TreeView.

For example, if I did a search for variable "string1", I'd like to see something similar to the following:

File1.cs
  method1
    string1 = "abcd";
    string1 = "efgh";
File2.cs
  method2
    string1 = "wxyz";

This would indicate that "File1.cs" has a method called "method1" that sets the variable in two places, and "File2.cs" has a method called "method2" that sets the variable in one place.

A TreeView style display is really nice, but not essential. The key feature is showing the method name - this is a tremendous aid in zeroing in on the results you are interested in!

AxTools "CodeSMART for VB6" has this feature, and it works brilliantly. However, the .NET version does not seem to work nearly as well, and the free demo I tried had other problems, so I'm looking for alternatives.

Any suggestions?

-Tom Bushell

+2  A: 

ReSharper is what you want. The ReSharper "Find" commands can display the found text in context, and can also organize the set of results in many different ways.

John Saunders
Tom Bushell
Anyone else have a suggestion, before I mark this "answered"?Also, if someone would kindly upvote the question, I'll be able to start voting on other answers.
Tom Bushell
Done :-D. I use Resharper as well and am more then pleased with it too.
Colin