Show Method Name in Find All References - C # Visual Studio

When I do something right in visual studio and click Find All References, I get a list of all the places where this object occurs.

Is there a way to show the scope of this place (Namespace.Class.Method) and not just the line number. Now I need to double click all the results to see where it really is.

+2
c # visual-studio-2008


source to share


3 answers


Another vote for ReSharper . Check here for some screenshots regarding the type of results. You can change how the results are presented (My favorite is Project + Namespace + Member, so I can see which methods are being referenced.)

You also have several options to refine your queries. For example:



  • Search for project / file or even include library links
  • Finding ways to read or write
  • Search for matches "text"

They have a free trial ... give it a try.

+1


source to share


Sorry, you need a productivity tool like Reshaper for this. (Other productivity tools like DevExpress do exist, however I don't know if they provide such a feature as well.)



0


source to share


Using the default feature in Visual Studio, you won't be able to achieve this. Find All References

seems to use the same search engine as Find In File

.

As M. Chohan said, a plugin like Reshaper or DevExpress CodeRush might have the function you are looking for.

0


source to share







All Articles
Loading...
X
Show
Funny
Dev
Pics