Skip to content

Instantly share code, notes, and snippets.

@nsticco
Last active April 10, 2023 18:34
Show Gist options
  • Save nsticco/900e333c2d1292e9fdf7602223e07e97 to your computer and use it in GitHub Desktop.
Save nsticco/900e333c2d1292e9fdf7602223e07e97 to your computer and use it in GitHub Desktop.
##########################################################################################
# Setup VS Code
##########################################################################################
echo "Installing VS Code..."
sudo snap install --classic code
# Disabled in favor of VS Code settings sync
# echo "Replacing VS Code settings..."
# curl -L "https://gist.github.com/nsticco/1b32f3b0f630df637436e407a8ba626d/raw" -o ~/.config/Code/User/settings.json
echo "Download coding fonts with ligatures..."
git clone https://github.com/lemeb/a-better-ligaturizer.git ~/a-better-ligaturizer
echo "Installing coding fonts..."
sudo cp -a ~/a-better-ligaturizer/output-fonts/. /usr/share/fonts/truetype/
echo "Installing VS Code extensions..."
code --install-extension daylerees.rainglow \
--install-extension secanis.jenkinsfile-support \
--install-extension ms-python.python \
--install-extension ms-vscode.cpptools \
--install-extension esbenp.prettier-vscode \
--install-extension bradgashler.htmltagwrap \
--install-extension dsznajder.es7-react-js-snippets \
--install-extension dunstontc.vscode-docker-syntax \
--install-extension formulahendry.code-runner \
--install-extension hashicorp.terraform \
--install-extension 4ops.terraform \
--install-extension eamodio.gitlens \
--install-extension vscode-icons-team.vscode-icons \
--install-extension zxh404.vscode-proto3 \
--install-extension ms-vscode.vs-keybindings \
--install-extension ms-vscode.cpptools \
--install-extension twxs.cmake \
--install-extension ms-vscode.cmake-tools \
--install-extension github.copilot \
--install-extension ms-azuretools.vscode-docker \
--install-extension dtsvet.vscode-wasm
echo "Installing Black code formatter for Python..."
pip3 install black
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment