I often want to add TODO notes inside of my latex files I am currently working on or inside of other source code files scattered around in my filesystem.
The problem with this is that those TODO notes doesn't appear in my org agenda file obviously.
So is there any clever way to make TODO notes inside non org files (in my case mainly latex and python but I guess that shouldn't matter) and then collect them in my org agenda? In particular it would be great if the TODO notes could also contain timestamps as in regular org files.
Is there an alternative workflow I should consider for this?
org-capturewith the annotation feature
%a. This creates a link to the original file which you can go to from the agenda by pressing
C-c C-o. Also, when you centralise your tasks in one or a few Org files you minimise the cost of parsing multiple files, especially if the files are long.