The Stopwatch
A lightweight extension created to track the time spent coding in Visual Studio Code
Features
- Automatic idle detection after 1 minute of inactivity
- Automatic resume of inactive sessions
- Preservation and recovery of unexpectedly ended sessions
- Fully autonomous with no telemetery and all data stored locally
- Human-readable on demand JSON file with all your past sessions formatted
- Start/stop the stopwatch via command palette or interactable status bar
- Optional automatic start on workspace open
Extension Commands
the-stopwatch.start - Start new session
the-stopwatch.stop - End current session
the-stopwatch.save - Save recorded sessions (stopwatch/sessions.jsonc)
the-stopwatch.clear - Clear recorded sessions
the-stopwatch.idle - Force idle mode now
the-stopwatch.resume - Resume session if currently in idle mode
Extension Settings
the-stopwatch.autoStart.enable: Enable automatic start of session on workspace open
Release Notes
1.0.2
- Renamed "Timer" to "Stopwatch" which just makes sense
- Added force idle and force resume commands
- Centralized remaining messages
- Now informing about the amount of time spent idle after awaking
- Prompt to export sessions on stop
- Update README.md to be more informative
1.0.1
- Adopted a license
- Switched to esbuild from unbundled
- Migrated to npm from pnpm
1.0.0
- Initial release of the extension
PRs and issues are very welcome
| |