In this tip, I want to show you how to format your Android project with the Kotlinter.
👌🏼👌🏼👌🏼
https://github.com/jeremymailen/kotli...
It will help you save your time to format by hotkeys:
Window: CTRL+ALT+L
MacOSX: Command+Option+L.
After you follow the instruction then you will see the task foramtKotlin in Gradle. Otherwise, you can run from the command line to format your code:
OSX: ./gradlew formatKotlin
Window: gradlew formatKotlin.
I hope this video is helpful to you.
👍👍👍
#vietandroiddevelopers #android #kotlin