To export and recreate installed VSCode extentions…
Export the list of installed extensions from an existing VSCode with:
- Open terminal, usually with
ctrl-`
orctrl-'
- then one of:
- Powershell:
code --list-extensions | % { "code --install-extension $_" } > vscode_extensions.ps1
- Bash:
code --list-extensions | xargs -L 1 echo code --install-extension > vscode_extensions.sh
- Powershell:
To recreate, run the script.
Thanks
Info from this stackoverflow response.