Install Visual Studio Code - Insiders
add plug-in
`Remote Development`(ms-vscode-remote.vscode-remote-extensionpack)
press F1
and input
`>remote-SSH:Connect to Host` `Configure SSH Hosts`
select a config file and then input following text
Host VMware-Ubuntu18-Desk User witt HostName 192.168.130.132 IdentityFile C:\Users\%USERNAME%\.ssh\id_rsa
Connect
Connect to linux
this pic show connecting success
select the path of your project
Finish
PS
If this is your first login, I recommend that you open the login terminal.
来源:https://www.cnblogs.com/wittxie/p/10871201.html