If, like me, you often record ideas for potential improvements to your R code by leaving comments in a format something like:

#TODO: fix this!

then the todor R library provides an easy way to actually see and navigate through all such entries in RStudio, rather than having to hope you remember to search enough times to find them all in order to actually work on them.

Triggered either from the function todor() or as an RStudio addin, it’ll search your file, project or package for markers like #TODO #IDEA #FIXME and so on - you can customise the list.

It then displays the results in a new “Markers” pane near the console window.

Clicking on any entry there takes you to the relevant bit of your code, ready to work on the todo item in question.