irrationalistic / atom-tasks

Handle tasks/todo files in atom
MIT License
154 stars 22 forks source link

Highlighting overdue tasks #59

Open cs-1 opened 8 years ago

cs-1 commented 8 years ago

I really like the suggestion in the tasks manual to use the @due tag for due-dates. Would it be possible to color tasks that are overdue with a slightly red tint? I guess that the date within the @due() tag must be some sort of standard date like "YYYY-mm-dd hh:mm:ss" (or a short form like "YYYY-mm-dd") so that it can be parsed.

irrationalistic commented 8 years ago

Take a look at https://github.com/irrationalistic/atom-tasks/issues/22 for a bit more info. TL;DR version is that you can style your tags, but not style the line as far as the current code works. I don't think that this feature alone is the right implementation, but rather a more general approach that would allow customization for whatever tags you want! This is a good example case where you'd probably have to run some special JS.

Side note: that would be a bit awkward to do because you'd essentially have to create code that runs once a day and re-analyzes any open files otherwise they'll get out of sync since the colors and grammars are "static".