VSCode set-up

First steps

  1. Create a MEDS/EDS-220 directory in your personal computer if you don’t have one yet.

  2. Open VSCode.

Confirm git installation

  1. Add a new bash terminal in it.

  1. Confirm git installation by running git version in the terminal. If git is installed you will get something similar to
git version 2.33.1
  1. If you don’t get a similar output, install git by following the MEDS installation guide.

Initialize your repository

  1. Clone your eds220-in-class repository inside the MEDS/EDS-220 directory. You can do this using the terminal or using the VSCode interface:

Configure git pull.rebase

  1. Configure the way git handles git pull by running in the terminal:
git config --global pull.rebase false

The --global option saves this setting for every repository on this computer, so you only need to run it once per computer.

  1. Verify that your configuration was successful by running:
git config --global --list

This command shows you all the settings git is using at the moment. Your output should look something like this:

user.name=carmengg
user.email=c_galazgarcia@ucsb.edu
pull.rebase=false

If you see pull.rebase=false it means the configuration was successful.

Check conda installation

  1. Confirm your conda installation by running conda info in the terminal. If conda is active you will get something similar to
active environment : base
active env location : /Users/galaz-garcia/opt/anaconda3
shell level : 1

[...]

UID:GID : 502:20
netrc file : None
offline mode : False
  1. If conda needs to be added to the shell profile, follow the troubleshooting steps in the MEDS installation guide within a bash terminal (not Powershell if you are on Windows).

Install the VSCode Python extension

  1. Install Python extension to VSCode:


  1. Install the Jupyter, Quarto, and Data Wrangler extensions to VSCode. Similar steps as above!

Universetocat by cameronfoxly. Octocat is a registered trademark of GitHub, Inc.; the octocat images are not covered by this website’s CC BY-NC 4.0 license.