Skip to content

IDE settings

Presuming the IDE is IntelliJ IDEA or PyCharm, consider applying the linter style to it.

Ktlint Style

Explained in Ktlint IntelliJ IDEA Configuration, using standard Kotlin coding conventions is enough:

  • In File > Settings > Editor > Code Style > Kotlin, set from Kotlin style guide.
  • Append kotlin.code.style=official to root gradle.properties.

Google Java Style

Explained in Google Java Format: