In Visual Studio 2008, in the Find Results window, how do I not show the full path o开发者_JAVA百科f 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.
I don't know of any way to do it within the Visual Studio 2008 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 Visual Studio 2005, and it does work for Visual Studio 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
Source: Customize your Find in Files Results experience!.
精彩评论