DTOnator
DTOnator copied to clipboard
[Feature Request] Annotations on same line as property
Say we have the following:
data class User(
@SerializedName("name")
val name: String,
@SerializedName("age")
val age: Int,
@SerializedName("email")
val email: String,
@SerializedName("color")
val color: String
)
IMO, this is quite long. I would love it if there was an option to have the @SerializedName
annotation on the same line as the property, like the following:
data class User(
@SerializedName("name") val name: String,
@SerializedName("age") val age: Int,
@SerializedName("email") val email: String,
@SerializedName("color") val color: String
)
Thanks in advance!
Hey, this has nothing to do with the plugin! How the code is formatted depends on the code formatting setting of your IDE. Change your code formatting settings it will just work