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