Opening Multiple Projects
PhpStorm suggests the following options to work with several projects simultaneously:
Each project is opened in its own window. The projects are independent, and cannot share information, except for the Clipboard operations. All the projects run in the same instance of PhpStorm and use the same memory space.
A newly opened project shares the same window as the already opened one. The project that has already been opened, is considered the primary project, and is always shown first in the Project tool window. All the other projects are added to the primary project.
Symbols from the added projects are visible from the primary one, but not vice versa.
Some settings (such as content roots) can be configured separately for each project.
Open multiple projects
Open a project, while another one is already opened.
Then, depending on the option selected in the Project Opening section of the System Settings page of the Settings/Preferences dialog Ctrl+Alt+S, the following happens:
If the Open project in a new window option is selected, the new project silently opens in a new window. The Attach Project option appears in the menu.
If the Open projects in the same window option is selected, the new project silently opens in the same window, replacing the currently opened project. The Attach Project command appears in the menu.
If the Confirm window to open project in option is selected, PhpStorm prompts you to select whether you want to open the project in a new window, reuse the existing window, or attach the new project to the currently opened project. The project that has already been opened is the primary project.
Delete a project from view
You can close a project that has been added to the currently opened one (primary project).
In the Project Tool Window, right-click the project to be deleted.
From the context menu of the selection, choose, or press Delete: