我想在搜索文件名时忽略 node_modules 文件夹中的任何内容。我试过:
在首选项> 包控制> 包设置> 用户 - 设置中我包括:
"folder_exclude_patterns": ["*node_modules*"],
"file_exclude_patterns": ["*node_modules*"],
然而,当我执行 cmd + p 并在 node_modules 中搜索文件 Sublime 搜索时......
最佳答案
Sublime 3 改变了语法。您需要删除通配符星号。
转到首选项> 设置并更新用户设置,如下所示:
{
"folder_exclude_patterns": ["node_modules"]
}
关于sublimetext3 - 在 Sublime 3 中忽略文件搜索中的 node_modules,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/47409226/