Skip to content

Time tracking in VS Code, Windsurf and Zed

Last updated: November 2026

Copilot in VS Code, Cascade in Windsurf, the agent panel in Zed: your editor writes code while you look elsewhere. Good for the work, awkward for the timesheet. Here is what each editor gives you to work with and how to turn it into billable hours.

What the editors keep

VS Code and Windsurf are related: Windsurf is a VS Code fork. Both keep their state, chat history included, in SQLite databases (state.vscdb) per workspace, on a Mac under ~/Library/Application Support/Code/ or …/Windsurf/. That is the same setup as in Cursor: a database to query, not a log to read.

Zed is written from scratch in Rust. It has its own data folder, its own extension registry, and VS Code extensions don’t run in it.

Plugins

WakaTime covers all three: the VS Code extension also installs in Windsurf, and Zed has its own WakaTime extension. In each case you add your API key in ~/.wakatime.cfg, and your activity per project, file and branch goes to WakaTime’s cloud dashboard. If your client’s code details must not leave your machine, that is the wrong tool.

Terminal agent or editor AI

This difference decides how much you can automate. A lot of “editor AI” work is really a terminal agent such as Claude Code or Codex, running in the editor’s built-in terminal. Those agents have hooks and plain transcripts, so a tracker can follow each session no matter which editor hosts the terminal.

The editor’s own assistant (Copilot, Cascade, Zed’s agent) keeps its history inside the editor. Døgn therefore tracks Claude Code, Codex and Antigravity sessions on their own once you switch that on, and treats Copilot or Cascade work like any other work: you start a timer, or fill the gap later from “Review the day”.

Døgn’s local MCP server can also be connected to VS Code and Windsurf (not Zed). Then you can ask the editor’s AI to start or stop a timer. The connected client can read local kveik data, and its own privacy rules apply. See MCP & AI tools.

Questions, answered

Can I track time automatically in VS Code, Windsurf and Zed?

With a separate tool. WakaTime works in all three, in the cloud. Døgn tracks terminal agents (Claude Code, Codex, Antigravity) per session, in whichever editor’s terminal they run.

Does Windsurf store data like VS Code?

Yes. Windsurf is a VS Code fork and uses the same SQLite state databases and extension format. Zed stores its history its own way.

Does Døgn detect Copilot or Cascade sessions?

No. Døgn detects Claude Code, Codex and Antigravity. For Copilot, Cascade or Zed’s agent you start a timer or fill the gap later.

Continue