Customize the content of Find Result Window in Visual Studio

Customize the content of Find Result Window in Visual Studio

Here is another tip on customizing the Search Result Window in Visual Studio.  When the results found, the find result window by default shows the file name along with the matched code line. By selecting each of the find result item you can navigate to the respective line inside the Visual Studio editor. In case you don’t want the associated line of code in the search result and only interested to view the search file name; you can easily set the search option from Find Result Dialog Window.

Following images shows the default find result content that has both matched files along the content line for each file.

image

Must Read Tips and Tricks Related with Find & Replace Features

To display only the matched file names inside find result window, you need to select the “Display file names only” option under the “Results Options

image

Once you have this option checked, the search content will have only file names.

image

If you want to try out the “Append Result” (“Appending Search Results”–use same find result window for multiple Search in Visual Studio ) feature with this option selected, you can find the same result within same find result window.

image

Hope this helps !

Abhijit Jana

Abhijit runs the Daily .NET Tips. He started this site with a vision to have a single knowledge base of .NET tips and tricks and share post that can quickly help any developers . He is a Former Microsoft ASP.NET MVP, CodeProject MVP, Mentor, Speaker, Author, Technology Evangelist and presently working as a .NET Consultant. He blogs at http://abhijitjana.net , you can follow him @AbhijitJana . He is the author of book Kinect for Windows SDK Programming Guide.

2 Comments to “Customize the content of Find Result Window in Visual Studio”

Comments are closed.