Nothing has to last forever, and VS Code might not be the right thing for everyone. VS Code can go overboard with all the extensions and things it had proposed to install. Up to a point that one needs to get re-started again. Or because you tasted VS Code, but you did not like it.
That’s OK, you can uninstall it, after you have installed it (see VS Code: IDE Installation). The catch is: the uninstall does not a full removal, as settings and extensions do not get removed.

This article shows how to fully uninstall VS Code.
To uninstall the program, follow the steps described by Microsoft in https://code.visualstudio.com/docs/setup/uninstall.
On Windows, this means to go to the Add or Remove Programs and removing Visual Studio Code:

Another way is to run the uninstaller from the location, where VS Code is installed:

But this does not leave a ‘clean’ state. If you just run the ‘uinstall’ and an ‘install’ again, you will notice that all your settings and extensions still exist.
💡 To separate things, you might consider a Docker environment.
To remove the settings, delete the following folder (Windows path as example):
%UserFolder%\AppData\Roaming\Code

Check as well the ‘Local’ one:
%UserFolder%\AppData\Local\Code
To remove all the extensions and other files, additionally delete the following folder too:
%UserFolder%\.vscode

Depending on your installation method, check and clean your PATH variable too.
💡 This does not remove extra files and folders created by VS Code extensions. Things like vcpkg store their files in extra directories.
Congratulations! With this, you have a clean state again. Plus you have got back some previous disk space too. I wish Microsoft would offer a way to fully uninstall VS Code. Until then, I have to manually delete the extra VS Code folders.
Need to install VS Code again? Then see VS Code: Installation.
Or you need to get started, then see VS Code: Getting Started, literally.
Happy uninstalling 🙂
Links
- Previous article: VS Code: IDE Installation
- Microsoft Visual Studio Code: https://code.visualstudio.com/
- Uninstall VS Code: https://code.visualstudio.com/docs/setup/uninstall
- NXP extension for Visual Studio Code: https://www.nxp.com/design/software/development-software/mcuxpresso-software-and-tools-/mcuxpresso-for-visual-studio-code:MCUXPRESSO-VSC