About the project
CodeHeat is a VS Code extension that counts working time in every project and file and shows it in the explorer as a heatmap. The heatmap is a set of badges next to files: the more time a file has taken, the higher its badge. The counter runs only while you are actually working in the editor, so a window left open and untouched adds no hours. There is also a project clock in the status bar, a chart of the hottest files and export to JSON, with no account, server or telemetry.
The challenge
A developer rarely knows where their time really goes: which files and projects eat the hours and which just sit open. The hard part was to count only active working time, not every hour with the editor open, and to send nothing off the computer along the way.