Format kotlin with kotlinter - How to add kotlinter Gradle plugin to your project 😀

Опубликовано: 25 Июль 2020
на канале: Viet Android Devs
4,360
9

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