Code Watch

Tracks your coding time while you work.
Usage
Once installed, Code Watch is ready to use:
Set Session Key:
Open the Command Palette (Ctrl+Shift+P
or Cmd+Shift+P
) and type Set Session Key
to configure your session key.
Where to get Session key ?
- Go to CodeHours.
- Login using your Twitter or Google Account.
- Copy Session Key from the navbar.

Toggle Stopwatch:
Use the Command Palette again to execute the Toggle Coding Timer
command to start or stop the stopwatch.

Table of Contents
Introduction
Code Watch is a lightweight Visual Studio Code extension that helps you track your coding time while you're coding. It provides easy-to-use commands to set a session key and toggle a stopwatch timer directly from VS Code, allowing you to monitor your productivity without leaving your editor.
Features
- Time Tracking: Monitor your coding sessions and idle time effortlessly.
- Customizable Commands: Easily set your session key and toggle the coding timer.
- User-Friendly Interface: Seamless integration with VS Code, keeping the interface minimal and distraction-free.
- Configuration Options: Customize your extension settings through the VS Code settings panel.
Commands
The extension contributes the following commands:
codehours.setToken
Title: Set Session Key
Description: Allows you to set your session key for Code Watch.
codehours.toggleStopwatch
Title: Toggle Coding Timer
Description: Starts or stops the coding stopwatch.
Installation
Via Visual Studio Marketplace:
Open the Extensions view (Ctrl+Shift+X
or Cmd+Shift+X
) in VS Code, search for "Code Watch", and click Install.
Manually:
Configuration
You wouldn't generally need to follow this, you can configure the extension using the commands.
Customize your Code Watch settings by navigating to File > Preferences > Settings (or using Ctrl+,
/Cmd+,
) and searching for "Code Watch Settings". The configuration options include:
codehours.sessionKey
Type: string
Default: ""
Description: The session key for the Code Watch extension.
Contributing
Contributions are welcome! If you would like to contribute to Code Watch, please follow these steps:
- Fork the repository.
- Create a new branch (
git checkout -b feature/your-feature-name
).
- Commit your changes (
git commit -am 'Add new feature'
).
- Push to the branch (
git push origin feature/your-feature-name
).
- Open a Pull Request.
Please ensure your code follows the project's style guidelines and includes appropriate tests.
License
This project is licensed under the MIT License.
For questions, suggestions, or support, please reach out to:
Get Tracked, Stay Cracked ! 🚀