Visual Studio Code Installation

Setting Up Visual Studio Code

Before we start coding on our computer, we need to make sure we have the right tools! Programmers use integrated development environments (IDE) to write and run their code. The development environment we will be using for this class is Visual Studio Code . In addition to simply writing and running code, Visual Studio Code has tools that recognize errors in our code and has an integrated terminal so we can navigate through our filesystem to find the files that need our attention.

Note

Visual Studio Code is very customizable. Once you have everything set up, you can take additional steps to personalize your workspace such as changing the theme.

Go to the Visual Studio Code download page and download the appropriate version.

Mac Users

Please ensure that you download the correct version depending on your chip type. If you have an M1 or M2 you are running on Apple Silicon. If you have a different chip, you are most likely running on an Intel chip. If you are not sure, click on the Apple icon in the top left of your screen. Select “About this Mac”. You should see information regarding your Chip. And don’t hesitate to do an internet search about your chip if you are still not sure.

Open your new copy of Visual Studio Code. To open one of your coding projects, go to File > Open and select the project you want to work on.

To start working with the terminal, look for the Terminal tab in the top menu. To open at new terminal, Terminal > New Terminal. The new terminal window will open on the bottom of your IDE.

Windows Users

The terminal is in powershell, not Git Bash. To change this, open the Command Palette by going to View > Command Palette. Type “Select Default Profile” in the search window and select “Terminal: Select Default Profile” from the menu. Change the default to Git Bash.

Now every time you open the terminal, it will default to bash!

Note
  1. If Git Bash is not an option when attempting to change the terminal profile, try downloading the Github Pull Requests and Issues extension .
  2. This extension comes with terminal integration.
  3. Restart Visual Studio Code and then go into the Command Palette again to change the terminal profile.

More Resources

You can further explore resources within Visual Studio Code by viewing the documentation .