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
I would think untitled
is a project and untitled2
is a module, but both has src
subfolders and listed in
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?
The first thing you'll notice when launching IntelliJ IDEA is that it has no workspace concept. This means that you can work with only one project at a time. While in Eclipse you normally have a set of projects that may depend on each other, in IntelliJ IDEA you have a single project that consists of a set of modules.
The workspace equivalent term refers to Project Window in intellij. It will consists of modules which are equivalent of individual projects in Eclipse. EDIT: You can right click on untitled module and go to Open Module Settings . And select Modules in project settings. With + sign you can choose to create new module.
You can create as many workspaces as you want and arrange them in the Workspaces tool window in any order you like.
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:
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
).
All the information you need is here. JetBrains has a wonderful guide called "Working with modules".
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With