Closed paulomsg closed 6 years ago
I don't see any kind of documentation for subtasks. Can you link a discussion or definition?
There is none. I've just pushed this because it is very useful to me and it might be useful to other people. Maybe we can initiate the discussion now?
The benefit of having this is that one can have high-level tasks as the main tasks and expand them with subtasks. By using the code folding of text editors the UX of the todo.txt file is greatly improved.
With the code folded you get a view of the high-level tasks:
Unfolded you can see it all:
Allowing for only one level of tasks might be good for a daily to-do list, but it is a big constraint for long-term to-do lists. My use case is that I keep only one to-do list and the high-level tasks are the 'epics' I want to do, and inside each, I have the subtasks to achieve that high-level task.
So, I don't want to introduce new syntax for todo.txt. There's a repo for it. I think hierarchical structure in todo.txt is best handled with projects.
This change allows subtasks to be marked as completed, eg: