Skip to content

Todo Explorer

David edited this page Apr 15, 2020 · 6 revisions

The ToDo Explorer will find and list each marker (predefined key words) placed in a code comment. TODO, BUG, and NOTE are three markers that are setup in Rubberduck by default. However, you can add your own. Use the ToDo Explorer to browse each marker, along with any associated messages, and to navigate that marker in your code.

Add a marker to your code

Markers are not not case-sensitive. To use a marker, place it at the start of a comment. You can write a message after the marker. For example:

Private Sub TestMethod1() 'TODO Rename test

Working with markers in your code

Open the ToDo Explorer by going to Rubberduck >> Tools >> ToDo Items (there is no Hotkey for this feature). Navigate to the line in your code that contains a marker's by double-clicking the associated item in the list.

ToDo Explorer

Changing the default markers

You can manage the list of makers that can be used in code, in Rubberduck's settings window (Rubberduck >> Settings) to add, change, or remove markers.

Settings menu

Use the ToDo Settings tab to add, change, or remove markers.

ToDo Settings

Clone this wiki locally