Skip to content
Permalink
master
Switch branches/tags
Go to file
 
 
Cannot retrieve contributors at this time
51 lines (34 sloc) 1.35 KB

Note

This is for Kate 5 (KTextEditor from KF 5). If you need a version for Kate 4, use the v0.6 release.

How to use

  1. Get an account at WakaTime.

  2. Get your API key.

  3. Clone this project and compile:

    git clone git@github.com:Tatsh/kate-wakatime.git
    cd kate-wakatime
    mkdir build
    cd build

    Linux:

    cmake .. -DCMAKE_INSTALL_PREFIX=/usr

    MacPorts:

    cmake .. -DCMAKE_INSTALL_PREFIX=/opt/local/

    Finish the task:

    make
    sudo make install
  4. Once this plugin is installed, open Kate and go to Settings, Configure Kate..., then in the dialog choose Plugins.

  5. Use the checkbox to enable WakaTime and click OK:

    screenshot

  6. Restart Kate to be sure the plugin initialises properly.

  7. Go to Settings, Configure WakaTime.... In the dialog, fill in your API key. Click OK to save.

To be certain this will work, check the file at ~/.wakatime.cfg.

Is this a keylogger?

Short answer is no.

See the WakaTimeView::sendAction() method if you want to be certain.