usernamehw / vscode-todo-md

VSCode extension for Todo tracking based on "todo.txt" format.
https://marketplace.visualstudio.com/items?itemName=usernamehw.todo-md
MIT License
134 stars 14 forks source link

Add support for `- [ ]` to specify task #73

Open douglance opened 1 year ago

douglance commented 1 year ago

Often, I'll want to embed tasks into a larger document, but only want the tasks to be injested into Todo MD. It'd be nice to be able to allow Todo MD to parse all markdown files, but only see lines that start with - [ ] to be parsed as tasks. And it'd be great if checking the checkbox in the webview (or via command pallet) for a task checked the box in the markdown file, e.g. - [X].

benqua commented 11 months ago

That would be really nice, I would love to centralize all the todos from my markdown files!

Any chance to see this implemented?

usernamehw commented 11 months ago

I just don't see the intersection of this extensions features with - [ ]...

Do you want to use tags/projects/contexts when writing - [ ] or priority (A) or anything else? Or is it a desire to have a command to assign a keyboard shortcut to toggle - [ ] to - [x]?

benqua commented 11 months ago

Maybe I misunderstand the aim of this extension, if it is the case, sorry for that.

I would like to use the todo sidebar of todoMD to see and act on TODOs defined and spread in many markdown files (with the markdown list-checkbox syntax - [ ]). I have one markdown file per project (with lots of information about the project, not only todos) and todos are defined in each (markdown) project file; I need a way to see all my todos in one place and though the sidebar of todoMD would be perfect.

usernamehw commented 11 months ago

This extension is not going to work with multiple files. It only ever uses active text editor or default file "todomd.defaultFile".

benqua commented 11 months ago

ok, sorry for the noise then and thank for your quick answers.

globalhuman commented 3 months ago

@benqua did you ever find a solution to centralize all your markdown todos in vscode?

globalhuman commented 3 months ago

I ended up using https://github.com/Gruntfuggly/todo-tree and adding the following to settings

"todo-tree.general.tags": [
        "BUG",
        "HACK",
        "FIXME",
        "TODO",
        "XXX",
        "- [ ]"
    ]

and adding a todo-tree.filtering.includeGlobs filter for **/*.md files