This intention changes the setting
Editor -> Code Style -> Kotlin -> Wrapping and Braces -> Use trailing comma
.