<HTML><BODY style="word-wrap: break-word; -khtml-nbsp-mode: space; -khtml-line-break: after-white-space; ">Thanks, Alan, but I guess I was a bit unclear. I was hoping it would look for the TODOs in just the files in the current project file, and not all the files in the TM_PROJECT_DIRECTORY and down.<DIV><BR class="khtml-block-placeholder"></DIV><DIV>For example, if I have a project /Users/uner/Development/exampleProj.tmproj with two files</DIV><DIV><BR class="khtml-block-placeholder"></DIV><DIV><SPAN class="Apple-tab-span" style="white-space:pre">    </SPAN>/Users/uner/Development/vob/examples/example.cpp</DIV><DIV><SPAN class="Apple-tab-span" style="white-space:pre">     </SPAN>/Users/uner/Development/vob/examples/tests/test.cpp</DIV><DIV><BR class="khtml-block-placeholder"></DIV><DIV>If I pick one of these files, type "echo $TM_PROJECT_DIRECTORY" and do a ^R, I get "/Users/uner/Development/vob/examples", and that's the folder the TODO bundle starts scanning from (i.e. it does /Users/uner/Development/vob/examples/ and all subdirectories). </DIV><DIV><BR class="khtml-block-placeholder"></DIV><DIV>I'd really like it to just scan example.cpp and test.cpp.</DIV><DIV><BR class="khtml-block-placeholder"></DIV><DIV>Is there a way to do this, or do you have a suggestion for some code I can copy from another bundle to see if I can hack this together myself?</DIV><DIV><BR><DIV><DIV>On Jul 8, 2007, at 7:00 AM, <A href="mailto:textmate-request@lists.macromates.com">textmate-request@lists.macromates.com</A> wrote:</DIV><BLOCKQUOTE type="cite"><P style="margin: 0.0px 0.0px 0.0px 0.0px"><FONT face="Helvetica" size="2" color="#000000" style="font: 10.0px Helvetica; color: #000000"><B>From: </B></FONT><FONT face="Helvetica" size="2" style="font: 10.0px Helvetica">Allan Odgaard <<A href="mailto:throw-away-1@macromates.com">throw-away-1@macromates.com</A>></FONT></P> <P style="margin: 0.0px 0.0px 0.0px 0.0px"><FONT face="Helvetica" size="2" color="#000000" style="font: 10.0px Helvetica; color: #000000"><B>Date: </B></FONT><FONT face="Helvetica" size="2" style="font: 10.0px Helvetica">July 8, 2007 1:24:51 AM CDT</FONT></P> <P style="margin: 0.0px 0.0px 0.0px 0.0px"><FONT face="Helvetica" size="2" color="#000000" style="font: 10.0px Helvetica; color: #000000"><B>To: </B></FONT><FONT face="Helvetica" size="2" style="font: 10.0px Helvetica">TextMate users <<A href="mailto:textmate@lists.macromates.com">textmate@lists.macromates.com</A>></FONT></P> <P style="margin: 0.0px 0.0px 0.0px 0.0px"><FONT face="Helvetica" size="2" color="#000000" style="font: 10.0px Helvetica; color: #000000"><B>Subject: </B></FONT><FONT face="Helvetica" size="2" style="font: 10.0px Helvetica"><B>Re: [TxMt] TODO Search Path/Recursion</B></FONT></P> <P style="margin: 0.0px 0.0px 0.0px 0.0px"><FONT face="Helvetica" size="2" color="#000000" style="font: 10.0px Helvetica; color: #000000"><B>Reply-To: </B></FONT><FONT face="Helvetica" size="2" style="font: 10.0px Helvetica">TextMate users <<A href="mailto:textmate@lists.macromates.com">textmate@lists.macromates.com</A>></FONT></P> <P style="margin: 0.0px 0.0px 0.0px 0.0px; min-height: 14.0px"><BR></P> <P style="margin: 0.0px 0.0px 0.0px 0.0px"><FONT face="Verdana" size="2" style="font: 10.0px Verdana">On 8. Jul 2007, at 06:04, Eric Uner wrote:</FONT></P> <P style="margin: 0.0px 0.0px 0.0px 0.0px; font: 10.0px Verdana; min-height: 12.0px"><BR></P> <BLOCKQUOTE type="cite"><P style="margin: 0.0px 0.0px 0.0px 10.0px"><FONT face="Verdana" size="2" style="font: 10.0px Verdana">[...]</FONT></P> <P style="margin: 0.0px 0.0px 0.0px 10.0px"><FONT face="Verdana" size="2" style="font: 10.0px Verdana">1) Get the bundle to just show me the list it came up with last</FONT></P> <P style="margin: 0.0px 0.0px 0.0px 10.0px"><FONT face="Verdana" size="2" style="font: 10.0px Verdana">time and only refresh when I need it to, or better yet,</FONT></P> </BLOCKQUOTE><P style="margin: 0.0px 0.0px 0.0px 0.0px"><FONT face="Verdana" size="2" style="font: 10.0px Verdana">Could be done, but I don’t think many would prefer this behavior.</FONT></P> <BLOCKQUOTE type="cite"><P style="margin: 0.0px 0.0px 0.0px 10.0px"><FONT face="Verdana" size="2" style="font: 10.0px Verdana">2) Get it to only search the files in the current project?</FONT></P> </BLOCKQUOTE><P style="margin: 0.0px 0.0px 0.0px 0.0px"><FONT face="Verdana" size="2" style="font: 10.0px Verdana">That should be the default -- try check the value of the TM_PROJECT_DIRECTORY variable from within your project.</FONT></P> <P style="margin: 0.0px 0.0px 0.0px 0.0px"><FONT face="Verdana" size="2" style="font: 10.0px Verdana">You can also set TM_TODO_IGNORE to exclude certain files/folders.</FONT></P> <P style="margin: 0.0px 0.0px 0.0px 0.0px"><FONT face="Verdana" size="2" style="font: 10.0px Verdana">On 8. Jul 2007, at 06:04, Eric Uner wrote:</FONT></P> <BLOCKQUOTE type="cite"><P style="margin: 0.0px 0.0px 0.0px 10.0px"><FONT face="Verdana" size="2" style="font: 10.0px Verdana">[...]</FONT></P> <P style="margin: 0.0px 0.0px 0.0px 10.0px"><FONT face="Verdana" size="2" style="font: 10.0px Verdana">1) Get the bundle to just show me the list it came up with last</FONT></P> <P style="margin: 0.0px 0.0px 0.0px 10.0px"><FONT face="Verdana" size="2" style="font: 10.0px Verdana">time and only refresh when I need it to, or better yet,</FONT></P> </BLOCKQUOTE><P style="margin: 0.0px 0.0px 0.0px 0.0px"><FONT face="Verdana" size="2" style="font: 10.0px Verdana">Could be done, but I don’t think many would prefer this behavior.</FONT></P> <BLOCKQUOTE type="cite"><P style="margin: 0.0px 0.0px 0.0px 10.0px"><FONT face="Verdana" size="2" style="font: 10.0px Verdana">2) Get it to only search the files in the current project?</FONT></P> </BLOCKQUOTE><P style="margin: 0.0px 0.0px 0.0px 0.0px"><FONT face="Verdana" size="2" style="font: 10.0px Verdana">That should be the default -- try check the value of the TM_PROJECT_DIRECTORY variable from within your project.</FONT></P> <P style="margin: 0.0px 0.0px 0.0px 0.0px"><FONT face="Verdana" size="2" style="font: 10.0px Verdana">You can also set TM_TODO_IGNORE to exclude certain files/folders.</FONT></P> </BLOCKQUOTE></DIV><BR></DIV></BODY></HTML>