https://github.com/liximomo/vscode-sftp
For some code in Linux compiler can only test, VS code + sftp is a good method. Above, very practical connection
But also I wanted to take a git repository in Linux, then push local modify the code to Linux debugging test, but this will be two copies of the code Linux, too much trouble, under the guidance of a small partner to understand the VS code + sftp, very practical I recommend it to everyone.
But also to take the git repository approach recommended for everyone https://www.cnblogs.com/HuSay/p/9101130.html