-To uninstall VS Code on Linux, you should use your package manager's uninstall or remove option. The exact command line will differ depending on which package manager you used (for example, apt-get, rpn, dnf, yum, etc.).
-The names for the VS Code packages are:
-code - VS Code Stable release
code-insiders - VS Code Insiders release
For example, if you installed VS Code via the Debian package (.deb) and apt-get package manager, you would run:
$ sudo yum remove code
-where code is the name of the VS Code Debian package.