开发者

Disabling display of the full file path in Visual Studio 2008's 'Find Results' window

开发者 https://www.devze.com 2022-12-10 04:18 出处:网络
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?

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!.

0

精彩评论

暂无评论...
验证码 换一张
取 消