如何告诉 Visual Studio 从“在文件中查找"中排除文件夹? [英] How can I tell Visual Studio to exclude folders from the Find in Files?
本文介绍了如何告诉 Visual Studio 从“在文件中查找"中排除文件夹?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我们使用 subversion,所以我们的解决方案中有名为 _svn 的子文件夹.在文件中查找会从这些子文件夹中返回字符串.有没有办法告诉 Visual Studio 忽略这些文件?
We use subversion so we have subfolders named _svn in our solution. Doing a Find in Files returns strings from these subfolders. Is there any way to tell Visual Studio to ignore these files?
推荐答案
从在文件中查找",在文件类型"或查看这些文件类型"中,您可以使用:
From "Find in Files", in "File Types" or "Look at these file types", you can use:
!*\ExcludeFolder\*
示例:
!*\bin\*;!*\obj\*;!*\.*;!*\ExcludeFolder\*
这篇关于如何告诉 Visual Studio 从“在文件中查找"中排除文件夹?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文