From the course: Visual Studio Code Productivity Tips

Access the sample code on GitHub - Visual Studio Code Tutorial

From the course: Visual Studio Code Productivity Tips

Start my 1-month free trial

Access the sample code on GitHub

- [Instructor] During this course I'll show code examples in some of the videos. To ensure the code is up to date, I'll host a sample code here, on GitHub. That means if you want to follow along, you'll need to claim my repo on your computer. I'll show how to use the visual studio code, Get Tools, to make the clone, but this repo can be cloned using whatever Git tools you prefer. Start by going to this URL, then clicking on the Clone or download button, and then copying this URL. Now I'll switch over to Visual Studio Code. Here I've got two windows side by side. I am on a Windows PC but these steps will be similar on Mac or on Linux. So this shows my Repos folder on my hard drive. And you'll see the files appear here, after I do the clone. So then I'll go over to Visual Studio Code, I'll click on this section. There's also a shortcut on a PC, that would be Control+Shift+G. Now you want to bring up the Visual Studio Command Window, you can use F1, or you can also use Shift+Control+P, and you're looking for Get Clone. Once you have that up in the command window, paste in the URL, press the Enter key, navigate out to your favorite repos location. I'm matching the location shown over here. And I'll click on the Select Repository Location. Then you'll see a brief window pop up on the bottom. There was a pop up that showed it was cloning the repository and now you're going to see over on my hard drive that there's a folder with these files in it, and then Visual Studio Code is suggesting that I can open the repository. So let's do that. And I'll maximize Visual Studio Code. And you'll see over here in the Explorer is all the files we just saw in Windows Explorer. And I can then, like in this case, I can go to this Sort.js file and open it up in the Editor. Now that we've got the repo cloned, let's start exploring some tips.

Contents