liximomo / vscode-sftp

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

All Git Upload is now broken in new version of VS Code #861

Open alihassanansari opened 3 years ago

alihassanansari commented 3 years ago

Tested ----- October 2020 (version 1.51) -- Broken Tested ----- September 2020 (version 1.50) -- Working Tested ----- August 2020 (version 1.49) -- Working

Only Git Upload effected so far.

matthewjschultz commented 3 years ago

+1

matthewjschultz commented 3 years ago

Also… upload intermittently gets "stuck"; status messages is "local -> remote " with the animation, but it never finishes. And that results in zero-byte files on the server.

oberocks commented 3 years ago

+1

maurocampisi commented 3 years ago

+1

as1414 commented 3 years ago

Removed my +1.. for me, I used the plugin to rebuild the settings file and it worked again.

zeshanshani commented 3 years ago

@as1414 can you share how you made it work because I'm also facing the same issue.

as1414 commented 3 years ago

@zeshanshani I couldn't get it to work in one of my environments; however, I tested it in a new folder/workspace and it worked. So, I went back to the first one, deleted everything to do with it and used the command palette to build a new setup (from instructions -> Ctrl+Shift+P on Windows/Linux or Cmd+Shift+P on Mac open command palette, run SFTP: config command)

jcambien commented 3 years ago

Not working for me, even with new configuration (VS Code 1.52.1). Still you can get it working with command sftp.upload.changedFiles, use "cmd+P" or map the command to a key in shortcuts preferences. (for example, i'm using "cmd+k cmd+v")

zeshanshani commented 3 years ago

@as1414 thanks for your answer. I was able to get it to work as well by deleting the sftp.json file and regenerate it with credentials.

Now it works. @jcambien you can perhaps try something similar.

as1414 commented 3 years ago

Just FYI - I'm on: OS - Win 10 SFTP - 1.12.9 Tested working on VS - 1.52.0 & 1.52.1

@jcambien

as1414 commented 3 years ago

@alihassanansari were you ever able to get resolved?

PaPa31 commented 2 years ago

I made a new build of sftp.vsix file.

This build makes Upload Changed Files command visible.

And it adds "Ctrl+Alt+U" keyboard shortcut to the Upload Changed Files command.

You can download the build and install with:

I also wrote not a small post how to rebuild vsix extension.