Visual Studio Code Tutorial - Getting Started With VS Code
4.2 (218 ratings)
Course Ratings are calculated from individual students’ ratings and a variety of other signals, like age of rating and reliability, to ensure that they reflect course quality fairly and accurately.
18,526 students enrolled

Visual Studio Code Tutorial - Getting Started With VS Code

VS Code course for beginners & experienced developers
4.2 (218 ratings)
Course Ratings are calculated from individual students’ ratings and a variety of other signals, like age of rating and reliability, to ensure that they reflect course quality fairly and accurately.
18,526 students enrolled
Created by Todd Enso McLeod
Last updated 10/2019
English [Auto]
Current price: $20.99 Original price: $29.99 Discount: 30% off
23 hours left at this price!
30-Day Money-Back Guarantee
This course includes
  • 5 hours on-demand video
  • Full lifetime access
  • Access on mobile and TV
  • Certificate of Completion
Training 5 or more people?

Get your team access to 4,000+ top Udemy courses anytime, anywhere.

Try Udemy for Business
What you'll learn
  • Acquire great skills with VS Code
  • Write code more quickly
  • Customize Visual Studio Code
  • Integrate VS Code with Git
  • Taught by a university professor
  • From beginning to advanced concepts
  • Hands-on exercises with solutions
  • Over 2.65 Million students taught
  • Lifetime course access
  • Learn at your own pace
  • 100% satisfaction guaranteed
  • Never expires - lifetime access - forever!
  • This course is tried, tested, and proven
  • Mobile friendly
Course content
Expand all 72 lectures 05:11:58
+ Getting started
3 lectures 05:41

Welcome to the course. You are taking a great step by enrolling in this course. Better skills create a better life. You are on your way to a better life. As you learn new skills, you are building a better life. I commend you for your efforts to improve your life. As you improve your life, you are improving the world --- one person at a time. You are making the world better, and you are making your life better. This is a win-win for everybody. Great work! Also, this is your course. Use it in the way which is best for you. If you want to skip ahead, skip ahead. As your teacher, my job is to help you succeed. The content here is designed to help you succeed both with visual studio code, and also as a student and in life.

Preview 02:39

I am a tenured professor in California. I have taught at both the college and university level. I have also taught in multiple disciplines including business, information systems, computer science, and online education. In 1997, I was one of the first professors at the university to teach online. I did post-graduate work in online education at UC San Diego. I co-founded and taught in the “Online Teacher’s Training Program” which trained professors how to teach online. In 2008, I was selected as one of the best instructors in the entire California Community College system. Currently, when measured by the number of students served, I am the world’s leading trainer in Google’s new programming language which is one of the fastest growing, highest paying programming languages in America. My background in business, information systems, computer science, and online education has prepared me to teach this course!

Preview 02:09

You can find everything I use in the course and all of the courses resources here:

  • Folder -

  • Course outline -

  • github



  • Some of my favorite things

Course resources
+ Learning tools
7 lectures 25:35

Understanding what has made others successful can help you become successful. These are principles which have helped me become successful. I learned these principles from others and from my own experience. I share these principles to help you succeed in this course and in life:

  • GRIT

    • Grit - Angela Duckworth


    • Time on task

    • Small frequent engagements

    • Multiple perspectives, multiple engagements

    • my teachers

      • drop by drop, the bucket gets filled

      • persistently, patiently, you are bound to succeed


    • Bill Gates & Warren Buffett


    • Bill Gates, “If you want to be successful, get in front of what’s coming and let it hit you.”


    • The 7 Habits of Highly Effective People

The Journey - Skills To Build A Better life: Healthier, Wealthier, Happier

Preview 06:50

You can change the speed of videos: either slow them down, or speed them up. Adjust the speed as necessary for your learning style. Fast-forward if you want to skim over material. Slow me down if you need me to go slower.


The fastest way to reach me is via Twitter: Ask your questions there by (1) tweeting the question and tagging me in it or (2) sending me a direct message.


Things change. The most important thing to learn are principles: a concept, an idea, what is possible. The implementation of a concept or an idea will change. There is the “principle” (what can be done) and there is the “practice” (the way it’s done). If there is a difference between the principle and the practice, if there is a difference between what I show you and how you do it now, the most important thing to remember is the principle: the concept, the idea of what is possible. As the world changes, it is necessary for us to figure out how to do what we want or need to do. Knowing that something can be done is the first part. Figuring out how to do it is the second part. What I show you may have changed since the time when I recorded this video. If this is the case, see if you can figure out the new way to do what needs to be done:

  • Google for the solution

  • YouTube for the solution

  • Tag me in a tweet and ask:

    • @Todd_McLeod


The exercises are for your benefit. The more you do something, the better you get at it. The exercises are not required.

Sometimes my courses are used in classes at colleges, universities, high schools, and other schools. If this is the case and this course here is being used in a course you are taking at a school, your teacher there might require that you do the assignments. If that is your case, check with your teacher.


Occasionally I will provide personal anecdotes. When learning, it is natural for individuals in a course to connect in a personal way. Research shows that students do better in classes where there is a personal connection. By and large, I will reserve personal anecdotes for the end of a video. By and large, I will let you know that (1) we are done learning what we needed to learn in this one video and (2) now I am going to share a personal anecdote and, if you are in a rush, you can stop watching this video and go to the next video.

  • What makes a good life? Lessons from the longest study on happiness | Robert Waldinger

  • Smarter Faster Better: The Transformative Power of Real Productivity by Charles Duhigg


    • internal locus of control

+ Coding fundamentals
3 lectures 17:30

This section will show you how to set up your development environment. If you are experienced with programming, you can skip this section and any other sections you want. This is your course after all. I am here to help you. As there are a variety of students who will take this course, I believe in providing a clear continuity of curriculum so that even those who are just getting started have a pathway to success.

  • terminology

    • GUI = graphical user interface

    • CLI = command line interface - command line

      • terminal = text input/output environment; console = physical terminal

        • unix / linux / mac

          • shell / bash / terminal

        • windows

          • command prompt / windows command / cmd / dos prompt

The terminal

  • linux on Windows

    • developer features

      • Linux subsystem for Windows

    • bash

article with steps here and another article

Bash on windows
+ Bash fundamentals
5 lectures 36:05
  • shell / bash commands

    • pwd

    • ls

    • cd <directory>

    • cd ../

    • cd or cd ~

    • mkdir <directory>

clear or command + k

Working with directories
  • shell / bash commands

    • ls -la

owner group bytes last modification hidden & name

d = directory r = read w = write x = execute

rwxrwxrwx = owner, group, world

Viewing directory details
  • shell / bash commands

    • touch <file name>

      • example: touch temp.txt

    • nano <file name>

    • cat <file name>

Working with files
  • shell / bash commands

    • rm <file name>

    • rm -rf <file or folder name>

Removing items
  • shell / bash commands

    • chmod <owner group world> <file or folder>

      • example: chmod 764 temp.txt

    • sudo

      • super user do

  • permissions

    • owner, group, world

    • r, w, x, no permission

    • 4, 2, 1, 0

r = read w = write x = execute

rwxrwxrwx = owner, group, world

Working with permissions
+ Environment variables
4 lectures 19:30
  • Environment variables are a set of variables on a computer. They are part of the environment in which a process runs.

  • shell / bash commands

    • env

  • “path” environment variable

    • PATH is an environment variable on Unix-like operating systems, DOS, OS/2, and Microsoft Windows, specifying a set of directories where executable programs are located. In general, each executing process or user session has its own PATH setting.

    • often executable files will be in a “bin” folder which stands for binary.

  • .bash_profile & .bashrc

    • .bash_profile is executed for login shells

      • When you login (type username and password) via console, either sitting at the machine, or remotely via ssh, .bash_profile is executed to configure your shell before the initial command prompt.

    • .bashrc is executed for interactive non-login shells

  • shell / bash commands

    • export <environment variable name>=“<path>”

    • $<environment variable name>

examples of setting environment variables:

  • export GOPATH=“/Users/toddmcleod/go”

  • export PATH=“$PATH:/Users/toddmcleod/go/bin”

Setting environment variables - mac, linux

Search for “environment variables”

Setting environment variables - windows
+ Hands-on Exercises - Ninja level 1
5 lectures 11:24

For this hands-on exercise, at the terminal:

  • navigate to “Documents”

  • create a folder “HappyDog”

  • navigate to that folder

  • look to see if there are any files or folders in that folder

  • navigate back to documents

Hands-on exercise #1

For this hands-on exercise, at the terminal:

  • navigate to the folder “HappyDog”

  • create a file “be-happy.txt”

  • edit this file to include items that make you happy

  • show the contents of this file at the terminal

  • navigate to “Documents”

Hands-on exercise #2

For this hands-on exercise:

  • Navigate to “HappyDog”

  • change the permissions on the file “be-happy.txt”

    • user: read, write

    • group: read

    • world: nothing

  • confirm that the permissions are set that way

  • navigate to “Documents”

Hands-on exercise #3

For this hands-on exercise:

  • Navigate to “HappyDog”

  • Delete “be-happy.txt”

Hands-on exercise #4

For this hands-on exercise:

  • Navigate to “Documents”

  • Delete “HappyDog”

  • confirm this directory has been deleted

  • navigate to your user’s folder

Hands-on exercise #5
+ Getting started
3 lectures 08:18

There are many reasons to use vs code:

  • Free

  • Open source

  • Extensible

  • Cross platform

    • Files go back-and-forth between platforms seamlessly

  • Powerful

  • Popular

  • Light weight

  • Microsoft

  • Supports many languages

  • Great with Go

  • More benefits:


      • intelliSense code completion

      • debugging

      • built-in git

      • extensions


      • first steps

        • intro videos

        • settings

      • keyboard shortcuts


      • why did we build vs code

Why vs code?

Downloading and installing vs code is a straight-forward process:


  • MAC

    • drag to applications directory

  • Opening vs code

    • click it in applications

    • spotlight search

      • cmd + spacebar

        • type in “vs code”

Downloading and installing - mac

Downloading and installing vs code is a straight-forward process:


Downloading and installing - windows
+ Exploring vs code
4 lectures 18:36

The welcome screen has a lot of useful features. Instead of dismissing the welcome screen, take a moment to look at it. This video covers the features found on the welcome screen. To bring the welcome screen back up, use the menu option “HELP / WELCOME”

The welcome screen

The interface overview introduces the different areas of vs code. A lot of great shortcuts are shown in the interface overview:

  • file explorer

    • command + shift +E

  • find / search across files

    • command + shift + F

  • source code control

    • control + shift + G

  • debug

    • command + shift + D

  • extensions

    • command + shift + E

  • command palette

    • command + shift + P

  • errors and warnings

    • command + shift + M

  • terminal

    • control + back-tick

Interface overview

If at any time your vs code does not look like my vs code, go to the “view” dropdown menu and play with the options.

View menu
  • Code

    • about

    • check for updates

    • preferences

    • quit

Code menu
+ Files, folders, and workspaces
7 lectures 55:44
  • new files

  • auto save

    • saves changes as you work

File menu
  • creating a github account

  • creating a github repo

  • the “git” story and Linus, The Patron Saint of Programming

  • Nelson Mandela and Invictus

Getting started with git
  • setting up SSH key using shell / bash / terminal

    • works on Mac, Linux, and Windows

    • ssh-keygen -t rsa

  • Putting the SSH pub key on github

  • Asymmetric public - private key encryption

  • Symmetric key encryption

Using ssh for authentication

Connecting a folder on our computer with github

Cloning a repo using ssh
  • We’re actually going to start writing code.

  • changing theme

  • folder

    • open a folder

  • workspaces

    • save as a workspace

    • open a workspace

Folders and workspaces

  • adding the “go” extension to vs code

    • windows potential snafu: if you didn’t allow git-scm to use third-party software, then vs code will not be able to install the “go” extension. To solve this, reinstall git-scm and allow third-party software to use git

Installing go
  • stage changes

  • commit changes

  • push changes

Git in vs code
+ Hands-on Exercises - Ninja level 2
6 lectures 14:33

For this hands-on exercise:

  • change vs code’s theme to “high contrast” (or something else)

  • enable auto save every 1000 ms

  • check for updates for vs code

Hands-on exercise #1

For this hands-on exercise:

  • tweet your favorite poem and tag me in the tweet @Todd_Mcleod


Hands-on exercise #2

For this hands-on exercise:

  • generate an SSH key at the terminal / bash / shell

  • add the public key (.pub) to github

Hands-on exercise #3

For this hands-on exercise:

  • clone a github repo using ssh

Hands-on exercise #4

For this hands-on exercise:

  • in vs code, open the folder of the repo you cloned in “hands-on exercise #4”

  • create a file

  • save as a workspace

  • close the workspace

  • open the workspace

Hands-on exercise #5

For this hands-on exercise:

  • in vs code, open the workspace you created in “hands-on exercise #5”

  • in vs code, stage changes, commit changes, and push changes

  • verify the file you created is on github

Preview 02:20
  • No prerequisite knowledge is required to take this course. This course starts at the very beginning and will teach you everything you need to know.

Being skilled at using VS Code increases your productivity and professionalism.

This course will give you the skills you need to use Visual Studio Code well. This course is very practical and applicable. It focuses on teaching you skills you can use.

You will gain skills in this course which you will use for the rest of your life and which will make your life easier. Knowing how to use VS Code is essential for today's developers. VS Code is the world's most popular source code editor. This course will give you the skills you need to use VS Code well.

Presented with high-quality video lectures, this course will visually show you how to easily use VS Code. Taught by a tenured professor in California, this is just some of what you will learn in this course:

  • Learn to succeed as a student

  • Gain fundamental skills of coding

  • Establish solid abilities with the command line

  • Understand how to run bash on Windows

  • Learn fundamental bash commands

  • Acquire the ability change file permissions

  • Gain insight into environment variables

  • Learn to set environment variables

  • Understand why VS Code is the best choice today

  • Learn how to install VS Code

  • Become orientated to VS Code's environment

  • Learn VS Code short-cut keys

  • Gain the ability to adjust VS Code's interface

  • Understand the difference between files, folders, and workspaces

  • Connect git version control repositories with VS Code

  • Use VS Code for your git workflow process

  • Gain insight into writing code with VS Code

  • Acquire the ability to do multi-cursor editing

  • Learn to duplicate and move lines of code

  • Gain the ability to access VS Code documentation

  • Understand the command palette

  • Learn to use mini-map and breadcrumbs

  • Gain insight into adjusting preferences

  • Acquire the ability to create code snippets

  • Learn to use VS Code for troubleshooting errors

  • Gain the ability to use debugging within VS Code

  • Learn to create markdown documents in VS Code

  • Acquire the ability to find and install VS Code extensions

This is an amazing course! This course will change your life. Knowing how to use VS Code well is essential today. This course will increase your proficiency, productivity, and professionalism. You are going to love this course and it will forever change your life.

This course is tried, tested, and proven. Your satisfaction is guaranteed.

Join me and enroll now.

Who this course is for:
  • This course is ideal for individuals wanting to use VS Code effectively
  • This course is perfect for beginners. No prior knowledge is needed to begin.
  • Individuals with experience will also benefit from this course by gaining additional insights and skills.
  • This course is perfect for anyone wanting to use VS Code more proficiently and productively.