Hacker News new | ask | show | jobs
by markogresak 1902 days ago
Given your goal, I’m surprised you haven’t found a solution to this already.

I had a similar goal, and with Atom, I’ve solved it with a hacked-together script that automatically backed up the installed packages and replayed the apm install when I called the script.

When switching to VSCode more than 2 years ago, there was a popular plugin to sync (https://marketplace.visualstudio.com/items?itemName=Shan.cod...). And as a sibling comment mentions, there’s now a built-in sync.

I’ve used it since the beginning and it works flawlessly. I’ve even used it between macOS (primary device), Windows and Linux (popOS) machines and it works great. VSCode does a great job in keeping platform-specific settings so you don’t break it for the other device.

It’s much better than the approach I’ve used with Atom because I do not have to think about it, it just happens in the background. The only thing you need to do is to enable the sync and then let it do its job.