[TxMt] Re: Exclude Top Level, But Not Nested, Folders?

Robert J. Rockefeller bob at bobrockefeller.com
Tue Feb 10 12:34:14 UTC 2015


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 at 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 at bobrockefeller.com <mailto:bob at 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 at lists.macromates.com <mailto:textmate at lists.macromates.com>
> http://lists.macromates.com/listinfo/textmate <http://lists.macromates.com/listinfo/textmate>
> 
> _______________________________________________
> textmate mailing list
> textmate at lists.macromates.com
> http://lists.macromates.com/listinfo/textmate

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macromates.com/textmate/attachments/20150210/58f3bcf0/attachment.html>


More information about the textmate mailing list