Visual Studio Code plugin for automatic time tracking and metrics generated from your programming activity.
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.

WakaTime for Visual Studio Code

Metrics, insights, and time tracking automatically generated from your programming activity.


  1. Press F1 or CMD + Shift + P and type install. Pick Extensions: Install Extension.

type install

  1. Type wakatime and hit enter.

type wakatime

  1. Restart Visual Studio Code.

  2. Enter your api key, then press enter.

(If you’re not prompted, press `F1` or `CMD + Shift + P` then type `WakaTime API Key`.)
  1. Use VSCode and your coding activity will be displayed on your WakaTime dashboard.


Visit to see your coding activity.

Project Overview


$WAKATIME_HOME defaults to $HOME

Some settings are available from CMD+SHIFT+p, then typing wakatime.

Settings are stored in the INI file at $WAKATIME_HOME/.wakatime.cfg.

More information can be found from wakatime core.


First, turn on debug mode:

  1. Press CMD+SHIFT+p
  2. Type wakatime.debug, and press Enter.
  3. Select true, then press Enter.

Next, open your Developer Console to view logs and errors:

Help → Toggle Developer Tools

Errors outside the scope of vscode-wakatime go to $WAKATIME_HOME/.wakatime.log from wakatime-cli.

The How to Debug Plugins guide shows how to check when coding activity was last received from your editor using the Plugins Status Page.

For more general troubleshooting info, see the wakatime-cli Troubleshooting Section.