3 ms·
Tried VS Code several times, and failed to set it up correctly, so that I would be able to edit files over SSH and see a tree of files (without syncing, downloa
by ddon 8y ago
Tried VS Code several times, and failed to set it up correctly, so that I would be able to edit files over SSH and see a tree of files (without syncing, downloading entire projects, etc...). I just want to connect, browse to the needed file, double click on it, edit, save and close it. May be someone who has similar needs can point me to the right plugin/tutorial, I would try VS Code again?
But for now, using Atom as my primary editor, and was able to set it up the way I described above. Plugin which I use to edit files over SSH is Remote FTP (https://github.com/icetee/remote-ftp https://github.com/icetee/remote-ftp), if someone is interested.
- mtrpcic 8y agoI tried to do something like this for a while, but ended up much preferring a local copy of the codebase with the changes rsynced across to the server. Without the files locally, the editor wasn't able to index them, so it was a little janky to jump to other files in the project, and a lot of the utility of plugins (like automatic code completion) just didn't work great since it couldn't find the relevant files to use.
- eat_veggies 8y agoWould something like sshfs work for you? https://github.com/libfuse/sshfs https://github.com/libfuse/sshfs
- giancarlostoro 8y agoWhat I've done is install VS Code on the remote system (usually a dev VM) and with X forwarding I open up VS Code, works perfectly, as others have suggested another approach is to just mount the VM or remote systems drive somewhere on your local machine but I've yet to try this.
- rckclmbr 8y agoYou should give the Atom plugin nuclide a try, it has really good remote code editing support (including indexing the files, which was someone elses criticism). You do need to install a server script, but it still just works over ssh. https://nuclide.io/docs/features/remote/ https://nuclide.io/docs/features/remote/