https://github.com/wakatime/sublime-wakatime
Sublime Text 2 & 3 plugin for automatic time tracking and metrics generated from your programming activity.
https://github.com/wakatime/sublime-wakatime
sublime-text-plugin time-tracking
Last synced: 7 months ago
JSON representation
Sublime Text 2 & 3 plugin for automatic time tracking and metrics generated from your programming activity.
- Host: GitHub
- URL: https://github.com/wakatime/sublime-wakatime
- Owner: wakatime
- License: bsd-3-clause
- Created: 2013-07-02T05:43:11.000Z (over 12 years ago)
- Default Branch: master
- Last Pushed: 2024-07-20T07:50:24.000Z (over 1 year ago)
- Last Synced: 2025-03-28T11:07:58.470Z (7 months ago)
- Topics: sublime-text-plugin, time-tracking
- Language: Python
- Homepage: https://wakatime.com/sublime-text
- Size: 4.29 MB
- Stars: 530
- Watchers: 14
- Forks: 45
- Open Issues: 3
-
Metadata Files:
- Readme: README.md
- Changelog: HISTORY.rst
- License: LICENSE
- Authors: AUTHORS
Awesome Lists containing this project
README
# sublime-wakatime
[](https://wakatime.com/badge/github/wakatime/sublime-wakatime)
[WakaTime][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](https://packagecontrol.io/installation).
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](https://wakatime.com/settings#apikey), then press `enter`.
6. Use Sublime and your coding activity will be displayed on your [WakaTime dashboard](https://wakatime.com).
## Screen Shots

## 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.

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/wakatime.log` file to debug wakatime cli problems.The [How to Debug Plugins][how to debug] guide shows how to check when coding activity was last received from your editor using the [User Agents API][user agents api].
For more general troubleshooting info, see the [wakatime-cli Troubleshooting Section][wakatime-cli-help].[wakatime]: https://wakatime.com/sublime-text
[wakatime-cli-help]: https://github.com/wakatime/wakatime#troubleshooting
[how to debug]: https://wakatime.com/faq#debug-plugins
[user agents api]: https://wakatime.com/developers#user_agents