Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

I did the same after constantly yelling at docker. It’s amazing what vscode has been able to pull off to make ssh feel local. I’ve tried other solutions before and they’ve all had noticeable lag. The only time I notice is if I’m remote and on a cell connection or airplane.

The one thing I wish they’d improve was re-establishing a connection after the computer sleeps. Really annoying to have to reload the entire window, sometimes.



Why is a reload annoying? All of your files are saved and reopened to exactly where you left them


Terminal windows get messed up. Oddly sometimes they resume, but most times they don't. Example docker-compose will still run in the background but if Im coming back over a weekend I might not remember and running a different project will error since another docker is using the ports.

I know not a big issue and I could use tmux, but I'm lazy.


Tmux solves this problem for me. I don't use the VSC integrated terminal at all. I have its scrollback buffer set to 1.

The reload isn't bad for me -- it even keeps my text editors open with undo history. I'm not sure if I had to do something to enable that. There is probably a way to make it retain the integrated terminal, too (though you should really use tmux, it's awesome).


VSCode added the ability to restore “local” terminals after a reload in the Feb update: https://code.visualstudio.com/updates/v1_54#_retain-terminal...

I’m guessing that doesn’t work for remote terminals though, I haven’t tried it.

Seconding what the other guy said though, tmux is perfect for this. If you use the iTerm2 tmux integration you don’t need to remember all the commands to switch tabs, scroll back, etc, it just feels local just like VSCode.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: