vscode-ftp-sync
vscode-ftp-sync copied to clipboard
Map local to remote directories. (specific upload locations)
Hey, I added support to map local directories to remote directories.
For example, if I have a folder build and I want it to upload to my remote index instead of a build folder I'd do:
"directorymap": {
"build": ""
}
If I'd want to map my local test folder to a remote beta folder, i can do:
"directorymap": {
"test": "beta"
}
When you select local to remote and then directory test it will automatically upload to folder beta instead of test if this is specified in the directorymap
I just realized it curently only works if you upload the whole directory.
If I have dist mapped to build and I where to upload a folder dist/css then it would still upload as dist/css and not build/css. This is not hard to change. I'll add it once I have some time.
@TimVosch This would be a great thing to add. Did you have a chance to look into the issue you noticed with your original PR? If we could get this in that would be great. Let me know if you need a hand.
@TimVosch Hello, due to recent merges, this PR has conflicts with merging currently. Could you please take a look and fix the conflicts so we can merge the change? Thanks a lot!
This would a really good feature, please do it..
PLEASE, merge this PR !
PLEASE merge, i need this feature thx!