Skip to content

Instantly share code, notes, and snippets.

@jeff-pal
Last active February 20, 2022 12:46
Show Gist options
  • Save jeff-pal/2872bcb1c35e973b6be2d6be64f5ad65 to your computer and use it in GitHub Desktop.
Save jeff-pal/2872bcb1c35e973b6be2d6be64f5ad65 to your computer and use it in GitHub Desktop.
This is a shell script for installing my VS Code extensions list.
#!/bin/bash
: '
###########################################
# Stript for read my installed extensions #
###########################################
extensions=( $(code --list-extensions | xargs -L 1) )
echo "( "
for i in "${extensions[@]}"
do
echo "$i "
done
echo ")"
'
######################################
# Stript for install extensions list #
######################################
extensions=(
dbaeumer.vscode-eslint
dracula-theme.theme-dracula
dsznajder.es7-react-js-snippets
formulahendry.auto-rename-tag
humao.rest-client
oouo-diogo-perdigao.docthis
JakeBecker.elixir-ls
ms-vsliveshare.vsliveshare
PKief.material-icon-theme
streetsidesoftware.code-spell-checker
streetsidesoftware.code-spell-checker-portuguese-brazilian
Tyriar.sort-lines
xabikos.JavaScriptSnippets
hashicorp.terraform
GitHub.copilot
equinusocio.vsc-material-theme-icons
)
for i in "${extensions[@]}"
do
code --install-extension $i
done
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment