热门标签 | HotTags
当前位置:  开发笔记 > 编程语言 > 正文

LaravelOpeningMultipleProjects

Onthispage:BasicsOpeningmultipleprojectsDeletingaprojectfromviewImportantnotesBasicsPhpSto


On this page:

  • Basics
  • Opening multiple projects
  • Deleting a project from view
  • Important notes

Basics

PhpStorm allows you to work with several projects simultaneously. So doing, PhpStorm suggests the following options:

  • 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. So doing, 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 ( content roots) can be configured separately for each project.

Opening multiple projects

To 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, the following happens:

    • If the option Open project in a new window is selected, then the new project silently opens in a new window. So doing, the command Attach Project appears in the File menu.
    • If the option Open projects in the same window is selected, then the new project silently opens in the same window, replacing the currently opened project. So doing, the command Attach Project appears in the Filemenu.
    • If the option Confirm window to open project in is selected, then PhpStorm prompts you to select whether you want to open the project in a new window, or reuse the existing window. This dialog box features the checkboxAdd to currently opened projects. If this checkbox is selected, the new project opens in the project tree, and adds to the currently opened project. So doing, the project that has already been opened, is the primary project.技术分享图片

    Clicking Open in current window without selecting the checkbox Add to currently opened projects results in closing the current project and opening the new one in the same window.

Deleting a project from view

If you want to close a project that has been added to the currently opened one (primary project), follow these steps:

  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 just press Delete:
技术分享图片

Important notes

  • When reopening, PhpStorm suggests to reopen the whole group of projects.
  • The checkbox Add to currently opened projects appears when you open a new project in a window, where another project is already opened.

Laravel - Opening Multiple Projects


推荐阅读
author-avatar
井上英精_824
这个家伙很懒,什么也没留下!
PHP1.CN | 中国最专业的PHP中文社区 | DevBox开发工具箱 | json解析格式化 |PHP资讯 | PHP教程 | 数据库技术 | 服务器技术 | 前端开发技术 | PHP框架 | 开发工具 | 在线工具
Copyright © 1998 - 2020 PHP1.CN. All Rights Reserved | 京公网安备 11010802041100号 | 京ICP备19059560号-4 | PHP1.CN 第一PHP社区 版权所有