javaintellij-ideaimportproject

Bulk Java Project Module Import in Intellij IDEA


I have 71 plain Java projects in a folder. In Eclipse, I can use the 'import existing projects into workspace' feature to load all Java projects into my Eclipse instance at once.

Is there a similar feature in IntelliJ IDEA? I know that IDEA uses modules, and I can add each project individually as a module, but is there a way to import multiple modules at once?

My folder structure is as follows:

/Projects/JavaProject1/src/Main.java
/Projects/JavaProject2/src/Main.java
......

I followed this Stack Overflow thread link and wanted to know if there is any bulk module import option in IntelliJ IDEA.

eclipseImport.png ideaImport


Solution

  • You can try the new Workspace plugin.

    From the blog post on [How to use workspaces]:(https://blog.jetbrains.com/idea/2024/08/workspaces-in-intellij-idea/#how-to-use-workspaces)

    For more information, see the blogpost or the related livestream