Any easy way to maintain one formatter config file for Eclipse and IntelliJ

Viewed 661

In our team, we use both Intellij and Eclipse. Currently, we are maintaining a eclipse xml file for formatter and using Eclipse Code Formatter in IntelliJ to import it. But one of the issue that I am facing with this approach is, if as a IntelliJ user, I have to make any rule change in formatter, then I can't export the eclipse file from IntelliJ directly. This becomes a problem when we are trying to get into a common standard as a team as every time, I have to make any change, I have to use Eclipse for it.

Any way out for this? Also, I feel there should be one common config file which both can use and export as well. But I can't find any.

0 Answers
Related