Skip to content

Latest commit

 

History

History
24 lines (15 loc) · 884 Bytes

ij-osx-go-to-declaration.md

File metadata and controls

24 lines (15 loc) · 884 Bytes

Top => IntelliJ on OS X

JetBrains IntelliJ IDEA on Mac OS X

Kata for practicing keyboard shortcuts for common editing operations

Kata: Go to declaration, go to implementation(s)

Key sequences to practice

  • ⌘B (Command + B) - go to the declaration of the reference where the caret is positioned
  • ⌘⌥B (Command + Option + B) - show the implementations of the reference where the caret is positioned

Walkthrough of steps with explanations

  1. Open the Java source file, MomSender.java.

  2. Position the caret on the SendStatus class name.

  3. Press ⌘B (Command + B) to go to the declaration of SendStatus.

  4. Open the Java source file, Sender.java.

  5. Position the caret on the send() method.

  6. Press ⌘⌥B (Command + Option + B) to display a list of implementations of the send() method.

  7. Choose one from the list to go there.