Navigating Between an Observer and an Event
This feature is supported in the Ultimate edition only.
If a method is marked as an observer of a certain event type, you can jump to a method where this event is raised, using the Show Usages command.
To navigate from an observer to an event to be observed
- In the editor, place the caret at the event type value in the @Observer annotation.
- Press Ctrl+Alt+F7, or choose on the main menu.
- From the suggestion list, select the desired destination. The class containing the method that raises the event in question, is opened in a separate tab, the caret resting at the event type value:
Last modified: 29 November 2017