Sublime Text 2 & 3 plugin for automatic time tracking and metrics generated from your programming activity.
Go to file
Alan Hamlett 6fa1321a95 v11.0.0
2021-10-31 12:59:57 -07:00
.gitignore Initial commit 2013-07-01 22:43:12 -07:00
.no-sublime-package added .no-sublime-package to force ST3 to extract plugin into Packages folder 2013-07-23 17:15:21 -07:00
AUTHORS Use wakatime-cli standalone 2020-02-29 19:15:40 -05:00
Default.sublime-commands camelcase 2015-02-23 22:31:12 -08:00
HISTORY.rst changes for v11.0.0 2021-10-31 12:59:36 -07:00
LICENSE remove redundant line 2019-03-13 09:36:51 +09:00
Main.sublime-menu nest settings menu under Package Settings 2016-04-28 19:37:24 +02:00
README.md add sublime text to subtitle 2020-12-28 18:54:07 -08:00
WakaTime.py v11.0.0 2021-10-31 12:59:57 -07:00
WakaTime.sublime-settings Partially revert "Use wakatime-cli standalone" to support both 2020-12-28 18:42:00 -08:00

sublime-wakatime

Coding time tracker

WakaTime is an open source Sublime Text plugin for metrics, insights, and time tracking automatically generated from your programming activity.

Installation

  1. Install Package Control.

  2. In Sublime, press ctrl+shift+p(Windows, Linux) or cmd+shift+p(OS X).

  3. Type install, then press enter with Package Control: Install Package selected.

  4. Type wakatime, then press enter with the WakaTime plugin selected.

  5. Enter your api key, then press enter.

  6. Use Sublime and your coding activity will be displayed on your WakaTime dashboard.

Screen Shots

Project Overview

Unresponsive Plugin Warning

In Sublime Text 2, if you get a warning message:

A plugin (WakaTime) may be making Sublime Text unresponsive by taking too long (0.017332s) in its on_modified callback.

To fix this, go to Preferences → Settings - User then add the following setting:

"detect_slow_plugins": false

Troubleshooting

First, turn on debug mode in your WakaTime.sublime-settings file.

sublime user settings

Add the line: "debug": true

Then, open your Sublime Console with View → Show Console ( CTRL + ` ) to see the plugin executing the wakatime cli process when sending a heartbeat. Also, tail your $HOME/.wakatime.log file to debug wakatime cli problems.

The How to Debug Plugins guide shows how to check when coding activity was last received from your editor using the User Agents API. For more general troubleshooting info, see the wakatime-cli Troubleshooting Section.