QtCreator: TODO plugin

TODO plugin is very simple but extremely convenient plugin for QtCreator created by Dmitry Savchenko. It 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.

Plugin setup

The plugin is already installed in the newest QtCreator releases (I use QtCreator 3.4.2). You just need to enable it in Help->About Plugins…->Utilities->Todo.

Todo plugin QtCreator

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.

todo plugin QtCreator

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


Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )


Connecting to %s