Last active
July 24, 2021 13:28
-
-
Save syahzul/8abf1f01ec4a8b10501dad16fd2bc861 to your computer and use it in GitHub Desktop.
Revisions
-
syahzul revised this gist
Jul 24, 2021 . 1 changed file with 1 addition and 1 deletion.There are no files selected for viewing
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 charactersOriginal file line number Diff line number Diff line change @@ -1,6 +1,6 @@ # Remove Extensions To remove only the extensions, run the the following command: ``` rm -rf ~/.vscode -
syahzul renamed this gist
Jul 24, 2021 . 1 changed file with 0 additions and 0 deletions.There are no files selected for viewing
File renamed without changes. -
syahzul created this gist
Jul 24, 2021 .There are no files selected for viewing
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 charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,33 @@ # Remove Extensions To remove all extensions, remove the following folder ``` rm -rf ~/.vscode ``` Now all the extensions will be removed, and you can start from scratch to install the one you need. # Uninstall Completely If you want to remove it completely, run all these commands. ``` osascript -e 'quit app "Code"' rm -rf ~/Library/Application\ Support/Code/ rm -rf ~/Library/Caches/com.microsoft.VSCode rm -rf ~/Library/Caches/com.microsoft.VSCode.ShipIt rm -rf ~/Library/Saved\ Application\ State/com.microsoft.VSCode.savedState/ rm -f ~/Library/Preferences/com.microsoft.VSCode.plist rm -f ~/Library/Caches/com.microsoft.VSCode rm -rf ~/.vscode sudo rm -rf /Applications/Visual\ Studio\ Code.app ``` ## Credits 1. [https://stackoverflow.com/questions/42603103/how-to-completely-uninstall-vscode-on-mac](https://stackoverflow.com/questions/42603103/how-to-completely-uninstall-vscode-on-mac) 2. [https://apple.stackexchange.com/questions/354954/how-can-i-quit-an-app-using-terminal](https://apple.stackexchange.com/questions/354954/how-can-i-quit-an-app-using-terminal)