Due to a recent computer issue I had to purchase a new computer. Fortunately I was able to install the old SSD drive in the new computer as a 2nd SSD device (D:). I installed VS Code on the C: drive. So the questions... Is there a folder/file on the D: drive that I can move to the C: drive so that all of the installed extensions and setting will be available?
Asked
Active
Viewed 674 times
0
-
https://code.visualstudio.com/docs/editor/settings-sync You should migrate before moving the actual hardware, and that's the only supported approach. In current state, there isn't a reliable way to move (you can try all hacks over the internet, but no guarantee that they help). – Lex Li Dec 22 '22 at 20:16
-
Does this answer your question? [How can I export settings?](https://stackoverflow.com/questions/35368889/how-can-i-export-settings) – wjandrea Dec 22 '22 at 20:43
1 Answers
1
under C:\Users\{Username}\.vscode
you find a folder called extensions
, this contains all your extensions
copy the folder and paste it in the second device

wjandrea
- 28,235
- 9
- 60
- 81

Ahmed Sbai
- 10,695
- 9
- 19
- 38
-
Copy/Paste worked fine. But, there are no Installed extensions showing in the extensions panel. – James A Wilson Dec 23 '22 at 17:45
-
try to copy settings.json from C:\Users\ {Username} \AppData\Roaming\Code\User – Ahmed Sbai Dec 23 '22 at 17:57
-
The AppData folder does not exists on the D:\Users\(UserName)\ directory. – James A Wilson Dec 23 '22 at 20:50
-
Daa... found the folder, copy/pasted the setting.json file to the C: drive. Opened vscode... nothing. Restarted system... nothing. Moved the contents of the Extensions folder to the C: drive... nothing. Did move the snippets.json file to the C: drive. That worked fine. Thanks for your help! – James A Wilson Dec 23 '22 at 21:44