简体   繁体   English

如何从vscode中的类型搜索中排除文件?

[英]How do I exclude files from the type search in vscode?

I already added my files to the files.exclude setting, and they disappeared. 我已经将我的文件添加到files.exclude设置中,然后它们就消失了。 But my webpack created a bunde.js which contains all the same symbols as my actual source code and now when I do a type search, the results are full of duplicates and I keep clicking and navigating to the one in bundle.js instead of my real source file that I want to edit. 但是我的webpack创建了一个bunde.js,其中包含与我的实际源代码完全相同的符号,现在当我进行类型搜索时,结果充满了重复,我一直点击并导航到bundle.js中的那个而不是我的我要编辑的真实源文件。

files.exclude removes files from the file explorer. files.exclude从文件资源管理器中删除文件。

search.exclude will remove files from any searches. search.exclude将从任何搜索中删除文件。

I would expect you could make search.exclude mirror your files.exclude setting to get the result you are looking for. 我希望你可以使search.exclude镜像你的files.exclude设置来获得你想要的结果。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM