← Back to context

Comment by queenkjuul

6 hours ago

VSCode over SSH kinda rocks honestly. I use it with my server all the time.

In my previous work, a few folks in my team used VSCode on a shared dev box. The box has 1TB memory, and we'd frequently OOM due to vscode servers taking up tens of GBs of memory (which adds up quickly when there are multiple vscode windows per person). Sometimes it'd eat as big as 100GB until it had to be restarted. Sure, big codebases, but that's just straight unacceptable.

  • What are you doing such that it uses tens of GB...? Vscode is bloated, but not THAT bloated...

  • Which language/plugins?

    • C++ (clangd) and Python (pyright and ruff). But I think the excessive memory usage came from huge number of files in the code base, plus some really large files (given I ran LSP on neovim too with much smaller footprints).

VSCode over SSH is one of the best ways to develop on various SBCs. You can run the code on the SBC while having a high powered editor experience on your main machine.

It's the primary way I work on remote servers. Takes a few seconds to start up, but then it's just as if I'm working locally.