Markers are objects that may be associated with Workbench resources.
There are many uses of markers in the Workbench. The three main uses of
markers in the Workbench are:
Markers are shown in a marker view (Tasks, Problems or Bookmark
view) or on the marker bar in the editor area.
The following sections give more detail on each of these marker
A task marker represents a work item. There are two kinds of
- Automatically-generated information associated with the
- User specified tasks that may or may not be associated with
Both of these task types appear in the Tasks view.
Problem markers represent invalid states and are
categorized as follows..
Errors: Error markers are often used
to indicate the source location of syntax or compilation errors.
Warnings: Warning markers indicate
the source location of, for example, compilation warnings.
Information: Information markers indicate
the source location of information only tasks.
Problems are shown in the Problems view.
Bookmarks place an anchor either at a specific line
in a resource or on the resource itself. They are shown in the Bookmarks view.
Creating a bookmark within a file
Creating a bookmark for an entire file