SpentTime
November 18, 2025 · View on GitHub
This extension intends to give you a way to track the amount of time you spend in your projects.
It was created for internal use only, but you can contribute to improove with some cool stuff.
Install
To install the extension:
- Download the latest
.vsixfrom the Releases section of this repository. - In VS Code, open the Extensions view (
CTRL+SHIFT+X). - Click the three dots (
⋯) in the top-right corner. - Choose Install from VSIX... and select the downloaded file.
How to use
Prerequisites
- Open a folder that is a valid Git repository in VS Code.
- Make sure your work is committed (no uncommitted changes).
- Ensure the last commit is authored by your current Git user (name/email in
git config). - You need an active internet connection so the extension can contact the tracking service.
Tracking time for a commit
- In VS Code, open the project you want to track.
- Commit your work so the latest commit represents the work you’re logging.
- Run the command:
- From the Command Palette (
CTRL+SHIFT+P) search forOpen SpentTime Box, or - Use the default keybinding
ALT+CTRL+SHIFT+T(Windows/Linux) orALT+CMD+SHIFT+T+S(macOS).
- From the Command Palette (
- If you have multiple workspace folders, select the correct project from the dropdown.
- Check the branch, commit ID, commit message, and author shown in the Spent Time Box.
- Enter:
- The number of hours spent (in quarter-hour increments, e.g.
0.25,0.5,1.0). - The work item id (e.g. a Jira ticket like
PRJ-1234). - Optionally, a rating of how much AI tools supported you in this task (1–5 stars).
- The number of hours spent (in quarter-hour increments, e.g.
- Click OK to validate and send the data.
If validation passes and the tracking service is reachable, you’ll see a confirmation message:
Time spent successfully logged!. The extension also remembers which commits were already tracked and
warns you if you try to track the same commit again.
Issues
Feel free to report any issues here.
Enjoy!
Release Notes
You can view all the changelog release on the CHANGELOG file.