Is there a go-to way of doing automatic file forma...
# announcements
r
Is there a go-to way of doing automatic file formatting on save for Kotin in IntelliJ or android studio? I’m sure I could wrangle a custom file watcher but I’m curious if there’s a more standard tool like Prettier in the JS/TS world out there that takes care of it.
c
i do it on commit
j
we use Save Actions intellij plugin + ktlint/detekt auto-format on build
👍 1
g
We also use Save Actions and we like it.
w
I had some issues with Save Actions so I bound
cmd + s
to a custom macro which runs reformatting and then saving commands. I don’t recall what it was with Save Actions though