<div dir="ltr">Interesting, I'll look into this, thanks</div><div class="gmail_extra"><br><div class="gmail_quote">On 25 June 2015 at 21:54, Graham P Heath <span dir="ltr"><<a href="mailto:graham.p.heath@gmail.com" target="_blank">graham.p.heath@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div style="word-wrap:break-word"><div style="margin:0px"><span style="color:rgb(51,51,51);line-height:20.4799995422363px">As far as I know, you cannot execute any code* in .tm_properties.</span><br><div><br></div><div>A quick mockup of the script that would turn a .gitignore into a blob, would look like this: </div><div><br></div><div><font face="Courier New"><span style="white-space:pre-wrap">       </span>paste -d, -s .gitignore</font></div><div></div><div><br></div><div>In theory this could be integrated into some build script to update your .tm_properties, but then TextMate would need to be restarted* to pick up the changes.</div><div><br></div><div>I suggest this little gem instead:</div><div><br></div><div><ul style="color:rgb(51,51,51);padding:0px 0px 0px 2em;margin-top:0px;margin-bottom:16px;line-height:20.4799995422363px"><li><font face="Helvetica Neue"><span style="font-size:12px">If you hold option (⌥) when using the (new) remove button to prune folder search results then the glob will be extended to exclude the undesired path, so that future searches exclude it by default.</span></font></li></ul></div><div><br></div><div><span style="font-family:helvetica,arial">Graham P Heath</span></div><div><br></div><div>*: IIRC / Correct me if I’m wrong</div></div><div><div class="h5"><div><div style="font-family:helvetica,arial;font-size:13px"><br></div></div> <br><p style="color:#000">On June 25, 2015 at 3:03:31 PM, Carpii UK (<a href="mailto:carpii.uk@gmail.com" target="_blank">carpii.uk@gmail.com</a>) wrote:</p> </div></div><blockquote type="cite"><span><div><div></div><div><div><div class="h5">






<div dir="ltr">Is there any mechanism which would allow textmate to
dynamically read my gitignore, and populate it into a variable
ready for us in tm_properties?
<div><br></div>
<div>It would be pretty cool to be able to say...</div>
<div><br></div>
<div>excludeInBrowser =
"{$excludeInBrowser,$git_ignore,.tm_properties}"<br></div>
<div><br></div>
<div><br></div>
</div>



<br></div></div>_______________________________________________
<br>textmate mailing list
<br><a href="mailto:textmate@lists.macromates.com" target="_blank">textmate@lists.macromates.com</a>
<br><a href="http://lists.macromates.com/listinfo/textmate" target="_blank">http://lists.macromates.com/listinfo/textmate</a></div></div></span></blockquote></div><br><br>
_______________________________________________<br>
textmate mailing list<br>
<a href="mailto:textmate@lists.macromates.com">textmate@lists.macromates.com</a><br>
<a href="http://lists.macromates.com/listinfo/textmate" rel="noreferrer" target="_blank">http://lists.macromates.com/listinfo/textmate</a><br></blockquote></div><br></div>