IntelliJ IDEA 11.1 Web Help

IntelliJ IDEA enables you to import an existing Eclipse project. So doing, the projects in IntelliJ IDEA and Eclipse can be automatically kept in sync, which is specially helpful for the teams where different IDEs are in use.

Tip

When importing a project from an Eclipse workspace, mind the difference between IntelliJ IDEA and Eclipse terminology.

There are two ways to import an Eclipse project:

To import an existing Eclipse projects to IntelliJ IDEA
  1. Open the New Project Wizard.
  2. Having selected the option Import project from external model, click Next.
  3. On the Import page of the New Project Wizard, select Eclipse. Optionally, check the option Import into current project. Click Next.
  4. On the next page of the wizard, specify the directory, that contains the desired Eclipse workspace. In the section IntelliJ IDEA project and module file location, specify whether you want to create IntelliJ IDEA module files in the same directory where the Eclipse projects reside, or in a dedicated directory of your choice.

    Check the option Link created IntelliJ IDEA modules to Eclipse project files to automatically synchronize the Eclipse projects and IntelliJ IDEA modules.

    Specify whether you want test sources to be imported.

    Click Next. IntelliJ IDEA scans the specified workspace for projects.

  5. On the next page of the wizard, select the Eclipse projects you want to import. So doing, each Eclipse project is converted to a separate IntelliJ IDEA module. Click Next.
  6. Specify the name for the new IntelliJ IDEA project, and the location of the project files. Select also the format in which the project will be stored.
  7. Click Finish.
To import an Eclipse project with the default settings
  1. On the main menu, choose File | Open Project.
  2. In the Open Project dialog, navigate to the desired .classpath or .project file, and click OK. So doing, import is performed automatically, with the default settings, and IntelliJ IDEA project is created.

See Also

Concepts:

Procedures:

Reference:

Web Resources: