Yehuda Katz is a member of the Ember.js, Ruby on Rails and jQuery Core Teams; he spends his daytime hours at the startup he founded, Tilde Inc.. Yehuda is co-author of best-selling jQuery in Action and Rails 3 in Action. He spends most of his time hacking on open source—his main projects, like Thor, Handlebars and Janus—or traveling the world doing evangelism work. He can be found on Twitter as @wycats and on Github.
Textmate Search in a Folder (with grep) Part Deux
November 15th, 2007
I posted my initial “Search in a Folder” solution a couple of days ago, and it turned out it had a few bugs (like the backgrounded ruby script never closing, and thus spawning a new ruby process for each time you loaded up the window. There were other user-experience annoyances, too. The good news is that that’s all in the past now.
The new version of the Wycats bundle has the following changes:
- I am now using a utility window, so the search window always remains in front
- I am now tracking open windows, so if you have an open window, another one doesn’t open
- I track all available exit conditions and correctly exit the event loop
- Other bugfixes and tweaks