Reputation: 1031
used Sublime Keymappings for years in vscode, but now I want to switch back to default mappings. So I tried to make a clean reinstall of vscode,following the suggestions on stackoverflow to do so - but I failed.
So far I tried
$ sudo apt remove code && sudo apt autoremove
$ sudo apt-get purge --auto-remove vscode (or visual-sudio-code or code)
$ sudo dpkg --remove vscode //or code etc
$ sudo dpkg --purge vscode
I also deleted
~/.vscode and
~/.config/Code
after a "fresh" install I end up with all extensions and settings I manually installed before. Quite anoying ;)
Do I miss something?
I'd appreciate any suggestions helping me out here, thx
Upvotes: 4
Views: 12496
Reputation: 41
The steps you took are correct, some even unnecessary.
Just run the commands:
sudo apt-get purge code
rm -r ~/.vscode/
rm -r ~/.config/Code/
This will also reset the configurations and you can perform a clean installation.
Instead, if VSCode has been installed with snap, the first line becomes:
sudo snap remove code
Upvotes: 4