Last active
July 21, 2020 02:20
-
-
Save trfiladelfo/1416f87fe24ac2b115c3392190abce41 to your computer and use it in GitHub Desktop.
Backup all extensions install in VS Code
This file contains 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
code --list-extensions >> vs_code_extensions.txt |
This file contains 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
Here are all the places where VSCode stores stuff on Mac OS X, besides the Visual Studio Code.app itself, which is in your Applications folder: | |
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/ | |
Update (Feb 2020): There are potentially also hidden extension directories in your home directories. To get rid of everything make sure you look for those too. They start with .vscode-. | |
Please run this command with care. Maybe you want to keep extension directories. | |
rm -rf ~/.vscode* |
This file contains 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
# Download | |
curl https://gist.githubusercontent.com/trfiladelfo/1416f87fe24ac2b115c3392190abce41/raw/d35b521b76cf617381adc19fee5d474b667ca46d/vs_code_extensions.txt --output vs_code_extensions.txt | |
# Install | |
for ext in $(cat vs_code_extensions.txt); do echo "$ext" ; done | |
# or | |
cat vs_code_extensions.txt | xargs -n 1 code --install-extension |
This file contains 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
code --list-extensions | xargs -n 1 code --uninstall-extension |
This file contains 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
{ | |
"editor.formatOnPaste": true, | |
"editor.formatOnSave": true, | |
"dart.flutterSdkPath": "/Library/Frameworks/Dart.framework/flutter-sdk", | |
"dart.flutterCreateAndroidLanguage": "kotlin", | |
"dart.flutterCreateIOSLanguage": "swift", | |
"dart.sdkPath": "/Library/Frameworks/Dart.framework/dart-sdk", | |
"workbench.iconTheme": "material-icon-theme", | |
"python.pythonPath": "/usr/bin/python3", | |
"teamhub.incognitoMode": false | |
} |
This file contains 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
alefragnani.Bookmarks | |
christian-kohler.npm-intellisense | |
christian-kohler.path-intellisense | |
CoenraadS.bracket-pair-colorizer | |
Dart-Code.dart-code | |
Dart-Code.flutter | |
dbaeumer.vscode-eslint | |
dsznajder.es7-react-js-snippets | |
EditorConfig.EditorConfig | |
eg2.vscode-npm-script | |
esbenp.prettier-vscode | |
foxundermoon.shell-format | |
ionutvmi.path-autocomplete | |
jpoissonnier.vscode-styled-components | |
mechatroner.rainbow-csv | |
mf.vscode-styled-components | |
MS-CEINTL.vscode-language-pack-pt-BR | |
ms-python.python | |
ms-vsliveshare.vsliveshare | |
octref.vetur | |
pflannery.vscode-versionlens | |
PKief.material-icon-theme | |
ritwickdey.LiveServer | |
wmaurer.vscode-jumpy | |
Zignd.html-css-class-completion |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment