Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Eclipse workspace equivalent in IntelliJ?

Tags:

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?

like image 511
Dims Avatar asked May 26 '15 16:05

Dims


People also ask

Does IntelliJ have workspace like Eclipse?

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.

What is equivalent of workspace in IntelliJ?

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.

Does IntelliJ have workspaces?

You can create as many workspaces as you want and arrange them in the Workspaces tool window in any order you like.


2 Answers

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).

like image 181
Darek Kay Avatar answered Oct 22 '22 06:10

Darek Kay


All the information you need is here. JetBrains has a wonderful guide called "Working with modules".

like image 23
Andrew Tobilko Avatar answered Oct 22 '22 08:10

Andrew Tobilko