Skip to content

Latest commit

 

History

History
35 lines (28 loc) · 1 KB

README.md

File metadata and controls

35 lines (28 loc) · 1 KB

zed-wakatime

A WakaTime extension for Zed.

Uses the wakatime-ls to receive edit events from Zed and send hearbeats to WakaTime by wakatime-cli.

Install

Search "wakatime" in extension page, and install it. type install

Configuration

In order to authenticate with the wakatime-cli, the language server needs to know your API token. Here are two ways to set the lsp.

WakaTime configuration file

create a file named .wakatime.cfg, locate your HOME directory.

[settings]
api_key = Your api key

zed setting file

Zed setting.Open zed setting file, add your api key

"lsp": {
  "wakatime": {
    "settings": {
      "api-key": "You api key"
    }
  }
}

Note

This plugin has been thoroughly tested only on macOS. If you encounter any issues on other systems, please submit an issue or a pull request.