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.

Interested in JVM Development?

call to action image

You can add call arguments the same way!

Learn More


Related Resources

Create an Editor Fold
Create an Editor Fold
Create an editor fold to hide parts of your class which can make it more readable.
Extend Selection
Extend Selection
Extend and shrink your current code selection.
Clipboard History
Clipboard History
Paste a subset or multiple entries such as a list from your recent copy history.