Reputation: 3407
I need to export my deployment settings from a project to another one.
How can I do this?
I tried to export all the settings [File -> Export Settings...]
and import them into the new project but I have no configuration available in the Deployment server list.
Upvotes: 11
Views: 10813
Reputation: 838
On Windows 10, I found that copying over %appdata%\JetBrains\PhpStorm2021.3\options
worked - but this was for copying the deployment settings from machine A to machine B. The other settings worked fine using just the regular export settings available from PhpStorm.
Upvotes: 0
Reputation: 2541
Easier way is to uncheck the "visible only for this project" setting. It will be visible for all of your projects.
Upvotes: 15
Reputation: 8169
Copy both .idea/deployment.xml
and .idea/webServers.xml
from the first project to the second one. Watch out, because that will overwrite the second project's settings.
Upvotes: 20