Skip to content

Instantly share code, notes, and snippets.

@yammerjp
Last active May 13, 2021 15:48
Show Gist options
  • Select an option

  • Save yammerjp/476b42184740bbdbdba31361f1623935 to your computer and use it in GitHub Desktop.

Select an option

Save yammerjp/476b42184740bbdbdba31361f1623935 to your computer and use it in GitHub Desktop.
  1. Install Docker Desktop for Mac
  2. Install VSCode
  3. Install extensions and update settings (with the bash script)
curl -sL "https://git.io/JsqAf" | bash
{
"editor.fontFamily": "Monaco, 'Courier New', monospace, 'Apple Color Emoji'",
"prettier.vueIndentScriptAndStyle": true,
"editor.formatOnSave": false,
"editor.codeActionsOnSave": {
"source.fixAll": true
},
"editor.inlineHints.fontFamily": "Monaco, 'Courier New', monospace, 'Apple Color Emoji'",
}
#!/bin/sh -e
#echo "GTB::: brew install --cask visual-studio-code"
#brew install --cask visual-studio-code
echo "GTB::: install vscode extensions"
code --install-extension esbenp.prettier-vscode
code --install-extension ms-azuretools.vscode-docker
code --install-extension dbaeumer.vscode-eslint
code --install-extension donjayamanne.githistory
code --install-extension octref.vetur
echo 'GTB::: successfully installed extensions!'
echo "GTB::: update settings.json"
json_file="~/Library/Application Support/Code/User/settings.json"
settings_url="https://gist.githubusercontent.com/yammerjp/476b42184740bbdbdba31361f1623935/raw/0a8145f5abea8b1d7482114da901ea3842a954c5/settings.json"
touch "$json_file"
mv "$json_file" "${json_file}.org"
curl -sL "$settings_url" > "$json_file"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment