PyCharm 2020.1 Help

Opening Multiple Projects

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

    You can import classes and methods from dependent projects. Use the Dependencies project settings to configure this behavior.

    Some settings (such as Django, Buildout, Google App Engine, template languages, project interpreters,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, PyCharm 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. From the context menu of the selection, choose Remove from Project View, or press Delete:

    Remove from the project view
Last modified: 09 July 2020