Using Mark Occurrences

The Mark Occurrences feature allows you to see where a variable, method or type is referenced within the active PHP file.

 

 

Instructions on how to complete a procedure

To use Mark Occurrences:

  1. Enable the Mark Occurrences feature by clicking the Mark Occurrences icon on the toolbar mark_occurrences_icon.png -or- pressing Alt+Shift+O.
    When the Mark Occurrences feature is enabled, the icon will be highlighted.

  2. Place your cursor on the required element in your file.

Mark Occurrences Example

All instances where the element is referenced within the file will be highlighted and annotations will be displayed in the annotation bar.

Note:

See Mark Occurrences Preferences for information on configuring your Mark Occurrences settings.

 

 

link_icon.png

Related Links:

Mark Occurrences
Mark Occurrences Preferences