You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Several other editors, either natively or through extensions, can quickly display information returned from git blame, which is a great tool to have while tracking down bugs or conflicts. It would be excellent if VS Code could imitate Atom or the IntelliJ Platform IDEs and have an option to toggle git blame info on in the gutter of a version-controlled file (Atom version shown below).
Reacted by Ness Hernández Ojeda, Kalin Krustev, Marvin Hagemeister, Matti Jauhiainen, shyyko.serhiy, Fotis Adamakis, ArekZc, Leira Hua, Michael Mifsud, Aurelio and 32 more
I had actually missed that one, that's certainly useful! That said, it'd be nice if more than one line could be viewed and if it could be in the gutter. I would recommend this for the extension, but it's my understanding that the only UI an extension is allowed to modify is the status bar -- hence the feature suggestion on the editor itself.
Reacted by Tomáš Hübelbauer, Thorsten Basse, chadrien and Fabricius Seifert
I also wanted to see git blame info inside the editor; so developed an extension called Annotator.
As it doesn't open a gutter in a current editor to show blame info and open a new html view instead, it's got its own limitations like no syntax highlighting on the blame view, but I still find it very useful. Happy to hear suggestions or feedback :)
Reacted by Ness Hernández Ojeda, Wade Anderson, Anton Bogdanovich, Aurelio, Razvan Grigore, benbxyz, AB, Tomas Echeverri, Cheng Yong, Tamir Bahar and 5 more
Reacted by Daniel Imms, Anton Bogdanovich, Simen Skogen, Tomas Echeverri, Cheng Yong, Gerardo PG, Blackbaud-KevinHutson and Yukai Huang
Yep this is one of the few things I regularly find myself missing in VS Code. With Git support built-in, a natural evolution would be a right-click "Git blame" option that opens blame in the gutter. Probably ought to be on the roadmap.
I'd love to recommend to anyone missing this functionality, the extension GitLens is pretty much what I wanted and I've been using it for a while now.
Reacted by Kai Wood, Gary Ritchie, Aaron, Jerry Batorski, Eric Hartford, Eric Amodio, Justin Reynolds, Art Nitipon Suratwisit, Konrad Gądek, Yukai Huang and 2 more
We try to keep VS Code lean and we think the functionality you're asking for is great for a VS Code extension. Maybe you can already find one that suits you in the VS Code Marketplace. Just in case, in a few simple steps you can get started writing your own extension. See also our issue reporting guidelines.
Activity
waderyan commentedon Jan 25, 2016
This is a good extensions solution.
I started on a basic extension called Git Blame. You can find it here. PRs or recommendations are much appreciated.
berwyn commentedon Jan 25, 2016
I had actually missed that one, that's certainly useful! That said, it'd be nice if more than one line could be viewed and if it could be in the gutter. I would recommend this for the extension, but it's my understanding that the only UI an extension is allowed to modify is the status bar -- hence the feature suggestion on the editor itself.
tbroyer commentedon Feb 11, 2016
👍
obrejla commentedon Feb 24, 2016
👍
VladimirSemenyuk commentedon Feb 25, 2016
👍
fatbrain commentedon Apr 28, 2016
👍
carlkenne commentedon May 20, 2016
Wade Anderson (@waderyan) is this extension still working? nothing shows up in my gutter even though it's installed
nesheroj commentedon May 20, 2016
Carl Kenne (@carlkenne) that extension sadly does not show the blame status in the gutter, but in the status bar like this

kavehv commentedon May 25, 2016
👍
Tyriar commentedon May 25, 2016
Does anyone know if it is possible to add text to the gutter? If not we should create a separate feature request for that. This should then probably be moved to https://github.com/waderyan/vscode-gitblame and reference the extension API request.
carlkenne commentedon Jun 9, 2016
I can't see anything in my status bar? Only information about line number and branch name and so on... Are there any way to debug this?
ryu1kn commentedon Sep 7, 2016
I also wanted to see git blame info inside the editor; so developed an extension called Annotator.
As it doesn't open a gutter in a current editor to show blame info and open a new html view instead, it's got its own limitations like no syntax highlighting on the blame view, but I still find it very useful. Happy to hear suggestions or feedback :)
https://github.com/ryu1kn/vscode-annotator
razvanphp commentedon Oct 10, 2016
👍 I currently miss this from NetBeans very much, can the API be adapted at least so extensions can improve this? Very useful feature.
jez9999 commentedon Nov 7, 2016
Yep this is one of the few things I regularly find myself missing in VS Code. With Git support built-in, a natural evolution would be a right-click "Git blame" option that opens blame in the gutter. Probably ought to be on the roadmap.
nesheroj commentedon Nov 7, 2016
I'd love to recommend to anyone missing this functionality, the extension GitLens is pretty much what I wanted and I've been using it for a while now.
ehartford commentedon Jan 12, 2017
GitLens does everything I could ever want and more.
sandervalstar commentedon Jun 27, 2018
Adding this configuration for GitLens will give you the desired behavior.
vscodebot commentedon Sep 17, 2018
We try to keep VS Code lean and we think the functionality you're asking for is great for a VS Code extension. Maybe you can already find one that suits you in the VS Code Marketplace. Just in case, in a few simple steps you can get started writing your own extension. See also our issue reporting guidelines.
Happy Coding!
joaomoreno commentedon Sep 17, 2018
We suggest to use GitLens! 👍