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.25k stars 140 forks source link

sFTP not working #161

Closed VladimirVecera closed 2 years ago

VladimirVecera commented 4 years ago

For work I use 80% sFTP approach for work on VScode. Unfortunately, sFTP wakatime does not work. Is there a fix solution when at least counting the time u wakatime over sFTP will work? Rich time is enough. I will be very happy for a functional solution.

gandarez commented 4 years ago

If I understood correctly you need a way to measure your time while downloading/uploading files using sFTP extension?

VladimirVecera commented 3 years ago

If there is no other option, it can be. Measure the time between download and upload.

PLmbond commented 3 years ago

I use the ssh fs extension to work remotely. I am having the same issue where it is unable to track time for remote files. I get the following message in the log file:

{"caller":"/Users/runner/work/wakatime-cli/wakatime-cli/cmd/legacy/heartbeat/heartbeat.go:73","func":"SendHeartbeats","level":"warning","message":"file '\\remote\\path\\to\\file.js' does not exist. ignoring this heartbeat","now":"2021-08-12T12:36:42-07:00","version":"v1.18.10"}

Is there any update for this issue?

alanhamlett commented 2 years ago

Duplicate of #67.

alanhamlett commented 2 years ago

Related to wakatime/wakatime-cli#623, which added support for ssh:// and sftp:// remote files.