SnekTime is a Visual Studio Code extension built by Snek19 at Devermint. It logs your active coding time per workspace, surfaces simple daily totals, and writes the elapsed effort to the next commit you create through VS Code Source Control.
Features
Tracks recent editor activity and only adds time while you are genuinely working.
Keeps per-workspace totals, daily aggregates, and a rolling commit log.
Records commits created with the Source Control Commit button and stores the time spent since the previous commit.
Shows a dedicated SnekTime activity-bar icon with a dashboard webview, tree summary, and heatmap navigation.
Stores everything in VS Code global state so it survives restarts without external services.
Provides date filters, multi-workspace selection, and Excel export from the SnekTime sidebar.
Requirements
Visual Studio Code 1.80.0 or newer.
Node.js 18+ (for building/running the extension during development).
Extension Surfaces
Status bar item - shows total active time for the current workspace; click it to pop out the workspace dashboard panel.
SnekTime activity bar - houses both the Dashboard webview (all projects, heatmap, export controls) and the Coding Time Tracker tree (workspace totals, daily buckets, recent commits).
Pops out a webview panel for the active workspace.
snektime.openDashboard
Focus SnekTime Sidebar
Brings the SnekTime activity bar views to the foreground.
You can trigger these via the command palette (Ctrl+Shift+P / Cmd+Shift+P).
Git Commit Tracking
Commit tracking relies on VS Code's Git API and only fires when you use the Source Control view to commit (the Commit button or its command).
Each successful commit through Source Control records the time since the previous commit in the workspace log.
Commits made outside of Source Control, such as in an external terminal, are ignored.
Pulling remote changes may advance the baseline commit; if no coding time was recorded locally, the change is skipped.
Check the SnekTime Coding Time output channel for confirmation lines whenever a commit is recorded.
Data Storage
All metrics and commit history are persisted in VS Code's globalState (file location depends on your OS). Removing the extension or using the Reset Project Coding Timer command clears the stored data for the current workspace.
Troubleshooting
No time accumulating - ensure the Extension Development Host window is focused on the workspace you want to track and that you have recent editor activity (typing, selection, saves).
No commit entries - confirm the built-in Git extension is enabled and watch the output channel for [Git] diagnostics.
Stale data - run SnekTime: Reset Project Coding Timer from the command palette to clear the current workspace state.
License
SnekTime End User License Agreement (see LICENSE).