Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/wakatime/zed-wakatime
A WakaTime extension for Zed.
https://github.com/wakatime/zed-wakatime
extension wakatime zed
Last synced: about 1 month ago
JSON representation
A WakaTime extension for Zed.
- Host: GitHub
- URL: https://github.com/wakatime/zed-wakatime
- Owner: wakatime
- License: mit
- Created: 2024-08-27T10:31:46.000Z (5 months ago)
- Default Branch: master
- Last Pushed: 2024-11-22T09:40:40.000Z (2 months ago)
- Last Synced: 2024-12-08T00:10:20.082Z (about 2 months ago)
- Topics: extension, wakatime, zed
- Language: Rust
- Homepage: https://wakatime.com/zed
- Size: 99.6 KB
- Stars: 50
- Watchers: 4
- Forks: 4
- Open Issues: 3
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# zed-wakatime
A [WakaTime](https://wakatime.com/) extension for [Zed](https://zed.dev/).
Uses the [wakatime-ls](https://github.com/wakatime/zed-wakatime/tree/master/wakatime-ls) to receive edit events from Zed and send hearbeats to WakaTime by [wakatime-cli](https://github.com/wakatime/wakatime-cli).
## Install
Search "wakatime" in extension page, and install it.
![type install](./images/install.png)## 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.
```toml
[settings]
api_key = Your api key
```### zed setting file
Zed setting.Open zed setting file, add your api key
```json
"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.