Adding reminders in Jython scripts

In the Jython editor, you can add task reminders in your Jython scripts. The reminders are displayed in the Tasks view.

This is a screen capture of the Task view with a TODO example.

Prerequisite
To add reminders in Jython scripts:
  1. Open a Jython script file in the Jython editor:
    1. In Navigator view, expand the Jython project that contains the Jython script file you want to add the reminder.
    2. Right-click the Jython script file.
    3. In the pop-up menu, select Open With > Jython Editor.
  2. In the Jython editor, tag a comment in the Jython script with #TODO followed with the reminder description that ends at the end of the physical line. For example:
    #TODO: My reminder description.
  3. The editor automatically creates a corresponding task as a reminder in the Tasks view.
  4. You can open the task later in the Task view and the editor automatically synchronizes to that TODO entry in the script source. The Tasks view provides two approaches for opening the Jython script file associated with a task:
    • Right-click the task, and from the pop-up menu select Go To
    • Double click on the task
    Tip: If the Jython Editor was not previously opened, double-click or select Go To once more on the task in the Tasks view to navigate you to the #TODO within the script
    The Jython editor is opened and the line with which the selected task is associated is highlighted.
Related tasks
Editing Jython script files

Feedback