Exporting Visual Studio Code Settings(Linux)

  1. Make sure you have the most current version of Visual Studio Code. If you install via a company portal, you might not have the most current version.
  2. On machine A
    $ code --list-extensions | xargs -L 1 echo code --install-extension > code.sh
  3. Export code.sh to remote machine B and run
    $ chmod +x code.sh
    $ ./code.sh

Source