Chapter 19. Show Usages, Readers or Writers
To search where a function, variable, class, module or any other entity is used,
hover over it's name while holding down the Ctrl key and select Show Usages.
For variables, ports or parameters, you also have the option to
Show Readers or
Show Writers.
The results are presented in the
Search View.
For variables, ports or parameters, matches are decorated to indicate the access type:
read,
write or
read/write (for example
i++).
Tip: You can also place the editor cursor on the identifier, right click and choose
Show > Usages.
Tip: When searching for usages of a virtual function, by default you also see the usages of functions overriden by it.
You may choose to hide such matches using the
Hide References to Overridden filter.
Tip: When searching for usages of a class field whose enclosing scope is a specialized class, the usages of different specialization are not shown.
Check
All specializations filter to see all usages, regardless of their specialization.
The same applies for functions or tasks and its arguments.
Tip: When searching for usages of a class field, calls to the field's getter and setter functions are also shown.
Getter and setter functions are within the class or any of its children and have a single statement inside their body:
You may choose to hide such matches using the
Hide References to Getter/Setter filter.
Tip: You can also search for references from the
Search Dialog (Ctrl+H)
.