Я использую плагин Spotless Gradle для обеспечения согласованного форматирования кода Java в моем приложении. Соответствующие записи в build.gradle:
build.gradle
plugins { id "com.diffplug.gradle.spotless" version "3.27.0" } spotless { java { // The available versions of the Eclipse JDT formatter are defined here // https://github.com/diffplug/spotless/tree/master/lib-extra/src/main/resources/com/diffplug/spotless/extra/eclipse_jdt_formatter eclipse('4.13.0') indentWithSpaces() removeUnusedImports() } }
Можно ли как-то настроить IntelliJ для использования тех же настроек форматирования?