Created
May 28, 2024 10:51
-
-
Save alec-c4/df7ab4c62a8a0cd4db9a778b792c65c8 to your computer and use it in GitHub Desktop.
VSCode cleanup
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh | |
code --list-extensions | while read extension; | |
do | |
code --uninstall-extension $extension --force | |
done | |
rm -rfv "$HOME/.vscode" | |
rm -rfv "$HOME/Library/Application Support/Code" | |
rm -rfv "$HOME/Library/Caches/com.microsoft.VSCode" | |
rm -rfv "$HOME/Library/Saved Application State/com.microsoft.VSCode.savedState" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment