You can use the VSCode Command Line Interface (CLI) to list all installed extensions. Open a terminal and run:
code --list-extensions
code --list-extensions --show-versions
You can save this list to a file for backup or sharing purposes by redirecting the output:
code --list-extensions > vscode-extensions.txt
If you want to export your extensions for installation on another machine On the new machine, install all extensions listed in the file using:
xargs -L 1 code --install-extension < vscode-extensions.txt