After being updated to 1.9.0, some features of the editor just stopped working here. I tried to run with --disable-extensions
option and the problem persisted.
Now I want to reinstall to check if the installation is corrupted but I don't want to lose my preferences.
How can I reinstall VSCode keeping my extensions and user settings?
Download the Visual Studio Code installer for Windows. Once it is downloaded, run the installer (VSCodeUserSetup-{version}.exe). This will only take a minute. By default, VS Code is installed under C:\Users\{Username}\AppData\Local\Programs\Microsoft VS Code .
Use the “Sync: Download Settings” (or Shift + Alt + D) option on your other computers. There are a few other options I prefer to set in “Sync: Advanced Options”. “Sync: Toggle Auto-Upload On Settings Change”, “Sync: Toggle Auto-Download on Startup”, and “Sync: Toggle Show Summary Page on Upload / Download”.
I just downloaded vsCode again and installed over the top of my existing install.
This preserved everything and fixed my "Your Code installation appears to be corrupt. Please reinstall." issue.
You can find all settings and preferences for visual studio code here: C:\Users[USER_NAME]\AppData\Roaming\Code
You'll notice some cache directories there. You may try clearing those before a reinstall. My intellisense and formatting randomly quit working all the time and clearing the cache fixes my issues.
I uninstalled and re-installed and my settings all seemed preserved. Some Extensions were disabled but still, it seems to work smoothly with no loss in extensions.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With