Skip to content
| Marketplace
Sign in
Visual Studio Code>Data Science>CodeTrackerNew to Visual Studio Code? Get it now.
CodeTracker

CodeTracker

Mayank Thakur

|
2 installs
| (0) | Free
Track your coding time with beautiful analytics dashboard
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

🚀 Coding Time Tracker

Track your coding time with beautiful analytics!

A lightweight VS Code extension that automatically tracks your coding time and provides detailed analytics through a stunning dashboard.

✨ Features

  • 🕐 Automatic Time Tracking - Tracks time spent coding automatically
  • 📊 Beautiful Dashboard - Real-time analytics with glassmorphism UI
  • 📁 Project-based Tracking - Monitor time across different projects
  • 📄 File-level Analytics - See which files you spend most time on
  • 🎯 Goal Setting - Set daily/weekly coding goals
  • 💤 Idle Detection - Automatically stops tracking during inactivity
  • 📈 Weekly/Monthly Charts - Visualize your coding patterns
  • 🔄 Real-time Sync - Dashboard updates in real-time

🖼️ Screenshots

Dashboard Overview Analytics Charts

🚀 Quick Start

  1. Install the extension
  2. Start coding - tracking begins automatically!
  3. View analytics - Open dashboard to see your stats

📋 Usage

Automatic Tracking

  • Time tracking starts automatically when you edit files
  • Works across all supported file types
  • Detects project changes automatically

View Your Stats

  • Status Bar: Shows today's coding time
  • Command: Use Time Tracker: Show Coding Stats
  • Dashboard: Beautiful web interface with detailed analytics

Dashboard

Access your analytics dashboard at: http://localhost:5173

The dashboard shows:

  • Daily/weekly/monthly time summaries
  • Project breakdown
  • File activity analytics
  • Coding goals progress
  • Beautiful charts and visualizations

⚙️ Configuration

Open VS Code Settings (Ctrl+,) and search for "Time Tracker":

Setting Description Default
timeTracker.enabled Enable/disable tracking true
timeTracker.idleTimeout Idle timeout (seconds) 300
timeTracker.dashboardUrl Dashboard URL http://localhost:5173
timeTracker.serverPort API server port 3001

🎯 Commands

Command Description
Time Tracker: Show Coding Stats Display current statistics
Time Tracker: Open Dashboard Open analytics dashboard
Time Tracker: Export Tracking Data Export data as JSON

🔧 How It Works

  1. Detection: Monitors file edits, saves, and focus changes
  2. Tracking: Records time spent on each file/project
  3. Storage: Saves data locally (no cloud sync)
  4. API: Serves data via local REST API
  5. Dashboard: Beautiful web interface for analytics

📊 Analytics Dashboard

The companion dashboard provides:

  • 📈 Time Charts - Daily, weekly, monthly views
  • 📁 Project Overview - Time distribution by project
  • 📄 File Activity - Most edited files and time spent
  • 🎯 Goals Tracking - Progress towards coding goals
  • 📊 Statistics - Detailed metrics and insights

🔒 Privacy

  • Local Only: All data stays on your machine
  • No Cloud: No data sent to external servers
  • No Tracking: We don't track your usage
  • Open Source: Full transparency

🌟 What's Tracked

  • ✅ Time spent coding per file/project
  • ✅ File extensions worked on
  • ✅ Project switching patterns
  • ✅ Daily/weekly coding habits
  • ❌ No code content is stored
  • ❌ No personal information collected

🛠️ Troubleshooting

Extension Not Working?

  1. Check if extension is enabled in Extensions panel
  2. Look for errors in Developer Tools (Help → Toggle Developer Tools)
  3. Restart VS Code

Dashboard Not Loading?

  1. Ensure extension is active (check status bar)
  2. Verify port 3001 is not blocked
  3. Visit http://localhost:3001/api/health to test API

No Time Tracking?

  1. Open a workspace/folder
  2. Start editing files
  3. Check extension settings

🤝 Support

  • 🐛 Report Issues: GitHub Issues
  • 💡 Feature Requests: GitHub Discussions
  • 📖 Documentation: Full Guide

📄 License

MIT License - see LICENSE file for details.

🙏 Acknowledgments

Built with ❤️ for the VS Code community.


Happy Coding! 🚀

⭐ Rate this extension | 🐛 Report Issue | 💡 Suggest Feature

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