Open WesDowney opened 4 years ago
We track the total number of lines in the currently focused file, so we could extrapolate the number of lines added/deleted. However, I think using Git for this info works better.
We explored this in #946 and found counting the number of additions/deletions as integers at a given point in time (when sending heartbeats) could be displayed as a line area chart green/red lines. Like the Code Frequency chart:
Would having this data from WakaTime provide any benefit over how it's already provided by GitHub?
Related discussion from GitHub asking for product feedback on their Code Frequency graph:
This is an interesting feature. Any progress on this?
We should have the editor plugins keep counters of added and deleted lines as two separate integers, sending along with other heartbeat params to wakatime-cli like --line-additions 2 --line-deletions 3
. After sending the counts, the editor plugins should reset the two counts to zero.
It would be cool if Wakatime was also able to track lines of code added and deleted.