Reputation: 1103
How can I open few projects in left work area in PhpStorm? I need to quick switch between projects.
Upvotes: 20
Views: 10820
Reputation: 1905
This is a right on time answer.
It is possible to quick switch between project by adding a keyboard shortcut to the "manage project" menu.
To do just that, go to Settings > Keymap
and search for "Manage Projects"
. Then add it the keyboard shortcut you desire and you're all set.
Hope this will help someone looking for an answer like I did.
Upvotes: 9
Reputation: 13270
As LazyOne said, you can add paths to your project from Setting | PHP | Include paths
or from the useful keystroke F4.
But I'd like to also share how I organise my projects, I think when you create a project, you should not open a new window but instead open it in the same window. This way you don't get confused between the different opened windows.
In settings
you can assign a keystroke to Reopen recent projects
. I then use ctrl + shift + R but it is up for you to chose the keystroke you like.
Hope this will help you as I struggled as well to find a way to manage all my current projects.
Upvotes: 1
Reputation: 165148
If you want to open more than one project in this way (and by this I mean so they have their own different settings), then currently it is not possible.
http://youtrack.jetbrains.com/issue/WI-15187 -- vote/star/comment to get notified on progress.
If you need to include files from those projects for reference purposes (to see how you have done it there, to copy some code from there etc) -- you can include them under "External Libraries" -- Settings | PHP | Include paths
. Files included this way are protected from modifications.
If you need to modify those files ... you can add them into actual project as Additional Content Root (Settings | Directories| Add Content Root
) -- such folders will be treated as part of the actual project with no separate settings.
Other than that -- Alt + Tab (or whatever the shortcut is on your OS) to switch between different PhpStorm windows (each project is opened in separate window/frame).
Upvotes: 16