From the course: Visual Studio Code Productivity Tips

Unlock the full course today

Join today to access over 22,600 courses taught by industry experts or purchase this course individually.

Favorite extensions: GitLens

Favorite extensions: GitLens - Visual Studio Code Tutorial

From the course: Visual Studio Code Productivity Tips

Start my 1-month free trial

Favorite extensions: GitLens

- [Narrator] GitLens is one of the most popular Visual Studio Code extensions, with over 12 million downloads. It enhances the Git capabilities that are already built into Visual Studio Code. I've installed it and it's enabled, so let's see what it does. I've got two files I want to look at: Sort.js and RefactorHere.js, and as I select these files, you'll notice that this ghost text appears, this light gray text appears. If I choose line 11, you'll see that there's this message that says you, eight hours ago, renamed variable, so that tells me that I was the last person to commit on this line of code. It was a little over eight hours ago and the commit message is rename variable. So, each line, as I select them, will get a similar message. I can hover over this line to get a pop-up that contains a lot more information, like who committed it, a name, the date, the commit details, I can see what was changed, and there's several buttons here that I can click. There's a blame button…

Contents