Brais Gabin
08/21/2022, 3:55 PM.trimMargin()
after a KtStringTemplateExpression
but I don’t know how to manipulate the psi to do that. I tried to find an example in the ktlint code base but the ones that I find doesn’t work for my use case.Brais Gabin
08/21/2022, 3:55 PMexpression.addAfter(LeafPsiElement(ElementType.IDENTIFIER, ".trimIndent()"), expression)
Paul Dingemans
08/21/2022, 4:51 PMBrais Gabin
08/21/2022, 4:55 PM