Factsheet
coding style - How to format java code based on .editorConfig file? - Stack Overflow
Declaring code style settings in a Java project - Software Engineering Stack Exchange
Editorconfig on IntelliJ for Java projects
Codestyle and formatters
Unfortunately, the editorconfig-maven-plugin doesn't support Java at the moment: for now the plugin has support to enforce coding style rules for other languages such as XML and YAML.
There are different Maven plugins that support Java linting, like the maven-checkstyle-plugin or the PMD plugin.
If you're looking for a tool to handle Java formatting based on .editorConfig, there are several options:
Eclipse IDE along with the Eclipse Code Formatter plugin.
IntelliJ IDEA IDE with the
EditorConfigpluginseparate command-line tools such as the
JHipstercode generator or theJalopycode formatter. These tools can be easily integrated into Maven build process to automatically format Java code based on the.editorConfigrules.
have you tried "Adapter for Eclipse Code Formatter"? You can export warps
https://plugins.jetbrains.com/plugin/6546-adapter-for-eclipse-code-formatter
Than use export with formatter-maven-plugin https://code.revelc.net/formatter-maven-plugin/examples.html#custom-configuration-file

Maybe "Save Actions" helps to achieve your goals earlier in the development process.
https://plugins.jetbrains.com/plugin/7642-save-actions
Hi,
I just got familiar with editorconfig and I am trying to make a good configuration file that I am going to use in multiple java projects.
I saw that IntelliJ has it's own properties and quite a big list, which is great, but I can't seem to find any explanation for all these properties.
Can someone point a documentation link or something that will help me with this.
Thanks