2013-07-10 07:14:44 +00:00
sublime-wakatime
2013-07-02 05:43:12 +00:00
================
2016-01-04 01:47:56 +00:00
Metrics, insights, and time tracking automatically generated from your programming activity.
2013-07-02 09:21:13 +00:00
Installation
------------
2015-01-06 22:07:55 +00:00
1. Install [Package Control ](https://packagecontrol.io/installation ).
2013-07-02 09:21:13 +00:00
2015-01-06 22:07:55 +00:00
2. Using [Package Control ](https://packagecontrol.io/docs/usage ):
2013-07-02 09:21:13 +00:00
2014-11-06 09:47:42 +00:00
a) Inside Sublime, press `ctrl+shift+p` (Windows, Linux) or `cmd+shift+p` (OS X).
2013-07-02 09:21:13 +00:00
2013-07-11 03:24:39 +00:00
b) Type `install` , then press `enter` with `Package Control: Install Package` selected.
2013-07-11 02:01:06 +00:00
2013-07-11 03:24:39 +00:00
c) Type `wakatime` , then press `enter` with the `WakaTime` plugin selected.
2013-07-11 02:04:46 +00:00
2015-04-10 02:08:29 +00:00
3. Enter your [api key ](https://wakatime.com/settings#apikey ), then press `enter` .
2013-07-02 09:21:13 +00:00
2014-11-06 09:47:42 +00:00
4. Use Sublime and your time will be tracked for you automatically.
2013-07-02 09:21:13 +00:00
2014-11-06 09:47:42 +00:00
5. Visit https://wakatime.com/dashboard to see your logged time.
2013-07-11 03:53:28 +00:00
2016-02-09 15:39:50 +00:00
2013-07-02 09:21:13 +00:00
Screen Shots
------------
2016-03-21 00:46:22 +00:00
![Project Overview ](https://wakatime.com/static/img/ScreenShots/Screen-Shot-2016-03-21.png )
2013-07-02 09:21:13 +00:00
2016-02-09 15:39:50 +00:00
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`
2015-07-15 20:44:07 +00:00
Troubleshooting
---------------
First, turn on debug mode in your `WakaTime.sublime-settings` file.
2016-04-28 22:51:38 +00:00
![sublime user settings ](https://wakatime.com/static/img/ScreenShots/sublime-wakatime-settings-menu.png?v=2 )
2015-07-15 20:44:07 +00:00
Add the line: `"debug": true`
Then, open your Sublime Console with `View -> Show Console` 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.
2015-07-15 20:46:26 +00:00
For more general troubleshooting information, see [wakatime/wakatime#troubleshooting ](https://github.com/wakatime/wakatime#troubleshooting ).