Work Time TrackerInstall from Visual Studio Marketplace A Visual Studio Code extension for tracking your work time.
This extension allows you to track your worktime time, and stores the data in a JSON file in the Features
UsageTime trackingTo track your time you must be inside a folder or workspace. Then you can start the tracking by entering the command To show your spent time, you have to activate the command Multiple ProjectsBy default multiple projects are disabled, to keep it simple for most use-cases. However if you want to split your times by projects inside a single folder, change the After you changed the Once you activated Multiple Projects you can start a new tracking. If you do, you should be asked to insert a Project-Name. Migrate
|
Command | Command-Id | Description | times.json version support |
---|---|---|---|
Time-Tracker: Init |
time-tracker.init |
Initializes the Time-Tracker and reloads the times.json . You'll probably never need this |
1 + |
Time-Tracker: Start Tracking Work Time |
time-tracker.startTrackingTime |
Starts tracking work time for the selected project | 1 + |
Time-Tracker: Stop Tracking Work Time |
time-tracker.stopTrackingTime |
Stops tracking work time and saves the time spent | 1 + |
Time-Tracker: Total Time Spent |
time-tracker.totalTimeSpent |
Displays the total time spent on the selected project (index if not set) | 1 + |
Time-Tracker: Migrate Storage File |
time-tracker.migrate |
Migrates the Time-Tracker storage file to a new version of the times.json |
2 + |
Time-Tracker: Allow Multiple Projects |
time-tracker.allowMultipleProjects |
Enables tracking time for multiple projects. this cannot be undone. | 2 |
Time-Tracker: Toggle Ask for Productivity Factor |
time-tracker.toggleAskProductivityFactor |
Toggles whether or not to ask for a productivity factor when stopping the time tracking | 2 |
times.json
The times.json
is the storage file of the extension for each workspace. During the development there are different Versions of this file. The times.json
is fully backwards compatible and can be migrated at all times.
Current Version: V3
Older Versions
Configuration
With V3 some settings have been moved from the times.json
to the VSCode settings.
Setting | Settings-ID | Description |
---|---|---|
Allow Multiple Projects | time-tracker-vscode.allowMultipleProjects |
Enables tracking time for multiple projects |
Ask for Productivity Factor | time-tracker-vscode.askProductivityFactor |
Toggles whether or not to ask for a productivity factor when stopping the time tracking |
Default Productivity Factor | time-tracker-vscode.defaultProductivityFactor |
Sets the default productivity factor |
Default Project | time-tracker-vscode.defaultProject |
Sets the name of the default project. This will also apply when you don't have multiple projects enabled. |
Contribute
Please refer to the contribution guidelines page.
Credits
Work Time Tracker was created by S-Mitterlehner.
License
This extension is licensed under the MIT License.