Ravikanth's Blog

Happenings around Me

Disclaimer

India MVP Blogs

Mugh blogs

My

My Favorites

My Network Places

January 2008 - Posts

Find in files results customization in visual studio 2005

If you spend considerable time in reformatting your find in files results, then this tip is might helpful for you. As an security analyst I always required to report a security issue with directoryname, file name , line number and code snippet. But default find in files results window will provide filename & code text and that to in single line.

To change default settings & to display results in multiple lines, you can use the following registry setting.

1. Go to HKCU\Software\Microsoft\VisualStudio\8.0\Find
2. Add a new string called Find result format with a value of Directory : $d\nFile name : $f$e\nLine #: $l\nCode:$t\r\n where

$d is directory name
$f is the filename
$e is the extension
$l is the line
$t is the text on the line

Note:  You don’t have to restart Visual Studio to pick up on your registry changes.

Full list of items you can specify in the registry can be found here.

 

More Posts