[MUSIC]
>> Welcome back to Five Things.
In this Week we're going to talk about a topic we've
had before, Visual Studio Code.
I have the great wonderful Amanda.
>> Thanks.
>> So thing number one.
Language support Android Studio Code has changed and evolved.
>> Yeah.
>> What can you tell us?
>> Basically, the language support in
Visual Studio Code is based on a couple of different protocols.
So, it's got the TextMate bundles
that it can support any languages.
Can also support something called the Language Server Protocol.
But the result is there are scores of languages,
that Visual Studio Code supports.
Both supported by Microsoft as well as by the community.
Actually it's one of
the most popular editors
for a whole bunch of different programming languages.
Like for example, everybody knows that
Visual Studio Code is a favorite amongst JavaScript developers,
but it's also one of
the favorite editors for a Go and Rest developers as well.
>> That's really good.
>> Yeah it's pretty cool.
>> Thing number two, there's Python support.
But something special the AI?
>> I mean so there are a whole bunch of
different popular Python libraries
for doing AI and machine learning,
and one of the most popular ones is called PyTorch.
Actually, VS code has built in support for
PyTorch automatically as part of the VS Code.
So what's really cool about that,
is that if you want to understand
the variables that you're using in PyTorch.
You can see the name of them,
the weight of them,
the buyers and the D type.
>> So we can carry the torch for Python developers.
>> Sure.
>> Thing number three. There's a pretty good team
behind this Video Code, isn't there?
>> Yeah. It's actually a pretty fantastic team.
About half of the team is actually based in
Redmond and half of the team is based in Zurich,
which is where Erich Gamma is.
Eric gamma is the primary architect on Visual Studio Code.
You might know his name.
He was actually one of the original authors,
the four authors of Elements
of Reusable Patterns for Object-Oriented Software,
but it's commonly known as the Gang of Four book.
>> They are the four book?
>> Yeah. I came out like 1994.
So when I was getting my CS degree,
we all talked about the Gang of
Four book and now I get to work with them.
>> So that's great. Because pretty much every pattern I've ever
done came out of that book. It's really awesome.
>> Actually, like a lot of the refactoring patterns
that people do now or that Visual Studio supports,
also comes out of this Gang of Four book.
>> So we went from writing a book about patterns,
to creating one of the most popular editors in the world?
>> That's right. Yeah.
>> Thing number four. Pair programming.
I like to do it a lot. What can VS code do for us?
>> Well, one of the things that I'm really
excited about that we've been working on,
is something called Visual Studio LiveShare.
What that lets you do, is actually share the context of
the session that you're working on with somebody else.
So let's say you have a bug on your machine,
that you can't figure out what's going on.
You can basically create a new share.
Basically with the Visual Studio LiveShare extension for VS Code.
You can install that, and you could just click ''share,
'' and that'll give you
either a URL to share with somebody via an I am,
or chat context, or that can actually send a notification.
If you want to reach out to me then you send it to me,
and I can actually join your session.
So even if I'm on Windows,
let's say and I only have Visual Studio
installed and you are in VS Code in Linux,
you could actually invite me to your session.
Let's say you're programming
your favorite programming language JavaScript.
I don't have the node SDK installed on my machine,
I can actually connect to your work space in your session.
So with that, there are
various different degrees of control that you can give the guest.
>> hat if I don't want you to edit my code?
>> So you can make it read-only. That's one thing.
But you could also give me edit
permissions if you wanted to do that.
Then further if you want,
you could actually give me complete control over
the debugger and even terminal access.
So, that actually really comes in handy.
Especially, when you're setting up a developer environment,
and you're worried that the issue
is an environment variable or some path setting.
>> Great. So I basically heard you're telling everybody
that you are available to edit and do all their code work now?
>> I wish.
>> Thing number five. I really like VS Code.
Once I get to do that I use multiple machines.
How can VS code come everywhere with me?
>> One of the things that's really cool is,
you can actually list out
all the extensions with a simple command line.
You can basically store that to a script.
So you could bring that script with you,
to basically re-install all of
the extensions that you've come to love,
on every new machine you want to set up.
>> You can share that with your team and share as well?
>> Yeah. That makes it super easy.
Like let's say you're at home and you want
to all of a sudden install code on
a new machine that hasn't had it previously,
you can basically do that and
get all the extensions that you're used to.
>> That command is right here.
Somewhere on the screen right now.
That's it for this episode of five things.
Thank you so much Amanda for coming on.
>> Thanks for having me John.
[MUSIC]