Saturday, October 18, 2008

Tip for TextMate users

This one's going to be super-short, due to me being super-busy. If you use TextMate as your code editor (which I do, and I highly recommend it), you may be familiar with the clover-shift-F command which allows you to do a global find throughout your currently open project. You may also notice the speed of this operation go way down over time. If you've got a LOT of files in your project, and you keep adding frequently, there are other solutions like using grep. However, if you are not running an explosively big project, and you notice a speed decrease over time (like me) the single best thing you can do is to delete your development.log and test.log files, which build up to become insanely long over a few months of development. Yes, it's a ridiculously simple tip, but I went from searching through my whole project in 90-120 seconds to 5-6. Big difference.

Enjoy!

1 comment:

milann said...

I started using Ack.tmbundle a while ago and it's working very well, so far.