8 ms·
It's not really clear that that would be faster... sshfs would load the file once (maybe slow, but it's usually a tiny text file) and then do all editing locall
by ubercow13 6y ago
It's not really clear that that would be faster... sshfs would load the file once (maybe slow, but it's usually a tiny text file) and then do all editing locally in memory. If the editing process is remote, every edit you make is going to involve round trips over the network? That sounds awful?
- mixmastamyk 6y agoMaybe but folks have been using vim/ssh since the days of vi/telnet. It’s not a problem under normal conditions.
- pkaye 6y agoIts closer to vi over ssh.
- streb-lo 6y agoIf you're doing C++ in VSCode the C++ extension will use ripgrep to index your project. When using sshfs, rg runs on the local machine, causing sshfs to load your entire project which if it's large can really slow you down. The VSCode remote extension installs extensions onto a VSCode remote client installed on the remote machine. So the C++ extensions spawns rg processes on the remote which is a lot faster.