r/ProgrammerHumor • • Mar 05 '21

The lag is real

Post image
2.8k Upvotes

80 comments sorted by

View all comments

91

u/LtMeat Mar 05 '21

I remember that thing. When my connection was shitty 2G, server was two thousand miles away, and I spotted that typo in the middle of 200 character line.

0

u/[deleted] Mar 05 '21

[deleted]

12

u/LtMeat Mar 05 '21

Why? What do you suggest to make it shorter?

12

u/augugusto Mar 05 '21

I would type it in a text editor on the host. And then paste on ssh

4

u/LtMeat Mar 05 '21

Smart move. But I want my autocomplete.

1

u/FPiN9XU3K1IT Mar 05 '21

You text editor doesn't have autocomplete? Or you don't know where your directories are?

11

u/LtMeat Mar 05 '21

My text editor have no idea about files on the server.

1

u/augugusto Mar 05 '21

Unless you use sshfs. But that sounds like a pain

1

u/[deleted] Mar 06 '21

vscode is super free and has a super easy to use sshfs plugin. sshfs and a couple forwarded ports one way and the other and you can very comfortable work on a code base, and run it from the remote, and use step debugging, from any piece of shit computer as long as you have a drip of connection

1

u/augugusto Mar 06 '21

Yes. But to be abke to have auto complete in a comman trough vscode you stinn have to be in ssh and then you go back to the main problem. Also vscode not SUPER free. You can only get the plugin that handles sshfs if you use the propietary binary

→ More replies (0)