Download Visual Studio Code

 How to completely uninstall vscode on mac

Here are all the places where VSCode stores stuff on Mac OS X, besides the Visual Studio itself, which is in your Applications folder:

rm -fr ~/Library/Preferences/ 
rm -fr ~/Library/Preferences/ 
rm -fr ~/Library/Caches/
rm -fr ~/Library/Caches/
rm -fr ~/Library/Application\ Support/Code/
rm -fr ~/Library/Saved\ Application\ State/
rm -fr ~/.vscode/

Update (Feb 2020): There are potentially also hidden extension directories in your home directories. To get rid of everything make sure you look for those too. They start with .vscode-.

Please run this command with care. Maybe you want to keep extension directories.

rm -rf ~/.vscode*