delete vscode mac 1

delete vscode mac

rm -fr ~/Library/Preferences/com.microsoft.VSCode.helper.plist 
rm -fr ~/Library/Preferences/com.microsoft.VSCode.plist 
rm -fr ~/Library/Caches/com.microsoft.VSCode
rm -fr ~/Library/Caches/com.microsoft.VSCode.ShipIt/
rm -fr ~/Library/Application\ Support/Code/
rm -fr ~/Library/Saved\ Application\ State/com.microsoft.VSCode.savedState/
rm -fr ~/.vscode/
rm -rf ~/.vscode*

Here is what the above code is Doing:
1. Remove the VSCode app from the Applications folder
2. Remove the VSCode helper app from the Applications folder
3. Remove the VSCode plist file from the Preferences folder
4. Remove the VSCode helper plist file from the Preferences folder
5. Remove the VSCode cache from the Caches folder
6. Remove the VSCode ShipIt cache from the Caches folder
7. Remove the VSCode application support folder from the Application Support folder
8. Remove the VSCode saved state folder from the Saved Application State folder
9. Remove the VSCode folder from the user’s home directory
10. Remove the VSCode files from the user’s home directory

Similar Posts