Skip to content

Instantly share code, notes, and snippets.

@zfarbp
Last active October 1, 2019 22:05
Show Gist options
  • Save zfarbp/63ae8e8b4b4ca8d94325d079e7dff7f2 to your computer and use it in GitHub Desktop.
Save zfarbp/63ae8e8b4b4ca8d94325d079e7dff7f2 to your computer and use it in GitHub Desktop.
Visual Code - Backup List of Installed Extensions, Settings and Keybindings

Visual Code - Backup List of Installed Extensions, Settings and Keybindings

List Extensions

Set VS Code Path

Open the Command Palette (⇧⌘P) and type 'shell command' to find the Shell Command: Install 'code' command in PATH command.

List installed extensions (+Install Statement)

Run command in terminal:

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

Output:

# ....
code --install-extension 1tontech.angular-material
code --install-extension abusaidm.html-snippets
code --install-extension actboy168.lua-debug
code --install-extension Angular.ng-template
code --install-extension AngularDoc.angulardoc-vscode
code --install-extension azemoh.one-monokai
code --install-extension christian-kohler.path-intellisense
code --install-extension cyrilletuzi.angular-schematics
code --install-extension DavidAnson.vscode-markdownlint
code --install-extension dbaeumer.jshint
# ....

Locate VS Code Settings and Keybindungs

$ cd ~/Library/Application Support/Code/User

$ ls *.json
keybindings.json settings.json
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment