Fireship · @fireship
VS Code in 100 Seconds
Uploaded November 26, 2021 · Length 2:34
Summary
VS Code tutorial for beginners: features, interface, and productivity hacks.
- vs code tutorial
- visual studio code
- code editor
- productivity hacks
- software development
Transcript preview
The first 2 minutes of the transcript. Select a timestamp to watch that moment on YouTube.
- 0:00
visual studio code a free and open
- 0:02
source program for editing code software
- 0:05
is just a collection of text files
- 0:06
organized in a precise way the s code
- 0:09
provides an integrated development
- 0:10
environment to help you edit analyze and
- 0:12
manage these files efficiently it's a
- 0:14
microsoft project that first appeared in
- 0:16
2015 as a lightweight cross-platform
- 0:19
code editor that ships a new update
- 0:20
every single month today it's the
- 0:22
world's most popular code editor
- 0:24
download it then use it to open a folder
- 0:26
that contains your application files
- 0:28
before you can write high quality code
- 0:30
you'll need to make the editor look cool
- 0:31
by clicking the settings icon to update
- 0:33
your syntax and icon themes next you'll
- 0:36
notice the file explorer contains all
- 0:38
the files in this directory open a file
- 0:40
and notice how the text inside is
- 0:41
colored that's because vs code analyzes
- 0:44
the symbols inside the file to perform
- 0:46
syntax highlighting it will
- 0:47
automatically detect problems in your
- 0:49
code if a variable is not used it
- 0:51
becomes a little more opaque a red
- 0:53
squiggly line appears if your code will
- 0:54
not compile hover over it for more
- 0:56
details it also creates an outline of
- 0:58
the code structure to quickly navigate
- 1:00
to the line of code that you're looking
- 1:02
for now as you start writing some code
- 1:04
in this file you'll notice a little box
- 1:05
pops up as you type professional
- 1:07
developers rarely type every character
- 1:09
instead they leverage vs code's
- 1:11
intellisense to autocomplete the code
- 1:13
that they were thinking about writing
- 1:14
when the right suggestion comes up hit
- 1:16
tab or enter to complete it you might
- 1:18
also right click on your code to find a
- 1:19
variety of options to analyze and
- 1:21
refactor it but almost anything you can
- 1:23
do with the mouse you can do faster with
- 1:25
the keyboard hit ctrl shift papa to
- 1:27
bring up the command palette from here
- 1:29
you can quickly access any vs code
- 1:31
command or any file in your project
- 1:33
let's use it to open up a terminal
- 1:34
session which brings up the command line
- 1:36
here at the bottom we can use it to run
- 1:38
commands in this project like git init
- 1:40
to enable source control or better yet
- 1:42
we can click on the source control icon
- 1:44
to run git commands with a visual
- 1:45
interface vs code is minimal by design
- 1:48
but as an open source javascript project
- 1:50
it's easily extendable from the
- 1:52
extensions panel you'll find a huge
- 1:53
number of packages that provide
- 1:55
specialized tooling for whatever
- 1:56
framework or language you're working
- 1:58
with most software projects work with
- 1:59
the cloud in some capacity the remote


