Annotations are marks that indicate attributes of a line in the Source Editor. Examples of annotation types are breakpoints, bookmarks, the program counter, build errors, and so on. Some annotations apply to only parts of a line.
Annotations are indicated by highlighted lines, glyphs in the gray left margin of the Source Editor window, or both. This left margin is called the glyph margin, and can optionally also include line numbers.
The tooltips of annotation glyphs describe at least the annotation type, and sometimes other related information. For example, the tooltip for the Build Errors glyph describes the build error.
To view the possible annotations for the modules in your IDE:
To toggle breakpoints, line numbers, and bookmarks in the glyph margin:
![]() |
If the glyph margin is not currently displayed, you can access the same contextual menu options by right-clicking in the Source Editor window and choosing from the Margin submenu. |
If there are multiple annotations on one line, only one glyph is displayed in the glyph margin. You can cycle through multiple glyphs to display them one at a time.
To cycle through multiple annotations on one line:
This image appears in the glyph margin when there are multiple annotations on a single line that cannot be combined into one glyph. The tooltip for the image tells you how many annotations exist for the current line.
You can set annotation properties to customize how multiple annotations are presented in the IDE. You can display some annotations on the background of the Source Editor window. You can also specify whether to combine some annotation glyphs into a single glyph.
See also | |
---|---|
Annotation Properties
Displaying Line Numbers Using Bookmarks Debugger Interactions With the Source Editor |