irrationalistic / atom-tasks

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

Bug with recognizing subprojects #69

Closed sbaack closed 7 years ago

sbaack commented 7 years ago

Thank you for this great package! I found a minor bug: I like to separate notes from tasks with new lines (it's just nicer to read on larger files). But when I do that, the Tasks package fails to recognize the current project as a sub-project. To illustrate:

  1. Marking task from the subproject as done without new lines around note. The task gets correctly tagged as @project(Main Project / Subproject):

    screen shot 2017-01-31 at 12 06 29 pm
  2. Doing the same, but with new lines to separate note. The task is now only tagged as @project(Subproject):

    screen shot 2017-01-31 at 12 06 50 pm

The original Taskpaper app has no issues with new lines around notes:

screen shot 2017-01-31 at 12 07 30 pm

Again, thank you for your great work!

irrationalistic commented 7 years ago

This was an optimization so it wouldn't have to check forever, but let me see if I can get it to skip empty lines!