https://kotlinlang.org logo
#android-studio
Title
# android-studio
g

Geert

10/28/2023, 10:27 PM
Is there a way to auto indent toml files on the longest name on the =? in Anroid Studio? I want it like this:
Copy code
[libraries]
hilt                                = { module = "com.google.dagger:hilt-android", version.ref = "hilt" }
kotlin-coroutines                   = { module = "org.jetbrains.kotlinx:kotlinx-coroutines-android", version.ref = "kotlin-coroutines" }
retrofit                            = { module = "com.squareup.retrofit2:retrofit", version.ref = "retrofit" }
room                                = { module = "androidx.room:room-runtime", version.ref = "room" }
But when I press CMD SHIFT L it goes to:
Copy code
[libraries]
hilt = { module = "com.google.dagger:hilt-android", version.ref = "hilt" }
kotlin-coroutines = { module = "org.jetbrains.kotlinx:kotlinx-coroutines-android", version.ref = "kotlin-coroutines" }
retrofit = { module = "com.squareup.retrofit2:retrofit", version.ref = "retrofit" }
room = { module = "androidx.room:room-runtime", version.ref = "room" }
I have been searching google but cant find anything