I'm building a little app, and whenever I'm doing this kind of stuff, I like to know how long it took me to develop it - not days, but work hours.
At first I thought I'd use one of the online time trackers, but the problem is that I might forget to hit the "stop" button whenever I'm not coding. It would be useful to have a code editor or a plugin to an existing one that records the time you were actually working. And, when you stop using the application, or minimize it, it stops counting.
Granted, there are a few flaws. For instance, if I momentarily go StackOverflow to ask a question relative to my project, some might want to include that into their dev time. However, this wouldn't be recorded in the timer if the editor is closed or minimized.
I was wondering what HN thought of this idea, and if someone might want to develop it further :) I'm afraid I'm not much of a desktop programmer, at least not to the level of writing a code editor.
It also has the ability to track which web pages are being viewed while the browser is active, but I haven't figured out a good way of classifying work pages versus fun pages.
Free download at http://www.manictime.com/