# Mark Occurrences

Indicate your preferences for the Mark Occurrences settings on the C/C++ > 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, function, method, type, macro or other element is referenced. | On

Coding aids

Customizing the C/C++ editor

C/C++ editor preferences