xxxxxxxxxx
# Just listing the extensions
code --list-extensions
# Generate install commands for all extensions
code --list-extensions | % { "code --install-extension $_" }
# List all the URL's to the extensions
code --list-extensions | % { "https://marketplace.visualstudio.com/items?itemName=$_" }
xxxxxxxxxx
# Open vscode in a directory where you want to save the output to a txt file
# Press ctrl+~ to open terminal and ensure "bash" is your chosen platform
code --list-extensions --show-versions > extensions.txt
# Type code --help for more options