diff options
author | Javier Segovia Córdoba <javier@segoviacordoba.com> | 2021-03-11 07:12:14 -0800 |
---|---|---|
committer | Facebook GitHub Bot <facebook-github-bot@users.noreply.github.com> | 2021-03-11 07:15:56 -0800 |
commit | cc7b3eafef839ea2b895ba34e6b8f667f47e46c1 (patch) | |
tree | 3be11332ad5a4ef80ba800d3d86a21b5f217a99b /README.md | |
parent | c802871081764af1d54cc49613f490cb6f312e37 (diff) | |
download | ktfmt-cc7b3eafef839ea2b895ba34e6b8f667f47e46c1.tar.gz |
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
Diffstat (limited to 'README.md')
-rw-r--r-- | README.md | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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. |