Skip to content

Latest commit

 

History

History
40 lines (28 loc) · 1.09 KB

File metadata and controls

40 lines (28 loc) · 1.09 KB

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.