datreks / codetime-vscode

The Codetime extension for Visual Studio Code.
https://codetime.dev
MIT License
84 stars 11 forks source link

What metric do you use to log the time ? #40

Closed billmdevs closed 2 months ago

billmdevs commented 5 months ago

What metric do you use to log the time ? Is it total time spent in editor(idle time included) or time "spent doing something" in editor(like moving the mouse and/or keyboard) ?

Jannchie commented 5 months ago

Simply put, when a VSCode event is triggered, we will report a message. This mainly includes actions such as input, scroll, and file switching.

https://github.com/datreks/codetime-vscode/blob/master/src/events.ts

billmdevs commented 2 months ago

Thank you very much!