how to retain all settings, extensions of vs code

for some reason my vs code is not opening at all, i tried everything... so im going to reinstall vs code, and i was wondering how can i retain all settings, extensions of vs code when i reinstall the vs code? pls help
10 Replies
b1mind
b1mind6mo ago
Use the sync built in, or use an extension
b1mind
b1mind6mo ago
Settings Sync - Visual Studio Marketplace
Extension for Visual Studio Code - Synchronize Settings, Snippets, Themes, File Icons, Launch, Keybindings, Workspaces and Extensions Across Multiple Machines Using GitHub Gist.
b1mind
b1mind6mo ago
Settings Sync in Visual Studio Code
Synchronize your user settings across all your Visual Studio Code instances.
bfmv
bfmvOP6mo ago
will this work even without opening the vs code? because my vs code is not opening
b1mind
b1mind6mo ago
Nope but make sure you use it for next time You can go and manually find the files and save them
bfmv
bfmvOP6mo ago
im not able to know which files has the saved settings
b1mind
b1mind6mo ago
Look it up Which, from the manual and depending on platform, is one of: Windows %APPDATA%\Code\User\settings.json² macOS $HOME/Library/Application\ Support/Code/User/settings.json Linux $HOME/.config/Code/User/settings.json
bfmv
bfmvOP6mo ago
woah i just reinstalled vs code and for some reason all my settings and extensions are the same idk why this happened but thank god
b1mind
b1mind6mo ago
Because those files didn't change That's good 👍 Extensions are also saved in use profiles so I'd still do one of the two above Or both...I do both lol Handy having a gist of it all
bfmv
bfmvOP6mo ago
oo lol

Did you find this page helpful?