Using Resharper's structural search and replace to find usages.

Resharper structural search and replace Part I - Searching

You are looking at revision 6 of this page, which may be out of date. View the latest version.  

There isn't much documentation on Resharper's Structural Search and Replace

Consider the case where you want to find all the usages of the Text property on a Windows Form:

form_usages.png

If you use Find Usages (Shift F12) you get all usages of System.Windows.Forms.Control which isn't what we want in this case.

usages2.png

Enter Resharpers 'Search with pattern' (Alt-R,F,R)

structural<em>search</em>and_replace2.png

usages1.png

Posted by: Wallace Turner
Last revised: 13 Apr, 2013 01:58 AM History
You are looking at revision 6 of this page, which may be out of date. View the latest version.

Comments

No comments yet. Be the first!

No new comments are allowed on this post.