PlainTasks icon indicating copy to clipboard operation
PlainTasks copied to clipboard

create dynamic list with //TODO tasks within the project

Open rbosneag opened this issue 10 years ago • 3 comments

I am switching to PlainTasks now and it would be great to see my own markups in a ToDo list.

What I mean is to automatically create a new task document including all //TODO comments in the project with a link to that specific line in the file and a description containing the text after TODO and maybe a small snippet of the code below. I use this kind of markup in code to keep track of things that need to be done and where, also //HACK which may be a dirty hack that should be taken care of, maybe others as well.

In this way PlainTasks can be linked with the project itself and tasks will silently get updated as the developer keeps working.

Thanks for a great tool, anyway!

rbosneag avatar Mar 25 '15 15:03 rbosneag

NAVER - http://www.naver.com/

[email protected] 님께 보내신 메일 <[PlainTasks] create dynamic list with //TODO tasks within the project (#229)> 이 다음과 같은 이유로 전송 실패했습니다.


받는 사람이 회원님의 메일을 수신차단 하였습니다.


stockerman7 avatar Mar 25 '15 15:03 stockerman7

I’m not aware of reliable way to silently update editable view; we can add regions and then get regions to keep track of which text was automatically inserted and so replace it, but it is not reliable at all, because the view is editable and user may mess up those regions at any time.

If you want just place todo-comments into your list — try PlainTasksExtractTodo, but you would need to update yourself using command. Otherwise, try TodoReview.

vovkkk avatar Mar 25 '15 18:03 vovkkk

NAVER - http://www.naver.com/

[email protected] 님께 보내신 메일 <Re: [PlainTasks] create dynamic list with //TODO tasks within the project (#229)> 이 다음과 같은 이유로 전송 실패했습니다.


받는 사람이 회원님의 메일을 수신차단 하였습니다.


stockerman7 avatar Mar 25 '15 18:03 stockerman7

Thanks for the suggestion, I will look into those packages.

I tried TodoReview and it's fine but I'd rather stick with only one task manager and I prefer PlainTasks so far and maybe import ToDo comments manually from TodoReview. You are right about silent updating a file. Maybe a new keybinding to scan project files and add results to PlainTasks?

rbosneag avatar Mar 26 '15 07:03 rbosneag

Maybe a new keybinding to scan project files and add results to PlainTasks?

If you install PlainTasksExtractTodo you can add such keybinding into user file:

{"keys": ["f1"], "command": "plain_tasks_extract_todo",
"context": [{"key": "selector", "operator": "equal", "operand": "text.todo"}]}

or whatever key(s) you prefer instead of f1.

It is separate plugin for maintainability reasons, it has its own settings which not related to PlainTasks, codebase is not trivial compare to simplicity of its purpose, and its funcionality is not popular/sought-after (judging by traffic stats and that you are the second person who ask here, iirc).

vovkkk avatar Mar 26 '15 09:03 vovkkk