Working with task tags in C/C++ files

About this task

In z Systems® LPEX Editor when task tags are encountered in comments:the parser tokenizes them differently from the rest of the comments, a task icon and marker appears in the editor's vertical rulers, and the task also appears in the task list view:

Task tags can be managed as follows:

Procedure

  1. The overview ruler displays an overview of the entire source open in the editor. Each task tag is represented by a blue rectangle. Use the mouse to hover over a blue rectangle to see the task tag text, or click on it to navigate to the task tag.
  2. The vertical ruler at the left highlights any task tags with an icon. Use the mouse to hover over a blue rectangle to see the task tag text, or click on it to select the line that contains the task tag.
  3. The task list can be used to view and manage all the tasks in the code simultaneously. Right-click on a task to view available actions, and use the view menu to customize the view to your liking.

Results

Note: Task tags are not persisted for the C/C++ parser in z Systems LPEX Editor. This means that you can only view tasks when the file is open in the editor and any items marked complete through the Task view are not remembered when a file is reopened.
Tip: You can configure the annotations that editors display for task tags in the Annotations page of the Preferences window at General > Editor > Text Editors > Annotations. You can configure the tokenization that the HLASM parser performs for task tags on the Parser Styles page of the Preferences window at LPEX Editor > Parsers > Parser Styles.