Skip to content

Instantly share code, notes, and snippets.

@codewings
Created December 20, 2021 14:40
Show Gist options
  • Save codewings/7b6b2a83e011916ffd584789821aef3e to your computer and use it in GitHub Desktop.
Save codewings/7b6b2a83e011916ffd584789821aef3e to your computer and use it in GitHub Desktop.
Backup my VSCode settings/extensions
code --list-extensions | xargs -L 1 echo code --install-extension > ~/install_vscode_extensions.sh
chmod +x ~/install_vscode_extensions.sh
cd ~/Library/Application\ Support/Code/User
tar -czf vscode_config.tar.gz *.json
mv vscode_config.tar.gz ~/vscode_config.tar.gz
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment