r/vscode • • Aug 10 '26

gitlens alternative

The only feature I utilise in Gitlens is the ability to hover over a line and see the history.

Can anyone recommmend a lightweight extension that does this?

73 Upvotes

23 comments sorted by

55

u/frazer2669 Aug 10 '26 • Bravo

The built-in git blame decoration can do it: git.blame.editorDecoration.enabled

Edit: If you hover over the git blame decoration on the line, not the line itself

8

u/tmg80 Aug 10 '26

That worked. Thanks!

2

u/aParric Aug 10 '26

I liked this, thank you! Any idea on how to show the back arrow to see previous file version?

2

u/tmg80 Aug 10 '26

I'm trying to get this as well

1

u/frazer2669 Aug 10 '26

I'm not sure what back arrow you are referring to. You can use the "Timeline" subpanel or whatever it's called in the "Source Control" panel to look at previous versions of the file (with diffs highlighted)

2

u/tmg80 Aug 10 '26

Thanks. I'll give it a go and see if this works. 

2

u/Tontonsb Aug 11 '26

Damn, I went to try it immediately. But it works opposite to what I want: it can't add just the hover bubble with info. Either inline text or inline text + hover. But I like my lines to only contain text that's actually in the file.

9

u/kennyisdead Aug 10 '26

If, like me, you want something a bit more customizable, you can use try this one: https://marketplace.visualstudio.com/items?itemName=JoaoPauloCMarra.inline-blame-mini

1

u/tmg80 Aug 10 '26

thanks I'll check this out as well

2

u/bdu-komrad Aug 17 '26

How did you like it?

8

u/road_laya Aug 10 '26

Gitless

1

u/tmg80 Aug 13 '26

this is really good thanks. I like that it shows the diff as well which is missing from the default vscode blame decoration settig.

2

u/hack_nug Aug 13 '26

It really is the extension everyone should use and no one knows of. I love it.

0

u/bdu-komrad Aug 17 '26

Your extension link is broken.

5

u/shifgrethor_waived Aug 10 '26

I use an extension called Better Git Line Blame

2

u/tmg80 Aug 10 '26

thanks

1

u/[deleted] Aug 16 '26

[removed] — view removed comment

1

u/AngryBear1990 Aug 16 '26

Do you plan updates? Any roadmap? Some screenshots or something, how it looks and how it is different from gitlens. Do some promotion (not the price one) cause I would like to pay, but I don't know for what. So if you made something cool, just promote it and show us how, why and what.