Kotlin code auto format


#1

Is there a way to automatically format kotlin code (e.g. fix indentation)?


#2

IntelliJ IDEA has action for it: Code -> Reformat Code... (Ctrl+Alt+L / Cmd+Alt+L) It works not only for Kotlin, but also for any language supported by the IDE.


#3

10x!