how to uninstall visual studio code in ubuntu installed via snap code example
Example: uninstall vscode linux
sudo dpkg --purge code
sudo dpkg --remove code
move/delete the folders ~/.config/Code and ~/.vscode
sudo dpkg --purge code
sudo dpkg --remove code
move/delete the folders ~/.config/Code and ~/.vscode