I have a directory structure:
app
--controllers
----components
components
And in my sublime text 2 project file I want to ignore the top-level components directory (which was created by a bower install
while keeping access to the components
directory in controllers
.
How do I do this? Here's my current sublime settings:
{
"folders":
[
{
"path": "/path/to/Project",
"folder_exclude_patterns": ["cake", "vendor", "node_modules", "components"],
"file_exclude_patterns": ["*.sublime-workspace"]
}
]
}
You can add additional paths to members of the folder_exclude_patterns
array:
"folder_exclude_patterns": ["cake", "vendor", "node_modules", "Project/components"],
should work just fine.