One use case that I find useful is perhaps when working on a wordpress project.
Usually I exclude all of the core wordpress files and directories and only add to the project the theme and plugin folders.
wordpress folder hierarchy is something like this
wordpress wordpress/wp-includes wordpress/wp-admin wordpress/wp-content/themes/THEME_DIR wordpress/wp-content/plugins/PLUGIN_DIR
so in the project browser I would only add:
wordpress/wp-content/themes/THEME_DIR wordpress/wp-content/plugins/PLUGIN_DIR wordpress/wp-content/plugins/PLUGIN_DIR2 wordpress/wp-content/plugins/PLUGIN_DIR3
So lets say in the tm_properties for that project folder, I would add only the directories above right?
I tried using includeDirectoriesInBrowser and includeDirectories with the value being the full path but nothing happened after reloading.
Any hints?
Thanks
On Dec 14, 2011, at 3:16 PM, Allan Odgaard wrote:
On 15 Dec 2011, at 00:09, Jeff Paquette wrote:
I have to second the use case of using the project to filter out files and directories I don't want "Search in project" to look in. Is there way to do this in TM2 without projects?
Use one of the ‘exclude’ keys in .tm_properties, relevant links here: http://lists.macromates.com/textmate/2011-December/033476.html
textmate mailing list textmate@lists.macromates.com http://lists.macromates.com/listinfo/textmate