IntelliJ IDEA 12.1.0 Web Help

8.0+
Some features described here are available in 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
  1. In the editor, place the caret at the event type value in the @Observer annotation.
  2. Press Ctrl+Alt+F7Ctrl+Alt+7Ctrl+Alt+7Ctrl+Alt+7Ctrl+Alt+F7Ctrl+Alt+F7Ctrl+Alt+F7Ctrl+Alt+F7Ctrl+Alt+F7Meta Alt F7Meta Alt F7Meta Alt F7, or choose Edit | Find | Show Usages on the main menu.
  3. From the suggestion list, select the desired destination.

    SeamGotoEvent.png

    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:

    SeamGotoEvent2.png

    Tip

    If an event is defined in the components.xml file, same kind of navigation is also available for it.

See Also

Concepts:

Procedures:

External Links:

Web Resources: