Sync changes to FTP in Pro Version of PHPStorm

Answered

Hi all,

I have a local copy of a Wordpress setup locally which I work on. I mainly work in specific sub-directories, namely the themes/ folder. Is there a QUICK way to sync / check and upload my locally done changes to a specific FTP server and only consider specific directories, e.g. only the Theme folder? Because if I don't do a selective sync, PHPStorm scans the full Wordpress installation which takes ages.

Or even better would be: Make PHPStorm remember which changes I did locally in which files and only upload / sync those to the remote FTP server..

Thanks!

0
5 comments

All of the mentioned scenarios are possible. 

See Deployemnt feature: https://www.jetbrains.com/help/phpstorm/tutorial-deployment-in-product.html

And especially mappings tab

1

 can I set a local folder as "base" so that PHPStorm automatically remembers all my changes and automatically uploads those files to remote?

This way. All changed files could be uploaded on save: 

1

There is a separate function "Sync" to compare files with remote first: 

1

Thanks, that sounds great. Does it check the complete remote directory first, or can I set a local folder as "base" so that PHPStorm automatically remembers all my changes and automatically uploads those files to remote? 

0

Really helpful, thanks so much!

0

Please sign in to leave a comment.