Deployment mapping lost on new project
Hi,
I have set up remote STFP deployment in the PHPStorm settings, but every time I create a new project I have to re-add the mappings even though I've selected to have the server available across all projects. It also loses my option set to upload on explicit save.
Is there a way to have the server mappings save so they don't require to be set up each time I create a new project?
Thanks,
Grant
Please sign in to leave a comment.
Hi there,
>Is there a way to have the server mappings save so they don't require to be set up each time I create a new project?
Unfortunately no.
Only Connection tab of the Deployment is shared across the projects -- other 2 tabs (Mappings and Exclusions) belong to this project only.
The only possible workaround here that I can think of is to copy PROJECT_FOLDER/.idea/deployment.xml file across such projects while target project is closed in IDE.
>It also loses my option set to upload on explicit save.
"File | Default Settings..." -- you can set such default option here -- it will be applied to all future projects that will be created on this computer.