You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Then over in the Wakatime dashboard, it shows correctly that I spent time in the "my_project" project. However, time is logged over under this file within that project:
/tmp/x/y/z/my_project/test.py
But rather it should be relative to the project root directory (the one with .git in it), so in this case, just test.py
That would make things more consistent with other IDE integrations into Wakatime.
PS: It looks like there is a wakatime config file option for only sending relative paths, documented over here:
I've tried using that setting, but it looks like it has no effect in this plugin.
(to be more precise - it looks like what's immediately visible in the dashboard is a relative path, but if you mouse over the path, you see the complete path to the file that was edited).
The text was updated successfully, but these errors were encountered:
It's because this plugin sends heartbeats directly to the API without using wakatime-cli. We should instead send the current file to wakatime-cli to fix this bug.
If I have a project over here:
/tmp/x/y/z/my_project
And within there, I edit test.py.
Then over in the Wakatime dashboard, it shows correctly that I spent time in the "my_project" project. However, time is logged over under this file within that project:
/tmp/x/y/z/my_project/test.py
But rather it should be relative to the project root directory (the one with .git in it), so in this case, just test.py
That would make things more consistent with other IDE integrations into Wakatime.
PS: It looks like there is a wakatime config file option for only sending relative paths, documented over here:
https://wakatime.com/faq#relative-paths
I've tried using that setting, but it looks like it has no effect in this plugin.
(to be more precise - it looks like what's immediately visible in the dashboard is a relative path, but if you mouse over the path, you see the complete path to the file that was edited).
The text was updated successfully, but these errors were encountered: