vscode-wakatime

by wakatime

Visual Studio Code plugin for automatic time tracking and metrics generated from your programming ac...

503 Stars 60 Forks Last release: 8 months ago (4.0.0) BSD 3-Clause "New" or "Revised" License 381 Commits 9 Releases

Available items

No Items, yet!

The developer of this repository has not created any items for sale yet. Need a bug fixed? Help with integration? A different license? Create a request here:

WakaTime for Visual Studio Code

Build Status Visual Studio Marketplace Version Coding time tracker

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

Installation

  1. Press

    F1
    or
    ⌘ + Shift + P
    and type
    install
    . Pick
    Extensions: Install Extension
    .

    type install

  2. Type

    wakatime
    and hit
    enter
    .

    type wakatime

  3. Restart Visual Studio Code.

  4. Enter your api key, then press

    enter
    .

    (If you’re not prompted, press

    F1
    or
    ⌘ + Shift + P
    then type
    WakaTime API Key
    .)
  5. Use VSCode and your coding activity will be displayed on your WakaTime dashboard

Usage

Visit https://wakatime.com to see your coding activity.

Project Overview

Configuring

VS Code specific settings are available from

⌘ + Shift + P
, then typing
wakatime
.

For example, to hide today's coding activity in your status bar:

Press

⌘ + Shift + P
then set
WakaTime: Status Bar Coding Activity
to
false
.

Extension settings are stored in the INI file at

$WAKATIME_HOME/.wakatime.cfg
.

More information can be found from wakatime core.

Notes: 1.

$WAKATIME_HOME
defaults to
$HOME
1. To disable the extension at startup add
disabled=true
to your config, this operation can also be performed by pressing
⌘ + Shift + P
and selecting
WakaTime: Disable
.

Troubleshooting

First, turn on debug mode:

  1. Press
    F1
    or
    ⌘ + 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.

Microsoft Windows Only: Using WakaTime behind a corporate proxy? Try enabling your Windows Root Certs inside VS Code with the win-ca extension: Press

Ctrl + Shift + X
, search for
win-ca
, press
Install
.

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

We use cookies. If you continue to browse the site, you agree to the use of cookies. For more information on our use of cookies please see our Privacy Policy.