VS Code Time Tracker is a simple, yet powerful extension that helps you keep track of the time you spend on your projects directly within Visual Studio Code.
Features
This extension offers the following features:
Start/stop timer for the current project
Display active timer in the status bar
Manual time entry for past work
Basic daily report
Local data storage
Optional note entry when stopping timer
Project-based tracking
Task categorization
Installation
Open Visual Studio Code
Press Ctrl+P (or Cmd+P on macOS) to open the Quick Open dialog
Type ext install vscode-time-tracker to find the extension
Click the Install button, then the Enable button
Usage
Starting/Stopping the Timer
Click the "Start Timer" button in the status bar to start tracking time
Click the "Stop Timer" button in the status bar to stop tracking time
When stopping the timer, you'll be prompted to enter an optional description for the work session
Manual Time Entry
Open the Command Palette (Ctrl+Shift+P or Cmd+Shift+P on macOS)
Type "Add Manual Time Entry" and select it
Enter the number of hours worked and a description when prompted
Project-Based Tracking
Open the Command Palette
Type "Time Tracker: Change Current Project" and select it
Enter the name of the project you're working on
Task Categorization
Open the Command Palette
Type "Time Tracker: Change Current Category" and select it
Choose a category from the list or enter a custom category
Viewing Reports
For the daily report:
Open the Command Palette
Type "Show Daily Time Tracking Report" and select it
Optionally, filter the report by category
For all time entries:
Open the Command Palette
Type "Show All Time Tracking Entries" and select it
Requirements
This extension doesn't have any special requirements or dependencies.
Extension Settings
This extension doesn't add any VS Code settings at the moment.
Known Issues
There are no known issues at this time. If you encounter any problems, please file an issue on our GitHub repository.
Release Notes
Viewing Reports
For the weekly report:
Open the Command Palette
Type "Time Tracker: Show Weekly Report" and select it
For the monthly report:
Open the Command Palette
Type "Time Tracker: Show Monthly Report" and select it