Skip to content

Latest commit

 

History

History
25 lines (13 loc) · 748 Bytes

ij-osx-extend-shrink.md

File metadata and controls

25 lines (13 loc) · 748 Bytes

Top => IntelliJ on OS X

IntelliJ IDEA on Mac OSX: 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:

  • ⌥↑ (Option + Up Arrow) - extend selection
  • ⌥↓ (Option + Down Arrow) - 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 ⌥↑ (Option + Up Arrow) repeatedly and watch the selection expand to larger scopes.
  4. Press ⌥↓ (Option + Down Arrow) repeatedly and watch the selection shrink back down to the originally-selected token.
  5. Repeat until bored.