This package allows you to synchronize your VS Code extensions across your computers (Home's laptop, at work, fresh installations, ...).
If you change your computer or run a fresh installation, one command line will give back powers to your VSCode.
Tool's command line offers multiple workflow possibilities :
npx power-my-vscode
The package will install the default extensions defined herenpx power-my-vscode -a
This will lookup the current git username on your computer, try to lookup for the fork under its github profile then it will install extensions listed on : https://raw.githubusercontent.com/username/power-my-vscode/master/.vs-extensions.jsonnpx power-my-vscode -g <github_username>
This is helpful if you want target someone's collection. It will do the same as the previous one but on https://raw.githubusercontent.com/github_username/power-my-vscode/master/.vs-extensions.jsonnpx power-my-vscode -f <pah/to/json.file>
Extensions list will be retrieved from that filenpx power-my-vscode -u <url_to_json_file>
Will perfom installation from the list retrieved from that url (you might have some file with the list in you DotFiles repo for example)- Check out help command for more info :
npx power-my-vscode -h
Your current extensions can be retrieved from VSCode CLI :
code --list-extensions
Save the result of the command on your fork's file .vs-extensions.json or another file on your computer or over the internet depending on the workflow that suits you.
MIT © Mohamed EL BARCHANY