wakatime / sublime-wakatime

Sublime Text 2 & 3 plugin for automatic time tracking and metrics generated from your programming activity.
https://wakatime.com/sublime-text
BSD 3-Clause "New" or "Revised" License
526 stars 45 forks source link

Annoyance: Overwrites the informative field in the bottom left with a broken timer #101

Closed Moire9 closed 2 years ago

Moire9 commented 4 years ago

In the bottom right of the screen, Sublime Text often displays useful information depending on the situation, for example, line number and column, or when in the Find dialog, the number of matches and the current match number you're on, etc. However, when WakaTime is installed, this is all overwritten with a completely broken timer or something. It just says "Today: 0 secs" and does nothing. I never realized how much I used this little informative thing until I don't have it now. Here is an image of the bugged timer: image

For reference, what it used to look like: image

Or, when in the search dialog: image

It also displays important Regex errors when you're searching with that: image

All in all, this is a very useful field that has been replaced with something that does nothing. Please allow us to toggle whether or not that is shown, or, if the Time: 0 secs issue is not planned to be fixed, remove it, as it is not very useful.

OpenWaygate commented 4 years ago

Maybe related to https://github.com/wakatime/sublime-wakatime/issues/97

zixing8284 commented 3 years ago

i solved it by editing the WakaTime.py file Line 338 : output = u(output) TO output = u(output).strip() it occours on the PC, but displays fine on the Mac and i dont know why output contains \r\n characters at the end like 3 hrs 28 mins\r\n now it looks fine: cap

alanhamlett commented 2 years ago

Fixed with 7db5fe0a5d9e942f49931486f60b0d5541289bd8.