sudo snap remove vscode 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