How to completely uninstall Visual Studio Code on Mac
Dragging VS Code to the Trash removes the app itself, but its support files, caches and settings stay on your Mac. Here is where they are and how to remove all of them.
Settings, workspace storage and caches are in ~/Library/Application Support/Code, and installed extensions are in ~/.vscode, which is often the larger of the two.
Turn on Settings Sync, or copy settings.json, keybindings.json and your snippets from ~/Library/Application Support/Code/User. Your project folders are not touched.
com.microsoft.VSCodeRemove VS Code by hand
- Quit VS Code. If it has a menu bar icon or runs in the background, quit that too.
- Open the Applications folder and drag VS Code to the Trash.
- In Finder, choose Go > Go to Folder (Shift-Command-G), paste each location below, and move what you find to the Trash. Not every location exists for every version.
- Empty the Trash, then restart your Mac so nothing from VS Code is left running.
Where VS Code keeps its files
/Applications/Visual Studio Code.app~/Library/Application Support/Code~/Library/Caches/com.microsoft.VSCode~/Library/Preferences/com.microsoft.VSCode.plist~/Library/Saved Application State/com.microsoft.VSCode.savedState~/Library/Containers/com.microsoft.VSCode~/Library/HTTPStorages/com.microsoft.VSCode~/Library/WebKit/com.microsoft.VSCode~/Library/Logs/Code
Other places VS Code uses
~/.vscodeTool data~/Library/Caches/com.microsoft.VSCode.ShipItData~/Library/Preferences/com.microsoft.VSCode.helper.plistData
The quick way
Diskzy finds VS Code and the files listed here, shows the size of each one, and moves them to the Trash together. Files that another app also uses are left alone.
More uninstall guides
See where your Mac's space went
Diskzy maps your disk, explains System Data and clears what's safe. Free for 72 hours, then $9 once for 2 Macs.
Try Diskzy for free