I configure indent here as 4 spaces,When I execute the formatKotlin task, they are formatted into 2 space,I'm using kotlinter in an android project, I don't know if that makes a difference
Sorry, after my test I think this is a problem with Android Studio, I was using Android Studio Giraffe | 2022.3.1 Beta 2 before, when I changed to Android Studio Hedgehog | 2023.1.1 Canary 3 this problem was solved
kolinter:3.14.0 kotlin:1.8.21 gradle:7.5
My .editorconfig file is as follows
I configure indent here as 4 spaces,When I execute the formatKotlin task, they are formatted into 2 space,I'm using kotlinter in an android project, I don't know if that makes a difference