vscode-todotasks
vscode-todotasks copied to clipboard
pickup inline // TODO: tags?
Great extension! I might just have to take a look at your code for the @tag decoration, have been wanting to do something to extend highlighting for jsdocs in ts/js... anyway.
Would it be possible to have the extension scan a project's source to extract inline TODO comments and inject them into the .todo file? Definitely beyond the scope of what I see you have written out in your ./todotasks-project.tasks file. If I've got some extra time this summer, I would be willing to PR that feature if it's something you @sandy081 / others might be interested in.
For what I'm imagining, there would probably need to be some shadow file with metadata, that way the front facing .todo file wouldn't have to contain any extra markup. I actually have a nice concept of how that could work internally if you're interested to hear. It could make it possible to track other types of data like categories, assignment, due dates, task ordering, etc. transparently without making the end user have to deal with any of that and still maintaining something you could edit in vim or notepad.exe without any need for special markup.
Oh, and it'd be cool to have a click-to-go-to-definition provider linking (from the .todo file) to the originating source. Personally, that'd be awesome because my source is littered with // TODO: add feature x and // FIXME: unbreak this. Having all those colocated in a single place would remind me I have something I need to deal with buried deep in my source, and allow me to get at it quickly.
Anyway, let me know what you think about something like that. I'd be happy to explain how I think all that could be done. :beers: cheers
@rozzzly I am really excited to read your idea, that's pretty cool to collect all todos into a single file and track them. I am pretty much interested to get this extended and add more cool features.
You can explain me more about your concept and technical details and discuss.
Sandy
I've been working this out in my head the past day or so. I'll post some of my thoughts tonight.
Thanks for plugin sandy & thanks for the idea rozzzly. I was also trying to do something like that. But saw this issue & now waiting for this feature. Now I am working to add timestamp after tag to see when a particular task was updated.