Simply moving the Visual Studio Code application to the Trash isn't enough to completely remove Visual Studio Code from macOS. Having residual VSCode files and folders can cause problems with your Visual Studio Code setup. Also, you may not like the idea of having unnecessary folders and files lying around on your machine.
In any case, I'll show you how to remove all traces of VSCode from your Mac in 6 easy steps.
🗂️ Video paths:
1. /Applications (the "Visual Studio Code" application)
2. ~/.vscode (the entire folder)
3. ~/Library/Application Support (the "Code" folder)
4. ~/Library/Caches (the "com.microsoft.VSCode*" file)
5. ~/Library/Preferences (the "com.microsoft.VSCode.plist" file)
6. ~/Library/Saved Application State (com.microsoft.VSCode.savedState)
👨💻 Commands to delete everything at once:
rm -rf ~/.vscode ~/Library/Application Support/Code ~/Library/Caches/com.microsoft.VSCode* ~/Library/Preferences/com.microsoft.VSCode.plist ~/Library/Saved Application State/com.microsoft.VSCode.savedState
Or
rm -rf ~/.vscode
rm -rf ~/Library/Application Support/Code
rm -rf ~/Library/Caches/com.microsoft.VSCode*
rm -rf ~/Library/Preferences/com.microsoft.VSCode.plist
rm -rf ~/Library/Saved Application State/com.microsoft.VSCode.savedState
🐍 Want to learn to code? Check out my complete Python courses for beginners 👉 • Apprendre Python en 1 heure - Cours Comple...
🔔 Subscribe for more Python videos: / @commentcoder
⏱️ Table of Contents:
00:00 - Removing VSCode 100%
00:21 - Deleting the VSCode Application
01:06 - Navigating Folders
02:17 - ~/.vscode
03:23 - ~/Library/Application Support
03:47 - ~/Library/Caches
04:08 - ~/Library/Preferences
04:19 - ~/Library/Saved Application State
04:32 - How do I reinstall VSCode?
#vscode #visualstudiocode #uninstall