Add Remaining Branches in Kotlin

Use quick intentions to generate code automatically

When a Kotlin expression requires us to cover all the possible options for a parameter, we can use ⌥⏎ (macOS) / Alt+Enter (Windows/Linux), to generate all the branches automatically.


Related Resources

Clipboard history
Paste a subset or multiple entries from your recent history
Extend Selection
Extend and shrink selection
Move Line
Start a new line below or above your current line with the correct indentation.