Posted by: Rhonda | January 5, 2008

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.


Leave a response

You must be logged in to post a comment.

Categories