views:

48

answers:

1

In Visual Studio 2008, in the Find Results window, how do I not show the full path of the file name where the match was found?

The thing that I'm trying to get around is where most of the window is just displaying a long path rather than the chunk of text where the match was found.

+1  A: 

I don't know of anyway to do it within the VS2k8 UI (I even checked 2010 nothing), however there is a way to make changes to this using the registry. The link below should help it is based on 2005, and it does work for 2008 as well. Just change the registry location.

From: HKEY_CURRENT_USER\Software\Microsoft\VisualStudio\8.0\Find

To: HKEY_CURRENT_USER\Software\Microsoft\VisualStudio\9.0\Find

http://blogs.msdn.com/saraford/archive/2006/03/30/565002.aspx

Rodney Foley