Skip to content
| Marketplace
Sign in
Visual Studio Code>Other>Git File AgeNew to Visual Studio Code? Get it now.
Git File Age

Git File Age

Yifei Yin

|
7 installs
| (0) | Free
Add file age decorations in file explorer based on last git modification date
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

Git File Age

Visualize file ages in VS Code's file explorer based on their last git modification dates.

Open in VSCode Marketplace

Features

  • Due to VSCode limitations, at most 2 characters can be shown
    • < 100 days: show days (eg "42")
    • < 10 months: show months (eg "9m")
    • otherwise: shows years, capped at 9 (eg "2y")
  • Recent files (default ≤ 7 days) are highlighted in green
  • Old files (default ≥ 1 year) are greyed out

Commands

  • Git File Age: Toggle
  • Git File Age: Refresh
  • Git File Age: Update threshold for new files
  • Git File Age: Update threshold for old files
    • You can enter:
    • A number of days
    • A date in YYYY-MM-DD format
    • A commit hash

Settings

  • git-file-age.enabled - Enable/disable the extension
  • git-file-age.recentThresholdDays - Days threshold for recent files
  • git-file-age.oldThresholdDays - Days threshold for old files
  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
© 2025 Microsoft