snap uninstall visual studio code 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