Darkyenus / DarkyenusTimeTracker

Lightweight time tracker for IntelliJ platform IDEs
The Unlicense
49 stars 13 forks source link

Track time individually by Change List #9

Open CameronJ opened 7 years ago

CameronJ commented 7 years ago

Enhancement request: With IntelliJ, often I am working on multiple change lists at the same time, where each change list is a user story or defect, which is being worked on. In this scenario, tracking the time globally across all change lists removes quite a bit of the accuracy of the time calculation. Would it be possible to track the time worked uniquely for each of the change lists?

Darkyenus commented 7 years ago

Seems reasonable. What changes do you propose? List of "tasks" in UI with ability to add/remove and change active task?

I have previously discussed with a friend something similar, based on git stash, but this seems more transparent and could even incorporate something like popup "You have git stashed, do you want to change active task?", which would bind the two concepts nicely.

I am planning a small rewrite in the future, which will add tracking the time absolutely, that is, marking the time in some sort of calendar, which will allow for better retrospection (for example for more accurate adjusting of tracked time when working in a different program or to produce github-like punch-card or other fun graphs). So a task system will definitely fit into that.

CameronJ commented 7 years ago

Well, I was thinking about it being associated with the "Change List" feature in IntelliJ (in the "Version Control" panel / drawer, under the "Local Changes" tab), which allows you to track context and file changes individually for commits.

However, as a backup using tasks would suffice, especially if it would inject the Task description into the commit message, as well.

CameronJ commented 7 years ago

Stash options could definitely be an interesting feature; however, in my case, I don't generally use stash for these types of changes, I use it when I'm trying to save something for longer than just a single working session.

I would generally just create a new "Change List", switch it to active, then effectively I can work though the changes that were unrelated to the first item in the change list and commit those separately. This doesn't work as well if you're trying to make edits to files in another change list (at which point Stash becomes more necessary), since the Change List really only effects which files to include in the commit

JThoennes commented 6 years ago

Previously, with Eclipse I used Mylyn to track my time. Now with IDEA I am using the Task feature:

https://www.jetbrains.com/help/idea/managing-tasks-and-context.html

I would appreciate if you could integrate your time tracking based on this kind of tasks. I nearly never change my project, but task quite often.