主要是remote感觉不是很好用
VSCode本地代码同步服务器教程:
https://www.jianshu.com/p/ae572fc6bd74
- 下载安装SFTP插件
- 在VSCode中打开命令栏(快捷键Shift + Command + P)搜索SFTP
基本配置好就行了 - 选择SFTP: Config,该指令会在当前.vscode目录下生成一个sftp.json配置文件
{"name": "My Server","host": "10.184.17.10","protocol": "sftp","port": 22,"username": "Bill","remotePath": "/data/Bill/Project/VScode/D3Feat-master","uploadOnSave": true,"password":"","ignore": ["**/.vscode/**","**/.git/**","**/.DS_Store"],"watcher": {"files": "**/*.*","autoUpload": true,"autoDelete": false}
}