Skip to content
| Marketplace
Sign in
Visual Studio Code>Other>Git Code AuthorNew to Visual Studio Code? Get it now.
Git Code Author

Git Code Author

hlgmyl

|
1 install
| (0) | Free
在编辑器左侧注释区展示每行的 Git 提交作者、时间与摘要。
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

Git Code Author

A VS Code extension that annotates the left editor gutter with the Git author, date, and summary for each line—similar to the "Annotate with Git Blame" feature in JetBrains IDEs.

中文版说明

Features

  • Display Git commit information for each line in the editor gutter
  • Automatically switches between Chinese and English based on system locale
  • Compact display style that doesn't interfere with code reading
  • Hover to view detailed commit information
  • Quick toggle on/off functionality

Demo

Demo Screenshot

Installation

Search for Git Code Author in the VS Code Extensions Marketplace and install it.

Or visit VS Code Marketplace to download and install.

Usage

  1. Open any file in a Git-managed project
  2. Right-click in the editor gutter area and select "Annotate with Git Code Author" to enable
  3. Click again to disable (a ✓ indicates the feature is enabled)
  4. You can also use the Command Palette (Ctrl/Cmd+Shift+P) and search for "Git Code Author" to toggle

Features in Detail

  • When enabled, each line shows:
    • Commit date (format: YYYY/MM/DD)
    • Author name
    • Commit summary (truncated for display)
  • Hover over any line to see complete commit details:
    • Author name and email
    • Full commit timestamp
    • Commit hash
    • Full commit summary
  • Annotations are automatically cleared when a file is closed; re-enable when reopening

Requirements

  • VS Code version >= 1.84.0
  • Project must be managed by Git
  • Git command-line tool must be installed

License

MIT License

Feedback

For issues or suggestions, please visit the GitHub repository and submit an issue.

  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
© 2025 Microsoft