Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Migrated to Confluence 4.0

...

Although through different user interfaces, Eclipse and IntelliJ IDEA offer nearly the same set of coding styles for you to configure. Configuration takes place from the

File →  Settings
span
classshortcut
Wiki Markup
{span:class=shortcut}File →  Settings{span}
dialog box after selecting the Code Style node. You have styles grouped in various categories: General, Java, Groovy, HTML and XML.

...

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 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
span
classshortcut
Wiki Markup
{span:class=shortcut}File →  Export Settings{span}
and select Code style schemes.

...

To import a previously saved settings file you select

File →  Import Settings
span
classshortcut
Wiki Markup
{span:class=shortcut}File →  Import Settings{span}
.
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.

...