Import code style formatting settings in eclipse from intellij-idea

I recently implemented the maven Check styling style in my project and changed all the Formater settings in intellij (what I use) to fit this style guide (which they now do).

However, I need to create an .xml settings file for eclipse so that my colleagues can automatically format the code there so that it also matches this style guide.

The problem I find is that I see no way to export settings from intellij and import them into eclipse. and I cannot manually configure eclipse to match the nuances of the new style guide (the main issue is the indentation of the continuation).

Any help or ideas would be fantastic. :)

+5
source share
1 answer

You can export the settings to Intellij by clicking File> Export Options, but they will be in .jar format.

According to this thread, there is no easy way to import settings.jar into eclipse.

Eclipse - import code format settings

Hope this helps :)

+2
source

Source: https://habr.com/ru/post/1246488/


All Articles