On this page:

Overview

You can export an IntelliJ IDEA project to Eclipse. Such export results in creating Eclipse project files (.project and .classpath) for each module file (*.iml) in the module directory that contains the content root. Another way to export an IntelliJ IDEA module to an Eclipse project is converting such module to an Eclipse-compatible format.

Before you start exporting a project, make sure that the Eclipse Integration plugin is enabled.

Exporting to eclipse

To export the currently open project to eclipse, follow these steps:
  1. On the main menu, choose File | Export to Eclipse. The Export to Eclipse dialog displays the list of modules that have not been converted and switched to use the Eclipse format yet (the modules that have the IntelliJ IDEA module format .iml).
  2. Select the modules you want to export.
  3. Select the suggested options if necessary.
  4. Click OK.

At present, migration from IntelliJ IDEA to Eclipse is subject to certain limitations:

  • IntelliJ IDEA modules with multiple content roots cannot not be migrated.
  • External sources in Eclipse are not migrated.
  • Only Java modules are created automatically during the export. However, any module can be converted to the Eclipse compatible format manually.
  • The default workspace JRE is not converted to/from the project SDK.

Converting an intellij idea module to the eclipse-compatible format

To convert an intellij idea module to the eclipse-compatible format, follow these steps:
  1. On the main menu, choose File | Project Structure, or press ⌘;⌘;⌘;^ ⇧ ⌥ S^ ⇧ ⌥ S.
  2. In the Project Structure Dialog dialog, select the module you want to convert.
  3. Switch to the Dependencies Tab tab.
  4. From the Dependencies storage format drop-down list, select Eclipse (.classpath).