How to import Eclipse projects to IntelliJ IDEA?

2019-01-14 14:49发布

问题:

I want to import my Eclipse projects into IntelliJ IDEA, so I went to the IntelliJ IDEA help page:

If no project is currently open in IntelliJ IDEA, click Import Project on the Welcome screen. Otherwise, select File | Import Project.

Problem is there is no Import Project option on the welcome screen and there is no Import Project option in the file menu.

Any ideas how to do this?

I checked for updates and it's telling me my 11.1.3 version is the latest, even though the help page has 12.0 in the title bar.

回答1:

In IntelliJ IDEA 11.1 you can find the import option in the New Project dialog. You can find it at File | New Project.



回答2:

In IntelliJ IDEA 14.1.4 you can import a project with the following existing sources:

  • Eclipse project (.project) or classpath (.classpath) file
  • Maven project file (pom.xml)
  • Bnd/Bndtools workspace (workspace/cnf)
  • Flash Builder project file (.project, *.fxp, *.fxpl)
  • Gradle build script (*.gradle)

Go to FileNewProject from Existing Sources… and a dialog will open that allows you to open one of the supported files or directories.



回答3:

In IntelliJ IDEA 11 you should use File | New Project, Import project from external model.

Also check that Eclipse plug-in is enabled in Settings | Plugins.