Creating, Deleting and Modifying To Do Comments

Applies to TestComplete 15.70, last modified on December 17, 2024

This topic describes how to manage To Do comments in the To Do panel:

Creating To Do Comments

You can create and delete To Do comments in the Code Editor. In the To Do panel, you can only modify the comments.

To create the To Do comment, add it to the needed place of the script code using the To Do Comment Format. To Do comment that you insert into the script code is added to the To Do panel when you typing it. The script unit to which you add the comment is automatically displayed in the Module column of the To Do panel. Values of others properties are displayed in the corresponding columns of the To Do panel if you specify them in the script code.

Jumping to Comment Line in the Code Editor

To jump to the desired comment line in the Code Editor perform one of the following:

  • Select the comment in the To Do panel list and press Enter.

-- or --

  • Right-click the desired comment in the To Do panel and choose  Show Source from the context menu.

-- or --

  • Double-click the desired comment.
Changing Comment Properties

To change the comment description, priority, owner or category:

  • Click twice (not double-click) somewhere within the appropriate column or select the column and press F2. This will activates the in-place editor.

  • Type the desired value of the property into the editor and press Enter to confirm the input. The property value will be automatically changed in the appropriate comment line in script.

To change value of the priority property you can also use the up or down arrow button of the Priority column: clicking the up arrow increases the current value, clicking the down arrow decreases the value.

Note: The Module column is read-only.
Changing Comment State

To mark the comment as done:

  • Select the Done check box of the To Do panel. The DONE value will be automatically set in the appropriate comment line in script.

To mark the comment as undone:

  • Clear the Done check box of the To Do panel. The TODO value will be automatically set in the appropriate comment line in script.
Deleting To Do Comments

You can delete To Do comments in the Code Editor. To delete a To Do comment, use the To Do panel to find the desired comment in the Code Editor and remove it from your script code.

See Also

About the To Do Panel
To Do Comments Format and Syntax

Highlight search results