From cc7b3eafef839ea2b895ba34e6b8f667f47e46c1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Javier=20Segovia=20C=C3=B3rdoba?= Date: Thu, 11 Mar 2021 07:12:14 -0800 Subject: Add an `.editorconfig` file per style (#187) Summary: I would ask for help from the community so we can fix all styles by updating this PR. Currently, all styles are using the same base file provided by sgrimm, the only changes among them are the properties `indent_size` and `ij_continuation_indent_size` (and a few properties related to avoiding wildcard imports), but I think there are more properties that should be updated/added/removed. Pull Request resolved: https://github.com/facebookincubator/ktfmt/pull/187 Reviewed By: hick209 Differential Revision: D26973226 Pulled By: cgrushko fbshipit-source-id: 1ed9ae0c194828798a5dd0b59a8730cd6b9793d8 --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'README.md') diff --git a/README.md b/README.md index d111ff7..20c75cf 100644 --- a/README.md +++ b/README.md @@ -45,8 +45,8 @@ shortcut. To configure IntelliJ to approximate ktfmt's formatting rules during code editing, you can edit your project's [`.editorconfig` file](https://www.jetbrains.com/help/idea/configuring-code-style.html#editorconfig) -to include the Kotlin section from -[`docs/editorconfig-section.txt`](docs/editorconfig-section.txt). +to include the Kotlin section from one of the files inside +[`docs/editorconfig`](docs/editorconfig). Not all of ktfmt's rules can be represented as IntelliJ editor settings, so you will still need to run ktfmt. Alternately, that file can be used as a reference to manually change the project's code style settings. -- cgit v1.2.3