todotxt / language-todotxt

Syntax highlighting and utilities for todo.txt files for atom.io
BSD 2-Clause "Simplified" License
30 stars 16 forks source link

allow marking of subtask completion #52

Closed paulomsg closed 6 years ago

paulomsg commented 6 years ago

This change allows subtasks to be marked as completed, eg:

evanp commented 6 years ago

I don't see any kind of documentation for subtasks. Can you link a discussion or definition?

paulomsg commented 6 years ago

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: image

Unfolded you can see it all: image

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.

evanp commented 6 years ago

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.