• Stars
    star
    1,214
  • Rank 38,326 (Top 0.8 %)
  • Language
    TypeScript
  • License
    BSD 3-Clause "New...
  • Created almost 9 years ago
  • Updated 2 months ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

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

WakaTime for Visual Studio Code

Tests Version WakaTime

WakaTime is an open source VS Code plugin for 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. Enter your api key, then press enter.

    (If youโ€™re not prompted, press F1 or โŒ˜ + Shift + P then type WakaTime API Key.)

  4. 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-cli.

If using an online IDE like gitpods, add your api key to global ENV key WAKATIME_API_KEY.

Notes:

  1. $WAKATIME_HOME defaults to $HOME
  2. 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.

SSH configuration

If you're connected to a remote host using the ssh extension you might want to force WakaTime to run locally instead on the server. This configuration is needed when the server you connect is shared among other people. Please follow this guide.

Uninstalling

  1. Click the Extensions sidebar item in VS Code.

  2. Type wakatime and hit enter.

  3. Click the settings icon next to WakaTime, then click Uninstall.

  4. Delete the ~/.wakatime* files in your home directory, unless youโ€™re still using WakaTime with another IDE.

Contributing

Pull requests, bug reports, and feature requests are welcome! Please search existing issues before creating a new one.

To run from source:

  1. git clone [email protected]:wakatime/vscode-wakatime.git
  2. cd vscode-wakatime
  3. npm install
  4. npm run watch
  5. Install the extension from the marketplace
  6. Then symlink ~/.vscode/extensions/wakatime.vscode-wakatime-*/dist/extension.js to ./dist/extension.js

Or to run the web version from source:

  1. git clone [email protected]:wakatime/vscode-wakatime.git
  2. cd vscode-wakatime
  3. npm install
  4. npm run compile
  5. npm run open-in-browser
  6. Go to localhost:3000 in your web browser

Many thanks to all contributors!

Made with โค๏ธ by the WakaTime Team.

More Repositories

1

jetbrains-wakatime

IntelliJ IDEA, PyCharm, RubyMine, PhpStorm, AppCode, AndroidStudio, Goland, Rider, & WebStorm plugin for quantifying your coding.
Java
1,124
star
2

legacy-python-cli

Command line interface used by all WakaTime text editor plugins.
Python
1,021
star
3

vim-wakatime

Vim plugin for automatic time tracking and metrics generated from your programming activity.
Vim Script
1,015
star
4

wakaq

Background task queue for Python backed by Redis, a super minimal Celery
Python
569
star
5

sublime-wakatime

Sublime Text 2 & 3 plugin for automatic time tracking and metrics generated from your programming activity.
Python
525
star
6

browser-wakatime

Chrome extension for automatic time tracking and metrics generated from your browsing activity.
TypeScript
397
star
7

xcode-wakatime

Xcode plugin for automatic time tracking and metrics generated from your programming activity.
Objective-C
393
star
8

visualstudio-wakatime

Visual Studio plugin for automatic time tracking and metrics generated from your programming activity.
C#
331
star
9

atom-wakatime

Atom plugin for automatic time tracking and metrics generated from your programming activity.
JavaScript
317
star
10

wakatime-mode

Emacs plugin for automatic time tracking and metrics generated from your programming activity.
Emacs Lisp
268
star
11

wakatime-cli

Command line interface used by all WakaTime text editor plugins
Go
267
star
12

eclipse-wakatime

Eclipse plugin for automatic time tracking and metrics generated from your programming activity.
Java
174
star
13

netbeans-wakatime

NetBeans plugin for automatic time tracking and metrics generated from your programming activity.
Java
162
star
14

brackets-wakatime

Brackets plugin for automatic time tracking and metrics generated from your programming activity.
JavaScript
145
star
15

macos-wakatime

Mac system tray app for automatic time tracking and metrics generated from your Xcode, Figma, Postman, etc. usage.
Swift
131
star
16

komodo-wakatime

Komodo plugin for automatic time tracking and metrics generated from your programming activity.
Python
118
star
17

wakadump

Command line tool for converting WakaTime data dump files into various formats.
Python
106
star
18

