Put constructor parameters on new lines
Closed this issue · 1 comments
panpanini commented
To aid readability, put all constructor parameters on a new line. Ideally the output should look like:
data class Thing(
@JvmField
val id: String = "",
@JvmField
val version: Int = 0,
val unknownFields: Map<Int, UnknownField> = emptyMap()
) : Message<Thing>, Serializable {
...
}
panpanini commented
This will automatically happen when the parameter count > 2, however we can not manually control it with the current version of KotlinPoet