Skip to content

Instantly share code, notes, and snippets.

@scaryrawr
Last active October 21, 2021 15:06
Show Gist options
  • Select an option

  • Save scaryrawr/9c389be86124c331e97b87891ce4ed7d to your computer and use it in GitHub Desktop.

Select an option

Save scaryrawr/9c389be86124c331e97b87891ce4ed7d to your computer and use it in GitHub Desktop.
Python script for installing extensions
#!/usr/bin/env python3
import os
import sys
vscodes = sys.argv[1:]
plugins = [
'aaron-bond.better-comments',
'bierner.markdown-mermaid',
'davidanson.vscode-markdownlint',
'dbaeumer.vscode-eslint',
'dlasagno.wal-theme',
'eamodio.gitlens',
'esbenp.prettier-vscode',
'Gruntfuggly.todo-tree',
'heaths.vscode-guid',
'letmaik.git-tree-compare',
'ms-dotnettools.csharp',
'ms-python.python',
'ms-python.vscode-pylance',
'ms-vscode.cpptools-extension-pack',
'ms-vscode.powershell-preview',
'msjsdiag.debugger-for-edge',
'streetsidesoftware.code-spell-checker',
'VisualStudioExptTeam.vscodeintellicode',
'vscode-icons-team.vscode-icons',
'matklad.rust-analyzer',
'serayuzgur.crates',
'yzhang.markdown-all-in-one']
for vscode in vscodes:
for p in plugins:
os.system('{} --install-extension {}'.format(vscode, p))
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment