Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save akirattii/10635288384521ac38c696a9e79eceb2 to your computer and use it in GitHub Desktop.
Save akirattii/10635288384521ac38c696a9e79eceb2 to your computer and use it in GitHub Desktop.
Sublime Text 3: Ignores some "goto definition" candidates by file/folder patterns filter

Sublime Text 3: Ignores some "goto definition" candidates by file/folder patterns filter

Open Project -> Edit Project

{
  "folders": [
    {
      "path": "hoge-project",
      "follow_symlinks": true,
      "index_exclude_patterns": ["*.log", "*bundle.js", "*.min.js"],
      "folder_exclude_patterns": ["node_modules"]
    },
    {
      "path": "foo-project",
      "follow_symlinks": true,
      "index_exclude_patterns": ["*.log", "*bundle.js", "*.min.js"],
      "folder_exclude_patterns": ["node_modules"]
    }
  ]
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment