WP Launcher Productivity
Track your coding time automatically from VS Code. Part of the WP Launcher productivity monitoring system.
Features
- Automatic time tracking — records coding time in the background, no manual action needed
- Per-language stats — see how much time you spend in TypeScript, PHP, CSS, Python, and more
- Per-project stats — tracks time per workspace/project folder
- Git branch tracking — know which branch you were working on
- Status bar — shows today's total coding time at a glance
- Cloud sync — syncs with WP Launcher cloud for cross-device aggregated stats
- Privacy first — data stays on your machine, synced only when you connect a cloud account
How It Works
The extension sends lightweight "heartbeats" to your local WP Launcher API every time you:
- Edit a file (debounced — max 1 per file per 2 minutes)
- Save a file (always recorded)
- Switch between files
Each heartbeat captures: file path, language, project name, git branch, and timestamp. No file contents are ever sent.
What It Tracks
| Metric |
How |
| Language |
VS Code's language detection (TypeScript, PHP, CSS, etc.) |
| Project |
Workspace folder name |
| File |
Relative path within the project |
| Branch |
Current git branch |
| Editor |
"vscode" |
| Machine |
Unique device ID for multi-device tracking |
| Saves |
File save events marked separately |
Requirements
- WP Launcher running locally (the API receives heartbeats)
- Cloud account connected in WP Launcher's Productivity page (required for tracking to be active)
Settings
| Setting |
Default |
Description |
wplProductivity.apiUrl |
http://localhost:3737 |
WP Launcher API URL |
wplProductivity.enabled |
true |
Enable/disable tracking |
Commands
- WP Launcher: Show Today's Stats — opens the Productivity dashboard in your browser
- WP Launcher: Toggle Tracking — enable or disable tracking
How to View Stats
Your coding stats appear in WP Launcher's Productivity page alongside WordPress site activity:
- Daily activity chart
- Language breakdown
- Project breakdown
- Hourly activity patterns
- Weekday averages
- And more
Privacy
- Heartbeats are stored locally in WP Launcher's SQLite database
- Only synced to the cloud when you explicitly connect an account
- No file contents, code snippets, or sensitive data is ever collected
- You can clear all data anytime from the Productivity page
| |