Is there a hot key or easy way to replace an if-else if statement with a switch in IntelliJ? I would prefer not to manually convert the if-else if statement to a switch. I
Android studio (intelliJ idea):
Put your cursor on the switch/if statement and:
switch
if
mac: option + return
win: alt + enter