AlexBlade / vscode-time-tracker

The time tracking addon for Visual Studio Code
30 stars 7 forks source link

Time Tracker

The Time Tracker extension will track your time spent during coding in the Visual Studio Code. Just start it in the beginning of your work using Ctrl+Shift+P and selecting Time Tracker:Start.

All time of activity which was spent on your work will be saved in .timetracking dot-file. You can push it to the GIT repo with your code to track time on all your devices.

Time Tracker will stop count the time after 2 minutes of inactivity and will move to the Paused state. Just begin edit code, switch editor tabs or open files and Time Tracker will resume work.

Time of inactivity can be changed in settings (see below).

Appearance variants

The Time Tracker visualizes its work on the status bar. There are two modes awailable for choosing.

Wide mode

In this mode the status panel looks like shown on the picture below:

Wide mode status panel

Wide mode provides the following information:

Compact mode

If you prefer more compact interface you can enable Use Compact Panel in settings. In this case the status panel will look like shown below:

Compact mode status panel

In this mode the active state is indicated by a small watches icon. The pause mode is also indicated by the icon, but in the stop mode no icon is displayed.

Activation / Deactivation

Using the mouse

Just click on the status panel to start counting and click one more time to stop.

Using commands

Use Ctrl+Shift+P to execute Time Tracker commands.

Configuration

At the moment the configuration provides options described below:

Startup behavior configuration:

Auto-pause behavior

Appearance

Also you can setup these options via File -> Preferences -> Settings