Prioritised To-Dos In TextMate
Here’s a really simple trick I use to prioritise todo lists in my Rails projects. It uses TextMate’s TODO bundle.
Notice the addition of “:n:” right after “todo”, where n is a number indicating how important the todo item is. I use three levels of priority but you could use a different system depending on how organised you wanted to feel. Run this through the TODO bundle (ctrl+option+shift+T), and you’ll get a list of todo items which can be sorted by priority:
Use the up/down arrows to the right of “Comment” to sort your todos in order of priority. Easy! UPDATE: Here’s the snippet I use to create these todos:
I bind this to a tab trigger #todo with scope source.ruby using TextMate’s bundle editor
.