Hacker News new | ask | show | jobs
by smabie 2242 days ago
With sshfs, what is the point? It seems to me that an editor shouldn't be dealing with the particularities of on what machine a file resides, that should be handled by the kernel or a userspace module. Like if Intellij had a feature that could allow it to access NFS drives people would decry it as unnecessary, but for some reason ssh is different.
2 comments

Your point stands for an editor. Do note that PyCharm tries to be more than that, providing a bunch of tools around the editor.

In Pycharm, you don't just open remote files via SSH, the files are actually stored on the local machine. The point is to run the interpreter and the debugger on the remote machine.

This allows an integrated workflow with access to things you might not have on the local dev machine.

If your workflow is editing files in Vim / Sublime Code / whatever and then running them from the command line, I guess there really isn't that much benefit to this.

Examples:

- Access to some firewalled-off machine - Load big amounts of data from another machine while your dev machine is on a low bandwidth connection - Access hardware you might not have locally, such as a big GPU while coding on a light laptop

The remote machine might have packages installed that are required to run, debug and code-completion.