Both Eclipse and IntelliJ IDEA let you save all settings to a file. A settings file can then be imported later into another instance of the IDE. Note, though, that Eclipse has a direct Expor Export button to export code styles. In IntelliJ IDEA, instead, you export and import all IDE settings, including code style schemes. You select
|File → Export Settings|
To import a previously saved settings file you select
|File → Import Settings|
IntelliJ IDEA allows to export and import IDE settings so that all users on a team can share the same settings, but this doesn't solve the problem of teaching IntelliJ IDEA to apply the settings in use in Eclipse.
- A developer on the team takes the burden of configuring his own instance of IntelliJ IDEA based on whatever collection of settings the team agrees on---including the common settings of Eclipse.
- You can install the following IDEA plug-in: http://plugins.jetbrains.com/plugin/?id=6546. The plug-in lets you use the Eclipse's code formatter directly from IntelliJ. In doing so, it solves two problems at the same time. First, it lets developers to work in IntelliJ with the same code style they were used to in Eclipse. Second, it helps maintaining a common coding style in collaborative environments where both IDEA and Eclipse are used.