Last active
December 21, 2018 06:58
-
-
Save simenandre/fa0fd7f54480dfa062a96762cf664488 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/bin/bash | |
| EXTENSIONS=( | |
| "aaron-bond.better-comments" | |
| "dbaeumer.jshint" | |
| "dbaeumer.vscode-eslint" | |
| "eamodio.gitlens" | |
| "eg2.tslint" | |
| "HookyQR.beautify" | |
| "kumar-harsh.graphql-for-vscode" | |
| "mauve.terraform" | |
| "ms-vscode.atom-keybindings" | |
| "RamiroBerrelleza.bitbucket-pull-requests" | |
| "sodatea.velocity" | |
| "zhuangtongfa.Material-theme" | |
| ); | |
| if ! [ -x "$(command -v code)" ]; then | |
| echo "Error: vscode is not installed in the commandline." >&2 | |
| exit 1 | |
| fi | |
| echo "Installing VSCode extensions" | |
| for i in "${EXTENSIONS[@]}" | |
| do | |
| code --install-extension $i | |
| done | |
| vscodeSettings='{ | |
| "atomKeymap.promptV3Features": true, | |
| "editor.multiCursorModifier": "ctrlCmd", | |
| "editor.formatOnPaste": true, | |
| "workbench.colorTheme": "One Dark Pro", | |
| "editor.fontSize": 17, | |
| "git.confirmSync": false, | |
| "git.enableSmartCommit": true, | |
| "git.autofetch": true | |
| }' | |
| echo "Installing settings" | |
| echo $vscodeSettings > $HOME/Library/Application\ Support/Code/User/settings.json |
Author
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Install using:
curl -L https://gist.githubusercontent.com/cobraz/fa0fd7f54480dfa062a96762cf664488/raw/145c543c90eadf4c67699badb64fd40030a7aa86/install_vscode_setup.sh | bash