News for hackers. Stuff that matters.
Re:Edamagit: Magit for VSCode by tempodox on Thursday May 29, 2025 @05:14AM (#44124309)
A while ago I uninstalled that horribly annoying GitLens and have been using external tools ever since. I don't want ads in my IDE and I'll uninstall the whole IDE if that's what it takes. Maybe Edamagit will make me use git from within VSCode again.
Re:Edamagit: Magit for VSCode by RaoulP on Thursday May 29, 2025 @07:29AM (#44124945)
Funny, I just uninstalled it yesterday.

I only used it for the automatic blame behind the cursor, but I just learned that that is built-in to VS Code (something like “toggle blame decorator”). The built-in one is faster too.

Re:Edamagit: Magit for VSCode by norman784 on Thursday May 29, 2025 @09:00AM (#44125661)
TIL blame is builtin in VS Code, thanks for sharing, I had GitLens just for the blame, never used another feature.
Re:Edamagit: Magit for VSCode by SketchySeaBeast on Thursday May 29, 2025 @09:04AM (#44125695)
I just found it - it's "Git > Blame > Editor Decoration: Enabled" and holy is it so much faster. I love every time I can replace an extension with native functionality.
Re:Edamagit: Magit for VSCode by lbussell on Thursday May 29, 2025 @09:45AM (#44126080)
The “compare references” feature is nice.
Re:Edamagit: Magit for VSCode by oldandboring on Thursday May 29, 2025 @10:42AM (#44126601)
Interesting. I've been using Gitlens for years without issue. Today I tried the built-in blame decorations and I found they were so responsive and fast that they were distracting. With Gitlens there's a delay before the decoration appears on a line, so if you're moving your cursor quickly around between lines you don't actually get a blame decoration until you've rested there for a few seconds; with the built-in functionality it pops right up as soon as the line focuses so if you go from line to line, there's a lot of activity in your field of view which makes it harder for me to concentrate on the code.

As an adjustment, for now, I'm sticking with the built-in functionality but enabling only the status bar display, whose template I modified to include the commit message and date.

Re:Edamagit: Magit for VSCode by cschneid on Thursday May 29, 2025 @11:26AM (#44126972)
mind sharing that template? Sounds nice.
Re:Edamagit: Magit for VSCode by oldandboring on Friday May 30, 2025 @10:25AM (#44136548)
Settings > Extensions > Git Blame: Status Bar Item Enabled (check this) Blame: Status Bar Item Template (use this value) ${authorName} (${authorDate}) ${subject}

There's no secret sauce, all these variables are shown right above the input.

Re:Edamagit: Magit for VSCode by Iwan-Zotow on Thursday May 29, 2025 @02:05PM (#44128593)
second to ask to share
Re:Edamagit: Magit for VSCode by oldandboring on Friday May 30, 2025 @10:25AM (#44136552)
See above
Re:Edamagit: Magit for VSCode by baxuz on Thursday May 29, 2025 @07:44AM (#44125038)
Is there any plugin that has worktree support like gitlens?
Re:Edamagit: Magit for VSCode by nextaccountic on Thursday May 29, 2025 @06:04AM (#44124545)
Well it's free software and open source, right? https://github.com/gitkraken/vscode-gitlens/blob/main/LICENS...

Eventually someone will fork it just to remove the ads

Re:Edamagit: Magit for VSCode by artemisart on Thursday May 29, 2025 @06:30AM (#44124655)
Gitless is this fork https://marketplace.visualstudio.com/items?itemName=maattdd.... it's not updated but still works well.
Re:Edamagit: Magit for VSCode by anonzzzies on Thursday May 29, 2025 @05:53AM (#44124493)
Yep. Gitlens is a very annoying thing. Not sure why people put up with it.
Re:Edamagit: Magit for VSCode by budding2141 on Thursday May 29, 2025 @06:14AM (#44124577)
Probably just got used to it. It was IMO very good plugin 5 years ago or so before all the ads etc.
Re:Edamagit: Magit for VSCode by nsonha on Thursday May 29, 2025 @06:38AM (#44124689)
It makes selectively stash/peeking/applying etc easier. Their flagship feature, the hover popup to reveal original commit/PR that you can click on is usefe for investigation.

Maybe vscode has these built-in by now? Using the Gitless fork so not that annoying.

Re:Edamagit: Magit for VSCode by RaoulP on Thursday May 29, 2025 @07:32AM (#44124959)
> Maybe vscode has these built-in by now?

Yes, the blame feature is built-in now, with pop-up and all.

Re:Edamagit: Magit for VSCode by WorldMaker on Thursday May 29, 2025 @11:32AM (#44127046)
A lot of it was first-mover advantage. It was the first VS Code plugin to provide a lot of the in-place information that it did, and at first it was unobtrusive and just did the one job well. It only started becoming truly annoying when it became a GitKraken product designed to sell more GitKraken products.

Now that VS Code has more of those features built in and there are alternatives the first mover advantage keeps the extension sticky because people don't feel pressure to learn about the built-in features or because people don't want to learn about alternative extensions because "the tool I already know is annoying but is fine".