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 Java Development?

call to action image

You can add call arguments the same way!

Learn More


Related Resources

Kotlin Code Completion
Kotlin Code Completion
Use code and statement completion to write code faster.
Put Kotlin Arguments on Separate Lines
Put Kotlin Arguments on Separate Lines
Use quick intentions to improve the readability of your code by putting arguments on separate lines.
Add Names to Call Arguments in Kotlin
Add Names to Call Arguments in Kotlin
Use quick intentions to add names to call arguments.