10 09/2014

sublime goto anything 排除文件夹

最后更新: Wed Sep 10 2014 12:39:11 GMT+0800

Sublime 的 goto anything +p 很好用!可惜搜索结果太多!

其实都是在 project 中检索,编辑 tt4.sublime-project 修改内容为

{
    "folders":
    [
        {
            "path": "/Users/david/hexo/tt4",
            "folder_exclude_patterns": ["node_modules","public","scaffolds","scripts"],
            "file_exclude_patterns": [".gitignore","*.mp3","db.json"]
        }
    ]
}
  • folder_exclude_patterns 排除哪些目录
  • file_exclude_patterns 排除哪些文件

注意:Find in files 如果不输入 “Where” 就是在 Project 中寻找。否则在 Where(不包括当前 Project)中寻找。

via Sublime Projects