Last Updated: February 25, 2016
·
641
· magnetikonline

Quickly view your projects TODO: items via Sublime

Surprised I hadn't set this up sooner - view/browse/jump to your TODO: comments in your project via a simple keybind.

Firstly, install the SublimeTODO package (using Ubuntu/Git here, otherwise Sublime Text 2 package manager):

$ cd ~/.config/sublime-text-2/Packages/
$ git clone https://robcowie@github.com/robcowie/SublimeTODO.git SublimeTODO

Next, lift the relevant sections from my Sublime Text 2 config ("todo" block and "keymap":

https://gist.github.com/magnetikonline/4092156

Now, when editing your project a quick hit of Ctrl+Shift+O opens a new read-only tab with all your TODO's listed and up/down arrows + enter to jump to the file/line in question.