Skip to main content
Version: v2 (current)

Cursor and Windsurf

Cursor and Windsurf are forks of VS Code, so they install the standard PanDev Metrics extension from the VS Code Marketplace. There is no separate Cursor or Windsurf plugin — there does not need to be.

Install

  1. Open Cursor or Windsurf.
  2. Open the Extensions panel (Ctrl+Shift+X / Cmd+Shift+X).
  3. Search for PanDev Metrics.
  4. Click Install.
  5. Reload the editor when prompted.

The configuration steps are identical to VS Code. See the full guide:

VS Code plugin setup

AI activity tracking

When you use the AI features built into Cursor or Windsurf (Cmd+K, chat, agent mode), the plugin splits the work into two streams:

  • Your prompts and accepted edits count as developer activity.
  • AI-generated code applied to your files counts as AI activity on a separate counter.

This lets you see how much of your codebase was authored with AI assistance, without losing visibility into the human side of the work.

FAQ

Why is there no separate plugin for Cursor / Windsurf? Cursor and Windsurf are VS Code forks. They use the same extension API and the same marketplace listings, so the VS Code plugin works natively. Building a separate fork would add maintenance burden with no benefit.

Does Google Antigravity work too? Antigravity is also a VS Code-derived IDE; the extension installs and runs there in the same way. The flow is identical to VS Code.

What if a future Cursor / Windsurf release breaks the extension API? We track the upstream changes. If a fork ever diverges in a way that breaks the extension, we'll ship a fix. Report any issue to support and we'll prioritise it.

Will my source code be uploaded? No. The extension records file names, activity events, and branches. Source code stays on your machine.