vs code 自动上传配置
{
"host": "*****",
"port": 22,
"username": "****",
"password": "*****",
"protocol": "sftp",
"agent": null,
"privateKeyPath": null,
"passphrase": null,
"passive": false,
"interactiveAuth": false,
"remotePath": "*******",
"context":"******",
"uploadOnSave": true,
"syncMode": "update",
"watcher": {
"files": false,
"autoUpload": false,
"autoDelete": false
},
"ignore": [
"**/.vscode/**",
"**/.git/**",
"**/.DS_Store"
]
}
1. remotePath 开发机的路径 /home/**/**
2.context : eg /Users/**/project/** 自己本地的项目