Kata for practicing keyboard shortcuts for common editing operations
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
-
Open the Java source file, MomSender.java.
-
Position the caret on the SendStatus class name.
-
Press ⌘B (Command + B) to go to the declaration of SendStatus.
-
Open the Java source file, Sender.java.
-
Position the caret on the send() method.
-
Press ⌘⌥B (Command + Option + B) to display a list of implementations of the send() method.
-
Choose one from the list to go there.