Skip to content

LiveShare doesnt seem to work (Vscode) #1431

Description

@tmrxdev

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions