diff --git a/README.md b/README.md index dcc3aac..05b1d39 100644 --- a/README.md +++ b/README.md @@ -3,11 +3,19 @@ Java Code Styles IntelliJ IDEA code style settings for Square's Java and Android projects. +Deprecated +---------- + +These code styles aren't maintained anymore. Block / Square has adopted +[ktfmt](https://github.com/facebook/ktfmt) with its code style. +[`.editorconfig`](https://spec.editorconfig.org/index.html) files are a better alternative to share +code styles and are supported in Jetbrains IDEs. + Installation ------------ - * Run the `install.sh` script. + * On Unix, run the `install.sh` script. Windows users should use `install.bat` instead. * Restart IntelliJ if it's running. * Open IntelliJ Project Settings -> Code Styles, change the code style for the project to the one you want. diff --git a/configs/codestyles/Square.xml b/configs/codestyles/Square.xml index 0d5bd27..ebee07c 100644 --- a/configs/codestyles/Square.xml +++ b/configs/codestyles/Square.xml @@ -70,6 +70,16 @@ + + + + + + + +