Install the VS Code plugin
The PanDev Metrics extension for VS Code is published on the VS Code Marketplace. The same extension also works in Cursor, Windsurf, and other VS Code forks — see the dedicated page for them at the bottom.
What the plugin does
- Tracks file activity (open, edit, close), branch switches, and time spent.
- Counts AI assistant usage (GitHub Copilot, Cursor AI, etc.) as two separate streams: your prompts as developer activity, AI-generated edits as AI activity.
- Sends everything to PanDev Metrics over HTTPS.
- Captures no source code and no screenshots.
See the overview for the full list of captured and non-captured signals.
Install
- Open VS Code.
- Open the Extensions panel (
Ctrl+Shift+X/Cmd+Shift+X). - Search for PanDev Metrics.
- Click Install.
- Reload the editor when prompted.
The marketplace keeps the extension updated automatically. We recommend running the latest version.
Configure
Open Settings (Ctrl+, / Cmd+,), search for PanDev Metrics, and fill in the connection details for your deployment.
You can also use the command palette (Ctrl+Shift+P / Cmd+Shift+P) and run PanDev: Configure.
Cloud — company workspace
| Field | Value |
|---|---|
| Server URL | https://metrics-cloud.pandev.io |
| Company login | Your tenant identifier |
| Login | Your work email or username |
| Password | Your PanDev Metrics password |
:::tip Where to find Company login? Ask your administrator, or open the PanDev Metrics web app and check Settings → Company. :::
Cloud — personal workspace
| Field | Value |
|---|---|
| Server URL | https://metrics-cloud.pandev.io |
| Company login | leave empty |
| Login | Your email |
| Password | Your password |
With Company login empty, data is sent to your personal workspace.
On-prem
| Field | Value |
|---|---|
| Server URL | Your server URL (for example, https://pandev.company.local) |
| Company login | leave empty |
| Login | Your work account |
| Password | Your password |
Your administrator provides the server URL and credentials.
Verify
- Edit a file.
- Wait a couple of minutes.
- Open the PanDev Metrics web app → your profile → today.
- You should see activity on the timeline.
The status bar shows Online when the extension is connected.
Troubleshooting
No data on the dashboard. Make sure the Server URL has no trailing slash. Reload the VS Code window. Check the status bar for an error indicator.
Self-signed certificate on on-prem. On-prem servers may use a self-signed certificate. The extension supports disabling SSL validation — your administrator will tell you whether to enable it.
Offline / VPN drop. The extension queues events locally and flushes them when the server is reachable again. No action needed.
FAQ
Does the extension track browser activity? No. The extension only tracks activity inside VS Code. PanDev Metrics has a separate browser extension for web activity.
Can I use it together with the JetBrains plugin? Yes. PanDev Metrics aggregates data from every plugin you have installed — JetBrains, VS Code, Visual Studio, Xcode, Eclipse — into one timeline per developer.
Does it work in Cursor and Windsurf? Yes. Cursor and Windsurf are VS Code forks and install the same extension. See Cursor and Windsurf for the short version.
Will my source code be uploaded? No. The extension records file names, activity events, and branches. Source code stays on your machine.