Culprit is a Visual Studio Code extension that shows inline Git blame for the current line while you read or edit code.
It helps you identify who changed a line, when it changed, and what commit introduced it, without leaving the editor.
Quick Start
Install Culprit (goeselt.culprit) from the Visual Studio Code Extensions view.
Open any tracked file inside a Git repository.
Move the cursor to a committed line.
You will see an inline annotation such as:
abc1234: tighten hover command handling
Hover the annotation to view author, date, and recent file commits. Click a commit hash to open the diff.
Features
Shows inline blame for the active line with commit hash and summary.
Displays author and relative date in hover details.
Lists recent commits for the current file in the same hover.
Opens commit diffs directly from clickable commit links.
Stays low-noise by annotating only the current line.
Usage Examples
Use the command palette to control behavior:
Culprit: Toggle Inline Blame
Culprit: Show Commit Diff
Extension setting:
Setting
Default
Description
culprit.enabled
true
Enable inline blame annotations.
Requirements
Visual Studio Code 1.120.0 or newer.
Git available on your PATH.
A workspace that contains a Git repository.
Culprit runs local Git commands only and does not send repository data to external services.