Skip to content

Instantly share code, notes, and snippets.

@w3cj
Created April 30, 2020 15:01
Show Gist options
  • Star 93 You must be signed in to star a gist
  • Fork 40 You must be signed in to fork a gist
  • Save w3cj/520eb023dd3531d1b654794f65aa434b to your computer and use it in GitHub Desktop.
Save w3cj/520eb023dd3531d1b654794f65aa434b to your computer and use it in GitHub Desktop.
alexcvzz.vscode-sqlite
andys8.jest-snippets
apollographql.vscode-apollo
austincummings.razor-plus
bobsparadox.seti-black
BriteSnow.vscode-toggle-quotes
christian-kohler.npm-intellisense
christian-kohler.path-intellisense
CoenraadS.bracket-pair-colorizer
dbaeumer.vscode-eslint
esbenp.prettier-vscode
formulahendry.auto-close-tag
formulahendry.auto-rename-tag
fosshaas.fontsize-shortcuts
ginfuru.ginfuru-onedark-raincoat-theme
glitch.glitch
HookyQR.beautify
JamesBirtles.svelte-vscode
JCsoftIA.jcsoftia
joelday.docthis
johnpapa.vscode-cloak
ms-azuretools.vscode-docker
MS-CEINTL.vscode-language-pack-es
ms-mssql.mssql
ms-vscode-remote.remote-ssh
ms-vscode-remote.remote-ssh-edit
ms-vscode.azure-account
ms-vsliveshare.vsliveshare
msjsdiag.debugger-for-chrome
Nimda.deepdark-material
Nur.just-black
octref.vetur
Orta.vscode-jest
patbenatar.advanced-new-file
PKief.material-icon-theme
ritwickdey.LiveServer
SmukkeKim.theme-setimonokai
streetsidesoftware.code-spell-checker
vscode-icons-team.vscode-icons
WallabyJs.quokka-vscode
WallabyJs.wallaby-vscode
whatwedo.twig
Zignd.html-css-class-completion
@daanbreur
Copy link

daanbreur commented Apr 30, 2020

$extensions =
      "alexcvzz.vscode-sqlite",
      "andys8.jest-snippets",
      "apollographql.vscode-apollo",
      "austincummings.razor-plus",
      "bobsparadox.seti-black",
      "BriteSnow.vscode-toggle-quotes",
      "christian-kohler.npm-intellisense",
      "christian-kohler.path-intellisense",
      "CoenraadS.bracket-pair-colorizer",
      "dbaeumer.vscode-eslint",
      "esbenp.prettier-vscode",
      "formulahendry.auto-close-tag",
      "formulahendry.auto-rename-tag",
      "fosshaas.fontsize-shortcuts",
      "ginfuru.ginfuru-onedark-raincoat-theme",
      "glitch.glitch",
      "HookyQR.beautify",
      "JamesBirtles.svelte-vscode",
      "JCsoftIA.jcsoftia",
      "joelday.docthis",
      "johnpapa.vscode-cloak",
      "ms-azuretools.vscode-docker",
      "MS-CEINTL.vscode-language-pack-es",
      "ms-mssql.mssql",
      "ms-vscode-remote.remote-ssh",
      "ms-vscode-remote.remote-ssh-edit",
      "ms-vscode.azure-account",
      "ms-vsliveshare.vsliveshare",
      "msjsdiag.debugger-for-chrome",
      "Nimda.deepdark-material",
      "Nur.just-black",
      "octref.vetur",
      "Orta.vscode-jest",
      "patbenatar.advanced-new-file",
      "PKief.material-icon-theme",
      "ritwickdey.LiveServer",
      "SmukkeKim.theme-setimonokai",
      "streetsidesoftware.code-spell-checker",
      "vscode-icons-team.vscode-icons",
      "WallabyJs.quokka-vscode",
      "WallabyJs.wallaby-vscode",
      "whatwedo.twig",
      "Zignd.html-css-class-completion"

$cmd = "code --list-extensions"
Invoke-Expression $cmd -OutVariable output | Out-Null
$installed = $output -split "\s"

foreach ($ext in $extensions) {
    if ($installed.Contains($ext)) {
        Write-Host $ext "already installed." -ForegroundColor Gray
    } else {
        Write-Host "Installing" $ext "..." -ForegroundColor White
        code --install-extension $ext
    }
}

for all windows users
put that in a file called cj-vscodeinstall.ps1
and run it!

@w3cj
Copy link
Author

w3cj commented May 14, 2020

On linux / mac run:

while read line; do code --install-extension "$line";done < vscode-extensions.txt

@filliperomero
Copy link

On linux / mac run:

while read line; do code --install-extension "$line";done < vscode-extensions.txt

Or you can just use this command when you want to copy all your extensions:
code --list-extensions | xargs -L 1 echo code --install-extension

@nikhilgorantla
Copy link

@QUzair
Copy link

QUzair commented Sep 16, 2020

import os
with open('vscode-extensions.txt') as f:
    for line in f:
        os.system('code --install-extension ' + line)

For me the given bash commands did not function, but the python script did above.

Copy link

ghost commented Sep 28, 2020

Thanks CJ, it's really helpful! You're so good to put them out! I also love what you're doing and I too hope to do so one day. I watch all your livestreams and videos. They're reallly 🎉 💯 🥇 🏆 . Make sure you never stop them. Thanks!

