2

As posted here How can I export settings?, everyone insists on using Settings Sync, which would be fine if I wasn't forced to use GitHub by the plugin (which is explicitly denied on my computer). Is there any way to either do this manually, or to redirect the plugin to use an alternative git repo for this purpose?

Dharman
  • 30,962
  • 25
  • 85
  • 135
user19692329
  • 21
  • 1
  • 3
  • 1
    1. Opening a new question instead of asking in comments is always better. 2. You can request account retrieval if you lost access to the previous account. 3. Question should never contain your life story. Please stick to technical writing and do not include any noise. – Dharman Aug 06 '22 at 09:45
  • VScode provides option to import/export settings - https://stackoverflow.com/a/75281411/4635388 – Rohan Khude Jan 30 '23 at 07:51

2 Answers2

3

For Windows what you need to do is,

  1. copy keybindings.json, settings.json files and snippets folder from C:\Users\<user>\AppData\Roaming\Code\User.
  2. and copy extensions folders from C:\Users\<user>\AppData\Local\Programs\Microsoft VS Code\resources\app to your new machine at the same locations.
1

Yes, certainly you can. You basically need to

  1. copy keybindings.json, settings.json files and snippets folder from /home/<user>/.config/Code/User

  2. and copy extensions folders from /home/<user>/.vscode/ to your new machine at the same locations.

Please note - the above locations are for Ubuntu. Check what are these for your operating systems.

Ref: https://stackoverflow.com/a/49706409/5164382

CognitiveRobot
  • 1,337
  • 1
  • 9
  • 26