Mark Occurrences Preferences

The Mark Occurrences Preferences page allows you to configure for which types of elements the Mark Occurrences feature will be enabled.

The Mark Occurrences Preferences page is accessed from Window | Preferences | PHP | Editor | Mark Occurrences .

mark_occurrences_preferences.png

To configure Mark Occurrences preferences:

  1. Mark the 'Mark occurrences of the selected element in the current file' checkbox to enable the Mark Occurrences functionality.
  2. Configure the elements for which the Mark Occurrences feature will be enabled by marking the relevant checkboxes. The options are:
  3. Mark the 'Keep marks when the selection changes' checkbox for marks to continue to be displayed once the cursor has been moved from the selected element.
  4. Click Apply to apply your changes.

The appearance of the Mark Occurrences annotations which appear in the vertical ruler (to the left of the editor) and the annotation bar (to the right of the editor) can be configured in the Annotations preferences page (Window | Preferences | General | Editors | Text Editors | Annotations) by selecting PHP elements 'read' or 'write' occurrences.

mark_occurrences_annotations_preferences.png