Copilot Metrics Lite is a Visual Studio Code extension that enables you to track and visualize your GitHub Copilot usage directly within VS Code. Gain actionable insights into your coding productivity by seeing how often Copilot assists you, which files and languages benefit the most, and how much code is being generated.
Features
Modern Dashboard:
Clean, intuitive interface with tabbed navigation for Workspace Files and All Files.
Completions Tracking:
Automatically counts all Copilot completions you accept, organized by file and language.
Detailed Productivity Metrics:
View totals for completions, lines, and characters generated by Copilot.
Insightful Reports:
Per-file and per-language breakdowns reveal where Copilot helps you most.
Efficient Navigation:
Instantly switch views, paginate large file lists, and filter your data.
Real-Time Updates:
Auto and manual refresh options keep your metrics current.
One-Click Reset:
Easily reset all metrics whenever you want a fresh start.
Secure & Private:
All data is stored locally—no metrics leave your machine.
Seamless Authentication:
Integrated sign-in for a smooth experience.
How It Works
The extension monitors your editor for Copilot completions (when you accept code suggestions) and collects metrics on completions, lines, and characters generated, grouped by file and programming language.
All data is stored locally within VS Code and can be reset at any time via the dashboard.
Use the status bar icon or run the command Show Copilot Metrics Dashboard to open the dashboard at any time.
Usage
Open the Dashboard:
Click the Copilot Metrics icon in the VS Code status bar, or
Open the command palette and run Show Copilot Metrics Dashboard.
Sign In:
If prompted, sign in to personalize your experience.
Review Metrics:
Browse completions, lines, and characters generated, see detailed breakdowns per file and language, and use pagination for large projects.
Reset or Refresh:
Use the dashboard buttons to reset your metrics or manually refresh the data.