Skip to content

Latest commit

 

History

History
24 lines (13 loc) · 743 Bytes

ij-win-lin-extend-shrink.md

File metadata and controls

24 lines (13 loc) · 743 Bytes

Top => IntelliJ on Windows/Linux

IntelliJ IDEA on Windows/Linux: Extend/shrink selection

Practice keyboard shortcuts to extend and shrink selected text while editing a Java source file.

Kata: Extend/shrink selection

Key sequences to practice:

  • (Ctrl + W) - extend selection (when something is selected)
  • (Ctrl + Shift + W) - shrink selection

Steps

  1. Open the file src/main/java/com/neopragma/idekatas/LongConditional.java
  2. Select a single token anywhere in the source file.
  3. Press (Ctrl + W) repeatedly and watch the selection expand to larger scopes.
  4. Press (Ctrl + Shift + W) repeatedly and watch the selection shrink back down to the originally-selected token.
  5. Repeat until bored.