sublime exclude folder?

时间:2023-01-10 06:56:57

  在sublime的项目中,其配置文件实际上是一个json文件,如果希望将某些文件夹或者文件排除在项目有效文件外,有以下方法:

在folder_exclude_patterns中输入对应的文件夹或者正则表达式(http://www.sublimetext.com/docs/2/projects.html)

{
"folders":
[
{
"path": "src",
"folder_exclude_patterns": ["backup"]
},
{
"path": "docs",
"name": "Documentation",
"file_exclude_patterns": ["*.css"]
}
],
"settings":
{
"tab_size": 8
},
"build_systems":
[
{
"name": "List",
"cmd": ["ls"]
}
]
}