gitkraken / vscode-gitlens

Supercharge Git inside VS Code and unlock untapped knowledge within each repository — Visualize code authorship at a glance via Git blame annotations and CodeLens, seamlessly navigate and explore Git repositories, gain valuable insights via rich visualizations and powerful comparison commands, and so much more
http://gitkraken.com/gitlens
Other
9.03k stars 1.35k forks source link

Inline Blame debounce #3616

Open jtmkrueger opened 1 month ago

jtmkrueger commented 1 month ago

It'd be really nice to put a debounce on inline blame. If I'm navigating and holding the up or down arrow, the inline blame is introducing lag. If there was a way to set debounce so that it didn't try and find the info for a second, it would improve performance.

jtmkrueger commented 1 month ago

I suspect this may be the culprit, since it appears to be setting the debounce to 0 in linetracker. I've never explored the codebase at all and this is just what came up for me in a quick cursory search :D I'm sure it's probably more complicated than that.

jtmkrueger commented 1 month ago

Probably something around here needing to get wrapped in a debounce, but again I'm not familiar with the codebase at all. It'd also be nice to be able to configure the debounce as a user.