wakatime / vscode-wakatime

Visual Studio Code plugin for automatic time tracking and metrics generated from your programming activity.
https://wakatime.com/vs-code
BSD 3-Clause "New" or "Revised" License
1.21k stars 134 forks source link

[Bug] Conflicts when using Liveshare #304

Open HPaulson opened 1 year ago

HPaulson commented 1 year ago

When running the Wakatime ext. while a participant in a Liveshare session, Wakatime doesn't track time. I assume this bug is caused because the developer is actually typing and saving files on the host's machine (instead of their own), however since wakatime is an extension, the expected outcome should still be for time spent programming to be tracked

gandarez commented 1 year ago

Try forcing running WakaTime on local machine https://code.visualstudio.com/docs/remote/ssh#_advanced-forcing-an-extension-to-run-locally-remotely

HPaulson commented 1 year ago

@gandarez Tried this but no avail; Doesn't seem to track still.

gandarez commented 1 year ago

While in LiveShare are you typing or just watching?

HPaulson commented 1 year ago

Typing -- and quite a lot. I was working with a client who worked on a front end while I built an entire backend, so it was a significant amount of typing for Waka to pick up. Liveshare automatically gave me co-author credit in the commit (which only happens when you actually type) but nothing tracked time-wise.

I should also note this is consistent -- I've been doing live share sessions almost everyday, with significant contributions each time, and none of them have tracked. Wasn't just one time.

clouedoc commented 1 year ago

@HPaulson Your issue might be related to #314

Could you take a look at your $HOME/.wakatime.log?