Skip to content

Instantly share code, notes, and snippets.

@sheldonhull
Last active December 15, 2021 21:05
Show Gist options
  • Save sheldonhull/db1f2ceed0da37cb185acbb28cce08f5 to your computer and use it in GitHub Desktop.
Save sheldonhull/db1f2ceed0da37cb185acbb28cce08f5 to your computer and use it in GitHub Desktop.
Uninstall Disabled Extensions from VSCode Settings Backup

Cleanup Extensions

I've had issues with them toggling back on and causing conflict.

Download the json from settings backup, parse to the disabled extensions and then forcibly uninstall to ensure no further sync issue.

cat extensions.uninstall.json | jq '.[] | select(.disabled==true)' | jq '.identifier.id' -r | while read -r key; read -r val; do
  code-insiders --uninstall-extension $val
done
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment