How to remove vscode completely from ubuntu?

Viewed 6172

I have tried sudo snap remove code it's just uninstalled vscode, I'm unable to use autoremove option for snap. I want to completely remove vscode from my system and reinstall it.

2 Answers

Please try

sudo snap remove code

then

cd ~ && rm -rf .vscode && rm -rf .config/Code

This will remove your settings and then you can do a clean install

To uninstall vscode use

sudo apt purge code

after uninstalling vscode use following command to remove the menu items

sudo apt autoremove
Related