this post was submitted on 12 Jun 2023
499 points (100.0% liked)
Selfhosted
573 readers
1 users here now
A place to share alternatives to popular online services that can be self-hosted without giving up privacy or locking you into a service you don't control.
Resources:
- awesome-selfhosted software
- awesome-sysadmin resources
- Self-Hosted Podcast from Jupiter Broadcasting
> Any issues on the community? Report it using the report flag.
> Questions? DM the mods!
founded 1 year ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
view the rest of the comments
I'm also curious about this -- there's a usecase I have that I think fits, but I'm not sure if I'm either barking up the wrong tree, or overthinking it.
What I'd like to do is open up VSCode on any of my computers, make changes to files, save them, and see those reflected when I open VSCode on another PC.
I suspect VSCode container is meant for people who are actually developing and running their code and need an environment catered to that.
Am I better off doing something like saving my files to folder on a network share and then just opening that folder in VSCode on each PC instead? Is that even possible?
Using a network share for that specific usecase may be a great option. I think VSCode server may be more practical for collaborative work or for PCs with limited resources.
What I do is use Remote-SSH - if you have key auth set up correctly, it's fully seamless.
You just open up vscode, connect, and it's as if you were using it locally pretty much.
Interesting! So instead of creating a network share and opening files in that folder in VSCode, I can simply SSH into a machine through VSCode and edit the files on that machine?
Yes, it feels as if you were working locally. If your internet isn't garbage that is.
I even use it at home, I have a pc and a server, I ssh into the server from the pc and work that way.
Then, when I travel/whatever, I just connect from my laptop and pick up where I left off. You even have all your build tools and shit set up as well. Not to mention that it's much faster to compile on a beefy cpu compared to my laptop's.