liximomo / vscode-sftp

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

how to disable auto sync #893

Open E2estudio opened 3 years ago

E2estudio commented 3 years ago

Is this a similar or duplicate feature request?

I work with a lot of files and every time I start vscode they are synced despite not having modified them. Can't turn off auto sync and leave it to only upload files after autosave?

only sync with autosave

Describe alternatives you've considered A clear and concise description of any alternative solutions or features you've considered.

Does this project help you?

ghost commented 3 years ago

I'll add this to the backlog.

Craigeniah commented 3 years ago

@E2estudio, I may not be understanding exactly what you're hoping to do here. Can you disable by adding the uploadOnSave parameter to your sftp.json like so:

"uploadOnSave": false

Or are you hoping for some other feature here?

E2estudio commented 3 years ago

@E2estudio, I may not be understanding exactly what you're hoping to do here. Can you disable by adding the uploadOnSave parameter to your sftp.json like so:

"uploadOnSave": false

Or are you hoping for some other feature here?

I have not explained well.

I have a project with thousands of files, and every time I open Vscode, almost all the files upload to the server without having made any changes to them. This greatly slows down the system. What I say is that you can disable automatic synchronization and that only files that are saved manually are uploaded.

Craigeniah commented 3 years ago

@E2estudio ah ok I understand now, that is unfortunate!