Versions Compared

Key

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

...

Developers who have used Eclipse for years may have built some strong expectations as to how an IDE has to behave and especially format code. In particular, you may be used to have having the IDE to save files automatically or to have tabs used instead of spaces or extra blank lines removed before a closing bracket.

...


 
Of particular relevance are the code style settings available for the Java language. Settings are grouped in different categories in Eclipse and IntelliJ IDEA. However as the next two screenshots show, categories address nearly the same set of parameters.

...

  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 IntelliJ 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 IDEA with the same code style they were used to in Eclipse. Second, it helps maintaining a common coding style in collaborative environments where both IntelliJ IDEA and Eclipse are used.

...