Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to completely purge Visual Studio Code on Ubuntu?

I'm using VS Code on Ubuntu 16.04 LTS and I want to completely uninstall it.

So I've tried these commands:

sudo apt-get remove code
sudo apt-get purge code
sudo apt-get update

And every time when I re-install I see my project that was open from my last use and I still have all my plugins, my themes, keybindings, etc.

What must I do to completely uninstall all settings of Visual Studio Code ?

like image 795
Delbo ar Avatar asked Nov 08 '18 09:11

Delbo ar


2 Answers

User specific settings/extensions are located in $HOME/.config/Code and $HOME/.vscode/ so remove those folders manually

like image 112
nos Avatar answered Oct 24 '22 02:10

nos


cd [enter]

sudo rm -rf .vscode
sudo rm -rf  ~/.config/Code

sudo apt purge code

sudo apt autoremove
like image 30
Shashwat Gupta Avatar answered Oct 24 '22 01:10

Shashwat Gupta