Skip to content

Instantly share code, notes, and snippets.

@rroman81
Last active January 31, 2018 00:47
Show Gist options
  • Save rroman81/6fe8d373ff328ed0043069751663ea5b to your computer and use it in GitHub Desktop.
Save rroman81/6fe8d373ff328ed0043069751663ea5b to your computer and use it in GitHub Desktop.
$extensions =
"bradygaster.azuretoolsforvscode",
"cake-build.cake-vscode",
"christian-kohler.npm-intellisense",
"eamodio.gitlens",
"eg2.tslint",
"eg2.vscode-npm-script",
"felipecaputo.git-project-manager",
"felixfbecker.php-intellisense",
"formulahendry.code-runner",
"johnpapa.azure-functions-tools",
"jtjoo.classic-asp-html",
"magicstack.MagicPython",
"Mikael.Angular-BeastCode",
"ms-azuretools.vscode-azureappservice",
"ms-azuretools.vscode-azurefunctions",
"ms-azuretools.vscode-azurestorage",
"ms-mssql.mssql",
"ms-python.python",
"ms-vscode.azure-account",
"ms-vscode.azurecli",
"ms-vscode.cpptools",
"ms-vscode.csharp",
"ms-vscode.PowerShell",
"ms-vsts.team",
"msazurermtools.azurerm-vscode-tools",
"msjsdiag.debugger-for-chrome",
"PeterJausovec.vscode-docker",
"robertohuertasm.vscode-icons",
"wk-j.cake-runner"
$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 Green
} else {
Write-Host "Installing" $ext "..." -ForegroundColor Yellow
code --install-extension $ext
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment