niompm.blogg.se

Kotlin github
Kotlin github




kotlin github kotlin github

Presented when you first open a project offering to do this for you.) To File→Settings.→ktfmt Settings (or IntelliJ IDEA→Preferences.→Editor→ktfmt Settings on macOS) andĬheck the Enable ktfmt checkbox. Click the Marketplace tab, searchįor the ktfmt plugin, and click the Install button. Settings and select the Plugins category.

kotlin github

Using the formatter IntelliJ, Android Studio, and other JetBrains IDEs Demo Before Formattingįor comparison, the same code formatted by ktlint and IntelliJ: Formatted by ktlint The minimum supported runtime version is JDK 11, released September 2018. Note that ktfmt still has some rough edges which we're constantly working on fixing. Ktfmt is a program that pretty-prints (formats) Kotlin code, based on google-java-format.






Kotlin github