Created
March 16, 2021 19:56
-
-
Save MrPickles2009/0ec6720fe3200824e704225f6a9fb111 to your computer and use it in GitHub Desktop.
Install vs-code extensions (Mac)
This file contains 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
extensions=( | |
"dbaeumer.vscode-eslint" | |
"eamodio.gitlens" | |
"HookyQR.beautify" | |
"johnpapa.vscode-peacock" | |
"karigari.chat" | |
"killalau.vscode-liquid-snippets" | |
"miramac.vscode-exec-node" | |
"ms-dotnettools.csharp" | |
"ms-python.python" | |
"ms-python.vscode-pylance" | |
"ms-toolsai.jupyter" | |
"ms-vscode-remote.remote-wsl" | |
"ms-vscode.cpptools" | |
"ms-vscode.powershell" | |
"ms-vscode.Theme-MarkdownKit" | |
"ms-vscode.Theme-MaterialKit" | |
"ms-vsliveshare.vsliveshare" | |
"ms-vsliveshare.vsliveshare-audio" | |
"ms-vsliveshare.vsliveshare-pack" | |
"msjsdiag.debugger-for-chrome" | |
"msjsdiag.debugger-for-edge" | |
"naumovs.color-highlight" | |
"neilding.language-liquid" | |
"octref.vetur" | |
) | |
function ProgressBar { | |
let _progress=(${1}*100/${2}*100)/100 | |
let _done=(${_progress}*4)/10 | |
let _left=40-$_done | |
_fill=$(printf "%${_done}s") | |
_empty=$(printf "%${_left}s") | |
clear | |
printf "Installing ${1} of ${2}: [${_fill// /#}${_empty// /-}] ${_progress}%%\n\n" | |
} | |
for (( i=0; i < ${#extensions[@]}; i++ )) | |
do | |
code --install-extension ${extensions[$i]} | |
ProgressBar `expr $i + 1` ${#extensions[@]} | |
done | |
printf "Finished 😊\n" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment