Inline blame annotations for the Fossil SCM, in VS Code.
Fossil Blame shells out to the local fossil executable to bring per-line blame context into the editor for repositories checked out with Fossil.
Features
Inline blame: an end-of-line annotation on the current line showing who last changed it, when, and the commit message.
Hover: hovering any line shows the full commit details (author, date, hash, full message) for whoever last changed it, with a "Copy Hash" action.
CodeLens: a "last changed by" CodeLens above top-level symbols (functions, classes, etc.), powered by VS Code's built-in symbol provider. Click it to copy the commit hash.
Blame recency heatmap: the inline blame annotation is colored by how recently the line changed: warmer colors for edits within the last day or week, the theme's default color for anything within the last month, and a muted color for anything older.
Requirements
Requires a fossil executable available on your PATH (or configured via fossilBlame.path). Tested against Fossil 2.26.
Settings
This extension contributes the following settings:
fossilBlame.path (string, default: ""): Path to the fossil executable. Leave empty to search PATH.
fossilBlame.enabled (boolean, default: true): Show inline blame annotation on the current line.
fossilBlame.heatmap (boolean, default: true): Color the inline blame annotation by how recently the line was changed (warmer = more recent).
All settings take effect immediately, no reload required.
Known Issues
Blame shells out to fossil blame per file, cached per file until the next save; on very large files/repositories this can be slower than a native integration.
Release Notes
0.0.1
Initial release: inline blame with hover, CodeLens, and a recency heatmap.