Useful Visual Studio Search Tool

I was jumping around in our main solution yesterday making little bug fixes and needless to say it was becoming a bit tedious trying to find where I needed to go in the code. My co-worker then told me about the Find in Files search option. It is a tool that will search solution-wide or project-wide for a word and give you a listing of the results. When you find the occurrence in the result list, double-click it and VS will take you to the exact place in the code.

Menu navigation: Edit > Find and Replace > Find in Files, Keyboard shortcut Ctrl + Shift + F

search1.gif

search2.gif

search3.gif

search4.gif

Pretty sweet! This is really useful if there are a lot of changes to be made. There are still many little tidbits to learn about the VS environment, which is why I really like Sara Ford’s VS 2008 Tip of the Day posts as well as the .NET Tip of the Day.

Posted on January 5, 2008, in Visual Studio. Bookmark the permalink. Leave a Comment.

Leave a Reply

Please log in using one of these methods to post your comment:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Connecting to %s

Follow

Get every new post delivered to your Inbox.