liximomo / vscode-sftp

Super fast sftp/ftp extension for VS Code
MIT License
1.5k stars 260 forks source link

Confirm file overwriting on upload / download showing differences between files #745

Open DavoBR opened 4 years ago

DavoBR commented 4 years ago

Is this a similar or duplicate feature request?

Is your feature request related to a problem? Please describe. I work with a team developer where we could edit the same remote files, so the problem is when someone edits a file I'm working on and it overwrites the changes I've made, because he didn't do a file comparison before uploading it.

Describe the solution you'd like My proposal is about adding functionality that is optional to show the comparison of the files before uploading or downloading and the user can confirm the operation according to the changes that will be applied to the destination file.

Describe alternatives you've considered I don't have alternative

Does this project help you?

Lospepes commented 4 years ago

Detecting changes automatically between local and remote is missing to this extension. Is it possible one day ? And a configuration to automatically download from remote an open file from the local explorer would be a real advantage. Every SFTP extension is missing something major like this. If someone guide me, maybe I could try to do it ?

mgraph commented 4 years ago

or at least a confirmation box before upload/download, because I accidentally click "download" instead of "upload" and that overrides my local file which is bad