File Last ModifiedFile Last Modified shows the last modified date for files in VS Code using a status bar timestamp, Explorer badge, and Git-aware hover details. It helps you spot recent files, stale files, and active code paths without leaving the editor. OverviewThe extension adds file recency information in two places:
Hovering over the status bar also shows the number of days since the last change, the local file timestamp, and the local Git timestamp. It works by reading local file metadata and, when available, local Git history for the current file. Why This Extension ExistsThis extension was created while cleaning large repositories with many similarly named files. Determining which files were current versus older versions often required repeatedly checking file details or Git history. File Last Modified keeps that information visible inside the editor so developers can quickly identify newer files and older code. FeaturesStatus BarDisplays the last modified date of the active file and changes color based on how recent the file is. File ExplorerShows the number of days since each file was last modified, for example Explorer filename labels are tinted by default using the file age colors. If you prefer badge-only decorations, disable If Explorer badges or colors are disabled in VS Code, the extension will offer to enable the required settings the first time it runs. You can also trigger this manually with the Hover TooltipHovering over the status bar reveals:
Timestamp DetectionThe extension can determine modification time using:
PerformanceFile Last Modified is lightweight and fast. It checks only the active file and required metadata rather than scanning the entire workspace, keeping the editor responsive. Preview
Search Phrases
InstallInstall from the Visual Studio Marketplace or from a .vsix package. Command
LicenseAll rights reserved. See |
