Eclipse workspace equivalent in IntelliJ?

Dims picture Dims · May 26, 2015 · Viewed 28k times · Source

It is said in IntelliJ IDEA Q&A for Eclipse Users that Eclipse Workspace is equivalent to "project" in IntelliJ terms, while Eclipse's project is equivalent to IntelliJ's module.

But after I created a project untitled and then created module untitled2 I got the following picture

enter image description here

I would think untitled is a project and untitled2 is a module, but both has src subfolders and listed in

enter image description here

so, both are modules of different level. Is this correct?

Is it possible to create module untitled3 at the same level as untitled?

How to create several modules of the same level without topmost one?

Answer

Darek Kay picture Darek Kay · May 26, 2015

If you want to simulate the Eclipse workflow, you should create an empty project (~ workspace) first:

New Project > Empty Project

Now you can create separate modules (~ projects) to be shown exactly like you want:

enter image description here

You could also select untitled2, press F6 (Refactor > Move) and move it one level up in your directory. While creating untitled3 you can specify the folder for your module (use IdeaProjects instead of untitled).