Display git blame information in the editor gutter with color-coded annotations, inspired by Eclipse EGit.
- Show Revision Information: Right-click the editor line number gutter to toggle git blame annotations
- Color-coded annotations: Each commit is displayed with a unique background color for easy identification
- Configurable display: Choose to show author, date, commit ID, and/or summary in the gutter
- Hover details: Hover over annotated lines to see full commit information
- Open Commit: Click "Open Commit" in the hover popup to view commit diff details
- Open History: Click "Open History" in the hover popup to view the file's commit history
- Settings: Click "Settings" in the hover popup to quickly access extension configuration
- Open a file tracked by Git
- Right-click in the line number gutter area
- Select Show Revision Information
- Blame annotations will appear next to each line
- Hover over any line to see detailed commit information
When hovering over an annotated line, the popup displays full commit details and provides quick actions:
- Open Commit — View the commit's diff in the editor
- Open History — View the file's full commit history
- Settings — Open extension configuration
| Setting | Default | Description |
|---|---|---|
tlcsdm-gitBlameInfo.showAuthor |
true |
Show author name in gutter |
tlcsdm-gitBlameInfo.showDate |
true |
Show commit date in gutter |
tlcsdm-gitBlameInfo.showCommitId |
false |
Show abbreviated commit ID in gutter |
tlcsdm-gitBlameInfo.showSummary |
true |
Show commit summary in gutter |
tlcsdm-gitBlameInfo.useRelativeDate |
false |
Show relative dates (e.g. "2 months ago") |
tlcsdm-gitBlameInfo.dateFormat |
YYYY-MM-DD |
Date format for gutter annotation |
tlcsdm-gitBlameInfo.columnWidth |
50 |
Width of the blame annotation column (20–100 characters) |
- Open VS Code
- Go to Extensions (
Ctrl+Shift+X) - Search for "Tlcsdm Git Blame Info"
- Click Install
- Download the
.vsixfile from Releases - In VS Code, open Command Palette (
Ctrl+Shift+P) - Search for "Extensions: Install from VSIX..."
- Select the downloaded
.vsixfile
Download from Jenkins
This project uses TypeScript and npm (Node.js 22).
# Install dependencies
npm install
# Compile
npm run compile
# Watch mode (for development)
npm run watch
# Lint
npm run lint
# Package
npx @vscode/vsce package
# Test
npm run test- Visual Studio Code ^1.85.0
- Git installed and available in PATH
