Multiple templates with concatenation generator should add spaces after commas (KT-27954)
This commit is contained in:
@@ -94,7 +94,7 @@ class KotlinGenerateToStringAction : KotlinGenerateMemberActionBase<KotlinGenera
|
|||||||
val ref = (DescriptorToSourceUtilsIde.getAnyDeclaration(info.project, it) as PsiNameIdentifierOwner).nameIdentifier!!.text
|
val ref = (DescriptorToSourceUtilsIde.getAnyDeclaration(info.project, it) as PsiNameIdentifierOwner).nameIdentifier!!.text
|
||||||
append("\"$ref=${renderVariableValue(it, ref)}")
|
append("\"$ref=${renderVariableValue(it, ref)}")
|
||||||
if (varIterator.hasNext()) {
|
if (varIterator.hasNext()) {
|
||||||
append(',')
|
append(", ")
|
||||||
}
|
}
|
||||||
append("\" +\n")
|
append("\" +\n")
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user