我在Visual Studio代码中有一个与sftp同步的服务器文件

时间:2018-04-30 03:52:32

标签: visual-studio-code sftp

我正在使用vs代码sftp。如果我删除了我在本地工作的数据,它仍然在服务器上。或者,当我移动文件时,会创建一个新文件并保留现有文件。我该如何设置?

{
"protocol": "sftp",
"host": "...",
"port": ...,
"username": "...",
"password": "...",
"uploadOnSave": true,
"remotePath": "..."}

1 个答案:

答案 0 :(得分:-1)

{
"protocol": "sftp",
"host": "---",
"port": ---,
"username": "---",
"password": "---",
"uploadOnSave": true,
"downloadOnOpen": true,
"syncMode": "full",
"remotePath": "---"}