Skip to content

Type to search extensions

hackatime

v0.4.0

Wakatime extension fork to improve hackatime support.

Updated 1 month ago
32k downloads 8 stars Repository ↗

zed-hackatime

this is a fork of zed-wakatime that should work better with hackatime!

Install

Search for "hackatime" in the "Extensions" page and click "Install".

WakaTime configuration file

Create a file named .wakatime.cfg in your $HOME directory.

[settings]
api_key = your-api-key

Go through up wakatime-cli's documentation for more options.

LSP Settings

Multiple configuration options are available by editing your Zed settings file (settings.json). (The extension should work without any configuration, but you can customize it as needed.)

"lsp": {
  "wakatime": {
    "initialization_options": {
      "api-key": "your-api-key",
      "api-url": "https://wakatime.com/api",
      "debug": false,
      "metrics": false,
      "heartbeat_interval": 120
    }
  }
}

Contributing

Don't hesitate to open an issue/submit a pr! this has been mainly tested on macos, but should work fine on other platforms as well.