从Visual Studio搜索中排除特定文件 [英] Excluding specific files from Visual Studio search

查看:532
本文介绍了从Visual Studio搜索中排除特定文件的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

是否可以在Visual Studio中从搜索中排除某些文件.

Is it possible to exclude certain files from search in Visual Studio.

例如jquery.js几乎总是污染我的搜索结果,其中一半结果来自该文件.

For example jquery.js is almost always polluting my search results with half result coming from that file.

我知道您可以将特定类型列入白名单,但是当我想在.js扩展名中进行搜索时,有解决方案吗?

I know you can white-list specific types, but when I want to search in .js extension is there solution for that?

在此处为功能投票: https://developercommunity.visualstudio.com/idea/405990/code-search-exclude-files-from-search.html?inRegister=true

推荐答案

虽然不能解决您的问题,但可能会有所帮助

Altough it does not solve your problem it may help out a bit

Ctrl + Shift + F 应该会触发查找和替换"窗口.

Ctrl + Shift + F should trigger the Find and Replace window.

从此处单击结果选项",然后选择仅显示文件名".

From there, click Result Options and select "Display file names only".

它不会提供您所需的所有信息,但可能使识别文件更加容易.

It won't have all the info you need but might make it easier to recognize the files.

这篇关于从Visual Studio搜索中排除特定文件的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