Why not add #warning TODO etc. to the TODO list?
Hey Rick, since a few revisions already you can setup *any* keywords yourself! Just hit "Add todo item" and in the following dialog add the keywords yourself as you like...
Compiler warning and compiler error are already there, but they don't work.
If I chose compiler warning and type TODO I get something like:
#warning TODO (jens#1#): test
All TODO's that come later in source code are not longer showed, neither is mine.
If I manually add comment-slashes before TODO it works:
#warning // TODO (jens#1#): test
A simple modification should ensure this happens always (it seems to be a good solution). Any objections?
Since you're digging into that parsing code, here are some other wonky test cases you might be able to clear up.
This registers incorrectly as 2 entries:
char *x = "// TODO";
// TODO: Fix
This registers incorrectly as 0 entries:
char *x = "TODO";
// TODO: Fix
This registers incorrectly as 0 entries:
char *x = "NOTE";
// NOTE: Fix
Although, oddly, this correctly gives the one TODO entry.
char *x = "NOTE";
// TODO: Fix