Visual Studio - 从搜索中排除moles文件
我知道 Visual Studio 允许您指定您想要在查找和替换对话框中搜索的文件类型,这通常效果很好。然而,生成的鼹鼠文件的路径以“mgcs”结尾。搜索 .cs 文件时,也会搜索这些文件,这会在查找结果中产生大量噪音。有没有办法指定在查找和替换中应忽略匹配“*mgcs”的文件?
I know Visual Studio allows you to specify what kinds of files you want to search in the find and replace dialog, which works well in general. Generated moles files, however, have a path ending in "m.g.cs". When searching for .cs files, these are also searched, which produces a ton of noise in the find results. Is there a way to specify that files matching "*m.g.cs" should be ignored in the find and replace?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
您是否尝试将新项目(文件夹集)添加到查找范围下拉列表中?
其操作方法如下:
Did you try adding a new item (folder set) to the Look in drop-down list?
Here's how it's done: