Skip to content

Latest commit

 

History

History
29 lines (20 loc) · 1.26 KB

ij-win-lin-go-to-last-edit-location.md

File metadata and controls

29 lines (20 loc) · 1.26 KB

Top => IntelliJ on Windows/Linux

JetBrains IntelliJ IDEA on Windows/Linux

Kata for practicing keyboard shortcuts for common editing operations

Kata: Go to last edit location

Key sequences to practice

  • (Ctrl + Shift + Backspace) - move caret to the previous point where you made an edit (not necessarily in the same file)

Walkthrough of steps with explanations

  1. Open the file, rain-in-spain.txt.
  2. Open the Java source file, CodeCompletionPractice.java.
  3. Open the Java source file, LongConditional.java.
  4. Make a minor edit in LongConditional.java.
  5. In another part of the file, make another minor edit in LongConditional.java.
  6. Make a minor edit in CodeCompletionPractice.java.
  7. Make a minor edit in rain-in-spain.txt.
  8. Press (Ctrl + Shift + Backspace) to return to the point in CodeCompletionPractice.java where you made the edit.
  9. Press (Ctrl + Shift + Backspace) to return to the point of the second edit in LongConditional.java.
  10. Press (Ctrl + Shift + Backspace) to return to the point of the first edit in LongConditional.java.
  11. Press (Ctrl + Shift + Backspace) to return to the point of the edit in CodeCompletionPractice.java.

And then to revert:

  1. Press (Ctrl + Z) repeatedly to undo changes in each file.