@LapsTimeOFF
Copy link

LapsTimeOFF commented Oct 11, 2020

$extensions =
      "alexcvzz.vscode-sqlite",
      "andys8.jest-snippets",
      "apollographql.vscode-apollo",
      "austincummings.razor-plus",
      "bobsparadox.seti-black",
      "BriteSnow.vscode-toggle-quotes",
      "christian-kohler.npm-intellisense",
      "christian-kohler.path-intellisense",
      "CoenraadS.bracket-pair-colorizer",
      "dbaeumer.vscode-eslint",
      "esbenp.prettier-vscode",
      "formulahendry.auto-close-tag",
      "formulahendry.auto-rename-tag",
      "fosshaas.fontsize-shortcuts",
      "ginfuru.ginfuru-onedark-raincoat-theme",
      "glitch.glitch",
      "HookyQR.beautify",
      "JamesBirtles.svelte-vscode",
      "JCsoftIA.jcsoftia",
      "joelday.docthis",
      "johnpapa.vscode-cloak",
      "ms-azuretools.vscode-docker",
      "MS-CEINTL.vscode-language-pack-es",
      "ms-mssql.mssql",
      "ms-vscode-remote.remote-ssh",
      "ms-vscode-remote.remote-ssh-edit",
      "ms-vscode.azure-account",
      "ms-vsliveshare.vsliveshare",
      "msjsdiag.debugger-for-chrome",
      "Nimda.deepdark-material",
      "Nur.just-black",
      "octref.vetur",
      "Orta.vscode-jest",
      "patbenatar.advanced-new-file",
      "PKief.material-icon-theme",
      "ritwickdey.LiveServer",
      "SmukkeKim.theme-setimonokai",
      "streetsidesoftware.code-spell-checker",
      "vscode-icons-team.vscode-icons",
      "WallabyJs.quokka-vscode",
      "WallabyJs.wallaby-vscode",
      "whatwedo.twig",
      "Zignd.html-css-class-completion"

$cmd = "code --list-extensions"
Invoke-Expression $cmd -OutVariable output | Out-Null
$installed = $output -split "\s"

foreach ($ext in $extensions) {
    if ($installed.Contains($ext)) {
        Write-Host $ext "already installed." -ForegroundColor Gray
    } else {
        Write-Host "Installing" $ext "..." -ForegroundColor White
        code --install-extension $ext
    }
}

for all windows users
put that in a file called cj-vscodeinstall.ps1
and run it!

If you use Code-Insiders :

$extensions =
      "alexcvzz.vscode-sqlite",
      "andys8.jest-snippets",
      "apollographql.vscode-apollo",
      "austincummings.razor-plus",
      "bobsparadox.seti-black",
      "BriteSnow.vscode-toggle-quotes",
      "christian-kohler.npm-intellisense",
      "christian-kohler.path-intellisense",
      "CoenraadS.bracket-pair-colorizer",
      "dbaeumer.vscode-eslint",
      "esbenp.prettier-vscode",
      "formulahendry.auto-close-tag",
      "formulahendry.auto-rename-tag",
      "fosshaas.fontsize-shortcuts",
      "ginfuru.ginfuru-onedark-raincoat-theme",
      "glitch.glitch",
      "HookyQR.beautify",
      "JamesBirtles.svelte-vscode",
      "JCsoftIA.jcsoftia",
      "joelday.docthis",
      "johnpapa.vscode-cloak",
      "ms-azuretools.vscode-docker",
      "MS-CEINTL.vscode-language-pack-es",
      "ms-mssql.mssql",
      "ms-vscode-remote.remote-ssh",
      "ms-vscode-remote.remote-ssh-edit",
      "ms-vscode.azure-account",
      "ms-vsliveshare.vsliveshare",
      "msjsdiag.debugger-for-chrome",
      "Nimda.deepdark-material",
      "Nur.just-black",
      "octref.vetur",
      "Orta.vscode-jest",
      "patbenatar.advanced-new-file",
      "PKief.material-icon-theme",
      "ritwickdey.LiveServer",
      "SmukkeKim.theme-setimonokai",
      "streetsidesoftware.code-spell-checker",
      "vscode-icons-team.vscode-icons",
      "WallabyJs.quokka-vscode",
      "WallabyJs.wallaby-vscode",
      "whatwedo.twig",
      "Zignd.html-css-class-completion"

$cmd = "code-insiders --list-extensions"
Invoke-Expression $cmd -OutVariable output | Out-Null
$installed = $output -split "\s"

foreach ($ext in $extensions) {
    if ($installed.Contains($ext)) {
        Write-Host $ext "already installed." -ForegroundColor Gray
    } else {
        Write-Host "Installing" $ext "..." -ForegroundColor White
        code-insiders --install-extension $ext
    }
}

@udayptl9
Copy link

import os
with open('vscode-extensions.txt') as f:
    for line in f:
        os.system('code --install-extension ' + line)

For me the given bash commands did not function, but the python script did above.

Thank You Sir. It helped me lot

@iamabhishekgarg
Copy link

where i will get vscodeinstall.ps1

@LapsTimeOFF
Copy link

where i will get vscodeinstall.ps1

You just need to created a blank file

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