atom-tasks
atom-tasks copied to clipboard
Toggle Timestamp Feature
I find the toggle timestamp feature in the Plain Tasks sublime package very useful. Is this functionality something you could implement?
I'm actually not familiar with that feature! Could you explain?
tg, tab, tab work in the same manner as s, but inserts @toggle(current date) — so you can pause and resume to get more correct result when done/cancel; each toggle tag is either pause or resume depending on its place in

It acts like a way to pause/ resume the time stamp on a particular task
Thanks for adding the context! I'm still a bit confused on what the use-case is though :) Would you mind recording a screencast of how this would be used?
Sorry I haven't had time to do a screencast yet.
I use it to track the time spent on a task. Perhaps an example use case:
Create a task and use @s to start the timer, then I would take a break for lunch so I would press t tab to "toggle" or pause the timer. This would generate a new timestamp basically ending the task timer. Then by hitting tab again on the same task, after I've come back from lunch, it would generate a new timestamp from that point in time. Once the task is finished and you complete the task or press ctrl+d it creates the final timestamp. Plain tasks would then add up the combined time stamps for the task giving the the full time spent on the project without including the time spent at lunch.
This is a simple example but you may want to pause a task several times with long periods in between, if you are waiting to hear back from a client or soemthing. You could do this as many times as you wanted and in the end it would just give the total time spent actually doing the task, not just the date you started/finished the task.