hackclub / hackclub/hackatime

LiveShare doesnt seem to work (Vscode)

Open
#1,431 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Ruby
Stars
204
Forks
167
Avg merge
19h 55m
Merged PRs (30d)
27

Description

When using Liveshare, Hackatime/Wakatime isn't recording your time,

It's not the fault of the Wakatime VSCode plugin, as according to the logs its just sending heartbeats, which must mean hackatime is having issues.

**Logs from VSCode Extension when coding in a liveshare:**
```
[Extension Host] [WakaTime][DEBUG] Sending heartbeat: /home/tmrx/.wakatime/wakatime-cli --entity /todo.md --time 1781184999.988 --plugin "\"vscode/1.120.0 vscode-wakatime/30.2.0\"" --lineno 9 --cursorpos 1 --lines-in-file 39 --key XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXX806a --alternate-project polarlearn-v2 --project-folder / --write
[Extension Host] [WakaTime][DEBUG] Fetching coding activity for Today from api: /home/tmrx/.wakatime/wakatime-cli --today --output json --plugin "\"vscode/1.120.0 vscode-wakatime/30.2.0\"" --key XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXX806a
console.ts:139 [Extension Host] [WakaTime][DEBUG] onDidChangeTextEditorVisibleRanges
2console.ts:139 [Extension Host] [WakaTime][DEBUG] onDidChangeTabs
console.ts:139 [Extension Host] [WakaTime][DEBUG] onSave
console.ts:139 [Extension Host] [WakaTime][DEBUG] Appending heartbeat to local buffer: {
"entity": "/todo.md",
"time": 1781185001.394,
"is_write": true,
"lineno": 8,
"cursorpos": 48,
"lines_in_file": 38,
"human_line_changes": -1,
"alternate_project": "polarlearn-v2",
"project_folder": "/"
}
console.ts:139 [Extension Host] [WakaTime][DEBUG] onDidChangeWindowState
3console.ts:139 [Extension Host] [WakaTime][DEBUG] onDidChangeTextEditorVisibleRanges
2console.ts:139 [Extension Host] [WakaTime][DEBUG] onDidChangeWindowState
```

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.