Fireship · @fireship
VS Code Top-Ten Pro Tips
Uploaded June 7, 2018 · Length 9:36
Summary
Learn top 10 pro tips for using Visual Studio Code effectively, including hotkeys, command palette, snippets, intellisense, and debugging.
- vs code pro tips
- visual studio code tutorial
- code editor productivity
- vs code hotkeys
- vs code snippets
- vs code debugging
Transcript preview
The first 2 minutes of the transcript. Select a timestamp to watch that moment on YouTube.
- 0:00
[Music]
- 0:06
in just three years
- 0:08
Visual Studio code has gone from being
- 0:09
non-existent to the single most popular
- 0:11
code editor among all developers
- 0:13
according to the Stack Overflow 2018
- 0:15
survey I personally like it because it's
- 0:17
minimal yet super powerful and free and
- 0:20
open source in this episode I'll show
- 0:22
you exactly what I mean by taking you
- 0:23
through my top 10 pro tips or using the
- 0:25
BS code effectively if you're new here
- 0:27
hit subscribe and you'll find a full
- 0:29
write-up on angular firebase comm the
- 0:31
first thing you should know is how to
- 0:33
get around the file system quickly you
- 0:35
can open up vs code by running code from
- 0:37
the command line with the directory that
- 0:38
you want to open it the quickest way to
- 0:40
move around is to memorize a few hotkeys
- 0:42
or key bindings if you hit ctrl K it'll
- 0:45
bring up a full list of key bindings
- 0:47
that you can search through and
- 0:48
customize as needed but the single most
- 0:50
important one is ctrl P which brings up
- 0:52
the command palette we'll be using the
- 0:54
command palette a lot in this video so
- 0:56
don't forget this one to navigate
- 0:58
between files you can simply start
- 0:59
typing the file name and it will
- 1:01
automatically search through your tree
- 1:02
to find the corresponding file that's
- 1:05
way quicker than trying to navigate
- 1:06
through a directory tree by clicking but
- 1:08
sometimes you might want to bookmark
- 1:09
specific lines of code and navigate to
- 1:11
them later for that I recommend using a
- 1:13
bookmark plugin which will allow us to
- 1:15
highlight a block of code set a bookmark
- 1:17
number for it and then easily navigate
- 1:19
to it later on using that command
- 1:21
palette and BS code as you probably
- 1:23
noticed I'm here in an angular project
- 1:24
so I'm going to install some snippets to
- 1:26
generate a lot of the boilerplate code
- 1:28
for me and angular we have two really
- 1:30
good snippet libraries one from Mike
- 1:32
Moreland and one from John Papa and you
- 1:34
can use them both together when you
- 1:36
install snippets they're automatically
- 1:38
added to the vs code intellisense so say
- 1:40
I need to code up something really
- 1:41
tedious like an NG switch statement I
- 1:43
can simply start typing the prefix in
- 1:45
the snippet library and it will
- 1:47
automatically generate this code for me
- 1:49
there's even snippets available for
- 1:51
libraries like angular material ng XS
- 1:53
and many others number E is vs codes
- 1:56
integrated command line terminal you can
- 1:59
pull it up by simply dragging from the


