June 25, 2007
If you use TextMate, you should really think about using the TODO bundle more often. It’s a simple, low-maintenance bundle that adds tremendous value to your code.
Using the bundle is pretty easy. In any language, just type in a quick comment with the prefix TODO, FIXME or CHANGED like so:
Using this syntax lets you keep pushing ahead at full steam and leave the hard stuff for later. For example, in the above example I wanted to get a quick functional prototype out the door. It wasn’t mandatory that the Related Clips actually be related: it was only mandatory that there was content present.
You can also use the keywords FIXME or CHANGED throughout your code, like so:
This lets others working on the code let you know that you know something is broken and/or changed, but you just don’t have time to get to it.
Well, that’s all fine and well.. but how do you know what needs to be fixed/changed/done ? Just hit Ctr+Shift+T and TextMate will pop up with a pretty little list, hyperlinked and all
I use this bundle practically every time I open up Textmate. It allows me to keep on a focused track of development, while still keeping a lot of “ooh, I need to do that sometime” kind of tasks on the radar.
If you'd like to keep in touch, I tweet @kneath on Twitter. You're also welcome to send a polite email to firstname.lastname@example.org. I don't always get the chance to respond, but email is always the best way to get in touch.
I really like having comments on my site, but I also know how they turn out more often than not. Please try to be a decent human.