Tasks view
As you work with resources in the Workbench, various builders may automatically log problems, errors, or warnings in the Tasks view. For example, when you save a Java source file that contains syntax errors, those will be logged in the Tasks view. When you double-click the icon for a problem, error, or warning, the editor for the associated resource automatically opens to the relevant line of code.
You can also add items to the Tasks view manually. For example, if you would like to record reminders to follow up on something later, add it to the tasks view. When you add a task manually, you have the option of associating it with a resource so that you can use the Tasks view to quickly open that resource for editing.
The first column of the Tasks view displays an icon that denotes the type of line item. You can sort and filter line items in the task view, to view only high-priority tasks or only warnings and errors associated with a particular resource or group of resources.
By default, the Tasks view is included in the Resource perspective. To add it to the current perspective, click Window > Show View > Tasks.
Tasks and markers
There are various types of markers including bookmarks, task markers, debugging breakpoints and problems. This section will focus on tasks and the Tasks view.
The Tasks view displays all the tasks in the Workbench. The view displays:
tasks associated with specific files
tasks associated with specific lines in specific files
generic tasks that are not associated with any specific file
In the figure below "Sample task" is a generic task not associated with any specific resource. The second task ("Task without line") is associated with the file Transaction.java. The third task ("Add JavaDoc comment") is associated with the file Transaction.java, line 29.
Problems view
If any errors are detected, an error or warning message is logged in the Problems view. These messages cannot be removed manually. Once the problem is fixed that caused the messages to be generated, the messages are automatically removed.
You can, however, use the Filter Tasks wizard to temporarily filter out any messages in the Problems view until you can fix the associated problems. To open the Filter Tasks wizard, click the Filters icon in the title bar of the Problems view.
Alternatively, if you do not want to see any problems detected by a particular validator, on a particular project, you can disable the validator in the project's Properties page. When a validator is disabled, all messages from that validator are removed.
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() |