I use a file .tm_propertiesto exclude certain folders from the file browser of a TextMate 2 project, and it works fine. So, for example, I have a line like this to exclude the folder junk:
excludeDirectories = "{$excludeDirectories,junk}"
And this works great to hide all folders under the name junk.
BUT , let's say, in my project there are two folders that are called junk, and I want to exclude it, but include another. How to set the first spam folder, which should be excluded, but not exclude the second?
I tried things like this without success:
excludeDirectories = "{$excludeDirectories,/junk}"
excludeDirectories = "{$excludeDirectories,~/junk}"
excludeDirectories = "{$excludeDirectories,./junk}"
excludeDirectories = "{$excludeDirectories,'./junk'}"
Does anyone know if this is possible and / or how to do it? thank!