Skip to content
This repository has been archived by the owner on Dec 24, 2024. It is now read-only.

Add support for - [ ] to specify task #73

Open
douglance opened this issue Mar 26, 2023 · 7 comments
Open

Add support for - [ ] to specify task #73

douglance opened this issue Mar 26, 2023 · 7 comments

Comments

@douglance
Copy link

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
Copy link

benqua commented Nov 24, 2023

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

Any chance to see this implemented?

@usernamehw
Copy link
Owner

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
Copy link

benqua commented Nov 28, 2023

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
Copy link
Owner

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

@benqua
Copy link

benqua commented Nov 28, 2023

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

@globalhuman
Copy link

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

@globalhuman
Copy link

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

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants
@benqua @douglance @usernamehw @globalhuman and others