AlexBlade / vscode-time-tracker

The time tracking addon for Visual Studio Code
30 stars 7 forks source link

No given way to turn off autopause feature. #6

Closed ZackPlauche closed 3 years ago

ZackPlauche commented 3 years ago

I really like this app overall, but the autopause feature keeps getting in the way.

I set the "timetracker.delayBeforePause" setting to 0 and it still stops after 2 minutes 🤷‍♂️.

This feels like a bug, but maybe you can just add a boolean setting of something like "timetracker.autoPause": false

Or just some instructions on how to turn off the autopause feature, as setting it to zero does nothing right now.

AlexBlade commented 3 years ago

Thanks for info. I will check it as soon as possible,

ipcjs commented 3 years ago

Before the author fixes this problem, you can set "timetracker.delayBeforePause" to 999999999 :)

ZackPlauche commented 3 years ago

I tried that as well and it still stops at 2 minutes when you're not focused on the window.

On Sat, Jun 26, 2021, 6:11 AM ipcjs @.***> wrote:

Before the author fixes this problem, you can set "timetracker.delayBeforePause" to 999999999 :)

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/AlexBlade/vscode-time-tracker/issues/6#issuecomment-868936878, or unsubscribe https://github.com/notifications/unsubscribe-auth/AKLRTO33BTBUF3Q3NMZPZP3TUVANNANCNFSM47JRR45Q .

AlexBlade commented 3 years ago

There was a great and stupid bug. It was fixed, current version is 1.1.2. Please, take into attention that the parameter name was changed from "delayBeforePause" to "pauseAfter", you can find all parameters in the extension's description. I will not close this issue for a while and would like to ask you to check if the parameter works according to your expectations.

ZackPlauche commented 3 years ago

Fixed! 🙂 I tested it by setting pauseAfter to zero (like in the instructions), clicking on a different window (on Windows 10) and going idle for a short time. It's been going for 20 min & hasn't stopped 🙂.

AlexBlade commented 3 years ago

Thanks a lot for your help, appreciate that! :) This issue will be closed, if you will find any bugs or will have suggestions - you're welcome!