Reloading TextMate's search cache

0 views
Skip to first unread message

Nathan de Vries

unread,
Nov 11, 2008, 6:49:41 PM11/11/08
to rails-...@googlegroups.com
Just started using TextMate seriously again, but I'm having issues
with my Find-In-Project cache getting out of sync with reality. For
example, if I pull in remote changes to my project or manipulate files
behind TextMate's back in some other way, when I do a search I get a
whole bunch of false-positives back (pointing to code that used to be
there). Is there a quick way of clearing the cache? If so, how?

--
Nathan de Vries

Steve Hayes

unread,
Nov 11, 2008, 7:17:57 PM11/11/08
to rails-...@googlegroups.com
Hi Nathan,

I strongly suggest you look at Grep-In-Project (http://henrik.nyh.se/2007/06/grep-in-project-command-for-textmate
). It's **much** faster than Find-In-Project.

Steve

-----
Steve Hayes

Cogent Consulting
http://www.cogentconsulting.com.au
http://iridescenturchin.wordpress.com/
Mobile: 0403 902 431

Want to know how complex your code is? Where to go to fix it?
Complexian measures how many tests your code needs and warns you when
the number gets too high.
http://www.cogentconsulting.com.au/resources/complexian/index.html


Lachie

unread,
Nov 11, 2008, 7:33:50 PM11/11/08
to rails-...@googlegroups.com
Hi Steve, Nathan

Not to one-up, but I used to use Grep in Project, and switched to Ack.tmbundle:
http://somethinglearned.com/articles/2008/06/03/ack-tmbundle-a-faster-find-in-project-for-textmate

Ack is pretty awesomer than grep on its own... this bundle is gravy

:lachie
http://smartbomb.com.au
http://www.flickr.com/photos/lachie/

Nathan de Vries

unread,
Nov 11, 2008, 9:07:44 PM11/11/08
to rails-...@googlegroups.com
On 12/11/2008, at 11:33 AM, Lachie wrote:
> Ack is pretty awesomer than grep on its own... this bundle is gravy

Cheers for the suggestion...using it now. I recommend "--color" and "--
pager=less --raw" in your .ackrc for command-line action too.

--
Nathan de Vries

Lachie

unread,
Nov 11, 2008, 9:43:25 PM11/11/08
to rails-...@googlegroups.com

np :)
I use --smart-case as well: it switches on case sensitivity only if
you include an uppercase letter in your term


>
> --
> Nathan de Vries
>
> >
>

Reply all
Reply to author
Forward
0 new messages