notepadpp-wakatime

Notepad++ plugin for automatic time tracking and metrics generated from your programming activity.
C#
79
star
19

desktop-old

Plugin install helper app, unfinished.
TypeScript
75
star
20

office-wakatime

Office Solution add-ins for automatic time tracking and metrics generated from your programming activity.
C#
67
star
21

sketch-wakatime

Sketch plugin for automatic time tracking and metrics generated from your Sketch usage.
JavaScript
62
star
22

statuspage

Uptime and latency status page for website and api.
41
star
23

ssms-wakatime

SQL Server Management Studio plugin to quantify your coding with automatic time tracking and metrics about your programming. https://wakatime.com
C#
40
star
24

wakatime-mobile

mobile WakaTime app for displaying dashboard metrics
JavaScript
31
star
25

delphi-wakatime

Embarcadero Delphi plugin for automatic time tracking and metrics generated from your programming activity.
Pascal
29
star
26

wakatime-blog

Markdown post content for the WakaTime blog
23
star
27

micro-wakatime

Micro editor plugin for automatic time tracking and metrics generated from your programming activity.
Lua
22
star
28

wakaq-ts

Background task queue for TypeScript backed by Redis, a super minimal Celery
TypeScript
19
star
29

gedit-wakatime

Gedit 3.8+ plugin for automatic time tracking and metrics generated from your programming activity.
Python
17
star
30

slack-demo-chat

Chat relay server using socket.io for WakaTime + Slack demo
CSS
16
star
31

c9-wakatime

Cloud9 plugin for automatic time tracking and metrics generated from your programming activity.
JavaScript
14
star
32

discord-wakatime

BetterDiscord plugin for automatic time tracking and stats about your Discord usage
JavaScript
12
star
33

adobe-xd-wakatime

Adobe XD plugin for automatic time tracking and metrics generated from your XD usage.
JavaScript
12
star
34

figma-wakatime

Figma plugin for automatic time tracking and metrics generated from your Figma usage.
TypeScript
12
star
35

semver-action

Auto-generate the next semantic version.
Go
12
star
36

desktop-wakatime

Windows & Linux system tray app for automatic time tracking and metrics generated from your Figma, Postman, etc. usage.
TypeScript
12
star
37

coda-wakatime

Coda plugin for automatic time tracking and metrics generated from your programming activity.
Objective-C
11
star
38

texstudio-wakatime

TeXstudio macro for automatic time tracking and metrics generated from your TeXstudio usage.
Python
10
star
39

textmate-wakatime

TextMate plugin for automatic time tracking and metrics generated from your programming activity.
Objective-C++
10
star
40

eric6-wakatime

Eric6 & Pymakr plugin for automatic time tracking and metrics generated from your programming activity.
Python
7
star
41

repl-python-wakatime

Python REPL plugin for automatic time tracking and metrics generated from your programming activity.
Python
7
star
42

vencord-wakatime

Vencord plugin for automatic time tracking and stats about your Discord usage
TypeScript
6
star
43

legal

legal documents for WakaTime
6
star
44

nuget-wakatime-shared-extension-utils

Shared C# utilities used in wakatime extensions
C#
5
star
45

WakaTime.novaextension

Nova plugin for automatic time tracking and metrics generated from your programming activity.
JavaScript
5
star
46

wing-wakatime

A plugin to quantify your programming inside Wing IDE.
Python
4
star
47

monodevelop-wakatime

WakaTime add-in for VSMac/MonoDevelop/Xamarin Studio
C#
3
star
48

homebrew-tap

Homebrew Tap for WakaTime
Ruby
3
star
49

prompt-style.lua

Lua plugin for powerlevel10k style prompt and WakaTime time tracking
Lua
2
star
50

jupyterlab-wakatime

WakaTime for JupyterLab
Python
2
star
51

tcl-prompt

Tcl plugin for powerlevel10k style prompt and WakaTime time tracking
Tcl
2
star
52

Reply-Plugin-Prompt

Perl Reply plugin for powerlevel10k style prompt and WakaTime time tracking
Perl
1
star
53

wakatime.io

Resources and documentation for learning about WakaTime
TypeScript
1
star