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 - Visual Studio Code Tutorial
From the course: Visual Studio Code Productivity Tips
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
-
-
-
(Locked)
Use Go to and Peek Definition to find code references4m 29s
-
(Locked)
Refactor the code4m 12s
-
Favorite extensions: Bracket Pair Colorizer2m 53s
-
(Locked)
Tidy code layout with Format Document6m 54s
-
(Locked)
Favorite extensions: XML Tools2m 36s
-
(Locked)
Create custom keybindings for common commands2m 40s
-
(Locked)
Favorite extensions: Spell Checker2m 40s
-
(Locked)
A simple technique to copy code blocks1m 1s
-
(Locked)
Favorite extensions: Sort lines2m 2s
-
(Locked)
Use Emmet notation to add boilerplate text6m 14s
-
(Locked)
Favorite extensions: GitLens4m 24s
-
(Locked)
Use font ligatures to add symbols to your code2m 46s
-
(Locked)
-