Symfony2 project Sublime config
In your project config file just add following lines.
{
"folders":
[
{
"path": "/your/path/here",
"folder_exclude_patterns": ["app/cache", "app/logs", "web/js", "web/css", "web/bundles"]
}
]
}
It will defend you against:
- Edit assetic generated stylesheets and js files.
- Speedup sublime (it will not index all cache files proxies and other symfony cache files
Written by Max Małecki
Related protips
1 Response
I prefer to add the cache, logs and web folders in the "binary_file_patterns" instead off the "folder_exclude_patterns". This makes sure you're still seeing the folders in your sidebar, but don't get results when you search the full projects.
{
"folders":
[
{
"path": "/your/path/here",
"binary_file_patterns": [
"app/cache/*", "app/logs/*",
"web/js/*", "web/css/*", "web/bundles/*"
]
}
]
}
over 1 year ago
·
Have a fresh tip? Share with Coderwall community!
Post
Post a tip
Best
#Sublime
Authors
Sponsored by #native_company# — Learn More
#native_title#
#native_desc#