Where are my Workspaces in IntelliJ IDEA?
In Eclipse, a workspace is a logical area where developers manage a number of different projects. Each project, in turn, is made of source files, libraries, user libraries and dependencies on other projects. In addition, within an Eclipse project you can reference a specific JRE.
In IntelliJ IDEA you won't have anything like an Eclipse workspace; but you can have multiple application projects active at the same time by opening multiple instances of IntelliJ IDEA.
More in general, in IntelliJ IDEA you can achieve the same results as in Eclipse in terms of the project configuration. However, you do that through different entities and procedures.
In particular, in IntelliJ IDEA you start by creating a project and then proceed by adding one or more modules to a project. When a new project is created in IntelliJ IDEA it has at least a module in much the same way a new workspace in Eclipse contains at least one project.
Key facts are:
- An Eclipse workspace is similar to a project in IntelliJ IDEA
- An Eclipse project maps to a module in IntelliJ IDEA
- An Eclipse project-specific JRE maps to a module JDK in IntelliJ IDEA
- An Eclipse user library maps to a global library in IntelliJ IDEA
How can I observe multiple projects at the same time?
In Eclipse, you can group multiple projects in the same logical package as shown below.
In IntelliJ IDEA, the closest you get to Eclipse workspaces is through multiple instances of the IDE, as below:
How do I add files to projects?
Once you have a project in place, you can add source files and resources in a very simple way: you just copy files to the project folder. IntelliJ IDEA tracks all changes to project files and automatically takes an appropriate action.