Join Slack
Communities
Powered by
Do we anything equilavent to scala fmt for Kotlin....
# announcements
a
Ashish Kumar Joy
04/09/2020, 2:54 PM
Do we anything equilavent to scala fmt for Kotlin.
https://scalameta.org/scalafmt/
z
Zach Klippenstein (he/him) [MOD]
04/09/2020, 2:57 PM
There's a few options, ktlint (see
#CKS3XG0LS
) is probably the most popular one
https://github.com/pinterest/ktlint
a
Ashish Kumar Joy
04/09/2020, 2:57 PM
Thanks
@Zach Klippenstein (he/him) [MOD]
z
Zach Klippenstein (he/him) [MOD]
04/09/2020, 2:57 PM
Facebook also has something:
https://github.com/facebookincubator/ktfmt
m
Mike
04/09/2020, 3:12 PM
If you use IJ, it has the Kotlin coding conventions built into the formatter. And you can have it format files before commit, assuming you use it for commits.
2
Views
Open in Slack
Previous
Next