Finding pieces of code that are annotated in a certain way can be challenging in many IDEs. In Pharo, this is fairly straightforward using GTSpotter.
For example, how can we find all methods annotated with <menu>
?
Spawn Spotter, and type menu #pr
. This will search for menu and show only the results from categories starting with pr
(from Pragmas).
Then simply dive in (Cmd+RightArrow) the menu Pragma to find the concrete users.