Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

VS code shows who modified the line

How to see who modified the line with git on vs code?

enter image description here

like image 247
ocean Avatar asked Sep 13 '25 10:09

ocean


2 Answers

There is a VS Code extension called "GitLens". This extension shows you in the editor who made the last changes to this line. It also has a ton of other features.

like image 159
Dario.Casciato Avatar answered Sep 15 '25 23:09

Dario.Casciato


This is included in VScode since version 1.96
Settings: Git › Blame › Editor Decoration : Enabled

like image 39
Abazada Avatar answered Sep 16 '25 00:09

Abazada