Sublime Text plugin shows TODO comments, and more

TodoReview in Sublime Text 3
TodoReview in Sublime Text 3

I do like a good Sublime Text 3 plugin, and this is one that offers functionality that I was missing since upgrading from ST2 a while back.

TodoReview scans the comments within your code (either open files, project files, or both) and builds a results page that allows you to easily open and jump to the appropriate lines in these files. It’s as simple as navigating to the appropriate line and pressing Enter.

The plugin has four common comment keywords built in, but using regular expressions these can be extended beyond:

  • TODO:
  • NOTE:
  • FIXME:
  • CHANGED:

Not only is this plugin useful for your own code projects, you can also use it to scan through third party open source projects to get an insight into their code. For example, WordPress 4.1.1 has 196 TODO: comments. My favourite is this:

Man o man is this ugly. WebKit is the new IE! Remove this if they ever fix it!

TodoReview can be installed easily using Package Control by Will Bond.

Isaac and duck

Isaac waves to his new friends.
Isaac waves to his new friends.

At lunchtime today Jane had a lunch appointment with a friend, so Isaac and I first went to Greggs to get him a sausage roll and a bottle of summer fruits juice.

“I’ll get points for that,” he said, gesturing towards the bottle.

And he was right: the boys get bonus points if they try something new.

We had a lovely time, sitting beside the Kinnessburn watching the ducks, some of whom came up to say hello. Then we took a walk along the stream to find more ducks, before heading up the hill towards my office.

We took a shortcut through the grounds of Dyer’s Brae, one of the School of Biology buildings,and popped up on Queen’s Terrace, opposite the Bute building where I work.

“Wow!” said Isaac, recognising where we were. “It’s like we teleported here!”

Well, we didn’t teleport again up to the office—instead, we took the lift.

Isaac, at my desk wearing headphones, watching YouTube.
Isaac, at my desk wearing headphones, watching YouTube.

And there he sat at my desk and we did some pair programming.

Well, I say ‘pair programming’. Isaac watched a Batman video on YouTube while I analysed our projects boards to determine where our business-as-usual, portfolio, project and consultancy tasks are all tracked.

Until mummy arrived.

What fun! I love that boy.