Is VS Code Cache Safe to Delete?
Partially safe - the cache subdirectory is safe, but the main folder contains your settings.
Side effects: Be selective - only delete cache subfolders, not settings or extensions.
What is ~/Library/Application Support/Code?
VS Code's Application Support folder contains both important settings and deletable cache. Only clear specific cache subfolders, not the entire directory.
Is it safe to delete?
Use caution — While parts of ~/Library/Application Support/Code may be safe to delete, you should carefully review the contents before proceeding.
Consider backing up important data before deleting, and only remove filesyou're certain aren't needed.
What happens after deletion?
Be selective - only delete cache subfolders, not settings or extensions. The folder will be recreated automatically by the application when needed. This process is typically seamless but may take some time depending on the amount of data that needs to be regenerated.
How to delete it
Use MacMop
MacMop finds this folder automatically and lets you delete it safely with one click.
Download MacMopTerminal
rm -rf ~/Library/Application Support/CodeWarning: This command permanently deletes the folder. Double-check the path before running.
Finder
- Open Finder
- Press ⌘ + Shift + G (Go to Folder)
- Paste:
~/Library/Application Support/Code - Move the folder to Trash
MacMop scans all your hidden caches and tells you exactly what's safe to delete.
Download MacMop Free