vscode connected with ssh is close: It's not sharing because it only allows you to edit the server file system as if you had opened a project locally, but it does give you the feeling that you have the project there, and every time you save it goes directly to the server via ssh.
chriswarbo|3 years ago
TRAMP works fine with shell-mode, version control (e.g. magit), dired (file browser), etc. too :)
https://www.emacswiki.org/emacs/TrampMode