My new Textmate Bundle

Pops up a dialog asking for a search query, then runs grep on the selected dir in the project drawer and shows the results in a HTML output window with the search query highlighted.

Just have a project with 8000 files in it and TextMates » Find in Project « command is just too slow and I’d have to clear the logfiles before that.

With this bundle I can use grep which seems a lot faster and I can ignore logfiles and svn meta data files.
Have to make this bundle a little more customizable and prettier but for now it does the job.

The command line equivalent would be:
grep -r "query" -n --exclude=\*.svn\* --exclude=\*.log\* /your/path/

Credits go to: Andreas Marr for giving me the grep command as it is used in this bundle.

Screenshots

Dialog

Results

2 Responses to My new Textmate Bundle

  1. Pingback: Websites tagged "textmate" on Postsaver

Leave a Reply

Your email address will not be published. Required fields are marked *

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>