Track exactly how much time you spend working on each file in VS Code. Get insights into your coding habits with beautiful dashboards, weekly charts, and file type breakdowns.
✨ Features
🕐 Accurate Time Tracking
Tracks active editing time per file with idle detection
Automatically pauses when you're away (configurable timeout)
Resumes tracking when you return to coding
📊 Beautiful Dashboard
Today's Activity — See what you've worked on today
All Time Stats — Complete history of all tracked files
Weekly Chart — Visualize your coding patterns over 7 days
File Type Breakdown — See which languages you use most
📈 Status Bar Integration
Always visible time counter in the status bar
Shows current file's total tracked time
Click to open the full dashboard
💾 Data Management
Export your tracking data as JSON
Reset individual files or all data
Data persists across VS Code sessions
🚀 Getting Started
Install the extension from the VS Code Marketplace
Start coding! Time tracking begins automatically
Click the clock icon in the Activity Bar to see your dashboard
Click the status bar timer to quickly view stats
⚙️ Settings
Setting
Default
Description
fileTimeTracker.idleTimeout
120
Seconds of inactivity before tracking pauses
fileTimeTracker.showStatusBar
true
Show time in the status bar
fileTimeTracker.trackUntitled
false
Track unsaved/untitled files
📋 Commands
Open the Command Palette (Cmd+Shift+P / Ctrl+Shift+P) and type:
File Time Tracker: Show Dashboard — Open the tracking dashboard
File Time Tracker: Show Current File Time — Display time for current file
File Time Tracker: Reset All Data — Clear all tracking data
File Time Tracker: Reset Current File — Clear current file's data
File Time Tracker: Export Data as JSON — Export tracking data
🔒 Privacy
All data is stored locally on your machine using VS Code's built-in storage. No data is ever sent to any server.