4 ms·
It's a little more tightly coupled than just a file system; it's essentially a fully headless mode.
by jedimastert 7y ago
It's a little more tightly coupled than just a file system; it's essentially a fully headless mode.
- mixmastamyk 7y agoTightly coupled is often not desirable.
- pkaye 7y agothe VSCode SSH extension runs the editing process remotely so it doesn't need to transfer the entire file.
- mixmastamyk 7y agoThat could be helpful, text files are often tiny though.
- ubercow13 7y agoIt'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 7y agoMaybe but folks have been using vim/ssh since the days of vi/telnet. It’s not a problem under normal conditions.
- pkaye 7y agoIts closer to vi over ssh.
- streb-lo 7y 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.