Skip to content

Instantly share code, notes, and snippets.

@hedlund
Created July 25, 2018 21:52
Show Gist options
  • Save hedlund/89cf18b500e7c97eab807f02f173905b to your computer and use it in GitHub Desktop.
Save hedlund/89cf18b500e7c97eab807f02f173905b to your computer and use it in GitHub Desktop.
#!/bin/bash
###############################################################################
# Visual Studio Code #
###############################################################################
if [ -z "$(which code)" ]; then
echo "Visual Studio Code not available. Skipping!"
else
# Extensions
code --install-extension christian-kohler.npm-intellisense
code --install-extension christian-kohler.path-intellisense
code --install-extension dbaeumer.vscode-eslint
code --install-extension deerawan.vscode-dash
code --install-extension eamodio.gitlens
code --install-extension EditorConfig.EditorConfig
code --install-extension esbenp.prettier-vscode
code --install-extension formulahendry.auto-close-tag
code --install-extension formulahendry.auto-rename-tag
code --install-extension mitchdenny.ecdc
code --install-extension msjsdiag.debugger-for-chrome
code --install-extension wmaurer.change-case
# Languages
code --install-extension DotJoshJohnson.xml
code --install-extension geequlim.godot-tools
code --install-extension lukehoban.Go
code --install-extension mauve.terraform
code --install-extension ms-vscode.PowerShell
code --install-extension PeterJausovec.vscode-docker
# Themes
code --install-extension akamud.vscode-theme-onedark
code --install-extension file-icons.file-icons
fi
###############################################################################
# Node #
###############################################################################
if [ -z "$(which npm)" ]; then
echo "NPM not available. Skipping!"
else
npm install -g typescript
npm install -g yo
npm install -g serve
npm install -g depcheck
fi
###############################################################################
# Golang #
###############################################################################
if [ -z "$(which go)" ]; then
echo "Golang not available. Skipping!"
else
go get -u github.com/ramya-rao-a/go-outline
go get -u github.com/nsf/gocode
go get -u github.com/uudashr/gopkgs/cmd/gopkgs
go get -u github.com/acroca/go-symbols
go get -u golang.org/x/tools/cmd/guru
go get -u golang.org/x/tools/cmd/gorename
go get -u github.com/rogpeppe/godef
go get -u sourcegraph.com/sqs/goreturns
go get -u github.com/golang/lint/golint
go get -u github.com/kardianos/govendor
fi
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment