为node.jsconfiguration崇高文本3文件夹node_modules
我需要侧边栏中的node_modules,而不是search文件时,“去文件”。
如果我使用
{ "folder_exclude_patterns": [ "node_modules"] }
除了边栏,它工作正常。
你需要这个设置“binary_file_pattern:
// These files will still show up in the side bar, but won't be included in // Goto Anything or Find in Files "binary_file_patterns": ["*.jpg", "*.jpeg", "*.png", "*.gif", "*.ttf", "*.tga", "*.dds", "*.ico", "*.eot", "*.pdf", "*.swf", "*.jar", "*.zip"],
你也可以使用:
// index_exclude_patterns indicate which files won't be indexed. "index_exclude_patterns": ["*.log"],
它会显示在边栏,但从任何索引中删除它。
你也可以试试这个插件: https : //github.com/titoBouzout/SideBarFolders
对于一些用户..(我:P),ST项目系统太多..我只是希望能够切换文件夹,而不保存或跟踪项目文件,并保持Tabs完好无损..嗯,这个包就是这样做。
崇高的文本 – >首选项 – >设置 – >打开一个新的窗口,左侧的所有程序设置和右侧的用户设置。 您可以在{}括号之间添加此行 –
"binary_file_patterns": [".svn/", ".git/", "node_modules/", "bower_components/"]