diff --git a/README.md b/README.md index aa722cb8ed..a4d97c03ad 100644 --- a/README.md +++ b/README.md @@ -263,6 +263,9 @@ Go to File -> Settings... -> Editor - check `Optimize imports on the fly (for current project)`. - Code Style -> Kotlin - Set from... -> Predefined style -> Kotlin style guide (Kotlin plugin 1.2.20+). + - open Code Generation tab + - uncheck `Line comment at first column`; + - select `Add a space at comment start`. - open Imports tab - select `Use single name import` (all of them); - remove `import java.util.*` from `Packages to Use Import with '*'`. diff --git a/ktlint/src/main/resources/config/codestyles/ktlint.xml b/ktlint/src/main/resources/config/codestyles/ktlint.xml index e73bb3bae6..820c15be19 100644 --- a/ktlint/src/main/resources/config/codestyles/ktlint.xml +++ b/ktlint/src/main/resources/config/codestyles/ktlint.xml @@ -15,6 +15,8 @@