GreyhairRedbear
09/19/2024, 7:16 PMreturn code.replaceRange(
        importList.startOffset,
        importList.endOffset,                   importsWithComments.joinToString(separator = "\n") { imprt -> imprt.text } + "\n")
 (Sorry if the formatting is messed up there, currently on mobile)
Adding \n  instead of something like System.lineSeparator() seems a bit suspicious to me.