Skip to content

Latest commit

 

History

History
24 lines (15 loc) · 858 Bytes

ij-win-lin-go-to-declaration.md

File metadata and controls

24 lines (15 loc) · 858 Bytes

Top => IntelliJ on Windows/Linux

JetBrains IntelliJ IDEA on Windows/Linux

Kata for practicing keyboard shortcuts for common editing operations

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

Key sequences to practice

  • (Ctrl + B) - go to the declaration of the reference where the caret is positioned
  • (Ctrl + Alt + 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 (Ctrl + 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 (Ctrl + Alt + B) to display a list of implementations of the send() method.

  7. Choose one from the list to go there.