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
Use the sync built in, or use an extension
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.
Settings Sync in Visual Studio Code
Synchronize your user settings across all your Visual Studio Code instances.
will this work even without opening the vs code?
because my vs code is not opening
Nope but make sure you use it for next time
You can go and manually find the files and save them
im not able to know which files has the saved settings
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
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
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
oo lol