Add Remaining Branches in Kotlin

Use quick intentions to generate code automatically and save you typing.

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
Clipboard History
Paste a subset or multiple entries such as a list from your recent copy history.
Extend Selection
Extend Selection
Extend and shrink your current code selection.
New Line
New Line
Start a new line below or above your current line with the correct indentation.