Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

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

span
classshortcut
File →  Export Settings
and select Code style schemes. Image Added
To import a previously saved settings file you select
span
classshortcut
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.

...

  1. 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.
  2. 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.

...