Skip to content

Instantly share code, notes, and snippets.

@paulo-raoni
Created July 13, 2020 20:40
Show Gist options
  • Save paulo-raoni/aa15fdc88c4a397dd88df79c0e8a7d46 to your computer and use it in GitHub Desktop.
Save paulo-raoni/aa15fdc88c4a397dd88df79c0e8a7d46 to your computer and use it in GitHub Desktop.
IMPORT/EXPORT VS CODE EXTENSIONS

Automatic

To do automatically use the Settings Sync extension.

It will allow:

  1. Export of your configuration and extensions
  2. Share it with coworkers and teams. You can update the configuration. Their settings will auto updated.

Manual

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.

On machine A

Unix:

code --list-extensions | xargs -L 1 echo code --install-extension

Windows (PowerShell, e. g. using Visual Studio Code's integrated Terminal):

code --list-extensions | % { "code --install-extension $_" }

Copy and paste the echo output to machine B

Sample output

code --install-extension Angular.ng-template
code --install-extension DSKWRK.vscode-generate-getter-setter
code --install-extension EditorConfig.EditorConfig
code --install-extension HookyQR.beautify

Please make sure you have the code command line installed. For more information, please visit Command Line Interface (CLI).

MY CURRENT EXTENSIONS LIST ( TO INSTALL JUST COPY/PASTE ON LINUX ):

code --install-extension adashen.vscode-tomcat
code --install-extension Dart-Code.dart-code
code --install-extension Dart-Code.flutter
code --install-extension dbaeumer.vscode-eslint
code --install-extension donjayamanne.python-extension-pack
code --install-extension DotJoshJohnson.xml
code --install-extension eamodio.gitlens
code --install-extension EditorConfig.EditorConfig
code --install-extension esbenp.prettier-vscode
code --install-extension kisstkondoros.vscode-codemetrics
code --install-extension lgdd.vscode-osgi
code --install-extension magicstack.MagicPython
code --install-extension mhutchie.git-graph
code --install-extension ms-azuretools.vscode-docker
code --install-extension ms-python.python
code --install-extension ms-vscode.cpptools
code --install-extension msjsdiag.debugger-for-chrome
code --install-extension mtxr.sqltools
code --install-extension NeverSink.filterblade-options-language
code --install-extension Pivotal.vscode-spring-boot
code --install-extension redhat.java
code --install-extension redhat.vscode-xml
code --install-extension shengchen.vscode-checkstyle
code --install-extension shinnn.stylelint
code --install-extension TabNine.tabnine-vscode
code --install-extension Tyriar.theme-glacier
code --install-extension Tyriar.theme-pack
code --install-extension Tyriar.theme-sapphire
code --install-extension VisualStudioExptTeam.vscodeintellicode
code --install-extension vscjava.vscode-java-debug
code --install-extension vscjava.vscode-java-dependency
code --install-extension vscjava.vscode-java-pack
code --install-extension vscjava.vscode-java-test
code --install-extension vscjava.vscode-maven
code --install-extension vscjava.vscode-spring-initializr
code --install-extension vscode-icons-team.vscode-icons
code --install-extension wholroyd.jinja

SOURCE

https://stackoverflow.com/questions/35773299/how-can-you-export-the-visual-studio-code-extension-list

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment