PhpStorm 2018.3 Help

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

      Open the project in the current window, new window, or attach it to the existing project

Delete a project from view

You can close a project that has been added to the currently opened one (primary project).

  1. In the Project Tool Window, right-click the project to be deleted.

  2. On the context menu of the selection, choose Remove from Project View, or press Delete:

    Remove from the project view
Last modified: 18 December 2018

See Also