Top => IntelliJ on Windows/Linux
Practice keyboard shortcuts to extend and shrink selected text while editing a Java source file.
Key sequences to practice:
- (Ctrl + W) - extend selection (when something is selected)
- (Ctrl + Shift + W) - shrink selection
Steps
- Open the file src/main/java/com/neopragma/idekatas/LongConditional.java
- Select a single token anywhere in the source file.
- Press (Ctrl + W) repeatedly and watch the selection expand to larger scopes.
- Press (Ctrl + Shift + W) repeatedly and watch the selection shrink back down to the originally-selected token.
- Repeat until bored.