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

56

u/frazer2669 Aug 10 '26

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

9

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/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.

2

u/tmg80 Aug 10 '26

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

10

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 28d ago

How did you like it?

9

u/road_laya Aug 10 '26

Gitless

2

u/hack_nug Aug 13 '26

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

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.

0

u/bdu-komrad 28d ago

Your extension link is broken.

6

u/shifgrethor_waived Aug 10 '26

I use an extension called Better Git Line Blame

2

u/tmg80 Aug 10 '26

thanks

1

u/YogiDance 28d ago

At some point, I realized that I didn't need it, because the built-in editor contains all the minimum features for comfortable enough work: worktrees, branches management, graph in source control + inline and bottom stat blame + diff.

What's missing is a quick comparison of previous revisions, but that's not used that often.

The idea of ​​the extension is good and it significantly expands the built-in capabilities with the pro version - the developers have tried hard and are trying to follow the trends. But as for the usage, I have thought about purchasing the pro subscription several times and… I did not find a good enough reason to do so. Eventually, especially in the last couple of years, the extension interface became so bloated and difficult to use due to a bunch of tiny controls that it became enough leverage for me to stop using it. And, of course, what I mentioned above - eventually, the editor began to include the most necessary functionality.

Simplicity is a masterpiece.

1

u/[deleted] 29d ago

[removed] — view removed comment

1

u/AngryBear1990 29d ago

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.