TODO plugin is very simple but extremely convenient plugin for QtCreator created by Dmitry Savchenko. It parses your TODO comments and creates additional window of To-do Entries, which is displayed in the panel next to Compile Output. The colourful entries are sorted by type and you can easily navigate through all of them — just click on the entry and you will be moved to the place in the code where the comment appears. It’s great feature for the people who write TODO comments and then browse them by the usual search text function.

The To-do Entries window is divided into two sub-windows: entries in current document and entries in active project. Such division helps the proper work organization.

QtCreator todo plugin

The plugin by default recognizes notes: TODO, BUG, FIXME, NOTE, HACK.

// TODO: something to do
// BUG: ugly bug here
// FIXME: I need a fix!

Plugin setup

The plugin is already installed in the newest QtCreator releases (since Qt Creator 2.5.0). You just need to enable it in Help->About Plugins…->Utilities->Todo.

QtCreator todo plugin

Add your own keywords

After the plugin is enabled, you can add/delete/edit entries types. Go to Tools->Options->To-Do and create some new keywords, for example mark the slow fragments of code with yellow comment SLOW. The keyword importance can be chosen from levels: information, warning, error.

QtCreator todo plugin

I think this small feature can significantly optimize the work on the project!