My .tm_properties file has this line:
excludeDirectories = "{$excludeDirectories,assets,bin,images,logs,node_modules,cache}”
and it works. Too well.
Not only does it exclude projectroot/images (which is what I wanted), but it excludes projectroot/user/pages/images, too.
How do I restrict excludeDirectories to only a top level folder?
Bob ------------------- Robert J. Rockefeller Richmond Hill, GA www.bobrockefeller.com
Just playing around with some tests and this seems to work..
$CWD/assets
or if you have a projectedDirectory = "$CWD" in .tm_properties, it also seems to expand other variables such as
$projectDirectory/assets
On 10 February 2015 at 12:14, Robert J. Rockefeller bob@bobrockefeller.com wrote:
My .tm_properties file has this line:
excludeDirectories = "{$excludeDirectories,assets,bin,images,logs,node_modules,cache}”
and it works. Too well.
Not only does it exclude projectroot/images (which is what I wanted), but it excludes projectroot/user/pages/images, too.
How do I restrict excludeDirectories to only a top level folder?
Bob
Robert J. Rockefeller Richmond Hill, GA www.bobrockefeller.com
textmate mailing list textmate@lists.macromates.com http://lists.macromates.com/listinfo/textmate
That was it!
Thanks, I had been playing with every combination of / and \ and “” I could think of.
It’s time to learn more about TextMate’s environment variables…
Bob ------------------- Robert J. Rockefeller Richmond Hill, GA www.bobrockefeller.com
On Feb 10, 2015, at 7:30 AM, Carpii UK carpii.uk@gmail.com wrote:
Just playing around with some tests and this seems to work..
$CWD/assets
or if you have a projectedDirectory = "$CWD" in .tm_properties, it also seems to expand other variables such as
$projectDirectory/assets
On 10 February 2015 at 12:14, Robert J. Rockefeller <bob@bobrockefeller.com mailto:bob@bobrockefeller.com> wrote: My .tm_properties file has this line:
excludeDirectories = "{$excludeDirectories,assets,bin,images,logs,node_modules,cache}”
and it works. Too well.
Not only does it exclude projectroot/images (which is what I wanted), but it excludes projectroot/user/pages/images, too.
How do I restrict excludeDirectories to only a top level folder?
Bob
Robert J. Rockefeller Richmond Hill, GA www.bobrockefeller.com http://www.bobrockefeller.com/
textmate mailing list textmate@lists.macromates.com mailto:textmate@lists.macromates.com http://lists.macromates.com/listinfo/textmate http://lists.macromates.com/listinfo/textmate
textmate mailing list textmate@lists.macromates.com http://lists.macromates.com/listinfo/textmate