# Mark Occurrences Preferences

Indicate your preferences for the Mark Occurrences settings on the Java > Editor > Mark Occurrences preference page.

Option | Description | Default
--- | --- | ---
Mark occurrences of the selected element in the current file | If enabled, then you'll see within a file, where a variable, method, type or other element is referenced. | On

A list of elements can be enabled and disabled on this preference page. All are enabled by default.

### Related references

Java Editor preference page